]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/gtk/controls_wrap.cpp
Noted where the documentation was
[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
310 DECLARE_DEF_STRING(PanelNameStr);
311 DECLARE_DEF_STRING(EmptyString);
312 DECLARE_DEF_STRING(ControlNameStr);
313
314
315
316 DECLARE_DEF_STRING(ButtonNameStr);
317
318
319 DECLARE_DEF_STRING(CheckBoxNameStr);
320
321
322 DECLARE_DEF_STRING(ChoiceNameStr);
323
324
325 DECLARE_DEF_STRING(ComboBoxNameStr);
326
327
328 DECLARE_DEF_STRING(GaugeNameStr);
329
330
331 DECLARE_DEF_STRING(StaticBitmapNameStr);
332 DECLARE_DEF_STRING(StaticBoxNameStr);
333 DECLARE_DEF_STRING(StaticTextNameStr);
334
335
336#include <wx/checklst.h>
337
338 DECLARE_DEF_STRING(ListBoxNameStr);
339
340void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
341 if (clientData) {
342 wxPyClientData* data = new wxPyClientData(clientData);
343 self->Insert(item, pos, data);
344 } else
345 self->Insert(item, pos);
346 }
347PyObject *wxListBox_GetSelections(wxListBox *self){
348 wxArrayInt lst;
349 self->GetSelections(lst);
350 PyObject *tup = PyTuple_New(lst.GetCount());
351 for(size_t i=0; i<lst.GetCount(); i++) {
352 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
353 }
354 return tup;
355 }
356
357 DECLARE_DEF_STRING(TextCtrlNameStr);
358
359
360static PyObject* t_output_helper(PyObject* target, PyObject* o) {
361 PyObject* o2;
362 PyObject* o3;
363
364 if (!target) {
365 target = o;
366 } else if (target == Py_None) {
367 Py_DECREF(Py_None);
368 target = o;
369 } else {
370 if (!PyTuple_Check(target)) {
371 o2 = target;
372 target = PyTuple_New(1);
373 PyTuple_SetItem(target, 0, o2);
374 }
375 o3 = PyTuple_New(1);
376 PyTuple_SetItem(o3, 0, o);
377
378 o2 = target;
379 target = PySequence_Concat(o2, o3);
380 Py_DECREF(o2);
381 Py_DECREF(o3);
382 }
383 return target;
384}
385
386void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
387 self->AppendText(text);
388 }
389wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
390 return self->GetValue().Mid(from, to - from);
391 }
392
393 DECLARE_DEF_STRING(ScrollBarNameStr);
394
395
396 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
397 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
398 DECLARE_DEF_STRING(SpinCtrlNameStr);
399
400void wxSpinCtrl_SetSelection(wxSpinCtrl *self,long from,long to){
401 }
402
403 DECLARE_DEF_STRING(RadioBoxNameStr);
404 DECLARE_DEF_STRING(RadioButtonNameStr);
405
406int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
407int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
408int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
409
410#include <wx/slider.h>
411
412 DECLARE_DEF_STRING(SliderNameStr);
413
414
415 wxChar* wxToggleButtonNameStr = _T("wxToggleButton");
416 DECLARE_DEF_STRING(ToggleButtonNameStr);
417
418
419#ifdef __WXMAC__
420// implement dummy classes and such for wxMac
421
422#define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
423
424class wxToggleButton : public wxControl
425{
426public:
427 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
428 const wxPoint&, const wxSize&, long,
429 const wxValidator&, const wxString&)
430 { PyErr_SetNone(PyExc_NotImplementedError); }
431
432 wxToggleButton()
433 { PyErr_SetNone(PyExc_NotImplementedError); }
434};
435#endif
436
437
438 DECLARE_DEF_STRING(NOTEBOOK_NAME);
439
440
441 DECLARE_DEF_STRING(ToolBarNameStr);
442
443PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
444 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
445 if (udata) {
446 Py_INCREF(udata->m_obj);
447 return udata->m_obj;
448 } else {
449 Py_INCREF(Py_None);
450 return Py_None;
451 }
452 }
453void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
454 self->SetClientData(new wxPyUserData(clientData));
455 }
456wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
457 wxPyUserData* udata = NULL;
458 if (clientData && clientData != Py_None)
459 udata = new wxPyUserData(clientData);
460 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
461 shortHelp, longHelp, udata);
462 }
463wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
464 wxPyUserData* udata = NULL;
465 if (clientData && clientData != Py_None)
466 udata = new wxPyUserData(clientData);
467 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
468 shortHelp, longHelp, udata);
469 }
470PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
471 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
472 if (udata) {
473 Py_INCREF(udata->m_obj);
474 return udata->m_obj;
475 } else {
476 Py_INCREF(Py_None);
477 return Py_None;
478 }
479 }
480void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
481 self->SetToolClientData(id, new wxPyUserData(clientData));
482 }
483
484#include <wx/listctrl.h>
485
486 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
487 DECLARE_DEF_STRING(ListCtrlNameStr);
488
489void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
490 // Python aware sorting function for wxPyListCtrl
491 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
492 int retval = 0;
493 PyObject* func = (PyObject*)funcPtr;
494 wxPyBeginBlockThreads();
495
496 PyObject* args = Py_BuildValue("(ii)", item1, item2);
497 PyObject* result = PyEval_CallObject(func, args);
498 Py_DECREF(args);
499 if (result) {
500 retval = PyInt_AsLong(result);
501 Py_DECREF(result);
502 }
503
504 wxPyEndBlockThreads();
505 return retval;
506 }
507
508 // C++ Version of a Python aware class
509class wxPyListCtrl : public wxListCtrl {
510 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
511public:
512 wxPyListCtrl() : wxListCtrl() {}
513 wxPyListCtrl(wxWindow* parent, wxWindowID id,
514 const wxPoint& pos,
515 const wxSize& size,
516 long style,
517 const wxValidator& validator,
518 const wxString& name) :
519 wxListCtrl(parent, id, pos, size, style, validator, name) {}
520
521 bool Create(wxWindow* parent, wxWindowID id,
522 const wxPoint& pos,
523 const wxSize& size,
524 long style,
525 const wxValidator& validator,
526 const wxString& name) {
527 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
528 }
529
530 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
531 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
532 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
533
534 PYPRIVATE;
535};
536
537IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
538
539IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
540IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
541IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
542
543wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
544 wxListItem item;
545 item.SetMask( wxLIST_MASK_STATE |
546 wxLIST_MASK_TEXT |
547 wxLIST_MASK_IMAGE |
548 wxLIST_MASK_DATA |
549 wxLIST_SET_ITEM |
550 wxLIST_MASK_WIDTH |
551 wxLIST_MASK_FORMAT
552 );
553 if (self->GetColumn(col, item))
554 return new wxListItem(item);
555 else
556 return NULL;
557 }
558wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
559 wxListItem* info = new wxListItem;
560 info->m_itemId = itemId;
561 info->m_col = col;
562 info->m_mask = 0xFFFF;
563 self->GetItem(*info);
564 return info;
565 }
566wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
567 wxPoint pos;
568 self->GetItemPosition(item, pos);
569 return pos;
570 }
571wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
572 wxRect rect;
573 self->GetItemRect(item, rect, code);
574 return rect;
575 }
576bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
577 if (!PyCallable_Check(func))
e811c8ce 578 return False;
d14a1e28
RD
579 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
580 }
581wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
582
583
584
585 return (wxWindow*)self->m_mainWin;
586
587 }
588
589#include <wx/treectrl.h>
590#include "wx/wxPython/pytree.h"
591
592 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
593 DECLARE_DEF_STRING(_TreeCtrlNameStr);
594
595bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
e811c8ce 596 if (!other) return False;
d14a1e28
RD
597 return *self == *other;
598 }
599bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
e811c8ce 600 if (!other) return True;
d14a1e28
RD
601 return *self != *other;
602 }
603void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
604 // C++ version of Python aware wxTreeCtrl
605class wxPyTreeCtrl : public wxTreeCtrl {
606 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
607public:
608 wxPyTreeCtrl() : wxTreeCtrl() {}
609 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
610 const wxPoint& pos,
611 const wxSize& size,
612 long style,
613 const wxValidator& validator,
614 const wxString& name) :
615 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
616
617 bool Create(wxWindow *parent, wxWindowID id,
618 const wxPoint& pos,
619 const wxSize& size,
620 long style,
621 const wxValidator& validator,
622 const wxString& name) {
623 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
624 }
625
626
627 int OnCompareItems(const wxTreeItemId& item1,
628 const wxTreeItemId& item2) {
629 int rval = 0;
630 bool found;
631 wxPyBeginBlockThreads();
632 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
e811c8ce
RD
633 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
634 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
d14a1e28
RD
635 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
636 Py_DECREF(o1);
637 Py_DECREF(o2);
638 }
639 wxPyEndBlockThreads();
640 if (! found)
641 rval = wxTreeCtrl::OnCompareItems(item1, item2);
642 return rval;
643 }
644 PYPRIVATE;
645};
646
647IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
648
649
650wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
651 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
652 if (data == NULL) {
653 data = new wxPyTreeItemData();
654 data->SetId(item); // set the id
655 self->SetItemData(item, data);
656 }
657 return data;
658 }
659PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
660 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
661 if (data == NULL) {
662 data = new wxPyTreeItemData();
663 data->SetId(item); // set the id
664 self->SetItemData(item, data);
665 }
666 return data->GetData();
667 }
668void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
669 data->SetId(item); // set the id
670 self->SetItemData(item, data);
671 }
672void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
673 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
674 if (data == NULL) {
675 data = new wxPyTreeItemData(obj);
676 data->SetId(item); // set the id
677 self->SetItemData(item, data);
678 } else
679 data->SetData(obj);
680 }
681PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
682 wxPyBeginBlockThreads();
683 PyObject* rval = PyList_New(0);
684 wxArrayTreeItemIds array;
685 size_t num, x;
686 num = self->GetSelections(array);
687 for (x=0; x < num; x++) {
688 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
e811c8ce 689 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
d14a1e28
RD
690 PyList_Append(rval, item);
691 }
692 wxPyEndBlockThreads();
693 return rval;
694 }
695PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
696 wxTreeItemIdValue cookie = 0;
697 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
698 wxPyBeginBlockThreads();
699 PyObject* tup = PyTuple_New(2);
e811c8ce
RD
700 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
701 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
d14a1e28
RD
702 wxPyEndBlockThreads();
703 return tup;
704 }
705PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
706 wxTreeItemId ritem = self->GetNextChild(item, cookie);
707 wxPyBeginBlockThreads();
708 PyObject* tup = PyTuple_New(2);
e811c8ce
RD
709 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
710 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
d14a1e28
RD
711 wxPyEndBlockThreads();
712 return tup;
713 }
714PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
715 wxRect rect;
716 if (self->GetBoundingRect(item, rect, textOnly)) {
717 wxPyBeginBlockThreads();
718 wxRect* r = new wxRect(rect);
e811c8ce 719 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
d14a1e28
RD
720 wxPyEndBlockThreads();
721 return val;
722 }
723 else
724 RETURN_NONE();
725 }
726
727 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
728
729 // C++ version of Python aware wxControl
730class wxPyControl : public wxControl
731{
732 DECLARE_DYNAMIC_CLASS(wxPyControl)
733public:
734 wxPyControl() : wxControl() {}
735 wxPyControl(wxWindow* parent, const wxWindowID id,
736 const wxPoint& pos = wxDefaultPosition,
737 const wxSize& size = wxDefaultSize,
738 long style = 0,
739 const wxValidator& validator=wxDefaultValidator,
740 const wxString& name = wxPyControlNameStr)
741 : wxControl(parent, id, pos, size, style, validator, name) {}
742
743
744 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
745 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
746 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
747 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
748
749 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
750 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
751 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
752
753 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
754 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
755
756 DEC_PYCALLBACK__(InitDialog);
757 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
758 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
759 DEC_PYCALLBACK_BOOL_(Validate);
760
761 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
762 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
763 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
764
765 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
766 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
767
768 PYPRIVATE;
769};
770
771IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
772
773IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
774IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
775IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
776IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
777
778IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
779IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
780IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
781
782IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
783IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
784
785IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
786IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
787IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
788IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
789
790IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
791IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
792IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
793
794IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
795IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
796
797
798
799
800void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
e811c8ce
RD
801
802#include <wx/generic/dragimgg.h>
803
d14a1e28
RD
804#ifdef __cplusplus
805extern "C" {
806#endif
807static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
808 PyObject *resultobj;
809 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 810 int arg2 ;
d14a1e28
RD
811 wxString *arg3 = 0 ;
812 wxPoint const &arg4_defvalue = wxDefaultPosition ;
813 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
814 wxSize const &arg5_defvalue = wxDefaultSize ;
815 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
816 long arg6 = (long) 0 ;
817 wxValidator const &arg7_defvalue = wxDefaultValidator ;
818 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
819 wxString const &arg8_defvalue = wxPyButtonNameStr ;
820 wxString *arg8 = (wxString *) &arg8_defvalue ;
821 wxButton *result;
e811c8ce 822 bool temp3 = False ;
d14a1e28
RD
823 wxPoint temp4 ;
824 wxSize temp5 ;
e811c8ce 825 bool temp8 = False ;
d14a1e28
RD
826 PyObject * obj0 = 0 ;
827 PyObject * obj2 = 0 ;
828 PyObject * obj3 = 0 ;
829 PyObject * obj4 = 0 ;
830 PyObject * obj6 = 0 ;
831 PyObject * obj7 = 0 ;
832 char *kwnames[] = {
833 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
834 };
835
836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
838 {
839 arg3 = wxString_in_helper(obj2);
840 if (arg3 == NULL) SWIG_fail;
e811c8ce 841 temp3 = True;
d14a1e28
RD
842 }
843 if (obj3) {
844 {
845 arg4 = &temp4;
846 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
847 }
848 }
849 if (obj4) {
850 {
851 arg5 = &temp5;
852 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
853 }
854 }
855 if (obj6) {
856 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
857 if (arg7 == NULL) {
858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
859 }
860 }
861 if (obj7) {
862 {
863 arg8 = wxString_in_helper(obj7);
864 if (arg8 == NULL) SWIG_fail;
e811c8ce 865 temp8 = True;
d14a1e28
RD
866 }
867 }
868 {
869 PyThreadState* __tstate = wxPyBeginAllowThreads();
870 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
871
872 wxPyEndAllowThreads(__tstate);
873 if (PyErr_Occurred()) SWIG_fail;
874 }
875 {
876 resultobj = wxPyMake_wxObject(result);
877 }
878 {
879 if (temp3)
880 delete arg3;
881 }
882 {
883 if (temp8)
884 delete arg8;
885 }
886 return resultobj;
887 fail:
888 {
889 if (temp3)
890 delete arg3;
891 }
892 {
893 if (temp8)
894 delete arg8;
895 }
896 return NULL;
897}
898
899
900static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
901 PyObject *resultobj;
902 wxButton *result;
903 char *kwnames[] = {
904 NULL
905 };
906
907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
908 {
909 PyThreadState* __tstate = wxPyBeginAllowThreads();
910 result = (wxButton *)new wxButton();
911
912 wxPyEndAllowThreads(__tstate);
913 if (PyErr_Occurred()) SWIG_fail;
914 }
915 {
916 resultobj = wxPyMake_wxObject(result);
917 }
918 return resultobj;
919 fail:
920 return NULL;
921}
922
923
924static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
925 PyObject *resultobj;
926 wxButton *arg1 = (wxButton *) 0 ;
927 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 928 int arg3 ;
d14a1e28
RD
929 wxString *arg4 = 0 ;
930 wxPoint const &arg5_defvalue = wxDefaultPosition ;
931 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
932 wxSize const &arg6_defvalue = wxDefaultSize ;
933 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
934 long arg7 = (long) 0 ;
935 wxValidator const &arg8_defvalue = wxDefaultValidator ;
936 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
937 wxString const &arg9_defvalue = wxPyButtonNameStr ;
938 wxString *arg9 = (wxString *) &arg9_defvalue ;
939 bool result;
e811c8ce 940 bool temp4 = False ;
d14a1e28
RD
941 wxPoint temp5 ;
942 wxSize temp6 ;
e811c8ce 943 bool temp9 = False ;
d14a1e28
RD
944 PyObject * obj0 = 0 ;
945 PyObject * obj1 = 0 ;
946 PyObject * obj3 = 0 ;
947 PyObject * obj4 = 0 ;
948 PyObject * obj5 = 0 ;
949 PyObject * obj7 = 0 ;
950 PyObject * obj8 = 0 ;
951 char *kwnames[] = {
952 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
953 };
954
955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
957 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
958 {
959 arg4 = wxString_in_helper(obj3);
960 if (arg4 == NULL) SWIG_fail;
e811c8ce 961 temp4 = True;
d14a1e28
RD
962 }
963 if (obj4) {
964 {
965 arg5 = &temp5;
966 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
967 }
968 }
969 if (obj5) {
970 {
971 arg6 = &temp6;
972 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
973 }
974 }
975 if (obj7) {
976 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
977 if (arg8 == NULL) {
978 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
979 }
980 }
981 if (obj8) {
982 {
983 arg9 = wxString_in_helper(obj8);
984 if (arg9 == NULL) SWIG_fail;
e811c8ce 985 temp9 = True;
d14a1e28
RD
986 }
987 }
988 {
989 PyThreadState* __tstate = wxPyBeginAllowThreads();
990 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
991
992 wxPyEndAllowThreads(__tstate);
993 if (PyErr_Occurred()) SWIG_fail;
994 }
995 resultobj = PyInt_FromLong((long)result);
996 {
997 if (temp4)
998 delete arg4;
999 }
1000 {
1001 if (temp9)
1002 delete arg9;
1003 }
1004 return resultobj;
1005 fail:
1006 {
1007 if (temp4)
1008 delete arg4;
1009 }
1010 {
1011 if (temp9)
1012 delete arg9;
1013 }
1014 return NULL;
1015}
1016
1017
1018static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1019 PyObject *resultobj;
1020 wxButton *arg1 = (wxButton *) 0 ;
1021 PyObject * obj0 = 0 ;
1022 char *kwnames[] = {
1023 (char *) "self", NULL
1024 };
1025
1026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1028 {
1029 PyThreadState* __tstate = wxPyBeginAllowThreads();
1030 (arg1)->SetDefault();
1031
1032 wxPyEndAllowThreads(__tstate);
1033 if (PyErr_Occurred()) SWIG_fail;
1034 }
1035 Py_INCREF(Py_None); resultobj = Py_None;
1036 return resultobj;
1037 fail:
1038 return NULL;
1039}
1040
1041
1042static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1043 PyObject *resultobj;
1044 wxSize result;
1045 char *kwnames[] = {
1046 NULL
1047 };
1048
1049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1050 {
1051 PyThreadState* __tstate = wxPyBeginAllowThreads();
1052 result = wxButton::GetDefaultSize();
1053
1054 wxPyEndAllowThreads(__tstate);
1055 if (PyErr_Occurred()) SWIG_fail;
1056 }
1057 {
1058 wxSize * resultptr;
1059 resultptr = new wxSize((wxSize &) result);
1060 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1061 }
1062 return resultobj;
1063 fail:
1064 return NULL;
1065}
1066
1067
1068static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1069 PyObject *obj;
1070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1071 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1072 Py_INCREF(obj);
1073 return Py_BuildValue((char *)"");
1074}
1075static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1076 PyObject *resultobj;
1077 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1078 int arg2 ;
d14a1e28
RD
1079 wxBitmap *arg3 = 0 ;
1080 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1081 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1082 wxSize const &arg5_defvalue = wxDefaultSize ;
1083 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1084 long arg6 = (long) wxBU_AUTODRAW ;
1085 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1086 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1087 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1088 wxString *arg8 = (wxString *) &arg8_defvalue ;
1089 wxBitmapButton *result;
1090 wxPoint temp4 ;
1091 wxSize temp5 ;
e811c8ce 1092 bool temp8 = False ;
d14a1e28
RD
1093 PyObject * obj0 = 0 ;
1094 PyObject * obj2 = 0 ;
1095 PyObject * obj3 = 0 ;
1096 PyObject * obj4 = 0 ;
1097 PyObject * obj6 = 0 ;
1098 PyObject * obj7 = 0 ;
1099 char *kwnames[] = {
1100 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1101 };
1102
1103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1105 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1106 if (arg3 == NULL) {
1107 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1108 }
1109 if (obj3) {
1110 {
1111 arg4 = &temp4;
1112 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1113 }
1114 }
1115 if (obj4) {
1116 {
1117 arg5 = &temp5;
1118 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1119 }
1120 }
1121 if (obj6) {
1122 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1123 if (arg7 == NULL) {
1124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1125 }
1126 }
1127 if (obj7) {
1128 {
1129 arg8 = wxString_in_helper(obj7);
1130 if (arg8 == NULL) SWIG_fail;
e811c8ce 1131 temp8 = True;
d14a1e28
RD
1132 }
1133 }
1134 {
1135 PyThreadState* __tstate = wxPyBeginAllowThreads();
1136 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1137
1138 wxPyEndAllowThreads(__tstate);
1139 if (PyErr_Occurred()) SWIG_fail;
1140 }
1141 {
1142 resultobj = wxPyMake_wxObject(result);
1143 }
1144 {
1145 if (temp8)
1146 delete arg8;
1147 }
1148 return resultobj;
1149 fail:
1150 {
1151 if (temp8)
1152 delete arg8;
1153 }
1154 return NULL;
1155}
1156
1157
1158static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1159 PyObject *resultobj;
1160 wxBitmapButton *result;
1161 char *kwnames[] = {
1162 NULL
1163 };
1164
1165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1166 {
1167 PyThreadState* __tstate = wxPyBeginAllowThreads();
1168 result = (wxBitmapButton *)new wxBitmapButton();
1169
1170 wxPyEndAllowThreads(__tstate);
1171 if (PyErr_Occurred()) SWIG_fail;
1172 }
1173 {
1174 resultobj = wxPyMake_wxObject(result);
1175 }
1176 return resultobj;
1177 fail:
1178 return NULL;
1179}
1180
1181
1182static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1183 PyObject *resultobj;
1184 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1185 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 1186 int arg3 ;
d14a1e28
RD
1187 wxBitmap *arg4 = 0 ;
1188 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1189 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1190 wxSize const &arg6_defvalue = wxDefaultSize ;
1191 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1192 long arg7 = (long) wxBU_AUTODRAW ;
1193 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1194 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1195 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1196 wxString *arg9 = (wxString *) &arg9_defvalue ;
1197 bool result;
1198 wxPoint temp5 ;
1199 wxSize temp6 ;
e811c8ce 1200 bool temp9 = False ;
d14a1e28
RD
1201 PyObject * obj0 = 0 ;
1202 PyObject * obj1 = 0 ;
1203 PyObject * obj3 = 0 ;
1204 PyObject * obj4 = 0 ;
1205 PyObject * obj5 = 0 ;
1206 PyObject * obj7 = 0 ;
1207 PyObject * obj8 = 0 ;
1208 char *kwnames[] = {
1209 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1210 };
1211
1212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1215 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1216 if (arg4 == NULL) {
1217 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1218 }
1219 if (obj4) {
1220 {
1221 arg5 = &temp5;
1222 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1223 }
1224 }
1225 if (obj5) {
1226 {
1227 arg6 = &temp6;
1228 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1229 }
1230 }
1231 if (obj7) {
1232 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1233 if (arg8 == NULL) {
1234 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1235 }
1236 }
1237 if (obj8) {
1238 {
1239 arg9 = wxString_in_helper(obj8);
1240 if (arg9 == NULL) SWIG_fail;
e811c8ce 1241 temp9 = True;
d14a1e28
RD
1242 }
1243 }
1244 {
1245 PyThreadState* __tstate = wxPyBeginAllowThreads();
1246 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1247
1248 wxPyEndAllowThreads(__tstate);
1249 if (PyErr_Occurred()) SWIG_fail;
1250 }
1251 resultobj = PyInt_FromLong((long)result);
1252 {
1253 if (temp9)
1254 delete arg9;
1255 }
1256 return resultobj;
1257 fail:
1258 {
1259 if (temp9)
1260 delete arg9;
1261 }
1262 return NULL;
1263}
1264
1265
1266static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1267 PyObject *resultobj;
1268 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1269 wxBitmap result;
1270 PyObject * obj0 = 0 ;
1271 char *kwnames[] = {
1272 (char *) "self", NULL
1273 };
1274
1275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1277 {
1278 PyThreadState* __tstate = wxPyBeginAllowThreads();
1279 result = (arg1)->GetBitmapLabel();
1280
1281 wxPyEndAllowThreads(__tstate);
1282 if (PyErr_Occurred()) SWIG_fail;
1283 }
1284 {
1285 wxBitmap * resultptr;
1286 resultptr = new wxBitmap((wxBitmap &) result);
1287 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1288 }
1289 return resultobj;
1290 fail:
1291 return NULL;
1292}
1293
1294
1295static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1296 PyObject *resultobj;
1297 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1298 wxBitmap result;
1299 PyObject * obj0 = 0 ;
1300 char *kwnames[] = {
1301 (char *) "self", NULL
1302 };
1303
1304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1306 {
1307 PyThreadState* __tstate = wxPyBeginAllowThreads();
1308 result = (arg1)->GetBitmapDisabled();
1309
1310 wxPyEndAllowThreads(__tstate);
1311 if (PyErr_Occurred()) SWIG_fail;
1312 }
1313 {
1314 wxBitmap * resultptr;
1315 resultptr = new wxBitmap((wxBitmap &) result);
1316 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1317 }
1318 return resultobj;
1319 fail:
1320 return NULL;
1321}
1322
1323
1324static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1325 PyObject *resultobj;
1326 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1327 wxBitmap result;
1328 PyObject * obj0 = 0 ;
1329 char *kwnames[] = {
1330 (char *) "self", NULL
1331 };
1332
1333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1335 {
1336 PyThreadState* __tstate = wxPyBeginAllowThreads();
1337 result = (arg1)->GetBitmapFocus();
1338
1339 wxPyEndAllowThreads(__tstate);
1340 if (PyErr_Occurred()) SWIG_fail;
1341 }
1342 {
1343 wxBitmap * resultptr;
1344 resultptr = new wxBitmap((wxBitmap &) result);
1345 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1346 }
1347 return resultobj;
1348 fail:
1349 return NULL;
1350}
1351
1352
1353static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1354 PyObject *resultobj;
1355 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1356 wxBitmap result;
1357 PyObject * obj0 = 0 ;
1358 char *kwnames[] = {
1359 (char *) "self", NULL
1360 };
1361
1362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1364 {
1365 PyThreadState* __tstate = wxPyBeginAllowThreads();
1366 result = (arg1)->GetBitmapSelected();
1367
1368 wxPyEndAllowThreads(__tstate);
1369 if (PyErr_Occurred()) SWIG_fail;
1370 }
1371 {
1372 wxBitmap * resultptr;
1373 resultptr = new wxBitmap((wxBitmap &) result);
1374 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1375 }
1376 return resultobj;
1377 fail:
1378 return NULL;
1379}
1380
1381
1382static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1383 PyObject *resultobj;
1384 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1385 wxBitmap *arg2 = 0 ;
1386 PyObject * obj0 = 0 ;
1387 PyObject * obj1 = 0 ;
1388 char *kwnames[] = {
1389 (char *) "self",(char *) "bitmap", NULL
1390 };
1391
1392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1394 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1395 if (arg2 == NULL) {
1396 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1397 }
1398 {
1399 PyThreadState* __tstate = wxPyBeginAllowThreads();
1400 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1401
1402 wxPyEndAllowThreads(__tstate);
1403 if (PyErr_Occurred()) SWIG_fail;
1404 }
1405 Py_INCREF(Py_None); resultobj = Py_None;
1406 return resultobj;
1407 fail:
1408 return NULL;
1409}
1410
1411
1412static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1413 PyObject *resultobj;
1414 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1415 wxBitmap *arg2 = 0 ;
1416 PyObject * obj0 = 0 ;
1417 PyObject * obj1 = 0 ;
1418 char *kwnames[] = {
1419 (char *) "self",(char *) "bitmap", NULL
1420 };
1421
1422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1424 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1425 if (arg2 == NULL) {
1426 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1427 }
1428 {
1429 PyThreadState* __tstate = wxPyBeginAllowThreads();
1430 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1431
1432 wxPyEndAllowThreads(__tstate);
1433 if (PyErr_Occurred()) SWIG_fail;
1434 }
1435 Py_INCREF(Py_None); resultobj = Py_None;
1436 return resultobj;
1437 fail:
1438 return NULL;
1439}
1440
1441
1442static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1443 PyObject *resultobj;
1444 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1445 wxBitmap *arg2 = 0 ;
1446 PyObject * obj0 = 0 ;
1447 PyObject * obj1 = 0 ;
1448 char *kwnames[] = {
1449 (char *) "self",(char *) "bitmap", NULL
1450 };
1451
1452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1454 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1455 if (arg2 == NULL) {
1456 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1457 }
1458 {
1459 PyThreadState* __tstate = wxPyBeginAllowThreads();
1460 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1461
1462 wxPyEndAllowThreads(__tstate);
1463 if (PyErr_Occurred()) SWIG_fail;
1464 }
1465 Py_INCREF(Py_None); resultobj = Py_None;
1466 return resultobj;
1467 fail:
1468 return NULL;
1469}
1470
1471
1472static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1473 PyObject *resultobj;
1474 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1475 wxBitmap *arg2 = 0 ;
1476 PyObject * obj0 = 0 ;
1477 PyObject * obj1 = 0 ;
1478 char *kwnames[] = {
1479 (char *) "self",(char *) "bitmap", NULL
1480 };
1481
1482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1484 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1485 if (arg2 == NULL) {
1486 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1487 }
1488 {
1489 PyThreadState* __tstate = wxPyBeginAllowThreads();
1490 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1491
1492 wxPyEndAllowThreads(__tstate);
1493 if (PyErr_Occurred()) SWIG_fail;
1494 }
1495 Py_INCREF(Py_None); resultobj = Py_None;
1496 return resultobj;
1497 fail:
1498 return NULL;
1499}
1500
1501
1502static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1503 PyObject *resultobj;
1504 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1505 int arg2 ;
1506 int arg3 ;
1507 PyObject * obj0 = 0 ;
1508 char *kwnames[] = {
1509 (char *) "self",(char *) "x",(char *) "y", NULL
1510 };
1511
1512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1514 {
1515 PyThreadState* __tstate = wxPyBeginAllowThreads();
1516 (arg1)->SetMargins(arg2,arg3);
1517
1518 wxPyEndAllowThreads(__tstate);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
1521 Py_INCREF(Py_None); resultobj = Py_None;
1522 return resultobj;
1523 fail:
1524 return NULL;
1525}
1526
1527
1528static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1529 PyObject *resultobj;
1530 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1531 int result;
1532 PyObject * obj0 = 0 ;
1533 char *kwnames[] = {
1534 (char *) "self", NULL
1535 };
1536
1537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1539 {
1540 PyThreadState* __tstate = wxPyBeginAllowThreads();
1541 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1542
1543 wxPyEndAllowThreads(__tstate);
1544 if (PyErr_Occurred()) SWIG_fail;
1545 }
1546 resultobj = PyInt_FromLong((long)result);
1547 return resultobj;
1548 fail:
1549 return NULL;
1550}
1551
1552
1553static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1554 PyObject *resultobj;
1555 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1556 int result;
1557 PyObject * obj0 = 0 ;
1558 char *kwnames[] = {
1559 (char *) "self", NULL
1560 };
1561
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 resultobj = PyInt_FromLong((long)result);
1572 return resultobj;
1573 fail:
1574 return NULL;
1575}
1576
1577
1578static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1579 PyObject *obj;
1580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1581 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1582 Py_INCREF(obj);
1583 return Py_BuildValue((char *)"");
1584}
1585static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject *resultobj;
1587 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1588 int arg2 ;
d14a1e28
RD
1589 wxString *arg3 = 0 ;
1590 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1591 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1592 wxSize const &arg5_defvalue = wxDefaultSize ;
1593 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1594 long arg6 = (long) 0 ;
1595 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1596 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1597 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1598 wxString *arg8 = (wxString *) &arg8_defvalue ;
1599 wxCheckBox *result;
e811c8ce 1600 bool temp3 = False ;
d14a1e28
RD
1601 wxPoint temp4 ;
1602 wxSize temp5 ;
e811c8ce 1603 bool temp8 = False ;
d14a1e28
RD
1604 PyObject * obj0 = 0 ;
1605 PyObject * obj2 = 0 ;
1606 PyObject * obj3 = 0 ;
1607 PyObject * obj4 = 0 ;
1608 PyObject * obj6 = 0 ;
1609 PyObject * obj7 = 0 ;
1610 char *kwnames[] = {
1611 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1612 };
1613
1614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1616 {
1617 arg3 = wxString_in_helper(obj2);
1618 if (arg3 == NULL) SWIG_fail;
e811c8ce 1619 temp3 = True;
d14a1e28
RD
1620 }
1621 if (obj3) {
1622 {
1623 arg4 = &temp4;
1624 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1625 }
1626 }
1627 if (obj4) {
1628 {
1629 arg5 = &temp5;
1630 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1631 }
1632 }
1633 if (obj6) {
1634 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1635 if (arg7 == NULL) {
1636 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1637 }
1638 }
1639 if (obj7) {
1640 {
1641 arg8 = wxString_in_helper(obj7);
1642 if (arg8 == NULL) SWIG_fail;
e811c8ce 1643 temp8 = True;
d14a1e28
RD
1644 }
1645 }
1646 {
1647 PyThreadState* __tstate = wxPyBeginAllowThreads();
1648 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1649
1650 wxPyEndAllowThreads(__tstate);
1651 if (PyErr_Occurred()) SWIG_fail;
1652 }
1653 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1654 {
1655 if (temp3)
1656 delete arg3;
1657 }
1658 {
1659 if (temp8)
1660 delete arg8;
1661 }
1662 return resultobj;
1663 fail:
1664 {
1665 if (temp3)
1666 delete arg3;
1667 }
1668 {
1669 if (temp8)
1670 delete arg8;
1671 }
1672 return NULL;
1673}
1674
1675
1676static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1677 PyObject *resultobj;
1678 wxCheckBox *result;
1679 char *kwnames[] = {
1680 NULL
1681 };
1682
1683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1684 {
1685 PyThreadState* __tstate = wxPyBeginAllowThreads();
1686 result = (wxCheckBox *)new wxCheckBox();
1687
1688 wxPyEndAllowThreads(__tstate);
1689 if (PyErr_Occurred()) SWIG_fail;
1690 }
1691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1692 return resultobj;
1693 fail:
1694 return NULL;
1695}
1696
1697
1698static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1699 PyObject *resultobj;
1700 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1701 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 1702 int arg3 ;
d14a1e28
RD
1703 wxString *arg4 = 0 ;
1704 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1705 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1706 wxSize const &arg6_defvalue = wxDefaultSize ;
1707 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1708 long arg7 = (long) 0 ;
1709 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1710 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1711 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1712 wxString *arg9 = (wxString *) &arg9_defvalue ;
1713 bool result;
e811c8ce 1714 bool temp4 = False ;
d14a1e28
RD
1715 wxPoint temp5 ;
1716 wxSize temp6 ;
e811c8ce 1717 bool temp9 = False ;
d14a1e28
RD
1718 PyObject * obj0 = 0 ;
1719 PyObject * obj1 = 0 ;
1720 PyObject * obj3 = 0 ;
1721 PyObject * obj4 = 0 ;
1722 PyObject * obj5 = 0 ;
1723 PyObject * obj7 = 0 ;
1724 PyObject * obj8 = 0 ;
1725 char *kwnames[] = {
1726 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1727 };
1728
1729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1732 {
1733 arg4 = wxString_in_helper(obj3);
1734 if (arg4 == NULL) SWIG_fail;
e811c8ce 1735 temp4 = True;
d14a1e28
RD
1736 }
1737 if (obj4) {
1738 {
1739 arg5 = &temp5;
1740 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1741 }
1742 }
1743 if (obj5) {
1744 {
1745 arg6 = &temp6;
1746 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1747 }
1748 }
1749 if (obj7) {
1750 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1751 if (arg8 == NULL) {
1752 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1753 }
1754 }
1755 if (obj8) {
1756 {
1757 arg9 = wxString_in_helper(obj8);
1758 if (arg9 == NULL) SWIG_fail;
e811c8ce 1759 temp9 = True;
d14a1e28
RD
1760 }
1761 }
1762 {
1763 PyThreadState* __tstate = wxPyBeginAllowThreads();
1764 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1765
1766 wxPyEndAllowThreads(__tstate);
1767 if (PyErr_Occurred()) SWIG_fail;
1768 }
1769 resultobj = PyInt_FromLong((long)result);
1770 {
1771 if (temp4)
1772 delete arg4;
1773 }
1774 {
1775 if (temp9)
1776 delete arg9;
1777 }
1778 return resultobj;
1779 fail:
1780 {
1781 if (temp4)
1782 delete arg4;
1783 }
1784 {
1785 if (temp9)
1786 delete arg9;
1787 }
1788 return NULL;
1789}
1790
1791
1792static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1793 PyObject *resultobj;
1794 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1795 bool result;
1796 PyObject * obj0 = 0 ;
1797 char *kwnames[] = {
1798 (char *) "self", NULL
1799 };
1800
1801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1803 {
1804 PyThreadState* __tstate = wxPyBeginAllowThreads();
1805 result = (bool)(arg1)->GetValue();
1806
1807 wxPyEndAllowThreads(__tstate);
1808 if (PyErr_Occurred()) SWIG_fail;
1809 }
1810 resultobj = PyInt_FromLong((long)result);
1811 return resultobj;
1812 fail:
1813 return NULL;
1814}
1815
1816
1817static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1818 PyObject *resultobj;
1819 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1820 bool result;
1821 PyObject * obj0 = 0 ;
1822 char *kwnames[] = {
1823 (char *) "self", NULL
1824 };
1825
1826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1828 {
1829 PyThreadState* __tstate = wxPyBeginAllowThreads();
1830 result = (bool)(arg1)->IsChecked();
1831
1832 wxPyEndAllowThreads(__tstate);
1833 if (PyErr_Occurred()) SWIG_fail;
1834 }
1835 resultobj = PyInt_FromLong((long)result);
1836 return resultobj;
1837 fail:
1838 return NULL;
1839}
1840
1841
1842static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject *resultobj;
1844 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1845 bool arg2 ;
1846 PyObject * obj0 = 0 ;
1847 PyObject * obj1 = 0 ;
1848 char *kwnames[] = {
1849 (char *) "self",(char *) "state", NULL
1850 };
1851
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1854 arg2 = PyInt_AsLong(obj1) ? true : false;
1855 if (PyErr_Occurred()) SWIG_fail;
1856 {
1857 PyThreadState* __tstate = wxPyBeginAllowThreads();
1858 (arg1)->SetValue(arg2);
1859
1860 wxPyEndAllowThreads(__tstate);
1861 if (PyErr_Occurred()) SWIG_fail;
1862 }
1863 Py_INCREF(Py_None); resultobj = Py_None;
1864 return resultobj;
1865 fail:
1866 return NULL;
1867}
1868
1869
1870static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1871 PyObject *resultobj;
1872 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1873 int result;
1874 PyObject * obj0 = 0 ;
1875 char *kwnames[] = {
1876 (char *) "self", NULL
1877 };
1878
1879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1881 {
1882 PyThreadState* __tstate = wxPyBeginAllowThreads();
1883 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1884
1885 wxPyEndAllowThreads(__tstate);
1886 if (PyErr_Occurred()) SWIG_fail;
1887 }
1888 resultobj = PyInt_FromLong((long)result);
1889 return resultobj;
1890 fail:
1891 return NULL;
1892}
1893
1894
1895static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1896 PyObject *resultobj;
1897 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1898 int arg2 ;
1899 PyObject * obj0 = 0 ;
1900 char *kwnames[] = {
1901 (char *) "self",(char *) "state", NULL
1902 };
1903
1904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1906 {
1907 PyThreadState* __tstate = wxPyBeginAllowThreads();
1908 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1909
1910 wxPyEndAllowThreads(__tstate);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 }
1913 Py_INCREF(Py_None); resultobj = Py_None;
1914 return resultobj;
1915 fail:
1916 return NULL;
1917}
1918
1919
1920static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject *resultobj;
1922 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1923 bool result;
1924 PyObject * obj0 = 0 ;
1925 char *kwnames[] = {
1926 (char *) "self", NULL
1927 };
1928
1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1931 {
1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
1933 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1934
1935 wxPyEndAllowThreads(__tstate);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
1938 resultobj = PyInt_FromLong((long)result);
1939 return resultobj;
1940 fail:
1941 return NULL;
1942}
1943
1944
1945static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1946 PyObject *resultobj;
1947 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1948 bool result;
1949 PyObject * obj0 = 0 ;
1950 char *kwnames[] = {
1951 (char *) "self", NULL
1952 };
1953
1954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
1955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1956 {
1957 PyThreadState* __tstate = wxPyBeginAllowThreads();
1958 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
1959
1960 wxPyEndAllowThreads(__tstate);
1961 if (PyErr_Occurred()) SWIG_fail;
1962 }
1963 resultobj = PyInt_FromLong((long)result);
1964 return resultobj;
1965 fail:
1966 return NULL;
1967}
1968
1969
1970static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
1971 PyObject *obj;
1972 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1973 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
1974 Py_INCREF(obj);
1975 return Py_BuildValue((char *)"");
1976}
1977static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 1980 int arg2 ;
d14a1e28
RD
1981 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1982 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1983 wxSize const &arg4_defvalue = wxDefaultSize ;
1984 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1985 int arg5 = (int) 0 ;
1986 wxString *arg6 = (wxString *) NULL ;
1987 long arg7 = (long) 0 ;
1988 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1989 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1990 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
1991 wxString *arg9 = (wxString *) &arg9_defvalue ;
1992 wxChoice *result;
1993 wxPoint temp3 ;
1994 wxSize temp4 ;
e811c8ce 1995 bool temp8 = False ;
d14a1e28
RD
1996 PyObject * obj0 = 0 ;
1997 PyObject * obj2 = 0 ;
1998 PyObject * obj3 = 0 ;
1999 PyObject * obj4 = 0 ;
2000 PyObject * obj6 = 0 ;
2001 PyObject * obj7 = 0 ;
2002 char *kwnames[] = {
2003 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2004 };
2005
2006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2008 if (obj2) {
2009 {
2010 arg3 = &temp3;
2011 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2012 }
2013 }
2014 if (obj3) {
2015 {
2016 arg4 = &temp4;
2017 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2018 }
2019 }
2020 if (obj4) {
2021 {
2022 arg5 = PyList_Size(obj4);
2023 arg6 = wxString_LIST_helper(obj4);
2024 if (arg6 == NULL) SWIG_fail;
2025 }
2026 }
2027 if (obj6) {
2028 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2029 if (arg8 == NULL) {
2030 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2031 }
2032 }
2033 if (obj7) {
2034 {
2035 arg9 = wxString_in_helper(obj7);
2036 if (arg9 == NULL) SWIG_fail;
e811c8ce 2037 temp8 = True;
d14a1e28
RD
2038 }
2039 }
2040 {
2041 PyThreadState* __tstate = wxPyBeginAllowThreads();
2042 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2043
2044 wxPyEndAllowThreads(__tstate);
2045 if (PyErr_Occurred()) SWIG_fail;
2046 }
2047 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2048 {
2049 if (arg6) delete [] arg6;
2050 }
2051 {
2052 if (temp8)
2053 delete arg9;
2054 }
2055 return resultobj;
2056 fail:
2057 {
2058 if (arg6) delete [] arg6;
2059 }
2060 {
2061 if (temp8)
2062 delete arg9;
2063 }
2064 return NULL;
2065}
2066
2067
2068static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2069 PyObject *resultobj;
2070 wxChoice *result;
2071 char *kwnames[] = {
2072 NULL
2073 };
2074
2075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2076 {
2077 PyThreadState* __tstate = wxPyBeginAllowThreads();
2078 result = (wxChoice *)new wxChoice();
2079
2080 wxPyEndAllowThreads(__tstate);
2081 if (PyErr_Occurred()) SWIG_fail;
2082 }
2083 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2084 return resultobj;
2085 fail:
2086 return NULL;
2087}
2088
2089
2090static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2091 PyObject *resultobj;
2092 wxChoice *arg1 = (wxChoice *) 0 ;
2093 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2094 int arg3 ;
d14a1e28
RD
2095 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2096 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2097 wxSize const &arg5_defvalue = wxDefaultSize ;
2098 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2099 int arg6 = (int) 0 ;
2100 wxString *arg7 = (wxString *) NULL ;
2101 long arg8 = (long) 0 ;
2102 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2103 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2104 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2105 wxString *arg10 = (wxString *) &arg10_defvalue ;
2106 bool result;
2107 wxPoint temp4 ;
2108 wxSize temp5 ;
e811c8ce 2109 bool temp9 = False ;
d14a1e28
RD
2110 PyObject * obj0 = 0 ;
2111 PyObject * obj1 = 0 ;
2112 PyObject * obj3 = 0 ;
2113 PyObject * obj4 = 0 ;
2114 PyObject * obj5 = 0 ;
2115 PyObject * obj7 = 0 ;
2116 PyObject * obj8 = 0 ;
2117 char *kwnames[] = {
2118 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2119 };
2120
2121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2124 if (obj3) {
2125 {
2126 arg4 = &temp4;
2127 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2128 }
2129 }
2130 if (obj4) {
2131 {
2132 arg5 = &temp5;
2133 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2134 }
2135 }
2136 if (obj5) {
2137 {
2138 arg6 = PyList_Size(obj5);
2139 arg7 = wxString_LIST_helper(obj5);
2140 if (arg7 == NULL) SWIG_fail;
2141 }
2142 }
2143 if (obj7) {
2144 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2145 if (arg9 == NULL) {
2146 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2147 }
2148 }
2149 if (obj8) {
2150 {
2151 arg10 = wxString_in_helper(obj8);
2152 if (arg10 == NULL) SWIG_fail;
e811c8ce 2153 temp9 = True;
d14a1e28
RD
2154 }
2155 }
2156 {
2157 PyThreadState* __tstate = wxPyBeginAllowThreads();
2158 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2159
2160 wxPyEndAllowThreads(__tstate);
2161 if (PyErr_Occurred()) SWIG_fail;
2162 }
2163 resultobj = PyInt_FromLong((long)result);
2164 {
2165 if (arg7) delete [] arg7;
2166 }
2167 {
2168 if (temp9)
2169 delete arg10;
2170 }
2171 return resultobj;
2172 fail:
2173 {
2174 if (arg7) delete [] arg7;
2175 }
2176 {
2177 if (temp9)
2178 delete arg10;
2179 }
2180 return NULL;
2181}
2182
2183
2184static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2185 PyObject *resultobj;
2186 wxChoice *arg1 = (wxChoice *) 0 ;
2187 int result;
2188 PyObject * obj0 = 0 ;
2189 char *kwnames[] = {
2190 (char *) "self", NULL
2191 };
2192
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 result = (int)(arg1)->GetColumns();
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
2202 resultobj = PyInt_FromLong((long)result);
2203 return resultobj;
2204 fail:
2205 return NULL;
2206}
2207
2208
2209static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxChoice *arg1 = (wxChoice *) 0 ;
2212 int arg2 = (int) (int)1 ;
2213 PyObject * obj0 = 0 ;
2214 char *kwnames[] = {
2215 (char *) "self",(char *) "n", NULL
2216 };
2217
2218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2220 {
2221 PyThreadState* __tstate = wxPyBeginAllowThreads();
2222 (arg1)->SetColumns(arg2);
2223
2224 wxPyEndAllowThreads(__tstate);
2225 if (PyErr_Occurred()) SWIG_fail;
2226 }
2227 Py_INCREF(Py_None); resultobj = Py_None;
2228 return resultobj;
2229 fail:
2230 return NULL;
2231}
2232
2233
2234static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject *resultobj;
2236 wxChoice *arg1 = (wxChoice *) 0 ;
2237 int arg2 ;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self",(char *) "n", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 (arg1)->SetSelection(arg2);
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 Py_INCREF(Py_None); resultobj = Py_None;
2253 return resultobj;
2254 fail:
2255 return NULL;
2256}
2257
2258
2259static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxChoice *arg1 = (wxChoice *) 0 ;
2262 wxString *arg2 = 0 ;
e811c8ce 2263 bool temp2 = False ;
d14a1e28
RD
2264 PyObject * obj0 = 0 ;
2265 PyObject * obj1 = 0 ;
2266 char *kwnames[] = {
2267 (char *) "self",(char *) "string", NULL
2268 };
2269
2270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2272 {
2273 arg2 = wxString_in_helper(obj1);
2274 if (arg2 == NULL) SWIG_fail;
e811c8ce 2275 temp2 = True;
d14a1e28
RD
2276 }
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 (arg1)->SetStringSelection((wxString const &)*arg2);
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 Py_INCREF(Py_None); resultobj = Py_None;
2285 {
2286 if (temp2)
2287 delete arg2;
2288 }
2289 return resultobj;
2290 fail:
2291 {
2292 if (temp2)
2293 delete arg2;
2294 }
2295 return NULL;
2296}
2297
2298
2299static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2300 PyObject *resultobj;
2301 wxChoice *arg1 = (wxChoice *) 0 ;
2302 int arg2 ;
2303 wxString *arg3 = 0 ;
e811c8ce 2304 bool temp3 = False ;
d14a1e28
RD
2305 PyObject * obj0 = 0 ;
2306 PyObject * obj2 = 0 ;
2307 char *kwnames[] = {
2308 (char *) "self",(char *) "n",(char *) "s", NULL
2309 };
2310
2311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2313 {
2314 arg3 = wxString_in_helper(obj2);
2315 if (arg3 == NULL) SWIG_fail;
e811c8ce 2316 temp3 = True;
d14a1e28
RD
2317 }
2318 {
2319 PyThreadState* __tstate = wxPyBeginAllowThreads();
2320 (arg1)->SetString(arg2,(wxString const &)*arg3);
2321
2322 wxPyEndAllowThreads(__tstate);
2323 if (PyErr_Occurred()) SWIG_fail;
2324 }
2325 Py_INCREF(Py_None); resultobj = Py_None;
2326 {
2327 if (temp3)
2328 delete arg3;
2329 }
2330 return resultobj;
2331 fail:
2332 {
2333 if (temp3)
2334 delete arg3;
2335 }
2336 return NULL;
2337}
2338
2339
2340static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2341 PyObject *obj;
2342 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2343 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2344 Py_INCREF(obj);
2345 return Py_BuildValue((char *)"");
2346}
2347static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2348 PyObject *resultobj;
2349 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2350 int arg2 ;
d14a1e28
RD
2351 wxString const &arg3_defvalue = wxPyEmptyString ;
2352 wxString *arg3 = (wxString *) &arg3_defvalue ;
2353 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2354 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2355 wxSize const &arg5_defvalue = wxDefaultSize ;
2356 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2357 int arg6 = (int) 0 ;
2358 wxString *arg7 = (wxString *) NULL ;
2359 long arg8 = (long) 0 ;
2360 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2361 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2362 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2363 wxString *arg10 = (wxString *) &arg10_defvalue ;
2364 wxComboBox *result;
e811c8ce 2365 bool temp3 = False ;
d14a1e28
RD
2366 wxPoint temp4 ;
2367 wxSize temp5 ;
e811c8ce 2368 bool temp9 = False ;
d14a1e28
RD
2369 PyObject * obj0 = 0 ;
2370 PyObject * obj2 = 0 ;
2371 PyObject * obj3 = 0 ;
2372 PyObject * obj4 = 0 ;
2373 PyObject * obj5 = 0 ;
2374 PyObject * obj7 = 0 ;
2375 PyObject * obj8 = 0 ;
2376 char *kwnames[] = {
2377 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2378 };
2379
2380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2382 if (obj2) {
2383 {
2384 arg3 = wxString_in_helper(obj2);
2385 if (arg3 == NULL) SWIG_fail;
e811c8ce 2386 temp3 = True;
d14a1e28
RD
2387 }
2388 }
2389 if (obj3) {
2390 {
2391 arg4 = &temp4;
2392 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2393 }
2394 }
2395 if (obj4) {
2396 {
2397 arg5 = &temp5;
2398 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2399 }
2400 }
2401 if (obj5) {
2402 {
2403 arg6 = PyList_Size(obj5);
2404 arg7 = wxString_LIST_helper(obj5);
2405 if (arg7 == NULL) SWIG_fail;
2406 }
2407 }
2408 if (obj7) {
2409 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2410 if (arg9 == NULL) {
2411 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2412 }
2413 }
2414 if (obj8) {
2415 {
2416 arg10 = wxString_in_helper(obj8);
2417 if (arg10 == NULL) SWIG_fail;
e811c8ce 2418 temp9 = True;
d14a1e28
RD
2419 }
2420 }
2421 {
2422 PyThreadState* __tstate = wxPyBeginAllowThreads();
2423 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2424
2425 wxPyEndAllowThreads(__tstate);
2426 if (PyErr_Occurred()) SWIG_fail;
2427 }
2428 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2429 {
2430 if (temp3)
2431 delete arg3;
2432 }
2433 {
2434 if (arg7) delete [] arg7;
2435 }
2436 {
2437 if (temp9)
2438 delete arg10;
2439 }
2440 return resultobj;
2441 fail:
2442 {
2443 if (temp3)
2444 delete arg3;
2445 }
2446 {
2447 if (arg7) delete [] arg7;
2448 }
2449 {
2450 if (temp9)
2451 delete arg10;
2452 }
2453 return NULL;
2454}
2455
2456
2457static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2458 PyObject *resultobj;
2459 wxComboBox *result;
2460 char *kwnames[] = {
2461 NULL
2462 };
2463
2464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2465 {
2466 PyThreadState* __tstate = wxPyBeginAllowThreads();
2467 result = (wxComboBox *)new wxComboBox();
2468
2469 wxPyEndAllowThreads(__tstate);
2470 if (PyErr_Occurred()) SWIG_fail;
2471 }
2472 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2473 return resultobj;
2474 fail:
2475 return NULL;
2476}
2477
2478
2479static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2480 PyObject *resultobj;
2481 wxComboBox *arg1 = (wxComboBox *) 0 ;
2482 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 2483 int arg3 ;
d14a1e28
RD
2484 wxString const &arg4_defvalue = wxPyEmptyString ;
2485 wxString *arg4 = (wxString *) &arg4_defvalue ;
2486 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2487 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2488 wxSize const &arg6_defvalue = wxDefaultSize ;
2489 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2490 int arg7 = (int) 0 ;
2491 wxString *arg8 = (wxString *) NULL ;
2492 long arg9 = (long) 0 ;
2493 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2494 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2495 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2496 wxString *arg11 = (wxString *) &arg11_defvalue ;
2497 bool result;
e811c8ce 2498 bool temp4 = False ;
d14a1e28
RD
2499 wxPoint temp5 ;
2500 wxSize temp6 ;
e811c8ce 2501 bool temp10 = False ;
d14a1e28
RD
2502 PyObject * obj0 = 0 ;
2503 PyObject * obj1 = 0 ;
2504 PyObject * obj3 = 0 ;
2505 PyObject * obj4 = 0 ;
2506 PyObject * obj5 = 0 ;
2507 PyObject * obj6 = 0 ;
2508 PyObject * obj8 = 0 ;
2509 PyObject * obj9 = 0 ;
2510 char *kwnames[] = {
2511 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2516 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2517 if (obj3) {
2518 {
2519 arg4 = wxString_in_helper(obj3);
2520 if (arg4 == NULL) SWIG_fail;
e811c8ce 2521 temp4 = True;
d14a1e28
RD
2522 }
2523 }
2524 if (obj4) {
2525 {
2526 arg5 = &temp5;
2527 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2528 }
2529 }
2530 if (obj5) {
2531 {
2532 arg6 = &temp6;
2533 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2534 }
2535 }
2536 if (obj6) {
2537 {
2538 arg7 = PyList_Size(obj6);
2539 arg8 = wxString_LIST_helper(obj6);
2540 if (arg8 == NULL) SWIG_fail;
2541 }
2542 }
2543 if (obj8) {
2544 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2545 if (arg10 == NULL) {
2546 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2547 }
2548 }
2549 if (obj9) {
2550 {
2551 arg11 = wxString_in_helper(obj9);
2552 if (arg11 == NULL) SWIG_fail;
e811c8ce 2553 temp10 = True;
d14a1e28
RD
2554 }
2555 }
2556 {
2557 PyThreadState* __tstate = wxPyBeginAllowThreads();
2558 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2559
2560 wxPyEndAllowThreads(__tstate);
2561 if (PyErr_Occurred()) SWIG_fail;
2562 }
2563 resultobj = PyInt_FromLong((long)result);
2564 {
2565 if (temp4)
2566 delete arg4;
2567 }
2568 {
2569 if (arg8) delete [] arg8;
2570 }
2571 {
2572 if (temp10)
2573 delete arg11;
2574 }
2575 return resultobj;
2576 fail:
2577 {
2578 if (temp4)
2579 delete arg4;
2580 }
2581 {
2582 if (arg8) delete [] arg8;
2583 }
2584 {
2585 if (temp10)
2586 delete arg11;
2587 }
2588 return NULL;
2589}
2590
2591
2592static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2593 PyObject *resultobj;
2594 wxComboBox *arg1 = (wxComboBox *) 0 ;
2595 wxString result;
2596 PyObject * obj0 = 0 ;
2597 char *kwnames[] = {
2598 (char *) "self", NULL
2599 };
2600
2601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2603 {
2604 PyThreadState* __tstate = wxPyBeginAllowThreads();
2605 result = ((wxComboBox const *)arg1)->GetValue();
2606
2607 wxPyEndAllowThreads(__tstate);
2608 if (PyErr_Occurred()) SWIG_fail;
2609 }
2610 {
2611#if wxUSE_UNICODE
2612 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2613#else
2614 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2615#endif
2616 }
2617 return resultobj;
2618 fail:
2619 return NULL;
2620}
2621
2622
2623static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2624 PyObject *resultobj;
2625 wxComboBox *arg1 = (wxComboBox *) 0 ;
2626 wxString *arg2 = 0 ;
e811c8ce 2627 bool temp2 = False ;
d14a1e28
RD
2628 PyObject * obj0 = 0 ;
2629 PyObject * obj1 = 0 ;
2630 char *kwnames[] = {
2631 (char *) "self",(char *) "value", NULL
2632 };
2633
2634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2636 {
2637 arg2 = wxString_in_helper(obj1);
2638 if (arg2 == NULL) SWIG_fail;
e811c8ce 2639 temp2 = True;
d14a1e28
RD
2640 }
2641 {
2642 PyThreadState* __tstate = wxPyBeginAllowThreads();
2643 (arg1)->SetValue((wxString const &)*arg2);
2644
2645 wxPyEndAllowThreads(__tstate);
2646 if (PyErr_Occurred()) SWIG_fail;
2647 }
2648 Py_INCREF(Py_None); resultobj = Py_None;
2649 {
2650 if (temp2)
2651 delete arg2;
2652 }
2653 return resultobj;
2654 fail:
2655 {
2656 if (temp2)
2657 delete arg2;
2658 }
2659 return NULL;
2660}
2661
2662
2663static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2664 PyObject *resultobj;
2665 wxComboBox *arg1 = (wxComboBox *) 0 ;
2666 PyObject * obj0 = 0 ;
2667 char *kwnames[] = {
2668 (char *) "self", NULL
2669 };
2670
2671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2673 {
2674 PyThreadState* __tstate = wxPyBeginAllowThreads();
2675 (arg1)->Copy();
2676
2677 wxPyEndAllowThreads(__tstate);
2678 if (PyErr_Occurred()) SWIG_fail;
2679 }
2680 Py_INCREF(Py_None); resultobj = Py_None;
2681 return resultobj;
2682 fail:
2683 return NULL;
2684}
2685
2686
2687static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2688 PyObject *resultobj;
2689 wxComboBox *arg1 = (wxComboBox *) 0 ;
2690 PyObject * obj0 = 0 ;
2691 char *kwnames[] = {
2692 (char *) "self", NULL
2693 };
2694
2695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2697 {
2698 PyThreadState* __tstate = wxPyBeginAllowThreads();
2699 (arg1)->Cut();
2700
2701 wxPyEndAllowThreads(__tstate);
2702 if (PyErr_Occurred()) SWIG_fail;
2703 }
2704 Py_INCREF(Py_None); resultobj = Py_None;
2705 return resultobj;
2706 fail:
2707 return NULL;
2708}
2709
2710
2711static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2712 PyObject *resultobj;
2713 wxComboBox *arg1 = (wxComboBox *) 0 ;
2714 PyObject * obj0 = 0 ;
2715 char *kwnames[] = {
2716 (char *) "self", NULL
2717 };
2718
2719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2721 {
2722 PyThreadState* __tstate = wxPyBeginAllowThreads();
2723 (arg1)->Paste();
2724
2725 wxPyEndAllowThreads(__tstate);
2726 if (PyErr_Occurred()) SWIG_fail;
2727 }
2728 Py_INCREF(Py_None); resultobj = Py_None;
2729 return resultobj;
2730 fail:
2731 return NULL;
2732}
2733
2734
2735static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2736 PyObject *resultobj;
2737 wxComboBox *arg1 = (wxComboBox *) 0 ;
2738 long arg2 ;
2739 PyObject * obj0 = 0 ;
2740 char *kwnames[] = {
2741 (char *) "self",(char *) "pos", NULL
2742 };
2743
2744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2746 {
2747 PyThreadState* __tstate = wxPyBeginAllowThreads();
2748 (arg1)->SetInsertionPoint(arg2);
2749
2750 wxPyEndAllowThreads(__tstate);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 }
2753 Py_INCREF(Py_None); resultobj = Py_None;
2754 return resultobj;
2755 fail:
2756 return NULL;
2757}
2758
2759
2760static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2761 PyObject *resultobj;
2762 wxComboBox *arg1 = (wxComboBox *) 0 ;
2763 long result;
2764 PyObject * obj0 = 0 ;
2765 char *kwnames[] = {
2766 (char *) "self", NULL
2767 };
2768
2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2771 {
2772 PyThreadState* __tstate = wxPyBeginAllowThreads();
2773 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2774
2775 wxPyEndAllowThreads(__tstate);
2776 if (PyErr_Occurred()) SWIG_fail;
2777 }
2778 resultobj = PyInt_FromLong((long)result);
2779 return resultobj;
2780 fail:
2781 return NULL;
2782}
2783
2784
2785static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2786 PyObject *resultobj;
2787 wxComboBox *arg1 = (wxComboBox *) 0 ;
2788 long result;
2789 PyObject * obj0 = 0 ;
2790 char *kwnames[] = {
2791 (char *) "self", NULL
2792 };
2793
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2796 {
2797 PyThreadState* __tstate = wxPyBeginAllowThreads();
2798 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2799
2800 wxPyEndAllowThreads(__tstate);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 }
2803 resultobj = PyInt_FromLong((long)result);
2804 return resultobj;
2805 fail:
2806 return NULL;
2807}
2808
2809
2810static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2811 PyObject *resultobj;
2812 wxComboBox *arg1 = (wxComboBox *) 0 ;
2813 long arg2 ;
2814 long arg3 ;
2815 wxString *arg4 = 0 ;
e811c8ce 2816 bool temp4 = False ;
d14a1e28
RD
2817 PyObject * obj0 = 0 ;
2818 PyObject * obj3 = 0 ;
2819 char *kwnames[] = {
2820 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2821 };
2822
2823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2825 {
2826 arg4 = wxString_in_helper(obj3);
2827 if (arg4 == NULL) SWIG_fail;
e811c8ce 2828 temp4 = True;
d14a1e28
RD
2829 }
2830 {
2831 PyThreadState* __tstate = wxPyBeginAllowThreads();
2832 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2833
2834 wxPyEndAllowThreads(__tstate);
2835 if (PyErr_Occurred()) SWIG_fail;
2836 }
2837 Py_INCREF(Py_None); resultobj = Py_None;
2838 {
2839 if (temp4)
2840 delete arg4;
2841 }
2842 return resultobj;
2843 fail:
2844 {
2845 if (temp4)
2846 delete arg4;
2847 }
2848 return NULL;
2849}
2850
2851
fd3f2efe
RD
2852static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2853 PyObject *resultobj;
2854 wxComboBox *arg1 = (wxComboBox *) 0 ;
2855 int arg2 ;
2856 PyObject * obj0 = 0 ;
2857 char *kwnames[] = {
2858 (char *) "self",(char *) "n", NULL
2859 };
2860
2861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2863 {
2864 PyThreadState* __tstate = wxPyBeginAllowThreads();
2865 (arg1)->SetSelection(arg2);
2866
2867 wxPyEndAllowThreads(__tstate);
2868 if (PyErr_Occurred()) SWIG_fail;
2869 }
2870 Py_INCREF(Py_None); resultobj = Py_None;
2871 return resultobj;
2872 fail:
2873 return NULL;
2874}
2875
2876
d14a1e28
RD
2877static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2878 PyObject *resultobj;
2879 wxComboBox *arg1 = (wxComboBox *) 0 ;
2880 long arg2 ;
2881 long arg3 ;
2882 PyObject * obj0 = 0 ;
2883 char *kwnames[] = {
2884 (char *) "self",(char *) "from",(char *) "to", NULL
2885 };
2886
2887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2889 {
2890 PyThreadState* __tstate = wxPyBeginAllowThreads();
2891 (arg1)->SetSelection(arg2,arg3);
2892
2893 wxPyEndAllowThreads(__tstate);
2894 if (PyErr_Occurred()) SWIG_fail;
2895 }
2896 Py_INCREF(Py_None); resultobj = Py_None;
2897 return resultobj;
2898 fail:
2899 return NULL;
2900}
2901
2902
2903static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2904 PyObject *resultobj;
2905 wxComboBox *arg1 = (wxComboBox *) 0 ;
2906 bool arg2 ;
2907 PyObject * obj0 = 0 ;
2908 PyObject * obj1 = 0 ;
2909 char *kwnames[] = {
2910 (char *) "self",(char *) "editable", NULL
2911 };
2912
2913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2915 arg2 = PyInt_AsLong(obj1) ? true : false;
2916 if (PyErr_Occurred()) SWIG_fail;
2917 {
2918 PyThreadState* __tstate = wxPyBeginAllowThreads();
2919 (arg1)->SetEditable(arg2);
2920
2921 wxPyEndAllowThreads(__tstate);
2922 if (PyErr_Occurred()) SWIG_fail;
2923 }
2924 Py_INCREF(Py_None); resultobj = Py_None;
2925 return resultobj;
2926 fail:
2927 return NULL;
2928}
2929
2930
2931static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2932 PyObject *resultobj;
2933 wxComboBox *arg1 = (wxComboBox *) 0 ;
2934 PyObject * obj0 = 0 ;
2935 char *kwnames[] = {
2936 (char *) "self", NULL
2937 };
2938
2939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2941 {
2942 PyThreadState* __tstate = wxPyBeginAllowThreads();
2943 (arg1)->SetInsertionPointEnd();
2944
2945 wxPyEndAllowThreads(__tstate);
2946 if (PyErr_Occurred()) SWIG_fail;
2947 }
2948 Py_INCREF(Py_None); resultobj = Py_None;
2949 return resultobj;
2950 fail:
2951 return NULL;
2952}
2953
2954
2955static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
2956 PyObject *resultobj;
2957 wxComboBox *arg1 = (wxComboBox *) 0 ;
2958 long arg2 ;
2959 long arg3 ;
2960 PyObject * obj0 = 0 ;
2961 char *kwnames[] = {
2962 (char *) "self",(char *) "from",(char *) "to", NULL
2963 };
2964
2965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
2966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2967 {
2968 PyThreadState* __tstate = wxPyBeginAllowThreads();
2969 (arg1)->Remove(arg2,arg3);
2970
2971 wxPyEndAllowThreads(__tstate);
2972 if (PyErr_Occurred()) SWIG_fail;
2973 }
2974 Py_INCREF(Py_None); resultobj = Py_None;
2975 return resultobj;
2976 fail:
2977 return NULL;
2978}
2979
2980
2981static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
2982 PyObject *obj;
2983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2984 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
2985 Py_INCREF(obj);
2986 return Py_BuildValue((char *)"");
2987}
2988static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
2989 PyObject *resultobj;
2990 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 2991 int arg2 ;
d14a1e28
RD
2992 int arg3 ;
2993 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2994 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2995 wxSize const &arg5_defvalue = wxDefaultSize ;
2996 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2997 long arg6 = (long) wxGA_HORIZONTAL ;
2998 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2999 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3000 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3001 wxString *arg8 = (wxString *) &arg8_defvalue ;
3002 wxGauge *result;
3003 wxPoint temp4 ;
3004 wxSize temp5 ;
e811c8ce 3005 bool temp8 = False ;
d14a1e28
RD
3006 PyObject * obj0 = 0 ;
3007 PyObject * obj3 = 0 ;
3008 PyObject * obj4 = 0 ;
3009 PyObject * obj6 = 0 ;
3010 PyObject * obj7 = 0 ;
3011 char *kwnames[] = {
3012 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3013 };
3014
3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3017 if (obj3) {
3018 {
3019 arg4 = &temp4;
3020 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3021 }
3022 }
3023 if (obj4) {
3024 {
3025 arg5 = &temp5;
3026 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3027 }
3028 }
3029 if (obj6) {
3030 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3031 if (arg7 == NULL) {
3032 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3033 }
3034 }
3035 if (obj7) {
3036 {
3037 arg8 = wxString_in_helper(obj7);
3038 if (arg8 == NULL) SWIG_fail;
e811c8ce 3039 temp8 = True;
d14a1e28
RD
3040 }
3041 }
3042 {
3043 PyThreadState* __tstate = wxPyBeginAllowThreads();
3044 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3045
3046 wxPyEndAllowThreads(__tstate);
3047 if (PyErr_Occurred()) SWIG_fail;
3048 }
3049 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3050 {
3051 if (temp8)
3052 delete arg8;
3053 }
3054 return resultobj;
3055 fail:
3056 {
3057 if (temp8)
3058 delete arg8;
3059 }
3060 return NULL;
3061}
3062
3063
3064static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3065 PyObject *resultobj;
3066 wxGauge *result;
3067 char *kwnames[] = {
3068 NULL
3069 };
3070
3071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3072 {
3073 PyThreadState* __tstate = wxPyBeginAllowThreads();
3074 result = (wxGauge *)new wxGauge();
3075
3076 wxPyEndAllowThreads(__tstate);
3077 if (PyErr_Occurred()) SWIG_fail;
3078 }
3079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3080 return resultobj;
3081 fail:
3082 return NULL;
3083}
3084
3085
3086static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3087 PyObject *resultobj;
3088 wxGauge *arg1 = (wxGauge *) 0 ;
3089 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3090 int arg3 ;
d14a1e28
RD
3091 int arg4 ;
3092 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3093 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3094 wxSize const &arg6_defvalue = wxDefaultSize ;
3095 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3096 long arg7 = (long) wxGA_HORIZONTAL ;
3097 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3098 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3099 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3100 wxString *arg9 = (wxString *) &arg9_defvalue ;
3101 bool result;
3102 wxPoint temp5 ;
3103 wxSize temp6 ;
e811c8ce 3104 bool temp9 = False ;
d14a1e28
RD
3105 PyObject * obj0 = 0 ;
3106 PyObject * obj1 = 0 ;
3107 PyObject * obj4 = 0 ;
3108 PyObject * obj5 = 0 ;
3109 PyObject * obj7 = 0 ;
3110 PyObject * obj8 = 0 ;
3111 char *kwnames[] = {
3112 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3113 };
3114
3115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3118 if (obj4) {
3119 {
3120 arg5 = &temp5;
3121 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3122 }
3123 }
3124 if (obj5) {
3125 {
3126 arg6 = &temp6;
3127 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3128 }
3129 }
3130 if (obj7) {
3131 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3132 if (arg8 == NULL) {
3133 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3134 }
3135 }
3136 if (obj8) {
3137 {
3138 arg9 = wxString_in_helper(obj8);
3139 if (arg9 == NULL) SWIG_fail;
e811c8ce 3140 temp9 = True;
d14a1e28
RD
3141 }
3142 }
3143 {
3144 PyThreadState* __tstate = wxPyBeginAllowThreads();
3145 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3146
3147 wxPyEndAllowThreads(__tstate);
3148 if (PyErr_Occurred()) SWIG_fail;
3149 }
3150 resultobj = PyInt_FromLong((long)result);
3151 {
3152 if (temp9)
3153 delete arg9;
3154 }
3155 return resultobj;
3156 fail:
3157 {
3158 if (temp9)
3159 delete arg9;
3160 }
3161 return NULL;
3162}
3163
3164
3165static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3166 PyObject *resultobj;
3167 wxGauge *arg1 = (wxGauge *) 0 ;
3168 int arg2 ;
3169 PyObject * obj0 = 0 ;
3170 char *kwnames[] = {
3171 (char *) "self",(char *) "range", NULL
3172 };
3173
3174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3176 {
3177 PyThreadState* __tstate = wxPyBeginAllowThreads();
3178 (arg1)->SetRange(arg2);
3179
3180 wxPyEndAllowThreads(__tstate);
3181 if (PyErr_Occurred()) SWIG_fail;
3182 }
3183 Py_INCREF(Py_None); resultobj = Py_None;
3184 return resultobj;
3185 fail:
3186 return NULL;
3187}
3188
3189
3190static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3191 PyObject *resultobj;
3192 wxGauge *arg1 = (wxGauge *) 0 ;
3193 int result;
3194 PyObject * obj0 = 0 ;
3195 char *kwnames[] = {
3196 (char *) "self", NULL
3197 };
3198
3199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3201 {
3202 PyThreadState* __tstate = wxPyBeginAllowThreads();
3203 result = (int)((wxGauge const *)arg1)->GetRange();
3204
3205 wxPyEndAllowThreads(__tstate);
3206 if (PyErr_Occurred()) SWIG_fail;
3207 }
3208 resultobj = PyInt_FromLong((long)result);
3209 return resultobj;
3210 fail:
3211 return NULL;
3212}
3213
3214
3215static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3216 PyObject *resultobj;
3217 wxGauge *arg1 = (wxGauge *) 0 ;
3218 int arg2 ;
3219 PyObject * obj0 = 0 ;
3220 char *kwnames[] = {
3221 (char *) "self",(char *) "pos", NULL
3222 };
3223
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3226 {
3227 PyThreadState* __tstate = wxPyBeginAllowThreads();
3228 (arg1)->SetValue(arg2);
3229
3230 wxPyEndAllowThreads(__tstate);
3231 if (PyErr_Occurred()) SWIG_fail;
3232 }
3233 Py_INCREF(Py_None); resultobj = Py_None;
3234 return resultobj;
3235 fail:
3236 return NULL;
3237}
3238
3239
3240static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3241 PyObject *resultobj;
3242 wxGauge *arg1 = (wxGauge *) 0 ;
3243 int result;
3244 PyObject * obj0 = 0 ;
3245 char *kwnames[] = {
3246 (char *) "self", NULL
3247 };
3248
3249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3251 {
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 result = (int)((wxGauge const *)arg1)->GetValue();
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 resultobj = PyInt_FromLong((long)result);
3259 return resultobj;
3260 fail:
3261 return NULL;
3262}
3263
3264
3265static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3266 PyObject *resultobj;
3267 wxGauge *arg1 = (wxGauge *) 0 ;
3268 bool result;
3269 PyObject * obj0 = 0 ;
3270 char *kwnames[] = {
3271 (char *) "self", NULL
3272 };
3273
3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3276 {
3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
3278 result = (bool)((wxGauge const *)arg1)->IsVertical();
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
3283 resultobj = PyInt_FromLong((long)result);
3284 return resultobj;
3285 fail:
3286 return NULL;
3287}
3288
3289
3290static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3291 PyObject *resultobj;
3292 wxGauge *arg1 = (wxGauge *) 0 ;
3293 int arg2 ;
3294 PyObject * obj0 = 0 ;
3295 char *kwnames[] = {
3296 (char *) "self",(char *) "w", NULL
3297 };
3298
3299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 (arg1)->SetShadowWidth(arg2);
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 Py_INCREF(Py_None); resultobj = Py_None;
3309 return resultobj;
3310 fail:
3311 return NULL;
3312}
3313
3314
3315static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3316 PyObject *resultobj;
3317 wxGauge *arg1 = (wxGauge *) 0 ;
3318 int result;
3319 PyObject * obj0 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "self", NULL
3322 };
3323
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3326 {
3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
3328 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3329
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 resultobj = PyInt_FromLong((long)result);
3334 return resultobj;
3335 fail:
3336 return NULL;
3337}
3338
3339
3340static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3341 PyObject *resultobj;
3342 wxGauge *arg1 = (wxGauge *) 0 ;
3343 int arg2 ;
3344 PyObject * obj0 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "self",(char *) "w", NULL
3347 };
3348
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 (arg1)->SetBezelFace(arg2);
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 Py_INCREF(Py_None); resultobj = Py_None;
3359 return resultobj;
3360 fail:
3361 return NULL;
3362}
3363
3364
3365static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3366 PyObject *resultobj;
3367 wxGauge *arg1 = (wxGauge *) 0 ;
3368 int result;
3369 PyObject * obj0 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "self", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3376 {
3377 PyThreadState* __tstate = wxPyBeginAllowThreads();
3378 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3379
3380 wxPyEndAllowThreads(__tstate);
3381 if (PyErr_Occurred()) SWIG_fail;
3382 }
3383 resultobj = PyInt_FromLong((long)result);
3384 return resultobj;
3385 fail:
3386 return NULL;
3387}
3388
3389
3390static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3391 PyObject *obj;
3392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3393 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3394 Py_INCREF(obj);
3395 return Py_BuildValue((char *)"");
3396}
3397static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3398 PyObject *resultobj;
3399 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 3400 int arg2 ;
d14a1e28
RD
3401 wxString *arg3 = 0 ;
3402 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3403 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3404 wxSize const &arg5_defvalue = wxDefaultSize ;
3405 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3406 long arg6 = (long) 0 ;
3407 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3408 wxString *arg7 = (wxString *) &arg7_defvalue ;
3409 wxStaticBox *result;
e811c8ce 3410 bool temp3 = False ;
d14a1e28
RD
3411 wxPoint temp4 ;
3412 wxSize temp5 ;
e811c8ce 3413 bool temp7 = False ;
d14a1e28
RD
3414 PyObject * obj0 = 0 ;
3415 PyObject * obj2 = 0 ;
3416 PyObject * obj3 = 0 ;
3417 PyObject * obj4 = 0 ;
3418 PyObject * obj6 = 0 ;
3419 char *kwnames[] = {
3420 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3421 };
3422
3423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3425 {
3426 arg3 = wxString_in_helper(obj2);
3427 if (arg3 == NULL) SWIG_fail;
e811c8ce 3428 temp3 = True;
d14a1e28
RD
3429 }
3430 if (obj3) {
3431 {
3432 arg4 = &temp4;
3433 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3434 }
3435 }
3436 if (obj4) {
3437 {
3438 arg5 = &temp5;
3439 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3440 }
3441 }
3442 if (obj6) {
3443 {
3444 arg7 = wxString_in_helper(obj6);
3445 if (arg7 == NULL) SWIG_fail;
e811c8ce 3446 temp7 = True;
d14a1e28
RD
3447 }
3448 }
3449 {
3450 PyThreadState* __tstate = wxPyBeginAllowThreads();
3451 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3452
3453 wxPyEndAllowThreads(__tstate);
3454 if (PyErr_Occurred()) SWIG_fail;
3455 }
3456 {
3457 resultobj = wxPyMake_wxObject(result);
3458 }
3459 {
3460 if (temp3)
3461 delete arg3;
3462 }
3463 {
3464 if (temp7)
3465 delete arg7;
3466 }
3467 return resultobj;
3468 fail:
3469 {
3470 if (temp3)
3471 delete arg3;
3472 }
3473 {
3474 if (temp7)
3475 delete arg7;
3476 }
3477 return NULL;
3478}
3479
3480
3481static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3482 PyObject *resultobj;
3483 wxStaticBox *result;
3484 char *kwnames[] = {
3485 NULL
3486 };
3487
3488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3489 {
3490 PyThreadState* __tstate = wxPyBeginAllowThreads();
3491 result = (wxStaticBox *)new wxStaticBox();
3492
3493 wxPyEndAllowThreads(__tstate);
3494 if (PyErr_Occurred()) SWIG_fail;
3495 }
3496 {
3497 resultobj = wxPyMake_wxObject(result);
3498 }
3499 return resultobj;
3500 fail:
3501 return NULL;
3502}
3503
3504
3505static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3506 PyObject *resultobj;
3507 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3508 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3509 int arg3 ;
d14a1e28
RD
3510 wxString *arg4 = 0 ;
3511 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3512 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3513 wxSize const &arg6_defvalue = wxDefaultSize ;
3514 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3515 long arg7 = (long) 0 ;
3516 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3517 wxString *arg8 = (wxString *) &arg8_defvalue ;
3518 bool result;
e811c8ce 3519 bool temp4 = False ;
d14a1e28
RD
3520 wxPoint temp5 ;
3521 wxSize temp6 ;
e811c8ce 3522 bool temp8 = False ;
d14a1e28
RD
3523 PyObject * obj0 = 0 ;
3524 PyObject * obj1 = 0 ;
3525 PyObject * obj3 = 0 ;
3526 PyObject * obj4 = 0 ;
3527 PyObject * obj5 = 0 ;
3528 PyObject * obj7 = 0 ;
3529 char *kwnames[] = {
3530 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3531 };
3532
3533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3535 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3536 {
3537 arg4 = wxString_in_helper(obj3);
3538 if (arg4 == NULL) SWIG_fail;
e811c8ce 3539 temp4 = True;
d14a1e28
RD
3540 }
3541 if (obj4) {
3542 {
3543 arg5 = &temp5;
3544 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3545 }
3546 }
3547 if (obj5) {
3548 {
3549 arg6 = &temp6;
3550 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3551 }
3552 }
3553 if (obj7) {
3554 {
3555 arg8 = wxString_in_helper(obj7);
3556 if (arg8 == NULL) SWIG_fail;
e811c8ce 3557 temp8 = True;
d14a1e28
RD
3558 }
3559 }
3560 {
3561 PyThreadState* __tstate = wxPyBeginAllowThreads();
3562 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3563
3564 wxPyEndAllowThreads(__tstate);
3565 if (PyErr_Occurred()) SWIG_fail;
3566 }
3567 resultobj = PyInt_FromLong((long)result);
3568 {
3569 if (temp4)
3570 delete arg4;
3571 }
3572 {
3573 if (temp8)
3574 delete arg8;
3575 }
3576 return resultobj;
3577 fail:
3578 {
3579 if (temp4)
3580 delete arg4;
3581 }
3582 {
3583 if (temp8)
3584 delete arg8;
3585 }
3586 return NULL;
3587}
3588
3589
3590static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3591 PyObject *obj;
3592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3593 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3594 Py_INCREF(obj);
3595 return Py_BuildValue((char *)"");
3596}
3597static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3598 PyObject *resultobj;
3599 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 3600 int arg2 ;
d14a1e28
RD
3601 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3602 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3603 wxSize const &arg4_defvalue = wxDefaultSize ;
3604 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3605 long arg5 = (long) wxLI_HORIZONTAL ;
3606 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3607 wxString *arg6 = (wxString *) &arg6_defvalue ;
3608 wxStaticLine *result;
3609 wxPoint temp3 ;
3610 wxSize temp4 ;
e811c8ce 3611 bool temp6 = False ;
d14a1e28
RD
3612 PyObject * obj0 = 0 ;
3613 PyObject * obj2 = 0 ;
3614 PyObject * obj3 = 0 ;
3615 PyObject * obj5 = 0 ;
3616 char *kwnames[] = {
3617 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3618 };
3619
3620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3622 if (obj2) {
3623 {
3624 arg3 = &temp3;
3625 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3626 }
3627 }
3628 if (obj3) {
3629 {
3630 arg4 = &temp4;
3631 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3632 }
3633 }
3634 if (obj5) {
3635 {
3636 arg6 = wxString_in_helper(obj5);
3637 if (arg6 == NULL) SWIG_fail;
e811c8ce 3638 temp6 = True;
d14a1e28
RD
3639 }
3640 }
3641 {
3642 PyThreadState* __tstate = wxPyBeginAllowThreads();
3643 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3644
3645 wxPyEndAllowThreads(__tstate);
3646 if (PyErr_Occurred()) SWIG_fail;
3647 }
3648 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3649 {
3650 if (temp6)
3651 delete arg6;
3652 }
3653 return resultobj;
3654 fail:
3655 {
3656 if (temp6)
3657 delete arg6;
3658 }
3659 return NULL;
3660}
3661
3662
3663static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3664 PyObject *resultobj;
3665 wxStaticLine *result;
3666 char *kwnames[] = {
3667 NULL
3668 };
3669
3670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3671 {
3672 PyThreadState* __tstate = wxPyBeginAllowThreads();
3673 result = (wxStaticLine *)new wxStaticLine();
3674
3675 wxPyEndAllowThreads(__tstate);
3676 if (PyErr_Occurred()) SWIG_fail;
3677 }
3678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3679 return resultobj;
3680 fail:
3681 return NULL;
3682}
3683
3684
3685static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3686 PyObject *resultobj;
3687 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3688 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3689 int arg3 ;
d14a1e28
RD
3690 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3691 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3692 wxSize const &arg5_defvalue = wxDefaultSize ;
3693 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3694 long arg6 = (long) wxLI_HORIZONTAL ;
3695 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3696 wxString *arg7 = (wxString *) &arg7_defvalue ;
3697 bool result;
3698 wxPoint temp4 ;
3699 wxSize temp5 ;
e811c8ce 3700 bool temp7 = False ;
d14a1e28
RD
3701 PyObject * obj0 = 0 ;
3702 PyObject * obj1 = 0 ;
3703 PyObject * obj3 = 0 ;
3704 PyObject * obj4 = 0 ;
3705 PyObject * obj6 = 0 ;
3706 char *kwnames[] = {
3707 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3708 };
3709
3710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3712 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3713 if (obj3) {
3714 {
3715 arg4 = &temp4;
3716 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3717 }
3718 }
3719 if (obj4) {
3720 {
3721 arg5 = &temp5;
3722 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3723 }
3724 }
3725 if (obj6) {
3726 {
3727 arg7 = wxString_in_helper(obj6);
3728 if (arg7 == NULL) SWIG_fail;
e811c8ce 3729 temp7 = True;
d14a1e28
RD
3730 }
3731 }
3732 {
3733 PyThreadState* __tstate = wxPyBeginAllowThreads();
3734 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3735
3736 wxPyEndAllowThreads(__tstate);
3737 if (PyErr_Occurred()) SWIG_fail;
3738 }
3739 resultobj = PyInt_FromLong((long)result);
3740 {
3741 if (temp7)
3742 delete arg7;
3743 }
3744 return resultobj;
3745 fail:
3746 {
3747 if (temp7)
3748 delete arg7;
3749 }
3750 return NULL;
3751}
3752
3753
3754static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3755 PyObject *resultobj;
3756 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3757 bool result;
3758 PyObject * obj0 = 0 ;
3759 char *kwnames[] = {
3760 (char *) "self", NULL
3761 };
3762
3763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3765 {
3766 PyThreadState* __tstate = wxPyBeginAllowThreads();
3767 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3768
3769 wxPyEndAllowThreads(__tstate);
3770 if (PyErr_Occurred()) SWIG_fail;
3771 }
3772 resultobj = PyInt_FromLong((long)result);
3773 return resultobj;
3774 fail:
3775 return NULL;
3776}
3777
3778
3779static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3780 PyObject *resultobj;
3781 int result;
3782 char *kwnames[] = {
3783 NULL
3784 };
3785
3786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3787 {
3788 PyThreadState* __tstate = wxPyBeginAllowThreads();
3789 result = (int)wxStaticLine::GetDefaultSize();
3790
3791 wxPyEndAllowThreads(__tstate);
3792 if (PyErr_Occurred()) SWIG_fail;
3793 }
3794 resultobj = PyInt_FromLong((long)result);
3795 return resultobj;
3796 fail:
3797 return NULL;
3798}
3799
3800
3801static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3802 PyObject *obj;
3803 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3804 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3805 Py_INCREF(obj);
3806 return Py_BuildValue((char *)"");
3807}
3808static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3809 PyObject *resultobj;
3810 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 3811 int arg2 ;
d14a1e28
RD
3812 wxString *arg3 = 0 ;
3813 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3814 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3815 wxSize const &arg5_defvalue = wxDefaultSize ;
3816 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3817 long arg6 = (long) 0 ;
3818 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3819 wxString *arg7 = (wxString *) &arg7_defvalue ;
3820 wxStaticText *result;
e811c8ce 3821 bool temp3 = False ;
d14a1e28
RD
3822 wxPoint temp4 ;
3823 wxSize temp5 ;
e811c8ce 3824 bool temp7 = False ;
d14a1e28
RD
3825 PyObject * obj0 = 0 ;
3826 PyObject * obj2 = 0 ;
3827 PyObject * obj3 = 0 ;
3828 PyObject * obj4 = 0 ;
3829 PyObject * obj6 = 0 ;
3830 char *kwnames[] = {
3831 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3832 };
3833
3834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3836 {
3837 arg3 = wxString_in_helper(obj2);
3838 if (arg3 == NULL) SWIG_fail;
e811c8ce 3839 temp3 = True;
d14a1e28
RD
3840 }
3841 if (obj3) {
3842 {
3843 arg4 = &temp4;
3844 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3845 }
3846 }
3847 if (obj4) {
3848 {
3849 arg5 = &temp5;
3850 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3851 }
3852 }
3853 if (obj6) {
3854 {
3855 arg7 = wxString_in_helper(obj6);
3856 if (arg7 == NULL) SWIG_fail;
e811c8ce 3857 temp7 = True;
d14a1e28
RD
3858 }
3859 }
3860 {
3861 PyThreadState* __tstate = wxPyBeginAllowThreads();
3862 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3863
3864 wxPyEndAllowThreads(__tstate);
3865 if (PyErr_Occurred()) SWIG_fail;
3866 }
3867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3868 {
3869 if (temp3)
3870 delete arg3;
3871 }
3872 {
3873 if (temp7)
3874 delete arg7;
3875 }
3876 return resultobj;
3877 fail:
3878 {
3879 if (temp3)
3880 delete arg3;
3881 }
3882 {
3883 if (temp7)
3884 delete arg7;
3885 }
3886 return NULL;
3887}
3888
3889
3890static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3891 PyObject *resultobj;
3892 wxStaticText *result;
3893 char *kwnames[] = {
3894 NULL
3895 };
3896
3897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3898 {
3899 PyThreadState* __tstate = wxPyBeginAllowThreads();
3900 result = (wxStaticText *)new wxStaticText();
3901
3902 wxPyEndAllowThreads(__tstate);
3903 if (PyErr_Occurred()) SWIG_fail;
3904 }
3905 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3906 return resultobj;
3907 fail:
3908 return NULL;
3909}
3910
3911
3912static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3913 PyObject *resultobj;
3914 wxStaticText *arg1 = (wxStaticText *) 0 ;
3915 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 3916 int arg3 ;
d14a1e28
RD
3917 wxString *arg4 = 0 ;
3918 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3919 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3920 wxSize const &arg6_defvalue = wxDefaultSize ;
3921 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3922 long arg7 = (long) 0 ;
3923 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3924 wxString *arg8 = (wxString *) &arg8_defvalue ;
3925 bool result;
e811c8ce 3926 bool temp4 = False ;
d14a1e28
RD
3927 wxPoint temp5 ;
3928 wxSize temp6 ;
e811c8ce 3929 bool temp8 = False ;
d14a1e28
RD
3930 PyObject * obj0 = 0 ;
3931 PyObject * obj1 = 0 ;
3932 PyObject * obj3 = 0 ;
3933 PyObject * obj4 = 0 ;
3934 PyObject * obj5 = 0 ;
3935 PyObject * obj7 = 0 ;
3936 char *kwnames[] = {
3937 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3938 };
3939
3940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3943 {
3944 arg4 = wxString_in_helper(obj3);
3945 if (arg4 == NULL) SWIG_fail;
e811c8ce 3946 temp4 = True;
d14a1e28
RD
3947 }
3948 if (obj4) {
3949 {
3950 arg5 = &temp5;
3951 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3952 }
3953 }
3954 if (obj5) {
3955 {
3956 arg6 = &temp6;
3957 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3958 }
3959 }
3960 if (obj7) {
3961 {
3962 arg8 = wxString_in_helper(obj7);
3963 if (arg8 == NULL) SWIG_fail;
e811c8ce 3964 temp8 = True;
d14a1e28
RD
3965 }
3966 }
3967 {
3968 PyThreadState* __tstate = wxPyBeginAllowThreads();
3969 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3970
3971 wxPyEndAllowThreads(__tstate);
3972 if (PyErr_Occurred()) SWIG_fail;
3973 }
3974 resultobj = PyInt_FromLong((long)result);
3975 {
3976 if (temp4)
3977 delete arg4;
3978 }
3979 {
3980 if (temp8)
3981 delete arg8;
3982 }
3983 return resultobj;
3984 fail:
3985 {
3986 if (temp4)
3987 delete arg4;
3988 }
3989 {
3990 if (temp8)
3991 delete arg8;
3992 }
3993 return NULL;
3994}
3995
3996
3997static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
3998 PyObject *obj;
3999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4000 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4001 Py_INCREF(obj);
4002 return Py_BuildValue((char *)"");
4003}
4004static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4005 PyObject *resultobj;
4006 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4007 int arg2 ;
d14a1e28
RD
4008 wxBitmap *arg3 = 0 ;
4009 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4010 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4011 wxSize const &arg5_defvalue = wxDefaultSize ;
4012 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4013 long arg6 = (long) 0 ;
4014 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4015 wxString *arg7 = (wxString *) &arg7_defvalue ;
4016 wxStaticBitmap *result;
4017 wxPoint temp4 ;
4018 wxSize temp5 ;
e811c8ce 4019 bool temp7 = False ;
d14a1e28
RD
4020 PyObject * obj0 = 0 ;
4021 PyObject * obj2 = 0 ;
4022 PyObject * obj3 = 0 ;
4023 PyObject * obj4 = 0 ;
4024 PyObject * obj6 = 0 ;
4025 char *kwnames[] = {
4026 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4027 };
4028
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4031 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4032 if (arg3 == NULL) {
4033 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4034 }
4035 if (obj3) {
4036 {
4037 arg4 = &temp4;
4038 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4039 }
4040 }
4041 if (obj4) {
4042 {
4043 arg5 = &temp5;
4044 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4045 }
4046 }
4047 if (obj6) {
4048 {
4049 arg7 = wxString_in_helper(obj6);
4050 if (arg7 == NULL) SWIG_fail;
e811c8ce 4051 temp7 = True;
d14a1e28
RD
4052 }
4053 }
4054 {
4055 PyThreadState* __tstate = wxPyBeginAllowThreads();
4056 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4057
4058 wxPyEndAllowThreads(__tstate);
4059 if (PyErr_Occurred()) SWIG_fail;
4060 }
4061 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4062 {
4063 if (temp7)
4064 delete arg7;
4065 }
4066 return resultobj;
4067 fail:
4068 {
4069 if (temp7)
4070 delete arg7;
4071 }
4072 return NULL;
4073}
4074
4075
4076static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4077 PyObject *resultobj;
4078 wxStaticBitmap *result;
4079 char *kwnames[] = {
4080 NULL
4081 };
4082
4083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4084 {
4085 PyThreadState* __tstate = wxPyBeginAllowThreads();
4086 result = (wxStaticBitmap *)new wxStaticBitmap();
4087
4088 wxPyEndAllowThreads(__tstate);
4089 if (PyErr_Occurred()) SWIG_fail;
4090 }
4091 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4092 return resultobj;
4093 fail:
4094 return NULL;
4095}
4096
4097
4098static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4099 PyObject *resultobj;
4100 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4101 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4102 int arg3 ;
d14a1e28
RD
4103 wxBitmap *arg4 = 0 ;
4104 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4105 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4106 wxSize const &arg6_defvalue = wxDefaultSize ;
4107 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4108 long arg7 = (long) 0 ;
4109 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4110 wxString *arg8 = (wxString *) &arg8_defvalue ;
4111 bool result;
4112 wxPoint temp5 ;
4113 wxSize temp6 ;
e811c8ce 4114 bool temp8 = False ;
d14a1e28
RD
4115 PyObject * obj0 = 0 ;
4116 PyObject * obj1 = 0 ;
4117 PyObject * obj3 = 0 ;
4118 PyObject * obj4 = 0 ;
4119 PyObject * obj5 = 0 ;
4120 PyObject * obj7 = 0 ;
4121 char *kwnames[] = {
4122 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4123 };
4124
4125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4127 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4128 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4129 if (arg4 == NULL) {
4130 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4131 }
4132 if (obj4) {
4133 {
4134 arg5 = &temp5;
4135 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4136 }
4137 }
4138 if (obj5) {
4139 {
4140 arg6 = &temp6;
4141 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4142 }
4143 }
4144 if (obj7) {
4145 {
4146 arg8 = wxString_in_helper(obj7);
4147 if (arg8 == NULL) SWIG_fail;
e811c8ce 4148 temp8 = True;
d14a1e28
RD
4149 }
4150 }
4151 {
4152 PyThreadState* __tstate = wxPyBeginAllowThreads();
4153 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4154
4155 wxPyEndAllowThreads(__tstate);
4156 if (PyErr_Occurred()) SWIG_fail;
4157 }
4158 resultobj = PyInt_FromLong((long)result);
4159 {
4160 if (temp8)
4161 delete arg8;
4162 }
4163 return resultobj;
4164 fail:
4165 {
4166 if (temp8)
4167 delete arg8;
4168 }
4169 return NULL;
4170}
4171
4172
4173static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4174 PyObject *resultobj;
4175 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4176 wxBitmap result;
4177 PyObject * obj0 = 0 ;
4178 char *kwnames[] = {
4179 (char *) "self", NULL
4180 };
4181
4182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4184 {
4185 PyThreadState* __tstate = wxPyBeginAllowThreads();
4186 result = (arg1)->GetBitmap();
4187
4188 wxPyEndAllowThreads(__tstate);
4189 if (PyErr_Occurred()) SWIG_fail;
4190 }
4191 {
4192 wxBitmap * resultptr;
4193 resultptr = new wxBitmap((wxBitmap &) result);
4194 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4195 }
4196 return resultobj;
4197 fail:
4198 return NULL;
4199}
4200
4201
4202static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4203 PyObject *resultobj;
4204 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4205 wxBitmap *arg2 = 0 ;
4206 PyObject * obj0 = 0 ;
4207 PyObject * obj1 = 0 ;
4208 char *kwnames[] = {
4209 (char *) "self",(char *) "bitmap", NULL
4210 };
4211
4212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4214 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4215 if (arg2 == NULL) {
4216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4217 }
4218 {
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4221
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 Py_INCREF(Py_None); resultobj = Py_None;
4226 return resultobj;
4227 fail:
4228 return NULL;
4229}
4230
4231
4232static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4233 PyObject *resultobj;
4234 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4235 wxIcon *arg2 = 0 ;
4236 PyObject * obj0 = 0 ;
4237 PyObject * obj1 = 0 ;
4238 char *kwnames[] = {
4239 (char *) "self",(char *) "icon", NULL
4240 };
4241
4242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4245 if (arg2 == NULL) {
4246 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4247 }
4248 {
4249 PyThreadState* __tstate = wxPyBeginAllowThreads();
4250 (arg1)->SetIcon((wxIcon const &)*arg2);
4251
4252 wxPyEndAllowThreads(__tstate);
4253 if (PyErr_Occurred()) SWIG_fail;
4254 }
4255 Py_INCREF(Py_None); resultobj = Py_None;
4256 return resultobj;
4257 fail:
4258 return NULL;
4259}
4260
4261
4262static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4263 PyObject *obj;
4264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4265 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4266 Py_INCREF(obj);
4267 return Py_BuildValue((char *)"");
4268}
4269static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj;
4271 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4272 int arg2 ;
d14a1e28
RD
4273 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4274 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4275 wxSize const &arg4_defvalue = wxDefaultSize ;
4276 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4277 int arg5 = (int) 0 ;
4278 wxString *arg6 = (wxString *) NULL ;
4279 long arg7 = (long) 0 ;
4280 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4281 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4282 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4283 wxString *arg9 = (wxString *) &arg9_defvalue ;
4284 wxListBox *result;
4285 wxPoint temp3 ;
4286 wxSize temp4 ;
e811c8ce 4287 bool temp8 = False ;
d14a1e28
RD
4288 PyObject * obj0 = 0 ;
4289 PyObject * obj2 = 0 ;
4290 PyObject * obj3 = 0 ;
4291 PyObject * obj4 = 0 ;
4292 PyObject * obj6 = 0 ;
4293 PyObject * obj7 = 0 ;
4294 char *kwnames[] = {
4295 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4296 };
4297
4298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4300 if (obj2) {
4301 {
4302 arg3 = &temp3;
4303 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4304 }
4305 }
4306 if (obj3) {
4307 {
4308 arg4 = &temp4;
4309 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4310 }
4311 }
4312 if (obj4) {
4313 {
4314 arg5 = PyList_Size(obj4);
4315 arg6 = wxString_LIST_helper(obj4);
4316 if (arg6 == NULL) SWIG_fail;
4317 }
4318 }
4319 if (obj6) {
4320 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4321 if (arg8 == NULL) {
4322 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4323 }
4324 }
4325 if (obj7) {
4326 {
4327 arg9 = wxString_in_helper(obj7);
4328 if (arg9 == NULL) SWIG_fail;
e811c8ce 4329 temp8 = True;
d14a1e28
RD
4330 }
4331 }
4332 {
4333 PyThreadState* __tstate = wxPyBeginAllowThreads();
4334 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4335
4336 wxPyEndAllowThreads(__tstate);
4337 if (PyErr_Occurred()) SWIG_fail;
4338 }
4339 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4340 {
4341 if (arg6) delete [] arg6;
4342 }
4343 {
4344 if (temp8)
4345 delete arg9;
4346 }
4347 return resultobj;
4348 fail:
4349 {
4350 if (arg6) delete [] arg6;
4351 }
4352 {
4353 if (temp8)
4354 delete arg9;
4355 }
4356 return NULL;
4357}
4358
4359
4360static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4361 PyObject *resultobj;
4362 wxListBox *result;
4363 char *kwnames[] = {
4364 NULL
4365 };
4366
4367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4368 {
4369 PyThreadState* __tstate = wxPyBeginAllowThreads();
4370 result = (wxListBox *)new wxListBox();
4371
4372 wxPyEndAllowThreads(__tstate);
4373 if (PyErr_Occurred()) SWIG_fail;
4374 }
4375 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4376 return resultobj;
4377 fail:
4378 return NULL;
4379}
4380
4381
4382static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4383 PyObject *resultobj;
4384 wxListBox *arg1 = (wxListBox *) 0 ;
4385 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 4386 int arg3 ;
d14a1e28
RD
4387 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4388 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4389 wxSize const &arg5_defvalue = wxDefaultSize ;
4390 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4391 int arg6 = (int) 0 ;
4392 wxString *arg7 = (wxString *) NULL ;
4393 long arg8 = (long) 0 ;
4394 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4395 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4396 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4397 wxString *arg10 = (wxString *) &arg10_defvalue ;
4398 bool result;
4399 wxPoint temp4 ;
4400 wxSize temp5 ;
e811c8ce 4401 bool temp9 = False ;
d14a1e28
RD
4402 PyObject * obj0 = 0 ;
4403 PyObject * obj1 = 0 ;
4404 PyObject * obj3 = 0 ;
4405 PyObject * obj4 = 0 ;
4406 PyObject * obj5 = 0 ;
4407 PyObject * obj7 = 0 ;
4408 PyObject * obj8 = 0 ;
4409 char *kwnames[] = {
4410 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4411 };
4412
4413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4416 if (obj3) {
4417 {
4418 arg4 = &temp4;
4419 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4420 }
4421 }
4422 if (obj4) {
4423 {
4424 arg5 = &temp5;
4425 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4426 }
4427 }
4428 if (obj5) {
4429 {
4430 arg6 = PyList_Size(obj5);
4431 arg7 = wxString_LIST_helper(obj5);
4432 if (arg7 == NULL) SWIG_fail;
4433 }
4434 }
4435 if (obj7) {
4436 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4437 if (arg9 == NULL) {
4438 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4439 }
4440 }
4441 if (obj8) {
4442 {
4443 arg10 = wxString_in_helper(obj8);
4444 if (arg10 == NULL) SWIG_fail;
e811c8ce 4445 temp9 = True;
d14a1e28
RD
4446 }
4447 }
4448 {
4449 PyThreadState* __tstate = wxPyBeginAllowThreads();
4450 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4451
4452 wxPyEndAllowThreads(__tstate);
4453 if (PyErr_Occurred()) SWIG_fail;
4454 }
4455 resultobj = PyInt_FromLong((long)result);
4456 {
4457 if (arg7) delete [] arg7;
4458 }
4459 {
4460 if (temp9)
4461 delete arg10;
4462 }
4463 return resultobj;
4464 fail:
4465 {
4466 if (arg7) delete [] arg7;
4467 }
4468 {
4469 if (temp9)
4470 delete arg10;
4471 }
4472 return NULL;
4473}
4474
4475
4476static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4477 PyObject *resultobj;
4478 wxListBox *arg1 = (wxListBox *) 0 ;
4479 wxString *arg2 = 0 ;
4480 int arg3 ;
4481 PyObject *arg4 = (PyObject *) NULL ;
e811c8ce 4482 bool temp2 = False ;
d14a1e28
RD
4483 PyObject * obj0 = 0 ;
4484 PyObject * obj1 = 0 ;
4485 PyObject * obj3 = 0 ;
4486 char *kwnames[] = {
4487 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4488 };
4489
4490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4492 {
4493 arg2 = wxString_in_helper(obj1);
4494 if (arg2 == NULL) SWIG_fail;
e811c8ce 4495 temp2 = True;
d14a1e28
RD
4496 }
4497 if (obj3) {
4498 arg4 = obj3;
4499 }
4500 {
4501 PyThreadState* __tstate = wxPyBeginAllowThreads();
4502 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4503
4504 wxPyEndAllowThreads(__tstate);
4505 if (PyErr_Occurred()) SWIG_fail;
4506 }
4507 Py_INCREF(Py_None); resultobj = Py_None;
4508 {
4509 if (temp2)
4510 delete arg2;
4511 }
4512 return resultobj;
4513 fail:
4514 {
4515 if (temp2)
4516 delete arg2;
4517 }
4518 return NULL;
4519}
4520
4521
4522static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4523 PyObject *resultobj;
4524 wxListBox *arg1 = (wxListBox *) 0 ;
4525 wxArrayString *arg2 = 0 ;
4526 int arg3 ;
4527 PyObject * obj0 = 0 ;
4528 PyObject * obj1 = 0 ;
4529 char *kwnames[] = {
4530 (char *) "self",(char *) "items",(char *) "pos", NULL
4531 };
4532
4533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4535 {
4536 if (! PySequence_Check(obj1)) {
4537 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4538 SWIG_fail;
4539 }
4540 arg2 = new wxArrayString;
4541 int i, len=PySequence_Length(obj1);
4542 for (i=0; i<len; i++) {
4543 PyObject* item = PySequence_GetItem(obj1, i);
4544#if wxUSE_UNICODE
4545 PyObject* str = PyObject_Unicode(item);
4546#else
4547 PyObject* str = PyObject_Str(item);
4548#endif
4549 arg2->Add(Py2wxString(str));
4550 Py_DECREF(item);
4551 Py_DECREF(str);
4552 }
4553 }
4554 {
4555 PyThreadState* __tstate = wxPyBeginAllowThreads();
4556 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4557
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
4561 Py_INCREF(Py_None); resultobj = Py_None;
4562 {
4563 if (arg2) delete arg2;
4564 }
4565 return resultobj;
4566 fail:
4567 {
4568 if (arg2) delete arg2;
4569 }
4570 return NULL;
4571}
4572
4573
4574static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4575 PyObject *resultobj;
4576 wxListBox *arg1 = (wxListBox *) 0 ;
4577 wxArrayString *arg2 = 0 ;
4578 PyObject * obj0 = 0 ;
4579 PyObject * obj1 = 0 ;
4580 char *kwnames[] = {
4581 (char *) "self",(char *) "items", NULL
4582 };
4583
4584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4586 {
4587 if (! PySequence_Check(obj1)) {
4588 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4589 SWIG_fail;
4590 }
4591 arg2 = new wxArrayString;
4592 int i, len=PySequence_Length(obj1);
4593 for (i=0; i<len; i++) {
4594 PyObject* item = PySequence_GetItem(obj1, i);
4595#if wxUSE_UNICODE
4596 PyObject* str = PyObject_Unicode(item);
4597#else
4598 PyObject* str = PyObject_Str(item);
4599#endif
4600 arg2->Add(Py2wxString(str));
4601 Py_DECREF(item);
4602 Py_DECREF(str);
4603 }
4604 }
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 (arg1)->Set((wxArrayString const &)*arg2);
4608
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 Py_INCREF(Py_None); resultobj = Py_None;
4613 {
4614 if (arg2) delete arg2;
4615 }
4616 return resultobj;
4617 fail:
4618 {
4619 if (arg2) delete arg2;
4620 }
4621 return NULL;
4622}
4623
4624
4625static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4626 PyObject *resultobj;
4627 wxListBox *arg1 = (wxListBox *) 0 ;
4628 int arg2 ;
4629 bool result;
4630 PyObject * obj0 = 0 ;
4631 char *kwnames[] = {
4632 (char *) "self",(char *) "n", NULL
4633 };
4634
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4637 {
4638 PyThreadState* __tstate = wxPyBeginAllowThreads();
4639 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4640
4641 wxPyEndAllowThreads(__tstate);
4642 if (PyErr_Occurred()) SWIG_fail;
4643 }
4644 resultobj = PyInt_FromLong((long)result);
4645 return resultobj;
4646 fail:
4647 return NULL;
4648}
4649
4650
4651static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4652 PyObject *resultobj;
4653 wxListBox *arg1 = (wxListBox *) 0 ;
4654 int arg2 ;
e811c8ce 4655 bool arg3 = (bool) True ;
d14a1e28
RD
4656 PyObject * obj0 = 0 ;
4657 PyObject * obj2 = 0 ;
4658 char *kwnames[] = {
4659 (char *) "self",(char *) "n",(char *) "select", NULL
4660 };
4661
4662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4664 if (obj2) {
4665 arg3 = PyInt_AsLong(obj2) ? true : false;
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 {
4669 PyThreadState* __tstate = wxPyBeginAllowThreads();
4670 (arg1)->SetSelection(arg2,arg3);
4671
4672 wxPyEndAllowThreads(__tstate);
4673 if (PyErr_Occurred()) SWIG_fail;
4674 }
4675 Py_INCREF(Py_None); resultobj = Py_None;
4676 return resultobj;
4677 fail:
4678 return NULL;
4679}
4680
4681
4682static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4683 PyObject *resultobj;
4684 wxListBox *arg1 = (wxListBox *) 0 ;
4685 int arg2 ;
4686 PyObject * obj0 = 0 ;
4687 char *kwnames[] = {
4688 (char *) "self",(char *) "n", NULL
4689 };
4690
4691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4693 {
4694 PyThreadState* __tstate = wxPyBeginAllowThreads();
4695 (arg1)->Select(arg2);
4696
4697 wxPyEndAllowThreads(__tstate);
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 Py_INCREF(Py_None); resultobj = Py_None;
4701 return resultobj;
4702 fail:
4703 return NULL;
4704}
4705
4706
4707static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4708 PyObject *resultobj;
4709 wxListBox *arg1 = (wxListBox *) 0 ;
4710 int arg2 ;
4711 PyObject * obj0 = 0 ;
4712 char *kwnames[] = {
4713 (char *) "self",(char *) "n", NULL
4714 };
4715
4716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 (arg1)->Deselect(arg2);
4721
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 Py_INCREF(Py_None); resultobj = Py_None;
4726 return resultobj;
4727 fail:
4728 return NULL;
4729}
4730
4731
4732static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4733 PyObject *resultobj;
4734 wxListBox *arg1 = (wxListBox *) 0 ;
4735 int arg2 = (int) -1 ;
4736 PyObject * obj0 = 0 ;
4737 char *kwnames[] = {
4738 (char *) "self",(char *) "itemToLeaveSelected", NULL
4739 };
4740
4741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 (arg1)->DeselectAll(arg2);
4746
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
4750 Py_INCREF(Py_None); resultobj = Py_None;
4751 return resultobj;
4752 fail:
4753 return NULL;
4754}
4755
4756
4757static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4758 PyObject *resultobj;
4759 wxListBox *arg1 = (wxListBox *) 0 ;
4760 wxString *arg2 = 0 ;
e811c8ce 4761 bool arg3 = (bool) True ;
d14a1e28 4762 bool result;
e811c8ce 4763 bool temp2 = False ;
d14a1e28
RD
4764 PyObject * obj0 = 0 ;
4765 PyObject * obj1 = 0 ;
4766 PyObject * obj2 = 0 ;
4767 char *kwnames[] = {
4768 (char *) "self",(char *) "s",(char *) "select", NULL
4769 };
4770
4771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4773 {
4774 arg2 = wxString_in_helper(obj1);
4775 if (arg2 == NULL) SWIG_fail;
e811c8ce 4776 temp2 = True;
d14a1e28
RD
4777 }
4778 if (obj2) {
4779 arg3 = PyInt_AsLong(obj2) ? true : false;
4780 if (PyErr_Occurred()) SWIG_fail;
4781 }
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4785
4786 wxPyEndAllowThreads(__tstate);
4787 if (PyErr_Occurred()) SWIG_fail;
4788 }
4789 resultobj = PyInt_FromLong((long)result);
4790 {
4791 if (temp2)
4792 delete arg2;
4793 }
4794 return resultobj;
4795 fail:
4796 {
4797 if (temp2)
4798 delete arg2;
4799 }
4800 return NULL;
4801}
4802
4803
4804static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4805 PyObject *resultobj;
4806 wxListBox *arg1 = (wxListBox *) 0 ;
4807 PyObject *result;
4808 PyObject * obj0 = 0 ;
4809 char *kwnames[] = {
4810 (char *) "self", NULL
4811 };
4812
4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 result = (PyObject *)wxListBox_GetSelections(arg1);
4818
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 resultobj = result;
4823 return resultobj;
4824 fail:
4825 return NULL;
4826}
4827
4828
4829static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4830 PyObject *resultobj;
4831 wxListBox *arg1 = (wxListBox *) 0 ;
4832 int arg2 ;
4833 PyObject * obj0 = 0 ;
4834 char *kwnames[] = {
4835 (char *) "self",(char *) "n", NULL
4836 };
4837
4838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4840 {
4841 PyThreadState* __tstate = wxPyBeginAllowThreads();
4842 (arg1)->SetFirstItem(arg2);
4843
4844 wxPyEndAllowThreads(__tstate);
4845 if (PyErr_Occurred()) SWIG_fail;
4846 }
4847 Py_INCREF(Py_None); resultobj = Py_None;
4848 return resultobj;
4849 fail:
4850 return NULL;
4851}
4852
4853
4854static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj;
4856 wxListBox *arg1 = (wxListBox *) 0 ;
4857 wxString *arg2 = 0 ;
e811c8ce 4858 bool temp2 = False ;
d14a1e28
RD
4859 PyObject * obj0 = 0 ;
4860 PyObject * obj1 = 0 ;
4861 char *kwnames[] = {
4862 (char *) "self",(char *) "s", NULL
4863 };
4864
4865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4867 {
4868 arg2 = wxString_in_helper(obj1);
4869 if (arg2 == NULL) SWIG_fail;
e811c8ce 4870 temp2 = True;
d14a1e28
RD
4871 }
4872 {
4873 PyThreadState* __tstate = wxPyBeginAllowThreads();
4874 (arg1)->SetFirstItem((wxString const &)*arg2);
4875
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 Py_INCREF(Py_None); resultobj = Py_None;
4880 {
4881 if (temp2)
4882 delete arg2;
4883 }
4884 return resultobj;
4885 fail:
4886 {
4887 if (temp2)
4888 delete arg2;
4889 }
4890 return NULL;
4891}
4892
4893
4894static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4895 PyObject *resultobj;
4896 wxListBox *arg1 = (wxListBox *) 0 ;
4897 int arg2 ;
4898 PyObject * obj0 = 0 ;
4899 char *kwnames[] = {
4900 (char *) "self",(char *) "n", NULL
4901 };
4902
4903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4905 {
4906 PyThreadState* __tstate = wxPyBeginAllowThreads();
4907 (arg1)->EnsureVisible(arg2);
4908
4909 wxPyEndAllowThreads(__tstate);
4910 if (PyErr_Occurred()) SWIG_fail;
4911 }
4912 Py_INCREF(Py_None); resultobj = Py_None;
4913 return resultobj;
4914 fail:
4915 return NULL;
4916}
4917
4918
4919static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4920 PyObject *resultobj;
4921 wxListBox *arg1 = (wxListBox *) 0 ;
4922 wxString *arg2 = 0 ;
e811c8ce 4923 bool temp2 = False ;
d14a1e28
RD
4924 PyObject * obj0 = 0 ;
4925 PyObject * obj1 = 0 ;
4926 char *kwnames[] = {
4927 (char *) "self",(char *) "s", NULL
4928 };
4929
4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4932 {
4933 arg2 = wxString_in_helper(obj1);
4934 if (arg2 == NULL) SWIG_fail;
e811c8ce 4935 temp2 = True;
d14a1e28
RD
4936 }
4937 {
4938 PyThreadState* __tstate = wxPyBeginAllowThreads();
4939 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4940
4941 wxPyEndAllowThreads(__tstate);
4942 if (PyErr_Occurred()) SWIG_fail;
4943 }
4944 Py_INCREF(Py_None); resultobj = Py_None;
4945 {
4946 if (temp2)
4947 delete arg2;
4948 }
4949 return resultobj;
4950 fail:
4951 {
4952 if (temp2)
4953 delete arg2;
4954 }
4955 return NULL;
4956}
4957
4958
4959static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
4960 PyObject *resultobj;
4961 wxListBox *arg1 = (wxListBox *) 0 ;
4962 bool result;
4963 PyObject * obj0 = 0 ;
4964 char *kwnames[] = {
4965 (char *) "self", NULL
4966 };
4967
4968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
4969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4970 {
4971 PyThreadState* __tstate = wxPyBeginAllowThreads();
4972 result = (bool)((wxListBox const *)arg1)->IsSorted();
4973
4974 wxPyEndAllowThreads(__tstate);
4975 if (PyErr_Occurred()) SWIG_fail;
4976 }
4977 resultobj = PyInt_FromLong((long)result);
4978 return resultobj;
4979 fail:
4980 return NULL;
4981}
4982
4983
4984static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
4985 PyObject *obj;
4986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4987 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
4988 Py_INCREF(obj);
4989 return Py_BuildValue((char *)"");
4990}
4991static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4992 PyObject *resultobj;
4993 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 4994 int arg2 ;
d14a1e28
RD
4995 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4996 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4997 wxSize const &arg4_defvalue = wxDefaultSize ;
4998 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4999 int arg5 = (int) 0 ;
5000 wxString *arg6 = (wxString *) NULL ;
5001 long arg7 = (long) 0 ;
5002 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5003 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5004 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5005 wxString *arg9 = (wxString *) &arg9_defvalue ;
5006 wxCheckListBox *result;
5007 wxPoint temp3 ;
5008 wxSize temp4 ;
e811c8ce 5009 bool temp8 = False ;
d14a1e28
RD
5010 PyObject * obj0 = 0 ;
5011 PyObject * obj2 = 0 ;
5012 PyObject * obj3 = 0 ;
5013 PyObject * obj4 = 0 ;
5014 PyObject * obj6 = 0 ;
5015 PyObject * obj7 = 0 ;
5016 char *kwnames[] = {
5017 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5018 };
5019
5020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5022 if (obj2) {
5023 {
5024 arg3 = &temp3;
5025 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5026 }
5027 }
5028 if (obj3) {
5029 {
5030 arg4 = &temp4;
5031 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5032 }
5033 }
5034 if (obj4) {
5035 {
5036 arg5 = PyList_Size(obj4);
5037 arg6 = wxString_LIST_helper(obj4);
5038 if (arg6 == NULL) SWIG_fail;
5039 }
5040 }
5041 if (obj6) {
5042 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5043 if (arg8 == NULL) {
5044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5045 }
5046 }
5047 if (obj7) {
5048 {
5049 arg9 = wxString_in_helper(obj7);
5050 if (arg9 == NULL) SWIG_fail;
e811c8ce 5051 temp8 = True;
d14a1e28
RD
5052 }
5053 }
5054 {
5055 PyThreadState* __tstate = wxPyBeginAllowThreads();
5056 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5057
5058 wxPyEndAllowThreads(__tstate);
5059 if (PyErr_Occurred()) SWIG_fail;
5060 }
5061 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5062 {
5063 if (arg6) delete [] arg6;
5064 }
5065 {
5066 if (temp8)
5067 delete arg9;
5068 }
5069 return resultobj;
5070 fail:
5071 {
5072 if (arg6) delete [] arg6;
5073 }
5074 {
5075 if (temp8)
5076 delete arg9;
5077 }
5078 return NULL;
5079}
5080
5081
5082static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5083 PyObject *resultobj;
5084 wxCheckListBox *result;
5085 char *kwnames[] = {
5086 NULL
5087 };
5088
5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5090 {
5091 PyThreadState* __tstate = wxPyBeginAllowThreads();
5092 result = (wxCheckListBox *)new wxCheckListBox();
5093
5094 wxPyEndAllowThreads(__tstate);
5095 if (PyErr_Occurred()) SWIG_fail;
5096 }
5097 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5098 return resultobj;
5099 fail:
5100 return NULL;
5101}
5102
5103
5104static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5105 PyObject *resultobj;
5106 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5107 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 5108 int arg3 ;
d14a1e28
RD
5109 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5110 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5111 wxSize const &arg5_defvalue = wxDefaultSize ;
5112 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5113 int arg6 = (int) 0 ;
5114 wxString *arg7 = (wxString *) NULL ;
5115 long arg8 = (long) 0 ;
5116 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5117 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5118 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5119 wxString *arg10 = (wxString *) &arg10_defvalue ;
5120 bool result;
5121 wxPoint temp4 ;
5122 wxSize temp5 ;
e811c8ce 5123 bool temp9 = False ;
d14a1e28
RD
5124 PyObject * obj0 = 0 ;
5125 PyObject * obj1 = 0 ;
5126 PyObject * obj3 = 0 ;
5127 PyObject * obj4 = 0 ;
5128 PyObject * obj5 = 0 ;
5129 PyObject * obj7 = 0 ;
5130 PyObject * obj8 = 0 ;
5131 char *kwnames[] = {
5132 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5133 };
5134
5135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5138 if (obj3) {
5139 {
5140 arg4 = &temp4;
5141 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5142 }
5143 }
5144 if (obj4) {
5145 {
5146 arg5 = &temp5;
5147 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5148 }
5149 }
5150 if (obj5) {
5151 {
5152 arg6 = PyList_Size(obj5);
5153 arg7 = wxString_LIST_helper(obj5);
5154 if (arg7 == NULL) SWIG_fail;
5155 }
5156 }
5157 if (obj7) {
5158 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5159 if (arg9 == NULL) {
5160 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5161 }
5162 }
5163 if (obj8) {
5164 {
5165 arg10 = wxString_in_helper(obj8);
5166 if (arg10 == NULL) SWIG_fail;
e811c8ce 5167 temp9 = True;
d14a1e28
RD
5168 }
5169 }
5170 {
5171 PyThreadState* __tstate = wxPyBeginAllowThreads();
5172 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5173
5174 wxPyEndAllowThreads(__tstate);
5175 if (PyErr_Occurred()) SWIG_fail;
5176 }
5177 resultobj = PyInt_FromLong((long)result);
5178 {
5179 if (arg7) delete [] arg7;
5180 }
5181 {
5182 if (temp9)
5183 delete arg10;
5184 }
5185 return resultobj;
5186 fail:
5187 {
5188 if (arg7) delete [] arg7;
5189 }
5190 {
5191 if (temp9)
5192 delete arg10;
5193 }
5194 return NULL;
5195}
5196
5197
5198static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5199 PyObject *resultobj;
5200 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5201 int arg2 ;
5202 bool result;
5203 PyObject * obj0 = 0 ;
5204 char *kwnames[] = {
5205 (char *) "self",(char *) "index", NULL
5206 };
5207
5208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5210 {
5211 PyThreadState* __tstate = wxPyBeginAllowThreads();
5212 result = (bool)(arg1)->IsChecked(arg2);
5213
5214 wxPyEndAllowThreads(__tstate);
5215 if (PyErr_Occurred()) SWIG_fail;
5216 }
5217 resultobj = PyInt_FromLong((long)result);
5218 return resultobj;
5219 fail:
5220 return NULL;
5221}
5222
5223
5224static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5225 PyObject *resultobj;
5226 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5227 int arg2 ;
e811c8ce 5228 int arg3 = (int) True ;
d14a1e28
RD
5229 PyObject * obj0 = 0 ;
5230 char *kwnames[] = {
5231 (char *) "self",(char *) "index",(char *) "check", NULL
5232 };
5233
5234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5236 {
5237 PyThreadState* __tstate = wxPyBeginAllowThreads();
5238 (arg1)->Check(arg2,arg3);
5239
5240 wxPyEndAllowThreads(__tstate);
5241 if (PyErr_Occurred()) SWIG_fail;
5242 }
5243 Py_INCREF(Py_None); resultobj = Py_None;
5244 return resultobj;
5245 fail:
5246 return NULL;
5247}
5248
5249
5250static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5251 PyObject *resultobj;
5252 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5253 int result;
5254 PyObject * obj0 = 0 ;
5255 char *kwnames[] = {
5256 (char *) "self", NULL
5257 };
5258
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5261 {
5262 PyThreadState* __tstate = wxPyBeginAllowThreads();
5263 result = (int)(arg1)->GetItemHeight();
5264
5265 wxPyEndAllowThreads(__tstate);
5266 if (PyErr_Occurred()) SWIG_fail;
5267 }
5268 resultobj = PyInt_FromLong((long)result);
5269 return resultobj;
5270 fail:
5271 return NULL;
5272}
5273
5274
5275static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5276 PyObject *resultobj;
5277 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5278 wxPoint *arg2 = 0 ;
5279 int result;
5280 wxPoint temp2 ;
5281 PyObject * obj0 = 0 ;
5282 PyObject * obj1 = 0 ;
5283 char *kwnames[] = {
5284 (char *) "self",(char *) "pt", NULL
5285 };
5286
5287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5289 {
5290 arg2 = &temp2;
5291 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5292 }
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 resultobj = PyInt_FromLong((long)result);
5301 return resultobj;
5302 fail:
5303 return NULL;
5304}
5305
5306
5307static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5308 PyObject *resultobj;
5309 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
e811c8ce
RD
5310 int arg2 ;
5311 int arg3 ;
d14a1e28
RD
5312 int result;
5313 PyObject * obj0 = 0 ;
5314 char *kwnames[] = {
5315 (char *) "self",(char *) "x",(char *) "y", NULL
5316 };
5317
5318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5323
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 resultobj = PyInt_FromLong((long)result);
5328 return resultobj;
5329 fail:
5330 return NULL;
5331}
5332
5333
5334static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5335 PyObject *obj;
5336 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5337 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5338 Py_INCREF(obj);
5339 return Py_BuildValue((char *)"");
5340}
5341static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5342 PyObject *resultobj;
5343 wxTextAttr *result;
5344
5345 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5346 {
5347 PyThreadState* __tstate = wxPyBeginAllowThreads();
5348 result = (wxTextAttr *)new wxTextAttr();
5349
5350 wxPyEndAllowThreads(__tstate);
5351 if (PyErr_Occurred()) SWIG_fail;
5352 }
5353 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5354 return resultobj;
5355 fail:
5356 return NULL;
5357}
5358
5359
5360static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5361 PyObject *resultobj;
5362 wxColour *arg1 = 0 ;
5363 wxColour const &arg2_defvalue = wxNullColour ;
5364 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5365 wxFont const &arg3_defvalue = wxNullFont ;
5366 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5367 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5368 wxTextAttr *result;
5369 wxColour temp1 ;
5370 wxColour temp2 ;
5371 PyObject * obj0 = 0 ;
5372 PyObject * obj1 = 0 ;
5373 PyObject * obj2 = 0 ;
5374
5375 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5376 {
5377 arg1 = &temp1;
5378 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5379 }
5380 if (obj1) {
5381 {
5382 arg2 = &temp2;
5383 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5384 }
5385 }
5386 if (obj2) {
5387 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5388 if (arg3 == NULL) {
5389 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5390 }
5391 }
5392 {
5393 PyThreadState* __tstate = wxPyBeginAllowThreads();
5394 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5395
5396 wxPyEndAllowThreads(__tstate);
5397 if (PyErr_Occurred()) SWIG_fail;
5398 }
5399 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5400 return resultobj;
5401 fail:
5402 return NULL;
5403}
5404
5405
5406static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5407 int argc;
5408 PyObject *argv[5];
5409 int ii;
5410
5411 argc = PyObject_Length(args);
5412 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5413 argv[ii] = PyTuple_GetItem(args,ii);
5414 }
5415 if (argc == 0) {
5416 return _wrap_new_TextAttr__SWIG_0(self,args);
5417 }
5418 if ((argc >= 1) && (argc <= 4)) {
5419 int _v;
5420 {
5421 _v = wxColour_typecheck(argv[0]);
5422 }
5423 if (_v) {
5424 if (argc <= 1) {
5425 return _wrap_new_TextAttr__SWIG_1(self,args);
5426 }
5427 {
5428 _v = wxColour_typecheck(argv[1]);
5429 }
5430 if (_v) {
5431 if (argc <= 2) {
5432 return _wrap_new_TextAttr__SWIG_1(self,args);
5433 }
5434 {
5435 void *ptr;
5436 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5437 _v = 0;
5438 PyErr_Clear();
5439 } else {
5440 _v = 1;
5441 }
5442 }
5443 if (_v) {
5444 if (argc <= 3) {
5445 return _wrap_new_TextAttr__SWIG_1(self,args);
5446 }
5447 {
5448 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5449 }
5450 if (_v) {
5451 return _wrap_new_TextAttr__SWIG_1(self,args);
5452 }
5453 }
5454 }
5455 }
5456 }
5457
5458 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5459 return NULL;
5460}
5461
5462
5463static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5464 PyObject *resultobj;
5465 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5466 PyObject * obj0 = 0 ;
5467 char *kwnames[] = {
5468 (char *) "self", NULL
5469 };
5470
5471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5473 {
5474 PyThreadState* __tstate = wxPyBeginAllowThreads();
5475 (arg1)->Init();
5476
5477 wxPyEndAllowThreads(__tstate);
5478 if (PyErr_Occurred()) SWIG_fail;
5479 }
5480 Py_INCREF(Py_None); resultobj = Py_None;
5481 return resultobj;
5482 fail:
5483 return NULL;
5484}
5485
5486
5487static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5488 PyObject *resultobj;
5489 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5490 wxColour *arg2 = 0 ;
5491 wxColour temp2 ;
5492 PyObject * obj0 = 0 ;
5493 PyObject * obj1 = 0 ;
5494 char *kwnames[] = {
5495 (char *) "self",(char *) "colText", NULL
5496 };
5497
5498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5500 {
5501 arg2 = &temp2;
5502 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5503 }
5504 {
5505 PyThreadState* __tstate = wxPyBeginAllowThreads();
5506 (arg1)->SetTextColour((wxColour const &)*arg2);
5507
5508 wxPyEndAllowThreads(__tstate);
5509 if (PyErr_Occurred()) SWIG_fail;
5510 }
5511 Py_INCREF(Py_None); resultobj = Py_None;
5512 return resultobj;
5513 fail:
5514 return NULL;
5515}
5516
5517
5518static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5519 PyObject *resultobj;
5520 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5521 wxColour *arg2 = 0 ;
5522 wxColour temp2 ;
5523 PyObject * obj0 = 0 ;
5524 PyObject * obj1 = 0 ;
5525 char *kwnames[] = {
5526 (char *) "self",(char *) "colBack", NULL
5527 };
5528
5529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5531 {
5532 arg2 = &temp2;
5533 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5534 }
5535 {
5536 PyThreadState* __tstate = wxPyBeginAllowThreads();
5537 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5538
5539 wxPyEndAllowThreads(__tstate);
5540 if (PyErr_Occurred()) SWIG_fail;
5541 }
5542 Py_INCREF(Py_None); resultobj = Py_None;
5543 return resultobj;
5544 fail:
5545 return NULL;
5546}
5547
5548
5549static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5550 PyObject *resultobj;
5551 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5552 wxFont *arg2 = 0 ;
5553 long arg3 = (long) wxTEXT_ATTR_FONT ;
5554 PyObject * obj0 = 0 ;
5555 PyObject * obj1 = 0 ;
5556 char *kwnames[] = {
5557 (char *) "self",(char *) "font",(char *) "flags", NULL
5558 };
5559
5560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5563 if (arg2 == NULL) {
5564 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5565 }
5566 {
5567 PyThreadState* __tstate = wxPyBeginAllowThreads();
5568 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5569
5570 wxPyEndAllowThreads(__tstate);
5571 if (PyErr_Occurred()) SWIG_fail;
5572 }
5573 Py_INCREF(Py_None); resultobj = Py_None;
5574 return resultobj;
5575 fail:
5576 return NULL;
5577}
5578
5579
5580static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5581 PyObject *resultobj;
5582 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5583 int arg2 ;
5584 PyObject * obj0 = 0 ;
5585 char *kwnames[] = {
5586 (char *) "self",(char *) "alignment", NULL
5587 };
5588
5589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5591 {
5592 PyThreadState* __tstate = wxPyBeginAllowThreads();
5593 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5594
5595 wxPyEndAllowThreads(__tstate);
5596 if (PyErr_Occurred()) SWIG_fail;
5597 }
5598 Py_INCREF(Py_None); resultobj = Py_None;
5599 return resultobj;
5600 fail:
5601 return NULL;
5602}
5603
5604
5605static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5606 PyObject *resultobj;
5607 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5608 wxArrayInt *arg2 = 0 ;
5609 PyObject * obj0 = 0 ;
5610 PyObject * obj1 = 0 ;
5611 char *kwnames[] = {
5612 (char *) "self",(char *) "tabs", NULL
5613 };
5614
5615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5617 {
5618 if (! PySequence_Check(obj1)) {
5619 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5620 SWIG_fail;
5621 }
5622 arg2 = new wxArrayInt;
5623 int i, len=PySequence_Length(obj1);
5624 for (i=0; i<len; i++) {
5625 PyObject* item = PySequence_GetItem(obj1, i);
5626 PyObject* number = PyNumber_Int(item);
5627 arg2->Add(PyInt_AS_LONG(number));
5628 Py_DECREF(item);
5629 Py_DECREF(number);
5630 }
5631 }
5632 {
5633 PyThreadState* __tstate = wxPyBeginAllowThreads();
5634 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5635
5636 wxPyEndAllowThreads(__tstate);
5637 if (PyErr_Occurred()) SWIG_fail;
5638 }
5639 Py_INCREF(Py_None); resultobj = Py_None;
5640 {
5641 if (arg2) delete arg2;
5642 }
5643 return resultobj;
5644 fail:
5645 {
5646 if (arg2) delete arg2;
5647 }
5648 return NULL;
5649}
5650
5651
5652static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5653 PyObject *resultobj;
5654 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5655 int arg2 ;
5656 PyObject * obj0 = 0 ;
5657 char *kwnames[] = {
5658 (char *) "self",(char *) "indent", NULL
5659 };
5660
5661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5663 {
5664 PyThreadState* __tstate = wxPyBeginAllowThreads();
5665 (arg1)->SetLeftIndent(arg2);
5666
5667 wxPyEndAllowThreads(__tstate);
5668 if (PyErr_Occurred()) SWIG_fail;
5669 }
5670 Py_INCREF(Py_None); resultobj = Py_None;
5671 return resultobj;
5672 fail:
5673 return NULL;
5674}
5675
5676
5677static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5678 PyObject *resultobj;
5679 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5680 int arg2 ;
5681 PyObject * obj0 = 0 ;
5682 char *kwnames[] = {
5683 (char *) "self",(char *) "indent", NULL
5684 };
5685
5686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5688 {
5689 PyThreadState* __tstate = wxPyBeginAllowThreads();
5690 (arg1)->SetRightIndent(arg2);
5691
5692 wxPyEndAllowThreads(__tstate);
5693 if (PyErr_Occurred()) SWIG_fail;
5694 }
5695 Py_INCREF(Py_None); resultobj = Py_None;
5696 return resultobj;
5697 fail:
5698 return NULL;
5699}
5700
5701
5702static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5703 PyObject *resultobj;
5704 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5705 long arg2 ;
5706 PyObject * obj0 = 0 ;
5707 char *kwnames[] = {
5708 (char *) "self",(char *) "flags", NULL
5709 };
5710
5711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 (arg1)->SetFlags(arg2);
5716
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 Py_INCREF(Py_None); resultobj = Py_None;
5721 return resultobj;
5722 fail:
5723 return NULL;
5724}
5725
5726
5727static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5728 PyObject *resultobj;
5729 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5730 bool result;
5731 PyObject * obj0 = 0 ;
5732 char *kwnames[] = {
5733 (char *) "self", NULL
5734 };
5735
5736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 resultobj = PyInt_FromLong((long)result);
5746 return resultobj;
5747 fail:
5748 return NULL;
5749}
5750
5751
5752static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj;
5754 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5755 bool result;
5756 PyObject * obj0 = 0 ;
5757 char *kwnames[] = {
5758 (char *) "self", NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 resultobj = PyInt_FromLong((long)result);
5771 return resultobj;
5772 fail:
5773 return NULL;
5774}
5775
5776
5777static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5778 PyObject *resultobj;
5779 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5780 bool result;
5781 PyObject * obj0 = 0 ;
5782 char *kwnames[] = {
5783 (char *) "self", NULL
5784 };
5785
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 resultobj = PyInt_FromLong((long)result);
5796 return resultobj;
5797 fail:
5798 return NULL;
5799}
5800
5801
5802static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj;
5804 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5805 bool result;
5806 PyObject * obj0 = 0 ;
5807 char *kwnames[] = {
5808 (char *) "self", NULL
5809 };
5810
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5813 {
5814 PyThreadState* __tstate = wxPyBeginAllowThreads();
5815 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5816
5817 wxPyEndAllowThreads(__tstate);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 }
5820 resultobj = PyInt_FromLong((long)result);
5821 return resultobj;
5822 fail:
5823 return NULL;
5824}
5825
5826
5827static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj;
5829 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5830 bool result;
5831 PyObject * obj0 = 0 ;
5832 char *kwnames[] = {
5833 (char *) "self", NULL
5834 };
5835
5836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5838 {
5839 PyThreadState* __tstate = wxPyBeginAllowThreads();
5840 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5841
5842 wxPyEndAllowThreads(__tstate);
5843 if (PyErr_Occurred()) SWIG_fail;
5844 }
5845 resultobj = PyInt_FromLong((long)result);
5846 return resultobj;
5847 fail:
5848 return NULL;
5849}
5850
5851
5852static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5853 PyObject *resultobj;
5854 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5855 bool result;
5856 PyObject * obj0 = 0 ;
5857 char *kwnames[] = {
5858 (char *) "self", NULL
5859 };
5860
5861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
5866
5867 wxPyEndAllowThreads(__tstate);
5868 if (PyErr_Occurred()) SWIG_fail;
5869 }
5870 resultobj = PyInt_FromLong((long)result);
5871 return resultobj;
5872 fail:
5873 return NULL;
5874}
5875
5876
5877static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5878 PyObject *resultobj;
5879 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5880 bool result;
5881 PyObject * obj0 = 0 ;
5882 char *kwnames[] = {
5883 (char *) "self", NULL
5884 };
5885
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5888 {
5889 PyThreadState* __tstate = wxPyBeginAllowThreads();
5890 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5891
5892 wxPyEndAllowThreads(__tstate);
5893 if (PyErr_Occurred()) SWIG_fail;
5894 }
5895 resultobj = PyInt_FromLong((long)result);
5896 return resultobj;
5897 fail:
5898 return NULL;
5899}
5900
5901
5902static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5903 PyObject *resultobj;
5904 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5905 long arg2 ;
5906 bool result;
5907 PyObject * obj0 = 0 ;
5908 char *kwnames[] = {
5909 (char *) "self",(char *) "flag", NULL
5910 };
5911
5912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
5913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5917
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 resultobj = PyInt_FromLong((long)result);
5922 return resultobj;
5923 fail:
5924 return NULL;
5925}
5926
5927
5928static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5929 PyObject *resultobj;
5930 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5931 wxColour *result;
5932 PyObject * obj0 = 0 ;
5933 char *kwnames[] = {
5934 (char *) "self", NULL
5935 };
5936
5937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5939 {
5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
5941 {
5942 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
5943 result = (wxColour *) &_result_ref;
5944 }
5945
5946 wxPyEndAllowThreads(__tstate);
5947 if (PyErr_Occurred()) SWIG_fail;
5948 }
5949 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5950 return resultobj;
5951 fail:
5952 return NULL;
5953}
5954
5955
5956static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5957 PyObject *resultobj;
5958 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5959 wxColour *result;
5960 PyObject * obj0 = 0 ;
5961 char *kwnames[] = {
5962 (char *) "self", NULL
5963 };
5964
5965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
5966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5967 {
5968 PyThreadState* __tstate = wxPyBeginAllowThreads();
5969 {
5970 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
5971 result = (wxColour *) &_result_ref;
5972 }
5973
5974 wxPyEndAllowThreads(__tstate);
5975 if (PyErr_Occurred()) SWIG_fail;
5976 }
5977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5978 return resultobj;
5979 fail:
5980 return NULL;
5981}
5982
5983
5984static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5985 PyObject *resultobj;
5986 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5987 wxFont *result;
5988 PyObject * obj0 = 0 ;
5989 char *kwnames[] = {
5990 (char *) "self", NULL
5991 };
5992
5993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
5994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5995 {
5996 PyThreadState* __tstate = wxPyBeginAllowThreads();
5997 {
5998 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
5999 result = (wxFont *) &_result_ref;
6000 }
6001
6002 wxPyEndAllowThreads(__tstate);
6003 if (PyErr_Occurred()) SWIG_fail;
6004 }
6005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6006 return resultobj;
6007 fail:
6008 return NULL;
6009}
6010
6011
6012static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6013 PyObject *resultobj;
6014 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6015 int result;
6016 PyObject * obj0 = 0 ;
6017 char *kwnames[] = {
6018 (char *) "self", NULL
6019 };
6020
6021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6023 {
6024 PyThreadState* __tstate = wxPyBeginAllowThreads();
6025 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6026
6027 wxPyEndAllowThreads(__tstate);
6028 if (PyErr_Occurred()) SWIG_fail;
6029 }
6030 resultobj = PyInt_FromLong((long)result);
6031 return resultobj;
6032 fail:
6033 return NULL;
6034}
6035
6036
6037static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6038 PyObject *resultobj;
6039 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6040 wxArrayInt *result;
6041 PyObject * obj0 = 0 ;
6042 char *kwnames[] = {
6043 (char *) "self", NULL
6044 };
6045
6046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6048 {
6049 PyThreadState* __tstate = wxPyBeginAllowThreads();
6050 {
6051 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6052 result = (wxArrayInt *) &_result_ref;
6053 }
6054
6055 wxPyEndAllowThreads(__tstate);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
6058 {
6059 resultobj = PyList_New(0);
6060 size_t idx;
6061 for (idx = 0; idx < result->GetCount(); idx += 1) {
6062 PyObject* val = PyInt_FromLong( result->Item(idx) );
6063 PyList_Append(resultobj, val);
6064 Py_DECREF(val);
6065 }
6066 }
6067 return resultobj;
6068 fail:
6069 return NULL;
6070}
6071
6072
6073static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6074 PyObject *resultobj;
6075 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6076 long result;
6077 PyObject * obj0 = 0 ;
6078 char *kwnames[] = {
6079 (char *) "self", NULL
6080 };
6081
6082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6084 {
6085 PyThreadState* __tstate = wxPyBeginAllowThreads();
6086 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6087
6088 wxPyEndAllowThreads(__tstate);
6089 if (PyErr_Occurred()) SWIG_fail;
6090 }
6091 resultobj = PyInt_FromLong((long)result);
6092 return resultobj;
6093 fail:
6094 return NULL;
6095}
6096
6097
6098static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj;
6100 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6101 long result;
6102 PyObject * obj0 = 0 ;
6103 char *kwnames[] = {
6104 (char *) "self", NULL
6105 };
6106
6107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6109 {
6110 PyThreadState* __tstate = wxPyBeginAllowThreads();
6111 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6112
6113 wxPyEndAllowThreads(__tstate);
6114 if (PyErr_Occurred()) SWIG_fail;
6115 }
6116 resultobj = PyInt_FromLong((long)result);
6117 return resultobj;
6118 fail:
6119 return NULL;
6120}
6121
6122
6123static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6124 PyObject *resultobj;
6125 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6126 long result;
6127 PyObject * obj0 = 0 ;
6128 char *kwnames[] = {
6129 (char *) "self", NULL
6130 };
6131
6132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6134 {
6135 PyThreadState* __tstate = wxPyBeginAllowThreads();
6136 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6137
6138 wxPyEndAllowThreads(__tstate);
6139 if (PyErr_Occurred()) SWIG_fail;
6140 }
6141 resultobj = PyInt_FromLong((long)result);
6142 return resultobj;
6143 fail:
6144 return NULL;
6145}
6146
6147
6148static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6149 PyObject *resultobj;
6150 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6151 bool result;
6152 PyObject * obj0 = 0 ;
6153 char *kwnames[] = {
6154 (char *) "self", NULL
6155 };
6156
6157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6159 {
6160 PyThreadState* __tstate = wxPyBeginAllowThreads();
6161 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6162
6163 wxPyEndAllowThreads(__tstate);
6164 if (PyErr_Occurred()) SWIG_fail;
6165 }
6166 resultobj = PyInt_FromLong((long)result);
6167 return resultobj;
6168 fail:
6169 return NULL;
6170}
6171
6172
6173static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6174 PyObject *resultobj;
6175 wxTextAttr *arg1 = 0 ;
6176 wxTextAttr *arg2 = 0 ;
6177 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6178 wxTextAttr result;
6179 PyObject * obj0 = 0 ;
6180 PyObject * obj1 = 0 ;
6181 PyObject * obj2 = 0 ;
6182 char *kwnames[] = {
6183 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6184 };
6185
6186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6188 if (arg1 == NULL) {
6189 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6190 }
6191 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6192 if (arg2 == NULL) {
6193 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6194 }
6195 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6199
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 {
6204 wxTextAttr * resultptr;
6205 resultptr = new wxTextAttr((wxTextAttr &) result);
6206 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6207 }
6208 return resultobj;
6209 fail:
6210 return NULL;
6211}
6212
6213
6214static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6215 PyObject *obj;
6216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6217 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6218 Py_INCREF(obj);
6219 return Py_BuildValue((char *)"");
6220}
6221static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6222 PyObject *resultobj;
6223 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 6224 int arg2 ;
d14a1e28
RD
6225 wxString const &arg3_defvalue = wxPyEmptyString ;
6226 wxString *arg3 = (wxString *) &arg3_defvalue ;
6227 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6228 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6229 wxSize const &arg5_defvalue = wxDefaultSize ;
6230 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6231 long arg6 = (long) 0 ;
6232 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6233 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6234 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6235 wxString *arg8 = (wxString *) &arg8_defvalue ;
6236 wxTextCtrl *result;
e811c8ce 6237 bool temp3 = False ;
d14a1e28
RD
6238 wxPoint temp4 ;
6239 wxSize temp5 ;
e811c8ce 6240 bool temp8 = False ;
d14a1e28
RD
6241 PyObject * obj0 = 0 ;
6242 PyObject * obj2 = 0 ;
6243 PyObject * obj3 = 0 ;
6244 PyObject * obj4 = 0 ;
6245 PyObject * obj6 = 0 ;
6246 PyObject * obj7 = 0 ;
6247 char *kwnames[] = {
6248 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6249 };
6250
6251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6253 if (obj2) {
6254 {
6255 arg3 = wxString_in_helper(obj2);
6256 if (arg3 == NULL) SWIG_fail;
e811c8ce 6257 temp3 = True;
d14a1e28
RD
6258 }
6259 }
6260 if (obj3) {
6261 {
6262 arg4 = &temp4;
6263 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6264 }
6265 }
6266 if (obj4) {
6267 {
6268 arg5 = &temp5;
6269 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6270 }
6271 }
6272 if (obj6) {
6273 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6274 if (arg7 == NULL) {
6275 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6276 }
6277 }
6278 if (obj7) {
6279 {
6280 arg8 = wxString_in_helper(obj7);
6281 if (arg8 == NULL) SWIG_fail;
e811c8ce 6282 temp8 = True;
d14a1e28
RD
6283 }
6284 }
6285 {
6286 PyThreadState* __tstate = wxPyBeginAllowThreads();
6287 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6288
6289 wxPyEndAllowThreads(__tstate);
6290 if (PyErr_Occurred()) SWIG_fail;
6291 }
6292 {
6293 resultobj = wxPyMake_wxObject(result);
6294 }
6295 {
6296 if (temp3)
6297 delete arg3;
6298 }
6299 {
6300 if (temp8)
6301 delete arg8;
6302 }
6303 return resultobj;
6304 fail:
6305 {
6306 if (temp3)
6307 delete arg3;
6308 }
6309 {
6310 if (temp8)
6311 delete arg8;
6312 }
6313 return NULL;
6314}
6315
6316
6317static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6318 PyObject *resultobj;
6319 wxTextCtrl *result;
6320 char *kwnames[] = {
6321 NULL
6322 };
6323
6324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6325 {
6326 PyThreadState* __tstate = wxPyBeginAllowThreads();
6327 result = (wxTextCtrl *)new wxTextCtrl();
6328
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 {
6333 resultobj = wxPyMake_wxObject(result);
6334 }
6335 return resultobj;
6336 fail:
6337 return NULL;
6338}
6339
6340
6341static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6342 PyObject *resultobj;
6343 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6344 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 6345 int arg3 ;
d14a1e28
RD
6346 wxString const &arg4_defvalue = wxPyEmptyString ;
6347 wxString *arg4 = (wxString *) &arg4_defvalue ;
6348 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6349 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6350 wxSize const &arg6_defvalue = wxDefaultSize ;
6351 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6352 long arg7 = (long) 0 ;
6353 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6354 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6355 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6356 wxString *arg9 = (wxString *) &arg9_defvalue ;
6357 bool result;
e811c8ce 6358 bool temp4 = False ;
d14a1e28
RD
6359 wxPoint temp5 ;
6360 wxSize temp6 ;
e811c8ce 6361 bool temp9 = False ;
d14a1e28
RD
6362 PyObject * obj0 = 0 ;
6363 PyObject * obj1 = 0 ;
6364 PyObject * obj3 = 0 ;
6365 PyObject * obj4 = 0 ;
6366 PyObject * obj5 = 0 ;
6367 PyObject * obj7 = 0 ;
6368 PyObject * obj8 = 0 ;
6369 char *kwnames[] = {
6370 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6371 };
6372
6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6375 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6376 if (obj3) {
6377 {
6378 arg4 = wxString_in_helper(obj3);
6379 if (arg4 == NULL) SWIG_fail;
e811c8ce 6380 temp4 = True;
d14a1e28
RD
6381 }
6382 }
6383 if (obj4) {
6384 {
6385 arg5 = &temp5;
6386 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6387 }
6388 }
6389 if (obj5) {
6390 {
6391 arg6 = &temp6;
6392 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6393 }
6394 }
6395 if (obj7) {
6396 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6397 if (arg8 == NULL) {
6398 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6399 }
6400 }
6401 if (obj8) {
6402 {
6403 arg9 = wxString_in_helper(obj8);
6404 if (arg9 == NULL) SWIG_fail;
e811c8ce 6405 temp9 = True;
d14a1e28
RD
6406 }
6407 }
6408 {
6409 PyThreadState* __tstate = wxPyBeginAllowThreads();
6410 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6411
6412 wxPyEndAllowThreads(__tstate);
6413 if (PyErr_Occurred()) SWIG_fail;
6414 }
6415 resultobj = PyInt_FromLong((long)result);
6416 {
6417 if (temp4)
6418 delete arg4;
6419 }
6420 {
6421 if (temp9)
6422 delete arg9;
6423 }
6424 return resultobj;
6425 fail:
6426 {
6427 if (temp4)
6428 delete arg4;
6429 }
6430 {
6431 if (temp9)
6432 delete arg9;
6433 }
6434 return NULL;
6435}
6436
6437
6438static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6441 wxString result;
6442 PyObject * obj0 = 0 ;
6443 char *kwnames[] = {
6444 (char *) "self", NULL
6445 };
6446
6447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 result = ((wxTextCtrl const *)arg1)->GetValue();
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 {
6457#if wxUSE_UNICODE
6458 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6459#else
6460 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6461#endif
6462 }
6463 return resultobj;
6464 fail:
6465 return NULL;
6466}
6467
6468
6469static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6470 PyObject *resultobj;
6471 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6472 wxString *arg2 = 0 ;
e811c8ce 6473 bool temp2 = False ;
d14a1e28
RD
6474 PyObject * obj0 = 0 ;
6475 PyObject * obj1 = 0 ;
6476 char *kwnames[] = {
6477 (char *) "self",(char *) "value", NULL
6478 };
6479
6480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6482 {
6483 arg2 = wxString_in_helper(obj1);
6484 if (arg2 == NULL) SWIG_fail;
e811c8ce 6485 temp2 = True;
d14a1e28
RD
6486 }
6487 {
6488 PyThreadState* __tstate = wxPyBeginAllowThreads();
6489 (arg1)->SetValue((wxString const &)*arg2);
6490
6491 wxPyEndAllowThreads(__tstate);
6492 if (PyErr_Occurred()) SWIG_fail;
6493 }
6494 Py_INCREF(Py_None); resultobj = Py_None;
6495 {
6496 if (temp2)
6497 delete arg2;
6498 }
6499 return resultobj;
6500 fail:
6501 {
6502 if (temp2)
6503 delete arg2;
6504 }
6505 return NULL;
6506}
6507
6508
6509static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6510 PyObject *resultobj;
6511 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6512 long arg2 ;
6513 long arg3 ;
6514 wxString result;
6515 PyObject * obj0 = 0 ;
6516 char *kwnames[] = {
6517 (char *) "self",(char *) "from",(char *) "to", NULL
6518 };
6519
6520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6522 {
6523 PyThreadState* __tstate = wxPyBeginAllowThreads();
6524 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6525
6526 wxPyEndAllowThreads(__tstate);
6527 if (PyErr_Occurred()) SWIG_fail;
6528 }
6529 {
6530#if wxUSE_UNICODE
6531 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6532#else
6533 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6534#endif
6535 }
6536 return resultobj;
6537 fail:
6538 return NULL;
6539}
6540
6541
6542static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6543 PyObject *resultobj;
6544 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6545 long arg2 ;
6546 int result;
6547 PyObject * obj0 = 0 ;
6548 char *kwnames[] = {
6549 (char *) "self",(char *) "lineNo", NULL
6550 };
6551
6552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6557
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 resultobj = PyInt_FromLong((long)result);
6562 return resultobj;
6563 fail:
6564 return NULL;
6565}
6566
6567
6568static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6569 PyObject *resultobj;
6570 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6571 long arg2 ;
6572 wxString result;
6573 PyObject * obj0 = 0 ;
6574 char *kwnames[] = {
6575 (char *) "self",(char *) "lineNo", NULL
6576 };
6577
6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6580 {
6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
6582 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6583
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 {
6588#if wxUSE_UNICODE
6589 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6590#else
6591 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6592#endif
6593 }
6594 return resultobj;
6595 fail:
6596 return NULL;
6597}
6598
6599
6600static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj;
6602 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6603 int result;
6604 PyObject * obj0 = 0 ;
6605 char *kwnames[] = {
6606 (char *) "self", NULL
6607 };
6608
6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 resultobj = PyInt_FromLong((long)result);
6619 return resultobj;
6620 fail:
6621 return NULL;
6622}
6623
6624
6625static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj;
6627 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6628 bool result;
6629 PyObject * obj0 = 0 ;
6630 char *kwnames[] = {
6631 (char *) "self", NULL
6632 };
6633
6634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6636 {
6637 PyThreadState* __tstate = wxPyBeginAllowThreads();
6638 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6639
6640 wxPyEndAllowThreads(__tstate);
6641 if (PyErr_Occurred()) SWIG_fail;
6642 }
6643 resultobj = PyInt_FromLong((long)result);
6644 return resultobj;
6645 fail:
6646 return NULL;
6647}
6648
6649
6650static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6651 PyObject *resultobj;
6652 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6653 bool result;
6654 PyObject * obj0 = 0 ;
6655 char *kwnames[] = {
6656 (char *) "self", NULL
6657 };
6658
6659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6661 {
6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
6663 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6664
6665 wxPyEndAllowThreads(__tstate);
6666 if (PyErr_Occurred()) SWIG_fail;
6667 }
6668 resultobj = PyInt_FromLong((long)result);
6669 return resultobj;
6670 fail:
6671 return NULL;
6672}
6673
6674
6675static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6676 PyObject *resultobj;
6677 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6678 bool result;
6679 PyObject * obj0 = 0 ;
6680 char *kwnames[] = {
6681 (char *) "self", NULL
6682 };
6683
6684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6686 {
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
6688 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6689
6690 wxPyEndAllowThreads(__tstate);
6691 if (PyErr_Occurred()) SWIG_fail;
6692 }
6693 resultobj = PyInt_FromLong((long)result);
6694 return resultobj;
6695 fail:
6696 return NULL;
6697}
6698
6699
6700static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6701 PyObject *resultobj;
6702 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6703 bool result;
6704 PyObject * obj0 = 0 ;
6705 char *kwnames[] = {
6706 (char *) "self", NULL
6707 };
6708
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6714
6715 wxPyEndAllowThreads(__tstate);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 resultobj = PyInt_FromLong((long)result);
6719 return resultobj;
6720 fail:
6721 return NULL;
6722}
6723
6724
6725static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6726 PyObject *resultobj;
6727 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6728 long *arg2 = (long *) 0 ;
6729 long *arg3 = (long *) 0 ;
6730 long temp2 ;
6731 long temp3 ;
6732 PyObject * obj0 = 0 ;
6733 char *kwnames[] = {
6734 (char *) "self", NULL
6735 };
6736
6737 arg2 = &temp2;
6738 arg3 = &temp3;
6739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6741 {
6742 PyThreadState* __tstate = wxPyBeginAllowThreads();
6743 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6744
6745 wxPyEndAllowThreads(__tstate);
6746 if (PyErr_Occurred()) SWIG_fail;
6747 }
6748 Py_INCREF(Py_None); resultobj = Py_None;
6749 {
6750 PyObject *o = PyInt_FromLong((long) (*arg2));
6751 resultobj = t_output_helper(resultobj,o);
6752 }
6753 {
6754 PyObject *o = PyInt_FromLong((long) (*arg3));
6755 resultobj = t_output_helper(resultobj,o);
6756 }
6757 return resultobj;
6758 fail:
6759 return NULL;
6760}
6761
6762
6763static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6764 PyObject *resultobj;
6765 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6766 wxString result;
6767 PyObject * obj0 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "self", NULL
6770 };
6771
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 {
6782#if wxUSE_UNICODE
6783 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6784#else
6785 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6786#endif
6787 }
6788 return resultobj;
6789 fail:
6790 return NULL;
6791}
6792
6793
6794static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6795 PyObject *resultobj;
6796 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6797 PyObject * obj0 = 0 ;
6798 char *kwnames[] = {
6799 (char *) "self", NULL
6800 };
6801
6802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6804 {
6805 PyThreadState* __tstate = wxPyBeginAllowThreads();
6806 (arg1)->Clear();
6807
6808 wxPyEndAllowThreads(__tstate);
6809 if (PyErr_Occurred()) SWIG_fail;
6810 }
6811 Py_INCREF(Py_None); resultobj = Py_None;
6812 return resultobj;
6813 fail:
6814 return NULL;
6815}
6816
6817
6818static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6819 PyObject *resultobj;
6820 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6821 long arg2 ;
6822 long arg3 ;
6823 wxString *arg4 = 0 ;
e811c8ce 6824 bool temp4 = False ;
d14a1e28
RD
6825 PyObject * obj0 = 0 ;
6826 PyObject * obj3 = 0 ;
6827 char *kwnames[] = {
6828 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6829 };
6830
6831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6833 {
6834 arg4 = wxString_in_helper(obj3);
6835 if (arg4 == NULL) SWIG_fail;
e811c8ce 6836 temp4 = True;
d14a1e28
RD
6837 }
6838 {
6839 PyThreadState* __tstate = wxPyBeginAllowThreads();
6840 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6841
6842 wxPyEndAllowThreads(__tstate);
6843 if (PyErr_Occurred()) SWIG_fail;
6844 }
6845 Py_INCREF(Py_None); resultobj = Py_None;
6846 {
6847 if (temp4)
6848 delete arg4;
6849 }
6850 return resultobj;
6851 fail:
6852 {
6853 if (temp4)
6854 delete arg4;
6855 }
6856 return NULL;
6857}
6858
6859
6860static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6861 PyObject *resultobj;
6862 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6863 long arg2 ;
6864 long arg3 ;
6865 PyObject * obj0 = 0 ;
6866 char *kwnames[] = {
6867 (char *) "self",(char *) "from",(char *) "to", NULL
6868 };
6869
6870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6872 {
6873 PyThreadState* __tstate = wxPyBeginAllowThreads();
6874 (arg1)->Remove(arg2,arg3);
6875
6876 wxPyEndAllowThreads(__tstate);
6877 if (PyErr_Occurred()) SWIG_fail;
6878 }
6879 Py_INCREF(Py_None); resultobj = Py_None;
6880 return resultobj;
6881 fail:
6882 return NULL;
6883}
6884
6885
6886static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6887 PyObject *resultobj;
6888 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6889 wxString *arg2 = 0 ;
6890 bool result;
e811c8ce 6891 bool temp2 = False ;
d14a1e28
RD
6892 PyObject * obj0 = 0 ;
6893 PyObject * obj1 = 0 ;
6894 char *kwnames[] = {
6895 (char *) "self",(char *) "file", NULL
6896 };
6897
6898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6900 {
6901 arg2 = wxString_in_helper(obj1);
6902 if (arg2 == NULL) SWIG_fail;
e811c8ce 6903 temp2 = True;
d14a1e28
RD
6904 }
6905 {
6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6907 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6908
6909 wxPyEndAllowThreads(__tstate);
6910 if (PyErr_Occurred()) SWIG_fail;
6911 }
6912 resultobj = PyInt_FromLong((long)result);
6913 {
6914 if (temp2)
6915 delete arg2;
6916 }
6917 return resultobj;
6918 fail:
6919 {
6920 if (temp2)
6921 delete arg2;
6922 }
6923 return NULL;
6924}
6925
6926
6927static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6928 PyObject *resultobj;
6929 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6930 wxString const &arg2_defvalue = wxPyEmptyString ;
6931 wxString *arg2 = (wxString *) &arg2_defvalue ;
6932 bool result;
e811c8ce 6933 bool temp2 = False ;
d14a1e28
RD
6934 PyObject * obj0 = 0 ;
6935 PyObject * obj1 = 0 ;
6936 char *kwnames[] = {
6937 (char *) "self",(char *) "file", NULL
6938 };
6939
6940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6942 if (obj1) {
6943 {
6944 arg2 = wxString_in_helper(obj1);
6945 if (arg2 == NULL) SWIG_fail;
e811c8ce 6946 temp2 = True;
d14a1e28
RD
6947 }
6948 }
6949 {
6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
6951 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
6952
6953 wxPyEndAllowThreads(__tstate);
6954 if (PyErr_Occurred()) SWIG_fail;
6955 }
6956 resultobj = PyInt_FromLong((long)result);
6957 {
6958 if (temp2)
6959 delete arg2;
6960 }
6961 return resultobj;
6962 fail:
6963 {
6964 if (temp2)
6965 delete arg2;
6966 }
6967 return NULL;
6968}
6969
6970
6971static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
6972 PyObject *resultobj;
6973 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6974 PyObject * obj0 = 0 ;
6975 char *kwnames[] = {
6976 (char *) "self", NULL
6977 };
6978
6979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
6980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 (arg1)->MarkDirty();
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 Py_INCREF(Py_None); resultobj = Py_None;
6989 return resultobj;
6990 fail:
6991 return NULL;
6992}
6993
6994
6995static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6998 PyObject * obj0 = 0 ;
6999 char *kwnames[] = {
7000 (char *) "self", NULL
7001 };
7002
7003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7005 {
7006 PyThreadState* __tstate = wxPyBeginAllowThreads();
7007 (arg1)->DiscardEdits();
7008
7009 wxPyEndAllowThreads(__tstate);
7010 if (PyErr_Occurred()) SWIG_fail;
7011 }
7012 Py_INCREF(Py_None); resultobj = Py_None;
7013 return resultobj;
7014 fail:
7015 return NULL;
7016}
7017
7018
7019static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7020 PyObject *resultobj;
7021 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7022 unsigned long arg2 ;
7023 PyObject * obj0 = 0 ;
7024 PyObject * obj1 = 0 ;
7025 char *kwnames[] = {
7026 (char *) "self",(char *) "len", NULL
7027 };
7028
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7031 arg2 = (unsigned long) PyInt_AsLong(obj1);
7032 if (PyErr_Occurred()) SWIG_fail;
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 (arg1)->SetMaxLength(arg2);
7036
7037 wxPyEndAllowThreads(__tstate);
7038 if (PyErr_Occurred()) SWIG_fail;
7039 }
7040 Py_INCREF(Py_None); resultobj = Py_None;
7041 return resultobj;
7042 fail:
7043 return NULL;
7044}
7045
7046
7047static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7048 PyObject *resultobj;
7049 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7050 wxString *arg2 = 0 ;
e811c8ce 7051 bool temp2 = False ;
d14a1e28
RD
7052 PyObject * obj0 = 0 ;
7053 PyObject * obj1 = 0 ;
7054 char *kwnames[] = {
7055 (char *) "self",(char *) "text", NULL
7056 };
7057
7058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7060 {
7061 arg2 = wxString_in_helper(obj1);
7062 if (arg2 == NULL) SWIG_fail;
e811c8ce 7063 temp2 = True;
d14a1e28
RD
7064 }
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 (arg1)->WriteText((wxString const &)*arg2);
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 Py_INCREF(Py_None); resultobj = Py_None;
7073 {
7074 if (temp2)
7075 delete arg2;
7076 }
7077 return resultobj;
7078 fail:
7079 {
7080 if (temp2)
7081 delete arg2;
7082 }
7083 return NULL;
7084}
7085
7086
7087static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7088 PyObject *resultobj;
7089 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7090 wxString *arg2 = 0 ;
e811c8ce 7091 bool temp2 = False ;
d14a1e28
RD
7092 PyObject * obj0 = 0 ;
7093 PyObject * obj1 = 0 ;
7094 char *kwnames[] = {
7095 (char *) "self",(char *) "text", NULL
7096 };
7097
7098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7100 {
7101 arg2 = wxString_in_helper(obj1);
7102 if (arg2 == NULL) SWIG_fail;
e811c8ce 7103 temp2 = True;
d14a1e28
RD
7104 }
7105 {
7106 PyThreadState* __tstate = wxPyBeginAllowThreads();
7107 (arg1)->AppendText((wxString const &)*arg2);
7108
7109 wxPyEndAllowThreads(__tstate);
7110 if (PyErr_Occurred()) SWIG_fail;
7111 }
7112 Py_INCREF(Py_None); resultobj = Py_None;
7113 {
7114 if (temp2)
7115 delete arg2;
7116 }
7117 return resultobj;
7118 fail:
7119 {
7120 if (temp2)
7121 delete arg2;
7122 }
7123 return NULL;
7124}
7125
7126
7127static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj;
7129 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7130 wxKeyEvent *arg2 = 0 ;
7131 bool result;
7132 PyObject * obj0 = 0 ;
7133 PyObject * obj1 = 0 ;
7134 char *kwnames[] = {
7135 (char *) "self",(char *) "event", NULL
7136 };
7137
7138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7140 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7141 if (arg2 == NULL) {
7142 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7143 }
7144 {
7145 PyThreadState* __tstate = wxPyBeginAllowThreads();
7146 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7147
7148 wxPyEndAllowThreads(__tstate);
7149 if (PyErr_Occurred()) SWIG_fail;
7150 }
7151 resultobj = PyInt_FromLong((long)result);
7152 return resultobj;
7153 fail:
7154 return NULL;
7155}
7156
7157
7158static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7159 PyObject *resultobj;
7160 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7161 long arg2 ;
7162 long arg3 ;
7163 wxTextAttr *arg4 = 0 ;
7164 bool result;
7165 PyObject * obj0 = 0 ;
7166 PyObject * obj3 = 0 ;
7167 char *kwnames[] = {
7168 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7169 };
7170
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7173 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7174 if (arg4 == NULL) {
7175 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7176 }
7177 {
7178 PyThreadState* __tstate = wxPyBeginAllowThreads();
7179 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7180
7181 wxPyEndAllowThreads(__tstate);
7182 if (PyErr_Occurred()) SWIG_fail;
7183 }
7184 resultobj = PyInt_FromLong((long)result);
7185 return resultobj;
7186 fail:
7187 return NULL;
7188}
7189
7190
7191static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7192 PyObject *resultobj;
7193 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7194 long arg2 ;
7195 wxTextAttr *arg3 = 0 ;
7196 bool result;
7197 PyObject * obj0 = 0 ;
7198 PyObject * obj2 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self",(char *) "position",(char *) "style", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7206 if (arg3 == NULL) {
7207 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7208 }
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 resultobj = PyInt_FromLong((long)result);
7217 return resultobj;
7218 fail:
7219 return NULL;
7220}
7221
7222
7223static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7224 PyObject *resultobj;
7225 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7226 wxTextAttr *arg2 = 0 ;
7227 bool result;
7228 PyObject * obj0 = 0 ;
7229 PyObject * obj1 = 0 ;
7230 char *kwnames[] = {
7231 (char *) "self",(char *) "style", NULL
7232 };
7233
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7236 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7237 if (arg2 == NULL) {
7238 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7239 }
7240 {
7241 PyThreadState* __tstate = wxPyBeginAllowThreads();
7242 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7243
7244 wxPyEndAllowThreads(__tstate);
7245 if (PyErr_Occurred()) SWIG_fail;
7246 }
7247 resultobj = PyInt_FromLong((long)result);
7248 return resultobj;
7249 fail:
7250 return NULL;
7251}
7252
7253
7254static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7255 PyObject *resultobj;
7256 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7257 wxTextAttr *result;
7258 PyObject * obj0 = 0 ;
7259 char *kwnames[] = {
7260 (char *) "self", NULL
7261 };
7262
7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7265 {
7266 PyThreadState* __tstate = wxPyBeginAllowThreads();
7267 {
7268 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7269 result = (wxTextAttr *) &_result_ref;
7270 }
7271
7272 wxPyEndAllowThreads(__tstate);
7273 if (PyErr_Occurred()) SWIG_fail;
7274 }
7275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7276 return resultobj;
7277 fail:
7278 return NULL;
7279}
7280
7281
7282static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7283 PyObject *resultobj;
7284 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7285 long arg2 ;
7286 long arg3 ;
7287 long result;
7288 PyObject * obj0 = 0 ;
7289 char *kwnames[] = {
7290 (char *) "self",(char *) "x",(char *) "y", NULL
7291 };
7292
7293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7295 {
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7298
7299 wxPyEndAllowThreads(__tstate);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
7302 resultobj = PyInt_FromLong((long)result);
7303 return resultobj;
7304 fail:
7305 return NULL;
7306}
7307
7308
7309static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7310 PyObject *resultobj;
7311 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7312 long arg2 ;
7313 long *arg3 = (long *) 0 ;
7314 long *arg4 = (long *) 0 ;
7315 long temp3 ;
7316 long temp4 ;
7317 PyObject * obj0 = 0 ;
7318 char *kwnames[] = {
7319 (char *) "self",(char *) "pos", NULL
7320 };
7321
7322 arg3 = &temp3;
7323 arg4 = &temp4;
7324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7326 {
7327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7328 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7329
7330 wxPyEndAllowThreads(__tstate);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 }
7333 Py_INCREF(Py_None); resultobj = Py_None;
7334 {
7335 PyObject *o = PyInt_FromLong((long) (*arg3));
7336 resultobj = t_output_helper(resultobj,o);
7337 }
7338 {
7339 PyObject *o = PyInt_FromLong((long) (*arg4));
7340 resultobj = t_output_helper(resultobj,o);
7341 }
7342 return resultobj;
7343 fail:
7344 return NULL;
7345}
7346
7347
7348static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7349 PyObject *resultobj;
7350 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7351 long arg2 ;
7352 PyObject * obj0 = 0 ;
7353 char *kwnames[] = {
7354 (char *) "self",(char *) "pos", NULL
7355 };
7356
7357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7359 {
7360 PyThreadState* __tstate = wxPyBeginAllowThreads();
7361 (arg1)->ShowPosition(arg2);
7362
7363 wxPyEndAllowThreads(__tstate);
7364 if (PyErr_Occurred()) SWIG_fail;
7365 }
7366 Py_INCREF(Py_None); resultobj = Py_None;
7367 return resultobj;
7368 fail:
7369 return NULL;
7370}
7371
7372
7373static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7374 PyObject *resultobj;
7375 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7376 PyObject * obj0 = 0 ;
7377 char *kwnames[] = {
7378 (char *) "self", NULL
7379 };
7380
7381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7383 {
7384 PyThreadState* __tstate = wxPyBeginAllowThreads();
7385 (arg1)->Copy();
7386
7387 wxPyEndAllowThreads(__tstate);
7388 if (PyErr_Occurred()) SWIG_fail;
7389 }
7390 Py_INCREF(Py_None); resultobj = Py_None;
7391 return resultobj;
7392 fail:
7393 return NULL;
7394}
7395
7396
7397static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7398 PyObject *resultobj;
7399 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7400 PyObject * obj0 = 0 ;
7401 char *kwnames[] = {
7402 (char *) "self", NULL
7403 };
7404
7405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7407 {
7408 PyThreadState* __tstate = wxPyBeginAllowThreads();
7409 (arg1)->Cut();
7410
7411 wxPyEndAllowThreads(__tstate);
7412 if (PyErr_Occurred()) SWIG_fail;
7413 }
7414 Py_INCREF(Py_None); resultobj = Py_None;
7415 return resultobj;
7416 fail:
7417 return NULL;
7418}
7419
7420
7421static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7422 PyObject *resultobj;
7423 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7424 PyObject * obj0 = 0 ;
7425 char *kwnames[] = {
7426 (char *) "self", NULL
7427 };
7428
7429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7431 {
7432 PyThreadState* __tstate = wxPyBeginAllowThreads();
7433 (arg1)->Paste();
7434
7435 wxPyEndAllowThreads(__tstate);
7436 if (PyErr_Occurred()) SWIG_fail;
7437 }
7438 Py_INCREF(Py_None); resultobj = Py_None;
7439 return resultobj;
7440 fail:
7441 return NULL;
7442}
7443
7444
7445static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7446 PyObject *resultobj;
7447 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7448 bool result;
7449 PyObject * obj0 = 0 ;
7450 char *kwnames[] = {
7451 (char *) "self", NULL
7452 };
7453
7454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7456 {
7457 PyThreadState* __tstate = wxPyBeginAllowThreads();
7458 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7459
7460 wxPyEndAllowThreads(__tstate);
7461 if (PyErr_Occurred()) SWIG_fail;
7462 }
7463 resultobj = PyInt_FromLong((long)result);
7464 return resultobj;
7465 fail:
7466 return NULL;
7467}
7468
7469
7470static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7471 PyObject *resultobj;
7472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7473 bool result;
7474 PyObject * obj0 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 resultobj = PyInt_FromLong((long)result);
7489 return resultobj;
7490 fail:
7491 return NULL;
7492}
7493
7494
7495static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7498 bool result;
7499 PyObject * obj0 = 0 ;
7500 char *kwnames[] = {
7501 (char *) "self", NULL
7502 };
7503
7504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7506 {
7507 PyThreadState* __tstate = wxPyBeginAllowThreads();
7508 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7509
7510 wxPyEndAllowThreads(__tstate);
7511 if (PyErr_Occurred()) SWIG_fail;
7512 }
7513 resultobj = PyInt_FromLong((long)result);
7514 return resultobj;
7515 fail:
7516 return NULL;
7517}
7518
7519
7520static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7521 PyObject *resultobj;
7522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7523 PyObject * obj0 = 0 ;
7524 char *kwnames[] = {
7525 (char *) "self", NULL
7526 };
7527
7528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7530 {
7531 PyThreadState* __tstate = wxPyBeginAllowThreads();
7532 (arg1)->Undo();
7533
7534 wxPyEndAllowThreads(__tstate);
7535 if (PyErr_Occurred()) SWIG_fail;
7536 }
7537 Py_INCREF(Py_None); resultobj = Py_None;
7538 return resultobj;
7539 fail:
7540 return NULL;
7541}
7542
7543
7544static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7545 PyObject *resultobj;
7546 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7547 PyObject * obj0 = 0 ;
7548 char *kwnames[] = {
7549 (char *) "self", NULL
7550 };
7551
7552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7554 {
7555 PyThreadState* __tstate = wxPyBeginAllowThreads();
7556 (arg1)->Redo();
7557
7558 wxPyEndAllowThreads(__tstate);
7559 if (PyErr_Occurred()) SWIG_fail;
7560 }
7561 Py_INCREF(Py_None); resultobj = Py_None;
7562 return resultobj;
7563 fail:
7564 return NULL;
7565}
7566
7567
7568static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7569 PyObject *resultobj;
7570 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7571 bool result;
7572 PyObject * obj0 = 0 ;
7573 char *kwnames[] = {
7574 (char *) "self", NULL
7575 };
7576
7577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7579 {
7580 PyThreadState* __tstate = wxPyBeginAllowThreads();
7581 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7582
7583 wxPyEndAllowThreads(__tstate);
7584 if (PyErr_Occurred()) SWIG_fail;
7585 }
7586 resultobj = PyInt_FromLong((long)result);
7587 return resultobj;
7588 fail:
7589 return NULL;
7590}
7591
7592
7593static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7594 PyObject *resultobj;
7595 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7596 bool result;
7597 PyObject * obj0 = 0 ;
7598 char *kwnames[] = {
7599 (char *) "self", NULL
7600 };
7601
7602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 resultobj = PyInt_FromLong((long)result);
7612 return resultobj;
7613 fail:
7614 return NULL;
7615}
7616
7617
7618static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject *resultobj;
7620 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7621 long arg2 ;
7622 PyObject * obj0 = 0 ;
7623 char *kwnames[] = {
7624 (char *) "self",(char *) "pos", NULL
7625 };
7626
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 (arg1)->SetInsertionPoint(arg2);
7632
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
7636 Py_INCREF(Py_None); resultobj = Py_None;
7637 return resultobj;
7638 fail:
7639 return NULL;
7640}
7641
7642
7643static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj;
7645 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7646 PyObject * obj0 = 0 ;
7647 char *kwnames[] = {
7648 (char *) "self", NULL
7649 };
7650
7651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7653 {
7654 PyThreadState* __tstate = wxPyBeginAllowThreads();
7655 (arg1)->SetInsertionPointEnd();
7656
7657 wxPyEndAllowThreads(__tstate);
7658 if (PyErr_Occurred()) SWIG_fail;
7659 }
7660 Py_INCREF(Py_None); resultobj = Py_None;
7661 return resultobj;
7662 fail:
7663 return NULL;
7664}
7665
7666
7667static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7668 PyObject *resultobj;
7669 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7670 long result;
7671 PyObject * obj0 = 0 ;
7672 char *kwnames[] = {
7673 (char *) "self", NULL
7674 };
7675
7676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7681
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
7685 resultobj = PyInt_FromLong((long)result);
7686 return resultobj;
7687 fail:
7688 return NULL;
7689}
7690
7691
7692static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7693 PyObject *resultobj;
7694 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7695 long result;
7696 PyObject * obj0 = 0 ;
7697 char *kwnames[] = {
7698 (char *) "self", NULL
7699 };
7700
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7703 {
7704 PyThreadState* __tstate = wxPyBeginAllowThreads();
7705 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7706
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 resultobj = PyInt_FromLong((long)result);
7711 return resultobj;
7712 fail:
7713 return NULL;
7714}
7715
7716
7717static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7718 PyObject *resultobj;
7719 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7720 long arg2 ;
7721 long arg3 ;
7722 PyObject * obj0 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self",(char *) "from",(char *) "to", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 (arg1)->SetSelection(arg2,arg3);
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 Py_INCREF(Py_None); resultobj = Py_None;
7737 return resultobj;
7738 fail:
7739 return NULL;
7740}
7741
7742
7743static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj;
7745 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7746 PyObject * obj0 = 0 ;
7747 char *kwnames[] = {
7748 (char *) "self", NULL
7749 };
7750
7751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 (arg1)->SelectAll();
7756
7757 wxPyEndAllowThreads(__tstate);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 Py_INCREF(Py_None); resultobj = Py_None;
7761 return resultobj;
7762 fail:
7763 return NULL;
7764}
7765
7766
7767static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7770 bool arg2 ;
7771 PyObject * obj0 = 0 ;
7772 PyObject * obj1 = 0 ;
7773 char *kwnames[] = {
7774 (char *) "self",(char *) "editable", NULL
7775 };
7776
7777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7779 arg2 = PyInt_AsLong(obj1) ? true : false;
7780 if (PyErr_Occurred()) SWIG_fail;
7781 {
7782 PyThreadState* __tstate = wxPyBeginAllowThreads();
7783 (arg1)->SetEditable(arg2);
7784
7785 wxPyEndAllowThreads(__tstate);
7786 if (PyErr_Occurred()) SWIG_fail;
7787 }
7788 Py_INCREF(Py_None); resultobj = Py_None;
7789 return resultobj;
7790 fail:
7791 return NULL;
7792}
7793
7794
7795static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7796 PyObject *resultobj;
7797 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7798 wxString *arg2 = 0 ;
e811c8ce 7799 bool temp2 = False ;
d14a1e28
RD
7800 PyObject * obj0 = 0 ;
7801 PyObject * obj1 = 0 ;
7802 char *kwnames[] = {
7803 (char *) "self",(char *) "text", NULL
7804 };
7805
7806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7808 {
7809 arg2 = wxString_in_helper(obj1);
7810 if (arg2 == NULL) SWIG_fail;
e811c8ce 7811 temp2 = True;
d14a1e28
RD
7812 }
7813 {
7814 PyThreadState* __tstate = wxPyBeginAllowThreads();
7815 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7816
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 Py_INCREF(Py_None); resultobj = Py_None;
7821 {
7822 if (temp2)
7823 delete arg2;
7824 }
7825 return resultobj;
7826 fail:
7827 {
7828 if (temp2)
7829 delete arg2;
7830 }
7831 return NULL;
7832}
7833
7834
7835static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7836 PyObject *resultobj;
7837 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7838 long arg2 ;
7839 long arg3 ;
7840 wxString result;
7841 PyObject * obj0 = 0 ;
7842 char *kwnames[] = {
7843 (char *) "self",(char *) "from",(char *) "to", NULL
7844 };
7845
7846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7848 {
7849 PyThreadState* __tstate = wxPyBeginAllowThreads();
7850 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7851
7852 wxPyEndAllowThreads(__tstate);
7853 if (PyErr_Occurred()) SWIG_fail;
7854 }
7855 {
7856#if wxUSE_UNICODE
7857 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7858#else
7859 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7860#endif
7861 }
7862 return resultobj;
7863 fail:
7864 return NULL;
7865}
7866
7867
7868static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7869 PyObject *obj;
7870 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7871 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7872 Py_INCREF(obj);
7873 return Py_BuildValue((char *)"");
7874}
7875static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7876 PyObject *resultobj;
7877 int arg1 ;
7878 wxMouseEvent *arg2 = 0 ;
7879 long arg3 ;
7880 long arg4 ;
7881 wxTextUrlEvent *result;
7882 PyObject * obj1 = 0 ;
7883 char *kwnames[] = {
7884 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7885 };
7886
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
7888 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7889 if (arg2 == NULL) {
7890 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7891 }
7892 {
7893 PyThreadState* __tstate = wxPyBeginAllowThreads();
7894 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
7895
7896 wxPyEndAllowThreads(__tstate);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
7900 return resultobj;
7901 fail:
7902 return NULL;
7903}
7904
7905
7906static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7907 PyObject *resultobj;
7908 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7909 wxMouseEvent *result;
7910 PyObject * obj0 = 0 ;
7911 char *kwnames[] = {
7912 (char *) "self", NULL
7913 };
7914
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
7916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 {
7920 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
7921 result = (wxMouseEvent *) &_result_ref;
7922 }
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
7928 return resultobj;
7929 fail:
7930 return NULL;
7931}
7932
7933
7934static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7935 PyObject *resultobj;
7936 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7937 long result;
7938 PyObject * obj0 = 0 ;
7939 char *kwnames[] = {
7940 (char *) "self", NULL
7941 };
7942
7943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
7944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7945 {
7946 PyThreadState* __tstate = wxPyBeginAllowThreads();
7947 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
7948
7949 wxPyEndAllowThreads(__tstate);
7950 if (PyErr_Occurred()) SWIG_fail;
7951 }
7952 resultobj = PyInt_FromLong((long)result);
7953 return resultobj;
7954 fail:
7955 return NULL;
7956}
7957
7958
7959static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7960 PyObject *resultobj;
7961 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7962 long result;
7963 PyObject * obj0 = 0 ;
7964 char *kwnames[] = {
7965 (char *) "self", NULL
7966 };
7967
7968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
7969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7970 {
7971 PyThreadState* __tstate = wxPyBeginAllowThreads();
7972 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
7973
7974 wxPyEndAllowThreads(__tstate);
7975 if (PyErr_Occurred()) SWIG_fail;
7976 }
7977 resultobj = PyInt_FromLong((long)result);
7978 return resultobj;
7979 fail:
7980 return NULL;
7981}
7982
7983
7984static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
7985 PyObject *obj;
7986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7987 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
7988 Py_INCREF(obj);
7989 return Py_BuildValue((char *)"");
7990}
7991static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7992 PyObject *resultobj;
7993 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 7994 int arg2 = (int) -1 ;
d14a1e28
RD
7995 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7996 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7997 wxSize const &arg4_defvalue = wxDefaultSize ;
7998 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7999 long arg5 = (long) wxSB_HORIZONTAL ;
8000 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8001 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8002 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8003 wxString *arg7 = (wxString *) &arg7_defvalue ;
8004 wxScrollBar *result;
8005 wxPoint temp3 ;
8006 wxSize temp4 ;
e811c8ce 8007 bool temp7 = False ;
d14a1e28
RD
8008 PyObject * obj0 = 0 ;
8009 PyObject * obj2 = 0 ;
8010 PyObject * obj3 = 0 ;
8011 PyObject * obj5 = 0 ;
8012 PyObject * obj6 = 0 ;
8013 char *kwnames[] = {
8014 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8015 };
8016
8017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8019 if (obj2) {
8020 {
8021 arg3 = &temp3;
8022 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8023 }
8024 }
8025 if (obj3) {
8026 {
8027 arg4 = &temp4;
8028 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8029 }
8030 }
8031 if (obj5) {
8032 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8033 if (arg6 == NULL) {
8034 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8035 }
8036 }
8037 if (obj6) {
8038 {
8039 arg7 = wxString_in_helper(obj6);
8040 if (arg7 == NULL) SWIG_fail;
e811c8ce 8041 temp7 = True;
d14a1e28
RD
8042 }
8043 }
8044 {
8045 PyThreadState* __tstate = wxPyBeginAllowThreads();
8046 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8047
8048 wxPyEndAllowThreads(__tstate);
8049 if (PyErr_Occurred()) SWIG_fail;
8050 }
8051 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8052 {
8053 if (temp7)
8054 delete arg7;
8055 }
8056 return resultobj;
8057 fail:
8058 {
8059 if (temp7)
8060 delete arg7;
8061 }
8062 return NULL;
8063}
8064
8065
8066static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8067 PyObject *resultobj;
8068 wxScrollBar *result;
8069 char *kwnames[] = {
8070 NULL
8071 };
8072
8073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8074 {
8075 PyThreadState* __tstate = wxPyBeginAllowThreads();
8076 result = (wxScrollBar *)new wxScrollBar();
8077
8078 wxPyEndAllowThreads(__tstate);
8079 if (PyErr_Occurred()) SWIG_fail;
8080 }
8081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8082 return resultobj;
8083 fail:
8084 return NULL;
8085}
8086
8087
8088static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8089 PyObject *resultobj;
8090 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8091 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 8092 int arg3 = (int) -1 ;
d14a1e28
RD
8093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8095 wxSize const &arg5_defvalue = wxDefaultSize ;
8096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8097 long arg6 = (long) wxSB_HORIZONTAL ;
8098 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8099 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8100 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8101 wxString *arg8 = (wxString *) &arg8_defvalue ;
8102 bool result;
8103 wxPoint temp4 ;
8104 wxSize temp5 ;
e811c8ce 8105 bool temp8 = False ;
d14a1e28
RD
8106 PyObject * obj0 = 0 ;
8107 PyObject * obj1 = 0 ;
8108 PyObject * obj3 = 0 ;
8109 PyObject * obj4 = 0 ;
8110 PyObject * obj6 = 0 ;
8111 PyObject * obj7 = 0 ;
8112 char *kwnames[] = {
8113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8114 };
8115
8116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8119 if (obj3) {
8120 {
8121 arg4 = &temp4;
8122 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8123 }
8124 }
8125 if (obj4) {
8126 {
8127 arg5 = &temp5;
8128 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8129 }
8130 }
8131 if (obj6) {
8132 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8133 if (arg7 == NULL) {
8134 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8135 }
8136 }
8137 if (obj7) {
8138 {
8139 arg8 = wxString_in_helper(obj7);
8140 if (arg8 == NULL) SWIG_fail;
e811c8ce 8141 temp8 = True;
d14a1e28
RD
8142 }
8143 }
8144 {
8145 PyThreadState* __tstate = wxPyBeginAllowThreads();
8146 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8147
8148 wxPyEndAllowThreads(__tstate);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 }
8151 resultobj = PyInt_FromLong((long)result);
8152 {
8153 if (temp8)
8154 delete arg8;
8155 }
8156 return resultobj;
8157 fail:
8158 {
8159 if (temp8)
8160 delete arg8;
8161 }
8162 return NULL;
8163}
8164
8165
8166static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8167 PyObject *resultobj;
8168 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8169 int result;
8170 PyObject * obj0 = 0 ;
8171 char *kwnames[] = {
8172 (char *) "self", NULL
8173 };
8174
8175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8177 {
8178 PyThreadState* __tstate = wxPyBeginAllowThreads();
8179 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8180
8181 wxPyEndAllowThreads(__tstate);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 }
8184 resultobj = PyInt_FromLong((long)result);
8185 return resultobj;
8186 fail:
8187 return NULL;
8188}
8189
8190
8191static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj;
8193 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8194 int result;
8195 PyObject * obj0 = 0 ;
8196 char *kwnames[] = {
8197 (char *) "self", NULL
8198 };
8199
8200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8202 {
8203 PyThreadState* __tstate = wxPyBeginAllowThreads();
8204 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8205
8206 wxPyEndAllowThreads(__tstate);
8207 if (PyErr_Occurred()) SWIG_fail;
8208 }
8209 resultobj = PyInt_FromLong((long)result);
8210 return resultobj;
8211 fail:
8212 return NULL;
8213}
8214
8215
8216static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8217 PyObject *resultobj;
8218 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8219 int result;
8220 PyObject * obj0 = 0 ;
8221 char *kwnames[] = {
8222 (char *) "self", NULL
8223 };
8224
8225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8227 {
8228 PyThreadState* __tstate = wxPyBeginAllowThreads();
8229 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8230
8231 wxPyEndAllowThreads(__tstate);
8232 if (PyErr_Occurred()) SWIG_fail;
8233 }
8234 resultobj = PyInt_FromLong((long)result);
8235 return resultobj;
8236 fail:
8237 return NULL;
8238}
8239
8240
8241static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8242 PyObject *resultobj;
8243 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8244 int result;
8245 PyObject * obj0 = 0 ;
8246 char *kwnames[] = {
8247 (char *) "self", NULL
8248 };
8249
8250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (int)((wxScrollBar const *)arg1)->GetRange();
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 resultobj = PyInt_FromLong((long)result);
8260 return resultobj;
8261 fail:
8262 return NULL;
8263}
8264
8265
8266static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8267 PyObject *resultobj;
8268 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8269 bool result;
8270 PyObject * obj0 = 0 ;
8271 char *kwnames[] = {
8272 (char *) "self", NULL
8273 };
8274
8275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8280
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 resultobj = PyInt_FromLong((long)result);
8285 return resultobj;
8286 fail:
8287 return NULL;
8288}
8289
8290
8291static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8292 PyObject *resultobj;
8293 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8294 int arg2 ;
8295 PyObject * obj0 = 0 ;
8296 char *kwnames[] = {
8297 (char *) "self",(char *) "viewStart", NULL
8298 };
8299
8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8302 {
8303 PyThreadState* __tstate = wxPyBeginAllowThreads();
8304 (arg1)->SetThumbPosition(arg2);
8305
8306 wxPyEndAllowThreads(__tstate);
8307 if (PyErr_Occurred()) SWIG_fail;
8308 }
8309 Py_INCREF(Py_None); resultobj = Py_None;
8310 return resultobj;
8311 fail:
8312 return NULL;
8313}
8314
8315
8316static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8317 PyObject *resultobj;
8318 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8319 int arg2 ;
8320 int arg3 ;
8321 int arg4 ;
8322 int arg5 ;
e811c8ce 8323 bool arg6 = (bool) True ;
d14a1e28
RD
8324 PyObject * obj0 = 0 ;
8325 PyObject * obj5 = 0 ;
8326 char *kwnames[] = {
8327 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8328 };
8329
8330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8332 if (obj5) {
8333 arg6 = PyInt_AsLong(obj5) ? true : false;
8334 if (PyErr_Occurred()) SWIG_fail;
8335 }
8336 {
8337 PyThreadState* __tstate = wxPyBeginAllowThreads();
8338 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8339
8340 wxPyEndAllowThreads(__tstate);
8341 if (PyErr_Occurred()) SWIG_fail;
8342 }
8343 Py_INCREF(Py_None); resultobj = Py_None;
8344 return resultobj;
8345 fail:
8346 return NULL;
8347}
8348
8349
8350static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8351 PyObject *obj;
8352 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8353 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8354 Py_INCREF(obj);
8355 return Py_BuildValue((char *)"");
8356}
8357static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8358 PyObject *resultobj;
8359 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 8360 int arg2 = (int) -1 ;
d14a1e28
RD
8361 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8362 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8363 wxSize const &arg4_defvalue = wxDefaultSize ;
8364 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8365 long arg5 = (long) wxSP_HORIZONTAL ;
8366 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8367 wxString *arg6 = (wxString *) &arg6_defvalue ;
8368 wxSpinButton *result;
8369 wxPoint temp3 ;
8370 wxSize temp4 ;
e811c8ce 8371 bool temp6 = False ;
d14a1e28
RD
8372 PyObject * obj0 = 0 ;
8373 PyObject * obj2 = 0 ;
8374 PyObject * obj3 = 0 ;
8375 PyObject * obj5 = 0 ;
8376 char *kwnames[] = {
8377 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8378 };
8379
8380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8382 if (obj2) {
8383 {
8384 arg3 = &temp3;
8385 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8386 }
8387 }
8388 if (obj3) {
8389 {
8390 arg4 = &temp4;
8391 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8392 }
8393 }
8394 if (obj5) {
8395 {
8396 arg6 = wxString_in_helper(obj5);
8397 if (arg6 == NULL) SWIG_fail;
e811c8ce 8398 temp6 = True;
d14a1e28
RD
8399 }
8400 }
8401 {
8402 PyThreadState* __tstate = wxPyBeginAllowThreads();
8403 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8404
8405 wxPyEndAllowThreads(__tstate);
8406 if (PyErr_Occurred()) SWIG_fail;
8407 }
8408 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8409 {
8410 if (temp6)
8411 delete arg6;
8412 }
8413 return resultobj;
8414 fail:
8415 {
8416 if (temp6)
8417 delete arg6;
8418 }
8419 return NULL;
8420}
8421
8422
8423static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj;
8425 wxSpinButton *result;
8426 char *kwnames[] = {
8427 NULL
8428 };
8429
8430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8431 {
8432 PyThreadState* __tstate = wxPyBeginAllowThreads();
8433 result = (wxSpinButton *)new wxSpinButton();
8434
8435 wxPyEndAllowThreads(__tstate);
8436 if (PyErr_Occurred()) SWIG_fail;
8437 }
8438 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8439 return resultobj;
8440 fail:
8441 return NULL;
8442}
8443
8444
8445static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8446 PyObject *resultobj;
8447 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8448 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 8449 int arg3 = (int) -1 ;
d14a1e28
RD
8450 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8451 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8452 wxSize const &arg5_defvalue = wxDefaultSize ;
8453 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8454 long arg6 = (long) wxSP_HORIZONTAL ;
8455 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8456 wxString *arg7 = (wxString *) &arg7_defvalue ;
8457 bool result;
8458 wxPoint temp4 ;
8459 wxSize temp5 ;
e811c8ce 8460 bool temp7 = False ;
d14a1e28
RD
8461 PyObject * obj0 = 0 ;
8462 PyObject * obj1 = 0 ;
8463 PyObject * obj3 = 0 ;
8464 PyObject * obj4 = 0 ;
8465 PyObject * obj6 = 0 ;
8466 char *kwnames[] = {
8467 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8468 };
8469
8470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8473 if (obj3) {
8474 {
8475 arg4 = &temp4;
8476 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8477 }
8478 }
8479 if (obj4) {
8480 {
8481 arg5 = &temp5;
8482 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8483 }
8484 }
8485 if (obj6) {
8486 {
8487 arg7 = wxString_in_helper(obj6);
8488 if (arg7 == NULL) SWIG_fail;
e811c8ce 8489 temp7 = True;
d14a1e28
RD
8490 }
8491 }
8492 {
8493 PyThreadState* __tstate = wxPyBeginAllowThreads();
8494 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8495
8496 wxPyEndAllowThreads(__tstate);
8497 if (PyErr_Occurred()) SWIG_fail;
8498 }
8499 resultobj = PyInt_FromLong((long)result);
8500 {
8501 if (temp7)
8502 delete arg7;
8503 }
8504 return resultobj;
8505 fail:
8506 {
8507 if (temp7)
8508 delete arg7;
8509 }
8510 return NULL;
8511}
8512
8513
8514static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8515 PyObject *resultobj;
8516 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8517 int result;
8518 PyObject * obj0 = 0 ;
8519 char *kwnames[] = {
8520 (char *) "self", NULL
8521 };
8522
8523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8525 {
8526 PyThreadState* __tstate = wxPyBeginAllowThreads();
8527 result = (int)((wxSpinButton const *)arg1)->GetValue();
8528
8529 wxPyEndAllowThreads(__tstate);
8530 if (PyErr_Occurred()) SWIG_fail;
8531 }
8532 resultobj = PyInt_FromLong((long)result);
8533 return resultobj;
8534 fail:
8535 return NULL;
8536}
8537
8538
8539static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8540 PyObject *resultobj;
8541 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8542 int result;
8543 PyObject * obj0 = 0 ;
8544 char *kwnames[] = {
8545 (char *) "self", NULL
8546 };
8547
8548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8550 {
8551 PyThreadState* __tstate = wxPyBeginAllowThreads();
8552 result = (int)((wxSpinButton const *)arg1)->GetMin();
8553
8554 wxPyEndAllowThreads(__tstate);
8555 if (PyErr_Occurred()) SWIG_fail;
8556 }
8557 resultobj = PyInt_FromLong((long)result);
8558 return resultobj;
8559 fail:
8560 return NULL;
8561}
8562
8563
8564static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8565 PyObject *resultobj;
8566 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8567 int result;
8568 PyObject * obj0 = 0 ;
8569 char *kwnames[] = {
8570 (char *) "self", NULL
8571 };
8572
8573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8575 {
8576 PyThreadState* __tstate = wxPyBeginAllowThreads();
8577 result = (int)((wxSpinButton const *)arg1)->GetMax();
8578
8579 wxPyEndAllowThreads(__tstate);
8580 if (PyErr_Occurred()) SWIG_fail;
8581 }
8582 resultobj = PyInt_FromLong((long)result);
8583 return resultobj;
8584 fail:
8585 return NULL;
8586}
8587
8588
8589static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8590 PyObject *resultobj;
8591 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8592 int arg2 ;
8593 PyObject * obj0 = 0 ;
8594 char *kwnames[] = {
8595 (char *) "self",(char *) "val", NULL
8596 };
8597
8598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8600 {
8601 PyThreadState* __tstate = wxPyBeginAllowThreads();
8602 (arg1)->SetValue(arg2);
8603
8604 wxPyEndAllowThreads(__tstate);
8605 if (PyErr_Occurred()) SWIG_fail;
8606 }
8607 Py_INCREF(Py_None); resultobj = Py_None;
8608 return resultobj;
8609 fail:
8610 return NULL;
8611}
8612
8613
8614static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8615 PyObject *resultobj;
8616 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8617 int arg2 ;
8618 PyObject * obj0 = 0 ;
8619 char *kwnames[] = {
8620 (char *) "self",(char *) "minVal", NULL
8621 };
8622
8623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8625 {
8626 PyThreadState* __tstate = wxPyBeginAllowThreads();
8627 (arg1)->SetMin(arg2);
8628
8629 wxPyEndAllowThreads(__tstate);
8630 if (PyErr_Occurred()) SWIG_fail;
8631 }
8632 Py_INCREF(Py_None); resultobj = Py_None;
8633 return resultobj;
8634 fail:
8635 return NULL;
8636}
8637
8638
8639static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8640 PyObject *resultobj;
8641 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8642 int arg2 ;
8643 PyObject * obj0 = 0 ;
8644 char *kwnames[] = {
8645 (char *) "self",(char *) "maxVal", NULL
8646 };
8647
8648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8650 {
8651 PyThreadState* __tstate = wxPyBeginAllowThreads();
8652 (arg1)->SetMax(arg2);
8653
8654 wxPyEndAllowThreads(__tstate);
8655 if (PyErr_Occurred()) SWIG_fail;
8656 }
8657 Py_INCREF(Py_None); resultobj = Py_None;
8658 return resultobj;
8659 fail:
8660 return NULL;
8661}
8662
8663
8664static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8665 PyObject *resultobj;
8666 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8667 int arg2 ;
8668 int arg3 ;
8669 PyObject * obj0 = 0 ;
8670 char *kwnames[] = {
8671 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8672 };
8673
8674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8676 {
8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
8678 (arg1)->SetRange(arg2,arg3);
8679
8680 wxPyEndAllowThreads(__tstate);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
8683 Py_INCREF(Py_None); resultobj = Py_None;
8684 return resultobj;
8685 fail:
8686 return NULL;
8687}
8688
8689
8690static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8691 PyObject *resultobj;
8692 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8693 bool result;
8694 PyObject * obj0 = 0 ;
8695 char *kwnames[] = {
8696 (char *) "self", NULL
8697 };
8698
8699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8701 {
8702 PyThreadState* __tstate = wxPyBeginAllowThreads();
8703 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8704
8705 wxPyEndAllowThreads(__tstate);
8706 if (PyErr_Occurred()) SWIG_fail;
8707 }
8708 resultobj = PyInt_FromLong((long)result);
8709 return resultobj;
8710 fail:
8711 return NULL;
8712}
8713
8714
8715static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8716 PyObject *obj;
8717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8718 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8719 Py_INCREF(obj);
8720 return Py_BuildValue((char *)"");
8721}
8722static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8723 PyObject *resultobj;
8724 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 8725 int arg2 = (int) -1 ;
d14a1e28
RD
8726 wxString const &arg3_defvalue = wxPyEmptyString ;
8727 wxString *arg3 = (wxString *) &arg3_defvalue ;
8728 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8729 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8730 wxSize const &arg5_defvalue = wxDefaultSize ;
8731 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8732 long arg6 = (long) wxSP_ARROW_KEYS ;
8733 int arg7 = (int) 0 ;
8734 int arg8 = (int) 100 ;
8735 int arg9 = (int) 0 ;
8736 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8737 wxString *arg10 = (wxString *) &arg10_defvalue ;
8738 wxSpinCtrl *result;
e811c8ce 8739 bool temp3 = False ;
d14a1e28
RD
8740 wxPoint temp4 ;
8741 wxSize temp5 ;
e811c8ce 8742 bool temp10 = False ;
d14a1e28
RD
8743 PyObject * obj0 = 0 ;
8744 PyObject * obj2 = 0 ;
8745 PyObject * obj3 = 0 ;
8746 PyObject * obj4 = 0 ;
8747 PyObject * obj9 = 0 ;
8748 char *kwnames[] = {
8749 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8750 };
8751
8752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8754 if (obj2) {
8755 {
8756 arg3 = wxString_in_helper(obj2);
8757 if (arg3 == NULL) SWIG_fail;
e811c8ce 8758 temp3 = True;
d14a1e28
RD
8759 }
8760 }
8761 if (obj3) {
8762 {
8763 arg4 = &temp4;
8764 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8765 }
8766 }
8767 if (obj4) {
8768 {
8769 arg5 = &temp5;
8770 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8771 }
8772 }
8773 if (obj9) {
8774 {
8775 arg10 = wxString_in_helper(obj9);
8776 if (arg10 == NULL) SWIG_fail;
e811c8ce 8777 temp10 = True;
d14a1e28
RD
8778 }
8779 }
8780 {
8781 PyThreadState* __tstate = wxPyBeginAllowThreads();
8782 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8783
8784 wxPyEndAllowThreads(__tstate);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 }
8787 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8788 {
8789 if (temp3)
8790 delete arg3;
8791 }
8792 {
8793 if (temp10)
8794 delete arg10;
8795 }
8796 return resultobj;
8797 fail:
8798 {
8799 if (temp3)
8800 delete arg3;
8801 }
8802 {
8803 if (temp10)
8804 delete arg10;
8805 }
8806 return NULL;
8807}
8808
8809
8810static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxSpinCtrl *result;
8813 char *kwnames[] = {
8814 NULL
8815 };
8816
8817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8818 {
8819 PyThreadState* __tstate = wxPyBeginAllowThreads();
8820 result = (wxSpinCtrl *)new wxSpinCtrl();
8821
8822 wxPyEndAllowThreads(__tstate);
8823 if (PyErr_Occurred()) SWIG_fail;
8824 }
8825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8826 return resultobj;
8827 fail:
8828 return NULL;
8829}
8830
8831
8832static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8833 PyObject *resultobj;
8834 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8835 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 8836 int arg3 = (int) -1 ;
d14a1e28
RD
8837 wxString const &arg4_defvalue = wxPyEmptyString ;
8838 wxString *arg4 = (wxString *) &arg4_defvalue ;
8839 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8840 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8841 wxSize const &arg6_defvalue = wxDefaultSize ;
8842 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8843 long arg7 = (long) wxSP_ARROW_KEYS ;
8844 int arg8 = (int) 0 ;
8845 int arg9 = (int) 100 ;
8846 int arg10 = (int) 0 ;
8847 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8848 wxString *arg11 = (wxString *) &arg11_defvalue ;
8849 bool result;
e811c8ce 8850 bool temp4 = False ;
d14a1e28
RD
8851 wxPoint temp5 ;
8852 wxSize temp6 ;
e811c8ce 8853 bool temp11 = False ;
d14a1e28
RD
8854 PyObject * obj0 = 0 ;
8855 PyObject * obj1 = 0 ;
8856 PyObject * obj3 = 0 ;
8857 PyObject * obj4 = 0 ;
8858 PyObject * obj5 = 0 ;
8859 PyObject * obj10 = 0 ;
8860 char *kwnames[] = {
8861 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8862 };
8863
8864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8866 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8867 if (obj3) {
8868 {
8869 arg4 = wxString_in_helper(obj3);
8870 if (arg4 == NULL) SWIG_fail;
e811c8ce 8871 temp4 = True;
d14a1e28
RD
8872 }
8873 }
8874 if (obj4) {
8875 {
8876 arg5 = &temp5;
8877 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8878 }
8879 }
8880 if (obj5) {
8881 {
8882 arg6 = &temp6;
8883 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8884 }
8885 }
8886 if (obj10) {
8887 {
8888 arg11 = wxString_in_helper(obj10);
8889 if (arg11 == NULL) SWIG_fail;
e811c8ce 8890 temp11 = True;
d14a1e28
RD
8891 }
8892 }
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
8900 resultobj = PyInt_FromLong((long)result);
8901 {
8902 if (temp4)
8903 delete arg4;
8904 }
8905 {
8906 if (temp11)
8907 delete arg11;
8908 }
8909 return resultobj;
8910 fail:
8911 {
8912 if (temp4)
8913 delete arg4;
8914 }
8915 {
8916 if (temp11)
8917 delete arg11;
8918 }
8919 return NULL;
8920}
8921
8922
8923static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8924 PyObject *resultobj;
8925 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8926 int result;
8927 PyObject * obj0 = 0 ;
8928 char *kwnames[] = {
8929 (char *) "self", NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
8933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8934 {
8935 PyThreadState* __tstate = wxPyBeginAllowThreads();
8936 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
8937
8938 wxPyEndAllowThreads(__tstate);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 resultobj = PyInt_FromLong((long)result);
8942 return resultobj;
8943 fail:
8944 return NULL;
8945}
8946
8947
8948static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8951 int arg2 ;
8952 PyObject * obj0 = 0 ;
8953 char *kwnames[] = {
8954 (char *) "self",(char *) "value", NULL
8955 };
8956
8957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
8958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8959 {
8960 PyThreadState* __tstate = wxPyBeginAllowThreads();
8961 (arg1)->SetValue(arg2);
8962
8963 wxPyEndAllowThreads(__tstate);
8964 if (PyErr_Occurred()) SWIG_fail;
8965 }
8966 Py_INCREF(Py_None); resultobj = Py_None;
8967 return resultobj;
8968 fail:
8969 return NULL;
8970}
8971
8972
8973static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8976 wxString *arg2 = 0 ;
e811c8ce 8977 bool temp2 = False ;
d14a1e28
RD
8978 PyObject * obj0 = 0 ;
8979 PyObject * obj1 = 0 ;
8980 char *kwnames[] = {
8981 (char *) "self",(char *) "text", NULL
8982 };
8983
8984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
8985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8986 {
8987 arg2 = wxString_in_helper(obj1);
8988 if (arg2 == NULL) SWIG_fail;
e811c8ce 8989 temp2 = True;
d14a1e28
RD
8990 }
8991 {
8992 PyThreadState* __tstate = wxPyBeginAllowThreads();
8993 (arg1)->SetValue((wxString const &)*arg2);
8994
8995 wxPyEndAllowThreads(__tstate);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 Py_INCREF(Py_None); resultobj = Py_None;
8999 {
9000 if (temp2)
9001 delete arg2;
9002 }
9003 return resultobj;
9004 fail:
9005 {
9006 if (temp2)
9007 delete arg2;
9008 }
9009 return NULL;
9010}
9011
9012
9013static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9014 PyObject *resultobj;
9015 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9016 int arg2 ;
9017 int arg3 ;
9018 PyObject * obj0 = 0 ;
9019 char *kwnames[] = {
9020 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9021 };
9022
9023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9025 {
9026 PyThreadState* __tstate = wxPyBeginAllowThreads();
9027 (arg1)->SetRange(arg2,arg3);
9028
9029 wxPyEndAllowThreads(__tstate);
9030 if (PyErr_Occurred()) SWIG_fail;
9031 }
9032 Py_INCREF(Py_None); resultobj = Py_None;
9033 return resultobj;
9034 fail:
9035 return NULL;
9036}
9037
9038
9039static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9040 PyObject *resultobj;
9041 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9042 int result;
9043 PyObject * obj0 = 0 ;
9044 char *kwnames[] = {
9045 (char *) "self", NULL
9046 };
9047
9048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9053
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 resultobj = PyInt_FromLong((long)result);
9058 return resultobj;
9059 fail:
9060 return NULL;
9061}
9062
9063
9064static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj;
9066 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9067 int result;
9068 PyObject * obj0 = 0 ;
9069 char *kwnames[] = {
9070 (char *) "self", NULL
9071 };
9072
9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9075 {
9076 PyThreadState* __tstate = wxPyBeginAllowThreads();
9077 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9078
9079 wxPyEndAllowThreads(__tstate);
9080 if (PyErr_Occurred()) SWIG_fail;
9081 }
9082 resultobj = PyInt_FromLong((long)result);
9083 return resultobj;
9084 fail:
9085 return NULL;
9086}
9087
9088
9089static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9090 PyObject *resultobj;
9091 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9092 long arg2 ;
9093 long arg3 ;
9094 PyObject * obj0 = 0 ;
9095 char *kwnames[] = {
9096 (char *) "self",(char *) "from",(char *) "to", NULL
9097 };
9098
9099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9101 {
9102 PyThreadState* __tstate = wxPyBeginAllowThreads();
9103 wxSpinCtrl_SetSelection(arg1,arg2,arg3);
9104
9105 wxPyEndAllowThreads(__tstate);
9106 if (PyErr_Occurred()) SWIG_fail;
9107 }
9108 Py_INCREF(Py_None); resultobj = Py_None;
9109 return resultobj;
9110 fail:
9111 return NULL;
9112}
9113
9114
9115static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9116 PyObject *obj;
9117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9118 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9119 Py_INCREF(obj);
9120 return Py_BuildValue((char *)"");
9121}
9122static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9123 PyObject *resultobj;
9124 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 9125 int arg2 ;
d14a1e28
RD
9126 wxString *arg3 = 0 ;
9127 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9128 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9129 wxSize const &arg5_defvalue = wxDefaultSize ;
9130 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9131 int arg6 = (int) 0 ;
9132 wxString *arg7 = (wxString *) NULL ;
9133 int arg8 = (int) 0 ;
9134 long arg9 = (long) wxRA_HORIZONTAL ;
9135 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9136 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9137 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9138 wxString *arg11 = (wxString *) &arg11_defvalue ;
9139 wxRadioBox *result;
e811c8ce 9140 bool temp3 = False ;
d14a1e28
RD
9141 wxPoint temp4 ;
9142 wxSize temp5 ;
e811c8ce 9143 bool temp10 = False ;
d14a1e28
RD
9144 PyObject * obj0 = 0 ;
9145 PyObject * obj2 = 0 ;
9146 PyObject * obj3 = 0 ;
9147 PyObject * obj4 = 0 ;
9148 PyObject * obj5 = 0 ;
9149 PyObject * obj8 = 0 ;
9150 PyObject * obj9 = 0 ;
9151 char *kwnames[] = {
9152 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9153 };
9154
9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9157 {
9158 arg3 = wxString_in_helper(obj2);
9159 if (arg3 == NULL) SWIG_fail;
e811c8ce 9160 temp3 = True;
d14a1e28
RD
9161 }
9162 if (obj3) {
9163 {
9164 arg4 = &temp4;
9165 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9166 }
9167 }
9168 if (obj4) {
9169 {
9170 arg5 = &temp5;
9171 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9172 }
9173 }
9174 if (obj5) {
9175 {
9176 arg6 = PyList_Size(obj5);
9177 arg7 = wxString_LIST_helper(obj5);
9178 if (arg7 == NULL) SWIG_fail;
9179 }
9180 }
9181 if (obj8) {
9182 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9183 if (arg10 == NULL) {
9184 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9185 }
9186 }
9187 if (obj9) {
9188 {
9189 arg11 = wxString_in_helper(obj9);
9190 if (arg11 == NULL) SWIG_fail;
e811c8ce 9191 temp10 = True;
d14a1e28
RD
9192 }
9193 }
9194 {
9195 PyThreadState* __tstate = wxPyBeginAllowThreads();
9196 result = (wxRadioBox *)new wxRadioBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
9197
9198 wxPyEndAllowThreads(__tstate);
9199 if (PyErr_Occurred()) SWIG_fail;
9200 }
9201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9202 {
9203 if (temp3)
9204 delete arg3;
9205 }
9206 {
9207 if (arg7) delete [] arg7;
9208 }
9209 {
9210 if (temp10)
9211 delete arg11;
9212 }
9213 return resultobj;
9214 fail:
9215 {
9216 if (temp3)
9217 delete arg3;
9218 }
9219 {
9220 if (arg7) delete [] arg7;
9221 }
9222 {
9223 if (temp10)
9224 delete arg11;
9225 }
9226 return NULL;
9227}
9228
9229
9230static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9231 PyObject *resultobj;
9232 wxRadioBox *result;
9233 char *kwnames[] = {
9234 NULL
9235 };
9236
9237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9238 {
9239 PyThreadState* __tstate = wxPyBeginAllowThreads();
9240 result = (wxRadioBox *)new wxRadioBox();
9241
9242 wxPyEndAllowThreads(__tstate);
9243 if (PyErr_Occurred()) SWIG_fail;
9244 }
9245 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9246 return resultobj;
9247 fail:
9248 return NULL;
9249}
9250
9251
9252static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9253 PyObject *resultobj;
9254 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9255 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 9256 int arg3 ;
d14a1e28
RD
9257 wxString *arg4 = 0 ;
9258 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9259 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9260 wxSize const &arg6_defvalue = wxDefaultSize ;
9261 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9262 int arg7 = (int) 0 ;
9263 wxString *arg8 = (wxString *) NULL ;
9264 int arg9 = (int) 0 ;
9265 long arg10 = (long) wxRA_HORIZONTAL ;
9266 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9267 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9268 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9269 wxString *arg12 = (wxString *) &arg12_defvalue ;
9270 bool result;
e811c8ce 9271 bool temp4 = False ;
d14a1e28
RD
9272 wxPoint temp5 ;
9273 wxSize temp6 ;
e811c8ce 9274 bool temp11 = False ;
d14a1e28
RD
9275 PyObject * obj0 = 0 ;
9276 PyObject * obj1 = 0 ;
9277 PyObject * obj3 = 0 ;
9278 PyObject * obj4 = 0 ;
9279 PyObject * obj5 = 0 ;
9280 PyObject * obj6 = 0 ;
9281 PyObject * obj9 = 0 ;
9282 PyObject * obj10 = 0 ;
9283 char *kwnames[] = {
9284 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9285 };
9286
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9290 {
9291 arg4 = wxString_in_helper(obj3);
9292 if (arg4 == NULL) SWIG_fail;
e811c8ce 9293 temp4 = True;
d14a1e28
RD
9294 }
9295 if (obj4) {
9296 {
9297 arg5 = &temp5;
9298 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9299 }
9300 }
9301 if (obj5) {
9302 {
9303 arg6 = &temp6;
9304 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9305 }
9306 }
9307 if (obj6) {
9308 {
9309 arg7 = PyList_Size(obj6);
9310 arg8 = wxString_LIST_helper(obj6);
9311 if (arg8 == NULL) SWIG_fail;
9312 }
9313 }
9314 if (obj9) {
9315 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9316 if (arg11 == NULL) {
9317 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9318 }
9319 }
9320 if (obj10) {
9321 {
9322 arg12 = wxString_in_helper(obj10);
9323 if (arg12 == NULL) SWIG_fail;
e811c8ce 9324 temp11 = True;
d14a1e28
RD
9325 }
9326 }
9327 {
9328 PyThreadState* __tstate = wxPyBeginAllowThreads();
9329 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxValidator const &)*arg11,(wxString const &)*arg12);
9330
9331 wxPyEndAllowThreads(__tstate);
9332 if (PyErr_Occurred()) SWIG_fail;
9333 }
9334 resultobj = PyInt_FromLong((long)result);
9335 {
9336 if (temp4)
9337 delete arg4;
9338 }
9339 {
9340 if (arg8) delete [] arg8;
9341 }
9342 {
9343 if (temp11)
9344 delete arg12;
9345 }
9346 return resultobj;
9347 fail:
9348 {
9349 if (temp4)
9350 delete arg4;
9351 }
9352 {
9353 if (arg8) delete [] arg8;
9354 }
9355 {
9356 if (temp11)
9357 delete arg12;
9358 }
9359 return NULL;
9360}
9361
9362
9363static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9364 PyObject *resultobj;
9365 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9366 int arg2 ;
9367 PyObject * obj0 = 0 ;
9368 char *kwnames[] = {
9369 (char *) "self",(char *) "n", NULL
9370 };
9371
9372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9374 {
9375 PyThreadState* __tstate = wxPyBeginAllowThreads();
9376 (arg1)->SetSelection(arg2);
9377
9378 wxPyEndAllowThreads(__tstate);
9379 if (PyErr_Occurred()) SWIG_fail;
9380 }
9381 Py_INCREF(Py_None); resultobj = Py_None;
9382 return resultobj;
9383 fail:
9384 return NULL;
9385}
9386
9387
9388static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9389 PyObject *resultobj;
9390 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9391 int result;
9392 PyObject * obj0 = 0 ;
9393 char *kwnames[] = {
9394 (char *) "self", NULL
9395 };
9396
9397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9399 {
9400 PyThreadState* __tstate = wxPyBeginAllowThreads();
9401 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9402
9403 wxPyEndAllowThreads(__tstate);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 }
9406 resultobj = PyInt_FromLong((long)result);
9407 return resultobj;
9408 fail:
9409 return NULL;
9410}
9411
9412
9413static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9414 PyObject *resultobj;
9415 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9416 wxString result;
9417 PyObject * obj0 = 0 ;
9418 char *kwnames[] = {
9419 (char *) "self", NULL
9420 };
9421
9422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
9431 {
9432#if wxUSE_UNICODE
9433 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9434#else
9435 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9436#endif
9437 }
9438 return resultobj;
9439 fail:
9440 return NULL;
9441}
9442
9443
9444static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9445 PyObject *resultobj;
9446 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9447 wxString *arg2 = 0 ;
9448 bool result;
e811c8ce 9449 bool temp2 = False ;
d14a1e28
RD
9450 PyObject * obj0 = 0 ;
9451 PyObject * obj1 = 0 ;
9452 char *kwnames[] = {
9453 (char *) "self",(char *) "s", NULL
9454 };
9455
9456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9458 {
9459 arg2 = wxString_in_helper(obj1);
9460 if (arg2 == NULL) SWIG_fail;
e811c8ce 9461 temp2 = True;
d14a1e28
RD
9462 }
9463 {
9464 PyThreadState* __tstate = wxPyBeginAllowThreads();
9465 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9466
9467 wxPyEndAllowThreads(__tstate);
9468 if (PyErr_Occurred()) SWIG_fail;
9469 }
9470 resultobj = PyInt_FromLong((long)result);
9471 {
9472 if (temp2)
9473 delete arg2;
9474 }
9475 return resultobj;
9476 fail:
9477 {
9478 if (temp2)
9479 delete arg2;
9480 }
9481 return NULL;
9482}
9483
9484
9485static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9486 PyObject *resultobj;
9487 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9488 int result;
9489 PyObject * obj0 = 0 ;
9490 char *kwnames[] = {
9491 (char *) "self", NULL
9492 };
9493
9494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9496 {
9497 PyThreadState* __tstate = wxPyBeginAllowThreads();
9498 result = (int)((wxRadioBox const *)arg1)->GetCount();
9499
9500 wxPyEndAllowThreads(__tstate);
9501 if (PyErr_Occurred()) SWIG_fail;
9502 }
9503 resultobj = PyInt_FromLong((long)result);
9504 return resultobj;
9505 fail:
9506 return NULL;
9507}
9508
9509
9510static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9511 PyObject *resultobj;
9512 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9513 wxString *arg2 = 0 ;
9514 int result;
e811c8ce 9515 bool temp2 = False ;
d14a1e28
RD
9516 PyObject * obj0 = 0 ;
9517 PyObject * obj1 = 0 ;
9518 char *kwnames[] = {
9519 (char *) "self",(char *) "s", NULL
9520 };
9521
9522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9524 {
9525 arg2 = wxString_in_helper(obj1);
9526 if (arg2 == NULL) SWIG_fail;
e811c8ce 9527 temp2 = True;
d14a1e28
RD
9528 }
9529 {
9530 PyThreadState* __tstate = wxPyBeginAllowThreads();
9531 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9532
9533 wxPyEndAllowThreads(__tstate);
9534 if (PyErr_Occurred()) SWIG_fail;
9535 }
9536 resultobj = PyInt_FromLong((long)result);
9537 {
9538 if (temp2)
9539 delete arg2;
9540 }
9541 return resultobj;
9542 fail:
9543 {
9544 if (temp2)
9545 delete arg2;
9546 }
9547 return NULL;
9548}
9549
9550
9551static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9552 PyObject *resultobj;
9553 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9554 int arg2 ;
9555 wxString result;
9556 PyObject * obj0 = 0 ;
9557 char *kwnames[] = {
9558 (char *) "self",(char *) "n", NULL
9559 };
9560
9561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9563 {
9564 PyThreadState* __tstate = wxPyBeginAllowThreads();
9565 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9566
9567 wxPyEndAllowThreads(__tstate);
9568 if (PyErr_Occurred()) SWIG_fail;
9569 }
9570 {
9571#if wxUSE_UNICODE
9572 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9573#else
9574 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9575#endif
9576 }
9577 return resultobj;
9578 fail:
9579 return NULL;
9580}
9581
9582
9583static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9584 PyObject *resultobj;
9585 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9586 int arg2 ;
9587 wxString *arg3 = 0 ;
e811c8ce 9588 bool temp3 = False ;
d14a1e28
RD
9589 PyObject * obj0 = 0 ;
9590 PyObject * obj2 = 0 ;
9591 char *kwnames[] = {
9592 (char *) "self",(char *) "n",(char *) "label", NULL
9593 };
9594
9595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9597 {
9598 arg3 = wxString_in_helper(obj2);
9599 if (arg3 == NULL) SWIG_fail;
e811c8ce 9600 temp3 = True;
d14a1e28
RD
9601 }
9602 {
9603 PyThreadState* __tstate = wxPyBeginAllowThreads();
9604 (arg1)->SetString(arg2,(wxString const &)*arg3);
9605
9606 wxPyEndAllowThreads(__tstate);
9607 if (PyErr_Occurred()) SWIG_fail;
9608 }
9609 Py_INCREF(Py_None); resultobj = Py_None;
9610 {
9611 if (temp3)
9612 delete arg3;
9613 }
9614 return resultobj;
9615 fail:
9616 {
9617 if (temp3)
9618 delete arg3;
9619 }
9620 return NULL;
9621}
9622
9623
9624static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9625 PyObject *resultobj;
9626 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9627 int arg2 ;
e811c8ce 9628 bool arg3 = (bool) True ;
d14a1e28
RD
9629 PyObject * obj0 = 0 ;
9630 PyObject * obj2 = 0 ;
9631 char *kwnames[] = {
9632 (char *) "self",(char *) "n",(char *) "enable", NULL
9633 };
9634
9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9637 if (obj2) {
9638 arg3 = PyInt_AsLong(obj2) ? true : false;
9639 if (PyErr_Occurred()) SWIG_fail;
9640 }
9641 {
9642 PyThreadState* __tstate = wxPyBeginAllowThreads();
9643 (arg1)->Enable(arg2,arg3);
9644
9645 wxPyEndAllowThreads(__tstate);
9646 if (PyErr_Occurred()) SWIG_fail;
9647 }
9648 Py_INCREF(Py_None); resultobj = Py_None;
9649 return resultobj;
9650 fail:
9651 return NULL;
9652}
9653
9654
9655static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9656 PyObject *resultobj;
9657 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9658 int arg2 ;
e811c8ce 9659 bool arg3 = (bool) True ;
d14a1e28
RD
9660 PyObject * obj0 = 0 ;
9661 PyObject * obj2 = 0 ;
9662 char *kwnames[] = {
9663 (char *) "self",(char *) "n",(char *) "show", NULL
9664 };
9665
9666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9668 if (obj2) {
9669 arg3 = PyInt_AsLong(obj2) ? true : false;
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 {
9673 PyThreadState* __tstate = wxPyBeginAllowThreads();
9674 (arg1)->Show(arg2,arg3);
9675
9676 wxPyEndAllowThreads(__tstate);
9677 if (PyErr_Occurred()) SWIG_fail;
9678 }
9679 Py_INCREF(Py_None); resultobj = Py_None;
9680 return resultobj;
9681 fail:
9682 return NULL;
9683}
9684
9685
9686static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9687 PyObject *resultobj;
9688 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9689 int result;
9690 PyObject * obj0 = 0 ;
9691 char *kwnames[] = {
9692 (char *) "self", NULL
9693 };
9694
9695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9697 {
9698 PyThreadState* __tstate = wxPyBeginAllowThreads();
9699 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
9700
9701 wxPyEndAllowThreads(__tstate);
9702 if (PyErr_Occurred()) SWIG_fail;
9703 }
9704 resultobj = PyInt_FromLong((long)result);
9705 return resultobj;
9706 fail:
9707 return NULL;
9708}
9709
9710
9711static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9712 PyObject *resultobj;
9713 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9714 int result;
9715 PyObject * obj0 = 0 ;
9716 char *kwnames[] = {
9717 (char *) "self", NULL
9718 };
9719
9720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9722 {
9723 PyThreadState* __tstate = wxPyBeginAllowThreads();
9724 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
9725
9726 wxPyEndAllowThreads(__tstate);
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 resultobj = PyInt_FromLong((long)result);
9730 return resultobj;
9731 fail:
9732 return NULL;
9733}
9734
9735
9736static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9737 PyObject *resultobj;
9738 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9739 int arg2 ;
9740 int arg3 ;
9741 long arg4 ;
9742 int result;
9743 PyObject * obj0 = 0 ;
9744 char *kwnames[] = {
9745 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9746 };
9747
9748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9750 {
9751 PyThreadState* __tstate = wxPyBeginAllowThreads();
9752 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
9753
9754 wxPyEndAllowThreads(__tstate);
9755 if (PyErr_Occurred()) SWIG_fail;
9756 }
9757 resultobj = PyInt_FromLong((long)result);
9758 return resultobj;
9759 fail:
9760 return NULL;
9761}
9762
9763
9764static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9765 PyObject *obj;
9766 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9767 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9768 Py_INCREF(obj);
9769 return Py_BuildValue((char *)"");
9770}
9771static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9772 PyObject *resultobj;
9773 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 9774 int arg2 ;
d14a1e28
RD
9775 wxString *arg3 = 0 ;
9776 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9777 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9778 wxSize const &arg5_defvalue = wxDefaultSize ;
9779 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9780 long arg6 = (long) 0 ;
9781 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9782 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9783 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9784 wxString *arg8 = (wxString *) &arg8_defvalue ;
9785 wxRadioButton *result;
e811c8ce 9786 bool temp3 = False ;
d14a1e28
RD
9787 wxPoint temp4 ;
9788 wxSize temp5 ;
e811c8ce 9789 bool temp8 = False ;
d14a1e28
RD
9790 PyObject * obj0 = 0 ;
9791 PyObject * obj2 = 0 ;
9792 PyObject * obj3 = 0 ;
9793 PyObject * obj4 = 0 ;
9794 PyObject * obj6 = 0 ;
9795 PyObject * obj7 = 0 ;
9796 char *kwnames[] = {
9797 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9798 };
9799
9800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9802 {
9803 arg3 = wxString_in_helper(obj2);
9804 if (arg3 == NULL) SWIG_fail;
e811c8ce 9805 temp3 = True;
d14a1e28
RD
9806 }
9807 if (obj3) {
9808 {
9809 arg4 = &temp4;
9810 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9811 }
9812 }
9813 if (obj4) {
9814 {
9815 arg5 = &temp5;
9816 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9817 }
9818 }
9819 if (obj6) {
9820 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9821 if (arg7 == NULL) {
9822 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9823 }
9824 }
9825 if (obj7) {
9826 {
9827 arg8 = wxString_in_helper(obj7);
9828 if (arg8 == NULL) SWIG_fail;
e811c8ce 9829 temp8 = True;
d14a1e28
RD
9830 }
9831 }
9832 {
9833 PyThreadState* __tstate = wxPyBeginAllowThreads();
9834 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9835
9836 wxPyEndAllowThreads(__tstate);
9837 if (PyErr_Occurred()) SWIG_fail;
9838 }
9839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9840 {
9841 if (temp3)
9842 delete arg3;
9843 }
9844 {
9845 if (temp8)
9846 delete arg8;
9847 }
9848 return resultobj;
9849 fail:
9850 {
9851 if (temp3)
9852 delete arg3;
9853 }
9854 {
9855 if (temp8)
9856 delete arg8;
9857 }
9858 return NULL;
9859}
9860
9861
9862static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9863 PyObject *resultobj;
9864 wxRadioButton *result;
9865 char *kwnames[] = {
9866 NULL
9867 };
9868
9869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9870 {
9871 PyThreadState* __tstate = wxPyBeginAllowThreads();
9872 result = (wxRadioButton *)new wxRadioButton();
9873
9874 wxPyEndAllowThreads(__tstate);
9875 if (PyErr_Occurred()) SWIG_fail;
9876 }
9877 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9878 return resultobj;
9879 fail:
9880 return NULL;
9881}
9882
9883
9884static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9885 PyObject *resultobj;
9886 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9887 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 9888 int arg3 ;
d14a1e28
RD
9889 wxString *arg4 = 0 ;
9890 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9891 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9892 wxSize const &arg6_defvalue = wxDefaultSize ;
9893 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9894 long arg7 = (long) 0 ;
9895 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9896 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9897 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
9898 wxString *arg9 = (wxString *) &arg9_defvalue ;
9899 bool result;
e811c8ce 9900 bool temp4 = False ;
d14a1e28
RD
9901 wxPoint temp5 ;
9902 wxSize temp6 ;
e811c8ce 9903 bool temp9 = False ;
d14a1e28
RD
9904 PyObject * obj0 = 0 ;
9905 PyObject * obj1 = 0 ;
9906 PyObject * obj3 = 0 ;
9907 PyObject * obj4 = 0 ;
9908 PyObject * obj5 = 0 ;
9909 PyObject * obj7 = 0 ;
9910 PyObject * obj8 = 0 ;
9911 char *kwnames[] = {
9912 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9913 };
9914
9915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
9916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9917 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9918 {
9919 arg4 = wxString_in_helper(obj3);
9920 if (arg4 == NULL) SWIG_fail;
e811c8ce 9921 temp4 = True;
d14a1e28
RD
9922 }
9923 if (obj4) {
9924 {
9925 arg5 = &temp5;
9926 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9927 }
9928 }
9929 if (obj5) {
9930 {
9931 arg6 = &temp6;
9932 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9933 }
9934 }
9935 if (obj7) {
9936 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9937 if (arg8 == NULL) {
9938 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9939 }
9940 }
9941 if (obj8) {
9942 {
9943 arg9 = wxString_in_helper(obj8);
9944 if (arg9 == NULL) SWIG_fail;
e811c8ce 9945 temp9 = True;
d14a1e28
RD
9946 }
9947 }
9948 {
9949 PyThreadState* __tstate = wxPyBeginAllowThreads();
9950 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9951
9952 wxPyEndAllowThreads(__tstate);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 }
9955 resultobj = PyInt_FromLong((long)result);
9956 {
9957 if (temp4)
9958 delete arg4;
9959 }
9960 {
9961 if (temp9)
9962 delete arg9;
9963 }
9964 return resultobj;
9965 fail:
9966 {
9967 if (temp4)
9968 delete arg4;
9969 }
9970 {
9971 if (temp9)
9972 delete arg9;
9973 }
9974 return NULL;
9975}
9976
9977
9978static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9979 PyObject *resultobj;
9980 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9981 bool result;
9982 PyObject * obj0 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
9988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9989 {
9990 PyThreadState* __tstate = wxPyBeginAllowThreads();
9991 result = (bool)(arg1)->GetValue();
9992
9993 wxPyEndAllowThreads(__tstate);
9994 if (PyErr_Occurred()) SWIG_fail;
9995 }
9996 resultobj = PyInt_FromLong((long)result);
9997 return resultobj;
9998 fail:
9999 return NULL;
10000}
10001
10002
10003static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10004 PyObject *resultobj;
10005 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10006 bool arg2 ;
10007 PyObject * obj0 = 0 ;
10008 PyObject * obj1 = 0 ;
10009 char *kwnames[] = {
10010 (char *) "self",(char *) "value", NULL
10011 };
10012
10013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10015 arg2 = PyInt_AsLong(obj1) ? true : false;
10016 if (PyErr_Occurred()) SWIG_fail;
10017 {
10018 PyThreadState* __tstate = wxPyBeginAllowThreads();
10019 (arg1)->SetValue(arg2);
10020
10021 wxPyEndAllowThreads(__tstate);
10022 if (PyErr_Occurred()) SWIG_fail;
10023 }
10024 Py_INCREF(Py_None); resultobj = Py_None;
10025 return resultobj;
10026 fail:
10027 return NULL;
10028}
10029
10030
10031static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10032 PyObject *obj;
10033 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10034 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10035 Py_INCREF(obj);
10036 return Py_BuildValue((char *)"");
10037}
10038static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10039 PyObject *resultobj;
10040 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10041 int arg2 ;
d14a1e28
RD
10042 int arg3 ;
10043 int arg4 ;
10044 int arg5 ;
10045 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10046 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10047 wxSize const &arg7_defvalue = wxDefaultSize ;
10048 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10049 long arg8 = (long) wxSL_HORIZONTAL ;
10050 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10051 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10052 wxString const &arg10_defvalue = wxPySliderNameStr ;
10053 wxString *arg10 = (wxString *) &arg10_defvalue ;
10054 wxSlider *result;
10055 wxPoint temp6 ;
10056 wxSize temp7 ;
e811c8ce 10057 bool temp10 = False ;
d14a1e28
RD
10058 PyObject * obj0 = 0 ;
10059 PyObject * obj5 = 0 ;
10060 PyObject * obj6 = 0 ;
10061 PyObject * obj8 = 0 ;
10062 PyObject * obj9 = 0 ;
10063 char *kwnames[] = {
10064 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10065 };
10066
10067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10069 if (obj5) {
10070 {
10071 arg6 = &temp6;
10072 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10073 }
10074 }
10075 if (obj6) {
10076 {
10077 arg7 = &temp7;
10078 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10079 }
10080 }
10081 if (obj8) {
10082 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10083 if (arg9 == NULL) {
10084 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10085 }
10086 }
10087 if (obj9) {
10088 {
10089 arg10 = wxString_in_helper(obj9);
10090 if (arg10 == NULL) SWIG_fail;
e811c8ce 10091 temp10 = True;
d14a1e28
RD
10092 }
10093 }
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10102 {
10103 if (temp10)
10104 delete arg10;
10105 }
10106 return resultobj;
10107 fail:
10108 {
10109 if (temp10)
10110 delete arg10;
10111 }
10112 return NULL;
10113}
10114
10115
10116static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject *resultobj;
10118 wxSlider *result;
10119 char *kwnames[] = {
10120 NULL
10121 };
10122
10123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 result = (wxSlider *)new wxSlider();
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
10131 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10132 return resultobj;
10133 fail:
10134 return NULL;
10135}
10136
10137
10138static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10139 PyObject *resultobj;
10140 wxSlider *arg1 = (wxSlider *) 0 ;
10141 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10142 int arg3 ;
d14a1e28
RD
10143 int arg4 ;
10144 int arg5 ;
10145 int arg6 ;
10146 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10147 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10148 wxSize const &arg8_defvalue = wxDefaultSize ;
10149 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10150 long arg9 = (long) wxSL_HORIZONTAL ;
10151 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10152 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10153 wxString const &arg11_defvalue = wxPySliderNameStr ;
10154 wxString *arg11 = (wxString *) &arg11_defvalue ;
10155 bool result;
10156 wxPoint temp7 ;
10157 wxSize temp8 ;
e811c8ce 10158 bool temp11 = False ;
d14a1e28
RD
10159 PyObject * obj0 = 0 ;
10160 PyObject * obj1 = 0 ;
10161 PyObject * obj6 = 0 ;
10162 PyObject * obj7 = 0 ;
10163 PyObject * obj9 = 0 ;
10164 PyObject * obj10 = 0 ;
10165 char *kwnames[] = {
10166 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10167 };
10168
10169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10171 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10172 if (obj6) {
10173 {
10174 arg7 = &temp7;
10175 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10176 }
10177 }
10178 if (obj7) {
10179 {
10180 arg8 = &temp8;
10181 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10182 }
10183 }
10184 if (obj9) {
10185 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10186 if (arg10 == NULL) {
10187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10188 }
10189 }
10190 if (obj10) {
10191 {
10192 arg11 = wxString_in_helper(obj10);
10193 if (arg11 == NULL) SWIG_fail;
e811c8ce 10194 temp11 = True;
d14a1e28
RD
10195 }
10196 }
10197 {
10198 PyThreadState* __tstate = wxPyBeginAllowThreads();
10199 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10200
10201 wxPyEndAllowThreads(__tstate);
10202 if (PyErr_Occurred()) SWIG_fail;
10203 }
10204 resultobj = PyInt_FromLong((long)result);
10205 {
10206 if (temp11)
10207 delete arg11;
10208 }
10209 return resultobj;
10210 fail:
10211 {
10212 if (temp11)
10213 delete arg11;
10214 }
10215 return NULL;
10216}
10217
10218
10219static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10220 PyObject *resultobj;
10221 wxSlider *arg1 = (wxSlider *) 0 ;
10222 int result;
10223 PyObject * obj0 = 0 ;
10224 char *kwnames[] = {
10225 (char *) "self", NULL
10226 };
10227
10228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10230 {
10231 PyThreadState* __tstate = wxPyBeginAllowThreads();
10232 result = (int)((wxSlider const *)arg1)->GetValue();
10233
10234 wxPyEndAllowThreads(__tstate);
10235 if (PyErr_Occurred()) SWIG_fail;
10236 }
10237 resultobj = PyInt_FromLong((long)result);
10238 return resultobj;
10239 fail:
10240 return NULL;
10241}
10242
10243
10244static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject *resultobj;
10246 wxSlider *arg1 = (wxSlider *) 0 ;
10247 int arg2 ;
10248 PyObject * obj0 = 0 ;
10249 char *kwnames[] = {
10250 (char *) "self",(char *) "value", NULL
10251 };
10252
10253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10255 {
10256 PyThreadState* __tstate = wxPyBeginAllowThreads();
10257 (arg1)->SetValue(arg2);
10258
10259 wxPyEndAllowThreads(__tstate);
10260 if (PyErr_Occurred()) SWIG_fail;
10261 }
10262 Py_INCREF(Py_None); resultobj = Py_None;
10263 return resultobj;
10264 fail:
10265 return NULL;
10266}
10267
10268
10269static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10270 PyObject *resultobj;
10271 wxSlider *arg1 = (wxSlider *) 0 ;
10272 int arg2 ;
10273 int arg3 ;
10274 PyObject * obj0 = 0 ;
10275 char *kwnames[] = {
10276 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10277 };
10278
10279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10281 {
10282 PyThreadState* __tstate = wxPyBeginAllowThreads();
10283 (arg1)->SetRange(arg2,arg3);
10284
10285 wxPyEndAllowThreads(__tstate);
10286 if (PyErr_Occurred()) SWIG_fail;
10287 }
10288 Py_INCREF(Py_None); resultobj = Py_None;
10289 return resultobj;
10290 fail:
10291 return NULL;
10292}
10293
10294
10295static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10296 PyObject *resultobj;
10297 wxSlider *arg1 = (wxSlider *) 0 ;
10298 int result;
10299 PyObject * obj0 = 0 ;
10300 char *kwnames[] = {
10301 (char *) "self", NULL
10302 };
10303
10304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10306 {
10307 PyThreadState* __tstate = wxPyBeginAllowThreads();
10308 result = (int)((wxSlider const *)arg1)->GetMin();
10309
10310 wxPyEndAllowThreads(__tstate);
10311 if (PyErr_Occurred()) SWIG_fail;
10312 }
10313 resultobj = PyInt_FromLong((long)result);
10314 return resultobj;
10315 fail:
10316 return NULL;
10317}
10318
10319
10320static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10321 PyObject *resultobj;
10322 wxSlider *arg1 = (wxSlider *) 0 ;
10323 int result;
10324 PyObject * obj0 = 0 ;
10325 char *kwnames[] = {
10326 (char *) "self", NULL
10327 };
10328
10329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10331 {
10332 PyThreadState* __tstate = wxPyBeginAllowThreads();
10333 result = (int)((wxSlider const *)arg1)->GetMax();
10334
10335 wxPyEndAllowThreads(__tstate);
10336 if (PyErr_Occurred()) SWIG_fail;
10337 }
10338 resultobj = PyInt_FromLong((long)result);
10339 return resultobj;
10340 fail:
10341 return NULL;
10342}
10343
10344
10345static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10346 PyObject *resultobj;
10347 wxSlider *arg1 = (wxSlider *) 0 ;
10348 int arg2 ;
10349 PyObject * obj0 = 0 ;
10350 char *kwnames[] = {
10351 (char *) "self",(char *) "minValue", NULL
10352 };
10353
10354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10356 {
10357 PyThreadState* __tstate = wxPyBeginAllowThreads();
10358 (arg1)->SetMin(arg2);
10359
10360 wxPyEndAllowThreads(__tstate);
10361 if (PyErr_Occurred()) SWIG_fail;
10362 }
10363 Py_INCREF(Py_None); resultobj = Py_None;
10364 return resultobj;
10365 fail:
10366 return NULL;
10367}
10368
10369
10370static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10371 PyObject *resultobj;
10372 wxSlider *arg1 = (wxSlider *) 0 ;
10373 int arg2 ;
10374 PyObject * obj0 = 0 ;
10375 char *kwnames[] = {
10376 (char *) "self",(char *) "maxValue", NULL
10377 };
10378
10379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10381 {
10382 PyThreadState* __tstate = wxPyBeginAllowThreads();
10383 (arg1)->SetMax(arg2);
10384
10385 wxPyEndAllowThreads(__tstate);
10386 if (PyErr_Occurred()) SWIG_fail;
10387 }
10388 Py_INCREF(Py_None); resultobj = Py_None;
10389 return resultobj;
10390 fail:
10391 return NULL;
10392}
10393
10394
10395static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10396 PyObject *resultobj;
10397 wxSlider *arg1 = (wxSlider *) 0 ;
10398 int arg2 ;
10399 PyObject * obj0 = 0 ;
10400 char *kwnames[] = {
10401 (char *) "self",(char *) "lineSize", NULL
10402 };
10403
10404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10406 {
10407 PyThreadState* __tstate = wxPyBeginAllowThreads();
10408 (arg1)->SetLineSize(arg2);
10409
10410 wxPyEndAllowThreads(__tstate);
10411 if (PyErr_Occurred()) SWIG_fail;
10412 }
10413 Py_INCREF(Py_None); resultobj = Py_None;
10414 return resultobj;
10415 fail:
10416 return NULL;
10417}
10418
10419
10420static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10421 PyObject *resultobj;
10422 wxSlider *arg1 = (wxSlider *) 0 ;
10423 int arg2 ;
10424 PyObject * obj0 = 0 ;
10425 char *kwnames[] = {
10426 (char *) "self",(char *) "pageSize", NULL
10427 };
10428
10429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10431 {
10432 PyThreadState* __tstate = wxPyBeginAllowThreads();
10433 (arg1)->SetPageSize(arg2);
10434
10435 wxPyEndAllowThreads(__tstate);
10436 if (PyErr_Occurred()) SWIG_fail;
10437 }
10438 Py_INCREF(Py_None); resultobj = Py_None;
10439 return resultobj;
10440 fail:
10441 return NULL;
10442}
10443
10444
10445static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10446 PyObject *resultobj;
10447 wxSlider *arg1 = (wxSlider *) 0 ;
10448 int result;
10449 PyObject * obj0 = 0 ;
10450 char *kwnames[] = {
10451 (char *) "self", NULL
10452 };
10453
10454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10456 {
10457 PyThreadState* __tstate = wxPyBeginAllowThreads();
10458 result = (int)((wxSlider const *)arg1)->GetLineSize();
10459
10460 wxPyEndAllowThreads(__tstate);
10461 if (PyErr_Occurred()) SWIG_fail;
10462 }
10463 resultobj = PyInt_FromLong((long)result);
10464 return resultobj;
10465 fail:
10466 return NULL;
10467}
10468
10469
10470static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10471 PyObject *resultobj;
10472 wxSlider *arg1 = (wxSlider *) 0 ;
10473 int result;
10474 PyObject * obj0 = 0 ;
10475 char *kwnames[] = {
10476 (char *) "self", NULL
10477 };
10478
10479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10481 {
10482 PyThreadState* __tstate = wxPyBeginAllowThreads();
10483 result = (int)((wxSlider const *)arg1)->GetPageSize();
10484
10485 wxPyEndAllowThreads(__tstate);
10486 if (PyErr_Occurred()) SWIG_fail;
10487 }
10488 resultobj = PyInt_FromLong((long)result);
10489 return resultobj;
10490 fail:
10491 return NULL;
10492}
10493
10494
10495static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10496 PyObject *resultobj;
10497 wxSlider *arg1 = (wxSlider *) 0 ;
10498 int arg2 ;
10499 PyObject * obj0 = 0 ;
10500 char *kwnames[] = {
10501 (char *) "self",(char *) "lenPixels", NULL
10502 };
10503
10504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10506 {
10507 PyThreadState* __tstate = wxPyBeginAllowThreads();
10508 (arg1)->SetThumbLength(arg2);
10509
10510 wxPyEndAllowThreads(__tstate);
10511 if (PyErr_Occurred()) SWIG_fail;
10512 }
10513 Py_INCREF(Py_None); resultobj = Py_None;
10514 return resultobj;
10515 fail:
10516 return NULL;
10517}
10518
10519
10520static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10521 PyObject *resultobj;
10522 wxSlider *arg1 = (wxSlider *) 0 ;
10523 int result;
10524 PyObject * obj0 = 0 ;
10525 char *kwnames[] = {
10526 (char *) "self", NULL
10527 };
10528
10529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10531 {
10532 PyThreadState* __tstate = wxPyBeginAllowThreads();
10533 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10534
10535 wxPyEndAllowThreads(__tstate);
10536 if (PyErr_Occurred()) SWIG_fail;
10537 }
10538 resultobj = PyInt_FromLong((long)result);
10539 return resultobj;
10540 fail:
10541 return NULL;
10542}
10543
10544
10545static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10546 PyObject *resultobj;
10547 wxSlider *arg1 = (wxSlider *) 0 ;
10548 int arg2 ;
10549 int arg3 ;
10550 PyObject * obj0 = 0 ;
10551 char *kwnames[] = {
10552 (char *) "self",(char *) "n",(char *) "pos", NULL
10553 };
10554
10555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10557 {
10558 PyThreadState* __tstate = wxPyBeginAllowThreads();
10559 (arg1)->SetTickFreq(arg2,arg3);
10560
10561 wxPyEndAllowThreads(__tstate);
10562 if (PyErr_Occurred()) SWIG_fail;
10563 }
10564 Py_INCREF(Py_None); resultobj = Py_None;
10565 return resultobj;
10566 fail:
10567 return NULL;
10568}
10569
10570
10571static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10572 PyObject *resultobj;
10573 wxSlider *arg1 = (wxSlider *) 0 ;
10574 int result;
10575 PyObject * obj0 = 0 ;
10576 char *kwnames[] = {
10577 (char *) "self", NULL
10578 };
10579
10580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10582 {
10583 PyThreadState* __tstate = wxPyBeginAllowThreads();
10584 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10585
10586 wxPyEndAllowThreads(__tstate);
10587 if (PyErr_Occurred()) SWIG_fail;
10588 }
10589 resultobj = PyInt_FromLong((long)result);
10590 return resultobj;
10591 fail:
10592 return NULL;
10593}
10594
10595
10596static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10597 PyObject *resultobj;
10598 wxSlider *arg1 = (wxSlider *) 0 ;
10599 PyObject * obj0 = 0 ;
10600 char *kwnames[] = {
10601 (char *) "self", NULL
10602 };
10603
10604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10606 {
10607 PyThreadState* __tstate = wxPyBeginAllowThreads();
10608 (arg1)->ClearTicks();
10609
10610 wxPyEndAllowThreads(__tstate);
10611 if (PyErr_Occurred()) SWIG_fail;
10612 }
10613 Py_INCREF(Py_None); resultobj = Py_None;
10614 return resultobj;
10615 fail:
10616 return NULL;
10617}
10618
10619
10620static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10621 PyObject *resultobj;
10622 wxSlider *arg1 = (wxSlider *) 0 ;
10623 int arg2 ;
10624 PyObject * obj0 = 0 ;
10625 char *kwnames[] = {
10626 (char *) "self",(char *) "tickPos", NULL
10627 };
10628
10629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10631 {
10632 PyThreadState* __tstate = wxPyBeginAllowThreads();
10633 (arg1)->SetTick(arg2);
10634
10635 wxPyEndAllowThreads(__tstate);
10636 if (PyErr_Occurred()) SWIG_fail;
10637 }
10638 Py_INCREF(Py_None); resultobj = Py_None;
10639 return resultobj;
10640 fail:
10641 return NULL;
10642}
10643
10644
10645static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10646 PyObject *resultobj;
10647 wxSlider *arg1 = (wxSlider *) 0 ;
10648 PyObject * obj0 = 0 ;
10649 char *kwnames[] = {
10650 (char *) "self", NULL
10651 };
10652
10653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10655 {
10656 PyThreadState* __tstate = wxPyBeginAllowThreads();
10657 (arg1)->ClearSel();
10658
10659 wxPyEndAllowThreads(__tstate);
10660 if (PyErr_Occurred()) SWIG_fail;
10661 }
10662 Py_INCREF(Py_None); resultobj = Py_None;
10663 return resultobj;
10664 fail:
10665 return NULL;
10666}
10667
10668
10669static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10670 PyObject *resultobj;
10671 wxSlider *arg1 = (wxSlider *) 0 ;
10672 int result;
10673 PyObject * obj0 = 0 ;
10674 char *kwnames[] = {
10675 (char *) "self", NULL
10676 };
10677
10678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10680 {
10681 PyThreadState* __tstate = wxPyBeginAllowThreads();
10682 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10683
10684 wxPyEndAllowThreads(__tstate);
10685 if (PyErr_Occurred()) SWIG_fail;
10686 }
10687 resultobj = PyInt_FromLong((long)result);
10688 return resultobj;
10689 fail:
10690 return NULL;
10691}
10692
10693
10694static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10695 PyObject *resultobj;
10696 wxSlider *arg1 = (wxSlider *) 0 ;
10697 int result;
10698 PyObject * obj0 = 0 ;
10699 char *kwnames[] = {
10700 (char *) "self", NULL
10701 };
10702
10703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10705 {
10706 PyThreadState* __tstate = wxPyBeginAllowThreads();
10707 result = (int)((wxSlider const *)arg1)->GetSelStart();
10708
10709 wxPyEndAllowThreads(__tstate);
10710 if (PyErr_Occurred()) SWIG_fail;
10711 }
10712 resultobj = PyInt_FromLong((long)result);
10713 return resultobj;
10714 fail:
10715 return NULL;
10716}
10717
10718
10719static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10720 PyObject *resultobj;
10721 wxSlider *arg1 = (wxSlider *) 0 ;
10722 int arg2 ;
10723 int arg3 ;
10724 PyObject * obj0 = 0 ;
10725 char *kwnames[] = {
10726 (char *) "self",(char *) "min",(char *) "max", NULL
10727 };
10728
10729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10731 {
10732 PyThreadState* __tstate = wxPyBeginAllowThreads();
10733 (arg1)->SetSelection(arg2,arg3);
10734
10735 wxPyEndAllowThreads(__tstate);
10736 if (PyErr_Occurred()) SWIG_fail;
10737 }
10738 Py_INCREF(Py_None); resultobj = Py_None;
10739 return resultobj;
10740 fail:
10741 return NULL;
10742}
10743
10744
10745static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10746 PyObject *obj;
10747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10748 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10749 Py_INCREF(obj);
10750 return Py_BuildValue((char *)"");
10751}
10752static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10753 PyObject *resultobj;
10754 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 10755 int arg2 ;
d14a1e28
RD
10756 wxString *arg3 = 0 ;
10757 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10758 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10759 wxSize const &arg5_defvalue = wxDefaultSize ;
10760 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10761 long arg6 = (long) 0 ;
10762 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10763 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10764 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10765 wxString *arg8 = (wxString *) &arg8_defvalue ;
10766 wxToggleButton *result;
e811c8ce 10767 bool temp3 = False ;
d14a1e28
RD
10768 wxPoint temp4 ;
10769 wxSize temp5 ;
e811c8ce 10770 bool temp8 = False ;
d14a1e28
RD
10771 PyObject * obj0 = 0 ;
10772 PyObject * obj2 = 0 ;
10773 PyObject * obj3 = 0 ;
10774 PyObject * obj4 = 0 ;
10775 PyObject * obj6 = 0 ;
10776 PyObject * obj7 = 0 ;
10777 char *kwnames[] = {
10778 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10779 };
10780
10781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10783 {
10784 arg3 = wxString_in_helper(obj2);
10785 if (arg3 == NULL) SWIG_fail;
e811c8ce 10786 temp3 = True;
d14a1e28
RD
10787 }
10788 if (obj3) {
10789 {
10790 arg4 = &temp4;
10791 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10792 }
10793 }
10794 if (obj4) {
10795 {
10796 arg5 = &temp5;
10797 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10798 }
10799 }
10800 if (obj6) {
10801 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10802 if (arg7 == NULL) {
10803 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10804 }
10805 }
10806 if (obj7) {
10807 {
10808 arg8 = wxString_in_helper(obj7);
10809 if (arg8 == NULL) SWIG_fail;
e811c8ce 10810 temp8 = True;
d14a1e28
RD
10811 }
10812 }
10813 {
10814 PyThreadState* __tstate = wxPyBeginAllowThreads();
10815 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10816
10817 wxPyEndAllowThreads(__tstate);
10818 if (PyErr_Occurred()) SWIG_fail;
10819 }
10820 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10821 {
10822 if (temp3)
10823 delete arg3;
10824 }
10825 {
10826 if (temp8)
10827 delete arg8;
10828 }
10829 return resultobj;
10830 fail:
10831 {
10832 if (temp3)
10833 delete arg3;
10834 }
10835 {
10836 if (temp8)
10837 delete arg8;
10838 }
10839 return NULL;
10840}
10841
10842
10843static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject *resultobj;
10845 wxToggleButton *result;
10846 char *kwnames[] = {
10847 NULL
10848 };
10849
10850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10851 {
10852 PyThreadState* __tstate = wxPyBeginAllowThreads();
10853 result = (wxToggleButton *)new wxToggleButton();
10854
10855 wxPyEndAllowThreads(__tstate);
10856 if (PyErr_Occurred()) SWIG_fail;
10857 }
10858 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10859 return resultobj;
10860 fail:
10861 return NULL;
10862}
10863
10864
10865static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10866 PyObject *resultobj;
10867 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10868 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 10869 int arg3 ;
d14a1e28
RD
10870 wxString *arg4 = 0 ;
10871 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10872 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10873 wxSize const &arg6_defvalue = wxDefaultSize ;
10874 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10875 long arg7 = (long) 0 ;
10876 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10877 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10878 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
10879 wxString *arg9 = (wxString *) &arg9_defvalue ;
10880 bool result;
e811c8ce 10881 bool temp4 = False ;
d14a1e28
RD
10882 wxPoint temp5 ;
10883 wxSize temp6 ;
e811c8ce 10884 bool temp9 = False ;
d14a1e28
RD
10885 PyObject * obj0 = 0 ;
10886 PyObject * obj1 = 0 ;
10887 PyObject * obj3 = 0 ;
10888 PyObject * obj4 = 0 ;
10889 PyObject * obj5 = 0 ;
10890 PyObject * obj7 = 0 ;
10891 PyObject * obj8 = 0 ;
10892 char *kwnames[] = {
10893 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10894 };
10895
10896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10898 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10899 {
10900 arg4 = wxString_in_helper(obj3);
10901 if (arg4 == NULL) SWIG_fail;
e811c8ce 10902 temp4 = True;
d14a1e28
RD
10903 }
10904 if (obj4) {
10905 {
10906 arg5 = &temp5;
10907 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10908 }
10909 }
10910 if (obj5) {
10911 {
10912 arg6 = &temp6;
10913 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10914 }
10915 }
10916 if (obj7) {
10917 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10918 if (arg8 == NULL) {
10919 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10920 }
10921 }
10922 if (obj8) {
10923 {
10924 arg9 = wxString_in_helper(obj8);
10925 if (arg9 == NULL) SWIG_fail;
e811c8ce 10926 temp9 = True;
d14a1e28
RD
10927 }
10928 }
10929 {
10930 PyThreadState* __tstate = wxPyBeginAllowThreads();
10931 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10932
10933 wxPyEndAllowThreads(__tstate);
10934 if (PyErr_Occurred()) SWIG_fail;
10935 }
10936 resultobj = PyInt_FromLong((long)result);
10937 {
10938 if (temp4)
10939 delete arg4;
10940 }
10941 {
10942 if (temp9)
10943 delete arg9;
10944 }
10945 return resultobj;
10946 fail:
10947 {
10948 if (temp4)
10949 delete arg4;
10950 }
10951 {
10952 if (temp9)
10953 delete arg9;
10954 }
10955 return NULL;
10956}
10957
10958
10959static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10960 PyObject *resultobj;
10961 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10962 bool arg2 ;
10963 PyObject * obj0 = 0 ;
10964 PyObject * obj1 = 0 ;
10965 char *kwnames[] = {
10966 (char *) "self",(char *) "value", NULL
10967 };
10968
10969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10971 arg2 = PyInt_AsLong(obj1) ? true : false;
10972 if (PyErr_Occurred()) SWIG_fail;
10973 {
10974 PyThreadState* __tstate = wxPyBeginAllowThreads();
10975 (arg1)->SetValue(arg2);
10976
10977 wxPyEndAllowThreads(__tstate);
10978 if (PyErr_Occurred()) SWIG_fail;
10979 }
10980 Py_INCREF(Py_None); resultobj = Py_None;
10981 return resultobj;
10982 fail:
10983 return NULL;
10984}
10985
10986
10987static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10988 PyObject *resultobj;
10989 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10990 bool result;
10991 PyObject * obj0 = 0 ;
10992 char *kwnames[] = {
10993 (char *) "self", NULL
10994 };
10995
10996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
10997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10998 {
10999 PyThreadState* __tstate = wxPyBeginAllowThreads();
11000 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11001
11002 wxPyEndAllowThreads(__tstate);
11003 if (PyErr_Occurred()) SWIG_fail;
11004 }
11005 resultobj = PyInt_FromLong((long)result);
11006 return resultobj;
11007 fail:
11008 return NULL;
11009}
11010
11011
11012static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11013 PyObject *resultobj;
11014 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11015 wxString *arg2 = 0 ;
e811c8ce 11016 bool temp2 = False ;
d14a1e28
RD
11017 PyObject * obj0 = 0 ;
11018 PyObject * obj1 = 0 ;
11019 char *kwnames[] = {
11020 (char *) "self",(char *) "label", NULL
11021 };
11022
11023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11025 {
11026 arg2 = wxString_in_helper(obj1);
11027 if (arg2 == NULL) SWIG_fail;
e811c8ce 11028 temp2 = True;
d14a1e28
RD
11029 }
11030 {
11031 PyThreadState* __tstate = wxPyBeginAllowThreads();
11032 (arg1)->SetLabel((wxString const &)*arg2);
11033
11034 wxPyEndAllowThreads(__tstate);
11035 if (PyErr_Occurred()) SWIG_fail;
11036 }
11037 Py_INCREF(Py_None); resultobj = Py_None;
11038 {
11039 if (temp2)
11040 delete arg2;
11041 }
11042 return resultobj;
11043 fail:
11044 {
11045 if (temp2)
11046 delete arg2;
11047 }
11048 return NULL;
11049}
11050
11051
11052static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11053 PyObject *obj;
11054 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11055 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11056 Py_INCREF(obj);
11057 return Py_BuildValue((char *)"");
11058}
11059static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11060 PyObject *resultobj;
11061 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11062 size_t result;
11063 PyObject * obj0 = 0 ;
11064 char *kwnames[] = {
11065 (char *) "self", NULL
11066 };
11067
11068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11070 {
11071 PyThreadState* __tstate = wxPyBeginAllowThreads();
11072 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11073
11074 wxPyEndAllowThreads(__tstate);
11075 if (PyErr_Occurred()) SWIG_fail;
11076 }
11077 resultobj = PyInt_FromLong((long)result);
11078 return resultobj;
11079 fail:
11080 return NULL;
11081}
11082
11083
11084static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11085 PyObject *resultobj;
11086 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11087 size_t arg2 ;
11088 wxWindow *result;
11089 PyObject * obj0 = 0 ;
11090 PyObject * obj1 = 0 ;
11091 char *kwnames[] = {
11092 (char *) "self",(char *) "n", NULL
11093 };
11094
11095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11097 arg2 = (size_t) PyInt_AsLong(obj1);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 {
11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
11101 result = (wxWindow *)(arg1)->GetPage(arg2);
11102
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 {
11107 resultobj = wxPyMake_wxObject(result);
11108 }
11109 return resultobj;
11110 fail:
11111 return NULL;
11112}
11113
11114
11115static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11116 PyObject *resultobj;
11117 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11118 int result;
11119 PyObject * obj0 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11126 {
11127 PyThreadState* __tstate = wxPyBeginAllowThreads();
11128 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11129
11130 wxPyEndAllowThreads(__tstate);
11131 if (PyErr_Occurred()) SWIG_fail;
11132 }
11133 resultobj = PyInt_FromLong((long)result);
11134 return resultobj;
11135 fail:
11136 return NULL;
11137}
11138
11139
11140static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11141 PyObject *resultobj;
11142 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11143 size_t arg2 ;
11144 wxString *arg3 = 0 ;
11145 bool result;
e811c8ce 11146 bool temp3 = False ;
d14a1e28
RD
11147 PyObject * obj0 = 0 ;
11148 PyObject * obj1 = 0 ;
11149 PyObject * obj2 = 0 ;
11150 char *kwnames[] = {
11151 (char *) "self",(char *) "n",(char *) "strText", NULL
11152 };
11153
11154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11156 arg2 = (size_t) PyInt_AsLong(obj1);
11157 if (PyErr_Occurred()) SWIG_fail;
11158 {
11159 arg3 = wxString_in_helper(obj2);
11160 if (arg3 == NULL) SWIG_fail;
e811c8ce 11161 temp3 = True;
d14a1e28
RD
11162 }
11163 {
11164 PyThreadState* __tstate = wxPyBeginAllowThreads();
11165 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11166
11167 wxPyEndAllowThreads(__tstate);
11168 if (PyErr_Occurred()) SWIG_fail;
11169 }
11170 resultobj = PyInt_FromLong((long)result);
11171 {
11172 if (temp3)
11173 delete arg3;
11174 }
11175 return resultobj;
11176 fail:
11177 {
11178 if (temp3)
11179 delete arg3;
11180 }
11181 return NULL;
11182}
11183
11184
11185static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11186 PyObject *resultobj;
11187 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11188 size_t arg2 ;
11189 wxString result;
11190 PyObject * obj0 = 0 ;
11191 PyObject * obj1 = 0 ;
11192 char *kwnames[] = {
11193 (char *) "self",(char *) "n", NULL
11194 };
11195
11196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11198 arg2 = (size_t) PyInt_AsLong(obj1);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 {
11201 PyThreadState* __tstate = wxPyBeginAllowThreads();
11202 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11203
11204 wxPyEndAllowThreads(__tstate);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 }
11207 {
11208#if wxUSE_UNICODE
11209 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11210#else
11211 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11212#endif
11213 }
11214 return resultobj;
11215 fail:
11216 return NULL;
11217}
11218
11219
11220static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11221 PyObject *resultobj;
11222 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11223 wxImageList *arg2 = (wxImageList *) 0 ;
11224 PyObject * obj0 = 0 ;
11225 PyObject * obj1 = 0 ;
11226 char *kwnames[] = {
11227 (char *) "self",(char *) "imageList", NULL
11228 };
11229
11230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11232 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
11235 (arg1)->SetImageList(arg2);
11236
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
11240 Py_INCREF(Py_None); resultobj = Py_None;
11241 return resultobj;
11242 fail:
11243 return NULL;
11244}
11245
11246
11247static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11248 PyObject *resultobj;
11249 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11250 wxImageList *arg2 = (wxImageList *) 0 ;
11251 PyObject * obj0 = 0 ;
11252 PyObject * obj1 = 0 ;
11253 char *kwnames[] = {
11254 (char *) "self",(char *) "imageList", NULL
11255 };
11256
11257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11260 {
11261 PyThreadState* __tstate = wxPyBeginAllowThreads();
11262 (arg1)->AssignImageList(arg2);
11263
11264 wxPyEndAllowThreads(__tstate);
11265 if (PyErr_Occurred()) SWIG_fail;
11266 }
11267 Py_INCREF(Py_None); resultobj = Py_None;
11268 return resultobj;
11269 fail:
11270 return NULL;
11271}
11272
11273
11274static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11275 PyObject *resultobj;
11276 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11277 wxImageList *result;
11278 PyObject * obj0 = 0 ;
11279 char *kwnames[] = {
11280 (char *) "self", NULL
11281 };
11282
11283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11285 {
11286 PyThreadState* __tstate = wxPyBeginAllowThreads();
11287 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11288
11289 wxPyEndAllowThreads(__tstate);
11290 if (PyErr_Occurred()) SWIG_fail;
11291 }
11292 {
11293 resultobj = wxPyMake_wxObject(result);
11294 }
11295 return resultobj;
11296 fail:
11297 return NULL;
11298}
11299
11300
11301static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11302 PyObject *resultobj;
11303 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11304 size_t arg2 ;
11305 int result;
11306 PyObject * obj0 = 0 ;
11307 PyObject * obj1 = 0 ;
11308 char *kwnames[] = {
11309 (char *) "self",(char *) "n", NULL
11310 };
11311
11312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11314 arg2 = (size_t) PyInt_AsLong(obj1);
11315 if (PyErr_Occurred()) SWIG_fail;
11316 {
11317 PyThreadState* __tstate = wxPyBeginAllowThreads();
11318 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11319
11320 wxPyEndAllowThreads(__tstate);
11321 if (PyErr_Occurred()) SWIG_fail;
11322 }
11323 resultobj = PyInt_FromLong((long)result);
11324 return resultobj;
11325 fail:
11326 return NULL;
11327}
11328
11329
11330static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11331 PyObject *resultobj;
11332 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11333 size_t arg2 ;
11334 int arg3 ;
11335 bool result;
11336 PyObject * obj0 = 0 ;
11337 PyObject * obj1 = 0 ;
11338 char *kwnames[] = {
11339 (char *) "self",(char *) "n",(char *) "imageId", NULL
11340 };
11341
11342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11344 arg2 = (size_t) PyInt_AsLong(obj1);
11345 if (PyErr_Occurred()) SWIG_fail;
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
11348 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11349
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 resultobj = PyInt_FromLong((long)result);
11354 return resultobj;
11355 fail:
11356 return NULL;
11357}
11358
11359
11360static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11361 PyObject *resultobj;
11362 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11363 wxSize *arg2 = 0 ;
11364 wxSize temp2 ;
11365 PyObject * obj0 = 0 ;
11366 PyObject * obj1 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "self",(char *) "size", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11373 {
11374 arg2 = &temp2;
11375 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11376 }
11377 {
11378 PyThreadState* __tstate = wxPyBeginAllowThreads();
11379 (arg1)->SetPageSize((wxSize const &)*arg2);
11380
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 Py_INCREF(Py_None); resultobj = Py_None;
11385 return resultobj;
11386 fail:
11387 return NULL;
11388}
11389
11390
11391static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11392 PyObject *resultobj;
11393 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11394 wxSize *arg2 = 0 ;
11395 wxSize result;
11396 wxSize temp2 ;
11397 PyObject * obj0 = 0 ;
11398 PyObject * obj1 = 0 ;
11399 char *kwnames[] = {
11400 (char *) "self",(char *) "sizePage", NULL
11401 };
11402
11403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11405 {
11406 arg2 = &temp2;
11407 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11408 }
11409 {
11410 PyThreadState* __tstate = wxPyBeginAllowThreads();
11411 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11412
11413 wxPyEndAllowThreads(__tstate);
11414 if (PyErr_Occurred()) SWIG_fail;
11415 }
11416 {
11417 wxSize * resultptr;
11418 resultptr = new wxSize((wxSize &) result);
11419 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11420 }
11421 return resultobj;
11422 fail:
11423 return NULL;
11424}
11425
11426
11427static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11428 PyObject *resultobj;
11429 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11430 size_t arg2 ;
11431 bool result;
11432 PyObject * obj0 = 0 ;
11433 PyObject * obj1 = 0 ;
11434 char *kwnames[] = {
11435 (char *) "self",(char *) "n", NULL
11436 };
11437
11438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11440 arg2 = (size_t) PyInt_AsLong(obj1);
11441 if (PyErr_Occurred()) SWIG_fail;
11442 {
11443 PyThreadState* __tstate = wxPyBeginAllowThreads();
11444 result = (bool)(arg1)->DeletePage(arg2);
11445
11446 wxPyEndAllowThreads(__tstate);
11447 if (PyErr_Occurred()) SWIG_fail;
11448 }
11449 resultobj = PyInt_FromLong((long)result);
11450 return resultobj;
11451 fail:
11452 return NULL;
11453}
11454
11455
11456static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11457 PyObject *resultobj;
11458 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11459 size_t arg2 ;
11460 bool result;
11461 PyObject * obj0 = 0 ;
11462 PyObject * obj1 = 0 ;
11463 char *kwnames[] = {
11464 (char *) "self",(char *) "n", NULL
11465 };
11466
11467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11469 arg2 = (size_t) PyInt_AsLong(obj1);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 {
11472 PyThreadState* __tstate = wxPyBeginAllowThreads();
11473 result = (bool)(arg1)->RemovePage(arg2);
11474
11475 wxPyEndAllowThreads(__tstate);
11476 if (PyErr_Occurred()) SWIG_fail;
11477 }
11478 resultobj = PyInt_FromLong((long)result);
11479 return resultobj;
11480 fail:
11481 return NULL;
11482}
11483
11484
11485static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11486 PyObject *resultobj;
11487 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11488 bool result;
11489 PyObject * obj0 = 0 ;
11490 char *kwnames[] = {
11491 (char *) "self", NULL
11492 };
11493
11494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11496 {
11497 PyThreadState* __tstate = wxPyBeginAllowThreads();
11498 result = (bool)(arg1)->DeleteAllPages();
11499
11500 wxPyEndAllowThreads(__tstate);
11501 if (PyErr_Occurred()) SWIG_fail;
11502 }
11503 resultobj = PyInt_FromLong((long)result);
11504 return resultobj;
11505 fail:
11506 return NULL;
11507}
11508
11509
11510static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11511 PyObject *resultobj;
11512 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11513 wxWindow *arg2 = (wxWindow *) 0 ;
11514 wxString *arg3 = 0 ;
e811c8ce 11515 bool arg4 = (bool) False ;
d14a1e28
RD
11516 int arg5 = (int) -1 ;
11517 bool result;
e811c8ce 11518 bool temp3 = False ;
d14a1e28
RD
11519 PyObject * obj0 = 0 ;
11520 PyObject * obj1 = 0 ;
11521 PyObject * obj2 = 0 ;
11522 PyObject * obj3 = 0 ;
11523 char *kwnames[] = {
11524 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11525 };
11526
11527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11530 {
11531 arg3 = wxString_in_helper(obj2);
11532 if (arg3 == NULL) SWIG_fail;
e811c8ce 11533 temp3 = True;
d14a1e28
RD
11534 }
11535 if (obj3) {
11536 arg4 = PyInt_AsLong(obj3) ? true : false;
11537 if (PyErr_Occurred()) SWIG_fail;
11538 }
11539 {
11540 PyThreadState* __tstate = wxPyBeginAllowThreads();
11541 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11542
11543 wxPyEndAllowThreads(__tstate);
11544 if (PyErr_Occurred()) SWIG_fail;
11545 }
11546 resultobj = PyInt_FromLong((long)result);
11547 {
11548 if (temp3)
11549 delete arg3;
11550 }
11551 return resultobj;
11552 fail:
11553 {
11554 if (temp3)
11555 delete arg3;
11556 }
11557 return NULL;
11558}
11559
11560
11561static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11562 PyObject *resultobj;
11563 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11564 size_t arg2 ;
11565 wxWindow *arg3 = (wxWindow *) 0 ;
11566 wxString *arg4 = 0 ;
e811c8ce 11567 bool arg5 = (bool) False ;
d14a1e28
RD
11568 int arg6 = (int) -1 ;
11569 bool result;
e811c8ce 11570 bool temp4 = False ;
d14a1e28
RD
11571 PyObject * obj0 = 0 ;
11572 PyObject * obj1 = 0 ;
11573 PyObject * obj2 = 0 ;
11574 PyObject * obj3 = 0 ;
11575 PyObject * obj4 = 0 ;
11576 char *kwnames[] = {
11577 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11578 };
11579
11580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11582 arg2 = (size_t) PyInt_AsLong(obj1);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11585 {
11586 arg4 = wxString_in_helper(obj3);
11587 if (arg4 == NULL) SWIG_fail;
e811c8ce 11588 temp4 = True;
d14a1e28
RD
11589 }
11590 if (obj4) {
11591 arg5 = PyInt_AsLong(obj4) ? true : false;
11592 if (PyErr_Occurred()) SWIG_fail;
11593 }
11594 {
11595 PyThreadState* __tstate = wxPyBeginAllowThreads();
11596 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11597
11598 wxPyEndAllowThreads(__tstate);
11599 if (PyErr_Occurred()) SWIG_fail;
11600 }
11601 resultobj = PyInt_FromLong((long)result);
11602 {
11603 if (temp4)
11604 delete arg4;
11605 }
11606 return resultobj;
11607 fail:
11608 {
11609 if (temp4)
11610 delete arg4;
11611 }
11612 return NULL;
11613}
11614
11615
11616static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj;
11618 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11619 size_t arg2 ;
11620 int result;
11621 PyObject * obj0 = 0 ;
11622 PyObject * obj1 = 0 ;
11623 char *kwnames[] = {
11624 (char *) "self",(char *) "n", NULL
11625 };
11626
11627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11629 arg2 = (size_t) PyInt_AsLong(obj1);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 {
11632 PyThreadState* __tstate = wxPyBeginAllowThreads();
11633 result = (int)(arg1)->SetSelection(arg2);
11634
11635 wxPyEndAllowThreads(__tstate);
11636 if (PyErr_Occurred()) SWIG_fail;
11637 }
11638 resultobj = PyInt_FromLong((long)result);
11639 return resultobj;
11640 fail:
11641 return NULL;
11642}
11643
11644
11645static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11646 PyObject *resultobj;
11647 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
e811c8ce 11648 bool arg2 = (bool) True ;
d14a1e28
RD
11649 PyObject * obj0 = 0 ;
11650 PyObject * obj1 = 0 ;
11651 char *kwnames[] = {
11652 (char *) "self",(char *) "forward", NULL
11653 };
11654
11655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11657 if (obj1) {
11658 arg2 = PyInt_AsLong(obj1) ? true : false;
11659 if (PyErr_Occurred()) SWIG_fail;
11660 }
11661 {
11662 PyThreadState* __tstate = wxPyBeginAllowThreads();
11663 (arg1)->AdvanceSelection(arg2);
11664
11665 wxPyEndAllowThreads(__tstate);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 }
11668 Py_INCREF(Py_None); resultobj = Py_None;
11669 return resultobj;
11670 fail:
11671 return NULL;
11672}
11673
11674
11675static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11676 PyObject *obj;
11677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11678 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11679 Py_INCREF(obj);
11680 return Py_BuildValue((char *)"");
11681}
11682static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11683 PyObject *resultobj;
11684 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11685 int arg2 = (int) 0 ;
11686 int arg3 = (int) -1 ;
11687 int arg4 = (int) -1 ;
11688 wxBookCtrlEvent *result;
11689 char *kwnames[] = {
11690 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11694 {
11695 PyThreadState* __tstate = wxPyBeginAllowThreads();
11696 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11697
11698 wxPyEndAllowThreads(__tstate);
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11702 return resultobj;
11703 fail:
11704 return NULL;
11705}
11706
11707
11708static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11709 PyObject *resultobj;
11710 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11711 int result;
11712 PyObject * obj0 = 0 ;
11713 char *kwnames[] = {
11714 (char *) "self", NULL
11715 };
11716
11717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
11721 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
11726 resultobj = PyInt_FromLong((long)result);
11727 return resultobj;
11728 fail:
11729 return NULL;
11730}
11731
11732
11733static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11734 PyObject *resultobj;
11735 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11736 int arg2 ;
11737 PyObject * obj0 = 0 ;
11738 char *kwnames[] = {
11739 (char *) "self",(char *) "nSel", NULL
11740 };
11741
11742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 (arg1)->SetSelection(arg2);
11747
11748 wxPyEndAllowThreads(__tstate);
11749 if (PyErr_Occurred()) SWIG_fail;
11750 }
11751 Py_INCREF(Py_None); resultobj = Py_None;
11752 return resultobj;
11753 fail:
11754 return NULL;
11755}
11756
11757
11758static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj;
11760 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11761 int result;
11762 PyObject * obj0 = 0 ;
11763 char *kwnames[] = {
11764 (char *) "self", NULL
11765 };
11766
11767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11769 {
11770 PyThreadState* __tstate = wxPyBeginAllowThreads();
11771 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11772
11773 wxPyEndAllowThreads(__tstate);
11774 if (PyErr_Occurred()) SWIG_fail;
11775 }
11776 resultobj = PyInt_FromLong((long)result);
11777 return resultobj;
11778 fail:
11779 return NULL;
11780}
11781
11782
11783static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11784 PyObject *resultobj;
11785 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11786 int arg2 ;
11787 PyObject * obj0 = 0 ;
11788 char *kwnames[] = {
11789 (char *) "self",(char *) "nOldSel", NULL
11790 };
11791
11792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11794 {
11795 PyThreadState* __tstate = wxPyBeginAllowThreads();
11796 (arg1)->SetOldSelection(arg2);
11797
11798 wxPyEndAllowThreads(__tstate);
11799 if (PyErr_Occurred()) SWIG_fail;
11800 }
11801 Py_INCREF(Py_None); resultobj = Py_None;
11802 return resultobj;
11803 fail:
11804 return NULL;
11805}
11806
11807
11808static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11809 PyObject *obj;
11810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11811 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11812 Py_INCREF(obj);
11813 return Py_BuildValue((char *)"");
11814}
11815static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11816 PyObject *resultobj;
11817 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 11818 int arg2 ;
d14a1e28
RD
11819 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11820 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11821 wxSize const &arg4_defvalue = wxDefaultSize ;
11822 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11823 long arg5 = (long) 0 ;
11824 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11825 wxString *arg6 = (wxString *) &arg6_defvalue ;
11826 wxNotebook *result;
11827 wxPoint temp3 ;
11828 wxSize temp4 ;
e811c8ce 11829 bool temp6 = False ;
d14a1e28
RD
11830 PyObject * obj0 = 0 ;
11831 PyObject * obj2 = 0 ;
11832 PyObject * obj3 = 0 ;
11833 PyObject * obj5 = 0 ;
11834 char *kwnames[] = {
11835 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11836 };
11837
11838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11840 if (obj2) {
11841 {
11842 arg3 = &temp3;
11843 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11844 }
11845 }
11846 if (obj3) {
11847 {
11848 arg4 = &temp4;
11849 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11850 }
11851 }
11852 if (obj5) {
11853 {
11854 arg6 = wxString_in_helper(obj5);
11855 if (arg6 == NULL) SWIG_fail;
e811c8ce 11856 temp6 = True;
d14a1e28
RD
11857 }
11858 }
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 {
11867 resultobj = wxPyMake_wxObject(result);
11868 }
11869 {
11870 if (temp6)
11871 delete arg6;
11872 }
11873 return resultobj;
11874 fail:
11875 {
11876 if (temp6)
11877 delete arg6;
11878 }
11879 return NULL;
11880}
11881
11882
11883static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11884 PyObject *resultobj;
11885 wxNotebook *result;
11886 char *kwnames[] = {
11887 NULL
11888 };
11889
11890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11891 {
11892 PyThreadState* __tstate = wxPyBeginAllowThreads();
11893 result = (wxNotebook *)new wxNotebook();
11894
11895 wxPyEndAllowThreads(__tstate);
11896 if (PyErr_Occurred()) SWIG_fail;
11897 }
11898 {
11899 resultobj = wxPyMake_wxObject(result);
11900 }
11901 return resultobj;
11902 fail:
11903 return NULL;
11904}
11905
11906
11907static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11908 PyObject *resultobj;
11909 wxNotebook *arg1 = (wxNotebook *) 0 ;
11910 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 11911 int arg3 ;
d14a1e28
RD
11912 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11913 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11914 wxSize const &arg5_defvalue = wxDefaultSize ;
11915 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11916 long arg6 = (long) 0 ;
11917 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
11918 wxString *arg7 = (wxString *) &arg7_defvalue ;
11919 bool result;
11920 wxPoint temp4 ;
11921 wxSize temp5 ;
e811c8ce 11922 bool temp7 = False ;
d14a1e28
RD
11923 PyObject * obj0 = 0 ;
11924 PyObject * obj1 = 0 ;
11925 PyObject * obj3 = 0 ;
11926 PyObject * obj4 = 0 ;
11927 PyObject * obj6 = 0 ;
11928 char *kwnames[] = {
11929 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11930 };
11931
11932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
11933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11934 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11935 if (obj3) {
11936 {
11937 arg4 = &temp4;
11938 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11939 }
11940 }
11941 if (obj4) {
11942 {
11943 arg5 = &temp5;
11944 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11945 }
11946 }
11947 if (obj6) {
11948 {
11949 arg7 = wxString_in_helper(obj6);
11950 if (arg7 == NULL) SWIG_fail;
e811c8ce 11951 temp7 = True;
d14a1e28
RD
11952 }
11953 }
11954 {
11955 PyThreadState* __tstate = wxPyBeginAllowThreads();
11956 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11957
11958 wxPyEndAllowThreads(__tstate);
11959 if (PyErr_Occurred()) SWIG_fail;
11960 }
11961 resultobj = PyInt_FromLong((long)result);
11962 {
11963 if (temp7)
11964 delete arg7;
11965 }
11966 return resultobj;
11967 fail:
11968 {
11969 if (temp7)
11970 delete arg7;
11971 }
11972 return NULL;
11973}
11974
11975
11976static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11977 PyObject *resultobj;
11978 wxNotebook *arg1 = (wxNotebook *) 0 ;
11979 int result;
11980 PyObject * obj0 = 0 ;
11981 char *kwnames[] = {
11982 (char *) "self", NULL
11983 };
11984
11985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
11986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11987 {
11988 PyThreadState* __tstate = wxPyBeginAllowThreads();
11989 result = (int)((wxNotebook const *)arg1)->GetRowCount();
11990
11991 wxPyEndAllowThreads(__tstate);
11992 if (PyErr_Occurred()) SWIG_fail;
11993 }
11994 resultobj = PyInt_FromLong((long)result);
11995 return resultobj;
11996 fail:
11997 return NULL;
11998}
11999
12000
12001static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12002 PyObject *resultobj;
12003 wxNotebook *arg1 = (wxNotebook *) 0 ;
12004 wxSize *arg2 = 0 ;
12005 wxSize temp2 ;
12006 PyObject * obj0 = 0 ;
12007 PyObject * obj1 = 0 ;
12008 char *kwnames[] = {
12009 (char *) "self",(char *) "padding", NULL
12010 };
12011
12012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12014 {
12015 arg2 = &temp2;
12016 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12017 }
12018 {
12019 PyThreadState* __tstate = wxPyBeginAllowThreads();
12020 (arg1)->SetPadding((wxSize const &)*arg2);
12021
12022 wxPyEndAllowThreads(__tstate);
12023 if (PyErr_Occurred()) SWIG_fail;
12024 }
12025 Py_INCREF(Py_None); resultobj = Py_None;
12026 return resultobj;
12027 fail:
12028 return NULL;
12029}
12030
12031
12032static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12033 PyObject *resultobj;
12034 wxNotebook *arg1 = (wxNotebook *) 0 ;
12035 wxSize *arg2 = 0 ;
12036 wxSize temp2 ;
12037 PyObject * obj0 = 0 ;
12038 PyObject * obj1 = 0 ;
12039 char *kwnames[] = {
12040 (char *) "self",(char *) "sz", NULL
12041 };
12042
12043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12045 {
12046 arg2 = &temp2;
12047 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12048 }
12049 {
12050 PyThreadState* __tstate = wxPyBeginAllowThreads();
12051 (arg1)->SetTabSize((wxSize const &)*arg2);
12052
12053 wxPyEndAllowThreads(__tstate);
12054 if (PyErr_Occurred()) SWIG_fail;
12055 }
12056 Py_INCREF(Py_None); resultobj = Py_None;
12057 return resultobj;
12058 fail:
12059 return NULL;
12060}
12061
12062
12063static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12064 PyObject *resultobj;
12065 wxNotebook *arg1 = (wxNotebook *) 0 ;
12066 wxPoint *arg2 = 0 ;
12067 long *arg3 = (long *) 0 ;
12068 int result;
12069 wxPoint temp2 ;
12070 long temp3 ;
12071 PyObject * obj0 = 0 ;
12072 PyObject * obj1 = 0 ;
12073 char *kwnames[] = {
12074 (char *) "self",(char *) "pt", NULL
12075 };
12076
12077 arg3 = &temp3;
12078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12080 {
12081 arg2 = &temp2;
12082 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12083 }
12084 {
12085 PyThreadState* __tstate = wxPyBeginAllowThreads();
12086 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12087
12088 wxPyEndAllowThreads(__tstate);
12089 if (PyErr_Occurred()) SWIG_fail;
12090 }
12091 resultobj = PyInt_FromLong((long)result);
12092 {
12093 PyObject *o = PyInt_FromLong((long) (*arg3));
12094 resultobj = t_output_helper(resultobj,o);
12095 }
12096 return resultobj;
12097 fail:
12098 return NULL;
12099}
12100
12101
12102static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12103 PyObject *resultobj;
12104 wxNotebook *arg1 = (wxNotebook *) 0 ;
12105 wxSize *arg2 = 0 ;
12106 wxSize result;
12107 wxSize temp2 ;
12108 PyObject * obj0 = 0 ;
12109 PyObject * obj1 = 0 ;
12110 char *kwnames[] = {
12111 (char *) "self",(char *) "sizePage", NULL
12112 };
12113
12114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12116 {
12117 arg2 = &temp2;
12118 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12119 }
12120 {
12121 PyThreadState* __tstate = wxPyBeginAllowThreads();
12122 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12123
12124 wxPyEndAllowThreads(__tstate);
12125 if (PyErr_Occurred()) SWIG_fail;
12126 }
12127 {
12128 wxSize * resultptr;
12129 resultptr = new wxSize((wxSize &) result);
12130 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12131 }
12132 return resultobj;
12133 fail:
12134 return NULL;
12135}
12136
12137
12138static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12139 PyObject *obj;
12140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12141 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12142 Py_INCREF(obj);
12143 return Py_BuildValue((char *)"");
12144}
12145static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12146 PyObject *resultobj;
12147 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12148 int arg2 = (int) 0 ;
12149 int arg3 = (int) -1 ;
12150 int arg4 = (int) -1 ;
12151 wxNotebookEvent *result;
12152 char *kwnames[] = {
12153 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12154 };
12155
12156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12157 {
12158 PyThreadState* __tstate = wxPyBeginAllowThreads();
12159 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12160
12161 wxPyEndAllowThreads(__tstate);
12162 if (PyErr_Occurred()) SWIG_fail;
12163 }
12164 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12165 return resultobj;
12166 fail:
12167 return NULL;
12168}
12169
12170
12171static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12172 PyObject *obj;
12173 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12174 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12175 Py_INCREF(obj);
12176 return Py_BuildValue((char *)"");
12177}
12178static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12179 PyObject *resultobj;
12180 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 12181 int arg2 ;
d14a1e28
RD
12182 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12183 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12184 wxSize const &arg4_defvalue = wxDefaultSize ;
12185 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12186 long arg5 = (long) 0 ;
12187 wxString const &arg6_defvalue = wxPyEmptyString ;
12188 wxString *arg6 = (wxString *) &arg6_defvalue ;
12189 wxListbook *result;
12190 wxPoint temp3 ;
12191 wxSize temp4 ;
e811c8ce 12192 bool temp6 = False ;
d14a1e28
RD
12193 PyObject * obj0 = 0 ;
12194 PyObject * obj2 = 0 ;
12195 PyObject * obj3 = 0 ;
12196 PyObject * obj5 = 0 ;
12197 char *kwnames[] = {
12198 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12199 };
12200
12201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12203 if (obj2) {
12204 {
12205 arg3 = &temp3;
12206 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12207 }
12208 }
12209 if (obj3) {
12210 {
12211 arg4 = &temp4;
12212 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12213 }
12214 }
12215 if (obj5) {
12216 {
12217 arg6 = wxString_in_helper(obj5);
12218 if (arg6 == NULL) SWIG_fail;
e811c8ce 12219 temp6 = True;
d14a1e28
RD
12220 }
12221 }
12222 {
12223 PyThreadState* __tstate = wxPyBeginAllowThreads();
12224 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12225
12226 wxPyEndAllowThreads(__tstate);
12227 if (PyErr_Occurred()) SWIG_fail;
12228 }
12229 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12230 {
12231 if (temp6)
12232 delete arg6;
12233 }
12234 return resultobj;
12235 fail:
12236 {
12237 if (temp6)
12238 delete arg6;
12239 }
12240 return NULL;
12241}
12242
12243
12244static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12245 PyObject *resultobj;
12246 wxListbook *result;
12247 char *kwnames[] = {
12248 NULL
12249 };
12250
12251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 result = (wxListbook *)new wxListbook();
12255
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12260 return resultobj;
12261 fail:
12262 return NULL;
12263}
12264
12265
12266static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12267 PyObject *resultobj;
12268 wxListbook *arg1 = (wxListbook *) 0 ;
12269 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 12270 int arg3 ;
d14a1e28
RD
12271 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12272 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12273 wxSize const &arg5_defvalue = wxDefaultSize ;
12274 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12275 long arg6 = (long) 0 ;
12276 wxString const &arg7_defvalue = wxPyEmptyString ;
12277 wxString *arg7 = (wxString *) &arg7_defvalue ;
12278 bool result;
12279 wxPoint temp4 ;
12280 wxSize temp5 ;
e811c8ce 12281 bool temp7 = False ;
d14a1e28
RD
12282 PyObject * obj0 = 0 ;
12283 PyObject * obj1 = 0 ;
12284 PyObject * obj3 = 0 ;
12285 PyObject * obj4 = 0 ;
12286 PyObject * obj6 = 0 ;
12287 char *kwnames[] = {
12288 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12289 };
12290
12291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12293 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12294 if (obj3) {
12295 {
12296 arg4 = &temp4;
12297 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12298 }
12299 }
12300 if (obj4) {
12301 {
12302 arg5 = &temp5;
12303 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12304 }
12305 }
12306 if (obj6) {
12307 {
12308 arg7 = wxString_in_helper(obj6);
12309 if (arg7 == NULL) SWIG_fail;
e811c8ce 12310 temp7 = True;
d14a1e28
RD
12311 }
12312 }
12313 {
12314 PyThreadState* __tstate = wxPyBeginAllowThreads();
12315 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12316
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 resultobj = PyInt_FromLong((long)result);
12321 {
12322 if (temp7)
12323 delete arg7;
12324 }
12325 return resultobj;
12326 fail:
12327 {
12328 if (temp7)
12329 delete arg7;
12330 }
12331 return NULL;
12332}
12333
12334
12335static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12336 PyObject *resultobj;
12337 wxListbook *arg1 = (wxListbook *) 0 ;
12338 bool result;
12339 PyObject * obj0 = 0 ;
12340 char *kwnames[] = {
12341 (char *) "self", NULL
12342 };
12343
12344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12346 {
12347 PyThreadState* __tstate = wxPyBeginAllowThreads();
12348 result = (bool)((wxListbook const *)arg1)->IsVertical();
12349
12350 wxPyEndAllowThreads(__tstate);
12351 if (PyErr_Occurred()) SWIG_fail;
12352 }
12353 resultobj = PyInt_FromLong((long)result);
12354 return resultobj;
12355 fail:
12356 return NULL;
12357}
12358
12359
12360static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12361 PyObject *obj;
12362 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12363 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12364 Py_INCREF(obj);
12365 return Py_BuildValue((char *)"");
12366}
12367static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12368 PyObject *resultobj;
12369 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12370 int arg2 = (int) 0 ;
12371 int arg3 = (int) -1 ;
12372 int arg4 = (int) -1 ;
12373 wxListbookEvent *result;
12374 char *kwnames[] = {
12375 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12376 };
12377
12378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12379 {
12380 PyThreadState* __tstate = wxPyBeginAllowThreads();
12381 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12382
12383 wxPyEndAllowThreads(__tstate);
12384 if (PyErr_Occurred()) SWIG_fail;
12385 }
12386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12387 return resultobj;
12388 fail:
12389 return NULL;
12390}
12391
12392
12393static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12394 PyObject *obj;
12395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12396 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12397 Py_INCREF(obj);
12398 return Py_BuildValue((char *)"");
12399}
12400static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12401 PyObject *resultobj;
12402 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12403 wxBookCtrlSizer *result;
12404 PyObject * obj0 = 0 ;
12405 char *kwnames[] = {
12406 (char *) "nb", NULL
12407 };
12408
12409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12411 {
12412 PyThreadState* __tstate = wxPyBeginAllowThreads();
12413 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12414
12415 wxPyEndAllowThreads(__tstate);
12416 if (PyErr_Occurred()) SWIG_fail;
12417 }
12418 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12419 return resultobj;
12420 fail:
12421 return NULL;
12422}
12423
12424
12425static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12426 PyObject *resultobj;
12427 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12428 PyObject * obj0 = 0 ;
12429 char *kwnames[] = {
12430 (char *) "self", NULL
12431 };
12432
12433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12435 {
12436 PyThreadState* __tstate = wxPyBeginAllowThreads();
12437 (arg1)->RecalcSizes();
12438
12439 wxPyEndAllowThreads(__tstate);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 }
12442 Py_INCREF(Py_None); resultobj = Py_None;
12443 return resultobj;
12444 fail:
12445 return NULL;
12446}
12447
12448
12449static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12450 PyObject *resultobj;
12451 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12452 wxSize result;
12453 PyObject * obj0 = 0 ;
12454 char *kwnames[] = {
12455 (char *) "self", NULL
12456 };
12457
12458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 result = (arg1)->CalcMin();
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 {
12468 wxSize * resultptr;
12469 resultptr = new wxSize((wxSize &) result);
12470 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12471 }
12472 return resultobj;
12473 fail:
12474 return NULL;
12475}
12476
12477
12478static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12479 PyObject *resultobj;
12480 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12481 wxBookCtrl *result;
12482 PyObject * obj0 = 0 ;
12483 char *kwnames[] = {
12484 (char *) "self", NULL
12485 };
12486
12487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12489 {
12490 PyThreadState* __tstate = wxPyBeginAllowThreads();
12491 result = (wxBookCtrl *)(arg1)->GetControl();
12492
12493 wxPyEndAllowThreads(__tstate);
12494 if (PyErr_Occurred()) SWIG_fail;
12495 }
12496 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12497 return resultobj;
12498 fail:
12499 return NULL;
12500}
12501
12502
12503static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12504 PyObject *obj;
12505 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12506 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12507 Py_INCREF(obj);
12508 return Py_BuildValue((char *)"");
12509}
12510static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12511 PyObject *resultobj;
12512 wxNotebook *arg1 = (wxNotebook *) 0 ;
12513 wxNotebookSizer *result;
12514 PyObject * obj0 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "nb", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12521 {
12522 PyThreadState* __tstate = wxPyBeginAllowThreads();
12523 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12524
12525 wxPyEndAllowThreads(__tstate);
12526 if (PyErr_Occurred()) SWIG_fail;
12527 }
12528 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12529 return resultobj;
12530 fail:
12531 return NULL;
12532}
12533
12534
12535static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12536 PyObject *resultobj;
12537 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12538 PyObject * obj0 = 0 ;
12539 char *kwnames[] = {
12540 (char *) "self", NULL
12541 };
12542
12543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12545 {
12546 PyThreadState* __tstate = wxPyBeginAllowThreads();
12547 (arg1)->RecalcSizes();
12548
12549 wxPyEndAllowThreads(__tstate);
12550 if (PyErr_Occurred()) SWIG_fail;
12551 }
12552 Py_INCREF(Py_None); resultobj = Py_None;
12553 return resultobj;
12554 fail:
12555 return NULL;
12556}
12557
12558
12559static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12560 PyObject *resultobj;
12561 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12562 wxSize result;
12563 PyObject * obj0 = 0 ;
12564 char *kwnames[] = {
12565 (char *) "self", NULL
12566 };
12567
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12570 {
12571 PyThreadState* __tstate = wxPyBeginAllowThreads();
12572 result = (arg1)->CalcMin();
12573
12574 wxPyEndAllowThreads(__tstate);
12575 if (PyErr_Occurred()) SWIG_fail;
12576 }
12577 {
12578 wxSize * resultptr;
12579 resultptr = new wxSize((wxSize &) result);
12580 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12581 }
12582 return resultobj;
12583 fail:
12584 return NULL;
12585}
12586
12587
12588static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12589 PyObject *resultobj;
12590 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12591 wxNotebook *result;
12592 PyObject * obj0 = 0 ;
12593 char *kwnames[] = {
12594 (char *) "self", NULL
12595 };
12596
12597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12599 {
12600 PyThreadState* __tstate = wxPyBeginAllowThreads();
12601 result = (wxNotebook *)(arg1)->GetNotebook();
12602
12603 wxPyEndAllowThreads(__tstate);
12604 if (PyErr_Occurred()) SWIG_fail;
12605 }
12606 {
12607 resultobj = wxPyMake_wxObject(result);
12608 }
12609 return resultobj;
12610 fail:
12611 return NULL;
12612}
12613
12614
12615static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12616 PyObject *obj;
12617 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12618 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12619 Py_INCREF(obj);
12620 return Py_BuildValue((char *)"");
12621}
12622static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12623 PyObject *resultobj;
12624 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12625 int result;
12626 PyObject * obj0 = 0 ;
12627 char *kwnames[] = {
12628 (char *) "self", NULL
12629 };
12630
12631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12633 {
12634 PyThreadState* __tstate = wxPyBeginAllowThreads();
12635 result = (int)(arg1)->GetId();
12636
12637 wxPyEndAllowThreads(__tstate);
12638 if (PyErr_Occurred()) SWIG_fail;
12639 }
12640 resultobj = PyInt_FromLong((long)result);
12641 return resultobj;
12642 fail:
12643 return NULL;
12644}
12645
12646
12647static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12648 PyObject *resultobj;
12649 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12650 wxControl *result;
12651 PyObject * obj0 = 0 ;
12652 char *kwnames[] = {
12653 (char *) "self", NULL
12654 };
12655
12656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12658 {
12659 PyThreadState* __tstate = wxPyBeginAllowThreads();
12660 result = (wxControl *)(arg1)->GetControl();
12661
12662 wxPyEndAllowThreads(__tstate);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 {
12666 resultobj = wxPyMake_wxObject(result);
12667 }
12668 return resultobj;
12669 fail:
12670 return NULL;
12671}
12672
12673
12674static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12675 PyObject *resultobj;
12676 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12677 wxToolBarBase *result;
12678 PyObject * obj0 = 0 ;
12679 char *kwnames[] = {
12680 (char *) "self", NULL
12681 };
12682
12683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 result = (wxToolBarBase *)(arg1)->GetToolBar();
12688
12689 wxPyEndAllowThreads(__tstate);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 }
12692 {
12693 resultobj = wxPyMake_wxObject(result);
12694 }
12695 return resultobj;
12696 fail:
12697 return NULL;
12698}
12699
12700
12701static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12702 PyObject *resultobj;
12703 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12704 int result;
12705 PyObject * obj0 = 0 ;
12706 char *kwnames[] = {
12707 (char *) "self", NULL
12708 };
12709
12710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12712 {
12713 PyThreadState* __tstate = wxPyBeginAllowThreads();
12714 result = (int)(arg1)->IsButton();
12715
12716 wxPyEndAllowThreads(__tstate);
12717 if (PyErr_Occurred()) SWIG_fail;
12718 }
12719 resultobj = PyInt_FromLong((long)result);
12720 return resultobj;
12721 fail:
12722 return NULL;
12723}
12724
12725
12726static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12727 PyObject *resultobj;
12728 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12729 int result;
12730 PyObject * obj0 = 0 ;
12731 char *kwnames[] = {
12732 (char *) "self", NULL
12733 };
12734
12735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12737 {
12738 PyThreadState* __tstate = wxPyBeginAllowThreads();
12739 result = (int)(arg1)->IsControl();
12740
12741 wxPyEndAllowThreads(__tstate);
12742 if (PyErr_Occurred()) SWIG_fail;
12743 }
12744 resultobj = PyInt_FromLong((long)result);
12745 return resultobj;
12746 fail:
12747 return NULL;
12748}
12749
12750
12751static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12752 PyObject *resultobj;
12753 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12754 int result;
12755 PyObject * obj0 = 0 ;
12756 char *kwnames[] = {
12757 (char *) "self", NULL
12758 };
12759
12760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12762 {
12763 PyThreadState* __tstate = wxPyBeginAllowThreads();
12764 result = (int)(arg1)->IsSeparator();
12765
12766 wxPyEndAllowThreads(__tstate);
12767 if (PyErr_Occurred()) SWIG_fail;
12768 }
12769 resultobj = PyInt_FromLong((long)result);
12770 return resultobj;
12771 fail:
12772 return NULL;
12773}
12774
12775
12776static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12777 PyObject *resultobj;
12778 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12779 int result;
12780 PyObject * obj0 = 0 ;
12781 char *kwnames[] = {
12782 (char *) "self", NULL
12783 };
12784
12785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12787 {
12788 PyThreadState* __tstate = wxPyBeginAllowThreads();
12789 result = (int)(arg1)->GetStyle();
12790
12791 wxPyEndAllowThreads(__tstate);
12792 if (PyErr_Occurred()) SWIG_fail;
12793 }
12794 resultobj = PyInt_FromLong((long)result);
12795 return resultobj;
12796 fail:
12797 return NULL;
12798}
12799
12800
12801static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12802 PyObject *resultobj;
12803 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12804 int result;
12805 PyObject * obj0 = 0 ;
12806 char *kwnames[] = {
12807 (char *) "self", NULL
12808 };
12809
12810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12812 {
12813 PyThreadState* __tstate = wxPyBeginAllowThreads();
12814 result = (int)(arg1)->GetKind();
12815
12816 wxPyEndAllowThreads(__tstate);
12817 if (PyErr_Occurred()) SWIG_fail;
12818 }
12819 resultobj = PyInt_FromLong((long)result);
12820 return resultobj;
12821 fail:
12822 return NULL;
12823}
12824
12825
12826static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12827 PyObject *resultobj;
12828 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12829 bool result;
12830 PyObject * obj0 = 0 ;
12831 char *kwnames[] = {
12832 (char *) "self", NULL
12833 };
12834
12835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
12836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12837 {
12838 PyThreadState* __tstate = wxPyBeginAllowThreads();
12839 result = (bool)(arg1)->IsEnabled();
12840
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) SWIG_fail;
12843 }
12844 resultobj = PyInt_FromLong((long)result);
12845 return resultobj;
12846 fail:
12847 return NULL;
12848}
12849
12850
12851static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12852 PyObject *resultobj;
12853 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12854 bool result;
12855 PyObject * obj0 = 0 ;
12856 char *kwnames[] = {
12857 (char *) "self", NULL
12858 };
12859
12860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
12861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12862 {
12863 PyThreadState* __tstate = wxPyBeginAllowThreads();
12864 result = (bool)(arg1)->IsToggled();
12865
12866 wxPyEndAllowThreads(__tstate);
12867 if (PyErr_Occurred()) SWIG_fail;
12868 }
12869 resultobj = PyInt_FromLong((long)result);
12870 return resultobj;
12871 fail:
12872 return NULL;
12873}
12874
12875
12876static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12877 PyObject *resultobj;
12878 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12879 bool result;
12880 PyObject * obj0 = 0 ;
12881 char *kwnames[] = {
12882 (char *) "self", NULL
12883 };
12884
12885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
12886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12887 {
12888 PyThreadState* __tstate = wxPyBeginAllowThreads();
12889 result = (bool)(arg1)->CanBeToggled();
12890
12891 wxPyEndAllowThreads(__tstate);
12892 if (PyErr_Occurred()) SWIG_fail;
12893 }
12894 resultobj = PyInt_FromLong((long)result);
12895 return resultobj;
12896 fail:
12897 return NULL;
12898}
12899
12900
12901static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12902 PyObject *resultobj;
12903 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12904 wxBitmap *result;
12905 PyObject * obj0 = 0 ;
12906 char *kwnames[] = {
12907 (char *) "self", NULL
12908 };
12909
12910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
12911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12912 {
12913 PyThreadState* __tstate = wxPyBeginAllowThreads();
12914 {
12915 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
12916 result = (wxBitmap *) &_result_ref;
12917 }
12918
12919 wxPyEndAllowThreads(__tstate);
12920 if (PyErr_Occurred()) SWIG_fail;
12921 }
12922 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12923 return resultobj;
12924 fail:
12925 return NULL;
12926}
12927
12928
12929static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12930 PyObject *resultobj;
12931 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12932 wxBitmap *result;
12933 PyObject * obj0 = 0 ;
12934 char *kwnames[] = {
12935 (char *) "self", NULL
12936 };
12937
12938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
12939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12940 {
12941 PyThreadState* __tstate = wxPyBeginAllowThreads();
12942 {
12943 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
12944 result = (wxBitmap *) &_result_ref;
12945 }
12946
12947 wxPyEndAllowThreads(__tstate);
12948 if (PyErr_Occurred()) SWIG_fail;
12949 }
12950 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12951 return resultobj;
12952 fail:
12953 return NULL;
12954}
12955
12956
12957static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12958 PyObject *resultobj;
12959 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12960 wxBitmap result;
12961 PyObject * obj0 = 0 ;
12962 char *kwnames[] = {
12963 (char *) "self", NULL
12964 };
12965
12966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
12967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12968 {
12969 PyThreadState* __tstate = wxPyBeginAllowThreads();
12970 result = (arg1)->GetBitmap();
12971
12972 wxPyEndAllowThreads(__tstate);
12973 if (PyErr_Occurred()) SWIG_fail;
12974 }
12975 {
12976 wxBitmap * resultptr;
12977 resultptr = new wxBitmap((wxBitmap &) result);
12978 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
12979 }
12980 return resultobj;
12981 fail:
12982 return NULL;
12983}
12984
12985
12986static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12987 PyObject *resultobj;
12988 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12989 wxString result;
12990 PyObject * obj0 = 0 ;
12991 char *kwnames[] = {
12992 (char *) "self", NULL
12993 };
12994
12995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
12996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12997 {
12998 PyThreadState* __tstate = wxPyBeginAllowThreads();
12999 result = (arg1)->GetLabel();
13000
13001 wxPyEndAllowThreads(__tstate);
13002 if (PyErr_Occurred()) SWIG_fail;
13003 }
13004 {
13005#if wxUSE_UNICODE
13006 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13007#else
13008 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13009#endif
13010 }
13011 return resultobj;
13012 fail:
13013 return NULL;
13014}
13015
13016
13017static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj;
13019 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13020 wxString result;
13021 PyObject * obj0 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "self", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 result = (arg1)->GetShortHelp();
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 {
13036#if wxUSE_UNICODE
13037 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13038#else
13039 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13040#endif
13041 }
13042 return resultobj;
13043 fail:
13044 return NULL;
13045}
13046
13047
13048static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj;
13050 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13051 wxString result;
13052 PyObject * obj0 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13059 {
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 result = (arg1)->GetLongHelp();
13062
13063 wxPyEndAllowThreads(__tstate);
13064 if (PyErr_Occurred()) SWIG_fail;
13065 }
13066 {
13067#if wxUSE_UNICODE
13068 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13069#else
13070 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13071#endif
13072 }
13073 return resultobj;
13074 fail:
13075 return NULL;
13076}
13077
13078
13079static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13080 PyObject *resultobj;
13081 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13082 bool arg2 ;
13083 bool result;
13084 PyObject * obj0 = 0 ;
13085 PyObject * obj1 = 0 ;
13086 char *kwnames[] = {
13087 (char *) "self",(char *) "enable", NULL
13088 };
13089
13090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13092 arg2 = PyInt_AsLong(obj1) ? true : false;
13093 if (PyErr_Occurred()) SWIG_fail;
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 result = (bool)(arg1)->Enable(arg2);
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 resultobj = PyInt_FromLong((long)result);
13102 return resultobj;
13103 fail:
13104 return NULL;
13105}
13106
13107
13108static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13109 PyObject *resultobj;
13110 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13111 PyObject * obj0 = 0 ;
13112 char *kwnames[] = {
13113 (char *) "self", NULL
13114 };
13115
13116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13118 {
13119 PyThreadState* __tstate = wxPyBeginAllowThreads();
13120 (arg1)->Toggle();
13121
13122 wxPyEndAllowThreads(__tstate);
13123 if (PyErr_Occurred()) SWIG_fail;
13124 }
13125 Py_INCREF(Py_None); resultobj = Py_None;
13126 return resultobj;
13127 fail:
13128 return NULL;
13129}
13130
13131
13132static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13133 PyObject *resultobj;
13134 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13135 bool arg2 ;
13136 bool result;
13137 PyObject * obj0 = 0 ;
13138 PyObject * obj1 = 0 ;
13139 char *kwnames[] = {
13140 (char *) "self",(char *) "toggle", NULL
13141 };
13142
13143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13145 arg2 = PyInt_AsLong(obj1) ? true : false;
13146 if (PyErr_Occurred()) SWIG_fail;
13147 {
13148 PyThreadState* __tstate = wxPyBeginAllowThreads();
13149 result = (bool)(arg1)->SetToggle(arg2);
13150
13151 wxPyEndAllowThreads(__tstate);
13152 if (PyErr_Occurred()) SWIG_fail;
13153 }
13154 resultobj = PyInt_FromLong((long)result);
13155 return resultobj;
13156 fail:
13157 return NULL;
13158}
13159
13160
13161static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13162 PyObject *resultobj;
13163 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13164 wxString *arg2 = 0 ;
13165 bool result;
e811c8ce 13166 bool temp2 = False ;
d14a1e28
RD
13167 PyObject * obj0 = 0 ;
13168 PyObject * obj1 = 0 ;
13169 char *kwnames[] = {
13170 (char *) "self",(char *) "help", NULL
13171 };
13172
13173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13175 {
13176 arg2 = wxString_in_helper(obj1);
13177 if (arg2 == NULL) SWIG_fail;
e811c8ce 13178 temp2 = True;
d14a1e28
RD
13179 }
13180 {
13181 PyThreadState* __tstate = wxPyBeginAllowThreads();
13182 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13183
13184 wxPyEndAllowThreads(__tstate);
13185 if (PyErr_Occurred()) SWIG_fail;
13186 }
13187 resultobj = PyInt_FromLong((long)result);
13188 {
13189 if (temp2)
13190 delete arg2;
13191 }
13192 return resultobj;
13193 fail:
13194 {
13195 if (temp2)
13196 delete arg2;
13197 }
13198 return NULL;
13199}
13200
13201
13202static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13203 PyObject *resultobj;
13204 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13205 wxString *arg2 = 0 ;
13206 bool result;
e811c8ce 13207 bool temp2 = False ;
d14a1e28
RD
13208 PyObject * obj0 = 0 ;
13209 PyObject * obj1 = 0 ;
13210 char *kwnames[] = {
13211 (char *) "self",(char *) "help", NULL
13212 };
13213
13214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13216 {
13217 arg2 = wxString_in_helper(obj1);
13218 if (arg2 == NULL) SWIG_fail;
e811c8ce 13219 temp2 = True;
d14a1e28
RD
13220 }
13221 {
13222 PyThreadState* __tstate = wxPyBeginAllowThreads();
13223 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13224
13225 wxPyEndAllowThreads(__tstate);
13226 if (PyErr_Occurred()) SWIG_fail;
13227 }
13228 resultobj = PyInt_FromLong((long)result);
13229 {
13230 if (temp2)
13231 delete arg2;
13232 }
13233 return resultobj;
13234 fail:
13235 {
13236 if (temp2)
13237 delete arg2;
13238 }
13239 return NULL;
13240}
13241
13242
13243static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13244 PyObject *resultobj;
13245 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13246 wxBitmap *arg2 = 0 ;
13247 PyObject * obj0 = 0 ;
13248 PyObject * obj1 = 0 ;
13249 char *kwnames[] = {
13250 (char *) "self",(char *) "bmp", NULL
13251 };
13252
13253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13256 if (arg2 == NULL) {
13257 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13258 }
13259 {
13260 PyThreadState* __tstate = wxPyBeginAllowThreads();
13261 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13262
13263 wxPyEndAllowThreads(__tstate);
13264 if (PyErr_Occurred()) SWIG_fail;
13265 }
13266 Py_INCREF(Py_None); resultobj = Py_None;
13267 return resultobj;
13268 fail:
13269 return NULL;
13270}
13271
13272
13273static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13274 PyObject *resultobj;
13275 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13276 wxBitmap *arg2 = 0 ;
13277 PyObject * obj0 = 0 ;
13278 PyObject * obj1 = 0 ;
13279 char *kwnames[] = {
13280 (char *) "self",(char *) "bmp", NULL
13281 };
13282
13283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13286 if (arg2 == NULL) {
13287 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13288 }
13289 {
13290 PyThreadState* __tstate = wxPyBeginAllowThreads();
13291 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13292
13293 wxPyEndAllowThreads(__tstate);
13294 if (PyErr_Occurred()) SWIG_fail;
13295 }
13296 Py_INCREF(Py_None); resultobj = Py_None;
13297 return resultobj;
13298 fail:
13299 return NULL;
13300}
13301
13302
13303static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13304 PyObject *resultobj;
13305 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13306 wxString *arg2 = 0 ;
e811c8ce 13307 bool temp2 = False ;
d14a1e28
RD
13308 PyObject * obj0 = 0 ;
13309 PyObject * obj1 = 0 ;
13310 char *kwnames[] = {
13311 (char *) "self",(char *) "label", NULL
13312 };
13313
13314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13316 {
13317 arg2 = wxString_in_helper(obj1);
13318 if (arg2 == NULL) SWIG_fail;
e811c8ce 13319 temp2 = True;
d14a1e28
RD
13320 }
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 (arg1)->SetLabel((wxString const &)*arg2);
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 Py_INCREF(Py_None); resultobj = Py_None;
13329 {
13330 if (temp2)
13331 delete arg2;
13332 }
13333 return resultobj;
13334 fail:
13335 {
13336 if (temp2)
13337 delete arg2;
13338 }
13339 return NULL;
13340}
13341
13342
13343static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13344 PyObject *resultobj;
13345 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13346 PyObject * obj0 = 0 ;
13347 char *kwnames[] = {
13348 (char *) "self", NULL
13349 };
13350
13351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13353 {
13354 PyThreadState* __tstate = wxPyBeginAllowThreads();
13355 (arg1)->Detach();
13356
13357 wxPyEndAllowThreads(__tstate);
13358 if (PyErr_Occurred()) SWIG_fail;
13359 }
13360 Py_INCREF(Py_None); resultobj = Py_None;
13361 return resultobj;
13362 fail:
13363 return NULL;
13364}
13365
13366
13367static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13368 PyObject *resultobj;
13369 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13370 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13371 PyObject * obj0 = 0 ;
13372 PyObject * obj1 = 0 ;
13373 char *kwnames[] = {
13374 (char *) "self",(char *) "tbar", NULL
13375 };
13376
13377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13379 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13380 {
13381 PyThreadState* __tstate = wxPyBeginAllowThreads();
13382 (arg1)->Attach(arg2);
13383
13384 wxPyEndAllowThreads(__tstate);
13385 if (PyErr_Occurred()) SWIG_fail;
13386 }
13387 Py_INCREF(Py_None); resultobj = Py_None;
13388 return resultobj;
13389 fail:
13390 return NULL;
13391}
13392
13393
13394static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13395 PyObject *resultobj;
13396 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13397 PyObject *result;
13398 PyObject * obj0 = 0 ;
13399 char *kwnames[] = {
13400 (char *) "self", NULL
13401 };
13402
13403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13405 {
13406 PyThreadState* __tstate = wxPyBeginAllowThreads();
13407 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13408
13409 wxPyEndAllowThreads(__tstate);
13410 if (PyErr_Occurred()) SWIG_fail;
13411 }
13412 resultobj = result;
13413 return resultobj;
13414 fail:
13415 return NULL;
13416}
13417
13418
13419static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13420 PyObject *resultobj;
13421 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13422 PyObject *arg2 = (PyObject *) 0 ;
13423 PyObject * obj0 = 0 ;
13424 PyObject * obj1 = 0 ;
13425 char *kwnames[] = {
13426 (char *) "self",(char *) "clientData", NULL
13427 };
13428
13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13431 arg2 = obj1;
13432 {
13433 PyThreadState* __tstate = wxPyBeginAllowThreads();
13434 wxToolBarToolBase_SetClientData(arg1,arg2);
13435
13436 wxPyEndAllowThreads(__tstate);
13437 if (PyErr_Occurred()) SWIG_fail;
13438 }
13439 Py_INCREF(Py_None); resultobj = Py_None;
13440 return resultobj;
13441 fail:
13442 return NULL;
13443}
13444
13445
13446static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13447 PyObject *obj;
13448 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13449 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13450 Py_INCREF(obj);
13451 return Py_BuildValue((char *)"");
13452}
13453static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13454 PyObject *resultobj;
13455 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13456 int arg2 ;
13457 wxString *arg3 = 0 ;
13458 wxBitmap *arg4 = 0 ;
13459 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13460 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13461 int arg6 = (int) wxITEM_NORMAL ;
13462 wxString const &arg7_defvalue = wxPyEmptyString ;
13463 wxString *arg7 = (wxString *) &arg7_defvalue ;
13464 wxString const &arg8_defvalue = wxPyEmptyString ;
13465 wxString *arg8 = (wxString *) &arg8_defvalue ;
13466 PyObject *arg9 = (PyObject *) NULL ;
13467 wxToolBarToolBase *result;
e811c8ce
RD
13468 bool temp3 = False ;
13469 bool temp7 = False ;
13470 bool temp8 = False ;
d14a1e28
RD
13471 PyObject * obj0 = 0 ;
13472 PyObject * obj2 = 0 ;
13473 PyObject * obj3 = 0 ;
13474 PyObject * obj4 = 0 ;
13475 PyObject * obj6 = 0 ;
13476 PyObject * obj7 = 0 ;
13477 PyObject * obj8 = 0 ;
13478 char *kwnames[] = {
13479 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13480 };
13481
13482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13484 {
13485 arg3 = wxString_in_helper(obj2);
13486 if (arg3 == NULL) SWIG_fail;
e811c8ce 13487 temp3 = True;
d14a1e28
RD
13488 }
13489 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13490 if (arg4 == NULL) {
13491 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13492 }
13493 if (obj4) {
13494 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13495 if (arg5 == NULL) {
13496 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13497 }
13498 }
13499 if (obj6) {
13500 {
13501 arg7 = wxString_in_helper(obj6);
13502 if (arg7 == NULL) SWIG_fail;
e811c8ce 13503 temp7 = True;
d14a1e28
RD
13504 }
13505 }
13506 if (obj7) {
13507 {
13508 arg8 = wxString_in_helper(obj7);
13509 if (arg8 == NULL) SWIG_fail;
e811c8ce 13510 temp8 = True;
d14a1e28
RD
13511 }
13512 }
13513 if (obj8) {
13514 arg9 = obj8;
13515 }
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13519
13520 wxPyEndAllowThreads(__tstate);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
13523 {
13524 resultobj = wxPyMake_wxObject(result);
13525 }
13526 {
13527 if (temp3)
13528 delete arg3;
13529 }
13530 {
13531 if (temp7)
13532 delete arg7;
13533 }
13534 {
13535 if (temp8)
13536 delete arg8;
13537 }
13538 return resultobj;
13539 fail:
13540 {
13541 if (temp3)
13542 delete arg3;
13543 }
13544 {
13545 if (temp7)
13546 delete arg7;
13547 }
13548 {
13549 if (temp8)
13550 delete arg8;
13551 }
13552 return NULL;
13553}
13554
13555
13556static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13557 PyObject *resultobj;
13558 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13559 size_t arg2 ;
13560 int arg3 ;
13561 wxString *arg4 = 0 ;
13562 wxBitmap *arg5 = 0 ;
13563 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13564 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13565 int arg7 = (int) wxITEM_NORMAL ;
13566 wxString const &arg8_defvalue = wxPyEmptyString ;
13567 wxString *arg8 = (wxString *) &arg8_defvalue ;
13568 wxString const &arg9_defvalue = wxPyEmptyString ;
13569 wxString *arg9 = (wxString *) &arg9_defvalue ;
13570 PyObject *arg10 = (PyObject *) NULL ;
13571 wxToolBarToolBase *result;
e811c8ce
RD
13572 bool temp4 = False ;
13573 bool temp8 = False ;
13574 bool temp9 = False ;
d14a1e28
RD
13575 PyObject * obj0 = 0 ;
13576 PyObject * obj1 = 0 ;
13577 PyObject * obj3 = 0 ;
13578 PyObject * obj4 = 0 ;
13579 PyObject * obj5 = 0 ;
13580 PyObject * obj7 = 0 ;
13581 PyObject * obj8 = 0 ;
13582 PyObject * obj9 = 0 ;
13583 char *kwnames[] = {
13584 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13585 };
13586
13587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13589 arg2 = (size_t) PyInt_AsLong(obj1);
13590 if (PyErr_Occurred()) SWIG_fail;
13591 {
13592 arg4 = wxString_in_helper(obj3);
13593 if (arg4 == NULL) SWIG_fail;
e811c8ce 13594 temp4 = True;
d14a1e28
RD
13595 }
13596 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13597 if (arg5 == NULL) {
13598 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13599 }
13600 if (obj5) {
13601 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13602 if (arg6 == NULL) {
13603 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13604 }
13605 }
13606 if (obj7) {
13607 {
13608 arg8 = wxString_in_helper(obj7);
13609 if (arg8 == NULL) SWIG_fail;
e811c8ce 13610 temp8 = True;
d14a1e28
RD
13611 }
13612 }
13613 if (obj8) {
13614 {
13615 arg9 = wxString_in_helper(obj8);
13616 if (arg9 == NULL) SWIG_fail;
e811c8ce 13617 temp9 = True;
d14a1e28
RD
13618 }
13619 }
13620 if (obj9) {
13621 arg10 = obj9;
13622 }
13623 {
13624 PyThreadState* __tstate = wxPyBeginAllowThreads();
13625 result = (wxToolBarToolBase *)wxToolBarBase_DoInsertTool(arg1,arg2,arg3,(wxString const &)*arg4,(wxBitmap const &)*arg5,(wxBitmap const &)*arg6,(wxItemKind )arg7,(wxString const &)*arg8,(wxString const &)*arg9,arg10);
13626
13627 wxPyEndAllowThreads(__tstate);
13628 if (PyErr_Occurred()) SWIG_fail;
13629 }
13630 {
13631 resultobj = wxPyMake_wxObject(result);
13632 }
13633 {
13634 if (temp4)
13635 delete arg4;
13636 }
13637 {
13638 if (temp8)
13639 delete arg8;
13640 }
13641 {
13642 if (temp9)
13643 delete arg9;
13644 }
13645 return resultobj;
13646 fail:
13647 {
13648 if (temp4)
13649 delete arg4;
13650 }
13651 {
13652 if (temp8)
13653 delete arg8;
13654 }
13655 {
13656 if (temp9)
13657 delete arg9;
13658 }
13659 return NULL;
13660}
13661
13662
3a04f143
RD
13663static PyObject *_wrap_ToolBarBase_AddToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
13664 PyObject *resultobj;
13665 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13666 wxToolBarToolBase *arg2 = (wxToolBarToolBase *) 0 ;
13667 wxToolBarToolBase *result;
13668 PyObject * obj0 = 0 ;
13669 PyObject * obj1 = 0 ;
13670 char *kwnames[] = {
13671 (char *) "self",(char *) "tool", NULL
13672 };
13673
13674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddToolItem",kwnames,&obj0,&obj1)) goto fail;
13675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13677 {
13678 PyThreadState* __tstate = wxPyBeginAllowThreads();
13679 result = (wxToolBarToolBase *)(arg1)->AddTool(arg2);
13680
13681 wxPyEndAllowThreads(__tstate);
13682 if (PyErr_Occurred()) SWIG_fail;
13683 }
13684 {
13685 resultobj = wxPyMake_wxObject(result);
13686 }
13687 return resultobj;
13688 fail:
13689 return NULL;
13690}
13691
13692
13693static PyObject *_wrap_ToolBarBase_InsertToolItem(PyObject *self, PyObject *args, PyObject *kwargs) {
13694 PyObject *resultobj;
13695 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13696 size_t arg2 ;
13697 wxToolBarToolBase *arg3 = (wxToolBarToolBase *) 0 ;
13698 wxToolBarToolBase *result;
13699 PyObject * obj0 = 0 ;
13700 PyObject * obj1 = 0 ;
13701 PyObject * obj2 = 0 ;
13702 char *kwnames[] = {
13703 (char *) "self",(char *) "pos",(char *) "tool", NULL
13704 };
13705
13706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertToolItem",kwnames,&obj0,&obj1,&obj2)) goto fail;
13707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13708 arg2 = (size_t) PyInt_AsLong(obj1);
13709 if (PyErr_Occurred()) SWIG_fail;
13710 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 result = (wxToolBarToolBase *)(arg1)->InsertTool(arg2,arg3);
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 {
13719 resultobj = wxPyMake_wxObject(result);
13720 }
13721 return resultobj;
13722 fail:
13723 return NULL;
13724}
13725
13726
d14a1e28
RD
13727static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13728 PyObject *resultobj;
13729 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13730 wxControl *arg2 = (wxControl *) 0 ;
13731 wxToolBarToolBase *result;
13732 PyObject * obj0 = 0 ;
13733 PyObject * obj1 = 0 ;
13734 char *kwnames[] = {
13735 (char *) "self",(char *) "control", NULL
13736 };
13737
13738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13741 {
13742 PyThreadState* __tstate = wxPyBeginAllowThreads();
13743 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13744
13745 wxPyEndAllowThreads(__tstate);
13746 if (PyErr_Occurred()) SWIG_fail;
13747 }
13748 {
13749 resultobj = wxPyMake_wxObject(result);
13750 }
13751 return resultobj;
13752 fail:
13753 return NULL;
13754}
13755
13756
13757static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj;
13759 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13760 size_t arg2 ;
13761 wxControl *arg3 = (wxControl *) 0 ;
13762 wxToolBarToolBase *result;
13763 PyObject * obj0 = 0 ;
13764 PyObject * obj1 = 0 ;
13765 PyObject * obj2 = 0 ;
13766 char *kwnames[] = {
13767 (char *) "self",(char *) "pos",(char *) "control", NULL
13768 };
13769
13770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13772 arg2 = (size_t) PyInt_AsLong(obj1);
13773 if (PyErr_Occurred()) SWIG_fail;
13774 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13775 {
13776 PyThreadState* __tstate = wxPyBeginAllowThreads();
13777 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13778
13779 wxPyEndAllowThreads(__tstate);
13780 if (PyErr_Occurred()) SWIG_fail;
13781 }
13782 {
13783 resultobj = wxPyMake_wxObject(result);
13784 }
13785 return resultobj;
13786 fail:
13787 return NULL;
13788}
13789
13790
13791static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13792 PyObject *resultobj;
13793 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13794 int arg2 ;
13795 wxControl *result;
13796 PyObject * obj0 = 0 ;
13797 char *kwnames[] = {
13798 (char *) "self",(char *) "id", NULL
13799 };
13800
13801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13803 {
13804 PyThreadState* __tstate = wxPyBeginAllowThreads();
13805 result = (wxControl *)(arg1)->FindControl(arg2);
13806
13807 wxPyEndAllowThreads(__tstate);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 }
13810 {
13811 resultobj = wxPyMake_wxObject(result);
13812 }
13813 return resultobj;
13814 fail:
13815 return NULL;
13816}
13817
13818
13819static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13820 PyObject *resultobj;
13821 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13822 wxToolBarToolBase *result;
13823 PyObject * obj0 = 0 ;
13824 char *kwnames[] = {
13825 (char *) "self", NULL
13826 };
13827
13828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13830 {
13831 PyThreadState* __tstate = wxPyBeginAllowThreads();
13832 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13833
13834 wxPyEndAllowThreads(__tstate);
13835 if (PyErr_Occurred()) SWIG_fail;
13836 }
13837 {
13838 resultobj = wxPyMake_wxObject(result);
13839 }
13840 return resultobj;
13841 fail:
13842 return NULL;
13843}
13844
13845
13846static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13847 PyObject *resultobj;
13848 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13849 size_t arg2 ;
13850 wxToolBarToolBase *result;
13851 PyObject * obj0 = 0 ;
13852 PyObject * obj1 = 0 ;
13853 char *kwnames[] = {
13854 (char *) "self",(char *) "pos", NULL
13855 };
13856
13857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13859 arg2 = (size_t) PyInt_AsLong(obj1);
13860 if (PyErr_Occurred()) SWIG_fail;
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 {
13869 resultobj = wxPyMake_wxObject(result);
13870 }
13871 return resultobj;
13872 fail:
13873 return NULL;
13874}
13875
13876
13877static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13878 PyObject *resultobj;
13879 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13880 int arg2 ;
13881 wxToolBarToolBase *result;
13882 PyObject * obj0 = 0 ;
13883 char *kwnames[] = {
13884 (char *) "self",(char *) "id", NULL
13885 };
13886
13887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13889 {
13890 PyThreadState* __tstate = wxPyBeginAllowThreads();
13891 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13892
13893 wxPyEndAllowThreads(__tstate);
13894 if (PyErr_Occurred()) SWIG_fail;
13895 }
13896 {
13897 resultobj = wxPyMake_wxObject(result);
13898 }
13899 return resultobj;
13900 fail:
13901 return NULL;
13902}
13903
13904
13905static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13906 PyObject *resultobj;
13907 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13908 size_t arg2 ;
13909 bool result;
13910 PyObject * obj0 = 0 ;
13911 PyObject * obj1 = 0 ;
13912 char *kwnames[] = {
13913 (char *) "self",(char *) "pos", NULL
13914 };
13915
13916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13918 arg2 = (size_t) PyInt_AsLong(obj1);
13919 if (PyErr_Occurred()) SWIG_fail;
13920 {
13921 PyThreadState* __tstate = wxPyBeginAllowThreads();
13922 result = (bool)(arg1)->DeleteToolByPos(arg2);
13923
13924 wxPyEndAllowThreads(__tstate);
13925 if (PyErr_Occurred()) SWIG_fail;
13926 }
13927 resultobj = PyInt_FromLong((long)result);
13928 return resultobj;
13929 fail:
13930 return NULL;
13931}
13932
13933
13934static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13935 PyObject *resultobj;
13936 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13937 int arg2 ;
13938 bool result;
13939 PyObject * obj0 = 0 ;
13940 char *kwnames[] = {
13941 (char *) "self",(char *) "id", NULL
13942 };
13943
13944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
13945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13946 {
13947 PyThreadState* __tstate = wxPyBeginAllowThreads();
13948 result = (bool)(arg1)->DeleteTool(arg2);
13949
13950 wxPyEndAllowThreads(__tstate);
13951 if (PyErr_Occurred()) SWIG_fail;
13952 }
13953 resultobj = PyInt_FromLong((long)result);
13954 return resultobj;
13955 fail:
13956 return NULL;
13957}
13958
13959
13960static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
13961 PyObject *resultobj;
13962 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13963 PyObject * obj0 = 0 ;
13964 char *kwnames[] = {
13965 (char *) "self", NULL
13966 };
13967
13968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
13969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13970 {
13971 PyThreadState* __tstate = wxPyBeginAllowThreads();
13972 (arg1)->ClearTools();
13973
13974 wxPyEndAllowThreads(__tstate);
13975 if (PyErr_Occurred()) SWIG_fail;
13976 }
13977 Py_INCREF(Py_None); resultobj = Py_None;
13978 return resultobj;
13979 fail:
13980 return NULL;
13981}
13982
13983
13984static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
13985 PyObject *resultobj;
13986 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13987 bool result;
13988 PyObject * obj0 = 0 ;
13989 char *kwnames[] = {
13990 (char *) "self", NULL
13991 };
13992
13993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
13994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13995 {
13996 PyThreadState* __tstate = wxPyBeginAllowThreads();
13997 result = (bool)(arg1)->Realize();
13998
13999 wxPyEndAllowThreads(__tstate);
14000 if (PyErr_Occurred()) SWIG_fail;
14001 }
14002 resultobj = PyInt_FromLong((long)result);
14003 return resultobj;
14004 fail:
14005 return NULL;
14006}
14007
14008
14009static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14010 PyObject *resultobj;
14011 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14012 int arg2 ;
14013 bool arg3 ;
14014 PyObject * obj0 = 0 ;
14015 PyObject * obj2 = 0 ;
14016 char *kwnames[] = {
14017 (char *) "self",(char *) "id",(char *) "enable", NULL
14018 };
14019
14020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14022 arg3 = PyInt_AsLong(obj2) ? true : false;
14023 if (PyErr_Occurred()) SWIG_fail;
14024 {
14025 PyThreadState* __tstate = wxPyBeginAllowThreads();
14026 (arg1)->EnableTool(arg2,arg3);
14027
14028 wxPyEndAllowThreads(__tstate);
14029 if (PyErr_Occurred()) SWIG_fail;
14030 }
14031 Py_INCREF(Py_None); resultobj = Py_None;
14032 return resultobj;
14033 fail:
14034 return NULL;
14035}
14036
14037
14038static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14039 PyObject *resultobj;
14040 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14041 int arg2 ;
14042 bool arg3 ;
14043 PyObject * obj0 = 0 ;
14044 PyObject * obj2 = 0 ;
14045 char *kwnames[] = {
14046 (char *) "self",(char *) "id",(char *) "toggle", NULL
14047 };
14048
14049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14051 arg3 = PyInt_AsLong(obj2) ? true : false;
14052 if (PyErr_Occurred()) SWIG_fail;
14053 {
14054 PyThreadState* __tstate = wxPyBeginAllowThreads();
14055 (arg1)->ToggleTool(arg2,arg3);
14056
14057 wxPyEndAllowThreads(__tstate);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 Py_INCREF(Py_None); resultobj = Py_None;
14061 return resultobj;
14062 fail:
14063 return NULL;
14064}
14065
14066
14067static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14068 PyObject *resultobj;
14069 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14070 int arg2 ;
14071 bool arg3 ;
14072 PyObject * obj0 = 0 ;
14073 PyObject * obj2 = 0 ;
14074 char *kwnames[] = {
14075 (char *) "self",(char *) "id",(char *) "toggle", NULL
14076 };
14077
14078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14080 arg3 = PyInt_AsLong(obj2) ? true : false;
14081 if (PyErr_Occurred()) SWIG_fail;
14082 {
14083 PyThreadState* __tstate = wxPyBeginAllowThreads();
14084 (arg1)->SetToggle(arg2,arg3);
14085
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 Py_INCREF(Py_None); resultobj = Py_None;
14090 return resultobj;
14091 fail:
14092 return NULL;
14093}
14094
14095
14096static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj;
14098 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14099 int arg2 ;
14100 PyObject *result;
14101 PyObject * obj0 = 0 ;
14102 char *kwnames[] = {
14103 (char *) "self",(char *) "id", NULL
14104 };
14105
14106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14108 {
14109 PyThreadState* __tstate = wxPyBeginAllowThreads();
14110 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14111
14112 wxPyEndAllowThreads(__tstate);
14113 if (PyErr_Occurred()) SWIG_fail;
14114 }
14115 resultobj = result;
14116 return resultobj;
14117 fail:
14118 return NULL;
14119}
14120
14121
14122static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14123 PyObject *resultobj;
14124 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14125 int arg2 ;
14126 PyObject *arg3 = (PyObject *) 0 ;
14127 PyObject * obj0 = 0 ;
14128 PyObject * obj2 = 0 ;
14129 char *kwnames[] = {
14130 (char *) "self",(char *) "id",(char *) "clientData", NULL
14131 };
14132
14133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14135 arg3 = obj2;
14136 {
14137 PyThreadState* __tstate = wxPyBeginAllowThreads();
14138 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14139
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
14143 Py_INCREF(Py_None); resultobj = Py_None;
14144 return resultobj;
14145 fail:
14146 return NULL;
14147}
14148
14149
14150static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14151 PyObject *resultobj;
14152 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14153 int arg2 ;
14154 int result;
14155 PyObject * obj0 = 0 ;
14156 char *kwnames[] = {
14157 (char *) "self",(char *) "id", NULL
14158 };
14159
14160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14162 {
14163 PyThreadState* __tstate = wxPyBeginAllowThreads();
14164 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14165
14166 wxPyEndAllowThreads(__tstate);
14167 if (PyErr_Occurred()) SWIG_fail;
14168 }
14169 resultobj = PyInt_FromLong((long)result);
14170 return resultobj;
14171 fail:
14172 return NULL;
14173}
14174
14175
14176static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14177 PyObject *resultobj;
14178 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14179 int arg2 ;
14180 bool result;
14181 PyObject * obj0 = 0 ;
14182 char *kwnames[] = {
14183 (char *) "self",(char *) "id", NULL
14184 };
14185
14186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14188 {
14189 PyThreadState* __tstate = wxPyBeginAllowThreads();
14190 result = (bool)(arg1)->GetToolState(arg2);
14191
14192 wxPyEndAllowThreads(__tstate);
14193 if (PyErr_Occurred()) SWIG_fail;
14194 }
14195 resultobj = PyInt_FromLong((long)result);
14196 return resultobj;
14197 fail:
14198 return NULL;
14199}
14200
14201
14202static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14203 PyObject *resultobj;
14204 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14205 int arg2 ;
14206 bool result;
14207 PyObject * obj0 = 0 ;
14208 char *kwnames[] = {
14209 (char *) "self",(char *) "id", NULL
14210 };
14211
14212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14214 {
14215 PyThreadState* __tstate = wxPyBeginAllowThreads();
14216 result = (bool)(arg1)->GetToolEnabled(arg2);
14217
14218 wxPyEndAllowThreads(__tstate);
14219 if (PyErr_Occurred()) SWIG_fail;
14220 }
14221 resultobj = PyInt_FromLong((long)result);
14222 return resultobj;
14223 fail:
14224 return NULL;
14225}
14226
14227
14228static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14229 PyObject *resultobj;
14230 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14231 int arg2 ;
14232 wxString *arg3 = 0 ;
e811c8ce 14233 bool temp3 = False ;
d14a1e28
RD
14234 PyObject * obj0 = 0 ;
14235 PyObject * obj2 = 0 ;
14236 char *kwnames[] = {
14237 (char *) "self",(char *) "id",(char *) "helpString", NULL
14238 };
14239
14240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14242 {
14243 arg3 = wxString_in_helper(obj2);
14244 if (arg3 == NULL) SWIG_fail;
e811c8ce 14245 temp3 = True;
d14a1e28
RD
14246 }
14247 {
14248 PyThreadState* __tstate = wxPyBeginAllowThreads();
14249 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14250
14251 wxPyEndAllowThreads(__tstate);
14252 if (PyErr_Occurred()) SWIG_fail;
14253 }
14254 Py_INCREF(Py_None); resultobj = Py_None;
14255 {
14256 if (temp3)
14257 delete arg3;
14258 }
14259 return resultobj;
14260 fail:
14261 {
14262 if (temp3)
14263 delete arg3;
14264 }
14265 return NULL;
14266}
14267
14268
14269static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14270 PyObject *resultobj;
14271 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14272 int arg2 ;
14273 wxString result;
14274 PyObject * obj0 = 0 ;
14275 char *kwnames[] = {
14276 (char *) "self",(char *) "id", NULL
14277 };
14278
14279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14281 {
14282 PyThreadState* __tstate = wxPyBeginAllowThreads();
14283 result = (arg1)->GetToolShortHelp(arg2);
14284
14285 wxPyEndAllowThreads(__tstate);
14286 if (PyErr_Occurred()) SWIG_fail;
14287 }
14288 {
14289#if wxUSE_UNICODE
14290 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14291#else
14292 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14293#endif
14294 }
14295 return resultobj;
14296 fail:
14297 return NULL;
14298}
14299
14300
14301static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14302 PyObject *resultobj;
14303 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14304 int arg2 ;
14305 wxString *arg3 = 0 ;
e811c8ce 14306 bool temp3 = False ;
d14a1e28
RD
14307 PyObject * obj0 = 0 ;
14308 PyObject * obj2 = 0 ;
14309 char *kwnames[] = {
14310 (char *) "self",(char *) "id",(char *) "helpString", NULL
14311 };
14312
14313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14315 {
14316 arg3 = wxString_in_helper(obj2);
14317 if (arg3 == NULL) SWIG_fail;
e811c8ce 14318 temp3 = True;
d14a1e28
RD
14319 }
14320 {
14321 PyThreadState* __tstate = wxPyBeginAllowThreads();
14322 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14323
14324 wxPyEndAllowThreads(__tstate);
14325 if (PyErr_Occurred()) SWIG_fail;
14326 }
14327 Py_INCREF(Py_None); resultobj = Py_None;
14328 {
14329 if (temp3)
14330 delete arg3;
14331 }
14332 return resultobj;
14333 fail:
14334 {
14335 if (temp3)
14336 delete arg3;
14337 }
14338 return NULL;
14339}
14340
14341
14342static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14343 PyObject *resultobj;
14344 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14345 int arg2 ;
14346 wxString result;
14347 PyObject * obj0 = 0 ;
14348 char *kwnames[] = {
14349 (char *) "self",(char *) "id", NULL
14350 };
14351
14352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = (arg1)->GetToolLongHelp(arg2);
14357
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 {
14362#if wxUSE_UNICODE
14363 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14364#else
14365 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14366#endif
14367 }
14368 return resultobj;
14369 fail:
14370 return NULL;
14371}
14372
14373
14374static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14375 PyObject *resultobj;
14376 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14377 int arg2 ;
14378 int arg3 ;
14379 PyObject * obj0 = 0 ;
14380 char *kwnames[] = {
14381 (char *) "self",(char *) "x",(char *) "y", NULL
14382 };
14383
14384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14386 {
14387 PyThreadState* __tstate = wxPyBeginAllowThreads();
14388 (arg1)->SetMargins(arg2,arg3);
14389
14390 wxPyEndAllowThreads(__tstate);
14391 if (PyErr_Occurred()) SWIG_fail;
14392 }
14393 Py_INCREF(Py_None); resultobj = Py_None;
14394 return resultobj;
14395 fail:
14396 return NULL;
14397}
14398
14399
14400static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14401 PyObject *resultobj;
14402 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14403 wxSize *arg2 = 0 ;
14404 wxSize temp2 ;
14405 PyObject * obj0 = 0 ;
14406 PyObject * obj1 = 0 ;
14407 char *kwnames[] = {
14408 (char *) "self",(char *) "size", NULL
14409 };
14410
14411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14413 {
14414 arg2 = &temp2;
14415 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14416 }
14417 {
14418 PyThreadState* __tstate = wxPyBeginAllowThreads();
14419 (arg1)->SetMargins((wxSize const &)*arg2);
14420
14421 wxPyEndAllowThreads(__tstate);
14422 if (PyErr_Occurred()) SWIG_fail;
14423 }
14424 Py_INCREF(Py_None); resultobj = Py_None;
14425 return resultobj;
14426 fail:
14427 return NULL;
14428}
14429
14430
14431static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14432 PyObject *resultobj;
14433 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14434 int arg2 ;
14435 PyObject * obj0 = 0 ;
14436 char *kwnames[] = {
14437 (char *) "self",(char *) "packing", NULL
14438 };
14439
14440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14442 {
14443 PyThreadState* __tstate = wxPyBeginAllowThreads();
14444 (arg1)->SetToolPacking(arg2);
14445
14446 wxPyEndAllowThreads(__tstate);
14447 if (PyErr_Occurred()) SWIG_fail;
14448 }
14449 Py_INCREF(Py_None); resultobj = Py_None;
14450 return resultobj;
14451 fail:
14452 return NULL;
14453}
14454
14455
14456static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14457 PyObject *resultobj;
14458 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14459 int arg2 ;
14460 PyObject * obj0 = 0 ;
14461 char *kwnames[] = {
14462 (char *) "self",(char *) "separation", NULL
14463 };
14464
14465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14467 {
14468 PyThreadState* __tstate = wxPyBeginAllowThreads();
14469 (arg1)->SetToolSeparation(arg2);
14470
14471 wxPyEndAllowThreads(__tstate);
14472 if (PyErr_Occurred()) SWIG_fail;
14473 }
14474 Py_INCREF(Py_None); resultobj = Py_None;
14475 return resultobj;
14476 fail:
14477 return NULL;
14478}
14479
14480
14481static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14482 PyObject *resultobj;
14483 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14484 wxSize result;
14485 PyObject * obj0 = 0 ;
14486 char *kwnames[] = {
14487 (char *) "self", NULL
14488 };
14489
14490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14492 {
14493 PyThreadState* __tstate = wxPyBeginAllowThreads();
14494 result = (arg1)->GetToolMargins();
14495
14496 wxPyEndAllowThreads(__tstate);
14497 if (PyErr_Occurred()) SWIG_fail;
14498 }
14499 {
14500 wxSize * resultptr;
14501 resultptr = new wxSize((wxSize &) result);
14502 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14503 }
14504 return resultobj;
14505 fail:
14506 return NULL;
14507}
14508
14509
14510static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14511 PyObject *resultobj;
14512 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14513 wxSize result;
14514 PyObject * obj0 = 0 ;
14515 char *kwnames[] = {
14516 (char *) "self", NULL
14517 };
14518
14519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14521 {
14522 PyThreadState* __tstate = wxPyBeginAllowThreads();
14523 result = (arg1)->GetMargins();
14524
14525 wxPyEndAllowThreads(__tstate);
14526 if (PyErr_Occurred()) SWIG_fail;
14527 }
14528 {
14529 wxSize * resultptr;
14530 resultptr = new wxSize((wxSize &) result);
14531 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14532 }
14533 return resultobj;
14534 fail:
14535 return NULL;
14536}
14537
14538
14539static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14540 PyObject *resultobj;
14541 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14542 int result;
14543 PyObject * obj0 = 0 ;
14544 char *kwnames[] = {
14545 (char *) "self", NULL
14546 };
14547
14548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14550 {
14551 PyThreadState* __tstate = wxPyBeginAllowThreads();
14552 result = (int)(arg1)->GetToolPacking();
14553
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 resultobj = PyInt_FromLong((long)result);
14558 return resultobj;
14559 fail:
14560 return NULL;
14561}
14562
14563
14564static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14565 PyObject *resultobj;
14566 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14567 int result;
14568 PyObject * obj0 = 0 ;
14569 char *kwnames[] = {
14570 (char *) "self", NULL
14571 };
14572
14573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14575 {
14576 PyThreadState* __tstate = wxPyBeginAllowThreads();
14577 result = (int)(arg1)->GetToolSeparation();
14578
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 resultobj = PyInt_FromLong((long)result);
14583 return resultobj;
14584 fail:
14585 return NULL;
14586}
14587
14588
14589static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14590 PyObject *resultobj;
14591 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14592 int arg2 ;
14593 PyObject * obj0 = 0 ;
14594 char *kwnames[] = {
14595 (char *) "self",(char *) "nRows", NULL
14596 };
14597
14598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14600 {
14601 PyThreadState* __tstate = wxPyBeginAllowThreads();
14602 (arg1)->SetRows(arg2);
14603
14604 wxPyEndAllowThreads(__tstate);
14605 if (PyErr_Occurred()) SWIG_fail;
14606 }
14607 Py_INCREF(Py_None); resultobj = Py_None;
14608 return resultobj;
14609 fail:
14610 return NULL;
14611}
14612
14613
14614static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14615 PyObject *resultobj;
14616 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14617 int arg2 ;
14618 int arg3 ;
14619 PyObject * obj0 = 0 ;
14620 char *kwnames[] = {
14621 (char *) "self",(char *) "rows",(char *) "cols", NULL
14622 };
14623
14624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14626 {
14627 PyThreadState* __tstate = wxPyBeginAllowThreads();
14628 (arg1)->SetMaxRowsCols(arg2,arg3);
14629
14630 wxPyEndAllowThreads(__tstate);
14631 if (PyErr_Occurred()) SWIG_fail;
14632 }
14633 Py_INCREF(Py_None); resultobj = Py_None;
14634 return resultobj;
14635 fail:
14636 return NULL;
14637}
14638
14639
14640static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14641 PyObject *resultobj;
14642 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14643 int result;
14644 PyObject * obj0 = 0 ;
14645 char *kwnames[] = {
14646 (char *) "self", NULL
14647 };
14648
14649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14651 {
14652 PyThreadState* __tstate = wxPyBeginAllowThreads();
14653 result = (int)(arg1)->GetMaxRows();
14654
14655 wxPyEndAllowThreads(__tstate);
14656 if (PyErr_Occurred()) SWIG_fail;
14657 }
14658 resultobj = PyInt_FromLong((long)result);
14659 return resultobj;
14660 fail:
14661 return NULL;
14662}
14663
14664
14665static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14666 PyObject *resultobj;
14667 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14668 int result;
14669 PyObject * obj0 = 0 ;
14670 char *kwnames[] = {
14671 (char *) "self", NULL
14672 };
14673
14674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14676 {
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 result = (int)(arg1)->GetMaxCols();
14679
14680 wxPyEndAllowThreads(__tstate);
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
14683 resultobj = PyInt_FromLong((long)result);
14684 return resultobj;
14685 fail:
14686 return NULL;
14687}
14688
14689
14690static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14691 PyObject *resultobj;
14692 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14693 wxSize *arg2 = 0 ;
14694 wxSize temp2 ;
14695 PyObject * obj0 = 0 ;
14696 PyObject * obj1 = 0 ;
14697 char *kwnames[] = {
14698 (char *) "self",(char *) "size", NULL
14699 };
14700
14701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14703 {
14704 arg2 = &temp2;
14705 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14706 }
14707 {
14708 PyThreadState* __tstate = wxPyBeginAllowThreads();
14709 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14710
14711 wxPyEndAllowThreads(__tstate);
14712 if (PyErr_Occurred()) SWIG_fail;
14713 }
14714 Py_INCREF(Py_None); resultobj = Py_None;
14715 return resultobj;
14716 fail:
14717 return NULL;
14718}
14719
14720
14721static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14722 PyObject *resultobj;
14723 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14724 wxSize result;
14725 PyObject * obj0 = 0 ;
14726 char *kwnames[] = {
14727 (char *) "self", NULL
14728 };
14729
14730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14732 {
14733 PyThreadState* __tstate = wxPyBeginAllowThreads();
14734 result = (arg1)->GetToolBitmapSize();
14735
14736 wxPyEndAllowThreads(__tstate);
14737 if (PyErr_Occurred()) SWIG_fail;
14738 }
14739 {
14740 wxSize * resultptr;
14741 resultptr = new wxSize((wxSize &) result);
14742 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14743 }
14744 return resultobj;
14745 fail:
14746 return NULL;
14747}
14748
14749
14750static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14751 PyObject *resultobj;
14752 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14753 wxSize result;
14754 PyObject * obj0 = 0 ;
14755 char *kwnames[] = {
14756 (char *) "self", NULL
14757 };
14758
14759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14761 {
14762 PyThreadState* __tstate = wxPyBeginAllowThreads();
14763 result = (arg1)->GetToolSize();
14764
14765 wxPyEndAllowThreads(__tstate);
14766 if (PyErr_Occurred()) SWIG_fail;
14767 }
14768 {
14769 wxSize * resultptr;
14770 resultptr = new wxSize((wxSize &) result);
14771 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14772 }
14773 return resultobj;
14774 fail:
14775 return NULL;
14776}
14777
14778
14779static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj;
14781 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
e811c8ce
RD
14782 int arg2 ;
14783 int arg3 ;
d14a1e28
RD
14784 wxToolBarToolBase *result;
14785 PyObject * obj0 = 0 ;
14786 char *kwnames[] = {
14787 (char *) "self",(char *) "x",(char *) "y", NULL
14788 };
14789
14790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14792 {
14793 PyThreadState* __tstate = wxPyBeginAllowThreads();
14794 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14795
14796 wxPyEndAllowThreads(__tstate);
14797 if (PyErr_Occurred()) SWIG_fail;
14798 }
14799 {
14800 resultobj = wxPyMake_wxObject(result);
14801 }
14802 return resultobj;
14803 fail:
14804 return NULL;
14805}
14806
14807
3a04f143
RD
14808static PyObject *_wrap_ToolBarBase_FindById(PyObject *self, PyObject *args, PyObject *kwargs) {
14809 PyObject *resultobj;
14810 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14811 int arg2 ;
14812 wxToolBarToolBase *result;
14813 PyObject * obj0 = 0 ;
14814 char *kwnames[] = {
14815 (char *) "self",(char *) "toolid", NULL
14816 };
14817
14818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindById",kwnames,&obj0,&arg2)) goto fail;
14819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (wxToolBarToolBase *)((wxToolBarBase const *)arg1)->FindById(arg2);
14823
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 {
14828 resultobj = wxPyMake_wxObject(result);
14829 }
14830 return resultobj;
14831 fail:
14832 return NULL;
14833}
14834
14835
d14a1e28
RD
14836static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14837 PyObject *resultobj;
14838 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14839 bool result;
14840 PyObject * obj0 = 0 ;
14841 char *kwnames[] = {
14842 (char *) "self", NULL
14843 };
14844
14845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14847 {
14848 PyThreadState* __tstate = wxPyBeginAllowThreads();
14849 result = (bool)(arg1)->IsVertical();
14850
14851 wxPyEndAllowThreads(__tstate);
14852 if (PyErr_Occurred()) SWIG_fail;
14853 }
14854 resultobj = PyInt_FromLong((long)result);
14855 return resultobj;
14856 fail:
14857 return NULL;
14858}
14859
14860
14861static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14862 PyObject *obj;
14863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14864 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14865 Py_INCREF(obj);
14866 return Py_BuildValue((char *)"");
14867}
14868static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14869 PyObject *resultobj;
14870 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 14871 int arg2 ;
d14a1e28
RD
14872 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14873 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14874 wxSize const &arg4_defvalue = wxDefaultSize ;
14875 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14876 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14877 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14878 wxString *arg6 = (wxString *) &arg6_defvalue ;
14879 wxToolBar *result;
14880 wxPoint temp3 ;
14881 wxSize temp4 ;
e811c8ce 14882 bool temp6 = False ;
d14a1e28
RD
14883 PyObject * obj0 = 0 ;
14884 PyObject * obj2 = 0 ;
14885 PyObject * obj3 = 0 ;
14886 PyObject * obj5 = 0 ;
14887 char *kwnames[] = {
14888 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14889 };
14890
14891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14893 if (obj2) {
14894 {
14895 arg3 = &temp3;
14896 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14897 }
14898 }
14899 if (obj3) {
14900 {
14901 arg4 = &temp4;
14902 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14903 }
14904 }
14905 if (obj5) {
14906 {
14907 arg6 = wxString_in_helper(obj5);
14908 if (arg6 == NULL) SWIG_fail;
e811c8ce 14909 temp6 = True;
d14a1e28
RD
14910 }
14911 }
14912 {
14913 PyThreadState* __tstate = wxPyBeginAllowThreads();
14914 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14915
14916 wxPyEndAllowThreads(__tstate);
14917 if (PyErr_Occurred()) SWIG_fail;
14918 }
14919 {
14920 resultobj = wxPyMake_wxObject(result);
14921 }
14922 {
14923 if (temp6)
14924 delete arg6;
14925 }
14926 return resultobj;
14927 fail:
14928 {
14929 if (temp6)
14930 delete arg6;
14931 }
14932 return NULL;
14933}
14934
14935
14936static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14937 PyObject *resultobj;
14938 wxToolBar *result;
14939 char *kwnames[] = {
14940 NULL
14941 };
14942
14943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14944 {
14945 PyThreadState* __tstate = wxPyBeginAllowThreads();
14946 result = (wxToolBar *)new wxToolBar();
14947
14948 wxPyEndAllowThreads(__tstate);
14949 if (PyErr_Occurred()) SWIG_fail;
14950 }
14951 {
14952 resultobj = wxPyMake_wxObject(result);
14953 }
14954 return resultobj;
14955 fail:
14956 return NULL;
14957}
14958
14959
14960static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14961 PyObject *resultobj;
14962 wxToolBar *arg1 = (wxToolBar *) 0 ;
14963 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 14964 int arg3 ;
d14a1e28
RD
14965 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14966 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14967 wxSize const &arg5_defvalue = wxDefaultSize ;
14968 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14969 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14970 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
14971 wxString *arg7 = (wxString *) &arg7_defvalue ;
14972 bool result;
14973 wxPoint temp4 ;
14974 wxSize temp5 ;
e811c8ce 14975 bool temp7 = False ;
d14a1e28
RD
14976 PyObject * obj0 = 0 ;
14977 PyObject * obj1 = 0 ;
14978 PyObject * obj3 = 0 ;
14979 PyObject * obj4 = 0 ;
14980 PyObject * obj6 = 0 ;
14981 char *kwnames[] = {
14982 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14983 };
14984
14985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
14986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14987 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14988 if (obj3) {
14989 {
14990 arg4 = &temp4;
14991 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14992 }
14993 }
14994 if (obj4) {
14995 {
14996 arg5 = &temp5;
14997 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14998 }
14999 }
15000 if (obj6) {
15001 {
15002 arg7 = wxString_in_helper(obj6);
15003 if (arg7 == NULL) SWIG_fail;
e811c8ce 15004 temp7 = True;
d14a1e28
RD
15005 }
15006 }
15007 {
15008 PyThreadState* __tstate = wxPyBeginAllowThreads();
15009 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15010
15011 wxPyEndAllowThreads(__tstate);
15012 if (PyErr_Occurred()) SWIG_fail;
15013 }
15014 resultobj = PyInt_FromLong((long)result);
15015 {
15016 if (temp7)
15017 delete arg7;
15018 }
15019 return resultobj;
15020 fail:
15021 {
15022 if (temp7)
15023 delete arg7;
15024 }
15025 return NULL;
15026}
15027
15028
15029static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15030 PyObject *resultobj;
15031 wxToolBar *arg1 = (wxToolBar *) 0 ;
e811c8ce
RD
15032 int arg2 ;
15033 int arg3 ;
d14a1e28
RD
15034 wxToolBarToolBase *result;
15035 PyObject * obj0 = 0 ;
15036 char *kwnames[] = {
15037 (char *) "self",(char *) "x",(char *) "y", NULL
15038 };
15039
15040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15042 {
15043 PyThreadState* __tstate = wxPyBeginAllowThreads();
15044 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15045
15046 wxPyEndAllowThreads(__tstate);
15047 if (PyErr_Occurred()) SWIG_fail;
15048 }
15049 {
15050 resultobj = wxPyMake_wxObject(result);
15051 }
15052 return resultobj;
15053 fail:
15054 return NULL;
15055}
15056
15057
15058static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15059 PyObject *obj;
15060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15061 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15062 Py_INCREF(obj);
15063 return Py_BuildValue((char *)"");
15064}
15065static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15066 PyObject *resultobj;
15067 wxColour const &arg1_defvalue = wxNullColour ;
15068 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15069 wxColour const &arg2_defvalue = wxNullColour ;
15070 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15071 wxFont const &arg3_defvalue = wxNullFont ;
15072 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15073 wxListItemAttr *result;
15074 wxColour temp1 ;
15075 wxColour temp2 ;
15076 PyObject * obj0 = 0 ;
15077 PyObject * obj1 = 0 ;
15078 PyObject * obj2 = 0 ;
15079 char *kwnames[] = {
15080 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15081 };
15082
15083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15084 if (obj0) {
15085 {
15086 arg1 = &temp1;
15087 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15088 }
15089 }
15090 if (obj1) {
15091 {
15092 arg2 = &temp2;
15093 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15094 }
15095 }
15096 if (obj2) {
15097 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15098 if (arg3 == NULL) {
15099 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15100 }
15101 }
15102 {
15103 PyThreadState* __tstate = wxPyBeginAllowThreads();
15104 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15105
15106 wxPyEndAllowThreads(__tstate);
15107 if (PyErr_Occurred()) SWIG_fail;
15108 }
15109 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15110 return resultobj;
15111 fail:
15112 return NULL;
15113}
15114
15115
15116static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15117 PyObject *resultobj;
15118 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15119 wxColour *arg2 = 0 ;
15120 wxColour temp2 ;
15121 PyObject * obj0 = 0 ;
15122 PyObject * obj1 = 0 ;
15123 char *kwnames[] = {
15124 (char *) "self",(char *) "colText", NULL
15125 };
15126
15127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15129 {
15130 arg2 = &temp2;
15131 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15132 }
15133 {
15134 PyThreadState* __tstate = wxPyBeginAllowThreads();
15135 (arg1)->SetTextColour((wxColour const &)*arg2);
15136
15137 wxPyEndAllowThreads(__tstate);
15138 if (PyErr_Occurred()) SWIG_fail;
15139 }
15140 Py_INCREF(Py_None); resultobj = Py_None;
15141 return resultobj;
15142 fail:
15143 return NULL;
15144}
15145
15146
15147static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15148 PyObject *resultobj;
15149 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15150 wxColour *arg2 = 0 ;
15151 wxColour temp2 ;
15152 PyObject * obj0 = 0 ;
15153 PyObject * obj1 = 0 ;
15154 char *kwnames[] = {
15155 (char *) "self",(char *) "colBack", NULL
15156 };
15157
15158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15160 {
15161 arg2 = &temp2;
15162 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15163 }
15164 {
15165 PyThreadState* __tstate = wxPyBeginAllowThreads();
15166 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15167
15168 wxPyEndAllowThreads(__tstate);
15169 if (PyErr_Occurred()) SWIG_fail;
15170 }
15171 Py_INCREF(Py_None); resultobj = Py_None;
15172 return resultobj;
15173 fail:
15174 return NULL;
15175}
15176
15177
15178static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15179 PyObject *resultobj;
15180 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15181 wxFont *arg2 = 0 ;
15182 PyObject * obj0 = 0 ;
15183 PyObject * obj1 = 0 ;
15184 char *kwnames[] = {
15185 (char *) "self",(char *) "font", NULL
15186 };
15187
15188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15190 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15191 if (arg2 == NULL) {
15192 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15193 }
15194 {
15195 PyThreadState* __tstate = wxPyBeginAllowThreads();
15196 (arg1)->SetFont((wxFont const &)*arg2);
15197
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 Py_INCREF(Py_None); resultobj = Py_None;
15202 return resultobj;
15203 fail:
15204 return NULL;
15205}
15206
15207
15208static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15209 PyObject *resultobj;
15210 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15211 bool result;
15212 PyObject * obj0 = 0 ;
15213 char *kwnames[] = {
15214 (char *) "self", NULL
15215 };
15216
15217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15219 {
15220 PyThreadState* __tstate = wxPyBeginAllowThreads();
15221 result = (bool)(arg1)->HasTextColour();
15222
15223 wxPyEndAllowThreads(__tstate);
15224 if (PyErr_Occurred()) SWIG_fail;
15225 }
15226 resultobj = PyInt_FromLong((long)result);
15227 return resultobj;
15228 fail:
15229 return NULL;
15230}
15231
15232
15233static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15234 PyObject *resultobj;
15235 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15236 bool result;
15237 PyObject * obj0 = 0 ;
15238 char *kwnames[] = {
15239 (char *) "self", NULL
15240 };
15241
15242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15244 {
15245 PyThreadState* __tstate = wxPyBeginAllowThreads();
15246 result = (bool)(arg1)->HasBackgroundColour();
15247
15248 wxPyEndAllowThreads(__tstate);
15249 if (PyErr_Occurred()) SWIG_fail;
15250 }
15251 resultobj = PyInt_FromLong((long)result);
15252 return resultobj;
15253 fail:
15254 return NULL;
15255}
15256
15257
15258static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15259 PyObject *resultobj;
15260 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15261 bool result;
15262 PyObject * obj0 = 0 ;
15263 char *kwnames[] = {
15264 (char *) "self", NULL
15265 };
15266
15267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15269 {
15270 PyThreadState* __tstate = wxPyBeginAllowThreads();
15271 result = (bool)(arg1)->HasFont();
15272
15273 wxPyEndAllowThreads(__tstate);
15274 if (PyErr_Occurred()) SWIG_fail;
15275 }
15276 resultobj = PyInt_FromLong((long)result);
15277 return resultobj;
15278 fail:
15279 return NULL;
15280}
15281
15282
15283static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15284 PyObject *resultobj;
15285 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15286 wxColour result;
15287 PyObject * obj0 = 0 ;
15288 char *kwnames[] = {
15289 (char *) "self", NULL
15290 };
15291
15292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15294 {
15295 PyThreadState* __tstate = wxPyBeginAllowThreads();
15296 result = (arg1)->GetTextColour();
15297
15298 wxPyEndAllowThreads(__tstate);
15299 if (PyErr_Occurred()) SWIG_fail;
15300 }
15301 {
15302 wxColour * resultptr;
15303 resultptr = new wxColour((wxColour &) result);
15304 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15305 }
15306 return resultobj;
15307 fail:
15308 return NULL;
15309}
15310
15311
15312static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15313 PyObject *resultobj;
15314 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15315 wxColour result;
15316 PyObject * obj0 = 0 ;
15317 char *kwnames[] = {
15318 (char *) "self", NULL
15319 };
15320
15321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15323 {
15324 PyThreadState* __tstate = wxPyBeginAllowThreads();
15325 result = (arg1)->GetBackgroundColour();
15326
15327 wxPyEndAllowThreads(__tstate);
15328 if (PyErr_Occurred()) SWIG_fail;
15329 }
15330 {
15331 wxColour * resultptr;
15332 resultptr = new wxColour((wxColour &) result);
15333 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15334 }
15335 return resultobj;
15336 fail:
15337 return NULL;
15338}
15339
15340
15341static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15342 PyObject *resultobj;
15343 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15344 wxFont result;
15345 PyObject * obj0 = 0 ;
15346 char *kwnames[] = {
15347 (char *) "self", NULL
15348 };
15349
15350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15352 {
15353 PyThreadState* __tstate = wxPyBeginAllowThreads();
15354 result = (arg1)->GetFont();
15355
15356 wxPyEndAllowThreads(__tstate);
15357 if (PyErr_Occurred()) SWIG_fail;
15358 }
15359 {
15360 wxFont * resultptr;
15361 resultptr = new wxFont((wxFont &) result);
15362 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15363 }
15364 return resultobj;
15365 fail:
15366 return NULL;
15367}
15368
15369
15370static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15371 PyObject *resultobj;
15372 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15373 PyObject * obj0 = 0 ;
15374 char *kwnames[] = {
15375 (char *) "self", NULL
15376 };
15377
15378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15380 {
15381 PyThreadState* __tstate = wxPyBeginAllowThreads();
15382 wxListItemAttr_Destroy(arg1);
15383
15384 wxPyEndAllowThreads(__tstate);
15385 if (PyErr_Occurred()) SWIG_fail;
15386 }
15387 Py_INCREF(Py_None); resultobj = Py_None;
15388 return resultobj;
15389 fail:
15390 return NULL;
15391}
15392
15393
15394static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15395 PyObject *obj;
15396 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15397 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15398 Py_INCREF(obj);
15399 return Py_BuildValue((char *)"");
15400}
15401static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15402 PyObject *resultobj;
15403 wxListItem *result;
15404 char *kwnames[] = {
15405 NULL
15406 };
15407
15408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15409 {
15410 PyThreadState* __tstate = wxPyBeginAllowThreads();
15411 result = (wxListItem *)new wxListItem();
15412
15413 wxPyEndAllowThreads(__tstate);
15414 if (PyErr_Occurred()) SWIG_fail;
15415 }
15416 {
15417 resultobj = wxPyMake_wxObject(result);
15418 }
15419 return resultobj;
15420 fail:
15421 return NULL;
15422}
15423
15424
15425static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15426 PyObject *resultobj;
15427 wxListItem *arg1 = (wxListItem *) 0 ;
15428 PyObject * obj0 = 0 ;
15429 char *kwnames[] = {
15430 (char *) "self", NULL
15431 };
15432
15433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15435 {
15436 PyThreadState* __tstate = wxPyBeginAllowThreads();
15437 delete arg1;
15438
15439 wxPyEndAllowThreads(__tstate);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15442 Py_INCREF(Py_None); resultobj = Py_None;
15443 return resultobj;
15444 fail:
15445 return NULL;
15446}
15447
15448
15449static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15450 PyObject *resultobj;
15451 wxListItem *arg1 = (wxListItem *) 0 ;
15452 PyObject * obj0 = 0 ;
15453 char *kwnames[] = {
15454 (char *) "self", NULL
15455 };
15456
15457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15459 {
15460 PyThreadState* __tstate = wxPyBeginAllowThreads();
15461 (arg1)->Clear();
15462
15463 wxPyEndAllowThreads(__tstate);
15464 if (PyErr_Occurred()) SWIG_fail;
15465 }
15466 Py_INCREF(Py_None); resultobj = Py_None;
15467 return resultobj;
15468 fail:
15469 return NULL;
15470}
15471
15472
15473static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15474 PyObject *resultobj;
15475 wxListItem *arg1 = (wxListItem *) 0 ;
15476 PyObject * obj0 = 0 ;
15477 char *kwnames[] = {
15478 (char *) "self", NULL
15479 };
15480
15481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15483 {
15484 PyThreadState* __tstate = wxPyBeginAllowThreads();
15485 (arg1)->ClearAttributes();
15486
15487 wxPyEndAllowThreads(__tstate);
15488 if (PyErr_Occurred()) SWIG_fail;
15489 }
15490 Py_INCREF(Py_None); resultobj = Py_None;
15491 return resultobj;
15492 fail:
15493 return NULL;
15494}
15495
15496
15497static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15498 PyObject *resultobj;
15499 wxListItem *arg1 = (wxListItem *) 0 ;
15500 long arg2 ;
15501 PyObject * obj0 = 0 ;
15502 char *kwnames[] = {
15503 (char *) "self",(char *) "mask", NULL
15504 };
15505
15506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 (arg1)->SetMask(arg2);
15511
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 Py_INCREF(Py_None); resultobj = Py_None;
15516 return resultobj;
15517 fail:
15518 return NULL;
15519}
15520
15521
15522static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 wxListItem *arg1 = (wxListItem *) 0 ;
15525 long arg2 ;
15526 PyObject * obj0 = 0 ;
15527 char *kwnames[] = {
15528 (char *) "self",(char *) "id", NULL
15529 };
15530
15531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15533 {
15534 PyThreadState* __tstate = wxPyBeginAllowThreads();
15535 (arg1)->SetId(arg2);
15536
15537 wxPyEndAllowThreads(__tstate);
15538 if (PyErr_Occurred()) SWIG_fail;
15539 }
15540 Py_INCREF(Py_None); resultobj = Py_None;
15541 return resultobj;
15542 fail:
15543 return NULL;
15544}
15545
15546
15547static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15548 PyObject *resultobj;
15549 wxListItem *arg1 = (wxListItem *) 0 ;
15550 int arg2 ;
15551 PyObject * obj0 = 0 ;
15552 char *kwnames[] = {
15553 (char *) "self",(char *) "col", NULL
15554 };
15555
15556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15558 {
15559 PyThreadState* __tstate = wxPyBeginAllowThreads();
15560 (arg1)->SetColumn(arg2);
15561
15562 wxPyEndAllowThreads(__tstate);
15563 if (PyErr_Occurred()) SWIG_fail;
15564 }
15565 Py_INCREF(Py_None); resultobj = Py_None;
15566 return resultobj;
15567 fail:
15568 return NULL;
15569}
15570
15571
15572static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15573 PyObject *resultobj;
15574 wxListItem *arg1 = (wxListItem *) 0 ;
15575 long arg2 ;
15576 PyObject * obj0 = 0 ;
15577 char *kwnames[] = {
15578 (char *) "self",(char *) "state", NULL
15579 };
15580
15581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15583 {
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 (arg1)->SetState(arg2);
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 Py_INCREF(Py_None); resultobj = Py_None;
15591 return resultobj;
15592 fail:
15593 return NULL;
15594}
15595
15596
15597static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15598 PyObject *resultobj;
15599 wxListItem *arg1 = (wxListItem *) 0 ;
15600 long arg2 ;
15601 PyObject * obj0 = 0 ;
15602 char *kwnames[] = {
15603 (char *) "self",(char *) "stateMask", NULL
15604 };
15605
15606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15608 {
15609 PyThreadState* __tstate = wxPyBeginAllowThreads();
15610 (arg1)->SetStateMask(arg2);
15611
15612 wxPyEndAllowThreads(__tstate);
15613 if (PyErr_Occurred()) SWIG_fail;
15614 }
15615 Py_INCREF(Py_None); resultobj = Py_None;
15616 return resultobj;
15617 fail:
15618 return NULL;
15619}
15620
15621
15622static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15623 PyObject *resultobj;
15624 wxListItem *arg1 = (wxListItem *) 0 ;
15625 wxString *arg2 = 0 ;
e811c8ce 15626 bool temp2 = False ;
d14a1e28
RD
15627 PyObject * obj0 = 0 ;
15628 PyObject * obj1 = 0 ;
15629 char *kwnames[] = {
15630 (char *) "self",(char *) "text", NULL
15631 };
15632
15633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15635 {
15636 arg2 = wxString_in_helper(obj1);
15637 if (arg2 == NULL) SWIG_fail;
e811c8ce 15638 temp2 = True;
d14a1e28
RD
15639 }
15640 {
15641 PyThreadState* __tstate = wxPyBeginAllowThreads();
15642 (arg1)->SetText((wxString const &)*arg2);
15643
15644 wxPyEndAllowThreads(__tstate);
15645 if (PyErr_Occurred()) SWIG_fail;
15646 }
15647 Py_INCREF(Py_None); resultobj = Py_None;
15648 {
15649 if (temp2)
15650 delete arg2;
15651 }
15652 return resultobj;
15653 fail:
15654 {
15655 if (temp2)
15656 delete arg2;
15657 }
15658 return NULL;
15659}
15660
15661
15662static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15663 PyObject *resultobj;
15664 wxListItem *arg1 = (wxListItem *) 0 ;
15665 int arg2 ;
15666 PyObject * obj0 = 0 ;
15667 char *kwnames[] = {
15668 (char *) "self",(char *) "image", NULL
15669 };
15670
15671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 (arg1)->SetImage(arg2);
15676
15677 wxPyEndAllowThreads(__tstate);
15678 if (PyErr_Occurred()) SWIG_fail;
15679 }
15680 Py_INCREF(Py_None); resultobj = Py_None;
15681 return resultobj;
15682 fail:
15683 return NULL;
15684}
15685
15686
15687static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15688 PyObject *resultobj;
15689 wxListItem *arg1 = (wxListItem *) 0 ;
15690 long arg2 ;
15691 PyObject * obj0 = 0 ;
15692 char *kwnames[] = {
15693 (char *) "self",(char *) "data", NULL
15694 };
15695
15696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15698 {
15699 PyThreadState* __tstate = wxPyBeginAllowThreads();
15700 (arg1)->SetData(arg2);
15701
15702 wxPyEndAllowThreads(__tstate);
15703 if (PyErr_Occurred()) SWIG_fail;
15704 }
15705 Py_INCREF(Py_None); resultobj = Py_None;
15706 return resultobj;
15707 fail:
15708 return NULL;
15709}
15710
15711
15712static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15713 PyObject *resultobj;
15714 wxListItem *arg1 = (wxListItem *) 0 ;
15715 int arg2 ;
15716 PyObject * obj0 = 0 ;
15717 char *kwnames[] = {
15718 (char *) "self",(char *) "width", NULL
15719 };
15720
15721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
15722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15723 {
15724 PyThreadState* __tstate = wxPyBeginAllowThreads();
15725 (arg1)->SetWidth(arg2);
15726
15727 wxPyEndAllowThreads(__tstate);
15728 if (PyErr_Occurred()) SWIG_fail;
15729 }
15730 Py_INCREF(Py_None); resultobj = Py_None;
15731 return resultobj;
15732 fail:
15733 return NULL;
15734}
15735
15736
15737static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15738 PyObject *resultobj;
15739 wxListItem *arg1 = (wxListItem *) 0 ;
15740 int arg2 ;
15741 PyObject * obj0 = 0 ;
15742 char *kwnames[] = {
15743 (char *) "self",(char *) "align", NULL
15744 };
15745
15746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15748 {
15749 PyThreadState* __tstate = wxPyBeginAllowThreads();
15750 (arg1)->SetAlign((wxListColumnFormat )arg2);
15751
15752 wxPyEndAllowThreads(__tstate);
15753 if (PyErr_Occurred()) SWIG_fail;
15754 }
15755 Py_INCREF(Py_None); resultobj = Py_None;
15756 return resultobj;
15757 fail:
15758 return NULL;
15759}
15760
15761
15762static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15763 PyObject *resultobj;
15764 wxListItem *arg1 = (wxListItem *) 0 ;
15765 wxColour *arg2 = 0 ;
15766 wxColour temp2 ;
15767 PyObject * obj0 = 0 ;
15768 PyObject * obj1 = 0 ;
15769 char *kwnames[] = {
15770 (char *) "self",(char *) "colText", NULL
15771 };
15772
15773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15775 {
15776 arg2 = &temp2;
15777 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15778 }
15779 {
15780 PyThreadState* __tstate = wxPyBeginAllowThreads();
15781 (arg1)->SetTextColour((wxColour const &)*arg2);
15782
15783 wxPyEndAllowThreads(__tstate);
15784 if (PyErr_Occurred()) SWIG_fail;
15785 }
15786 Py_INCREF(Py_None); resultobj = Py_None;
15787 return resultobj;
15788 fail:
15789 return NULL;
15790}
15791
15792
15793static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15794 PyObject *resultobj;
15795 wxListItem *arg1 = (wxListItem *) 0 ;
15796 wxColour *arg2 = 0 ;
15797 wxColour temp2 ;
15798 PyObject * obj0 = 0 ;
15799 PyObject * obj1 = 0 ;
15800 char *kwnames[] = {
15801 (char *) "self",(char *) "colBack", NULL
15802 };
15803
15804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15806 {
15807 arg2 = &temp2;
15808 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15809 }
15810 {
15811 PyThreadState* __tstate = wxPyBeginAllowThreads();
15812 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15813
15814 wxPyEndAllowThreads(__tstate);
15815 if (PyErr_Occurred()) SWIG_fail;
15816 }
15817 Py_INCREF(Py_None); resultobj = Py_None;
15818 return resultobj;
15819 fail:
15820 return NULL;
15821}
15822
15823
15824static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15825 PyObject *resultobj;
15826 wxListItem *arg1 = (wxListItem *) 0 ;
15827 wxFont *arg2 = 0 ;
15828 PyObject * obj0 = 0 ;
15829 PyObject * obj1 = 0 ;
15830 char *kwnames[] = {
15831 (char *) "self",(char *) "font", NULL
15832 };
15833
15834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15836 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15837 if (arg2 == NULL) {
15838 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15839 }
15840 {
15841 PyThreadState* __tstate = wxPyBeginAllowThreads();
15842 (arg1)->SetFont((wxFont const &)*arg2);
15843
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 Py_INCREF(Py_None); resultobj = Py_None;
15848 return resultobj;
15849 fail:
15850 return NULL;
15851}
15852
15853
15854static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15855 PyObject *resultobj;
15856 wxListItem *arg1 = (wxListItem *) 0 ;
15857 long result;
15858 PyObject * obj0 = 0 ;
15859 char *kwnames[] = {
15860 (char *) "self", NULL
15861 };
15862
15863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15865 {
15866 PyThreadState* __tstate = wxPyBeginAllowThreads();
15867 result = (long)(arg1)->GetMask();
15868
15869 wxPyEndAllowThreads(__tstate);
15870 if (PyErr_Occurred()) SWIG_fail;
15871 }
15872 resultobj = PyInt_FromLong((long)result);
15873 return resultobj;
15874 fail:
15875 return NULL;
15876}
15877
15878
15879static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15880 PyObject *resultobj;
15881 wxListItem *arg1 = (wxListItem *) 0 ;
15882 long result;
15883 PyObject * obj0 = 0 ;
15884 char *kwnames[] = {
15885 (char *) "self", NULL
15886 };
15887
15888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15890 {
15891 PyThreadState* __tstate = wxPyBeginAllowThreads();
15892 result = (long)(arg1)->GetId();
15893
15894 wxPyEndAllowThreads(__tstate);
15895 if (PyErr_Occurred()) SWIG_fail;
15896 }
15897 resultobj = PyInt_FromLong((long)result);
15898 return resultobj;
15899 fail:
15900 return NULL;
15901}
15902
15903
15904static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15905 PyObject *resultobj;
15906 wxListItem *arg1 = (wxListItem *) 0 ;
15907 int result;
15908 PyObject * obj0 = 0 ;
15909 char *kwnames[] = {
15910 (char *) "self", NULL
15911 };
15912
15913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 result = (int)(arg1)->GetColumn();
15918
15919 wxPyEndAllowThreads(__tstate);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
15922 resultobj = PyInt_FromLong((long)result);
15923 return resultobj;
15924 fail:
15925 return NULL;
15926}
15927
15928
15929static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj;
15931 wxListItem *arg1 = (wxListItem *) 0 ;
15932 long result;
15933 PyObject * obj0 = 0 ;
15934 char *kwnames[] = {
15935 (char *) "self", NULL
15936 };
15937
15938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15940 {
15941 PyThreadState* __tstate = wxPyBeginAllowThreads();
15942 result = (long)(arg1)->GetState();
15943
15944 wxPyEndAllowThreads(__tstate);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 resultobj = PyInt_FromLong((long)result);
15948 return resultobj;
15949 fail:
15950 return NULL;
15951}
15952
15953
15954static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15955 PyObject *resultobj;
15956 wxListItem *arg1 = (wxListItem *) 0 ;
15957 wxString *result;
15958 PyObject * obj0 = 0 ;
15959 char *kwnames[] = {
15960 (char *) "self", NULL
15961 };
15962
15963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15965 {
15966 PyThreadState* __tstate = wxPyBeginAllowThreads();
15967 {
15968 wxString const &_result_ref = (arg1)->GetText();
15969 result = (wxString *) &_result_ref;
15970 }
15971
15972 wxPyEndAllowThreads(__tstate);
15973 if (PyErr_Occurred()) SWIG_fail;
15974 }
cc6dd355
RD
15975 {
15976#if wxUSE_UNICODE
15977 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15978#else
15979 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15980#endif
15981 }
d14a1e28
RD
15982 return resultobj;
15983 fail:
15984 return NULL;
15985}
15986
15987
15988static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15989 PyObject *resultobj;
15990 wxListItem *arg1 = (wxListItem *) 0 ;
15991 int result;
15992 PyObject * obj0 = 0 ;
15993 char *kwnames[] = {
15994 (char *) "self", NULL
15995 };
15996
15997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15999 {
16000 PyThreadState* __tstate = wxPyBeginAllowThreads();
16001 result = (int)(arg1)->GetImage();
16002
16003 wxPyEndAllowThreads(__tstate);
16004 if (PyErr_Occurred()) SWIG_fail;
16005 }
16006 resultobj = PyInt_FromLong((long)result);
16007 return resultobj;
16008 fail:
16009 return NULL;
16010}
16011
16012
16013static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16014 PyObject *resultobj;
16015 wxListItem *arg1 = (wxListItem *) 0 ;
16016 long result;
16017 PyObject * obj0 = 0 ;
16018 char *kwnames[] = {
16019 (char *) "self", NULL
16020 };
16021
16022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 result = (long)(arg1)->GetData();
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 resultobj = PyInt_FromLong((long)result);
16032 return resultobj;
16033 fail:
16034 return NULL;
16035}
16036
16037
16038static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16039 PyObject *resultobj;
16040 wxListItem *arg1 = (wxListItem *) 0 ;
16041 int result;
16042 PyObject * obj0 = 0 ;
16043 char *kwnames[] = {
16044 (char *) "self", NULL
16045 };
16046
16047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16049 {
16050 PyThreadState* __tstate = wxPyBeginAllowThreads();
16051 result = (int)(arg1)->GetWidth();
16052
16053 wxPyEndAllowThreads(__tstate);
16054 if (PyErr_Occurred()) SWIG_fail;
16055 }
16056 resultobj = PyInt_FromLong((long)result);
16057 return resultobj;
16058 fail:
16059 return NULL;
16060}
16061
16062
16063static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16064 PyObject *resultobj;
16065 wxListItem *arg1 = (wxListItem *) 0 ;
16066 int result;
16067 PyObject * obj0 = 0 ;
16068 char *kwnames[] = {
16069 (char *) "self", NULL
16070 };
16071
16072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16074 {
16075 PyThreadState* __tstate = wxPyBeginAllowThreads();
16076 result = (int)(arg1)->GetAlign();
16077
16078 wxPyEndAllowThreads(__tstate);
16079 if (PyErr_Occurred()) SWIG_fail;
16080 }
16081 resultobj = PyInt_FromLong((long)result);
16082 return resultobj;
16083 fail:
16084 return NULL;
16085}
16086
16087
16088static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16089 PyObject *resultobj;
16090 wxListItem *arg1 = (wxListItem *) 0 ;
16091 wxListItemAttr *result;
16092 PyObject * obj0 = 0 ;
16093 char *kwnames[] = {
16094 (char *) "self", NULL
16095 };
16096
16097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16099 {
16100 PyThreadState* __tstate = wxPyBeginAllowThreads();
16101 result = (wxListItemAttr *)(arg1)->GetAttributes();
16102
16103 wxPyEndAllowThreads(__tstate);
16104 if (PyErr_Occurred()) SWIG_fail;
16105 }
16106 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16107 return resultobj;
16108 fail:
16109 return NULL;
16110}
16111
16112
16113static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16114 PyObject *resultobj;
16115 wxListItem *arg1 = (wxListItem *) 0 ;
16116 bool result;
16117 PyObject * obj0 = 0 ;
16118 char *kwnames[] = {
16119 (char *) "self", NULL
16120 };
16121
16122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16124 {
16125 PyThreadState* __tstate = wxPyBeginAllowThreads();
16126 result = (bool)(arg1)->HasAttributes();
16127
16128 wxPyEndAllowThreads(__tstate);
16129 if (PyErr_Occurred()) SWIG_fail;
16130 }
16131 resultobj = PyInt_FromLong((long)result);
16132 return resultobj;
16133 fail:
16134 return NULL;
16135}
16136
16137
16138static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16139 PyObject *resultobj;
16140 wxListItem *arg1 = (wxListItem *) 0 ;
16141 wxColour result;
16142 PyObject * obj0 = 0 ;
16143 char *kwnames[] = {
16144 (char *) "self", NULL
16145 };
16146
16147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16149 {
16150 PyThreadState* __tstate = wxPyBeginAllowThreads();
16151 result = ((wxListItem const *)arg1)->GetTextColour();
16152
16153 wxPyEndAllowThreads(__tstate);
16154 if (PyErr_Occurred()) SWIG_fail;
16155 }
16156 {
16157 wxColour * resultptr;
16158 resultptr = new wxColour((wxColour &) result);
16159 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16160 }
16161 return resultobj;
16162 fail:
16163 return NULL;
16164}
16165
16166
16167static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16168 PyObject *resultobj;
16169 wxListItem *arg1 = (wxListItem *) 0 ;
16170 wxColour result;
16171 PyObject * obj0 = 0 ;
16172 char *kwnames[] = {
16173 (char *) "self", NULL
16174 };
16175
16176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16178 {
16179 PyThreadState* __tstate = wxPyBeginAllowThreads();
16180 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16181
16182 wxPyEndAllowThreads(__tstate);
16183 if (PyErr_Occurred()) SWIG_fail;
16184 }
16185 {
16186 wxColour * resultptr;
16187 resultptr = new wxColour((wxColour &) result);
16188 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16189 }
16190 return resultobj;
16191 fail:
16192 return NULL;
16193}
16194
16195
16196static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16197 PyObject *resultobj;
16198 wxListItem *arg1 = (wxListItem *) 0 ;
16199 wxFont result;
16200 PyObject * obj0 = 0 ;
16201 char *kwnames[] = {
16202 (char *) "self", NULL
16203 };
16204
16205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16207 {
16208 PyThreadState* __tstate = wxPyBeginAllowThreads();
16209 result = ((wxListItem const *)arg1)->GetFont();
16210
16211 wxPyEndAllowThreads(__tstate);
16212 if (PyErr_Occurred()) SWIG_fail;
16213 }
16214 {
16215 wxFont * resultptr;
16216 resultptr = new wxFont((wxFont &) result);
16217 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16218 }
16219 return resultobj;
16220 fail:
16221 return NULL;
16222}
16223
16224
16225static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16226 PyObject *resultobj;
16227 wxListItem *arg1 = (wxListItem *) 0 ;
16228 long arg2 ;
16229 PyObject * obj0 = 0 ;
16230 char *kwnames[] = {
16231 (char *) "self",(char *) "m_mask", NULL
16232 };
16233
16234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16236 if (arg1) (arg1)->m_mask = arg2;
16237
16238 Py_INCREF(Py_None); resultobj = Py_None;
16239 return resultobj;
16240 fail:
16241 return NULL;
16242}
16243
16244
16245static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16246 PyObject *resultobj;
16247 wxListItem *arg1 = (wxListItem *) 0 ;
16248 long result;
16249 PyObject * obj0 = 0 ;
16250 char *kwnames[] = {
16251 (char *) "self", NULL
16252 };
16253
16254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16256 result = (long) ((arg1)->m_mask);
16257
16258 resultobj = PyInt_FromLong((long)result);
16259 return resultobj;
16260 fail:
16261 return NULL;
16262}
16263
16264
16265static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16266 PyObject *resultobj;
16267 wxListItem *arg1 = (wxListItem *) 0 ;
16268 long arg2 ;
16269 PyObject * obj0 = 0 ;
16270 char *kwnames[] = {
16271 (char *) "self",(char *) "m_itemId", NULL
16272 };
16273
16274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16276 if (arg1) (arg1)->m_itemId = arg2;
16277
16278 Py_INCREF(Py_None); resultobj = Py_None;
16279 return resultobj;
16280 fail:
16281 return NULL;
16282}
16283
16284
16285static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16286 PyObject *resultobj;
16287 wxListItem *arg1 = (wxListItem *) 0 ;
16288 long result;
16289 PyObject * obj0 = 0 ;
16290 char *kwnames[] = {
16291 (char *) "self", NULL
16292 };
16293
16294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16296 result = (long) ((arg1)->m_itemId);
16297
16298 resultobj = PyInt_FromLong((long)result);
16299 return resultobj;
16300 fail:
16301 return NULL;
16302}
16303
16304
16305static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16306 PyObject *resultobj;
16307 wxListItem *arg1 = (wxListItem *) 0 ;
16308 int arg2 ;
16309 PyObject * obj0 = 0 ;
16310 char *kwnames[] = {
16311 (char *) "self",(char *) "m_col", NULL
16312 };
16313
16314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16316 if (arg1) (arg1)->m_col = arg2;
16317
16318 Py_INCREF(Py_None); resultobj = Py_None;
16319 return resultobj;
16320 fail:
16321 return NULL;
16322}
16323
16324
16325static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16326 PyObject *resultobj;
16327 wxListItem *arg1 = (wxListItem *) 0 ;
16328 int result;
16329 PyObject * obj0 = 0 ;
16330 char *kwnames[] = {
16331 (char *) "self", NULL
16332 };
16333
16334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16336 result = (int) ((arg1)->m_col);
16337
16338 resultobj = PyInt_FromLong((long)result);
16339 return resultobj;
16340 fail:
16341 return NULL;
16342}
16343
16344
16345static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16346 PyObject *resultobj;
16347 wxListItem *arg1 = (wxListItem *) 0 ;
16348 long arg2 ;
16349 PyObject * obj0 = 0 ;
16350 char *kwnames[] = {
16351 (char *) "self",(char *) "m_state", NULL
16352 };
16353
16354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16356 if (arg1) (arg1)->m_state = arg2;
16357
16358 Py_INCREF(Py_None); resultobj = Py_None;
16359 return resultobj;
16360 fail:
16361 return NULL;
16362}
16363
16364
16365static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj;
16367 wxListItem *arg1 = (wxListItem *) 0 ;
16368 long result;
16369 PyObject * obj0 = 0 ;
16370 char *kwnames[] = {
16371 (char *) "self", NULL
16372 };
16373
16374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16376 result = (long) ((arg1)->m_state);
16377
16378 resultobj = PyInt_FromLong((long)result);
16379 return resultobj;
16380 fail:
16381 return NULL;
16382}
16383
16384
16385static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16386 PyObject *resultobj;
16387 wxListItem *arg1 = (wxListItem *) 0 ;
16388 long arg2 ;
16389 PyObject * obj0 = 0 ;
16390 char *kwnames[] = {
16391 (char *) "self",(char *) "m_stateMask", NULL
16392 };
16393
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16396 if (arg1) (arg1)->m_stateMask = arg2;
16397
16398 Py_INCREF(Py_None); resultobj = Py_None;
16399 return resultobj;
16400 fail:
16401 return NULL;
16402}
16403
16404
16405static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16406 PyObject *resultobj;
16407 wxListItem *arg1 = (wxListItem *) 0 ;
16408 long result;
16409 PyObject * obj0 = 0 ;
16410 char *kwnames[] = {
16411 (char *) "self", NULL
16412 };
16413
16414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16416 result = (long) ((arg1)->m_stateMask);
16417
16418 resultobj = PyInt_FromLong((long)result);
16419 return resultobj;
16420 fail:
16421 return NULL;
16422}
16423
16424
16425static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16426 PyObject *resultobj;
16427 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 16428 wxString *arg2 = (wxString *) 0 ;
d14a1e28
RD
16429 PyObject * obj0 = 0 ;
16430 PyObject * obj1 = 0 ;
16431 char *kwnames[] = {
16432 (char *) "self",(char *) "m_text", NULL
16433 };
16434
16435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
196addbf
RD
16437 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16438 if (arg1) (arg1)->m_text = *arg2;
d14a1e28
RD
16439
16440 Py_INCREF(Py_None); resultobj = Py_None;
16441 return resultobj;
16442 fail:
16443 return NULL;
16444}
16445
16446
16447static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16448 PyObject *resultobj;
16449 wxListItem *arg1 = (wxListItem *) 0 ;
196addbf 16450 wxString *result;
d14a1e28
RD
16451 PyObject * obj0 = 0 ;
16452 char *kwnames[] = {
16453 (char *) "self", NULL
16454 };
16455
16456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
196addbf 16458 result = (wxString *)& ((arg1)->m_text);
d14a1e28
RD
16459
16460 {
16461#if wxUSE_UNICODE
196addbf 16462 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 16463#else
196addbf 16464 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
16465#endif
16466 }
16467 return resultobj;
16468 fail:
16469 return NULL;
16470}
16471
16472
16473static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16474 PyObject *resultobj;
16475 wxListItem *arg1 = (wxListItem *) 0 ;
16476 int arg2 ;
16477 PyObject * obj0 = 0 ;
16478 char *kwnames[] = {
16479 (char *) "self",(char *) "m_image", NULL
16480 };
16481
16482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16484 if (arg1) (arg1)->m_image = arg2;
16485
16486 Py_INCREF(Py_None); resultobj = Py_None;
16487 return resultobj;
16488 fail:
16489 return NULL;
16490}
16491
16492
16493static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16494 PyObject *resultobj;
16495 wxListItem *arg1 = (wxListItem *) 0 ;
16496 int result;
16497 PyObject * obj0 = 0 ;
16498 char *kwnames[] = {
16499 (char *) "self", NULL
16500 };
16501
16502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16504 result = (int) ((arg1)->m_image);
16505
16506 resultobj = PyInt_FromLong((long)result);
16507 return resultobj;
16508 fail:
16509 return NULL;
16510}
16511
16512
16513static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16514 PyObject *resultobj;
16515 wxListItem *arg1 = (wxListItem *) 0 ;
16516 long arg2 ;
16517 PyObject * obj0 = 0 ;
16518 char *kwnames[] = {
16519 (char *) "self",(char *) "m_data", NULL
16520 };
16521
16522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16524 if (arg1) (arg1)->m_data = arg2;
16525
16526 Py_INCREF(Py_None); resultobj = Py_None;
16527 return resultobj;
16528 fail:
16529 return NULL;
16530}
16531
16532
16533static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16534 PyObject *resultobj;
16535 wxListItem *arg1 = (wxListItem *) 0 ;
16536 long result;
16537 PyObject * obj0 = 0 ;
16538 char *kwnames[] = {
16539 (char *) "self", NULL
16540 };
16541
16542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16544 result = (long) ((arg1)->m_data);
16545
16546 resultobj = PyInt_FromLong((long)result);
16547 return resultobj;
16548 fail:
16549 return NULL;
16550}
16551
16552
16553static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16554 PyObject *resultobj;
16555 wxListItem *arg1 = (wxListItem *) 0 ;
16556 int arg2 ;
16557 PyObject * obj0 = 0 ;
16558 char *kwnames[] = {
16559 (char *) "self",(char *) "m_format", NULL
16560 };
16561
16562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16564 if (arg1) (arg1)->m_format = arg2;
16565
16566 Py_INCREF(Py_None); resultobj = Py_None;
16567 return resultobj;
16568 fail:
16569 return NULL;
16570}
16571
16572
16573static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16574 PyObject *resultobj;
16575 wxListItem *arg1 = (wxListItem *) 0 ;
16576 int result;
16577 PyObject * obj0 = 0 ;
16578 char *kwnames[] = {
16579 (char *) "self", NULL
16580 };
16581
16582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16584 result = (int) ((arg1)->m_format);
16585
16586 resultobj = PyInt_FromLong((long)result);
16587 return resultobj;
16588 fail:
16589 return NULL;
16590}
16591
16592
16593static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16594 PyObject *resultobj;
16595 wxListItem *arg1 = (wxListItem *) 0 ;
16596 int arg2 ;
16597 PyObject * obj0 = 0 ;
16598 char *kwnames[] = {
16599 (char *) "self",(char *) "m_width", NULL
16600 };
16601
16602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16604 if (arg1) (arg1)->m_width = arg2;
16605
16606 Py_INCREF(Py_None); resultobj = Py_None;
16607 return resultobj;
16608 fail:
16609 return NULL;
16610}
16611
16612
16613static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16614 PyObject *resultobj;
16615 wxListItem *arg1 = (wxListItem *) 0 ;
16616 int result;
16617 PyObject * obj0 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "self", NULL
16620 };
16621
16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16624 result = (int) ((arg1)->m_width);
16625
16626 resultobj = PyInt_FromLong((long)result);
16627 return resultobj;
16628 fail:
16629 return NULL;
16630}
16631
16632
16633static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16634 PyObject *obj;
16635 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16636 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16637 Py_INCREF(obj);
16638 return Py_BuildValue((char *)"");
16639}
16640static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16641 PyObject *resultobj;
16642 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16643 int arg2 = (int) 0 ;
16644 wxListEvent *result;
16645 char *kwnames[] = {
16646 (char *) "commandType",(char *) "id", NULL
16647 };
16648
16649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16650 {
16651 PyThreadState* __tstate = wxPyBeginAllowThreads();
16652 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16653
16654 wxPyEndAllowThreads(__tstate);
16655 if (PyErr_Occurred()) SWIG_fail;
16656 }
16657 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16658 return resultobj;
16659 fail:
16660 return NULL;
16661}
16662
16663
16664static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16665 PyObject *resultobj;
16666 wxListEvent *arg1 = (wxListEvent *) 0 ;
16667 int arg2 ;
16668 PyObject * obj0 = 0 ;
16669 char *kwnames[] = {
16670 (char *) "self",(char *) "m_code", NULL
16671 };
16672
16673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16675 if (arg1) (arg1)->m_code = arg2;
16676
16677 Py_INCREF(Py_None); resultobj = Py_None;
16678 return resultobj;
16679 fail:
16680 return NULL;
16681}
16682
16683
16684static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16685 PyObject *resultobj;
16686 wxListEvent *arg1 = (wxListEvent *) 0 ;
16687 int result;
16688 PyObject * obj0 = 0 ;
16689 char *kwnames[] = {
16690 (char *) "self", NULL
16691 };
16692
16693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16695 result = (int) ((arg1)->m_code);
16696
16697 resultobj = PyInt_FromLong((long)result);
16698 return resultobj;
16699 fail:
16700 return NULL;
16701}
16702
16703
16704static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16705 PyObject *resultobj;
16706 wxListEvent *arg1 = (wxListEvent *) 0 ;
16707 long arg2 ;
16708 PyObject * obj0 = 0 ;
16709 char *kwnames[] = {
16710 (char *) "self",(char *) "m_oldItemIndex", NULL
16711 };
16712
16713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16715 if (arg1) (arg1)->m_oldItemIndex = arg2;
16716
16717 Py_INCREF(Py_None); resultobj = Py_None;
16718 return resultobj;
16719 fail:
16720 return NULL;
16721}
16722
16723
16724static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16725 PyObject *resultobj;
16726 wxListEvent *arg1 = (wxListEvent *) 0 ;
16727 long result;
16728 PyObject * obj0 = 0 ;
16729 char *kwnames[] = {
16730 (char *) "self", NULL
16731 };
16732
16733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16735 result = (long) ((arg1)->m_oldItemIndex);
16736
16737 resultobj = PyInt_FromLong((long)result);
16738 return resultobj;
16739 fail:
16740 return NULL;
16741}
16742
16743
16744static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxListEvent *arg1 = (wxListEvent *) 0 ;
16747 long arg2 ;
16748 PyObject * obj0 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self",(char *) "m_itemIndex", NULL
16751 };
16752
16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16755 if (arg1) (arg1)->m_itemIndex = arg2;
16756
16757 Py_INCREF(Py_None); resultobj = Py_None;
16758 return resultobj;
16759 fail:
16760 return NULL;
16761}
16762
16763
16764static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16765 PyObject *resultobj;
16766 wxListEvent *arg1 = (wxListEvent *) 0 ;
16767 long result;
16768 PyObject * obj0 = 0 ;
16769 char *kwnames[] = {
16770 (char *) "self", NULL
16771 };
16772
16773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16775 result = (long) ((arg1)->m_itemIndex);
16776
16777 resultobj = PyInt_FromLong((long)result);
16778 return resultobj;
16779 fail:
16780 return NULL;
16781}
16782
16783
16784static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16785 PyObject *resultobj;
16786 wxListEvent *arg1 = (wxListEvent *) 0 ;
16787 int arg2 ;
16788 PyObject * obj0 = 0 ;
16789 char *kwnames[] = {
16790 (char *) "self",(char *) "m_col", NULL
16791 };
16792
16793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16795 if (arg1) (arg1)->m_col = arg2;
16796
16797 Py_INCREF(Py_None); resultobj = Py_None;
16798 return resultobj;
16799 fail:
16800 return NULL;
16801}
16802
16803
16804static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16805 PyObject *resultobj;
16806 wxListEvent *arg1 = (wxListEvent *) 0 ;
16807 int result;
16808 PyObject * obj0 = 0 ;
16809 char *kwnames[] = {
16810 (char *) "self", NULL
16811 };
16812
16813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16815 result = (int) ((arg1)->m_col);
16816
16817 resultobj = PyInt_FromLong((long)result);
16818 return resultobj;
16819 fail:
16820 return NULL;
16821}
16822
16823
16824static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16825 PyObject *resultobj;
16826 wxListEvent *arg1 = (wxListEvent *) 0 ;
16827 wxPoint *arg2 = (wxPoint *) 0 ;
16828 PyObject * obj0 = 0 ;
16829 PyObject * obj1 = 0 ;
16830 char *kwnames[] = {
16831 (char *) "self",(char *) "m_pointDrag", NULL
16832 };
16833
16834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16836 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16837 if (arg1) (arg1)->m_pointDrag = *arg2;
16838
16839 Py_INCREF(Py_None); resultobj = Py_None;
16840 return resultobj;
16841 fail:
16842 return NULL;
16843}
16844
16845
16846static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16847 PyObject *resultobj;
16848 wxListEvent *arg1 = (wxListEvent *) 0 ;
16849 wxPoint *result;
16850 PyObject * obj0 = 0 ;
16851 char *kwnames[] = {
16852 (char *) "self", NULL
16853 };
16854
16855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16857 result = (wxPoint *)& ((arg1)->m_pointDrag);
16858
16859 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16860 return resultobj;
16861 fail:
16862 return NULL;
16863}
16864
16865
16866static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16867 PyObject *resultobj;
16868 wxListEvent *arg1 = (wxListEvent *) 0 ;
16869 wxListItem *result;
16870 PyObject * obj0 = 0 ;
16871 char *kwnames[] = {
16872 (char *) "self", NULL
16873 };
16874
16875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16877 result = (wxListItem *)& ((arg1)->m_item);
16878
16879 {
16880 resultobj = wxPyMake_wxObject(result);
16881 }
16882 return resultobj;
16883 fail:
16884 return NULL;
16885}
16886
16887
16888static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16889 PyObject *resultobj;
16890 wxListEvent *arg1 = (wxListEvent *) 0 ;
16891 int result;
16892 PyObject * obj0 = 0 ;
16893 char *kwnames[] = {
16894 (char *) "self", NULL
16895 };
16896
16897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16899 {
16900 PyThreadState* __tstate = wxPyBeginAllowThreads();
16901 result = (int)(arg1)->GetKeyCode();
16902
16903 wxPyEndAllowThreads(__tstate);
16904 if (PyErr_Occurred()) SWIG_fail;
16905 }
16906 resultobj = PyInt_FromLong((long)result);
16907 return resultobj;
16908 fail:
16909 return NULL;
16910}
16911
16912
16913static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16914 PyObject *resultobj;
16915 wxListEvent *arg1 = (wxListEvent *) 0 ;
16916 long result;
16917 PyObject * obj0 = 0 ;
16918 char *kwnames[] = {
16919 (char *) "self", NULL
16920 };
16921
16922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16924 {
16925 PyThreadState* __tstate = wxPyBeginAllowThreads();
16926 result = (long)(arg1)->GetIndex();
16927
16928 wxPyEndAllowThreads(__tstate);
16929 if (PyErr_Occurred()) SWIG_fail;
16930 }
16931 resultobj = PyInt_FromLong((long)result);
16932 return resultobj;
16933 fail:
16934 return NULL;
16935}
16936
16937
16938static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16939 PyObject *resultobj;
16940 wxListEvent *arg1 = (wxListEvent *) 0 ;
16941 int result;
16942 PyObject * obj0 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self", NULL
16945 };
16946
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
16948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16949 {
16950 PyThreadState* __tstate = wxPyBeginAllowThreads();
16951 result = (int)(arg1)->GetColumn();
16952
16953 wxPyEndAllowThreads(__tstate);
16954 if (PyErr_Occurred()) SWIG_fail;
16955 }
16956 resultobj = PyInt_FromLong((long)result);
16957 return resultobj;
16958 fail:
16959 return NULL;
16960}
16961
16962
16963static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
16964 PyObject *resultobj;
16965 wxListEvent *arg1 = (wxListEvent *) 0 ;
16966 wxPoint result;
16967 PyObject * obj0 = 0 ;
16968 char *kwnames[] = {
16969 (char *) "self", NULL
16970 };
16971
16972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
16973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16974 {
16975 PyThreadState* __tstate = wxPyBeginAllowThreads();
16976 result = (arg1)->GetPoint();
16977
16978 wxPyEndAllowThreads(__tstate);
16979 if (PyErr_Occurred()) SWIG_fail;
16980 }
16981 {
16982 wxPoint * resultptr;
16983 resultptr = new wxPoint((wxPoint &) result);
16984 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16985 }
16986 return resultobj;
16987 fail:
16988 return NULL;
16989}
16990
16991
16992static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16993 PyObject *resultobj;
16994 wxListEvent *arg1 = (wxListEvent *) 0 ;
16995 wxString *result;
16996 PyObject * obj0 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "self", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 {
17006 wxString const &_result_ref = (arg1)->GetLabel();
17007 result = (wxString *) &_result_ref;
17008 }
17009
17010 wxPyEndAllowThreads(__tstate);
17011 if (PyErr_Occurred()) SWIG_fail;
17012 }
cc6dd355
RD
17013 {
17014#if wxUSE_UNICODE
17015 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17016#else
17017 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17018#endif
17019 }
d14a1e28
RD
17020 return resultobj;
17021 fail:
17022 return NULL;
17023}
17024
17025
17026static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17027 PyObject *resultobj;
17028 wxListEvent *arg1 = (wxListEvent *) 0 ;
17029 wxString *result;
17030 PyObject * obj0 = 0 ;
17031 char *kwnames[] = {
17032 (char *) "self", NULL
17033 };
17034
17035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17037 {
17038 PyThreadState* __tstate = wxPyBeginAllowThreads();
17039 {
17040 wxString const &_result_ref = (arg1)->GetText();
17041 result = (wxString *) &_result_ref;
17042 }
17043
17044 wxPyEndAllowThreads(__tstate);
17045 if (PyErr_Occurred()) SWIG_fail;
17046 }
cc6dd355
RD
17047 {
17048#if wxUSE_UNICODE
17049 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17050#else
17051 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17052#endif
17053 }
d14a1e28
RD
17054 return resultobj;
17055 fail:
17056 return NULL;
17057}
17058
17059
17060static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17061 PyObject *resultobj;
17062 wxListEvent *arg1 = (wxListEvent *) 0 ;
17063 int result;
17064 PyObject * obj0 = 0 ;
17065 char *kwnames[] = {
17066 (char *) "self", NULL
17067 };
17068
17069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17071 {
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 result = (int)(arg1)->GetImage();
17074
17075 wxPyEndAllowThreads(__tstate);
17076 if (PyErr_Occurred()) SWIG_fail;
17077 }
17078 resultobj = PyInt_FromLong((long)result);
17079 return resultobj;
17080 fail:
17081 return NULL;
17082}
17083
17084
17085static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17086 PyObject *resultobj;
17087 wxListEvent *arg1 = (wxListEvent *) 0 ;
17088 long result;
17089 PyObject * obj0 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self", NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 result = (long)(arg1)->GetData();
17099
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
17103 resultobj = PyInt_FromLong((long)result);
17104 return resultobj;
17105 fail:
17106 return NULL;
17107}
17108
17109
17110static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17111 PyObject *resultobj;
17112 wxListEvent *arg1 = (wxListEvent *) 0 ;
17113 long result;
17114 PyObject * obj0 = 0 ;
17115 char *kwnames[] = {
17116 (char *) "self", NULL
17117 };
17118
17119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 result = (long)(arg1)->GetMask();
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 resultobj = PyInt_FromLong((long)result);
17129 return resultobj;
17130 fail:
17131 return NULL;
17132}
17133
17134
17135static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj;
17137 wxListEvent *arg1 = (wxListEvent *) 0 ;
17138 wxListItem *result;
17139 PyObject * obj0 = 0 ;
17140 char *kwnames[] = {
17141 (char *) "self", NULL
17142 };
17143
17144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 {
17149 wxListItem const &_result_ref = (arg1)->GetItem();
17150 result = (wxListItem *) &_result_ref;
17151 }
17152
17153 wxPyEndAllowThreads(__tstate);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17157 return resultobj;
17158 fail:
17159 return NULL;
17160}
17161
17162
17163static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17164 PyObject *resultobj;
17165 wxListEvent *arg1 = (wxListEvent *) 0 ;
17166 long result;
17167 PyObject * obj0 = 0 ;
17168 char *kwnames[] = {
17169 (char *) "self", NULL
17170 };
17171
17172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17174 {
17175 PyThreadState* __tstate = wxPyBeginAllowThreads();
17176 result = (long)(arg1)->GetCacheFrom();
17177
17178 wxPyEndAllowThreads(__tstate);
17179 if (PyErr_Occurred()) SWIG_fail;
17180 }
17181 resultobj = PyInt_FromLong((long)result);
17182 return resultobj;
17183 fail:
17184 return NULL;
17185}
17186
17187
17188static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17189 PyObject *resultobj;
17190 wxListEvent *arg1 = (wxListEvent *) 0 ;
17191 long result;
17192 PyObject * obj0 = 0 ;
17193 char *kwnames[] = {
17194 (char *) "self", NULL
17195 };
17196
17197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17199 {
17200 PyThreadState* __tstate = wxPyBeginAllowThreads();
17201 result = (long)(arg1)->GetCacheTo();
17202
17203 wxPyEndAllowThreads(__tstate);
17204 if (PyErr_Occurred()) SWIG_fail;
17205 }
17206 resultobj = PyInt_FromLong((long)result);
17207 return resultobj;
17208 fail:
17209 return NULL;
17210}
17211
17212
17213static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17214 PyObject *resultobj;
17215 wxListEvent *arg1 = (wxListEvent *) 0 ;
17216 bool result;
17217 PyObject * obj0 = 0 ;
17218 char *kwnames[] = {
17219 (char *) "self", NULL
17220 };
17221
17222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17224 {
17225 PyThreadState* __tstate = wxPyBeginAllowThreads();
17226 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17227
17228 wxPyEndAllowThreads(__tstate);
17229 if (PyErr_Occurred()) SWIG_fail;
17230 }
17231 resultobj = PyInt_FromLong((long)result);
17232 return resultobj;
17233 fail:
17234 return NULL;
17235}
17236
17237
17238static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17239 PyObject *resultobj;
17240 wxListEvent *arg1 = (wxListEvent *) 0 ;
17241 bool arg2 ;
17242 PyObject * obj0 = 0 ;
17243 PyObject * obj1 = 0 ;
17244 char *kwnames[] = {
17245 (char *) "self",(char *) "editCancelled", NULL
17246 };
17247
17248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17250 arg2 = PyInt_AsLong(obj1) ? true : false;
17251 if (PyErr_Occurred()) SWIG_fail;
17252 {
17253 PyThreadState* __tstate = wxPyBeginAllowThreads();
17254 (arg1)->SetEditCanceled(arg2);
17255
17256 wxPyEndAllowThreads(__tstate);
17257 if (PyErr_Occurred()) SWIG_fail;
17258 }
17259 Py_INCREF(Py_None); resultobj = Py_None;
17260 return resultobj;
17261 fail:
17262 return NULL;
17263}
17264
17265
17266static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17267 PyObject *obj;
17268 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17269 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17270 Py_INCREF(obj);
17271 return Py_BuildValue((char *)"");
17272}
17273static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17274 PyObject *resultobj;
17275 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 17276 int arg2 = (int) -1 ;
d14a1e28
RD
17277 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17278 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17279 wxSize const &arg4_defvalue = wxDefaultSize ;
17280 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17281 long arg5 = (long) wxLC_ICON ;
17282 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17283 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17284 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17285 wxString *arg7 = (wxString *) &arg7_defvalue ;
17286 wxPyListCtrl *result;
17287 wxPoint temp3 ;
17288 wxSize temp4 ;
e811c8ce 17289 bool temp7 = False ;
d14a1e28
RD
17290 PyObject * obj0 = 0 ;
17291 PyObject * obj2 = 0 ;
17292 PyObject * obj3 = 0 ;
17293 PyObject * obj5 = 0 ;
17294 PyObject * obj6 = 0 ;
17295 char *kwnames[] = {
17296 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17297 };
17298
17299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17301 if (obj2) {
17302 {
17303 arg3 = &temp3;
17304 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17305 }
17306 }
17307 if (obj3) {
17308 {
17309 arg4 = &temp4;
17310 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17311 }
17312 }
17313 if (obj5) {
17314 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17315 if (arg6 == NULL) {
17316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17317 }
17318 }
17319 if (obj6) {
17320 {
17321 arg7 = wxString_in_helper(obj6);
17322 if (arg7 == NULL) SWIG_fail;
e811c8ce 17323 temp7 = True;
d14a1e28
RD
17324 }
17325 }
17326 {
17327 PyThreadState* __tstate = wxPyBeginAllowThreads();
17328 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17329
17330 wxPyEndAllowThreads(__tstate);
17331 if (PyErr_Occurred()) SWIG_fail;
17332 }
17333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17334 {
17335 if (temp7)
17336 delete arg7;
17337 }
17338 return resultobj;
17339 fail:
17340 {
17341 if (temp7)
17342 delete arg7;
17343 }
17344 return NULL;
17345}
17346
17347
17348static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17349 PyObject *resultobj;
17350 wxPyListCtrl *result;
17351 char *kwnames[] = {
17352 NULL
17353 };
17354
17355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17356 {
17357 PyThreadState* __tstate = wxPyBeginAllowThreads();
17358 result = (wxPyListCtrl *)new wxPyListCtrl();
17359
17360 wxPyEndAllowThreads(__tstate);
17361 if (PyErr_Occurred()) SWIG_fail;
17362 }
17363 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17364 return resultobj;
17365 fail:
17366 return NULL;
17367}
17368
17369
17370static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17371 PyObject *resultobj;
17372 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17373 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 17374 int arg3 = (int) -1 ;
d14a1e28
RD
17375 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17376 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17377 wxSize const &arg5_defvalue = wxDefaultSize ;
17378 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17379 long arg6 = (long) wxLC_ICON ;
17380 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17381 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17382 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17383 wxString *arg8 = (wxString *) &arg8_defvalue ;
17384 bool result;
17385 wxPoint temp4 ;
17386 wxSize temp5 ;
e811c8ce 17387 bool temp8 = False ;
d14a1e28
RD
17388 PyObject * obj0 = 0 ;
17389 PyObject * obj1 = 0 ;
17390 PyObject * obj3 = 0 ;
17391 PyObject * obj4 = 0 ;
17392 PyObject * obj6 = 0 ;
17393 PyObject * obj7 = 0 ;
17394 char *kwnames[] = {
17395 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17396 };
17397
17398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17401 if (obj3) {
17402 {
17403 arg4 = &temp4;
17404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17405 }
17406 }
17407 if (obj4) {
17408 {
17409 arg5 = &temp5;
17410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17411 }
17412 }
17413 if (obj6) {
17414 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17415 if (arg7 == NULL) {
17416 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17417 }
17418 }
17419 if (obj7) {
17420 {
17421 arg8 = wxString_in_helper(obj7);
17422 if (arg8 == NULL) SWIG_fail;
e811c8ce 17423 temp8 = True;
d14a1e28
RD
17424 }
17425 }
17426 {
17427 PyThreadState* __tstate = wxPyBeginAllowThreads();
17428 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17429
17430 wxPyEndAllowThreads(__tstate);
17431 if (PyErr_Occurred()) SWIG_fail;
17432 }
17433 resultobj = PyInt_FromLong((long)result);
17434 {
17435 if (temp8)
17436 delete arg8;
17437 }
17438 return resultobj;
17439 fail:
17440 {
17441 if (temp8)
17442 delete arg8;
17443 }
17444 return NULL;
17445}
17446
17447
17448static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17449 PyObject *resultobj;
17450 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17451 PyObject *arg2 = (PyObject *) 0 ;
17452 PyObject *arg3 = (PyObject *) 0 ;
17453 PyObject * obj0 = 0 ;
17454 PyObject * obj1 = 0 ;
17455 PyObject * obj2 = 0 ;
17456 char *kwnames[] = {
17457 (char *) "self",(char *) "self",(char *) "_class", NULL
17458 };
17459
17460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17462 arg2 = obj1;
17463 arg3 = obj2;
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 (arg1)->_setCallbackInfo(arg2,arg3);
17467
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 Py_INCREF(Py_None); resultobj = Py_None;
17472 return resultobj;
17473 fail:
17474 return NULL;
17475}
17476
17477
17478static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17479 PyObject *resultobj;
17480 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17481 wxColour *arg2 = 0 ;
17482 bool result;
17483 wxColour temp2 ;
17484 PyObject * obj0 = 0 ;
17485 PyObject * obj1 = 0 ;
17486 char *kwnames[] = {
17487 (char *) "self",(char *) "col", NULL
17488 };
17489
17490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17492 {
17493 arg2 = &temp2;
17494 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17495 }
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17499
17500 wxPyEndAllowThreads(__tstate);
17501 if (PyErr_Occurred()) SWIG_fail;
17502 }
17503 resultobj = PyInt_FromLong((long)result);
17504 return resultobj;
17505 fail:
17506 return NULL;
17507}
17508
17509
17510static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17511 PyObject *resultobj;
17512 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17513 wxColour *arg2 = 0 ;
17514 bool result;
17515 wxColour temp2 ;
17516 PyObject * obj0 = 0 ;
17517 PyObject * obj1 = 0 ;
17518 char *kwnames[] = {
17519 (char *) "self",(char *) "col", NULL
17520 };
17521
17522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17524 {
17525 arg2 = &temp2;
17526 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17527 }
17528 {
17529 PyThreadState* __tstate = wxPyBeginAllowThreads();
17530 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17531
17532 wxPyEndAllowThreads(__tstate);
17533 if (PyErr_Occurred()) SWIG_fail;
17534 }
17535 resultobj = PyInt_FromLong((long)result);
17536 return resultobj;
17537 fail:
17538 return NULL;
17539}
17540
17541
17542static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17543 PyObject *resultobj;
17544 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17545 int arg2 ;
17546 wxListItem *result;
17547 PyObject * obj0 = 0 ;
17548 char *kwnames[] = {
17549 (char *) "self",(char *) "col", NULL
17550 };
17551
17552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17554 {
17555 PyThreadState* __tstate = wxPyBeginAllowThreads();
17556 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17557
17558 wxPyEndAllowThreads(__tstate);
17559 if (PyErr_Occurred()) SWIG_fail;
17560 }
17561 {
17562 resultobj = wxPyMake_wxObject(result);
17563 }
17564 return resultobj;
17565 fail:
17566 return NULL;
17567}
17568
17569
17570static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17571 PyObject *resultobj;
17572 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17573 int arg2 ;
17574 wxListItem *arg3 = 0 ;
17575 bool result;
17576 PyObject * obj0 = 0 ;
17577 PyObject * obj2 = 0 ;
17578 char *kwnames[] = {
17579 (char *) "self",(char *) "col",(char *) "item", NULL
17580 };
17581
17582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17584 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17585 if (arg3 == NULL) {
17586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17587 }
17588 {
17589 PyThreadState* __tstate = wxPyBeginAllowThreads();
17590 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17591
17592 wxPyEndAllowThreads(__tstate);
17593 if (PyErr_Occurred()) SWIG_fail;
17594 }
17595 resultobj = PyInt_FromLong((long)result);
17596 return resultobj;
17597 fail:
17598 return NULL;
17599}
17600
17601
17602static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17603 PyObject *resultobj;
17604 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17605 int arg2 ;
17606 int result;
17607 PyObject * obj0 = 0 ;
17608 char *kwnames[] = {
17609 (char *) "self",(char *) "col", NULL
17610 };
17611
17612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17614 {
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17617
17618 wxPyEndAllowThreads(__tstate);
17619 if (PyErr_Occurred()) SWIG_fail;
17620 }
17621 resultobj = PyInt_FromLong((long)result);
17622 return resultobj;
17623 fail:
17624 return NULL;
17625}
17626
17627
17628static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17629 PyObject *resultobj;
17630 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17631 int arg2 ;
17632 int arg3 ;
17633 bool result;
17634 PyObject * obj0 = 0 ;
17635 char *kwnames[] = {
17636 (char *) "self",(char *) "col",(char *) "width", NULL
17637 };
17638
17639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17641 {
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17644
17645 wxPyEndAllowThreads(__tstate);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 }
17648 resultobj = PyInt_FromLong((long)result);
17649 return resultobj;
17650 fail:
17651 return NULL;
17652}
17653
17654
17655static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17656 PyObject *resultobj;
17657 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17658 int result;
17659 PyObject * obj0 = 0 ;
17660 char *kwnames[] = {
17661 (char *) "self", NULL
17662 };
17663
17664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17666 {
17667 PyThreadState* __tstate = wxPyBeginAllowThreads();
17668 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17669
17670 wxPyEndAllowThreads(__tstate);
17671 if (PyErr_Occurred()) SWIG_fail;
17672 }
17673 resultobj = PyInt_FromLong((long)result);
17674 return resultobj;
17675 fail:
17676 return NULL;
17677}
17678
17679
17680static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17681 PyObject *resultobj;
17682 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17683 wxRect result;
17684 PyObject * obj0 = 0 ;
17685 char *kwnames[] = {
17686 (char *) "self", NULL
17687 };
17688
17689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17691 {
17692 PyThreadState* __tstate = wxPyBeginAllowThreads();
17693 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17694
17695 wxPyEndAllowThreads(__tstate);
17696 if (PyErr_Occurred()) SWIG_fail;
17697 }
17698 {
17699 wxRect * resultptr;
17700 resultptr = new wxRect((wxRect &) result);
17701 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17702 }
17703 return resultobj;
17704 fail:
17705 return NULL;
17706}
17707
17708
17709static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17710 PyObject *resultobj;
17711 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17712 long arg2 ;
17713 int arg3 = (int) 0 ;
17714 wxListItem *result;
17715 PyObject * obj0 = 0 ;
17716 char *kwnames[] = {
17717 (char *) "self",(char *) "itemId",(char *) "col", NULL
17718 };
17719
17720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17722 {
17723 PyThreadState* __tstate = wxPyBeginAllowThreads();
17724 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17725
17726 wxPyEndAllowThreads(__tstate);
17727 if (PyErr_Occurred()) SWIG_fail;
17728 }
17729 {
17730 resultobj = wxPyMake_wxObject(result);
17731 }
17732 return resultobj;
17733 fail:
17734 return NULL;
17735}
17736
17737
17738static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17739 PyObject *resultobj;
17740 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17741 wxListItem *arg2 = 0 ;
17742 bool result;
17743 PyObject * obj0 = 0 ;
17744 PyObject * obj1 = 0 ;
17745 char *kwnames[] = {
17746 (char *) "self",(char *) "info", NULL
17747 };
17748
17749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17752 if (arg2 == NULL) {
17753 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17754 }
17755 {
17756 PyThreadState* __tstate = wxPyBeginAllowThreads();
17757 result = (bool)(arg1)->SetItem(*arg2);
17758
17759 wxPyEndAllowThreads(__tstate);
17760 if (PyErr_Occurred()) SWIG_fail;
17761 }
17762 resultobj = PyInt_FromLong((long)result);
17763 return resultobj;
17764 fail:
17765 return NULL;
17766}
17767
17768
17769static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17770 PyObject *resultobj;
17771 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17772 long arg2 ;
17773 int arg3 ;
17774 wxString *arg4 = 0 ;
17775 int arg5 = (int) -1 ;
17776 long result;
e811c8ce 17777 bool temp4 = False ;
d14a1e28
RD
17778 PyObject * obj0 = 0 ;
17779 PyObject * obj3 = 0 ;
17780 char *kwnames[] = {
17781 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17782 };
17783
17784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17786 {
17787 arg4 = wxString_in_helper(obj3);
17788 if (arg4 == NULL) SWIG_fail;
e811c8ce 17789 temp4 = True;
d14a1e28
RD
17790 }
17791 {
17792 PyThreadState* __tstate = wxPyBeginAllowThreads();
17793 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17794
17795 wxPyEndAllowThreads(__tstate);
17796 if (PyErr_Occurred()) SWIG_fail;
17797 }
17798 resultobj = PyInt_FromLong((long)result);
17799 {
17800 if (temp4)
17801 delete arg4;
17802 }
17803 return resultobj;
17804 fail:
17805 {
17806 if (temp4)
17807 delete arg4;
17808 }
17809 return NULL;
17810}
17811
17812
17813static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17814 PyObject *resultobj;
17815 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17816 long arg2 ;
17817 long arg3 ;
17818 int result;
17819 PyObject * obj0 = 0 ;
17820 char *kwnames[] = {
17821 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17822 };
17823
17824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17826 {
17827 PyThreadState* __tstate = wxPyBeginAllowThreads();
17828 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17829
17830 wxPyEndAllowThreads(__tstate);
17831 if (PyErr_Occurred()) SWIG_fail;
17832 }
17833 resultobj = PyInt_FromLong((long)result);
17834 return resultobj;
17835 fail:
17836 return NULL;
17837}
17838
17839
17840static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17841 PyObject *resultobj;
17842 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17843 long arg2 ;
17844 long arg3 ;
17845 long arg4 ;
17846 bool result;
17847 PyObject * obj0 = 0 ;
17848 char *kwnames[] = {
17849 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17850 };
17851
17852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17854 {
17855 PyThreadState* __tstate = wxPyBeginAllowThreads();
17856 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
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_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17869 PyObject *resultobj;
17870 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17871 long arg2 ;
17872 int arg3 ;
17873 int arg4 ;
17874 bool result;
17875 PyObject * obj0 = 0 ;
17876 char *kwnames[] = {
17877 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17878 };
17879
17880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17882 {
17883 PyThreadState* __tstate = wxPyBeginAllowThreads();
17884 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17885
17886 wxPyEndAllowThreads(__tstate);
17887 if (PyErr_Occurred()) SWIG_fail;
17888 }
17889 resultobj = PyInt_FromLong((long)result);
17890 return resultobj;
17891 fail:
17892 return NULL;
17893}
17894
17895
17896static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17897 PyObject *resultobj;
17898 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17899 long arg2 ;
17900 wxString result;
17901 PyObject * obj0 = 0 ;
17902 char *kwnames[] = {
17903 (char *) "self",(char *) "item", NULL
17904 };
17905
17906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17908 {
17909 PyThreadState* __tstate = wxPyBeginAllowThreads();
17910 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17911
17912 wxPyEndAllowThreads(__tstate);
17913 if (PyErr_Occurred()) SWIG_fail;
17914 }
17915 {
17916#if wxUSE_UNICODE
17917 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17918#else
17919 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17920#endif
17921 }
17922 return resultobj;
17923 fail:
17924 return NULL;
17925}
17926
17927
17928static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17929 PyObject *resultobj;
17930 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17931 long arg2 ;
17932 wxString *arg3 = 0 ;
e811c8ce 17933 bool temp3 = False ;
d14a1e28
RD
17934 PyObject * obj0 = 0 ;
17935 PyObject * obj2 = 0 ;
17936 char *kwnames[] = {
17937 (char *) "self",(char *) "item",(char *) "str", NULL
17938 };
17939
17940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
17941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17942 {
17943 arg3 = wxString_in_helper(obj2);
17944 if (arg3 == NULL) SWIG_fail;
e811c8ce 17945 temp3 = True;
d14a1e28
RD
17946 }
17947 {
17948 PyThreadState* __tstate = wxPyBeginAllowThreads();
17949 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
17950
17951 wxPyEndAllowThreads(__tstate);
17952 if (PyErr_Occurred()) SWIG_fail;
17953 }
17954 Py_INCREF(Py_None); resultobj = Py_None;
17955 {
17956 if (temp3)
17957 delete arg3;
17958 }
17959 return resultobj;
17960 fail:
17961 {
17962 if (temp3)
17963 delete arg3;
17964 }
17965 return NULL;
17966}
17967
17968
17969static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17970 PyObject *resultobj;
17971 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17972 long arg2 ;
17973 long result;
17974 PyObject * obj0 = 0 ;
17975 char *kwnames[] = {
17976 (char *) "self",(char *) "item", NULL
17977 };
17978
17979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
17980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17981 {
17982 PyThreadState* __tstate = wxPyBeginAllowThreads();
17983 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
17984
17985 wxPyEndAllowThreads(__tstate);
17986 if (PyErr_Occurred()) SWIG_fail;
17987 }
17988 resultobj = PyInt_FromLong((long)result);
17989 return resultobj;
17990 fail:
17991 return NULL;
17992}
17993
17994
17995static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17996 PyObject *resultobj;
17997 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17998 long arg2 ;
17999 long arg3 ;
18000 bool result;
18001 PyObject * obj0 = 0 ;
18002 char *kwnames[] = {
18003 (char *) "self",(char *) "item",(char *) "data", NULL
18004 };
18005
18006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18008 {
18009 PyThreadState* __tstate = wxPyBeginAllowThreads();
18010 result = (bool)(arg1)->SetItemData(arg2,arg3);
18011
18012 wxPyEndAllowThreads(__tstate);
18013 if (PyErr_Occurred()) SWIG_fail;
18014 }
18015 resultobj = PyInt_FromLong((long)result);
18016 return resultobj;
18017 fail:
18018 return NULL;
18019}
18020
18021
18022static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18023 PyObject *resultobj;
18024 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18025 long arg2 ;
18026 wxPoint result;
18027 PyObject * obj0 = 0 ;
18028 char *kwnames[] = {
18029 (char *) "self",(char *) "item", NULL
18030 };
18031
18032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18034 {
18035 PyThreadState* __tstate = wxPyBeginAllowThreads();
18036 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18037
18038 wxPyEndAllowThreads(__tstate);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 }
18041 {
18042 wxPoint * resultptr;
18043 resultptr = new wxPoint((wxPoint &) result);
18044 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18045 }
18046 return resultobj;
18047 fail:
18048 return NULL;
18049}
18050
18051
18052static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18053 PyObject *resultobj;
18054 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18055 long arg2 ;
18056 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18057 wxRect result;
18058 PyObject * obj0 = 0 ;
18059 char *kwnames[] = {
18060 (char *) "self",(char *) "item",(char *) "code", NULL
18061 };
18062
18063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18065 {
18066 PyThreadState* __tstate = wxPyBeginAllowThreads();
18067 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18068
18069 wxPyEndAllowThreads(__tstate);
18070 if (PyErr_Occurred()) SWIG_fail;
18071 }
18072 {
18073 wxRect * resultptr;
18074 resultptr = new wxRect((wxRect &) result);
18075 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18076 }
18077 return resultobj;
18078 fail:
18079 return NULL;
18080}
18081
18082
18083static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18084 PyObject *resultobj;
18085 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18086 long arg2 ;
18087 wxPoint *arg3 = 0 ;
18088 bool result;
18089 wxPoint temp3 ;
18090 PyObject * obj0 = 0 ;
18091 PyObject * obj2 = 0 ;
18092 char *kwnames[] = {
18093 (char *) "self",(char *) "item",(char *) "pos", NULL
18094 };
18095
18096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18098 {
18099 arg3 = &temp3;
18100 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18101 }
18102 {
18103 PyThreadState* __tstate = wxPyBeginAllowThreads();
18104 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18105
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
18109 resultobj = PyInt_FromLong((long)result);
18110 return resultobj;
18111 fail:
18112 return NULL;
18113}
18114
18115
18116static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18117 PyObject *resultobj;
18118 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18119 int result;
18120 PyObject * obj0 = 0 ;
18121 char *kwnames[] = {
18122 (char *) "self", NULL
18123 };
18124
18125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18127 {
18128 PyThreadState* __tstate = wxPyBeginAllowThreads();
18129 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18130
18131 wxPyEndAllowThreads(__tstate);
18132 if (PyErr_Occurred()) SWIG_fail;
18133 }
18134 resultobj = PyInt_FromLong((long)result);
18135 return resultobj;
18136 fail:
18137 return NULL;
18138}
18139
18140
18141static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18142 PyObject *resultobj;
18143 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18144 int result;
18145 PyObject * obj0 = 0 ;
18146 char *kwnames[] = {
18147 (char *) "self", NULL
18148 };
18149
18150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18152 {
18153 PyThreadState* __tstate = wxPyBeginAllowThreads();
18154 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18155
18156 wxPyEndAllowThreads(__tstate);
18157 if (PyErr_Occurred()) SWIG_fail;
18158 }
18159 resultobj = PyInt_FromLong((long)result);
18160 return resultobj;
18161 fail:
18162 return NULL;
18163}
18164
18165
18166static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18167 PyObject *resultobj;
18168 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18169 wxSize result;
18170 PyObject * obj0 = 0 ;
18171 char *kwnames[] = {
18172 (char *) "self", NULL
18173 };
18174
18175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18177 {
18178 PyThreadState* __tstate = wxPyBeginAllowThreads();
18179 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18180
18181 wxPyEndAllowThreads(__tstate);
18182 if (PyErr_Occurred()) SWIG_fail;
18183 }
18184 {
18185 wxSize * resultptr;
18186 resultptr = new wxSize((wxSize &) result);
18187 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18188 }
18189 return resultobj;
18190 fail:
18191 return NULL;
18192}
18193
18194
18195static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18196 PyObject *resultobj;
18197 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18198 int arg2 ;
e811c8ce 18199 bool arg3 = (bool) False ;
d14a1e28
RD
18200 PyObject * obj0 = 0 ;
18201 PyObject * obj2 = 0 ;
18202 char *kwnames[] = {
18203 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18204 };
18205
18206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
18207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18208 if (obj2) {
18209 arg3 = PyInt_AsLong(obj2) ? true : false;
18210 if (PyErr_Occurred()) SWIG_fail;
18211 }
18212 {
18213 PyThreadState* __tstate = wxPyBeginAllowThreads();
18214 (arg1)->SetItemSpacing(arg2,arg3);
18215
18216 wxPyEndAllowThreads(__tstate);
18217 if (PyErr_Occurred()) SWIG_fail;
18218 }
18219 Py_INCREF(Py_None); resultobj = Py_None;
18220 return resultobj;
18221 fail:
18222 return NULL;
18223}
18224
18225
18226static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18227 PyObject *resultobj;
18228 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18229 int result;
18230 PyObject * obj0 = 0 ;
18231 char *kwnames[] = {
18232 (char *) "self", NULL
18233 };
18234
18235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18237 {
18238 PyThreadState* __tstate = wxPyBeginAllowThreads();
18239 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18240
18241 wxPyEndAllowThreads(__tstate);
18242 if (PyErr_Occurred()) SWIG_fail;
18243 }
18244 resultobj = PyInt_FromLong((long)result);
18245 return resultobj;
18246 fail:
18247 return NULL;
18248}
18249
18250
18251static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18252 PyObject *resultobj;
18253 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18254 wxColour result;
18255 PyObject * obj0 = 0 ;
18256 char *kwnames[] = {
18257 (char *) "self", NULL
18258 };
18259
18260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18262 {
18263 PyThreadState* __tstate = wxPyBeginAllowThreads();
18264 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18265
18266 wxPyEndAllowThreads(__tstate);
18267 if (PyErr_Occurred()) SWIG_fail;
18268 }
18269 {
18270 wxColour * resultptr;
18271 resultptr = new wxColour((wxColour &) result);
18272 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18273 }
18274 return resultobj;
18275 fail:
18276 return NULL;
18277}
18278
18279
18280static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18281 PyObject *resultobj;
18282 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18283 wxColour *arg2 = 0 ;
18284 wxColour temp2 ;
18285 PyObject * obj0 = 0 ;
18286 PyObject * obj1 = 0 ;
18287 char *kwnames[] = {
18288 (char *) "self",(char *) "col", NULL
18289 };
18290
18291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18293 {
18294 arg2 = &temp2;
18295 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18296 }
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 (arg1)->SetTextColour((wxColour const &)*arg2);
18300
18301 wxPyEndAllowThreads(__tstate);
18302 if (PyErr_Occurred()) SWIG_fail;
18303 }
18304 Py_INCREF(Py_None); resultobj = Py_None;
18305 return resultobj;
18306 fail:
18307 return NULL;
18308}
18309
18310
18311static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18312 PyObject *resultobj;
18313 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18314 long result;
18315 PyObject * obj0 = 0 ;
18316 char *kwnames[] = {
18317 (char *) "self", NULL
18318 };
18319
18320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18322 {
18323 PyThreadState* __tstate = wxPyBeginAllowThreads();
18324 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18325
18326 wxPyEndAllowThreads(__tstate);
18327 if (PyErr_Occurred()) SWIG_fail;
18328 }
18329 resultobj = PyInt_FromLong((long)result);
18330 return resultobj;
18331 fail:
18332 return NULL;
18333}
18334
18335
18336static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18337 PyObject *resultobj;
18338 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18339 long arg2 ;
e811c8ce 18340 bool arg3 = (bool) True ;
d14a1e28
RD
18341 PyObject * obj0 = 0 ;
18342 PyObject * obj2 = 0 ;
18343 char *kwnames[] = {
18344 (char *) "self",(char *) "style",(char *) "add", NULL
18345 };
18346
18347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18349 if (obj2) {
18350 arg3 = PyInt_AsLong(obj2) ? true : false;
18351 if (PyErr_Occurred()) SWIG_fail;
18352 }
18353 {
18354 PyThreadState* __tstate = wxPyBeginAllowThreads();
18355 (arg1)->SetSingleStyle(arg2,arg3);
18356
18357 wxPyEndAllowThreads(__tstate);
18358 if (PyErr_Occurred()) SWIG_fail;
18359 }
18360 Py_INCREF(Py_None); resultobj = Py_None;
18361 return resultobj;
18362 fail:
18363 return NULL;
18364}
18365
18366
18367static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18368 PyObject *resultobj;
18369 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18370 long arg2 ;
18371 PyObject * obj0 = 0 ;
18372 char *kwnames[] = {
18373 (char *) "self",(char *) "style", NULL
18374 };
18375
18376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18378 {
18379 PyThreadState* __tstate = wxPyBeginAllowThreads();
18380 (arg1)->SetWindowStyleFlag(arg2);
18381
18382 wxPyEndAllowThreads(__tstate);
18383 if (PyErr_Occurred()) SWIG_fail;
18384 }
18385 Py_INCREF(Py_None); resultobj = Py_None;
18386 return resultobj;
18387 fail:
18388 return NULL;
18389}
18390
18391
18392static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18393 PyObject *resultobj;
18394 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18395 long arg2 ;
18396 int arg3 = (int) wxLIST_NEXT_ALL ;
18397 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18398 long result;
18399 PyObject * obj0 = 0 ;
18400 char *kwnames[] = {
18401 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18402 };
18403
18404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18406 {
18407 PyThreadState* __tstate = wxPyBeginAllowThreads();
18408 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18409
18410 wxPyEndAllowThreads(__tstate);
18411 if (PyErr_Occurred()) SWIG_fail;
18412 }
18413 resultobj = PyInt_FromLong((long)result);
18414 return resultobj;
18415 fail:
18416 return NULL;
18417}
18418
18419
18420static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18421 PyObject *resultobj;
18422 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18423 int arg2 ;
18424 wxImageList *result;
18425 PyObject * obj0 = 0 ;
18426 char *kwnames[] = {
18427 (char *) "self",(char *) "which", NULL
18428 };
18429
18430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18432 {
18433 PyThreadState* __tstate = wxPyBeginAllowThreads();
18434 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18435
18436 wxPyEndAllowThreads(__tstate);
18437 if (PyErr_Occurred()) SWIG_fail;
18438 }
18439 {
18440 resultobj = wxPyMake_wxObject(result);
18441 }
18442 return resultobj;
18443 fail:
18444 return NULL;
18445}
18446
18447
18448static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18449 PyObject *resultobj;
18450 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18451 wxImageList *arg2 = (wxImageList *) 0 ;
18452 int arg3 ;
18453 PyObject * obj0 = 0 ;
18454 PyObject * obj1 = 0 ;
18455 char *kwnames[] = {
18456 (char *) "self",(char *) "imageList",(char *) "which", NULL
18457 };
18458
18459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18462 {
18463 PyThreadState* __tstate = wxPyBeginAllowThreads();
18464 (arg1)->SetImageList(arg2,arg3);
18465
18466 wxPyEndAllowThreads(__tstate);
18467 if (PyErr_Occurred()) SWIG_fail;
18468 }
18469 Py_INCREF(Py_None); resultobj = Py_None;
18470 return resultobj;
18471 fail:
18472 return NULL;
18473}
18474
18475
18476static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18477 PyObject *resultobj;
18478 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18479 wxImageList *arg2 = (wxImageList *) 0 ;
18480 int arg3 ;
18481 PyObject * obj0 = 0 ;
18482 PyObject * obj1 = 0 ;
18483 char *kwnames[] = {
18484 (char *) "self",(char *) "imageList",(char *) "which", NULL
18485 };
18486
18487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18489 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18490 {
18491 PyThreadState* __tstate = wxPyBeginAllowThreads();
18492 (arg1)->AssignImageList(arg2,arg3);
18493
18494 wxPyEndAllowThreads(__tstate);
18495 if (PyErr_Occurred()) SWIG_fail;
18496 }
18497 Py_INCREF(Py_None); resultobj = Py_None;
18498 return resultobj;
18499 fail:
18500 return NULL;
18501}
18502
18503
18504static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18505 PyObject *resultobj;
18506 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18507 bool result;
18508 PyObject * obj0 = 0 ;
18509 char *kwnames[] = {
18510 (char *) "self", NULL
18511 };
18512
18513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18515 {
18516 PyThreadState* __tstate = wxPyBeginAllowThreads();
18517 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18518
18519 wxPyEndAllowThreads(__tstate);
18520 if (PyErr_Occurred()) SWIG_fail;
18521 }
18522 resultobj = PyInt_FromLong((long)result);
18523 return resultobj;
18524 fail:
18525 return NULL;
18526}
18527
18528
18529static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18530 PyObject *resultobj;
18531 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18532 long arg2 ;
18533 PyObject * obj0 = 0 ;
18534 char *kwnames[] = {
18535 (char *) "self",(char *) "item", NULL
18536 };
18537
18538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18540 {
18541 PyThreadState* __tstate = wxPyBeginAllowThreads();
18542 (arg1)->RefreshItem(arg2);
18543
18544 wxPyEndAllowThreads(__tstate);
18545 if (PyErr_Occurred()) SWIG_fail;
18546 }
18547 Py_INCREF(Py_None); resultobj = Py_None;
18548 return resultobj;
18549 fail:
18550 return NULL;
18551}
18552
18553
18554static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18555 PyObject *resultobj;
18556 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18557 long arg2 ;
18558 long arg3 ;
18559 PyObject * obj0 = 0 ;
18560 char *kwnames[] = {
18561 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18562 };
18563
18564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18566 {
18567 PyThreadState* __tstate = wxPyBeginAllowThreads();
18568 (arg1)->RefreshItems(arg2,arg3);
18569
18570 wxPyEndAllowThreads(__tstate);
18571 if (PyErr_Occurred()) SWIG_fail;
18572 }
18573 Py_INCREF(Py_None); resultobj = Py_None;
18574 return resultobj;
18575 fail:
18576 return NULL;
18577}
18578
18579
18580static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18581 PyObject *resultobj;
18582 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18583 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18584 bool result;
18585 PyObject * obj0 = 0 ;
18586 char *kwnames[] = {
18587 (char *) "self",(char *) "flag", NULL
18588 };
18589
18590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18592 {
18593 PyThreadState* __tstate = wxPyBeginAllowThreads();
18594 result = (bool)(arg1)->Arrange(arg2);
18595
18596 wxPyEndAllowThreads(__tstate);
18597 if (PyErr_Occurred()) SWIG_fail;
18598 }
18599 resultobj = PyInt_FromLong((long)result);
18600 return resultobj;
18601 fail:
18602 return NULL;
18603}
18604
18605
18606static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18607 PyObject *resultobj;
18608 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18609 long arg2 ;
18610 bool result;
18611 PyObject * obj0 = 0 ;
18612 char *kwnames[] = {
18613 (char *) "self",(char *) "item", NULL
18614 };
18615
18616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18618 {
18619 PyThreadState* __tstate = wxPyBeginAllowThreads();
18620 result = (bool)(arg1)->DeleteItem(arg2);
18621
18622 wxPyEndAllowThreads(__tstate);
18623 if (PyErr_Occurred()) SWIG_fail;
18624 }
18625 resultobj = PyInt_FromLong((long)result);
18626 return resultobj;
18627 fail:
18628 return NULL;
18629}
18630
18631
18632static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18633 PyObject *resultobj;
18634 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18635 bool result;
18636 PyObject * obj0 = 0 ;
18637 char *kwnames[] = {
18638 (char *) "self", NULL
18639 };
18640
18641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18643 {
18644 PyThreadState* __tstate = wxPyBeginAllowThreads();
18645 result = (bool)(arg1)->DeleteAllItems();
18646
18647 wxPyEndAllowThreads(__tstate);
18648 if (PyErr_Occurred()) SWIG_fail;
18649 }
18650 resultobj = PyInt_FromLong((long)result);
18651 return resultobj;
18652 fail:
18653 return NULL;
18654}
18655
18656
18657static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18658 PyObject *resultobj;
18659 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18660 int arg2 ;
18661 bool result;
18662 PyObject * obj0 = 0 ;
18663 char *kwnames[] = {
18664 (char *) "self",(char *) "col", NULL
18665 };
18666
18667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18669 {
18670 PyThreadState* __tstate = wxPyBeginAllowThreads();
18671 result = (bool)(arg1)->DeleteColumn(arg2);
18672
18673 wxPyEndAllowThreads(__tstate);
18674 if (PyErr_Occurred()) SWIG_fail;
18675 }
18676 resultobj = PyInt_FromLong((long)result);
18677 return resultobj;
18678 fail:
18679 return NULL;
18680}
18681
18682
18683static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18684 PyObject *resultobj;
18685 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18686 bool result;
18687 PyObject * obj0 = 0 ;
18688 char *kwnames[] = {
18689 (char *) "self", NULL
18690 };
18691
18692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18694 {
18695 PyThreadState* __tstate = wxPyBeginAllowThreads();
18696 result = (bool)(arg1)->DeleteAllColumns();
18697
18698 wxPyEndAllowThreads(__tstate);
18699 if (PyErr_Occurred()) SWIG_fail;
18700 }
18701 resultobj = PyInt_FromLong((long)result);
18702 return resultobj;
18703 fail:
18704 return NULL;
18705}
18706
18707
18708static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18709 PyObject *resultobj;
18710 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18711 PyObject * obj0 = 0 ;
18712 char *kwnames[] = {
18713 (char *) "self", NULL
18714 };
18715
18716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18718 {
18719 PyThreadState* __tstate = wxPyBeginAllowThreads();
18720 (arg1)->ClearAll();
18721
18722 wxPyEndAllowThreads(__tstate);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 }
18725 Py_INCREF(Py_None); resultobj = Py_None;
18726 return resultobj;
18727 fail:
18728 return NULL;
18729}
18730
18731
18732static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj;
18734 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18735 long arg2 ;
18736 PyObject * obj0 = 0 ;
18737 char *kwnames[] = {
18738 (char *) "self",(char *) "item", NULL
18739 };
18740
18741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 (arg1)->EditLabel(arg2);
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 Py_INCREF(Py_None); resultobj = Py_None;
18751 return resultobj;
18752 fail:
18753 return NULL;
18754}
18755
18756
18757static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18758 PyObject *resultobj;
18759 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18760 long arg2 ;
18761 bool result;
18762 PyObject * obj0 = 0 ;
18763 char *kwnames[] = {
18764 (char *) "self",(char *) "item", NULL
18765 };
18766
18767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18769 {
18770 PyThreadState* __tstate = wxPyBeginAllowThreads();
18771 result = (bool)(arg1)->EnsureVisible(arg2);
18772
18773 wxPyEndAllowThreads(__tstate);
18774 if (PyErr_Occurred()) SWIG_fail;
18775 }
18776 resultobj = PyInt_FromLong((long)result);
18777 return resultobj;
18778 fail:
18779 return NULL;
18780}
18781
18782
18783static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18784 PyObject *resultobj;
18785 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18786 long arg2 ;
18787 wxString *arg3 = 0 ;
e811c8ce 18788 bool arg4 = (bool) False ;
d14a1e28 18789 long result;
e811c8ce 18790 bool temp3 = False ;
d14a1e28
RD
18791 PyObject * obj0 = 0 ;
18792 PyObject * obj2 = 0 ;
18793 PyObject * obj3 = 0 ;
18794 char *kwnames[] = {
18795 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18796 };
18797
18798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18800 {
18801 arg3 = wxString_in_helper(obj2);
18802 if (arg3 == NULL) SWIG_fail;
e811c8ce 18803 temp3 = True;
d14a1e28
RD
18804 }
18805 if (obj3) {
18806 arg4 = PyInt_AsLong(obj3) ? true : false;
18807 if (PyErr_Occurred()) SWIG_fail;
18808 }
18809 {
18810 PyThreadState* __tstate = wxPyBeginAllowThreads();
18811 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18812
18813 wxPyEndAllowThreads(__tstate);
18814 if (PyErr_Occurred()) SWIG_fail;
18815 }
18816 resultobj = PyInt_FromLong((long)result);
18817 {
18818 if (temp3)
18819 delete arg3;
18820 }
18821 return resultobj;
18822 fail:
18823 {
18824 if (temp3)
18825 delete arg3;
18826 }
18827 return NULL;
18828}
18829
18830
18831static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18832 PyObject *resultobj;
18833 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18834 long arg2 ;
18835 long arg3 ;
18836 long result;
18837 PyObject * obj0 = 0 ;
18838 char *kwnames[] = {
18839 (char *) "self",(char *) "start",(char *) "data", NULL
18840 };
18841
18842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18844 {
18845 PyThreadState* __tstate = wxPyBeginAllowThreads();
18846 result = (long)(arg1)->FindItem(arg2,arg3);
18847
18848 wxPyEndAllowThreads(__tstate);
18849 if (PyErr_Occurred()) SWIG_fail;
18850 }
18851 resultobj = PyInt_FromLong((long)result);
18852 return resultobj;
18853 fail:
18854 return NULL;
18855}
18856
18857
18858static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18859 PyObject *resultobj;
18860 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18861 long arg2 ;
18862 wxPoint *arg3 = 0 ;
18863 int arg4 ;
18864 long result;
18865 wxPoint temp3 ;
18866 PyObject * obj0 = 0 ;
18867 PyObject * obj2 = 0 ;
18868 char *kwnames[] = {
18869 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18870 };
18871
18872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18874 {
18875 arg3 = &temp3;
18876 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18877 }
18878 {
18879 PyThreadState* __tstate = wxPyBeginAllowThreads();
18880 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18881
18882 wxPyEndAllowThreads(__tstate);
18883 if (PyErr_Occurred()) SWIG_fail;
18884 }
18885 resultobj = PyInt_FromLong((long)result);
18886 return resultobj;
18887 fail:
18888 return NULL;
18889}
18890
18891
18892static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18893 PyObject *resultobj;
18894 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18895 wxPoint *arg2 = 0 ;
18896 int *arg3 = 0 ;
18897 long result;
18898 wxPoint temp2 ;
18899 int temp3 ;
18900 PyObject * obj0 = 0 ;
18901 PyObject * obj1 = 0 ;
18902 char *kwnames[] = {
18903 (char *) "self",(char *) "point", NULL
18904 };
18905
18906 arg3 = &temp3;
18907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18909 {
18910 arg2 = &temp2;
18911 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18912 }
18913 {
18914 PyThreadState* __tstate = wxPyBeginAllowThreads();
18915 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18916
18917 wxPyEndAllowThreads(__tstate);
18918 if (PyErr_Occurred()) SWIG_fail;
18919 }
18920 resultobj = PyInt_FromLong((long)result);
18921 {
18922 PyObject *o = PyInt_FromLong((long) (*arg3));
18923 resultobj = t_output_helper(resultobj,o);
18924 }
18925 return resultobj;
18926 fail:
18927 return NULL;
18928}
18929
18930
18931static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18932 PyObject *resultobj;
18933 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18934 wxListItem *arg2 = 0 ;
18935 long result;
18936 PyObject * obj0 = 0 ;
18937 PyObject * obj1 = 0 ;
18938 char *kwnames[] = {
18939 (char *) "self",(char *) "info", NULL
18940 };
18941
18942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
18943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18945 if (arg2 == NULL) {
18946 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18947 }
18948 {
18949 PyThreadState* __tstate = wxPyBeginAllowThreads();
18950 result = (long)(arg1)->InsertItem(*arg2);
18951
18952 wxPyEndAllowThreads(__tstate);
18953 if (PyErr_Occurred()) SWIG_fail;
18954 }
18955 resultobj = PyInt_FromLong((long)result);
18956 return resultobj;
18957 fail:
18958 return NULL;
18959}
18960
18961
18962static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18963 PyObject *resultobj;
18964 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18965 long arg2 ;
18966 wxString *arg3 = 0 ;
18967 long result;
e811c8ce 18968 bool temp3 = False ;
d14a1e28
RD
18969 PyObject * obj0 = 0 ;
18970 PyObject * obj2 = 0 ;
18971 char *kwnames[] = {
18972 (char *) "self",(char *) "index",(char *) "label", NULL
18973 };
18974
18975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
18976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18977 {
18978 arg3 = wxString_in_helper(obj2);
18979 if (arg3 == NULL) SWIG_fail;
e811c8ce 18980 temp3 = True;
d14a1e28
RD
18981 }
18982 {
18983 PyThreadState* __tstate = wxPyBeginAllowThreads();
18984 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
18985
18986 wxPyEndAllowThreads(__tstate);
18987 if (PyErr_Occurred()) SWIG_fail;
18988 }
18989 resultobj = PyInt_FromLong((long)result);
18990 {
18991 if (temp3)
18992 delete arg3;
18993 }
18994 return resultobj;
18995 fail:
18996 {
18997 if (temp3)
18998 delete arg3;
18999 }
19000 return NULL;
19001}
19002
19003
19004static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19005 PyObject *resultobj;
19006 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19007 long arg2 ;
19008 int arg3 ;
19009 long result;
19010 PyObject * obj0 = 0 ;
19011 char *kwnames[] = {
19012 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19013 };
19014
19015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19017 {
19018 PyThreadState* __tstate = wxPyBeginAllowThreads();
19019 result = (long)(arg1)->InsertItem(arg2,arg3);
19020
19021 wxPyEndAllowThreads(__tstate);
19022 if (PyErr_Occurred()) SWIG_fail;
19023 }
19024 resultobj = PyInt_FromLong((long)result);
19025 return resultobj;
19026 fail:
19027 return NULL;
19028}
19029
19030
19031static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19032 PyObject *resultobj;
19033 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19034 long arg2 ;
19035 wxString *arg3 = 0 ;
19036 int arg4 ;
19037 long result;
e811c8ce 19038 bool temp3 = False ;
d14a1e28
RD
19039 PyObject * obj0 = 0 ;
19040 PyObject * obj2 = 0 ;
19041 char *kwnames[] = {
19042 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19043 };
19044
19045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19047 {
19048 arg3 = wxString_in_helper(obj2);
19049 if (arg3 == NULL) SWIG_fail;
e811c8ce 19050 temp3 = True;
d14a1e28
RD
19051 }
19052 {
19053 PyThreadState* __tstate = wxPyBeginAllowThreads();
19054 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19055
19056 wxPyEndAllowThreads(__tstate);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 resultobj = PyInt_FromLong((long)result);
19060 {
19061 if (temp3)
19062 delete arg3;
19063 }
19064 return resultobj;
19065 fail:
19066 {
19067 if (temp3)
19068 delete arg3;
19069 }
19070 return NULL;
19071}
19072
19073
19074static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19075 PyObject *resultobj;
19076 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19077 long arg2 ;
19078 wxListItem *arg3 = 0 ;
19079 long result;
19080 PyObject * obj0 = 0 ;
19081 PyObject * obj2 = 0 ;
19082 char *kwnames[] = {
19083 (char *) "self",(char *) "col",(char *) "info", NULL
19084 };
19085
19086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19088 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19089 if (arg3 == NULL) {
19090 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19091 }
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19095
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
19099 resultobj = PyInt_FromLong((long)result);
19100 return resultobj;
19101 fail:
19102 return NULL;
19103}
19104
19105
19106static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19107 PyObject *resultobj;
19108 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19109 long arg2 ;
19110 wxString *arg3 = 0 ;
19111 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19112 int arg5 = (int) -1 ;
19113 long result;
e811c8ce 19114 bool temp3 = False ;
d14a1e28
RD
19115 PyObject * obj0 = 0 ;
19116 PyObject * obj2 = 0 ;
19117 char *kwnames[] = {
19118 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19119 };
19120
19121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19123 {
19124 arg3 = wxString_in_helper(obj2);
19125 if (arg3 == NULL) SWIG_fail;
e811c8ce 19126 temp3 = True;
d14a1e28
RD
19127 }
19128 {
19129 PyThreadState* __tstate = wxPyBeginAllowThreads();
19130 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19131
19132 wxPyEndAllowThreads(__tstate);
19133 if (PyErr_Occurred()) SWIG_fail;
19134 }
19135 resultobj = PyInt_FromLong((long)result);
19136 {
19137 if (temp3)
19138 delete arg3;
19139 }
19140 return resultobj;
19141 fail:
19142 {
19143 if (temp3)
19144 delete arg3;
19145 }
19146 return NULL;
19147}
19148
19149
19150static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj;
19152 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19153 long arg2 ;
19154 PyObject * obj0 = 0 ;
19155 char *kwnames[] = {
19156 (char *) "self",(char *) "count", NULL
19157 };
19158
19159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19161 {
19162 PyThreadState* __tstate = wxPyBeginAllowThreads();
19163 (arg1)->SetItemCount(arg2);
19164
19165 wxPyEndAllowThreads(__tstate);
19166 if (PyErr_Occurred()) SWIG_fail;
19167 }
19168 Py_INCREF(Py_None); resultobj = Py_None;
19169 return resultobj;
19170 fail:
19171 return NULL;
19172}
19173
19174
19175static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19176 PyObject *resultobj;
19177 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19178 int arg2 ;
19179 int arg3 ;
19180 bool result;
19181 PyObject * obj0 = 0 ;
19182 char *kwnames[] = {
19183 (char *) "self",(char *) "dx",(char *) "dy", NULL
19184 };
19185
19186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19188 {
19189 PyThreadState* __tstate = wxPyBeginAllowThreads();
19190 result = (bool)(arg1)->ScrollList(arg2,arg3);
19191
19192 wxPyEndAllowThreads(__tstate);
19193 if (PyErr_Occurred()) SWIG_fail;
19194 }
19195 resultobj = PyInt_FromLong((long)result);
19196 return resultobj;
19197 fail:
19198 return NULL;
19199}
19200
19201
19202static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19203 PyObject *resultobj;
19204 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19205 long arg2 ;
19206 wxColour *arg3 = 0 ;
19207 wxColour temp3 ;
19208 PyObject * obj0 = 0 ;
19209 PyObject * obj2 = 0 ;
19210 char *kwnames[] = {
19211 (char *) "self",(char *) "item",(char *) "col", NULL
19212 };
19213
19214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19216 {
19217 arg3 = &temp3;
19218 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19219 }
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19223
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
19227 Py_INCREF(Py_None); resultobj = Py_None;
19228 return resultobj;
19229 fail:
19230 return NULL;
19231}
19232
19233
19234static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19235 PyObject *resultobj;
19236 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19237 long arg2 ;
19238 wxColour result;
19239 PyObject * obj0 = 0 ;
19240 char *kwnames[] = {
19241 (char *) "self",(char *) "item", NULL
19242 };
19243
19244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19246 {
19247 PyThreadState* __tstate = wxPyBeginAllowThreads();
19248 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19249
19250 wxPyEndAllowThreads(__tstate);
19251 if (PyErr_Occurred()) SWIG_fail;
19252 }
19253 {
19254 wxColour * resultptr;
19255 resultptr = new wxColour((wxColour &) result);
19256 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19257 }
19258 return resultobj;
19259 fail:
19260 return NULL;
19261}
19262
19263
19264static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19265 PyObject *resultobj;
19266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19267 long arg2 ;
19268 wxColour *arg3 = 0 ;
19269 wxColour temp3 ;
19270 PyObject * obj0 = 0 ;
19271 PyObject * obj2 = 0 ;
19272 char *kwnames[] = {
19273 (char *) "self",(char *) "item",(char *) "col", NULL
19274 };
19275
19276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19278 {
19279 arg3 = &temp3;
19280 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19281 }
19282 {
19283 PyThreadState* __tstate = wxPyBeginAllowThreads();
19284 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19285
19286 wxPyEndAllowThreads(__tstate);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 }
19289 Py_INCREF(Py_None); resultobj = Py_None;
19290 return resultobj;
19291 fail:
19292 return NULL;
19293}
19294
19295
19296static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19297 PyObject *resultobj;
19298 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19299 long arg2 ;
19300 wxColour result;
19301 PyObject * obj0 = 0 ;
19302 char *kwnames[] = {
19303 (char *) "self",(char *) "item", NULL
19304 };
19305
19306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19308 {
19309 PyThreadState* __tstate = wxPyBeginAllowThreads();
19310 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19311
19312 wxPyEndAllowThreads(__tstate);
19313 if (PyErr_Occurred()) SWIG_fail;
19314 }
19315 {
19316 wxColour * resultptr;
19317 resultptr = new wxColour((wxColour &) result);
19318 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19319 }
19320 return resultobj;
19321 fail:
19322 return NULL;
19323}
19324
19325
19326static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19327 PyObject *resultobj;
19328 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19329 PyObject *arg2 = (PyObject *) 0 ;
19330 bool result;
19331 PyObject * obj0 = 0 ;
19332 PyObject * obj1 = 0 ;
19333 char *kwnames[] = {
19334 (char *) "self",(char *) "func", NULL
19335 };
19336
19337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19339 arg2 = obj1;
19340 {
19341 PyThreadState* __tstate = wxPyBeginAllowThreads();
19342 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19343
19344 wxPyEndAllowThreads(__tstate);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 }
19347 resultobj = PyInt_FromLong((long)result);
19348 return resultobj;
19349 fail:
19350 return NULL;
19351}
19352
19353
19354static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19355 PyObject *resultobj;
19356 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19357 wxWindow *result;
19358 PyObject * obj0 = 0 ;
19359 char *kwnames[] = {
19360 (char *) "self", NULL
19361 };
19362
19363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19365 {
19366 PyThreadState* __tstate = wxPyBeginAllowThreads();
19367 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19368
19369 wxPyEndAllowThreads(__tstate);
19370 if (PyErr_Occurred()) SWIG_fail;
19371 }
19372 {
19373 resultobj = wxPyMake_wxObject(result);
19374 }
19375 return resultobj;
19376 fail:
19377 return NULL;
19378}
19379
19380
19381static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19382 PyObject *obj;
19383 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19384 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19385 Py_INCREF(obj);
19386 return Py_BuildValue((char *)"");
19387}
19388static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19389 PyObject *resultobj;
19390 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 19391 int arg2 = (int) -1 ;
d14a1e28
RD
19392 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19393 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19394 wxSize const &arg4_defvalue = wxDefaultSize ;
19395 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19396 long arg5 = (long) wxLC_REPORT ;
19397 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19398 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19399 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19400 wxString *arg7 = (wxString *) &arg7_defvalue ;
19401 wxListView *result;
19402 wxPoint temp3 ;
19403 wxSize temp4 ;
e811c8ce 19404 bool temp7 = False ;
d14a1e28
RD
19405 PyObject * obj0 = 0 ;
19406 PyObject * obj2 = 0 ;
19407 PyObject * obj3 = 0 ;
19408 PyObject * obj5 = 0 ;
19409 PyObject * obj6 = 0 ;
19410 char *kwnames[] = {
19411 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19412 };
19413
19414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19416 if (obj2) {
19417 {
19418 arg3 = &temp3;
19419 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19420 }
19421 }
19422 if (obj3) {
19423 {
19424 arg4 = &temp4;
19425 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19426 }
19427 }
19428 if (obj5) {
19429 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19430 if (arg6 == NULL) {
19431 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19432 }
19433 }
19434 if (obj6) {
19435 {
19436 arg7 = wxString_in_helper(obj6);
19437 if (arg7 == NULL) SWIG_fail;
e811c8ce 19438 temp7 = True;
d14a1e28
RD
19439 }
19440 }
19441 {
19442 PyThreadState* __tstate = wxPyBeginAllowThreads();
19443 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19444
19445 wxPyEndAllowThreads(__tstate);
19446 if (PyErr_Occurred()) SWIG_fail;
19447 }
19448 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19449 {
19450 if (temp7)
19451 delete arg7;
19452 }
19453 return resultobj;
19454 fail:
19455 {
19456 if (temp7)
19457 delete arg7;
19458 }
19459 return NULL;
19460}
19461
19462
19463static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19464 PyObject *resultobj;
19465 wxListView *result;
19466 char *kwnames[] = {
19467 NULL
19468 };
19469
19470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19471 {
19472 PyThreadState* __tstate = wxPyBeginAllowThreads();
19473 result = (wxListView *)new wxListView();
19474
19475 wxPyEndAllowThreads(__tstate);
19476 if (PyErr_Occurred()) SWIG_fail;
19477 }
19478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19479 return resultobj;
19480 fail:
19481 return NULL;
19482}
19483
19484
19485static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19486 PyObject *resultobj;
19487 wxListView *arg1 = (wxListView *) 0 ;
19488 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 19489 int arg3 = (int) -1 ;
d14a1e28
RD
19490 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19491 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19492 wxSize const &arg5_defvalue = wxDefaultSize ;
19493 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19494 long arg6 = (long) wxLC_REPORT ;
19495 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19496 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19497 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19498 wxString *arg8 = (wxString *) &arg8_defvalue ;
19499 bool result;
19500 wxPoint temp4 ;
19501 wxSize temp5 ;
e811c8ce 19502 bool temp8 = False ;
d14a1e28
RD
19503 PyObject * obj0 = 0 ;
19504 PyObject * obj1 = 0 ;
19505 PyObject * obj3 = 0 ;
19506 PyObject * obj4 = 0 ;
19507 PyObject * obj6 = 0 ;
19508 PyObject * obj7 = 0 ;
19509 char *kwnames[] = {
19510 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19511 };
19512
19513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19515 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19516 if (obj3) {
19517 {
19518 arg4 = &temp4;
19519 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19520 }
19521 }
19522 if (obj4) {
19523 {
19524 arg5 = &temp5;
19525 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19526 }
19527 }
19528 if (obj6) {
19529 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19530 if (arg7 == NULL) {
19531 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19532 }
19533 }
19534 if (obj7) {
19535 {
19536 arg8 = wxString_in_helper(obj7);
19537 if (arg8 == NULL) SWIG_fail;
e811c8ce 19538 temp8 = True;
d14a1e28
RD
19539 }
19540 }
19541 {
19542 PyThreadState* __tstate = wxPyBeginAllowThreads();
19543 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19544
19545 wxPyEndAllowThreads(__tstate);
19546 if (PyErr_Occurred()) SWIG_fail;
19547 }
19548 resultobj = PyInt_FromLong((long)result);
19549 {
19550 if (temp8)
19551 delete arg8;
19552 }
19553 return resultobj;
19554 fail:
19555 {
19556 if (temp8)
19557 delete arg8;
19558 }
19559 return NULL;
19560}
19561
19562
19563static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19564 PyObject *resultobj;
19565 wxListView *arg1 = (wxListView *) 0 ;
19566 long arg2 ;
e811c8ce 19567 bool arg3 = (bool) True ;
d14a1e28
RD
19568 PyObject * obj0 = 0 ;
19569 PyObject * obj2 = 0 ;
19570 char *kwnames[] = {
19571 (char *) "self",(char *) "n",(char *) "on", NULL
19572 };
19573
19574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19576 if (obj2) {
19577 arg3 = PyInt_AsLong(obj2) ? true : false;
19578 if (PyErr_Occurred()) SWIG_fail;
19579 }
19580 {
19581 PyThreadState* __tstate = wxPyBeginAllowThreads();
19582 (arg1)->Select(arg2,arg3);
19583
19584 wxPyEndAllowThreads(__tstate);
19585 if (PyErr_Occurred()) SWIG_fail;
19586 }
19587 Py_INCREF(Py_None); resultobj = Py_None;
19588 return resultobj;
19589 fail:
19590 return NULL;
19591}
19592
19593
19594static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19595 PyObject *resultobj;
19596 wxListView *arg1 = (wxListView *) 0 ;
19597 long arg2 ;
19598 PyObject * obj0 = 0 ;
19599 char *kwnames[] = {
19600 (char *) "self",(char *) "index", NULL
19601 };
19602
19603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19605 {
19606 PyThreadState* __tstate = wxPyBeginAllowThreads();
19607 (arg1)->Focus(arg2);
19608
19609 wxPyEndAllowThreads(__tstate);
19610 if (PyErr_Occurred()) SWIG_fail;
19611 }
19612 Py_INCREF(Py_None); resultobj = Py_None;
19613 return resultobj;
19614 fail:
19615 return NULL;
19616}
19617
19618
19619static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19620 PyObject *resultobj;
19621 wxListView *arg1 = (wxListView *) 0 ;
19622 long result;
19623 PyObject * obj0 = 0 ;
19624 char *kwnames[] = {
19625 (char *) "self", NULL
19626 };
19627
19628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19630 {
19631 PyThreadState* __tstate = wxPyBeginAllowThreads();
19632 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19633
19634 wxPyEndAllowThreads(__tstate);
19635 if (PyErr_Occurred()) SWIG_fail;
19636 }
19637 resultobj = PyInt_FromLong((long)result);
19638 return resultobj;
19639 fail:
19640 return NULL;
19641}
19642
19643
19644static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19645 PyObject *resultobj;
19646 wxListView *arg1 = (wxListView *) 0 ;
19647 long arg2 ;
19648 long result;
19649 PyObject * obj0 = 0 ;
19650 char *kwnames[] = {
19651 (char *) "self",(char *) "item", NULL
19652 };
19653
19654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19656 {
19657 PyThreadState* __tstate = wxPyBeginAllowThreads();
19658 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19659
19660 wxPyEndAllowThreads(__tstate);
19661 if (PyErr_Occurred()) SWIG_fail;
19662 }
19663 resultobj = PyInt_FromLong((long)result);
19664 return resultobj;
19665 fail:
19666 return NULL;
19667}
19668
19669
19670static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19671 PyObject *resultobj;
19672 wxListView *arg1 = (wxListView *) 0 ;
19673 long result;
19674 PyObject * obj0 = 0 ;
19675 char *kwnames[] = {
19676 (char *) "self", NULL
19677 };
19678
19679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19681 {
19682 PyThreadState* __tstate = wxPyBeginAllowThreads();
19683 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19684
19685 wxPyEndAllowThreads(__tstate);
19686 if (PyErr_Occurred()) SWIG_fail;
19687 }
19688 resultobj = PyInt_FromLong((long)result);
19689 return resultobj;
19690 fail:
19691 return NULL;
19692}
19693
19694
19695static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19696 PyObject *resultobj;
19697 wxListView *arg1 = (wxListView *) 0 ;
19698 long arg2 ;
19699 bool result;
19700 PyObject * obj0 = 0 ;
19701 char *kwnames[] = {
19702 (char *) "self",(char *) "index", NULL
19703 };
19704
19705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19707 {
19708 PyThreadState* __tstate = wxPyBeginAllowThreads();
19709 result = (bool)(arg1)->IsSelected(arg2);
19710
19711 wxPyEndAllowThreads(__tstate);
19712 if (PyErr_Occurred()) SWIG_fail;
19713 }
19714 resultobj = PyInt_FromLong((long)result);
19715 return resultobj;
19716 fail:
19717 return NULL;
19718}
19719
19720
19721static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19722 PyObject *resultobj;
19723 wxListView *arg1 = (wxListView *) 0 ;
19724 int arg2 ;
19725 int arg3 ;
19726 PyObject * obj0 = 0 ;
19727 char *kwnames[] = {
19728 (char *) "self",(char *) "col",(char *) "image", NULL
19729 };
19730
19731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19733 {
19734 PyThreadState* __tstate = wxPyBeginAllowThreads();
19735 (arg1)->SetColumnImage(arg2,arg3);
19736
19737 wxPyEndAllowThreads(__tstate);
19738 if (PyErr_Occurred()) SWIG_fail;
19739 }
19740 Py_INCREF(Py_None); resultobj = Py_None;
19741 return resultobj;
19742 fail:
19743 return NULL;
19744}
19745
19746
19747static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19748 PyObject *resultobj;
19749 wxListView *arg1 = (wxListView *) 0 ;
19750 int arg2 ;
19751 PyObject * obj0 = 0 ;
19752 char *kwnames[] = {
19753 (char *) "self",(char *) "col", NULL
19754 };
19755
19756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19758 {
19759 PyThreadState* __tstate = wxPyBeginAllowThreads();
19760 (arg1)->ClearColumnImage(arg2);
19761
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 Py_INCREF(Py_None); resultobj = Py_None;
19766 return resultobj;
19767 fail:
19768 return NULL;
19769}
19770
19771
19772static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19773 PyObject *obj;
19774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19775 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19776 Py_INCREF(obj);
19777 return Py_BuildValue((char *)"");
19778}
19779static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19780 PyObject *resultobj;
19781 wxTreeItemId *result;
19782 char *kwnames[] = {
19783 NULL
19784 };
19785
19786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 result = (wxTreeItemId *)new wxTreeItemId();
19790
19791 wxPyEndAllowThreads(__tstate);
19792 if (PyErr_Occurred()) SWIG_fail;
19793 }
19794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19795 return resultobj;
19796 fail:
19797 return NULL;
19798}
19799
19800
19801static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19802 PyObject *resultobj;
19803 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19804 PyObject * obj0 = 0 ;
19805 char *kwnames[] = {
19806 (char *) "self", NULL
19807 };
19808
19809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19811 {
19812 PyThreadState* __tstate = wxPyBeginAllowThreads();
19813 delete arg1;
19814
19815 wxPyEndAllowThreads(__tstate);
19816 if (PyErr_Occurred()) SWIG_fail;
19817 }
19818 Py_INCREF(Py_None); resultobj = Py_None;
19819 return resultobj;
19820 fail:
19821 return NULL;
19822}
19823
19824
19825static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19826 PyObject *resultobj;
19827 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19828 bool result;
19829 PyObject * obj0 = 0 ;
19830 char *kwnames[] = {
19831 (char *) "self", NULL
19832 };
19833
19834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19836 {
19837 PyThreadState* __tstate = wxPyBeginAllowThreads();
19838 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19839
19840 wxPyEndAllowThreads(__tstate);
19841 if (PyErr_Occurred()) SWIG_fail;
19842 }
19843 resultobj = PyInt_FromLong((long)result);
19844 return resultobj;
19845 fail:
19846 return NULL;
19847}
19848
19849
19850static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19851 PyObject *resultobj;
19852 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19853 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19854 bool result;
19855 PyObject * obj0 = 0 ;
19856 PyObject * obj1 = 0 ;
19857 char *kwnames[] = {
19858 (char *) "self",(char *) "other", NULL
19859 };
19860
19861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19863 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19864 {
19865 PyThreadState* __tstate = wxPyBeginAllowThreads();
19866 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19867
19868 wxPyEndAllowThreads(__tstate);
19869 if (PyErr_Occurred()) SWIG_fail;
19870 }
19871 resultobj = PyInt_FromLong((long)result);
19872 return resultobj;
19873 fail:
19874 return NULL;
19875}
19876
19877
19878static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19879 PyObject *resultobj;
19880 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19881 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19882 bool result;
19883 PyObject * obj0 = 0 ;
19884 PyObject * obj1 = 0 ;
19885 char *kwnames[] = {
19886 (char *) "self",(char *) "other", NULL
19887 };
19888
19889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19891 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19892 {
19893 PyThreadState* __tstate = wxPyBeginAllowThreads();
19894 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19895
19896 wxPyEndAllowThreads(__tstate);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 }
19899 resultobj = PyInt_FromLong((long)result);
19900 return resultobj;
19901 fail:
19902 return NULL;
19903}
19904
19905
19906static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19907 PyObject *resultobj;
19908 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19909 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19910 PyObject * obj0 = 0 ;
19911 PyObject * obj1 = 0 ;
19912 char *kwnames[] = {
19913 (char *) "self",(char *) "m_pItem", NULL
19914 };
19915
19916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19918 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19919 if (arg1) (arg1)->m_pItem = arg2;
19920
19921 Py_INCREF(Py_None); resultobj = Py_None;
19922 return resultobj;
19923 fail:
19924 return NULL;
19925}
19926
19927
19928static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19929 PyObject *resultobj;
19930 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19931 wxTreeItemIdValue result;
19932 PyObject * obj0 = 0 ;
19933 char *kwnames[] = {
19934 (char *) "self", NULL
19935 };
19936
19937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
19938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19939 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
19940
19941 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
19942 return resultobj;
19943 fail:
19944 return NULL;
19945}
19946
19947
19948static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
19949 PyObject *obj;
19950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19951 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
19952 Py_INCREF(obj);
19953 return Py_BuildValue((char *)"");
19954}
19955static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19956 PyObject *resultobj;
19957 PyObject *arg1 = (PyObject *) NULL ;
19958 wxPyTreeItemData *result;
19959 PyObject * obj0 = 0 ;
19960 char *kwnames[] = {
19961 (char *) "obj", NULL
19962 };
19963
19964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
19965 if (obj0) {
19966 arg1 = obj0;
19967 }
19968 {
19969 PyThreadState* __tstate = wxPyBeginAllowThreads();
19970 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
19971
19972 wxPyEndAllowThreads(__tstate);
19973 if (PyErr_Occurred()) SWIG_fail;
19974 }
19975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
19976 return resultobj;
19977 fail:
19978 return NULL;
19979}
19980
19981
19982static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19983 PyObject *resultobj;
19984 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19985 PyObject *result;
19986 PyObject * obj0 = 0 ;
19987 char *kwnames[] = {
19988 (char *) "self", NULL
19989 };
19990
19991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
19992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19993 {
19994 PyThreadState* __tstate = wxPyBeginAllowThreads();
19995 result = (PyObject *)(arg1)->GetData();
19996
19997 wxPyEndAllowThreads(__tstate);
19998 if (PyErr_Occurred()) SWIG_fail;
19999 }
20000 resultobj = result;
20001 return resultobj;
20002 fail:
20003 return NULL;
20004}
20005
20006
20007static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20008 PyObject *resultobj;
20009 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20010 PyObject *arg2 = (PyObject *) 0 ;
20011 PyObject * obj0 = 0 ;
20012 PyObject * obj1 = 0 ;
20013 char *kwnames[] = {
20014 (char *) "self",(char *) "obj", NULL
20015 };
20016
20017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20019 arg2 = obj1;
20020 {
20021 PyThreadState* __tstate = wxPyBeginAllowThreads();
20022 (arg1)->SetData(arg2);
20023
20024 wxPyEndAllowThreads(__tstate);
20025 if (PyErr_Occurred()) SWIG_fail;
20026 }
20027 Py_INCREF(Py_None); resultobj = Py_None;
20028 return resultobj;
20029 fail:
20030 return NULL;
20031}
20032
20033
20034static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20035 PyObject *resultobj;
20036 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20037 wxTreeItemId *result;
20038 PyObject * obj0 = 0 ;
20039 char *kwnames[] = {
20040 (char *) "self", NULL
20041 };
20042
20043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20045 {
20046 PyThreadState* __tstate = wxPyBeginAllowThreads();
20047 {
20048 wxTreeItemId const &_result_ref = (arg1)->GetId();
20049 result = (wxTreeItemId *) &_result_ref;
20050 }
20051
20052 wxPyEndAllowThreads(__tstate);
20053 if (PyErr_Occurred()) SWIG_fail;
20054 }
20055 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20056 return resultobj;
20057 fail:
20058 return NULL;
20059}
20060
20061
20062static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20063 PyObject *resultobj;
20064 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20065 wxTreeItemId *arg2 = 0 ;
20066 PyObject * obj0 = 0 ;
20067 PyObject * obj1 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self",(char *) "id", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20075 if (arg2 == NULL) {
20076 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20077 }
20078 {
20079 PyThreadState* __tstate = wxPyBeginAllowThreads();
20080 (arg1)->SetId((wxTreeItemId const &)*arg2);
20081
20082 wxPyEndAllowThreads(__tstate);
20083 if (PyErr_Occurred()) SWIG_fail;
20084 }
20085 Py_INCREF(Py_None); resultobj = Py_None;
20086 return resultobj;
20087 fail:
20088 return NULL;
20089}
20090
20091
20092static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20093 PyObject *resultobj;
20094 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20095 PyObject * obj0 = 0 ;
20096 char *kwnames[] = {
20097 (char *) "self", NULL
20098 };
20099
20100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20102 {
20103 PyThreadState* __tstate = wxPyBeginAllowThreads();
20104 wxPyTreeItemData_Destroy(arg1);
20105
20106 wxPyEndAllowThreads(__tstate);
20107 if (PyErr_Occurred()) SWIG_fail;
20108 }
20109 Py_INCREF(Py_None); resultobj = Py_None;
20110 return resultobj;
20111 fail:
20112 return NULL;
20113}
20114
20115
20116static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20117 PyObject *obj;
20118 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20119 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20120 Py_INCREF(obj);
20121 return Py_BuildValue((char *)"");
20122}
20123static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20124 PyObject *resultobj;
20125 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20126 int arg2 = (int) 0 ;
20127 wxTreeEvent *result;
20128 char *kwnames[] = {
20129 (char *) "commandType",(char *) "id", NULL
20130 };
20131
20132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20133 {
20134 PyThreadState* __tstate = wxPyBeginAllowThreads();
20135 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20136
20137 wxPyEndAllowThreads(__tstate);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20141 return resultobj;
20142 fail:
20143 return NULL;
20144}
20145
20146
20147static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20148 PyObject *resultobj;
20149 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20150 wxTreeItemId result;
20151 PyObject * obj0 = 0 ;
20152 char *kwnames[] = {
20153 (char *) "self", NULL
20154 };
20155
20156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20158 {
20159 PyThreadState* __tstate = wxPyBeginAllowThreads();
20160 result = ((wxTreeEvent const *)arg1)->GetItem();
20161
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 {
20166 wxTreeItemId * resultptr;
20167 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20168 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20169 }
20170 return resultobj;
20171 fail:
20172 return NULL;
20173}
20174
20175
20176static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20177 PyObject *resultobj;
20178 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20179 wxTreeItemId *arg2 = 0 ;
20180 PyObject * obj0 = 0 ;
20181 PyObject * obj1 = 0 ;
20182 char *kwnames[] = {
20183 (char *) "self",(char *) "item", NULL
20184 };
20185
20186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20188 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20189 if (arg2 == NULL) {
20190 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20191 }
20192 {
20193 PyThreadState* __tstate = wxPyBeginAllowThreads();
20194 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20195
20196 wxPyEndAllowThreads(__tstate);
20197 if (PyErr_Occurred()) SWIG_fail;
20198 }
20199 Py_INCREF(Py_None); resultobj = Py_None;
20200 return resultobj;
20201 fail:
20202 return NULL;
20203}
20204
20205
20206static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20207 PyObject *resultobj;
20208 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20209 wxTreeItemId result;
20210 PyObject * obj0 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20217 {
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20220
20221 wxPyEndAllowThreads(__tstate);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
20224 {
20225 wxTreeItemId * resultptr;
20226 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20227 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20228 }
20229 return resultobj;
20230 fail:
20231 return NULL;
20232}
20233
20234
20235static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20236 PyObject *resultobj;
20237 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20238 wxTreeItemId *arg2 = 0 ;
20239 PyObject * obj0 = 0 ;
20240 PyObject * obj1 = 0 ;
20241 char *kwnames[] = {
20242 (char *) "self",(char *) "item", NULL
20243 };
20244
20245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20247 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20248 if (arg2 == NULL) {
20249 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20250 }
20251 {
20252 PyThreadState* __tstate = wxPyBeginAllowThreads();
20253 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20254
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 Py_INCREF(Py_None); resultobj = Py_None;
20259 return resultobj;
20260 fail:
20261 return NULL;
20262}
20263
20264
20265static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj;
20267 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20268 wxPoint result;
20269 PyObject * obj0 = 0 ;
20270 char *kwnames[] = {
20271 (char *) "self", NULL
20272 };
20273
20274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 result = ((wxTreeEvent const *)arg1)->GetPoint();
20279
20280 wxPyEndAllowThreads(__tstate);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 }
20283 {
20284 wxPoint * resultptr;
20285 resultptr = new wxPoint((wxPoint &) result);
20286 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20287 }
20288 return resultobj;
20289 fail:
20290 return NULL;
20291}
20292
20293
20294static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20295 PyObject *resultobj;
20296 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20297 wxPoint *arg2 = 0 ;
20298 wxPoint temp2 ;
20299 PyObject * obj0 = 0 ;
20300 PyObject * obj1 = 0 ;
20301 char *kwnames[] = {
20302 (char *) "self",(char *) "pt", NULL
20303 };
20304
20305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20307 {
20308 arg2 = &temp2;
20309 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20310 }
20311 {
20312 PyThreadState* __tstate = wxPyBeginAllowThreads();
20313 (arg1)->SetPoint((wxPoint const &)*arg2);
20314
20315 wxPyEndAllowThreads(__tstate);
20316 if (PyErr_Occurred()) SWIG_fail;
20317 }
20318 Py_INCREF(Py_None); resultobj = Py_None;
20319 return resultobj;
20320 fail:
20321 return NULL;
20322}
20323
20324
20325static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20326 PyObject *resultobj;
20327 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20328 wxKeyEvent *result;
20329 PyObject * obj0 = 0 ;
20330 char *kwnames[] = {
20331 (char *) "self", NULL
20332 };
20333
20334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20336 {
20337 PyThreadState* __tstate = wxPyBeginAllowThreads();
20338 {
20339 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20340 result = (wxKeyEvent *) &_result_ref;
20341 }
20342
20343 wxPyEndAllowThreads(__tstate);
20344 if (PyErr_Occurred()) SWIG_fail;
20345 }
20346 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20347 return resultobj;
20348 fail:
20349 return NULL;
20350}
20351
20352
20353static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20354 PyObject *resultobj;
20355 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20356 int result;
20357 PyObject * obj0 = 0 ;
20358 char *kwnames[] = {
20359 (char *) "self", NULL
20360 };
20361
20362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20364 {
20365 PyThreadState* __tstate = wxPyBeginAllowThreads();
20366 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20367
20368 wxPyEndAllowThreads(__tstate);
20369 if (PyErr_Occurred()) SWIG_fail;
20370 }
20371 resultobj = PyInt_FromLong((long)result);
20372 return resultobj;
20373 fail:
20374 return NULL;
20375}
20376
20377
20378static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20379 PyObject *resultobj;
20380 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20381 wxKeyEvent *arg2 = 0 ;
20382 PyObject * obj0 = 0 ;
20383 PyObject * obj1 = 0 ;
20384 char *kwnames[] = {
20385 (char *) "self",(char *) "evt", NULL
20386 };
20387
20388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20391 if (arg2 == NULL) {
20392 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20393 }
20394 {
20395 PyThreadState* __tstate = wxPyBeginAllowThreads();
20396 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20397
20398 wxPyEndAllowThreads(__tstate);
20399 if (PyErr_Occurred()) SWIG_fail;
20400 }
20401 Py_INCREF(Py_None); resultobj = Py_None;
20402 return resultobj;
20403 fail:
20404 return NULL;
20405}
20406
20407
20408static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20409 PyObject *resultobj;
20410 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20411 wxString *result;
20412 PyObject * obj0 = 0 ;
20413 char *kwnames[] = {
20414 (char *) "self", NULL
20415 };
20416
20417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20419 {
20420 PyThreadState* __tstate = wxPyBeginAllowThreads();
20421 {
20422 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20423 result = (wxString *) &_result_ref;
20424 }
20425
20426 wxPyEndAllowThreads(__tstate);
20427 if (PyErr_Occurred()) SWIG_fail;
20428 }
cc6dd355
RD
20429 {
20430#if wxUSE_UNICODE
20431 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20432#else
20433 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20434#endif
20435 }
d14a1e28
RD
20436 return resultobj;
20437 fail:
20438 return NULL;
20439}
20440
20441
20442static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20443 PyObject *resultobj;
20444 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20445 wxString *arg2 = 0 ;
e811c8ce 20446 bool temp2 = False ;
d14a1e28
RD
20447 PyObject * obj0 = 0 ;
20448 PyObject * obj1 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self",(char *) "label", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20455 {
20456 arg2 = wxString_in_helper(obj1);
20457 if (arg2 == NULL) SWIG_fail;
e811c8ce 20458 temp2 = True;
d14a1e28
RD
20459 }
20460 {
20461 PyThreadState* __tstate = wxPyBeginAllowThreads();
20462 (arg1)->SetLabel((wxString const &)*arg2);
20463
20464 wxPyEndAllowThreads(__tstate);
20465 if (PyErr_Occurred()) SWIG_fail;
20466 }
20467 Py_INCREF(Py_None); resultobj = Py_None;
20468 {
20469 if (temp2)
20470 delete arg2;
20471 }
20472 return resultobj;
20473 fail:
20474 {
20475 if (temp2)
20476 delete arg2;
20477 }
20478 return NULL;
20479}
20480
20481
20482static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20483 PyObject *resultobj;
20484 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20485 bool result;
20486 PyObject * obj0 = 0 ;
20487 char *kwnames[] = {
20488 (char *) "self", NULL
20489 };
20490
20491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20493 {
20494 PyThreadState* __tstate = wxPyBeginAllowThreads();
20495 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20496
20497 wxPyEndAllowThreads(__tstate);
20498 if (PyErr_Occurred()) SWIG_fail;
20499 }
20500 resultobj = PyInt_FromLong((long)result);
20501 return resultobj;
20502 fail:
20503 return NULL;
20504}
20505
20506
20507static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20508 PyObject *resultobj;
20509 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20510 bool arg2 ;
20511 PyObject * obj0 = 0 ;
20512 PyObject * obj1 = 0 ;
20513 char *kwnames[] = {
20514 (char *) "self",(char *) "editCancelled", NULL
20515 };
20516
20517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20519 arg2 = PyInt_AsLong(obj1) ? true : false;
20520 if (PyErr_Occurred()) SWIG_fail;
20521 {
20522 PyThreadState* __tstate = wxPyBeginAllowThreads();
20523 (arg1)->SetEditCanceled(arg2);
20524
20525 wxPyEndAllowThreads(__tstate);
20526 if (PyErr_Occurred()) SWIG_fail;
20527 }
20528 Py_INCREF(Py_None); resultobj = Py_None;
20529 return resultobj;
20530 fail:
20531 return NULL;
20532}
20533
20534
c9c7117a
RD
20535static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
20536 PyObject *resultobj;
20537 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20538 wxString *arg2 = 0 ;
20539 bool temp2 = False ;
20540 PyObject * obj0 = 0 ;
20541 PyObject * obj1 = 0 ;
20542 char *kwnames[] = {
20543 (char *) "self",(char *) "toolTip", NULL
20544 };
20545
20546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
20547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20548 {
20549 arg2 = wxString_in_helper(obj1);
20550 if (arg2 == NULL) SWIG_fail;
20551 temp2 = True;
20552 }
20553 {
20554 PyThreadState* __tstate = wxPyBeginAllowThreads();
20555 (arg1)->SetToolTip((wxString const &)*arg2);
20556
20557 wxPyEndAllowThreads(__tstate);
20558 if (PyErr_Occurred()) SWIG_fail;
20559 }
20560 Py_INCREF(Py_None); resultobj = Py_None;
20561 {
20562 if (temp2)
20563 delete arg2;
20564 }
20565 return resultobj;
20566 fail:
20567 {
20568 if (temp2)
20569 delete arg2;
20570 }
20571 return NULL;
20572}
20573
20574
d14a1e28
RD
20575static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20576 PyObject *obj;
20577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20578 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20579 Py_INCREF(obj);
20580 return Py_BuildValue((char *)"");
20581}
20582static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20583 PyObject *resultobj;
20584 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 20585 int arg2 = (int) -1 ;
d14a1e28
RD
20586 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20587 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20588 wxSize const &arg4_defvalue = wxDefaultSize ;
20589 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20590 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20591 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20592 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20593 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20594 wxString *arg7 = (wxString *) &arg7_defvalue ;
20595 wxPyTreeCtrl *result;
20596 wxPoint temp3 ;
20597 wxSize temp4 ;
e811c8ce 20598 bool temp7 = False ;
d14a1e28
RD
20599 PyObject * obj0 = 0 ;
20600 PyObject * obj2 = 0 ;
20601 PyObject * obj3 = 0 ;
20602 PyObject * obj5 = 0 ;
20603 PyObject * obj6 = 0 ;
20604 char *kwnames[] = {
20605 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20606 };
20607
20608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20610 if (obj2) {
20611 {
20612 arg3 = &temp3;
20613 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20614 }
20615 }
20616 if (obj3) {
20617 {
20618 arg4 = &temp4;
20619 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20620 }
20621 }
20622 if (obj5) {
20623 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20624 if (arg6 == NULL) {
20625 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20626 }
20627 }
20628 if (obj6) {
20629 {
20630 arg7 = wxString_in_helper(obj6);
20631 if (arg7 == NULL) SWIG_fail;
e811c8ce 20632 temp7 = True;
d14a1e28
RD
20633 }
20634 }
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
20637 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20638
20639 wxPyEndAllowThreads(__tstate);
20640 if (PyErr_Occurred()) SWIG_fail;
20641 }
20642 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20643 {
20644 if (temp7)
20645 delete arg7;
20646 }
20647 return resultobj;
20648 fail:
20649 {
20650 if (temp7)
20651 delete arg7;
20652 }
20653 return NULL;
20654}
20655
20656
20657static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20658 PyObject *resultobj;
20659 wxPyTreeCtrl *result;
20660 char *kwnames[] = {
20661 NULL
20662 };
20663
20664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20665 {
20666 PyThreadState* __tstate = wxPyBeginAllowThreads();
20667 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20668
20669 wxPyEndAllowThreads(__tstate);
20670 if (PyErr_Occurred()) SWIG_fail;
20671 }
20672 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20673 return resultobj;
20674 fail:
20675 return NULL;
20676}
20677
20678
20679static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20680 PyObject *resultobj;
20681 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20682 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 20683 int arg3 = (int) -1 ;
d14a1e28
RD
20684 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20685 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20686 wxSize const &arg5_defvalue = wxDefaultSize ;
20687 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20688 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20689 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20690 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20691 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20692 wxString *arg8 = (wxString *) &arg8_defvalue ;
20693 bool result;
20694 wxPoint temp4 ;
20695 wxSize temp5 ;
e811c8ce 20696 bool temp8 = False ;
d14a1e28
RD
20697 PyObject * obj0 = 0 ;
20698 PyObject * obj1 = 0 ;
20699 PyObject * obj3 = 0 ;
20700 PyObject * obj4 = 0 ;
20701 PyObject * obj6 = 0 ;
20702 PyObject * obj7 = 0 ;
20703 char *kwnames[] = {
20704 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20705 };
20706
20707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20709 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20710 if (obj3) {
20711 {
20712 arg4 = &temp4;
20713 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20714 }
20715 }
20716 if (obj4) {
20717 {
20718 arg5 = &temp5;
20719 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20720 }
20721 }
20722 if (obj6) {
20723 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20724 if (arg7 == NULL) {
20725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20726 }
20727 }
20728 if (obj7) {
20729 {
20730 arg8 = wxString_in_helper(obj7);
20731 if (arg8 == NULL) SWIG_fail;
e811c8ce 20732 temp8 = True;
d14a1e28
RD
20733 }
20734 }
20735 {
20736 PyThreadState* __tstate = wxPyBeginAllowThreads();
20737 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20738
20739 wxPyEndAllowThreads(__tstate);
20740 if (PyErr_Occurred()) SWIG_fail;
20741 }
20742 resultobj = PyInt_FromLong((long)result);
20743 {
20744 if (temp8)
20745 delete arg8;
20746 }
20747 return resultobj;
20748 fail:
20749 {
20750 if (temp8)
20751 delete arg8;
20752 }
20753 return NULL;
20754}
20755
20756
20757static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20758 PyObject *resultobj;
20759 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20760 PyObject *arg2 = (PyObject *) 0 ;
20761 PyObject *arg3 = (PyObject *) 0 ;
20762 PyObject * obj0 = 0 ;
20763 PyObject * obj1 = 0 ;
20764 PyObject * obj2 = 0 ;
20765 char *kwnames[] = {
20766 (char *) "self",(char *) "self",(char *) "_class", NULL
20767 };
20768
20769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20771 arg2 = obj1;
20772 arg3 = obj2;
20773 {
20774 PyThreadState* __tstate = wxPyBeginAllowThreads();
20775 (arg1)->_setCallbackInfo(arg2,arg3);
20776
20777 wxPyEndAllowThreads(__tstate);
20778 if (PyErr_Occurred()) SWIG_fail;
20779 }
20780 Py_INCREF(Py_None); resultobj = Py_None;
20781 return resultobj;
20782 fail:
20783 return NULL;
20784}
20785
20786
20787static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20788 PyObject *resultobj;
20789 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20790 size_t result;
20791 PyObject * obj0 = 0 ;
20792 char *kwnames[] = {
20793 (char *) "self", NULL
20794 };
20795
20796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20798 {
20799 PyThreadState* __tstate = wxPyBeginAllowThreads();
20800 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20801
20802 wxPyEndAllowThreads(__tstate);
20803 if (PyErr_Occurred()) SWIG_fail;
20804 }
20805 resultobj = PyInt_FromLong((long)result);
20806 return resultobj;
20807 fail:
20808 return NULL;
20809}
20810
20811
20812static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20813 PyObject *resultobj;
20814 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20815 unsigned int result;
20816 PyObject * obj0 = 0 ;
20817 char *kwnames[] = {
20818 (char *) "self", NULL
20819 };
20820
20821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20823 {
20824 PyThreadState* __tstate = wxPyBeginAllowThreads();
20825 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20826
20827 wxPyEndAllowThreads(__tstate);
20828 if (PyErr_Occurred()) SWIG_fail;
20829 }
20830 resultobj = PyInt_FromLong((long)result);
20831 return resultobj;
20832 fail:
20833 return NULL;
20834}
20835
20836
20837static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20838 PyObject *resultobj;
20839 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20840 unsigned int arg2 ;
20841 PyObject * obj0 = 0 ;
20842 PyObject * obj1 = 0 ;
20843 char *kwnames[] = {
20844 (char *) "self",(char *) "indent", NULL
20845 };
20846
20847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20849 arg2 = (unsigned int) PyInt_AsLong(obj1);
20850 if (PyErr_Occurred()) SWIG_fail;
20851 {
20852 PyThreadState* __tstate = wxPyBeginAllowThreads();
20853 (arg1)->SetIndent(arg2);
20854
20855 wxPyEndAllowThreads(__tstate);
20856 if (PyErr_Occurred()) SWIG_fail;
20857 }
20858 Py_INCREF(Py_None); resultobj = Py_None;
20859 return resultobj;
20860 fail:
20861 return NULL;
20862}
20863
20864
20865static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20866 PyObject *resultobj;
20867 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20868 unsigned int result;
20869 PyObject * obj0 = 0 ;
20870 char *kwnames[] = {
20871 (char *) "self", NULL
20872 };
20873
20874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20876 {
20877 PyThreadState* __tstate = wxPyBeginAllowThreads();
20878 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20879
20880 wxPyEndAllowThreads(__tstate);
20881 if (PyErr_Occurred()) SWIG_fail;
20882 }
20883 resultobj = PyInt_FromLong((long)result);
20884 return resultobj;
20885 fail:
20886 return NULL;
20887}
20888
20889
20890static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20891 PyObject *resultobj;
20892 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20893 unsigned int arg2 ;
20894 PyObject * obj0 = 0 ;
20895 PyObject * obj1 = 0 ;
20896 char *kwnames[] = {
20897 (char *) "self",(char *) "spacing", NULL
20898 };
20899
20900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20902 arg2 = (unsigned int) PyInt_AsLong(obj1);
20903 if (PyErr_Occurred()) SWIG_fail;
20904 {
20905 PyThreadState* __tstate = wxPyBeginAllowThreads();
20906 (arg1)->SetSpacing(arg2);
20907
20908 wxPyEndAllowThreads(__tstate);
20909 if (PyErr_Occurred()) SWIG_fail;
20910 }
20911 Py_INCREF(Py_None); resultobj = Py_None;
20912 return resultobj;
20913 fail:
20914 return NULL;
20915}
20916
20917
20918static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20919 PyObject *resultobj;
20920 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20921 wxImageList *result;
20922 PyObject * obj0 = 0 ;
20923 char *kwnames[] = {
20924 (char *) "self", NULL
20925 };
20926
20927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20929 {
20930 PyThreadState* __tstate = wxPyBeginAllowThreads();
20931 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20932
20933 wxPyEndAllowThreads(__tstate);
20934 if (PyErr_Occurred()) SWIG_fail;
20935 }
20936 {
20937 resultobj = wxPyMake_wxObject(result);
20938 }
20939 return resultobj;
20940 fail:
20941 return NULL;
20942}
20943
20944
20945static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20946 PyObject *resultobj;
20947 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20948 wxImageList *result;
20949 PyObject * obj0 = 0 ;
20950 char *kwnames[] = {
20951 (char *) "self", NULL
20952 };
20953
20954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20956 {
20957 PyThreadState* __tstate = wxPyBeginAllowThreads();
20958 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
20959
20960 wxPyEndAllowThreads(__tstate);
20961 if (PyErr_Occurred()) SWIG_fail;
20962 }
20963 {
20964 resultobj = wxPyMake_wxObject(result);
20965 }
20966 return resultobj;
20967 fail:
20968 return NULL;
20969}
20970
20971
20972static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20973 PyObject *resultobj;
20974 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20975 wxImageList *arg2 = (wxImageList *) 0 ;
20976 PyObject * obj0 = 0 ;
20977 PyObject * obj1 = 0 ;
20978 char *kwnames[] = {
20979 (char *) "self",(char *) "imageList", NULL
20980 };
20981
20982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
20983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20984 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20985 {
20986 PyThreadState* __tstate = wxPyBeginAllowThreads();
20987 (arg1)->SetImageList(arg2);
20988
20989 wxPyEndAllowThreads(__tstate);
20990 if (PyErr_Occurred()) SWIG_fail;
20991 }
20992 Py_INCREF(Py_None); resultobj = Py_None;
20993 return resultobj;
20994 fail:
20995 return NULL;
20996}
20997
20998
20999static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21000 PyObject *resultobj;
21001 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21002 wxImageList *arg2 = (wxImageList *) 0 ;
21003 PyObject * obj0 = 0 ;
21004 PyObject * obj1 = 0 ;
21005 char *kwnames[] = {
21006 (char *) "self",(char *) "imageList", NULL
21007 };
21008
21009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21011 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21012 {
21013 PyThreadState* __tstate = wxPyBeginAllowThreads();
21014 (arg1)->SetStateImageList(arg2);
21015
21016 wxPyEndAllowThreads(__tstate);
21017 if (PyErr_Occurred()) SWIG_fail;
21018 }
21019 Py_INCREF(Py_None); resultobj = Py_None;
21020 return resultobj;
21021 fail:
21022 return NULL;
21023}
21024
21025
21026static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21027 PyObject *resultobj;
21028 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21029 wxImageList *arg2 = (wxImageList *) 0 ;
21030 PyObject * obj0 = 0 ;
21031 PyObject * obj1 = 0 ;
21032 char *kwnames[] = {
21033 (char *) "self",(char *) "imageList", NULL
21034 };
21035
21036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21039 {
21040 PyThreadState* __tstate = wxPyBeginAllowThreads();
21041 (arg1)->AssignImageList(arg2);
21042
21043 wxPyEndAllowThreads(__tstate);
21044 if (PyErr_Occurred()) SWIG_fail;
21045 }
21046 Py_INCREF(Py_None); resultobj = Py_None;
21047 return resultobj;
21048 fail:
21049 return NULL;
21050}
21051
21052
21053static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21054 PyObject *resultobj;
21055 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21056 wxImageList *arg2 = (wxImageList *) 0 ;
21057 PyObject * obj0 = 0 ;
21058 PyObject * obj1 = 0 ;
21059 char *kwnames[] = {
21060 (char *) "self",(char *) "imageList", NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21066 {
21067 PyThreadState* __tstate = wxPyBeginAllowThreads();
21068 (arg1)->AssignStateImageList(arg2);
21069
21070 wxPyEndAllowThreads(__tstate);
21071 if (PyErr_Occurred()) SWIG_fail;
21072 }
21073 Py_INCREF(Py_None); resultobj = Py_None;
21074 return resultobj;
21075 fail:
21076 return NULL;
21077}
21078
21079
21080static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21081 PyObject *resultobj;
21082 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21083 wxTreeItemId *arg2 = 0 ;
21084 wxString result;
21085 PyObject * obj0 = 0 ;
21086 PyObject * obj1 = 0 ;
21087 char *kwnames[] = {
21088 (char *) "self",(char *) "item", NULL
21089 };
21090
21091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21093 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21094 if (arg2 == NULL) {
21095 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21096 }
21097 {
21098 PyThreadState* __tstate = wxPyBeginAllowThreads();
21099 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21100
21101 wxPyEndAllowThreads(__tstate);
21102 if (PyErr_Occurred()) SWIG_fail;
21103 }
21104 {
21105#if wxUSE_UNICODE
21106 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21107#else
21108 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21109#endif
21110 }
21111 return resultobj;
21112 fail:
21113 return NULL;
21114}
21115
21116
21117static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21118 PyObject *resultobj;
21119 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21120 wxTreeItemId *arg2 = 0 ;
21121 int arg3 = (int) wxTreeItemIcon_Normal ;
21122 int result;
21123 PyObject * obj0 = 0 ;
21124 PyObject * obj1 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self",(char *) "item",(char *) "which", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21131 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21132 if (arg2 == NULL) {
21133 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21134 }
21135 {
21136 PyThreadState* __tstate = wxPyBeginAllowThreads();
21137 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21138
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 resultobj = PyInt_FromLong((long)result);
21143 return resultobj;
21144 fail:
21145 return NULL;
21146}
21147
21148
21149static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21150 PyObject *resultobj;
21151 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21152 wxTreeItemId *arg2 = 0 ;
21153 wxPyTreeItemData *result;
21154 PyObject * obj0 = 0 ;
21155 PyObject * obj1 = 0 ;
21156 char *kwnames[] = {
21157 (char *) "self",(char *) "item", NULL
21158 };
21159
21160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21163 if (arg2 == NULL) {
21164 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21165 }
21166 {
21167 PyThreadState* __tstate = wxPyBeginAllowThreads();
21168 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21169
21170 wxPyEndAllowThreads(__tstate);
21171 if (PyErr_Occurred()) SWIG_fail;
21172 }
21173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21174 return resultobj;
21175 fail:
21176 return NULL;
21177}
21178
21179
21180static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21181 PyObject *resultobj;
21182 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21183 wxTreeItemId *arg2 = 0 ;
21184 PyObject *result;
21185 PyObject * obj0 = 0 ;
21186 PyObject * obj1 = 0 ;
21187 char *kwnames[] = {
21188 (char *) "self",(char *) "item", NULL
21189 };
21190
21191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21193 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21194 if (arg2 == NULL) {
21195 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21196 }
21197 {
21198 PyThreadState* __tstate = wxPyBeginAllowThreads();
21199 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21200
21201 wxPyEndAllowThreads(__tstate);
21202 if (PyErr_Occurred()) SWIG_fail;
21203 }
21204 resultobj = result;
21205 return resultobj;
21206 fail:
21207 return NULL;
21208}
21209
21210
21211static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21212 PyObject *resultobj;
21213 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21214 wxTreeItemId *arg2 = 0 ;
21215 wxColour result;
21216 PyObject * obj0 = 0 ;
21217 PyObject * obj1 = 0 ;
21218 char *kwnames[] = {
21219 (char *) "self",(char *) "item", NULL
21220 };
21221
21222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21225 if (arg2 == NULL) {
21226 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21227 }
21228 {
21229 PyThreadState* __tstate = wxPyBeginAllowThreads();
21230 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21231
21232 wxPyEndAllowThreads(__tstate);
21233 if (PyErr_Occurred()) SWIG_fail;
21234 }
21235 {
21236 wxColour * resultptr;
21237 resultptr = new wxColour((wxColour &) result);
21238 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21239 }
21240 return resultobj;
21241 fail:
21242 return NULL;
21243}
21244
21245
21246static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21247 PyObject *resultobj;
21248 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21249 wxTreeItemId *arg2 = 0 ;
21250 wxColour result;
21251 PyObject * obj0 = 0 ;
21252 PyObject * obj1 = 0 ;
21253 char *kwnames[] = {
21254 (char *) "self",(char *) "item", NULL
21255 };
21256
21257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21260 if (arg2 == NULL) {
21261 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21262 }
21263 {
21264 PyThreadState* __tstate = wxPyBeginAllowThreads();
21265 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21266
21267 wxPyEndAllowThreads(__tstate);
21268 if (PyErr_Occurred()) SWIG_fail;
21269 }
21270 {
21271 wxColour * resultptr;
21272 resultptr = new wxColour((wxColour &) result);
21273 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21274 }
21275 return resultobj;
21276 fail:
21277 return NULL;
21278}
21279
21280
21281static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21282 PyObject *resultobj;
21283 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21284 wxTreeItemId *arg2 = 0 ;
21285 wxFont result;
21286 PyObject * obj0 = 0 ;
21287 PyObject * obj1 = 0 ;
21288 char *kwnames[] = {
21289 (char *) "self",(char *) "item", NULL
21290 };
21291
21292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21295 if (arg2 == NULL) {
21296 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21297 }
21298 {
21299 PyThreadState* __tstate = wxPyBeginAllowThreads();
21300 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21301
21302 wxPyEndAllowThreads(__tstate);
21303 if (PyErr_Occurred()) SWIG_fail;
21304 }
21305 {
21306 wxFont * resultptr;
21307 resultptr = new wxFont((wxFont &) result);
21308 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21309 }
21310 return resultobj;
21311 fail:
21312 return NULL;
21313}
21314
21315
21316static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21317 PyObject *resultobj;
21318 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21319 wxTreeItemId *arg2 = 0 ;
21320 wxString *arg3 = 0 ;
e811c8ce 21321 bool temp3 = False ;
d14a1e28
RD
21322 PyObject * obj0 = 0 ;
21323 PyObject * obj1 = 0 ;
21324 PyObject * obj2 = 0 ;
21325 char *kwnames[] = {
21326 (char *) "self",(char *) "item",(char *) "text", NULL
21327 };
21328
21329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21331 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21332 if (arg2 == NULL) {
21333 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21334 }
21335 {
21336 arg3 = wxString_in_helper(obj2);
21337 if (arg3 == NULL) SWIG_fail;
e811c8ce 21338 temp3 = True;
d14a1e28
RD
21339 }
21340 {
21341 PyThreadState* __tstate = wxPyBeginAllowThreads();
21342 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21343
21344 wxPyEndAllowThreads(__tstate);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 }
21347 Py_INCREF(Py_None); resultobj = Py_None;
21348 {
21349 if (temp3)
21350 delete arg3;
21351 }
21352 return resultobj;
21353 fail:
21354 {
21355 if (temp3)
21356 delete arg3;
21357 }
21358 return NULL;
21359}
21360
21361
21362static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21363 PyObject *resultobj;
21364 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21365 wxTreeItemId *arg2 = 0 ;
21366 int arg3 ;
21367 int arg4 = (int) wxTreeItemIcon_Normal ;
21368 PyObject * obj0 = 0 ;
21369 PyObject * obj1 = 0 ;
21370 char *kwnames[] = {
21371 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21372 };
21373
21374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21377 if (arg2 == NULL) {
21378 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21379 }
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 Py_INCREF(Py_None); resultobj = Py_None;
21388 return resultobj;
21389 fail:
21390 return NULL;
21391}
21392
21393
21394static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21395 PyObject *resultobj;
21396 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21397 wxTreeItemId *arg2 = 0 ;
21398 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21399 PyObject * obj0 = 0 ;
21400 PyObject * obj1 = 0 ;
21401 PyObject * obj2 = 0 ;
21402 char *kwnames[] = {
21403 (char *) "self",(char *) "item",(char *) "data", NULL
21404 };
21405
21406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21409 if (arg2 == NULL) {
21410 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21411 }
21412 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21413 {
21414 PyThreadState* __tstate = wxPyBeginAllowThreads();
21415 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21416
21417 wxPyEndAllowThreads(__tstate);
21418 if (PyErr_Occurred()) SWIG_fail;
21419 }
21420 Py_INCREF(Py_None); resultobj = Py_None;
21421 return resultobj;
21422 fail:
21423 return NULL;
21424}
21425
21426
21427static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21428 PyObject *resultobj;
21429 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21430 wxTreeItemId *arg2 = 0 ;
21431 PyObject *arg3 = (PyObject *) 0 ;
21432 PyObject * obj0 = 0 ;
21433 PyObject * obj1 = 0 ;
21434 PyObject * obj2 = 0 ;
21435 char *kwnames[] = {
21436 (char *) "self",(char *) "item",(char *) "obj", NULL
21437 };
21438
21439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21441 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21442 if (arg2 == NULL) {
21443 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21444 }
21445 arg3 = obj2;
21446 {
21447 PyThreadState* __tstate = wxPyBeginAllowThreads();
21448 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21449
21450 wxPyEndAllowThreads(__tstate);
21451 if (PyErr_Occurred()) SWIG_fail;
21452 }
21453 Py_INCREF(Py_None); resultobj = Py_None;
21454 return resultobj;
21455 fail:
21456 return NULL;
21457}
21458
21459
21460static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21461 PyObject *resultobj;
21462 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21463 wxTreeItemId *arg2 = 0 ;
e811c8ce 21464 bool arg3 = (bool) True ;
d14a1e28
RD
21465 PyObject * obj0 = 0 ;
21466 PyObject * obj1 = 0 ;
21467 PyObject * obj2 = 0 ;
21468 char *kwnames[] = {
21469 (char *) "self",(char *) "item",(char *) "has", NULL
21470 };
21471
21472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21474 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21475 if (arg2 == NULL) {
21476 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21477 }
21478 if (obj2) {
21479 arg3 = PyInt_AsLong(obj2) ? true : false;
21480 if (PyErr_Occurred()) SWIG_fail;
21481 }
21482 {
21483 PyThreadState* __tstate = wxPyBeginAllowThreads();
21484 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21485
21486 wxPyEndAllowThreads(__tstate);
21487 if (PyErr_Occurred()) SWIG_fail;
21488 }
21489 Py_INCREF(Py_None); resultobj = Py_None;
21490 return resultobj;
21491 fail:
21492 return NULL;
21493}
21494
21495
21496static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21497 PyObject *resultobj;
21498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21499 wxTreeItemId *arg2 = 0 ;
e811c8ce 21500 bool arg3 = (bool) True ;
d14a1e28
RD
21501 PyObject * obj0 = 0 ;
21502 PyObject * obj1 = 0 ;
21503 PyObject * obj2 = 0 ;
21504 char *kwnames[] = {
21505 (char *) "self",(char *) "item",(char *) "bold", NULL
21506 };
21507
21508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21511 if (arg2 == NULL) {
21512 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21513 }
21514 if (obj2) {
21515 arg3 = PyInt_AsLong(obj2) ? true : false;
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 {
21519 PyThreadState* __tstate = wxPyBeginAllowThreads();
21520 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21521
21522 wxPyEndAllowThreads(__tstate);
21523 if (PyErr_Occurred()) SWIG_fail;
21524 }
21525 Py_INCREF(Py_None); resultobj = Py_None;
21526 return resultobj;
21527 fail:
21528 return NULL;
21529}
21530
21531
21532static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21533 PyObject *resultobj;
21534 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21535 wxTreeItemId *arg2 = 0 ;
21536 wxColour *arg3 = 0 ;
21537 wxColour temp3 ;
21538 PyObject * obj0 = 0 ;
21539 PyObject * obj1 = 0 ;
21540 PyObject * obj2 = 0 ;
21541 char *kwnames[] = {
21542 (char *) "self",(char *) "item",(char *) "col", NULL
21543 };
21544
21545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21547 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21548 if (arg2 == NULL) {
21549 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21550 }
21551 {
21552 arg3 = &temp3;
21553 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21554 }
21555 {
21556 PyThreadState* __tstate = wxPyBeginAllowThreads();
21557 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21558
21559 wxPyEndAllowThreads(__tstate);
21560 if (PyErr_Occurred()) SWIG_fail;
21561 }
21562 Py_INCREF(Py_None); resultobj = Py_None;
21563 return resultobj;
21564 fail:
21565 return NULL;
21566}
21567
21568
21569static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21570 PyObject *resultobj;
21571 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21572 wxTreeItemId *arg2 = 0 ;
21573 wxColour *arg3 = 0 ;
21574 wxColour temp3 ;
21575 PyObject * obj0 = 0 ;
21576 PyObject * obj1 = 0 ;
21577 PyObject * obj2 = 0 ;
21578 char *kwnames[] = {
21579 (char *) "self",(char *) "item",(char *) "col", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21584 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21585 if (arg2 == NULL) {
21586 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21587 }
21588 {
21589 arg3 = &temp3;
21590 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21591 }
21592 {
21593 PyThreadState* __tstate = wxPyBeginAllowThreads();
21594 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21595
21596 wxPyEndAllowThreads(__tstate);
21597 if (PyErr_Occurred()) SWIG_fail;
21598 }
21599 Py_INCREF(Py_None); resultobj = Py_None;
21600 return resultobj;
21601 fail:
21602 return NULL;
21603}
21604
21605
21606static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21607 PyObject *resultobj;
21608 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21609 wxTreeItemId *arg2 = 0 ;
21610 wxFont *arg3 = 0 ;
21611 PyObject * obj0 = 0 ;
21612 PyObject * obj1 = 0 ;
21613 PyObject * obj2 = 0 ;
21614 char *kwnames[] = {
21615 (char *) "self",(char *) "item",(char *) "font", NULL
21616 };
21617
21618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21621 if (arg2 == NULL) {
21622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21623 }
21624 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21625 if (arg3 == NULL) {
21626 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21627 }
21628 {
21629 PyThreadState* __tstate = wxPyBeginAllowThreads();
21630 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21631
21632 wxPyEndAllowThreads(__tstate);
21633 if (PyErr_Occurred()) SWIG_fail;
21634 }
21635 Py_INCREF(Py_None); resultobj = Py_None;
21636 return resultobj;
21637 fail:
21638 return NULL;
21639}
21640
21641
21642static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21643 PyObject *resultobj;
21644 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21645 wxTreeItemId *arg2 = 0 ;
21646 bool result;
21647 PyObject * obj0 = 0 ;
21648 PyObject * obj1 = 0 ;
21649 char *kwnames[] = {
21650 (char *) "self",(char *) "item", NULL
21651 };
21652
21653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21655 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21656 if (arg2 == NULL) {
21657 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21658 }
21659 {
21660 PyThreadState* __tstate = wxPyBeginAllowThreads();
21661 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21662
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
21666 resultobj = PyInt_FromLong((long)result);
21667 return resultobj;
21668 fail:
21669 return NULL;
21670}
21671
21672
21673static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21674 PyObject *resultobj;
21675 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21676 wxTreeItemId *arg2 = 0 ;
21677 bool result;
21678 PyObject * obj0 = 0 ;
21679 PyObject * obj1 = 0 ;
21680 char *kwnames[] = {
21681 (char *) "self",(char *) "item", NULL
21682 };
21683
21684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21686 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21687 if (arg2 == NULL) {
21688 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21689 }
21690 {
21691 PyThreadState* __tstate = wxPyBeginAllowThreads();
21692 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21693
21694 wxPyEndAllowThreads(__tstate);
21695 if (PyErr_Occurred()) SWIG_fail;
21696 }
21697 resultobj = PyInt_FromLong((long)result);
21698 return resultobj;
21699 fail:
21700 return NULL;
21701}
21702
21703
21704static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21705 PyObject *resultobj;
21706 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21707 wxTreeItemId *arg2 = 0 ;
21708 bool result;
21709 PyObject * obj0 = 0 ;
21710 PyObject * obj1 = 0 ;
21711 char *kwnames[] = {
21712 (char *) "self",(char *) "item", NULL
21713 };
21714
21715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21717 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21718 if (arg2 == NULL) {
21719 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21720 }
21721 {
21722 PyThreadState* __tstate = wxPyBeginAllowThreads();
21723 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21724
21725 wxPyEndAllowThreads(__tstate);
21726 if (PyErr_Occurred()) SWIG_fail;
21727 }
21728 resultobj = PyInt_FromLong((long)result);
21729 return resultobj;
21730 fail:
21731 return NULL;
21732}
21733
21734
21735static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21736 PyObject *resultobj;
21737 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21738 wxTreeItemId *arg2 = 0 ;
21739 bool result;
21740 PyObject * obj0 = 0 ;
21741 PyObject * obj1 = 0 ;
21742 char *kwnames[] = {
21743 (char *) "self",(char *) "item", NULL
21744 };
21745
21746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21749 if (arg2 == NULL) {
21750 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21751 }
21752 {
21753 PyThreadState* __tstate = wxPyBeginAllowThreads();
21754 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21755
21756 wxPyEndAllowThreads(__tstate);
21757 if (PyErr_Occurred()) SWIG_fail;
21758 }
21759 resultobj = PyInt_FromLong((long)result);
21760 return resultobj;
21761 fail:
21762 return NULL;
21763}
21764
21765
21766static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21767 PyObject *resultobj;
21768 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21769 wxTreeItemId *arg2 = 0 ;
21770 bool result;
21771 PyObject * obj0 = 0 ;
21772 PyObject * obj1 = 0 ;
21773 char *kwnames[] = {
21774 (char *) "self",(char *) "item", NULL
21775 };
21776
21777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21779 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21780 if (arg2 == NULL) {
21781 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21782 }
21783 {
21784 PyThreadState* __tstate = wxPyBeginAllowThreads();
21785 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21786
21787 wxPyEndAllowThreads(__tstate);
21788 if (PyErr_Occurred()) SWIG_fail;
21789 }
21790 resultobj = PyInt_FromLong((long)result);
21791 return resultobj;
21792 fail:
21793 return NULL;
21794}
21795
21796
21797static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21798 PyObject *resultobj;
21799 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21800 wxTreeItemId *arg2 = 0 ;
e811c8ce 21801 bool arg3 = (bool) True ;
d14a1e28
RD
21802 size_t result;
21803 PyObject * obj0 = 0 ;
21804 PyObject * obj1 = 0 ;
21805 PyObject * obj2 = 0 ;
21806 char *kwnames[] = {
21807 (char *) "self",(char *) "item",(char *) "recursively", NULL
21808 };
21809
21810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21812 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21813 if (arg2 == NULL) {
21814 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21815 }
21816 if (obj2) {
21817 arg3 = PyInt_AsLong(obj2) ? true : false;
21818 if (PyErr_Occurred()) SWIG_fail;
21819 }
21820 {
21821 PyThreadState* __tstate = wxPyBeginAllowThreads();
21822 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21823
21824 wxPyEndAllowThreads(__tstate);
21825 if (PyErr_Occurred()) SWIG_fail;
21826 }
21827 resultobj = PyInt_FromLong((long)result);
21828 return resultobj;
21829 fail:
21830 return NULL;
21831}
21832
21833
21834static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21835 PyObject *resultobj;
21836 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21837 wxTreeItemId result;
21838 PyObject * obj0 = 0 ;
21839 char *kwnames[] = {
21840 (char *) "self", NULL
21841 };
21842
21843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21845 {
21846 PyThreadState* __tstate = wxPyBeginAllowThreads();
21847 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21848
21849 wxPyEndAllowThreads(__tstate);
21850 if (PyErr_Occurred()) SWIG_fail;
21851 }
21852 {
21853 wxTreeItemId * resultptr;
21854 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21855 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21856 }
21857 return resultobj;
21858 fail:
21859 return NULL;
21860}
21861
21862
21863static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21864 PyObject *resultobj;
21865 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21866 wxTreeItemId result;
21867 PyObject * obj0 = 0 ;
21868 char *kwnames[] = {
21869 (char *) "self", NULL
21870 };
21871
21872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21877
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
21881 {
21882 wxTreeItemId * resultptr;
21883 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21884 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21885 }
21886 return resultobj;
21887 fail:
21888 return NULL;
21889}
21890
21891
21892static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21893 PyObject *resultobj;
21894 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21895 PyObject *result;
21896 PyObject * obj0 = 0 ;
21897 char *kwnames[] = {
21898 (char *) "self", NULL
21899 };
21900
21901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21903 {
21904 PyThreadState* __tstate = wxPyBeginAllowThreads();
21905 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21906
21907 wxPyEndAllowThreads(__tstate);
21908 if (PyErr_Occurred()) SWIG_fail;
21909 }
21910 resultobj = result;
21911 return resultobj;
21912 fail:
21913 return NULL;
21914}
21915
21916
21917static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21918 PyObject *resultobj;
21919 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21920 wxTreeItemId *arg2 = 0 ;
21921 wxTreeItemId result;
21922 PyObject * obj0 = 0 ;
21923 PyObject * obj1 = 0 ;
21924 char *kwnames[] = {
21925 (char *) "self",(char *) "item", NULL
21926 };
21927
21928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
21929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21931 if (arg2 == NULL) {
21932 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21933 }
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 {
21942 wxTreeItemId * resultptr;
21943 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21944 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21945 }
21946 return resultobj;
21947 fail:
21948 return NULL;
21949}
21950
21951
21952static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21953 PyObject *resultobj;
21954 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21955 wxTreeItemId *arg2 = 0 ;
21956 PyObject *result;
21957 PyObject * obj0 = 0 ;
21958 PyObject * obj1 = 0 ;
21959 char *kwnames[] = {
21960 (char *) "self",(char *) "item", NULL
21961 };
21962
21963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
21964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21966 if (arg2 == NULL) {
21967 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21968 }
21969 {
21970 PyThreadState* __tstate = wxPyBeginAllowThreads();
21971 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
21972
21973 wxPyEndAllowThreads(__tstate);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 }
21976 resultobj = result;
21977 return resultobj;
21978 fail:
21979 return NULL;
21980}
21981
21982
21983static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21984 PyObject *resultobj;
21985 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21986 wxTreeItemId *arg2 = 0 ;
21987 wxTreeItemIdValue *arg3 = 0 ;
21988 PyObject *result;
21989 PyObject * obj0 = 0 ;
21990 PyObject * obj1 = 0 ;
21991 PyObject * obj2 = 0 ;
21992 char *kwnames[] = {
21993 (char *) "self",(char *) "item",(char *) "cookie", NULL
21994 };
21995
21996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
21997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21998 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21999 if (arg2 == NULL) {
22000 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22001 }
22002 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22003 if (arg3 == NULL) {
22004 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22005 }
22006 {
22007 PyThreadState* __tstate = wxPyBeginAllowThreads();
22008 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22009
22010 wxPyEndAllowThreads(__tstate);
22011 if (PyErr_Occurred()) SWIG_fail;
22012 }
22013 resultobj = result;
22014 return resultobj;
22015 fail:
22016 return NULL;
22017}
22018
22019
22020static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22021 PyObject *resultobj;
22022 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22023 wxTreeItemId *arg2 = 0 ;
22024 wxTreeItemId result;
22025 PyObject * obj0 = 0 ;
22026 PyObject * obj1 = 0 ;
22027 char *kwnames[] = {
22028 (char *) "self",(char *) "item", NULL
22029 };
22030
22031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22034 if (arg2 == NULL) {
22035 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22036 }
22037 {
22038 PyThreadState* __tstate = wxPyBeginAllowThreads();
22039 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22040
22041 wxPyEndAllowThreads(__tstate);
22042 if (PyErr_Occurred()) SWIG_fail;
22043 }
22044 {
22045 wxTreeItemId * resultptr;
22046 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22047 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22048 }
22049 return resultobj;
22050 fail:
22051 return NULL;
22052}
22053
22054
22055static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22056 PyObject *resultobj;
22057 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22058 wxTreeItemId *arg2 = 0 ;
22059 wxTreeItemId 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_GetNextSibling",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 = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 {
22080 wxTreeItemId * resultptr;
22081 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22082 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22083 }
22084 return resultobj;
22085 fail:
22086 return NULL;
22087}
22088
22089
22090static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22091 PyObject *resultobj;
22092 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22093 wxTreeItemId *arg2 = 0 ;
22094 wxTreeItemId result;
22095 PyObject * obj0 = 0 ;
22096 PyObject * obj1 = 0 ;
22097 char *kwnames[] = {
22098 (char *) "self",(char *) "item", NULL
22099 };
22100
22101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22103 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22104 if (arg2 == NULL) {
22105 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22106 }
22107 {
22108 PyThreadState* __tstate = wxPyBeginAllowThreads();
22109 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22110
22111 wxPyEndAllowThreads(__tstate);
22112 if (PyErr_Occurred()) SWIG_fail;
22113 }
22114 {
22115 wxTreeItemId * resultptr;
22116 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22117 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22118 }
22119 return resultobj;
22120 fail:
22121 return NULL;
22122}
22123
22124
22125static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22126 PyObject *resultobj;
22127 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22128 wxTreeItemId result;
22129 PyObject * obj0 = 0 ;
22130 char *kwnames[] = {
22131 (char *) "self", NULL
22132 };
22133
22134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22136 {
22137 PyThreadState* __tstate = wxPyBeginAllowThreads();
22138 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22139
22140 wxPyEndAllowThreads(__tstate);
22141 if (PyErr_Occurred()) SWIG_fail;
22142 }
22143 {
22144 wxTreeItemId * resultptr;
22145 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22146 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22147 }
22148 return resultobj;
22149 fail:
22150 return NULL;
22151}
22152
22153
22154static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22155 PyObject *resultobj;
22156 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22157 wxTreeItemId *arg2 = 0 ;
22158 wxTreeItemId result;
22159 PyObject * obj0 = 0 ;
22160 PyObject * obj1 = 0 ;
22161 char *kwnames[] = {
22162 (char *) "self",(char *) "item", NULL
22163 };
22164
22165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22167 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22168 if (arg2 == NULL) {
22169 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22170 }
22171 {
22172 PyThreadState* __tstate = wxPyBeginAllowThreads();
22173 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22174
22175 wxPyEndAllowThreads(__tstate);
22176 if (PyErr_Occurred()) SWIG_fail;
22177 }
22178 {
22179 wxTreeItemId * resultptr;
22180 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22181 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22182 }
22183 return resultobj;
22184 fail:
22185 return NULL;
22186}
22187
22188
22189static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22190 PyObject *resultobj;
22191 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22192 wxTreeItemId *arg2 = 0 ;
22193 wxTreeItemId result;
22194 PyObject * obj0 = 0 ;
22195 PyObject * obj1 = 0 ;
22196 char *kwnames[] = {
22197 (char *) "self",(char *) "item", NULL
22198 };
22199
22200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22202 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22203 if (arg2 == NULL) {
22204 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22205 }
22206 {
22207 PyThreadState* __tstate = wxPyBeginAllowThreads();
22208 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22209
22210 wxPyEndAllowThreads(__tstate);
22211 if (PyErr_Occurred()) SWIG_fail;
22212 }
22213 {
22214 wxTreeItemId * resultptr;
22215 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22216 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22217 }
22218 return resultobj;
22219 fail:
22220 return NULL;
22221}
22222
22223
22224static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22225 PyObject *resultobj;
22226 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22227 wxString *arg2 = 0 ;
22228 int arg3 = (int) -1 ;
22229 int arg4 = (int) -1 ;
22230 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22231 wxTreeItemId result;
e811c8ce 22232 bool temp2 = False ;
d14a1e28
RD
22233 PyObject * obj0 = 0 ;
22234 PyObject * obj1 = 0 ;
22235 PyObject * obj4 = 0 ;
22236 char *kwnames[] = {
22237 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22238 };
22239
22240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22242 {
22243 arg2 = wxString_in_helper(obj1);
22244 if (arg2 == NULL) SWIG_fail;
e811c8ce 22245 temp2 = True;
d14a1e28
RD
22246 }
22247 if (obj4) {
22248 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22249 }
22250 {
22251 PyThreadState* __tstate = wxPyBeginAllowThreads();
22252 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22253
22254 wxPyEndAllowThreads(__tstate);
22255 if (PyErr_Occurred()) SWIG_fail;
22256 }
22257 {
22258 wxTreeItemId * resultptr;
22259 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22260 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22261 }
22262 {
22263 if (temp2)
22264 delete arg2;
22265 }
22266 return resultobj;
22267 fail:
22268 {
22269 if (temp2)
22270 delete arg2;
22271 }
22272 return NULL;
22273}
22274
22275
22276static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22277 PyObject *resultobj;
22278 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22279 wxTreeItemId *arg2 = 0 ;
22280 wxString *arg3 = 0 ;
22281 int arg4 = (int) -1 ;
22282 int arg5 = (int) -1 ;
22283 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22284 wxTreeItemId result;
e811c8ce 22285 bool temp3 = False ;
d14a1e28
RD
22286 PyObject * obj0 = 0 ;
22287 PyObject * obj1 = 0 ;
22288 PyObject * obj2 = 0 ;
22289 PyObject * obj5 = 0 ;
22290 char *kwnames[] = {
22291 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22292 };
22293
22294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22296 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22297 if (arg2 == NULL) {
22298 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22299 }
22300 {
22301 arg3 = wxString_in_helper(obj2);
22302 if (arg3 == NULL) SWIG_fail;
e811c8ce 22303 temp3 = True;
d14a1e28
RD
22304 }
22305 if (obj5) {
22306 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22307 }
22308 {
22309 PyThreadState* __tstate = wxPyBeginAllowThreads();
22310 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22311
22312 wxPyEndAllowThreads(__tstate);
22313 if (PyErr_Occurred()) SWIG_fail;
22314 }
22315 {
22316 wxTreeItemId * resultptr;
22317 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22318 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22319 }
22320 {
22321 if (temp3)
22322 delete arg3;
22323 }
22324 return resultobj;
22325 fail:
22326 {
22327 if (temp3)
22328 delete arg3;
22329 }
22330 return NULL;
22331}
22332
22333
22334static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22335 PyObject *resultobj;
22336 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22337 wxTreeItemId *arg2 = 0 ;
22338 wxTreeItemId *arg3 = 0 ;
22339 wxString *arg4 = 0 ;
22340 int arg5 = (int) -1 ;
22341 int arg6 = (int) -1 ;
22342 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22343 wxTreeItemId result;
e811c8ce 22344 bool temp4 = False ;
d14a1e28
RD
22345 PyObject * obj0 = 0 ;
22346 PyObject * obj1 = 0 ;
22347 PyObject * obj2 = 0 ;
22348 PyObject * obj3 = 0 ;
22349 PyObject * obj6 = 0 ;
22350 char *kwnames[] = {
22351 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22352 };
22353
22354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22357 if (arg2 == NULL) {
22358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22359 }
22360 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22361 if (arg3 == NULL) {
22362 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22363 }
22364 {
22365 arg4 = wxString_in_helper(obj3);
22366 if (arg4 == NULL) SWIG_fail;
e811c8ce 22367 temp4 = True;
d14a1e28
RD
22368 }
22369 if (obj6) {
22370 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22371 }
22372 {
22373 PyThreadState* __tstate = wxPyBeginAllowThreads();
22374 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22375
22376 wxPyEndAllowThreads(__tstate);
22377 if (PyErr_Occurred()) SWIG_fail;
22378 }
22379 {
22380 wxTreeItemId * resultptr;
22381 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22382 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22383 }
22384 {
22385 if (temp4)
22386 delete arg4;
22387 }
22388 return resultobj;
22389 fail:
22390 {
22391 if (temp4)
22392 delete arg4;
22393 }
22394 return NULL;
22395}
22396
22397
22398static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22399 PyObject *resultobj;
22400 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22401 wxTreeItemId *arg2 = 0 ;
22402 size_t arg3 ;
22403 wxString *arg4 = 0 ;
22404 int arg5 = (int) -1 ;
22405 int arg6 = (int) -1 ;
22406 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22407 wxTreeItemId result;
e811c8ce 22408 bool temp4 = False ;
d14a1e28
RD
22409 PyObject * obj0 = 0 ;
22410 PyObject * obj1 = 0 ;
22411 PyObject * obj2 = 0 ;
22412 PyObject * obj3 = 0 ;
22413 PyObject * obj6 = 0 ;
22414 char *kwnames[] = {
22415 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22416 };
22417
22418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22421 if (arg2 == NULL) {
22422 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22423 }
22424 arg3 = (size_t) PyInt_AsLong(obj2);
22425 if (PyErr_Occurred()) SWIG_fail;
22426 {
22427 arg4 = wxString_in_helper(obj3);
22428 if (arg4 == NULL) SWIG_fail;
e811c8ce 22429 temp4 = True;
d14a1e28
RD
22430 }
22431 if (obj6) {
22432 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22433 }
22434 {
22435 PyThreadState* __tstate = wxPyBeginAllowThreads();
22436 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22437
22438 wxPyEndAllowThreads(__tstate);
22439 if (PyErr_Occurred()) SWIG_fail;
22440 }
22441 {
22442 wxTreeItemId * resultptr;
22443 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22444 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22445 }
22446 {
22447 if (temp4)
22448 delete arg4;
22449 }
22450 return resultobj;
22451 fail:
22452 {
22453 if (temp4)
22454 delete arg4;
22455 }
22456 return NULL;
22457}
22458
22459
22460static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22461 PyObject *resultobj;
22462 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22463 wxTreeItemId *arg2 = 0 ;
22464 wxString *arg3 = 0 ;
22465 int arg4 = (int) -1 ;
22466 int arg5 = (int) -1 ;
22467 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22468 wxTreeItemId result;
e811c8ce 22469 bool temp3 = False ;
d14a1e28
RD
22470 PyObject * obj0 = 0 ;
22471 PyObject * obj1 = 0 ;
22472 PyObject * obj2 = 0 ;
22473 PyObject * obj5 = 0 ;
22474 char *kwnames[] = {
22475 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22476 };
22477
22478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22481 if (arg2 == NULL) {
22482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22483 }
22484 {
22485 arg3 = wxString_in_helper(obj2);
22486 if (arg3 == NULL) SWIG_fail;
e811c8ce 22487 temp3 = True;
d14a1e28
RD
22488 }
22489 if (obj5) {
22490 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22491 }
22492 {
22493 PyThreadState* __tstate = wxPyBeginAllowThreads();
22494 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22495
22496 wxPyEndAllowThreads(__tstate);
22497 if (PyErr_Occurred()) SWIG_fail;
22498 }
22499 {
22500 wxTreeItemId * resultptr;
22501 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22502 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22503 }
22504 {
22505 if (temp3)
22506 delete arg3;
22507 }
22508 return resultobj;
22509 fail:
22510 {
22511 if (temp3)
22512 delete arg3;
22513 }
22514 return NULL;
22515}
22516
22517
22518static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22519 PyObject *resultobj;
22520 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22521 wxTreeItemId *arg2 = 0 ;
22522 PyObject * obj0 = 0 ;
22523 PyObject * obj1 = 0 ;
22524 char *kwnames[] = {
22525 (char *) "self",(char *) "item", NULL
22526 };
22527
22528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22530 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22531 if (arg2 == NULL) {
22532 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22533 }
22534 {
22535 PyThreadState* __tstate = wxPyBeginAllowThreads();
22536 (arg1)->Delete((wxTreeItemId const &)*arg2);
22537
22538 wxPyEndAllowThreads(__tstate);
22539 if (PyErr_Occurred()) SWIG_fail;
22540 }
22541 Py_INCREF(Py_None); resultobj = Py_None;
22542 return resultobj;
22543 fail:
22544 return NULL;
22545}
22546
22547
22548static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22549 PyObject *resultobj;
22550 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22551 wxTreeItemId *arg2 = 0 ;
22552 PyObject * obj0 = 0 ;
22553 PyObject * obj1 = 0 ;
22554 char *kwnames[] = {
22555 (char *) "self",(char *) "item", NULL
22556 };
22557
22558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22561 if (arg2 == NULL) {
22562 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22563 }
22564 {
22565 PyThreadState* __tstate = wxPyBeginAllowThreads();
22566 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22567
22568 wxPyEndAllowThreads(__tstate);
22569 if (PyErr_Occurred()) SWIG_fail;
22570 }
22571 Py_INCREF(Py_None); resultobj = Py_None;
22572 return resultobj;
22573 fail:
22574 return NULL;
22575}
22576
22577
22578static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22579 PyObject *resultobj;
22580 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22581 PyObject * obj0 = 0 ;
22582 char *kwnames[] = {
22583 (char *) "self", NULL
22584 };
22585
22586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22588 {
22589 PyThreadState* __tstate = wxPyBeginAllowThreads();
22590 (arg1)->DeleteAllItems();
22591
22592 wxPyEndAllowThreads(__tstate);
22593 if (PyErr_Occurred()) SWIG_fail;
22594 }
22595 Py_INCREF(Py_None); resultobj = Py_None;
22596 return resultobj;
22597 fail:
22598 return NULL;
22599}
22600
22601
22602static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22603 PyObject *resultobj;
22604 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22605 wxTreeItemId *arg2 = 0 ;
22606 PyObject * obj0 = 0 ;
22607 PyObject * obj1 = 0 ;
22608 char *kwnames[] = {
22609 (char *) "self",(char *) "item", NULL
22610 };
22611
22612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22614 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22615 if (arg2 == NULL) {
22616 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22617 }
22618 {
22619 PyThreadState* __tstate = wxPyBeginAllowThreads();
22620 (arg1)->Expand((wxTreeItemId const &)*arg2);
22621
22622 wxPyEndAllowThreads(__tstate);
22623 if (PyErr_Occurred()) SWIG_fail;
22624 }
22625 Py_INCREF(Py_None); resultobj = Py_None;
22626 return resultobj;
22627 fail:
22628 return NULL;
22629}
22630
22631
22632static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22633 PyObject *resultobj;
22634 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22635 wxTreeItemId *arg2 = 0 ;
22636 PyObject * obj0 = 0 ;
22637 PyObject * obj1 = 0 ;
22638 char *kwnames[] = {
22639 (char *) "self",(char *) "item", NULL
22640 };
22641
22642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22645 if (arg2 == NULL) {
22646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22647 }
22648 {
22649 PyThreadState* __tstate = wxPyBeginAllowThreads();
22650 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22651
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 Py_INCREF(Py_None); resultobj = Py_None;
22656 return resultobj;
22657 fail:
22658 return NULL;
22659}
22660
22661
22662static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22663 PyObject *resultobj;
22664 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22665 wxTreeItemId *arg2 = 0 ;
22666 PyObject * obj0 = 0 ;
22667 PyObject * obj1 = 0 ;
22668 char *kwnames[] = {
22669 (char *) "self",(char *) "item", NULL
22670 };
22671
22672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22675 if (arg2 == NULL) {
22676 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22677 }
22678 {
22679 PyThreadState* __tstate = wxPyBeginAllowThreads();
22680 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22681
22682 wxPyEndAllowThreads(__tstate);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 }
22685 Py_INCREF(Py_None); resultobj = Py_None;
22686 return resultobj;
22687 fail:
22688 return NULL;
22689}
22690
22691
22692static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22695 wxTreeItemId *arg2 = 0 ;
22696 PyObject * obj0 = 0 ;
22697 PyObject * obj1 = 0 ;
22698 char *kwnames[] = {
22699 (char *) "self",(char *) "item", NULL
22700 };
22701
22702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22705 if (arg2 == NULL) {
22706 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22707 }
22708 {
22709 PyThreadState* __tstate = wxPyBeginAllowThreads();
22710 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22711
22712 wxPyEndAllowThreads(__tstate);
22713 if (PyErr_Occurred()) SWIG_fail;
22714 }
22715 Py_INCREF(Py_None); resultobj = Py_None;
22716 return resultobj;
22717 fail:
22718 return NULL;
22719}
22720
22721
22722static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22723 PyObject *resultobj;
22724 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22725 PyObject * obj0 = 0 ;
22726 char *kwnames[] = {
22727 (char *) "self", NULL
22728 };
22729
22730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22732 {
22733 PyThreadState* __tstate = wxPyBeginAllowThreads();
22734 (arg1)->Unselect();
22735
22736 wxPyEndAllowThreads(__tstate);
22737 if (PyErr_Occurred()) SWIG_fail;
22738 }
22739 Py_INCREF(Py_None); resultobj = Py_None;
22740 return resultobj;
22741 fail:
22742 return NULL;
22743}
22744
22745
22746static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22747 PyObject *resultobj;
22748 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22749 PyObject * obj0 = 0 ;
22750 char *kwnames[] = {
22751 (char *) "self", NULL
22752 };
22753
22754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22756 {
22757 PyThreadState* __tstate = wxPyBeginAllowThreads();
22758 (arg1)->UnselectAll();
22759
22760 wxPyEndAllowThreads(__tstate);
22761 if (PyErr_Occurred()) SWIG_fail;
22762 }
22763 Py_INCREF(Py_None); resultobj = Py_None;
22764 return resultobj;
22765 fail:
22766 return NULL;
22767}
22768
22769
22770static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22771 PyObject *resultobj;
22772 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22773 wxTreeItemId *arg2 = 0 ;
22774 PyObject * obj0 = 0 ;
22775 PyObject * obj1 = 0 ;
22776 char *kwnames[] = {
22777 (char *) "self",(char *) "item", NULL
22778 };
22779
22780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22783 if (arg2 == NULL) {
22784 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22785 }
22786 {
22787 PyThreadState* __tstate = wxPyBeginAllowThreads();
22788 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22789
22790 wxPyEndAllowThreads(__tstate);
22791 if (PyErr_Occurred()) SWIG_fail;
22792 }
22793 Py_INCREF(Py_None); resultobj = Py_None;
22794 return resultobj;
22795 fail:
22796 return NULL;
22797}
22798
22799
22800static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22801 PyObject *resultobj;
22802 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22803 wxTreeItemId *arg2 = 0 ;
22804 PyObject * obj0 = 0 ;
22805 PyObject * obj1 = 0 ;
22806 char *kwnames[] = {
22807 (char *) "self",(char *) "item", NULL
22808 };
22809
22810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22812 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22813 if (arg2 == NULL) {
22814 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22815 }
22816 {
22817 PyThreadState* __tstate = wxPyBeginAllowThreads();
22818 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22819
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 Py_INCREF(Py_None); resultobj = Py_None;
22824 return resultobj;
22825 fail:
22826 return NULL;
22827}
22828
22829
22830static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22831 PyObject *resultobj;
22832 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22833 wxTreeItemId *arg2 = 0 ;
22834 PyObject * obj0 = 0 ;
22835 PyObject * obj1 = 0 ;
22836 char *kwnames[] = {
22837 (char *) "self",(char *) "item", NULL
22838 };
22839
22840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22843 if (arg2 == NULL) {
22844 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22845 }
22846 {
22847 PyThreadState* __tstate = wxPyBeginAllowThreads();
22848 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22849
22850 wxPyEndAllowThreads(__tstate);
22851 if (PyErr_Occurred()) SWIG_fail;
22852 }
22853 Py_INCREF(Py_None); resultobj = Py_None;
22854 return resultobj;
22855 fail:
22856 return NULL;
22857}
22858
22859
22860static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22861 PyObject *resultobj;
22862 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22863 wxTreeItemId *arg2 = 0 ;
22864 PyObject * obj0 = 0 ;
22865 PyObject * obj1 = 0 ;
22866 char *kwnames[] = {
22867 (char *) "self",(char *) "item", NULL
22868 };
22869
22870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22872 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22873 if (arg2 == NULL) {
22874 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22875 }
22876 {
22877 PyThreadState* __tstate = wxPyBeginAllowThreads();
22878 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22879
22880 wxPyEndAllowThreads(__tstate);
22881 if (PyErr_Occurred()) SWIG_fail;
22882 }
22883 Py_INCREF(Py_None); resultobj = Py_None;
22884 return resultobj;
22885 fail:
22886 return NULL;
22887}
22888
22889
22890static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22891 PyObject *resultobj;
22892 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22893 wxTextCtrl *result;
22894 PyObject * obj0 = 0 ;
22895 char *kwnames[] = {
22896 (char *) "self", NULL
22897 };
22898
22899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22901 {
22902 PyThreadState* __tstate = wxPyBeginAllowThreads();
22903 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22904
22905 wxPyEndAllowThreads(__tstate);
22906 if (PyErr_Occurred()) SWIG_fail;
22907 }
22908 {
22909 resultobj = wxPyMake_wxObject(result);
22910 }
22911 return resultobj;
22912 fail:
22913 return NULL;
22914}
22915
22916
22917static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22918 PyObject *resultobj;
22919 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22920 wxTreeItemId *arg2 = 0 ;
22921 PyObject * obj0 = 0 ;
22922 PyObject * obj1 = 0 ;
22923 char *kwnames[] = {
22924 (char *) "self",(char *) "item", NULL
22925 };
22926
22927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
22928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22930 if (arg2 == NULL) {
22931 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22932 }
22933 {
22934 PyThreadState* __tstate = wxPyBeginAllowThreads();
22935 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
22936
22937 wxPyEndAllowThreads(__tstate);
22938 if (PyErr_Occurred()) SWIG_fail;
22939 }
22940 Py_INCREF(Py_None); resultobj = Py_None;
22941 return resultobj;
22942 fail:
22943 return NULL;
22944}
22945
22946
22947static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22948 PyObject *resultobj;
22949 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22950 wxPoint *arg2 = 0 ;
22951 int *arg3 = 0 ;
22952 wxTreeItemId result;
22953 wxPoint temp2 ;
22954 int temp3 ;
22955 PyObject * obj0 = 0 ;
22956 PyObject * obj1 = 0 ;
22957 char *kwnames[] = {
22958 (char *) "self",(char *) "point", NULL
22959 };
22960
22961 arg3 = &temp3;
22962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22964 {
22965 arg2 = &temp2;
22966 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22967 }
22968 {
22969 PyThreadState* __tstate = wxPyBeginAllowThreads();
22970 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22971
22972 wxPyEndAllowThreads(__tstate);
22973 if (PyErr_Occurred()) SWIG_fail;
22974 }
22975 {
22976 wxTreeItemId * resultptr;
22977 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22978 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22979 }
22980 {
22981 PyObject *o = PyInt_FromLong((long) (*arg3));
22982 resultobj = t_output_helper(resultobj,o);
22983 }
22984 return resultobj;
22985 fail:
22986 return NULL;
22987}
22988
22989
22990static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22991 PyObject *resultobj;
22992 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22993 wxTreeItemId *arg2 = 0 ;
e811c8ce 22994 bool arg3 = (bool) False ;
d14a1e28
RD
22995 PyObject *result;
22996 PyObject * obj0 = 0 ;
22997 PyObject * obj1 = 0 ;
22998 PyObject * obj2 = 0 ;
22999 char *kwnames[] = {
23000 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23001 };
23002
23003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23006 if (arg2 == NULL) {
23007 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23008 }
23009 if (obj2) {
23010 arg3 = PyInt_AsLong(obj2) ? true : false;
23011 if (PyErr_Occurred()) SWIG_fail;
23012 }
23013 {
23014 PyThreadState* __tstate = wxPyBeginAllowThreads();
23015 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23016
23017 wxPyEndAllowThreads(__tstate);
23018 if (PyErr_Occurred()) SWIG_fail;
23019 }
23020 resultobj = result;
23021 return resultobj;
23022 fail:
23023 return NULL;
23024}
23025
23026
23027static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23028 PyObject *obj;
23029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23030 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23031 Py_INCREF(obj);
23032 return Py_BuildValue((char *)"");
23033}
23034static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23035 PyObject *resultobj;
23036 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 23037 int arg2 = (int) (int)-1 ;
d14a1e28
RD
23038 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23039 wxString *arg3 = (wxString *) &arg3_defvalue ;
23040 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23041 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23042 wxSize const &arg5_defvalue = wxDefaultSize ;
23043 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23044 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23045 wxString const &arg7_defvalue = wxPyEmptyString ;
23046 wxString *arg7 = (wxString *) &arg7_defvalue ;
23047 int arg8 = (int) 0 ;
23048 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
23049 wxString *arg9 = (wxString *) &arg9_defvalue ;
23050 wxGenericDirCtrl *result;
e811c8ce 23051 bool temp3 = False ;
d14a1e28
RD
23052 wxPoint temp4 ;
23053 wxSize temp5 ;
e811c8ce
RD
23054 bool temp7 = False ;
23055 bool temp9 = False ;
d14a1e28
RD
23056 PyObject * obj0 = 0 ;
23057 PyObject * obj2 = 0 ;
23058 PyObject * obj3 = 0 ;
23059 PyObject * obj4 = 0 ;
23060 PyObject * obj6 = 0 ;
23061 PyObject * obj8 = 0 ;
23062 char *kwnames[] = {
23063 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23064 };
23065
23066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23068 if (obj2) {
23069 {
23070 arg3 = wxString_in_helper(obj2);
23071 if (arg3 == NULL) SWIG_fail;
e811c8ce 23072 temp3 = True;
d14a1e28
RD
23073 }
23074 }
23075 if (obj3) {
23076 {
23077 arg4 = &temp4;
23078 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23079 }
23080 }
23081 if (obj4) {
23082 {
23083 arg5 = &temp5;
23084 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23085 }
23086 }
23087 if (obj6) {
23088 {
23089 arg7 = wxString_in_helper(obj6);
23090 if (arg7 == NULL) SWIG_fail;
e811c8ce 23091 temp7 = True;
d14a1e28
RD
23092 }
23093 }
23094 if (obj8) {
23095 {
23096 arg9 = wxString_in_helper(obj8);
23097 if (arg9 == NULL) SWIG_fail;
e811c8ce 23098 temp9 = True;
d14a1e28
RD
23099 }
23100 }
23101 {
23102 PyThreadState* __tstate = wxPyBeginAllowThreads();
23103 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23104
23105 wxPyEndAllowThreads(__tstate);
23106 if (PyErr_Occurred()) SWIG_fail;
23107 }
23108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23109 {
23110 if (temp3)
23111 delete arg3;
23112 }
23113 {
23114 if (temp7)
23115 delete arg7;
23116 }
23117 {
23118 if (temp9)
23119 delete arg9;
23120 }
23121 return resultobj;
23122 fail:
23123 {
23124 if (temp3)
23125 delete arg3;
23126 }
23127 {
23128 if (temp7)
23129 delete arg7;
23130 }
23131 {
23132 if (temp9)
23133 delete arg9;
23134 }
23135 return NULL;
23136}
23137
23138
23139static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23140 PyObject *resultobj;
23141 wxGenericDirCtrl *result;
23142 char *kwnames[] = {
23143 NULL
23144 };
23145
23146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23147 {
23148 PyThreadState* __tstate = wxPyBeginAllowThreads();
23149 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23150
23151 wxPyEndAllowThreads(__tstate);
23152 if (PyErr_Occurred()) SWIG_fail;
23153 }
23154 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23155 return resultobj;
23156 fail:
23157 return NULL;
23158}
23159
23160
23161static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23162 PyObject *resultobj;
23163 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23164 wxWindow *arg2 = (wxWindow *) 0 ;
e811c8ce 23165 int arg3 = (int) (int)-1 ;
d14a1e28
RD
23166 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23167 wxString *arg4 = (wxString *) &arg4_defvalue ;
23168 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23169 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23170 wxSize const &arg6_defvalue = wxDefaultSize ;
23171 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23172 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23173 wxString const &arg8_defvalue = wxPyEmptyString ;
23174 wxString *arg8 = (wxString *) &arg8_defvalue ;
23175 int arg9 = (int) 0 ;
23176 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
23177 wxString *arg10 = (wxString *) &arg10_defvalue ;
23178 bool result;
e811c8ce 23179 bool temp4 = False ;
d14a1e28
RD
23180 wxPoint temp5 ;
23181 wxSize temp6 ;
e811c8ce
RD
23182 bool temp8 = False ;
23183 bool temp10 = False ;
d14a1e28
RD
23184 PyObject * obj0 = 0 ;
23185 PyObject * obj1 = 0 ;
23186 PyObject * obj3 = 0 ;
23187 PyObject * obj4 = 0 ;
23188 PyObject * obj5 = 0 ;
23189 PyObject * obj7 = 0 ;
23190 PyObject * obj9 = 0 ;
23191 char *kwnames[] = {
23192 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23193 };
23194
23195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23198 if (obj3) {
23199 {
23200 arg4 = wxString_in_helper(obj3);
23201 if (arg4 == NULL) SWIG_fail;
e811c8ce 23202 temp4 = True;
d14a1e28
RD
23203 }
23204 }
23205 if (obj4) {
23206 {
23207 arg5 = &temp5;
23208 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23209 }
23210 }
23211 if (obj5) {
23212 {
23213 arg6 = &temp6;
23214 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23215 }
23216 }
23217 if (obj7) {
23218 {
23219 arg8 = wxString_in_helper(obj7);
23220 if (arg8 == NULL) SWIG_fail;
e811c8ce 23221 temp8 = True;
d14a1e28
RD
23222 }
23223 }
23224 if (obj9) {
23225 {
23226 arg10 = wxString_in_helper(obj9);
23227 if (arg10 == NULL) SWIG_fail;
e811c8ce 23228 temp10 = True;
d14a1e28
RD
23229 }
23230 }
23231 {
23232 PyThreadState* __tstate = wxPyBeginAllowThreads();
23233 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23234
23235 wxPyEndAllowThreads(__tstate);
23236 if (PyErr_Occurred()) SWIG_fail;
23237 }
23238 resultobj = PyInt_FromLong((long)result);
23239 {
23240 if (temp4)
23241 delete arg4;
23242 }
23243 {
23244 if (temp8)
23245 delete arg8;
23246 }
23247 {
23248 if (temp10)
23249 delete arg10;
23250 }
23251 return resultobj;
23252 fail:
23253 {
23254 if (temp4)
23255 delete arg4;
23256 }
23257 {
23258 if (temp8)
23259 delete arg8;
23260 }
23261 {
23262 if (temp10)
23263 delete arg10;
23264 }
23265 return NULL;
23266}
23267
23268
23269static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23270 PyObject *resultobj;
23271 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23272 wxString *arg2 = 0 ;
23273 bool result;
e811c8ce 23274 bool temp2 = False ;
d14a1e28
RD
23275 PyObject * obj0 = 0 ;
23276 PyObject * obj1 = 0 ;
23277 char *kwnames[] = {
23278 (char *) "self",(char *) "path", NULL
23279 };
23280
23281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23283 {
23284 arg2 = wxString_in_helper(obj1);
23285 if (arg2 == NULL) SWIG_fail;
e811c8ce 23286 temp2 = True;
d14a1e28
RD
23287 }
23288 {
23289 PyThreadState* __tstate = wxPyBeginAllowThreads();
23290 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23291
23292 wxPyEndAllowThreads(__tstate);
23293 if (PyErr_Occurred()) SWIG_fail;
23294 }
23295 resultobj = PyInt_FromLong((long)result);
23296 {
23297 if (temp2)
23298 delete arg2;
23299 }
23300 return resultobj;
23301 fail:
23302 {
23303 if (temp2)
23304 delete arg2;
23305 }
23306 return NULL;
23307}
23308
23309
23310static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23311 PyObject *resultobj;
23312 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23313 wxString result;
23314 PyObject * obj0 = 0 ;
23315 char *kwnames[] = {
23316 (char *) "self", NULL
23317 };
23318
23319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23321 {
23322 PyThreadState* __tstate = wxPyBeginAllowThreads();
23323 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23324
23325 wxPyEndAllowThreads(__tstate);
23326 if (PyErr_Occurred()) SWIG_fail;
23327 }
23328 {
23329#if wxUSE_UNICODE
23330 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23331#else
23332 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23333#endif
23334 }
23335 return resultobj;
23336 fail:
23337 return NULL;
23338}
23339
23340
23341static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23342 PyObject *resultobj;
23343 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23344 wxString *arg2 = 0 ;
e811c8ce 23345 bool temp2 = False ;
d14a1e28
RD
23346 PyObject * obj0 = 0 ;
23347 PyObject * obj1 = 0 ;
23348 char *kwnames[] = {
23349 (char *) "self",(char *) "path", NULL
23350 };
23351
23352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23354 {
23355 arg2 = wxString_in_helper(obj1);
23356 if (arg2 == NULL) SWIG_fail;
e811c8ce 23357 temp2 = True;
d14a1e28
RD
23358 }
23359 {
23360 PyThreadState* __tstate = wxPyBeginAllowThreads();
23361 (arg1)->SetDefaultPath((wxString const &)*arg2);
23362
23363 wxPyEndAllowThreads(__tstate);
23364 if (PyErr_Occurred()) SWIG_fail;
23365 }
23366 Py_INCREF(Py_None); resultobj = Py_None;
23367 {
23368 if (temp2)
23369 delete arg2;
23370 }
23371 return resultobj;
23372 fail:
23373 {
23374 if (temp2)
23375 delete arg2;
23376 }
23377 return NULL;
23378}
23379
23380
23381static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23382 PyObject *resultobj;
23383 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23384 wxString result;
23385 PyObject * obj0 = 0 ;
23386 char *kwnames[] = {
23387 (char *) "self", NULL
23388 };
23389
23390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23392 {
23393 PyThreadState* __tstate = wxPyBeginAllowThreads();
23394 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23395
23396 wxPyEndAllowThreads(__tstate);
23397 if (PyErr_Occurred()) SWIG_fail;
23398 }
23399 {
23400#if wxUSE_UNICODE
23401 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23402#else
23403 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23404#endif
23405 }
23406 return resultobj;
23407 fail:
23408 return NULL;
23409}
23410
23411
23412static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23413 PyObject *resultobj;
23414 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23415 wxString result;
23416 PyObject * obj0 = 0 ;
23417 char *kwnames[] = {
23418 (char *) "self", NULL
23419 };
23420
23421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23423 {
23424 PyThreadState* __tstate = wxPyBeginAllowThreads();
23425 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23426
23427 wxPyEndAllowThreads(__tstate);
23428 if (PyErr_Occurred()) SWIG_fail;
23429 }
23430 {
23431#if wxUSE_UNICODE
23432 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23433#else
23434 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23435#endif
23436 }
23437 return resultobj;
23438 fail:
23439 return NULL;
23440}
23441
23442
23443static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23444 PyObject *resultobj;
23445 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23446 wxString *arg2 = 0 ;
e811c8ce 23447 bool temp2 = False ;
d14a1e28
RD
23448 PyObject * obj0 = 0 ;
23449 PyObject * obj1 = 0 ;
23450 char *kwnames[] = {
23451 (char *) "self",(char *) "path", NULL
23452 };
23453
23454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23456 {
23457 arg2 = wxString_in_helper(obj1);
23458 if (arg2 == NULL) SWIG_fail;
e811c8ce 23459 temp2 = True;
d14a1e28
RD
23460 }
23461 {
23462 PyThreadState* __tstate = wxPyBeginAllowThreads();
23463 (arg1)->SetPath((wxString const &)*arg2);
23464
23465 wxPyEndAllowThreads(__tstate);
23466 if (PyErr_Occurred()) SWIG_fail;
23467 }
23468 Py_INCREF(Py_None); resultobj = Py_None;
23469 {
23470 if (temp2)
23471 delete arg2;
23472 }
23473 return resultobj;
23474 fail:
23475 {
23476 if (temp2)
23477 delete arg2;
23478 }
23479 return NULL;
23480}
23481
23482
23483static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23484 PyObject *resultobj;
23485 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23486 bool arg2 ;
23487 PyObject * obj0 = 0 ;
23488 PyObject * obj1 = 0 ;
23489 char *kwnames[] = {
23490 (char *) "self",(char *) "show", NULL
23491 };
23492
23493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23495 arg2 = PyInt_AsLong(obj1) ? true : false;
23496 if (PyErr_Occurred()) SWIG_fail;
23497 {
23498 PyThreadState* __tstate = wxPyBeginAllowThreads();
23499 (arg1)->ShowHidden(arg2);
23500
23501 wxPyEndAllowThreads(__tstate);
23502 if (PyErr_Occurred()) SWIG_fail;
23503 }
23504 Py_INCREF(Py_None); resultobj = Py_None;
23505 return resultobj;
23506 fail:
23507 return NULL;
23508}
23509
23510
23511static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23512 PyObject *resultobj;
23513 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23514 bool result;
23515 PyObject * obj0 = 0 ;
23516 char *kwnames[] = {
23517 (char *) "self", NULL
23518 };
23519
23520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23522 {
23523 PyThreadState* __tstate = wxPyBeginAllowThreads();
23524 result = (bool)(arg1)->GetShowHidden();
23525
23526 wxPyEndAllowThreads(__tstate);
23527 if (PyErr_Occurred()) SWIG_fail;
23528 }
23529 resultobj = PyInt_FromLong((long)result);
23530 return resultobj;
23531 fail:
23532 return NULL;
23533}
23534
23535
23536static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23537 PyObject *resultobj;
23538 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23539 wxString result;
23540 PyObject * obj0 = 0 ;
23541 char *kwnames[] = {
23542 (char *) "self", NULL
23543 };
23544
23545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23547 {
23548 PyThreadState* __tstate = wxPyBeginAllowThreads();
23549 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23550
23551 wxPyEndAllowThreads(__tstate);
23552 if (PyErr_Occurred()) SWIG_fail;
23553 }
23554 {
23555#if wxUSE_UNICODE
23556 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23557#else
23558 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23559#endif
23560 }
23561 return resultobj;
23562 fail:
23563 return NULL;
23564}
23565
23566
23567static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23568 PyObject *resultobj;
23569 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23570 wxString *arg2 = 0 ;
e811c8ce 23571 bool temp2 = False ;
d14a1e28
RD
23572 PyObject * obj0 = 0 ;
23573 PyObject * obj1 = 0 ;
23574 char *kwnames[] = {
23575 (char *) "self",(char *) "filter", NULL
23576 };
23577
23578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23580 {
23581 arg2 = wxString_in_helper(obj1);
23582 if (arg2 == NULL) SWIG_fail;
e811c8ce 23583 temp2 = True;
d14a1e28
RD
23584 }
23585 {
23586 PyThreadState* __tstate = wxPyBeginAllowThreads();
23587 (arg1)->SetFilter((wxString const &)*arg2);
23588
23589 wxPyEndAllowThreads(__tstate);
23590 if (PyErr_Occurred()) SWIG_fail;
23591 }
23592 Py_INCREF(Py_None); resultobj = Py_None;
23593 {
23594 if (temp2)
23595 delete arg2;
23596 }
23597 return resultobj;
23598 fail:
23599 {
23600 if (temp2)
23601 delete arg2;
23602 }
23603 return NULL;
23604}
23605
23606
23607static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23608 PyObject *resultobj;
23609 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23610 int result;
23611 PyObject * obj0 = 0 ;
23612 char *kwnames[] = {
23613 (char *) "self", NULL
23614 };
23615
23616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23618 {
23619 PyThreadState* __tstate = wxPyBeginAllowThreads();
23620 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23621
23622 wxPyEndAllowThreads(__tstate);
23623 if (PyErr_Occurred()) SWIG_fail;
23624 }
23625 resultobj = PyInt_FromLong((long)result);
23626 return resultobj;
23627 fail:
23628 return NULL;
23629}
23630
23631
23632static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23633 PyObject *resultobj;
23634 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23635 int arg2 ;
23636 PyObject * obj0 = 0 ;
23637 char *kwnames[] = {
23638 (char *) "self",(char *) "n", NULL
23639 };
23640
23641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23643 {
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
23645 (arg1)->SetFilterIndex(arg2);
23646
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
23650 Py_INCREF(Py_None); resultobj = Py_None;
23651 return resultobj;
23652 fail:
23653 return NULL;
23654}
23655
23656
23657static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23658 PyObject *resultobj;
23659 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23660 wxTreeItemId result;
23661 PyObject * obj0 = 0 ;
23662 char *kwnames[] = {
23663 (char *) "self", NULL
23664 };
23665
23666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23668 {
23669 PyThreadState* __tstate = wxPyBeginAllowThreads();
23670 result = (arg1)->GetRootId();
23671
23672 wxPyEndAllowThreads(__tstate);
23673 if (PyErr_Occurred()) SWIG_fail;
23674 }
23675 {
23676 wxTreeItemId * resultptr;
23677 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23678 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23679 }
23680 return resultobj;
23681 fail:
23682 return NULL;
23683}
23684
23685
23686static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23687 PyObject *resultobj;
23688 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23689 wxTreeCtrl *result;
23690 PyObject * obj0 = 0 ;
23691 char *kwnames[] = {
23692 (char *) "self", NULL
23693 };
23694
23695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23697 {
23698 PyThreadState* __tstate = wxPyBeginAllowThreads();
23699 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23700
23701 wxPyEndAllowThreads(__tstate);
23702 if (PyErr_Occurred()) SWIG_fail;
23703 }
23704 {
23705 resultobj = wxPyMake_wxObject(result);
23706 }
23707 return resultobj;
23708 fail:
23709 return NULL;
23710}
23711
23712
23713static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23714 PyObject *resultobj;
23715 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23716 wxDirFilterListCtrl *result;
23717 PyObject * obj0 = 0 ;
23718 char *kwnames[] = {
23719 (char *) "self", NULL
23720 };
23721
23722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23724 {
23725 PyThreadState* __tstate = wxPyBeginAllowThreads();
23726 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23727
23728 wxPyEndAllowThreads(__tstate);
23729 if (PyErr_Occurred()) SWIG_fail;
23730 }
23731 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23732 return resultobj;
23733 fail:
23734 return NULL;
23735}
23736
23737
23738static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23739 PyObject *resultobj;
23740 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23741 wxTreeItemId arg2 ;
23742 wxString *arg3 = 0 ;
23743 bool *arg4 = 0 ;
23744 wxTreeItemId result;
23745 wxTreeItemId *argp2 ;
e811c8ce 23746 bool temp3 = False ;
d14a1e28
RD
23747 bool temp4 ;
23748 PyObject * obj0 = 0 ;
23749 PyObject * obj1 = 0 ;
23750 PyObject * obj2 = 0 ;
23751 char *kwnames[] = {
23752 (char *) "self",(char *) "parentId",(char *) "path", NULL
23753 };
23754
23755 arg4 = &temp4;
23756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23758 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23759 arg2 = *argp2;
23760 {
23761 arg3 = wxString_in_helper(obj2);
23762 if (arg3 == NULL) SWIG_fail;
e811c8ce 23763 temp3 = True;
d14a1e28
RD
23764 }
23765 {
23766 PyThreadState* __tstate = wxPyBeginAllowThreads();
23767 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23768
23769 wxPyEndAllowThreads(__tstate);
23770 if (PyErr_Occurred()) SWIG_fail;
23771 }
23772 {
23773 wxTreeItemId * resultptr;
23774 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23775 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23776 }
23777 {
23778 PyObject *o = PyInt_FromLong((long) (*arg4));
23779 resultobj = t_output_helper(resultobj,o);
23780 }
23781 {
23782 if (temp3)
23783 delete arg3;
23784 }
23785 return resultobj;
23786 fail:
23787 {
23788 if (temp3)
23789 delete arg3;
23790 }
23791 return NULL;
23792}
23793
23794
23795static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23796 PyObject *resultobj;
23797 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23798 PyObject * obj0 = 0 ;
23799 char *kwnames[] = {
23800 (char *) "self", NULL
23801 };
23802
23803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23805 {
23806 PyThreadState* __tstate = wxPyBeginAllowThreads();
23807 (arg1)->DoResize();
23808
23809 wxPyEndAllowThreads(__tstate);
23810 if (PyErr_Occurred()) SWIG_fail;
23811 }
23812 Py_INCREF(Py_None); resultobj = Py_None;
23813 return resultobj;
23814 fail:
23815 return NULL;
23816}
23817
23818
23819static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23820 PyObject *resultobj;
23821 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23822 PyObject * obj0 = 0 ;
23823 char *kwnames[] = {
23824 (char *) "self", NULL
23825 };
23826
23827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23829 {
23830 PyThreadState* __tstate = wxPyBeginAllowThreads();
23831 (arg1)->ReCreateTree();
23832
23833 wxPyEndAllowThreads(__tstate);
23834 if (PyErr_Occurred()) SWIG_fail;
23835 }
23836 Py_INCREF(Py_None); resultobj = Py_None;
23837 return resultobj;
23838 fail:
23839 return NULL;
23840}
23841
23842
23843static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23844 PyObject *obj;
23845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23846 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23847 Py_INCREF(obj);
23848 return Py_BuildValue((char *)"");
23849}
23850static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23851 PyObject *resultobj;
23852 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
e811c8ce 23853 int arg2 = (int) (int)-1 ;
d14a1e28
RD
23854 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23855 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23856 wxSize const &arg4_defvalue = wxDefaultSize ;
23857 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23858 long arg5 = (long) 0 ;
23859 wxDirFilterListCtrl *result;
23860 wxPoint temp3 ;
23861 wxSize temp4 ;
23862 PyObject * obj0 = 0 ;
23863 PyObject * obj2 = 0 ;
23864 PyObject * obj3 = 0 ;
23865 char *kwnames[] = {
23866 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23867 };
23868
23869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23871 if (obj2) {
23872 {
23873 arg3 = &temp3;
23874 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23875 }
23876 }
23877 if (obj3) {
23878 {
23879 arg4 = &temp4;
23880 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23881 }
23882 }
23883 {
23884 PyThreadState* __tstate = wxPyBeginAllowThreads();
23885 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23886
23887 wxPyEndAllowThreads(__tstate);
23888 if (PyErr_Occurred()) SWIG_fail;
23889 }
23890 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23891 return resultobj;
23892 fail:
23893 return NULL;
23894}
23895
23896
23897static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23898 PyObject *resultobj;
23899 wxDirFilterListCtrl *result;
23900 char *kwnames[] = {
23901 NULL
23902 };
23903
23904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
23905 {
23906 PyThreadState* __tstate = wxPyBeginAllowThreads();
23907 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
23908
23909 wxPyEndAllowThreads(__tstate);
23910 if (PyErr_Occurred()) SWIG_fail;
23911 }
23912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23913 return resultobj;
23914 fail:
23915 return NULL;
23916}
23917
23918
23919static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23920 PyObject *resultobj;
23921 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23922 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
e811c8ce 23923 int arg3 = (int) (int)-1 ;
d14a1e28
RD
23924 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23925 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23926 wxSize const &arg5_defvalue = wxDefaultSize ;
23927 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23928 long arg6 = (long) 0 ;
23929 bool result;
23930 wxPoint temp4 ;
23931 wxSize temp5 ;
23932 PyObject * obj0 = 0 ;
23933 PyObject * obj1 = 0 ;
23934 PyObject * obj3 = 0 ;
23935 PyObject * obj4 = 0 ;
23936 char *kwnames[] = {
23937 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23938 };
23939
23940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
23941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23943 if (obj3) {
23944 {
23945 arg4 = &temp4;
23946 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23947 }
23948 }
23949 if (obj4) {
23950 {
23951 arg5 = &temp5;
23952 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23953 }
23954 }
23955 {
23956 PyThreadState* __tstate = wxPyBeginAllowThreads();
23957 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
23958
23959 wxPyEndAllowThreads(__tstate);
23960 if (PyErr_Occurred()) SWIG_fail;
23961 }
23962 resultobj = PyInt_FromLong((long)result);
23963 return resultobj;
23964 fail:
23965 return NULL;
23966}
23967
23968
23969static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
23970 PyObject *resultobj;
23971 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23972 wxString *arg2 = 0 ;
23973 int arg3 ;
e811c8ce 23974 bool temp2 = False ;
d14a1e28
RD
23975 PyObject * obj0 = 0 ;
23976 PyObject * obj1 = 0 ;
23977 char *kwnames[] = {
23978 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23979 };
23980
23981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
23982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23983 {
23984 arg2 = wxString_in_helper(obj1);
23985 if (arg2 == NULL) SWIG_fail;
e811c8ce 23986 temp2 = True;
d14a1e28
RD
23987 }
23988 {
23989 PyThreadState* __tstate = wxPyBeginAllowThreads();
23990 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
23991
23992 wxPyEndAllowThreads(__tstate);
23993 if (PyErr_Occurred()) SWIG_fail;
23994 }
23995 Py_INCREF(Py_None); resultobj = Py_None;
23996 {
23997 if (temp2)
23998 delete arg2;
23999 }
24000 return resultobj;
24001 fail:
24002 {
24003 if (temp2)
24004 delete arg2;
24005 }
24006 return NULL;
24007}
24008
24009
24010static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24011 PyObject *obj;
24012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24013 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24014 Py_INCREF(obj);
24015 return Py_BuildValue((char *)"");
24016}
24017static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24018 PyObject *resultobj;
24019 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 24020 int arg2 ;
d14a1e28
RD
24021 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24022 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24023 wxSize const &arg4_defvalue = wxDefaultSize ;
24024 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24025 long arg5 = (long) 0 ;
24026 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24027 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24028 wxString const &arg7_defvalue = wxPyControlNameStr ;
24029 wxString *arg7 = (wxString *) &arg7_defvalue ;
24030 wxPyControl *result;
24031 wxPoint temp3 ;
24032 wxSize temp4 ;
e811c8ce 24033 bool temp7 = False ;
d14a1e28
RD
24034 PyObject * obj0 = 0 ;
24035 PyObject * obj2 = 0 ;
24036 PyObject * obj3 = 0 ;
24037 PyObject * obj5 = 0 ;
24038 PyObject * obj6 = 0 ;
24039 char *kwnames[] = {
24040 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24041 };
24042
24043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24045 if (obj2) {
24046 {
24047 arg3 = &temp3;
24048 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24049 }
24050 }
24051 if (obj3) {
24052 {
24053 arg4 = &temp4;
24054 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24055 }
24056 }
24057 if (obj5) {
24058 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24059 if (arg6 == NULL) {
24060 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24061 }
24062 }
24063 if (obj6) {
24064 {
24065 arg7 = wxString_in_helper(obj6);
24066 if (arg7 == NULL) SWIG_fail;
e811c8ce 24067 temp7 = True;
d14a1e28
RD
24068 }
24069 }
24070 {
24071 PyThreadState* __tstate = wxPyBeginAllowThreads();
24072 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24073
24074 wxPyEndAllowThreads(__tstate);
24075 if (PyErr_Occurred()) SWIG_fail;
24076 }
24077 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24078 {
24079 if (temp7)
24080 delete arg7;
24081 }
24082 return resultobj;
24083 fail:
24084 {
24085 if (temp7)
24086 delete arg7;
24087 }
24088 return NULL;
24089}
24090
24091
24092static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24093 PyObject *resultobj;
24094 wxPyControl *arg1 = (wxPyControl *) 0 ;
24095 PyObject *arg2 = (PyObject *) 0 ;
24096 PyObject *arg3 = (PyObject *) 0 ;
24097 PyObject * obj0 = 0 ;
24098 PyObject * obj1 = 0 ;
24099 PyObject * obj2 = 0 ;
24100 char *kwnames[] = {
24101 (char *) "self",(char *) "self",(char *) "_class", NULL
24102 };
24103
24104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24106 arg2 = obj1;
24107 arg3 = obj2;
24108 {
24109 PyThreadState* __tstate = wxPyBeginAllowThreads();
24110 (arg1)->_setCallbackInfo(arg2,arg3);
24111
24112 wxPyEndAllowThreads(__tstate);
24113 if (PyErr_Occurred()) SWIG_fail;
24114 }
24115 Py_INCREF(Py_None); resultobj = Py_None;
24116 return resultobj;
24117 fail:
24118 return NULL;
24119}
24120
24121
24122static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24123 PyObject *resultobj;
24124 wxPyControl *arg1 = (wxPyControl *) 0 ;
24125 int arg2 ;
24126 int arg3 ;
24127 int arg4 ;
24128 int arg5 ;
24129 PyObject * obj0 = 0 ;
24130 char *kwnames[] = {
24131 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24132 };
24133
24134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24136 {
24137 PyThreadState* __tstate = wxPyBeginAllowThreads();
24138 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24139
24140 wxPyEndAllowThreads(__tstate);
24141 if (PyErr_Occurred()) SWIG_fail;
24142 }
24143 Py_INCREF(Py_None); resultobj = Py_None;
24144 return resultobj;
24145 fail:
24146 return NULL;
24147}
24148
24149
24150static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24151 PyObject *resultobj;
24152 wxPyControl *arg1 = (wxPyControl *) 0 ;
24153 int arg2 ;
24154 int arg3 ;
24155 int arg4 ;
24156 int arg5 ;
24157 int arg6 = (int) wxSIZE_AUTO ;
24158 PyObject * obj0 = 0 ;
24159 char *kwnames[] = {
24160 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24161 };
24162
24163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24165 {
24166 PyThreadState* __tstate = wxPyBeginAllowThreads();
24167 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24168
24169 wxPyEndAllowThreads(__tstate);
24170 if (PyErr_Occurred()) SWIG_fail;
24171 }
24172 Py_INCREF(Py_None); resultobj = Py_None;
24173 return resultobj;
24174 fail:
24175 return NULL;
24176}
24177
24178
24179static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24180 PyObject *resultobj;
24181 wxPyControl *arg1 = (wxPyControl *) 0 ;
24182 int arg2 ;
24183 int arg3 ;
24184 PyObject * obj0 = 0 ;
24185 char *kwnames[] = {
24186 (char *) "self",(char *) "width",(char *) "height", NULL
24187 };
24188
24189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24191 {
24192 PyThreadState* __tstate = wxPyBeginAllowThreads();
24193 (arg1)->base_DoSetClientSize(arg2,arg3);
24194
24195 wxPyEndAllowThreads(__tstate);
24196 if (PyErr_Occurred()) SWIG_fail;
24197 }
24198 Py_INCREF(Py_None); resultobj = Py_None;
24199 return resultobj;
24200 fail:
24201 return NULL;
24202}
24203
24204
24205static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24206 PyObject *resultobj;
24207 wxPyControl *arg1 = (wxPyControl *) 0 ;
24208 int arg2 ;
24209 int arg3 ;
24210 PyObject * obj0 = 0 ;
24211 char *kwnames[] = {
24212 (char *) "self",(char *) "x",(char *) "y", NULL
24213 };
24214
24215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24217 {
24218 PyThreadState* __tstate = wxPyBeginAllowThreads();
24219 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24220
24221 wxPyEndAllowThreads(__tstate);
24222 if (PyErr_Occurred()) SWIG_fail;
24223 }
24224 Py_INCREF(Py_None); resultobj = Py_None;
24225 return resultobj;
24226 fail:
24227 return NULL;
24228}
24229
24230
24231static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24232 PyObject *resultobj;
24233 wxPyControl *arg1 = (wxPyControl *) 0 ;
24234 int *arg2 = (int *) 0 ;
24235 int *arg3 = (int *) 0 ;
24236 int temp2 ;
24237 int temp3 ;
24238 PyObject * obj0 = 0 ;
24239 char *kwnames[] = {
24240 (char *) "self", NULL
24241 };
24242
24243 arg2 = &temp2;
24244 arg3 = &temp3;
24245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24247 {
24248 PyThreadState* __tstate = wxPyBeginAllowThreads();
24249 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24250
24251 wxPyEndAllowThreads(__tstate);
24252 if (PyErr_Occurred()) SWIG_fail;
24253 }
24254 Py_INCREF(Py_None); resultobj = Py_None;
24255 {
24256 PyObject *o = PyInt_FromLong((long) (*arg2));
24257 resultobj = t_output_helper(resultobj,o);
24258 }
24259 {
24260 PyObject *o = PyInt_FromLong((long) (*arg3));
24261 resultobj = t_output_helper(resultobj,o);
24262 }
24263 return resultobj;
24264 fail:
24265 return NULL;
24266}
24267
24268
24269static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24270 PyObject *resultobj;
24271 wxPyControl *arg1 = (wxPyControl *) 0 ;
24272 int *arg2 = (int *) 0 ;
24273 int *arg3 = (int *) 0 ;
24274 int temp2 ;
24275 int temp3 ;
24276 PyObject * obj0 = 0 ;
24277 char *kwnames[] = {
24278 (char *) "self", NULL
24279 };
24280
24281 arg2 = &temp2;
24282 arg3 = &temp3;
24283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24285 {
24286 PyThreadState* __tstate = wxPyBeginAllowThreads();
24287 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24288
24289 wxPyEndAllowThreads(__tstate);
24290 if (PyErr_Occurred()) SWIG_fail;
24291 }
24292 Py_INCREF(Py_None); resultobj = Py_None;
24293 {
24294 PyObject *o = PyInt_FromLong((long) (*arg2));
24295 resultobj = t_output_helper(resultobj,o);
24296 }
24297 {
24298 PyObject *o = PyInt_FromLong((long) (*arg3));
24299 resultobj = t_output_helper(resultobj,o);
24300 }
24301 return resultobj;
24302 fail:
24303 return NULL;
24304}
24305
24306
24307static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24308 PyObject *resultobj;
24309 wxPyControl *arg1 = (wxPyControl *) 0 ;
24310 int *arg2 = (int *) 0 ;
24311 int *arg3 = (int *) 0 ;
24312 int temp2 ;
24313 int temp3 ;
24314 PyObject * obj0 = 0 ;
24315 char *kwnames[] = {
24316 (char *) "self", NULL
24317 };
24318
24319 arg2 = &temp2;
24320 arg3 = &temp3;
24321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24323 {
24324 PyThreadState* __tstate = wxPyBeginAllowThreads();
24325 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24326
24327 wxPyEndAllowThreads(__tstate);
24328 if (PyErr_Occurred()) SWIG_fail;
24329 }
24330 Py_INCREF(Py_None); resultobj = Py_None;
24331 {
24332 PyObject *o = PyInt_FromLong((long) (*arg2));
24333 resultobj = t_output_helper(resultobj,o);
24334 }
24335 {
24336 PyObject *o = PyInt_FromLong((long) (*arg3));
24337 resultobj = t_output_helper(resultobj,o);
24338 }
24339 return resultobj;
24340 fail:
24341 return NULL;
24342}
24343
24344
24345static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24346 PyObject *resultobj;
24347 wxPyControl *arg1 = (wxPyControl *) 0 ;
24348 wxSize result;
24349 PyObject * obj0 = 0 ;
24350 char *kwnames[] = {
24351 (char *) "self", NULL
24352 };
24353
24354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24356 {
24357 PyThreadState* __tstate = wxPyBeginAllowThreads();
24358 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24359
24360 wxPyEndAllowThreads(__tstate);
24361 if (PyErr_Occurred()) SWIG_fail;
24362 }
24363 {
24364 wxSize * resultptr;
24365 resultptr = new wxSize((wxSize &) result);
24366 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24367 }
24368 return resultobj;
24369 fail:
24370 return NULL;
24371}
24372
24373
24374static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24375 PyObject *resultobj;
24376 wxPyControl *arg1 = (wxPyControl *) 0 ;
24377 wxSize result;
24378 PyObject * obj0 = 0 ;
24379 char *kwnames[] = {
24380 (char *) "self", NULL
24381 };
24382
24383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24385 {
24386 PyThreadState* __tstate = wxPyBeginAllowThreads();
24387 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24388
24389 wxPyEndAllowThreads(__tstate);
24390 if (PyErr_Occurred()) SWIG_fail;
24391 }
24392 {
24393 wxSize * resultptr;
24394 resultptr = new wxSize((wxSize &) result);
24395 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24396 }
24397 return resultobj;
24398 fail:
24399 return NULL;
24400}
24401
24402
24403static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24404 PyObject *resultobj;
24405 wxPyControl *arg1 = (wxPyControl *) 0 ;
24406 PyObject * obj0 = 0 ;
24407 char *kwnames[] = {
24408 (char *) "self", NULL
24409 };
24410
24411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24413 {
24414 PyThreadState* __tstate = wxPyBeginAllowThreads();
24415 (arg1)->base_InitDialog();
24416
24417 wxPyEndAllowThreads(__tstate);
24418 if (PyErr_Occurred()) SWIG_fail;
24419 }
24420 Py_INCREF(Py_None); resultobj = Py_None;
24421 return resultobj;
24422 fail:
24423 return NULL;
24424}
24425
24426
24427static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24428 PyObject *resultobj;
24429 wxPyControl *arg1 = (wxPyControl *) 0 ;
24430 bool result;
24431 PyObject * obj0 = 0 ;
24432 char *kwnames[] = {
24433 (char *) "self", NULL
24434 };
24435
24436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24438 {
24439 PyThreadState* __tstate = wxPyBeginAllowThreads();
24440 result = (bool)(arg1)->base_TransferDataToWindow();
24441
24442 wxPyEndAllowThreads(__tstate);
24443 if (PyErr_Occurred()) SWIG_fail;
24444 }
24445 resultobj = PyInt_FromLong((long)result);
24446 return resultobj;
24447 fail:
24448 return NULL;
24449}
24450
24451
24452static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24453 PyObject *resultobj;
24454 wxPyControl *arg1 = (wxPyControl *) 0 ;
24455 bool result;
24456 PyObject * obj0 = 0 ;
24457 char *kwnames[] = {
24458 (char *) "self", NULL
24459 };
24460
24461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24463 {
24464 PyThreadState* __tstate = wxPyBeginAllowThreads();
24465 result = (bool)(arg1)->base_TransferDataFromWindow();
24466
24467 wxPyEndAllowThreads(__tstate);
24468 if (PyErr_Occurred()) SWIG_fail;
24469 }
24470 resultobj = PyInt_FromLong((long)result);
24471 return resultobj;
24472 fail:
24473 return NULL;
24474}
24475
24476
24477static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24478 PyObject *resultobj;
24479 wxPyControl *arg1 = (wxPyControl *) 0 ;
24480 bool result;
24481 PyObject * obj0 = 0 ;
24482 char *kwnames[] = {
24483 (char *) "self", NULL
24484 };
24485
24486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24488 {
24489 PyThreadState* __tstate = wxPyBeginAllowThreads();
24490 result = (bool)(arg1)->base_Validate();
24491
24492 wxPyEndAllowThreads(__tstate);
24493 if (PyErr_Occurred()) SWIG_fail;
24494 }
24495 resultobj = PyInt_FromLong((long)result);
24496 return resultobj;
24497 fail:
24498 return NULL;
24499}
24500
24501
24502static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24503 PyObject *resultobj;
24504 wxPyControl *arg1 = (wxPyControl *) 0 ;
24505 bool result;
24506 PyObject * obj0 = 0 ;
24507 char *kwnames[] = {
24508 (char *) "self", NULL
24509 };
24510
24511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24513 {
24514 PyThreadState* __tstate = wxPyBeginAllowThreads();
24515 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24516
24517 wxPyEndAllowThreads(__tstate);
24518 if (PyErr_Occurred()) SWIG_fail;
24519 }
24520 resultobj = PyInt_FromLong((long)result);
24521 return resultobj;
24522 fail:
24523 return NULL;
24524}
24525
24526
24527static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24528 PyObject *resultobj;
24529 wxPyControl *arg1 = (wxPyControl *) 0 ;
24530 bool result;
24531 PyObject * obj0 = 0 ;
24532 char *kwnames[] = {
24533 (char *) "self", NULL
24534 };
24535
24536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) 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 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24541
24542 wxPyEndAllowThreads(__tstate);
24543 if (PyErr_Occurred()) SWIG_fail;
24544 }
24545 resultobj = PyInt_FromLong((long)result);
24546 return resultobj;
24547 fail:
24548 return NULL;
24549}
24550
24551
24552static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24553 PyObject *resultobj;
24554 wxPyControl *arg1 = (wxPyControl *) 0 ;
24555 wxSize result;
24556 PyObject * obj0 = 0 ;
24557 char *kwnames[] = {
24558 (char *) "self", NULL
24559 };
24560
24561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24563 {
24564 PyThreadState* __tstate = wxPyBeginAllowThreads();
24565 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24566
24567 wxPyEndAllowThreads(__tstate);
24568 if (PyErr_Occurred()) SWIG_fail;
24569 }
24570 {
24571 wxSize * resultptr;
24572 resultptr = new wxSize((wxSize &) result);
24573 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24574 }
24575 return resultobj;
24576 fail:
24577 return NULL;
24578}
24579
24580
24581static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24582 PyObject *resultobj;
24583 wxPyControl *arg1 = (wxPyControl *) 0 ;
24584 wxWindow *arg2 = (wxWindow *) 0 ;
24585 PyObject * obj0 = 0 ;
24586 PyObject * obj1 = 0 ;
24587 char *kwnames[] = {
24588 (char *) "self",(char *) "child", NULL
24589 };
24590
24591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24593 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24594 {
24595 PyThreadState* __tstate = wxPyBeginAllowThreads();
24596 (arg1)->base_AddChild(arg2);
24597
24598 wxPyEndAllowThreads(__tstate);
24599 if (PyErr_Occurred()) SWIG_fail;
24600 }
24601 Py_INCREF(Py_None); resultobj = Py_None;
24602 return resultobj;
24603 fail:
24604 return NULL;
24605}
24606
24607
24608static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24609 PyObject *resultobj;
24610 wxPyControl *arg1 = (wxPyControl *) 0 ;
24611 wxWindow *arg2 = (wxWindow *) 0 ;
24612 PyObject * obj0 = 0 ;
24613 PyObject * obj1 = 0 ;
24614 char *kwnames[] = {
24615 (char *) "self",(char *) "child", NULL
24616 };
24617
24618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24621 {
24622 PyThreadState* __tstate = wxPyBeginAllowThreads();
24623 (arg1)->base_RemoveChild(arg2);
24624
24625 wxPyEndAllowThreads(__tstate);
24626 if (PyErr_Occurred()) SWIG_fail;
24627 }
24628 Py_INCREF(Py_None); resultobj = Py_None;
24629 return resultobj;
24630 fail:
24631 return NULL;
24632}
24633
24634
24635static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24636 PyObject *obj;
24637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24638 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24639 Py_INCREF(obj);
24640 return Py_BuildValue((char *)"");
24641}
24642static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24643 PyObject *resultobj;
24644 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
e811c8ce 24645 int arg2 = (int) 0 ;
d14a1e28
RD
24646 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24647 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24648 wxHelpEvent *result;
24649 wxPoint temp3 ;
24650 PyObject * obj2 = 0 ;
24651 char *kwnames[] = {
24652 (char *) "type",(char *) "winid",(char *) "pt", NULL
24653 };
24654
24655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24656 if (obj2) {
24657 {
24658 arg3 = &temp3;
24659 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24660 }
24661 }
24662 {
24663 PyThreadState* __tstate = wxPyBeginAllowThreads();
24664 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24665
24666 wxPyEndAllowThreads(__tstate);
24667 if (PyErr_Occurred()) SWIG_fail;
24668 }
24669 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24670 return resultobj;
24671 fail:
24672 return NULL;
24673}
24674
24675
24676static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24677 PyObject *resultobj;
24678 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24679 wxPoint *result;
24680 PyObject * obj0 = 0 ;
24681 char *kwnames[] = {
24682 (char *) "self", NULL
24683 };
24684
24685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24687 {
24688 PyThreadState* __tstate = wxPyBeginAllowThreads();
24689 {
24690 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24691 result = (wxPoint *) &_result_ref;
24692 }
24693
24694 wxPyEndAllowThreads(__tstate);
24695 if (PyErr_Occurred()) SWIG_fail;
24696 }
24697 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24698 return resultobj;
24699 fail:
24700 return NULL;
24701}
24702
24703
24704static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24705 PyObject *resultobj;
24706 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24707 wxPoint *arg2 = 0 ;
24708 wxPoint temp2 ;
24709 PyObject * obj0 = 0 ;
24710 PyObject * obj1 = 0 ;
24711 char *kwnames[] = {
24712 (char *) "self",(char *) "pos", NULL
24713 };
24714
24715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24717 {
24718 arg2 = &temp2;
24719 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24720 }
24721 {
24722 PyThreadState* __tstate = wxPyBeginAllowThreads();
24723 (arg1)->SetPosition((wxPoint const &)*arg2);
24724
24725 wxPyEndAllowThreads(__tstate);
24726 if (PyErr_Occurred()) SWIG_fail;
24727 }
24728 Py_INCREF(Py_None); resultobj = Py_None;
24729 return resultobj;
24730 fail:
24731 return NULL;
24732}
24733
24734
24735static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24736 PyObject *resultobj;
24737 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24738 wxString *result;
24739 PyObject * obj0 = 0 ;
24740 char *kwnames[] = {
24741 (char *) "self", NULL
24742 };
24743
24744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24746 {
24747 PyThreadState* __tstate = wxPyBeginAllowThreads();
24748 {
24749 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24750 result = (wxString *) &_result_ref;
24751 }
24752
24753 wxPyEndAllowThreads(__tstate);
24754 if (PyErr_Occurred()) SWIG_fail;
24755 }
cc6dd355
RD
24756 {
24757#if wxUSE_UNICODE
24758 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24759#else
24760 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24761#endif
24762 }
d14a1e28
RD
24763 return resultobj;
24764 fail:
24765 return NULL;
24766}
24767
24768
24769static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24770 PyObject *resultobj;
24771 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24772 wxString *arg2 = 0 ;
e811c8ce 24773 bool temp2 = False ;
d14a1e28
RD
24774 PyObject * obj0 = 0 ;
24775 PyObject * obj1 = 0 ;
24776 char *kwnames[] = {
24777 (char *) "self",(char *) "link", NULL
24778 };
24779
24780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24782 {
24783 arg2 = wxString_in_helper(obj1);
24784 if (arg2 == NULL) SWIG_fail;
e811c8ce 24785 temp2 = True;
d14a1e28
RD
24786 }
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 (arg1)->SetLink((wxString const &)*arg2);
24790
24791 wxPyEndAllowThreads(__tstate);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
24794 Py_INCREF(Py_None); resultobj = Py_None;
24795 {
24796 if (temp2)
24797 delete arg2;
24798 }
24799 return resultobj;
24800 fail:
24801 {
24802 if (temp2)
24803 delete arg2;
24804 }
24805 return NULL;
24806}
24807
24808
24809static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24810 PyObject *resultobj;
24811 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24812 wxString *result;
24813 PyObject * obj0 = 0 ;
24814 char *kwnames[] = {
24815 (char *) "self", NULL
24816 };
24817
24818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24820 {
24821 PyThreadState* __tstate = wxPyBeginAllowThreads();
24822 {
24823 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24824 result = (wxString *) &_result_ref;
24825 }
24826
24827 wxPyEndAllowThreads(__tstate);
24828 if (PyErr_Occurred()) SWIG_fail;
24829 }
cc6dd355
RD
24830 {
24831#if wxUSE_UNICODE
24832 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24833#else
24834 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24835#endif
24836 }
d14a1e28
RD
24837 return resultobj;
24838 fail:
24839 return NULL;
24840}
24841
24842
24843static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24844 PyObject *resultobj;
24845 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24846 wxString *arg2 = 0 ;
e811c8ce 24847 bool temp2 = False ;
d14a1e28
RD
24848 PyObject * obj0 = 0 ;
24849 PyObject * obj1 = 0 ;
24850 char *kwnames[] = {
24851 (char *) "self",(char *) "target", NULL
24852 };
24853
24854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24856 {
24857 arg2 = wxString_in_helper(obj1);
24858 if (arg2 == NULL) SWIG_fail;
e811c8ce 24859 temp2 = True;
d14a1e28
RD
24860 }
24861 {
24862 PyThreadState* __tstate = wxPyBeginAllowThreads();
24863 (arg1)->SetTarget((wxString const &)*arg2);
24864
24865 wxPyEndAllowThreads(__tstate);
24866 if (PyErr_Occurred()) SWIG_fail;
24867 }
24868 Py_INCREF(Py_None); resultobj = Py_None;
24869 {
24870 if (temp2)
24871 delete arg2;
24872 }
24873 return resultobj;
24874 fail:
24875 {
24876 if (temp2)
24877 delete arg2;
24878 }
24879 return NULL;
24880}
24881
24882
24883static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24884 PyObject *obj;
24885 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24886 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
24887 Py_INCREF(obj);
24888 return Py_BuildValue((char *)"");
24889}
24890static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24891 PyObject *resultobj;
24892 wxWindow *arg1 = (wxWindow *) NULL ;
e811c8ce 24893 bool arg2 = (bool) True ;
d14a1e28
RD
24894 wxContextHelp *result;
24895 PyObject * obj0 = 0 ;
24896 PyObject * obj1 = 0 ;
24897 char *kwnames[] = {
24898 (char *) "window",(char *) "doNow", NULL
24899 };
24900
24901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
24902 if (obj0) {
24903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24904 }
24905 if (obj1) {
24906 arg2 = PyInt_AsLong(obj1) ? true : false;
24907 if (PyErr_Occurred()) SWIG_fail;
24908 }
24909 {
24910 PyThreadState* __tstate = wxPyBeginAllowThreads();
24911 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
24912
24913 wxPyEndAllowThreads(__tstate);
24914 if (PyErr_Occurred()) SWIG_fail;
24915 }
24916 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
24917 return resultobj;
24918 fail:
24919 return NULL;
24920}
24921
24922
24923static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24924 PyObject *resultobj;
24925 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24926 PyObject * obj0 = 0 ;
24927 char *kwnames[] = {
24928 (char *) "self", NULL
24929 };
24930
24931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
24932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24933 {
24934 PyThreadState* __tstate = wxPyBeginAllowThreads();
24935 delete arg1;
24936
24937 wxPyEndAllowThreads(__tstate);
24938 if (PyErr_Occurred()) SWIG_fail;
24939 }
24940 Py_INCREF(Py_None); resultobj = Py_None;
24941 return resultobj;
24942 fail:
24943 return NULL;
24944}
24945
24946
24947static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24948 PyObject *resultobj;
24949 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24950 wxWindow *arg2 = (wxWindow *) NULL ;
24951 bool result;
24952 PyObject * obj0 = 0 ;
24953 PyObject * obj1 = 0 ;
24954 char *kwnames[] = {
24955 (char *) "self",(char *) "window", NULL
24956 };
24957
24958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
24959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24960 if (obj1) {
24961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24962 }
24963 {
24964 PyThreadState* __tstate = wxPyBeginAllowThreads();
24965 result = (bool)(arg1)->BeginContextHelp(arg2);
24966
24967 wxPyEndAllowThreads(__tstate);
24968 if (PyErr_Occurred()) SWIG_fail;
24969 }
24970 resultobj = PyInt_FromLong((long)result);
24971 return resultobj;
24972 fail:
24973 return NULL;
24974}
24975
24976
24977static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24978 PyObject *resultobj;
24979 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24980 bool result;
24981 PyObject * obj0 = 0 ;
24982 char *kwnames[] = {
24983 (char *) "self", NULL
24984 };
24985
24986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
24987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24988 {
24989 PyThreadState* __tstate = wxPyBeginAllowThreads();
24990 result = (bool)(arg1)->EndContextHelp();
24991
24992 wxPyEndAllowThreads(__tstate);
24993 if (PyErr_Occurred()) SWIG_fail;
24994 }
24995 resultobj = PyInt_FromLong((long)result);
24996 return resultobj;
24997 fail:
24998 return NULL;
24999}
25000
25001
25002static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25003 PyObject *obj;
25004 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25005 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25006 Py_INCREF(obj);
25007 return Py_BuildValue((char *)"");
25008}
25009static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25010 PyObject *resultobj;
25011 wxWindow *arg1 = (wxWindow *) 0 ;
e811c8ce 25012 int arg2 = (int) wxID_CONTEXT_HELP ;
d14a1e28
RD
25013 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25014 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25015 wxSize const &arg4_defvalue = wxDefaultSize ;
25016 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25017 long arg5 = (long) wxBU_AUTODRAW ;
25018 wxContextHelpButton *result;
25019 wxPoint temp3 ;
25020 wxSize temp4 ;
25021 PyObject * obj0 = 0 ;
25022 PyObject * obj2 = 0 ;
25023 PyObject * obj3 = 0 ;
25024 char *kwnames[] = {
25025 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25026 };
25027
25028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25030 if (obj2) {
25031 {
25032 arg3 = &temp3;
25033 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25034 }
25035 }
25036 if (obj3) {
25037 {
25038 arg4 = &temp4;
25039 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25040 }
25041 }
25042 {
25043 PyThreadState* __tstate = wxPyBeginAllowThreads();
25044 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25045
25046 wxPyEndAllowThreads(__tstate);
25047 if (PyErr_Occurred()) SWIG_fail;
25048 }
25049 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25050 return resultobj;
25051 fail:
25052 return NULL;
25053}
25054
25055
25056static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25057 PyObject *obj;
25058 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25059 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25060 Py_INCREF(obj);
25061 return Py_BuildValue((char *)"");
25062}
25063static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25064 PyObject *resultobj;
25065 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25066 wxHelpProvider *result;
25067 PyObject * obj0 = 0 ;
25068 char *kwnames[] = {
25069 (char *) "helpProvider", NULL
25070 };
25071
25072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25074 {
25075 PyThreadState* __tstate = wxPyBeginAllowThreads();
25076 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25077
25078 wxPyEndAllowThreads(__tstate);
25079 if (PyErr_Occurred()) SWIG_fail;
25080 }
25081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25082 return resultobj;
25083 fail:
25084 return NULL;
25085}
25086
25087
25088static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25089 PyObject *resultobj;
25090 wxHelpProvider *result;
25091 char *kwnames[] = {
25092 NULL
25093 };
25094
25095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25096 {
25097 PyThreadState* __tstate = wxPyBeginAllowThreads();
25098 result = (wxHelpProvider *)wxHelpProvider::Get();
25099
25100 wxPyEndAllowThreads(__tstate);
25101 if (PyErr_Occurred()) SWIG_fail;
25102 }
25103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25104 return resultobj;
25105 fail:
25106 return NULL;
25107}
25108
25109
25110static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25111 PyObject *resultobj;
25112 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25113 wxWindow *arg2 = (wxWindow *) 0 ;
25114 wxString result;
25115 PyObject * obj0 = 0 ;
25116 PyObject * obj1 = 0 ;
25117 char *kwnames[] = {
25118 (char *) "self",(char *) "window", NULL
25119 };
25120
25121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25124 {
25125 PyThreadState* __tstate = wxPyBeginAllowThreads();
25126 result = (arg1)->GetHelp((wxWindow const *)arg2);
25127
25128 wxPyEndAllowThreads(__tstate);
25129 if (PyErr_Occurred()) SWIG_fail;
25130 }
25131 {
25132#if wxUSE_UNICODE
25133 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25134#else
25135 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25136#endif
25137 }
25138 return resultobj;
25139 fail:
25140 return NULL;
25141}
25142
25143
25144static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25145 PyObject *resultobj;
25146 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25147 wxWindow *arg2 = (wxWindow *) 0 ;
25148 bool result;
25149 PyObject * obj0 = 0 ;
25150 PyObject * obj1 = 0 ;
25151 char *kwnames[] = {
25152 (char *) "self",(char *) "window", NULL
25153 };
25154
25155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25157 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 result = (bool)(arg1)->ShowHelp(arg2);
25161
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 resultobj = PyInt_FromLong((long)result);
25166 return resultobj;
25167 fail:
25168 return NULL;
25169}
25170
25171
25172static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25173 PyObject *resultobj;
25174 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25175 wxWindow *arg2 = (wxWindow *) 0 ;
25176 wxString *arg3 = 0 ;
e811c8ce 25177 bool temp3 = False ;
d14a1e28
RD
25178 PyObject * obj0 = 0 ;
25179 PyObject * obj1 = 0 ;
25180 PyObject * obj2 = 0 ;
25181 char *kwnames[] = {
25182 (char *) "self",(char *) "window",(char *) "text", NULL
25183 };
25184
25185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25188 {
25189 arg3 = wxString_in_helper(obj2);
25190 if (arg3 == NULL) SWIG_fail;
e811c8ce 25191 temp3 = True;
d14a1e28
RD
25192 }
25193 {
25194 PyThreadState* __tstate = wxPyBeginAllowThreads();
25195 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25196
25197 wxPyEndAllowThreads(__tstate);
25198 if (PyErr_Occurred()) SWIG_fail;
25199 }
25200 Py_INCREF(Py_None); resultobj = Py_None;
25201 {
25202 if (temp3)
25203 delete arg3;
25204 }
25205 return resultobj;
25206 fail:
25207 {
25208 if (temp3)
25209 delete arg3;
25210 }
25211 return NULL;
25212}
25213
25214
25215static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25216 PyObject *resultobj;
25217 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
e811c8ce 25218 int arg2 ;
d14a1e28 25219 wxString *arg3 = 0 ;
e811c8ce 25220 bool temp3 = False ;
d14a1e28
RD
25221 PyObject * obj0 = 0 ;
25222 PyObject * obj2 = 0 ;
25223 char *kwnames[] = {
25224 (char *) "self",(char *) "id",(char *) "text", NULL
25225 };
25226
25227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25229 {
25230 arg3 = wxString_in_helper(obj2);
25231 if (arg3 == NULL) SWIG_fail;
e811c8ce 25232 temp3 = True;
d14a1e28
RD
25233 }
25234 {
25235 PyThreadState* __tstate = wxPyBeginAllowThreads();
25236 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25237
25238 wxPyEndAllowThreads(__tstate);
25239 if (PyErr_Occurred()) SWIG_fail;
25240 }
25241 Py_INCREF(Py_None); resultobj = Py_None;
25242 {
25243 if (temp3)
25244 delete arg3;
25245 }
25246 return resultobj;
25247 fail:
25248 {
25249 if (temp3)
25250 delete arg3;
25251 }
25252 return NULL;
25253}
25254
25255
25256static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25257 PyObject *resultobj;
25258 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25259 PyObject * obj0 = 0 ;
25260 char *kwnames[] = {
25261 (char *) "self", NULL
25262 };
25263
25264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25266 {
25267 PyThreadState* __tstate = wxPyBeginAllowThreads();
25268 wxHelpProvider_Destroy(arg1);
25269
25270 wxPyEndAllowThreads(__tstate);
25271 if (PyErr_Occurred()) SWIG_fail;
25272 }
25273 Py_INCREF(Py_None); resultobj = Py_None;
25274 return resultobj;
25275 fail:
25276 return NULL;
25277}
25278
25279
25280static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25281 PyObject *obj;
25282 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25283 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25284 Py_INCREF(obj);
25285 return Py_BuildValue((char *)"");
25286}
25287static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25288 PyObject *resultobj;
25289 wxSimpleHelpProvider *result;
25290 char *kwnames[] = {
25291 NULL
25292 };
25293
25294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25295 {
25296 PyThreadState* __tstate = wxPyBeginAllowThreads();
25297 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25298
25299 wxPyEndAllowThreads(__tstate);
25300 if (PyErr_Occurred()) SWIG_fail;
25301 }
25302 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25303 return resultobj;
25304 fail:
25305 return NULL;
25306}
25307
25308
25309static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25310 PyObject *obj;
25311 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25312 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25313 Py_INCREF(obj);
25314 return Py_BuildValue((char *)"");
25315}
e811c8ce
RD
25316static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25317 PyObject *resultobj;
25318 wxBitmap *arg1 = 0 ;
25319 wxCursor const &arg2_defvalue = wxNullCursor ;
25320 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25321 wxGenericDragImage *result;
25322 PyObject * obj0 = 0 ;
25323 PyObject * obj1 = 0 ;
25324 char *kwnames[] = {
25325 (char *) "image",(char *) "cursor", NULL
25326 };
25327
25328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25330 if (arg1 == NULL) {
25331 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25332 }
25333 if (obj1) {
25334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25335 if (arg2 == NULL) {
25336 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25337 }
25338 }
25339 {
25340 PyThreadState* __tstate = wxPyBeginAllowThreads();
25341 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25342
25343 wxPyEndAllowThreads(__tstate);
25344 if (PyErr_Occurred()) SWIG_fail;
25345 }
25346 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25347 return resultobj;
25348 fail:
25349 return NULL;
25350}
25351
25352
25353static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25354 PyObject *resultobj;
25355 wxIcon *arg1 = 0 ;
25356 wxCursor const &arg2_defvalue = wxNullCursor ;
25357 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25358 wxGenericDragImage *result;
25359 PyObject * obj0 = 0 ;
25360 PyObject * obj1 = 0 ;
25361 char *kwnames[] = {
25362 (char *) "image",(char *) "cursor", NULL
25363 };
25364
25365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25367 if (arg1 == NULL) {
25368 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25369 }
25370 if (obj1) {
25371 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25372 if (arg2 == NULL) {
25373 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25374 }
25375 }
25376 {
25377 PyThreadState* __tstate = wxPyBeginAllowThreads();
25378 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25379
25380 wxPyEndAllowThreads(__tstate);
25381 if (PyErr_Occurred()) SWIG_fail;
25382 }
25383 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25384 return resultobj;
25385 fail:
25386 return NULL;
25387}
25388
25389
25390static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25391 PyObject *resultobj;
25392 wxString *arg1 = 0 ;
25393 wxCursor const &arg2_defvalue = wxNullCursor ;
25394 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25395 wxGenericDragImage *result;
25396 bool temp1 = False ;
25397 PyObject * obj0 = 0 ;
25398 PyObject * obj1 = 0 ;
25399 char *kwnames[] = {
25400 (char *) "str",(char *) "cursor", NULL
25401 };
25402
25403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25404 {
25405 arg1 = wxString_in_helper(obj0);
25406 if (arg1 == NULL) SWIG_fail;
25407 temp1 = True;
25408 }
25409 if (obj1) {
25410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25411 if (arg2 == NULL) {
25412 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25413 }
25414 }
25415 {
25416 PyThreadState* __tstate = wxPyBeginAllowThreads();
25417 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25418
25419 wxPyEndAllowThreads(__tstate);
25420 if (PyErr_Occurred()) SWIG_fail;
25421 }
25422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25423 {
25424 if (temp1)
25425 delete arg1;
25426 }
25427 return resultobj;
25428 fail:
25429 {
25430 if (temp1)
25431 delete arg1;
25432 }
25433 return NULL;
25434}
25435
25436
25437static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25438 PyObject *resultobj;
25439 wxPyTreeCtrl *arg1 = 0 ;
25440 wxTreeItemId *arg2 = 0 ;
25441 wxGenericDragImage *result;
25442 PyObject * obj0 = 0 ;
25443 PyObject * obj1 = 0 ;
25444 char *kwnames[] = {
25445 (char *) "treeCtrl",(char *) "id", NULL
25446 };
25447
25448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25450 if (arg1 == NULL) {
25451 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25452 }
25453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25454 if (arg2 == NULL) {
25455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25456 }
25457 {
25458 PyThreadState* __tstate = wxPyBeginAllowThreads();
25459 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25460
25461 wxPyEndAllowThreads(__tstate);
25462 if (PyErr_Occurred()) SWIG_fail;
25463 }
25464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25465 return resultobj;
25466 fail:
25467 return NULL;
25468}
25469
25470
25471static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25472 PyObject *resultobj;
25473 wxPyListCtrl *arg1 = 0 ;
25474 long arg2 ;
25475 wxGenericDragImage *result;
25476 PyObject * obj0 = 0 ;
25477 char *kwnames[] = {
25478 (char *) "listCtrl",(char *) "id", NULL
25479 };
25480
25481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25483 if (arg1 == NULL) {
25484 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25485 }
25486 {
25487 PyThreadState* __tstate = wxPyBeginAllowThreads();
25488 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25489
25490 wxPyEndAllowThreads(__tstate);
25491 if (PyErr_Occurred()) SWIG_fail;
25492 }
25493 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25494 return resultobj;
25495 fail:
25496 return NULL;
25497}
25498
25499
25500static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25501 PyObject *resultobj;
25502 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25503 PyObject * obj0 = 0 ;
25504 char *kwnames[] = {
25505 (char *) "self", NULL
25506 };
25507
25508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25510 {
25511 PyThreadState* __tstate = wxPyBeginAllowThreads();
25512 delete arg1;
25513
25514 wxPyEndAllowThreads(__tstate);
25515 if (PyErr_Occurred()) SWIG_fail;
25516 }
25517 Py_INCREF(Py_None); resultobj = Py_None;
25518 return resultobj;
25519 fail:
25520 return NULL;
25521}
25522
25523
25524static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25525 PyObject *resultobj;
25526 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25527 wxBitmap *arg2 = (wxBitmap *) 0 ;
25528 PyObject * obj0 = 0 ;
25529 PyObject * obj1 = 0 ;
25530 char *kwnames[] = {
25531 (char *) "self",(char *) "bitmap", NULL
25532 };
25533
25534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25536 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25537 {
25538 PyThreadState* __tstate = wxPyBeginAllowThreads();
25539 (arg1)->SetBackingBitmap(arg2);
25540
25541 wxPyEndAllowThreads(__tstate);
25542 if (PyErr_Occurred()) SWIG_fail;
25543 }
25544 Py_INCREF(Py_None); resultobj = Py_None;
25545 return resultobj;
25546 fail:
25547 return NULL;
25548}
25549
25550
25551static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25552 PyObject *resultobj;
25553 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25554 wxPoint *arg2 = 0 ;
25555 wxWindow *arg3 = (wxWindow *) 0 ;
25556 bool arg4 = (bool) False ;
25557 wxRect *arg5 = (wxRect *) NULL ;
25558 bool result;
25559 wxPoint temp2 ;
25560 PyObject * obj0 = 0 ;
25561 PyObject * obj1 = 0 ;
25562 PyObject * obj2 = 0 ;
25563 PyObject * obj3 = 0 ;
25564 PyObject * obj4 = 0 ;
25565 char *kwnames[] = {
25566 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25567 };
25568
25569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25571 {
25572 arg2 = &temp2;
25573 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25574 }
25575 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25576 if (obj3) {
25577 arg4 = PyInt_AsLong(obj3) ? true : false;
25578 if (PyErr_Occurred()) SWIG_fail;
25579 }
25580 if (obj4) {
25581 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25582 }
25583 {
25584 PyThreadState* __tstate = wxPyBeginAllowThreads();
25585 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25586
25587 wxPyEndAllowThreads(__tstate);
25588 if (PyErr_Occurred()) SWIG_fail;
25589 }
25590 resultobj = PyInt_FromLong((long)result);
25591 return resultobj;
25592 fail:
25593 return NULL;
25594}
25595
25596
25597static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25598 PyObject *resultobj;
25599 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25600 wxPoint *arg2 = 0 ;
25601 wxWindow *arg3 = (wxWindow *) 0 ;
25602 wxWindow *arg4 = (wxWindow *) 0 ;
25603 bool result;
25604 wxPoint temp2 ;
25605 PyObject * obj0 = 0 ;
25606 PyObject * obj1 = 0 ;
25607 PyObject * obj2 = 0 ;
25608 PyObject * obj3 = 0 ;
25609 char *kwnames[] = {
25610 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25611 };
25612
25613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25615 {
25616 arg2 = &temp2;
25617 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25618 }
25619 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25620 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25621 {
25622 PyThreadState* __tstate = wxPyBeginAllowThreads();
25623 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
25624
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 resultobj = PyInt_FromLong((long)result);
25629 return resultobj;
25630 fail:
25631 return NULL;
25632}
25633
25634
25635static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25636 PyObject *resultobj;
25637 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25638 bool result;
25639 PyObject * obj0 = 0 ;
25640 char *kwnames[] = {
25641 (char *) "self", NULL
25642 };
25643
25644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
25645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25646 {
25647 PyThreadState* __tstate = wxPyBeginAllowThreads();
25648 result = (bool)(arg1)->EndDrag();
25649
25650 wxPyEndAllowThreads(__tstate);
25651 if (PyErr_Occurred()) SWIG_fail;
25652 }
25653 resultobj = PyInt_FromLong((long)result);
25654 return resultobj;
25655 fail:
25656 return NULL;
25657}
25658
25659
25660static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
25661 PyObject *resultobj;
25662 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25663 wxPoint *arg2 = 0 ;
25664 bool result;
25665 wxPoint temp2 ;
25666 PyObject * obj0 = 0 ;
25667 PyObject * obj1 = 0 ;
25668 char *kwnames[] = {
25669 (char *) "self",(char *) "pt", NULL
25670 };
25671
25672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
25673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25674 {
25675 arg2 = &temp2;
25676 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25677 }
25678 {
25679 PyThreadState* __tstate = wxPyBeginAllowThreads();
25680 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
25681
25682 wxPyEndAllowThreads(__tstate);
25683 if (PyErr_Occurred()) SWIG_fail;
25684 }
25685 resultobj = PyInt_FromLong((long)result);
25686 return resultobj;
25687 fail:
25688 return NULL;
25689}
25690
25691
25692static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
25693 PyObject *resultobj;
25694 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25695 bool result;
25696 PyObject * obj0 = 0 ;
25697 char *kwnames[] = {
25698 (char *) "self", NULL
25699 };
25700
25701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
25702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25703 {
25704 PyThreadState* __tstate = wxPyBeginAllowThreads();
25705 result = (bool)(arg1)->Show();
25706
25707 wxPyEndAllowThreads(__tstate);
25708 if (PyErr_Occurred()) SWIG_fail;
25709 }
25710 resultobj = PyInt_FromLong((long)result);
25711 return resultobj;
25712 fail:
25713 return NULL;
25714}
25715
25716
25717static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
25718 PyObject *resultobj;
25719 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25720 bool result;
25721 PyObject * obj0 = 0 ;
25722 char *kwnames[] = {
25723 (char *) "self", NULL
25724 };
25725
25726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
25727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25728 {
25729 PyThreadState* __tstate = wxPyBeginAllowThreads();
25730 result = (bool)(arg1)->Hide();
25731
25732 wxPyEndAllowThreads(__tstate);
25733 if (PyErr_Occurred()) SWIG_fail;
25734 }
25735 resultobj = PyInt_FromLong((long)result);
25736 return resultobj;
25737 fail:
25738 return NULL;
25739}
25740
25741
25742static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25743 PyObject *resultobj;
25744 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25745 wxPoint *arg2 = 0 ;
25746 wxRect result;
25747 wxPoint temp2 ;
25748 PyObject * obj0 = 0 ;
25749 PyObject * obj1 = 0 ;
25750 char *kwnames[] = {
25751 (char *) "self",(char *) "pos", NULL
25752 };
25753
25754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
25755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25756 {
25757 arg2 = &temp2;
25758 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25759 }
25760 {
25761 PyThreadState* __tstate = wxPyBeginAllowThreads();
25762 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
25763
25764 wxPyEndAllowThreads(__tstate);
25765 if (PyErr_Occurred()) SWIG_fail;
25766 }
25767 {
25768 wxRect * resultptr;
25769 resultptr = new wxRect((wxRect &) result);
25770 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
25771 }
25772 return resultobj;
25773 fail:
25774 return NULL;
25775}
25776
25777
25778static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25779 PyObject *resultobj;
25780 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25781 wxDC *arg2 = 0 ;
25782 wxPoint *arg3 = 0 ;
25783 bool result;
25784 wxPoint temp3 ;
25785 PyObject * obj0 = 0 ;
25786 PyObject * obj1 = 0 ;
25787 PyObject * obj2 = 0 ;
25788 char *kwnames[] = {
25789 (char *) "self",(char *) "dc",(char *) "pos", NULL
25790 };
25791
25792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25794 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25795 if (arg2 == NULL) {
25796 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25797 }
25798 {
25799 arg3 = &temp3;
25800 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25801 }
25802 {
25803 PyThreadState* __tstate = wxPyBeginAllowThreads();
25804 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
25805
25806 wxPyEndAllowThreads(__tstate);
25807 if (PyErr_Occurred()) SWIG_fail;
25808 }
25809 resultobj = PyInt_FromLong((long)result);
25810 return resultobj;
25811 fail:
25812 return NULL;
25813}
25814
25815
25816static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25817 PyObject *resultobj;
25818 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25819 wxDC *arg2 = 0 ;
25820 wxMemoryDC *arg3 = 0 ;
25821 wxRect *arg4 = 0 ;
25822 wxRect *arg5 = 0 ;
25823 bool result;
25824 wxRect temp4 ;
25825 wxRect temp5 ;
25826 PyObject * obj0 = 0 ;
25827 PyObject * obj1 = 0 ;
25828 PyObject * obj2 = 0 ;
25829 PyObject * obj3 = 0 ;
25830 PyObject * obj4 = 0 ;
25831 char *kwnames[] = {
25832 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25833 };
25834
25835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25838 if (arg2 == NULL) {
25839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25840 }
25841 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25842 if (arg3 == NULL) {
25843 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25844 }
25845 {
25846 arg4 = &temp4;
25847 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
25848 }
25849 {
25850 arg5 = &temp5;
25851 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
25852 }
25853 {
25854 PyThreadState* __tstate = wxPyBeginAllowThreads();
25855 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
25856
25857 wxPyEndAllowThreads(__tstate);
25858 if (PyErr_Occurred()) SWIG_fail;
25859 }
25860 resultobj = PyInt_FromLong((long)result);
25861 return resultobj;
25862 fail:
25863 return NULL;
25864}
25865
25866
25867static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25868 PyObject *resultobj;
25869 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25870 wxPoint *arg2 = 0 ;
25871 wxPoint *arg3 = 0 ;
25872 bool arg4 ;
25873 bool arg5 ;
25874 bool result;
25875 wxPoint temp2 ;
25876 wxPoint temp3 ;
25877 PyObject * obj0 = 0 ;
25878 PyObject * obj1 = 0 ;
25879 PyObject * obj2 = 0 ;
25880 PyObject * obj3 = 0 ;
25881 PyObject * obj4 = 0 ;
25882 char *kwnames[] = {
25883 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25884 };
25885
25886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25888 {
25889 arg2 = &temp2;
25890 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25891 }
25892 {
25893 arg3 = &temp3;
25894 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25895 }
25896 arg4 = PyInt_AsLong(obj3) ? true : false;
25897 if (PyErr_Occurred()) SWIG_fail;
25898 arg5 = PyInt_AsLong(obj4) ? true : false;
25899 if (PyErr_Occurred()) SWIG_fail;
25900 {
25901 PyThreadState* __tstate = wxPyBeginAllowThreads();
25902 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
25903
25904 wxPyEndAllowThreads(__tstate);
25905 if (PyErr_Occurred()) SWIG_fail;
25906 }
25907 resultobj = PyInt_FromLong((long)result);
25908 return resultobj;
25909 fail:
25910 return NULL;
25911}
25912
25913
25914static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
25915 PyObject *obj;
25916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25917 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
25918 Py_INCREF(obj);
25919 return Py_BuildValue((char *)"");
25920}
25921static PyMethodDef SwigMethods[] = {
25922 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
25923 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
25924 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
25925 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
25926 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25927 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
25928 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
25929 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
25930 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
25931 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25932 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25933 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25934 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25935 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25936 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25937 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25938 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25939 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
25940 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
25941 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
25942 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
25943 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
25944 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
25945 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
25946 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25947 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25948 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25949 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
25950 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
25951 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
25952 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
25953 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
25954 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
25955 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
25956 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
25957 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
25958 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
25959 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
25960 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25961 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
25962 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
25963 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
25964 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
25965 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
25966 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25967 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25968 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
25969 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
25970 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
25971 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25972 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25973 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25974 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
fd3f2efe 25975 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
e811c8ce
RD
25976 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
25977 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
25978 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25979 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
25980 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
25981 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
25982 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
25983 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
25984 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
25985 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
25986 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
25987 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
25988 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
25989 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25990 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25991 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
25992 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
25993 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
25994 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
25995 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
25996 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
25997 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
25998 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
25999 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26000 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26001 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26002 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26003 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26004 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26005 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26006 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26007 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26008 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26009 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26010 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26012 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26013 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26014 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26015 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26020 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26024 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26025 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26029 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26034 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26035 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26036 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26041 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26043 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26044 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26049 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26053 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26054 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26058 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26062 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26064 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26068 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26072 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26077 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26084 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26091 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26094 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26112 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26125 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26130 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26132 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26141 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26153 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26158 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26164 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26169 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26181 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26187 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26212 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26219 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26239 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26245 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26254 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26256 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26261 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26263 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26268 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26273 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26275 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26301 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26303 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
3a04f143
RD
26305 { (char *)"ToolBarBase_AddToolItem", (PyCFunction) _wrap_ToolBarBase_AddToolItem, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"ToolBarBase_InsertToolItem", (PyCFunction) _wrap_ToolBarBase_InsertToolItem, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26307 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26316 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26317 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26343 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
3a04f143 26345 { (char *)"ToolBarBase_FindById", (PyCFunction) _wrap_ToolBarBase_FindById, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26346 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26348 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26353 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26365 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26370 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26417 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26444 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26447 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26513 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26525 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26533 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26540 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
c9c7117a 26554 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
26555 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26556 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26628 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26650 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26655 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26676 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26684 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26689 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26691 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26699 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
e811c8ce
RD
26701 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
d14a1e28
RD
26719 { NULL, NULL }
26720};
26721
26722
26723/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26724
26725static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26726 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26727}
26728static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26729 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26730}
26731static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26732 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26733}
26734static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26735 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26736}
26737static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26738 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26739}
26740static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26741 return (void *)((wxSizer *) ((wxGridSizer *) x));
26742}
26743static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26744 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26745}
26746static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26747 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26748}
26749static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26750 return (void *)((wxSizer *) ((wxPySizer *) x));
26751}
26752static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26753 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26754}
26755static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26756 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26757}
26758static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26759 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26760}
26761static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26762 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26763}
26764static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26765 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26766}
26767static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26768 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26769}
26770static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26771 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26772}
26773static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26774 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26775}
26776static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26777 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26778}
26779static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26780 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26781}
26782static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26783 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26784}
26785static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26786 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26787}
26788static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26789 return (void *)((wxEvent *) ((wxPyEvent *) x));
26790}
26791static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26792 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26793}
26794static void *_p_wxListEventTo_p_wxEvent(void *x) {
26795 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26796}
26797static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26798 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26799}
26800static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26801 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26802}
26803static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26804 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26805}
26806static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26807 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26808}
26809static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26810 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26811}
26812static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26813 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26814}
26815static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26816 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26817}
26818static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26819 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26820}
26821static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26822 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26823}
26824static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26825 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26826}
26827static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26828 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26829}
26830static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26831 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26832}
26833static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26834 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26835}
26836static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26837 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26838}
26839static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26840 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26841}
26842static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26843 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26844}
26845static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26846 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26847}
26848static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26849 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26850}
26851static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26852 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26853}
26854static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26855 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26856}
26857static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26858 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26859}
26860static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26861 return (void *)((wxEvent *) ((wxShowEvent *) x));
26862}
26863static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26864 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26865}
26866static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26867 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26868}
26869static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26870 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26871}
26872static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26873 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26874}
26875static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26876 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26877}
26878static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26879 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26880}
26881static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
26882 return (void *)((wxItemContainer *) ((wxComboBox *) x));
26883}
26884static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
26885 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26886}
26887static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
26888 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
26889}
26890static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
26891 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
26892}
26893static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
26894 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
26895}
26896static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
26897 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26898}
26899static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
26900 return (void *)((wxPyListCtrl *) ((wxListView *) x));
26901}
26902static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
26903 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26904}
26905static void *_p_wxListBoxTo_p_wxControl(void *x) {
26906 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
26907}
26908static void *_p_wxChoiceTo_p_wxControl(void *x) {
26909 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
26910}
26911static void *_p_wxToolBarTo_p_wxControl(void *x) {
26912 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
26913}
26914static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
26915 return (void *)((wxControl *) ((wxStaticBitmap *) x));
26916}
26917static void *_p_wxComboBoxTo_p_wxControl(void *x) {
26918 return (void *)((wxControl *) ((wxComboBox *) x));
26919}
26920static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
26921 return (void *)((wxControl *) ((wxSpinCtrl *) x));
26922}
26923static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
26924 return (void *)((wxControl *) ((wxStaticBox *) x));
26925}
26926static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
26927 return (void *)((wxControl *) ((wxPyListCtrl *) x));
26928}
26929static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
26930 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
26931}
26932static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
26933 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26934}
26935static void *_p_wxScrollBarTo_p_wxControl(void *x) {
26936 return (void *)((wxControl *) ((wxScrollBar *) x));
26937}
26938static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
26939 return (void *)((wxControl *) ((wxBookCtrl *) x));
26940}
26941static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
26942 return (void *)((wxControl *) ((wxRadioButton *) x));
26943}
26944static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
26945 return (void *)((wxControl *) ((wxToggleButton *) x));
26946}
26947static void *_p_wxGaugeTo_p_wxControl(void *x) {
26948 return (void *)((wxControl *) ((wxGauge *) x));
26949}
26950static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
26951 return (void *)((wxControl *) ((wxToolBarBase *) x));
26952}
26953static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
26954 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
26955}
26956static void *_p_wxButtonTo_p_wxControl(void *x) {
26957 return (void *)((wxControl *) ((wxButton *) x));
26958}
26959static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
26960 return (void *)((wxControl *) ((wxSpinButton *) x));
26961}
26962static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
26963 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26964}
26965static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
26966 return (void *)((wxControl *) ((wxControlWithItems *) x));
26967}
26968static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
26969 return (void *)((wxControl *) ((wxRadioBox *) x));
26970}
26971static void *_p_wxNotebookTo_p_wxControl(void *x) {
26972 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
26973}
26974static void *_p_wxListbookTo_p_wxControl(void *x) {
26975 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
26976}
26977static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
26978 return (void *)((wxControl *) ((wxCheckBox *) x));
26979}
26980static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
26981 return (void *)((wxControl *) ((wxTextCtrl *) x));
26982}
26983static void *_p_wxListViewTo_p_wxControl(void *x) {
26984 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
26985}
26986static void *_p_wxSliderTo_p_wxControl(void *x) {
26987 return (void *)((wxControl *) ((wxSlider *) x));
26988}
26989static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
26990 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
26991}
26992static void *_p_wxPyControlTo_p_wxControl(void *x) {
26993 return (void *)((wxControl *) ((wxPyControl *) x));
26994}
26995static void *_p_wxStaticLineTo_p_wxControl(void *x) {
26996 return (void *)((wxControl *) ((wxStaticLine *) x));
26997}
26998static void *_p_wxStaticTextTo_p_wxControl(void *x) {
26999 return (void *)((wxControl *) ((wxStaticText *) x));
27000}
27001static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27002 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27003}
27004static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27005 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27006}
27007static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27008 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27009}
27010static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27011 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27012}
27013static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27014 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27015}
27016static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27017 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27018}
27019static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27020 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27021}
27022static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27023 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27024}
27025static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27026 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27027}
27028static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27029 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27030}
27031static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27032 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27033}
27034static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27035 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27036}
27037static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27038 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27039}
27040static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27041 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27042}
27043static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27044 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27045}
27046static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27047 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27048}
27049static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27050 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27051}
27052static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27053 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27054}
27055static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27056 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27057}
27058static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27059 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
27060}
27061static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27062 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27063}
27064static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27065 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27066}
27067static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27068 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27069}
27070static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27071 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27072}
27073static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27074 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27075}
27076static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27077 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27078}
27079static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27080 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27081}
27082static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27083 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27084}
27085static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27086 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27087}
27088static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27089 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27090}
27091static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27092 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27093}
27094static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27095 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27096}
27097static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27098 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27099}
27100static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27101 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27102}
27103static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27104 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27105}
27106static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27107 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27108}
27109static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27110 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27111}
27112static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27113 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27114}
27115static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27116 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27117}
27118static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27119 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27120}
27121static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27122 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27123}
27124static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27125 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27126}
27127static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27128 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27129}
27130static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27131 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27132}
27133static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27134 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27135}
27136static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27137 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27138}
27139static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27140 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27141}
27142static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27143 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27144}
27145static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27146 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27147}
27148static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27149 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27150}
27151static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27152 return (void *)((wxButton *) ((wxBitmapButton *) x));
27153}
27154static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27155 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27156}
27157static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27158 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27159}
27160static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27161 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27162}
27163static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27164 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27165}
27166static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27167 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27168}
27169static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27170 return (void *)((wxObject *) ((wxSizerItem *) x));
27171}
27172static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27173 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27174}
27175static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27176 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27177}
27178static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27179 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27180}
27181static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27182 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27183}
27184static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27185 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27186}
27187static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27188 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27189}
27190static void *_p_wxSizerTo_p_wxObject(void *x) {
27191 return (void *)((wxObject *) ((wxSizer *) x));
27192}
27193static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27194 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27195}
27196static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27198}
27199static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27201}
27202static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27203 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27204}
27205static void *_p_wxEventTo_p_wxObject(void *x) {
27206 return (void *)((wxObject *) ((wxEvent *) x));
27207}
27208static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27209 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27210}
27211static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27212 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27213}
27214static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27215 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27216}
27217static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27218 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27219}
27220static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27221 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27222}
27223static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27224 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27225}
27226static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27227 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27228}
27229static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27230 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27231}
27232static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27233 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27234}
27235static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27236 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27237}
27238static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27239 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27240}
27241static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27242 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27243}
27244static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27245 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27246}
27247static void *_p_wxControlTo_p_wxObject(void *x) {
27248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27249}
27250static void *_p_wxPyControlTo_p_wxObject(void *x) {
27251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27252}
27253static void *_p_wxGaugeTo_p_wxObject(void *x) {
27254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27255}
27256static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27258}
27259static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27261}
27262static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27263 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27264}
27265static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27266 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27267}
27268static void *_p_wxChoiceTo_p_wxObject(void *x) {
27269 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27270}
27271static void *_p_wxFSFileTo_p_wxObject(void *x) {
27272 return (void *)((wxObject *) ((wxFSFile *) x));
27273}
27274static void *_p_wxPySizerTo_p_wxObject(void *x) {
27275 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27276}
27277static void *_p_wxListViewTo_p_wxObject(void *x) {
27278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27279}
27280static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27281 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27282}
27283static void *_p_wxNotebookTo_p_wxObject(void *x) {
27284 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27285}
27286static void *_p_wxPyEventTo_p_wxObject(void *x) {
27287 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27288}
27289static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27290 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27291}
27292static void *_p_wxListbookTo_p_wxObject(void *x) {
27293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27294}
27295static void *_p_wxShowEventTo_p_wxObject(void *x) {
27296 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27297}
27298static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27300}
27301static void *_p_wxSliderTo_p_wxObject(void *x) {
27302 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27303}
27304static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27305 return (void *)((wxObject *) ((wxMenuItem *) x));
27306}
27307static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27308 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27309}
27310static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27311 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27312}
27313static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27314 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27315}
27316static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27317 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27318}
27319static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27320 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27321}
27322static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27323 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27324}
27325static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27326 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27327}
27328static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27329 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27330}
27331static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27333}
27334static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27335 return (void *)((wxObject *) ((wxContextHelp *) x));
27336}
27337static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27338 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27339}
27340static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27341 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27342}
27343static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27344 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27345}
27346static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27347 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27348}
27349static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27350 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27351}
27352static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27353 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27354}
27355static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27356 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27357}
27358static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27359 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27360}
27361static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27362 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27363}
27364static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27365 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27366}
27367static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27368 return (void *)((wxObject *) ((wxImageHandler *) x));
27369}
27370static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27371 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27372}
27373static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27374 return (void *)((wxObject *) ((wxEvtHandler *) x));
27375}
27376static void *_p_wxListEventTo_p_wxObject(void *x) {
27377 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27378}
27379static void *_p_wxListBoxTo_p_wxObject(void *x) {
27380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27381}
27382static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27384}
27385static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27387}
d14a1e28
RD
27388static void *_p_wxButtonTo_p_wxObject(void *x) {
27389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27390}
1e0c8722
RD
27391static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27392 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27393}
d14a1e28
RD
27394static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27395 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27396}
27397static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27398 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27399}
1e0c8722
RD
27400static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27401 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27402}
d14a1e28
RD
27403static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27405}
27406static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27408}
27409static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
27411}
27412static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27413 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27414}
27415static void *_p_wxListItemTo_p_wxObject(void *x) {
27416 return (void *)((wxObject *) ((wxListItem *) x));
27417}
27418static void *_p_wxImageTo_p_wxObject(void *x) {
27419 return (void *)((wxObject *) ((wxImage *) x));
27420}
27421static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27422 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27423}
27424static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27425 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27426}
e811c8ce
RD
27427static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27428 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27429}
d14a1e28
RD
27430static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27432}
27433static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27434 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27435}
27436static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27437 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27438}
27439static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27440 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27441}
27442static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27443 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27444}
27445static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27446 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27447}
27448static void *_p_wxWindowTo_p_wxObject(void *x) {
27449 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27450}
27451static void *_p_wxMenuTo_p_wxObject(void *x) {
27452 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27453}
27454static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27455 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27456}
27457static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27458 return (void *)((wxObject *) ((wxFileSystem *) x));
27459}
27460static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27461 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27462}
27463static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27464 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27465}
27466static void *_p_wxPyAppTo_p_wxObject(void *x) {
27467 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27468}
27469static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27470 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27471}
27472static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27473 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27474}
27475static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27476 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27477}
27478static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27479 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27480}
27481static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27482 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27483}
27484static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27485 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27486}
27487static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27488 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27489}
27490static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27491 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27492}
27493static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27494 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27495}
27496static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27497 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27498}
27499static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27501}
27502static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27503 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27504}
27505static void *_p_wxToolBarTo_p_wxObject(void *x) {
27506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27507}
27508static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27509 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27510}
27511static void *_p_wxValidatorTo_p_wxObject(void *x) {
27512 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27513}
27514static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27515 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27516}
27517static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27518 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27519}
27520static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27521 return (void *)((wxWindow *) ((wxMenuBar *) x));
27522}
27523static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27524 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27525}
27526static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27527 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27528}
27529static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27530 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27531}
27532static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27533 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27534}
27535static void *_p_wxControlTo_p_wxWindow(void *x) {
27536 return (void *)((wxWindow *) ((wxControl *) x));
27537}
27538static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27539 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27540}
27541static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27542 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27543}
27544static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27545 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27546}
27547static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27548 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
27549}
27550static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27551 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27552}
27553static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27554 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27555}
27556static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27557 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27558}
27559static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27560 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27561}
27562static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27563 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27564}
27565static void *_p_wxListbookTo_p_wxWindow(void *x) {
27566 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27567}
27568static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27569 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27570}
27571static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27572 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27573}
27574static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27575 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27576}
27577static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27578 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27579}
27580static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27581 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27582}
27583static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27584 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27585}
27586static void *_p_wxListViewTo_p_wxWindow(void *x) {
27587 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27588}
27589static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27590 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27591}
27592static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27593 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27594}
27595static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27596 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27597}
27598static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27599 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27600}
27601static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27602 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27603}
27604static void *_p_wxSliderTo_p_wxWindow(void *x) {
27605 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27606}
27607static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27608 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27609}
27610static void *_p_wxButtonTo_p_wxWindow(void *x) {
27611 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27612}
27613static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27614 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27615}
27616static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27617 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27618}
27619static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27620 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27621}
27622static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27623 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27624}
27625static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27626 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27627}
27628static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27629 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27630}
27631static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27632 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27633}
27634static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27635 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27636}
27637static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27638 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27639}
27640static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27641 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27642}
27643static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27644 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27645}
27646static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27647 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27648}
27649static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27650 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27651}
27652static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27653 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27654}
27655static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27656 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27657}
27658static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27659 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27660}
27661static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27662 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27663}
27664static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27665 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27666}
27667static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27668 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27669}
27670static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27671 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27672}
27673static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27674 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27675}
27676static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27677 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27678}
27679static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27680 return (void *)((wxValidator *) ((wxPyValidator *) x));
27681}
27682static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27683static 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}};
27684static 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}};
27685static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27686static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27687static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27688static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27689static 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}};
27690static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27691static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27692static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27693static 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}};
27694static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27695static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27696static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27697static 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}};
27698static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27699static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27700static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27701static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27702static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27703static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27704static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
e811c8ce 27705static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
d14a1e28
RD
27706static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27707static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27708static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
e811c8ce 27709static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
d14a1e28
RD
27710static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27711static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27712static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27713static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27714static 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}};
27715static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27716static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27717static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27718static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27719static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27720static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27721static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27722static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27723static 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}};
27724static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27725static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27726static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27727static 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}};
27728static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27729static 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}};
27730static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27731static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27732static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27733static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27734static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27735static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27736static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27737static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27738static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27739static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
e811c8ce 27740static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
d14a1e28
RD
27741static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27742static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27743static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27744static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27745static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27746static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27747static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27748static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
1e0c8722 27749static 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 27750static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
d14a1e28
RD
27751static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27752static 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}};
27753static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27754static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27755static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27756static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27757static 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}};
27758static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27759static 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}};
27760static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27761static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27762static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27763static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27764static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27765
27766static swig_type_info *swig_types_initial[] = {
27767_swigt__p_wxTextUrlEvent,
27768_swigt__p_wxBookCtrlEvent,
27769_swigt__p_wxSizer,
27770_swigt__p_wxTreeItemIdValue,
27771_swigt__wxTreeItemIdValue,
27772_swigt__p_wxCheckBox,
27773_swigt__p_wxPyTreeCtrl,
27774_swigt__p_wxEvent,
27775_swigt__p_wxGenericDirCtrl,
27776_swigt__p_bool,
27777_swigt__p_wxPyTreeItemData,
27778_swigt__p_wxItemContainer,
27779_swigt__p_wxDirFilterListCtrl,
27780_swigt__p_wxPyListCtrl,
27781_swigt__p_wxStaticLine,
27782_swigt__p_wxControl,
27783_swigt__p_wxPyControl,
27784_swigt__p_wxGauge,
27785_swigt__p_wxToolBarBase,
27786_swigt__p_wxFont,
27787_swigt__p_wxToggleButton,
27788_swigt__p_wxRadioButton,
27789_swigt__p_wxChoice,
e811c8ce 27790_swigt__p_wxMemoryDC,
d14a1e28
RD
27791_swigt__p_wxListItemAttr,
27792_swigt__p_int,
27793_swigt__p_wxSize,
e811c8ce 27794_swigt__p_wxDC,
d14a1e28
RD
27795_swigt__p_wxListView,
27796_swigt__p_wxIcon,
27797_swigt__p_wxTextCtrl,
27798_swigt__p_wxNotebook,
27799_swigt__p_wxNotifyEvent,
27800_swigt__p_wxArrayString,
27801_swigt__p_wxListbook,
27802_swigt__p_wxStaticBitmap,
27803_swigt__p_wxSlider,
27804_swigt__p_wxStaticBox,
27805_swigt__p_wxArrayInt,
27806_swigt__p_wxContextHelp,
27807_swigt__p_long,
27808_swigt__p_wxEvtHandler,
27809_swigt__p_wxListEvent,
27810_swigt__p_wxListBox,
27811_swigt__p_wxCheckListBox,
27812_swigt__p_wxBookCtrl,
27813_swigt__p_wxSpinButton,
27814_swigt__p_wxButton,
27815_swigt__p_wxBitmapButton,
27816_swigt__p_wxRect,
27817_swigt__p_wxContextHelpButton,
27818_swigt__p_wxRadioBox,
27819_swigt__p_wxScrollBar,
27820_swigt__p_wxTreeItemId,
27821_swigt__p_wxComboBox,
27822_swigt__p_wxHelpEvent,
27823_swigt__p_wxListItem,
27824_swigt__p_wxNotebookSizer,
e811c8ce 27825_swigt__p_wxGenericDragImage,
d14a1e28
RD
27826_swigt__p_wxSpinCtrl,
27827_swigt__p_wxImageList,
27828_swigt__p_wxHelpProvider,
27829_swigt__p_wxTextAttr,
27830_swigt__p_wxSimpleHelpProvider,
27831_swigt__p_wxPoint,
27832_swigt__p_wxListbookEvent,
27833_swigt__p_wxNotebookEvent,
27834_swigt__p_wxObject,
e811c8ce 27835_swigt__p_wxCursor,
d14a1e28
RD
27836_swigt__p_wxKeyEvent,
27837_swigt__p_wxWindow,
27838_swigt__p_wxString,
27839_swigt__p_wxBitmap,
27840_swigt__p_wxTreeEvent,
27841_swigt__p_wxMouseEvent,
27842_swigt__p_wxCommandEvent,
27843_swigt__p_wxStaticText,
27844_swigt__p_wxControlWithItems,
27845_swigt__p_wxToolBarToolBase,
27846_swigt__p_wxColour,
27847_swigt__p_wxToolBar,
27848_swigt__p_wxBookCtrlSizer,
27849_swigt__p_wxValidator,
278500
27851};
27852
27853
27854/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27855
27856static swig_const_info swig_const_table[] = {
27857{ SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
27858{ SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
27859{ SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
27860{ SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
27861{ SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
27862{ SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
27863{ SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
27864{ SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
27865{ SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
27866{ SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
27867{ SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
27868{ SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
27869{ SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
27870{ SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
27871{ SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
27872{ SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
27873{ SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
27874{ SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
27875{ SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
27876{ SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
27877{ SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
27878{ SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
27879{ SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
27880{ SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
27881{ SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
27882{ SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
27883{ SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
27884{ SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
27885{ SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
27886{ SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
27887{ SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
27888{ SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
27889{ SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
27890{ SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
27891{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
27892{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
27893{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
27894{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
27895{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
27896{ SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
27897{ SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
27898{ SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
27899{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
27900{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
27901{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
27902{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
27903{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
27904{ SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
27905{ SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
27906{ SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
27907{ SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
27908{ SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
27909{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
27910{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
27911{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
27912{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
27913{ SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
27914{ SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
27915{ SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
27916{ SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
27917{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
27918{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
27919{ SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
27920{ SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
27921{ SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
27922{ SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
27923{ SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
27924{ SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
27925{ SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
27926{ SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
27927{ SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
27928{ SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
27929{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
27930{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
27931{ SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
27932{ SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
27933{ SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
27934{ SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
27935{ SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
27936{ SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
27937{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
27938{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
27939{ SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
27940{ SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
27941{ SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
27942{ SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
27943{ SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
27944{ SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
27945{ SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
27946{ SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
27947{ SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
27948{ SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
27949{ SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
27950{ SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
27951{ SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
27952{ SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
27953{ SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
27954{ SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
27955{ SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
27956{ SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
27957{ SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
27958{ SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
27959{ SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
27960{ SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
27961{ SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
27962{ SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
27963{ SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
27964{ SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
27965{ SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
27966{ SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
27967{ SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
27968{ SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
27969{ SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
27970{ SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
27971{ SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
27972{ SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
27973{ SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
27974{ SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
27975{ SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
27976{ SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
27977{ SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
27978{ SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
27979{ SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
27980{ SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
27981{ SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
27982{ SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
27983{ SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
27984{ SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
27985{ SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
27986{ SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
27987{ SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
27988{ SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
27989{ SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
27990{ SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
27991{ SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
27992{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
27993{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
27994{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
27995{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27996{ SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
27997{ SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
27998{ SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
27999{ SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28000{ SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28001{ SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28002{ SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28003{ SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28004{ SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28005{ SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28006{ SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28007{ SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28008{ SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28009{ SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28010{ SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28011{ SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28012{ SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28013{ SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28014{ SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28015{ SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28016{ SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28017{ SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28018{ SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28019{ SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28020{ SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28021{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28022{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28023{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28024{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28025{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28026{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28027{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28028{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28029{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28030{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28031{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28032{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28033{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28034{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28035{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28036{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28037{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28038{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28039{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28040{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28041{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28042{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28043{ SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28044{ SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28045{ SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28046{ SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28047{ SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28048{ SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28049{ SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28050{ SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28051{ SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28052{ SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28053{ SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28054{ SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28055{ SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28056{ SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28057{ SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28058{ SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28059{ SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28060{ SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28061{ SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28062{ SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28063{ SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28064{ SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28065{ SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28066{ SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28067{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28068{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28069{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28070{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28071{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28072{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28073{ SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28074{ SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28075{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28076{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28077{ SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28078{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28079{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28080{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28081{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28082{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28083{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28084{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28085{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28086{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28087{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28088{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28089{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28090{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28091{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28092{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28093{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28094{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28095{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28096{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
c9c7117a 28097{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
d14a1e28
RD
28098{ SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28099{ SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28100{ SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28101{ SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28102{ SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28103{ SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28104{ SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28105{ SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28106{ SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28107{0}};
28108
28109#ifdef __cplusplus
28110}
28111#endif
28112
28113#ifdef __cplusplus
28114extern "C"
28115#endif
28116SWIGEXPORT(void) SWIG_init(void) {
28117 static PyObject *SWIG_globals = 0;
28118 static int typeinit = 0;
28119 PyObject *m, *d;
28120 int i;
28121 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28122 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28123 d = PyModule_GetDict(m);
28124
28125 if (!typeinit) {
28126 for (i = 0; swig_types_initial[i]; i++) {
28127 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28128 }
28129 typeinit = 1;
28130 }
28131 SWIG_InstallConstants(d,swig_const_table);
28132
28133 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28134 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28135 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28136 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28137 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28138 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28139 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28140 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28141 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28142 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28143 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28144 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28145 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28146 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28147 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28148 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28149 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28150 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28151 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28152 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28153 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28154 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28155 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28156 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28157 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28158 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28159 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28160 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28161 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28162 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28163 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28164 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28165
28166 // Map renamed classes back to their common name for OOR
28167 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28168
28169 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28170 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28171 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28172 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28173 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28174 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28175 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28176 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28177 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28178 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28179 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28180 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28181 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28182 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28183 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28184 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28185 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28186 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28187 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
c9c7117a 28188 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
d14a1e28
RD
28189
28190 // Map renamed classes back to their common name for OOR
28191 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28192 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28193
28194 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28195 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
e811c8ce
RD
28196
28197 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28198
d14a1e28
RD
28199}
28200