]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls_wrap.cpp
Updated docstring patch for new SWIG CVS
[wxWidgets.git] / wxPython / src / gtk / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121 #endif
122
123 /***********************************************************************
124 * pyrun.swg for wxPython
125 *
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
129 * anyway.
130 *
131 ************************************************************************/
132
133
134 #include "Python.h"
135
136 #ifdef __cplusplus
137 extern "C" {
138 #endif
139
140 #define SWIG_PY_INT 1
141 #define SWIG_PY_FLOAT 2
142 #define SWIG_PY_STRING 3
143 #define SWIG_PY_POINTER 4
144 #define SWIG_PY_BINARY 5
145
146 /* Flags for pointer conversion */
147
148 #define SWIG_POINTER_EXCEPTION 0x1
149 #define SWIG_POINTER_DISOWN 0x2
150
151 /* Exception handling in wrappers */
152 #define SWIG_fail goto fail
153
154 /* Constant information structure */
155 typedef struct swig_const_info {
156 int type;
157 char *name;
158 long lvalue;
159 double dvalue;
160 void *pvalue;
161 swig_type_info **ptype;
162 } swig_const_info;
163
164
165
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183 #define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185 #define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187 #define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
189
190
191 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
192 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
193 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
194
195 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
196 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
197 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
198 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
199 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
200 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
201 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
202
203
204 /* Contract support */
205
206 #define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207 #define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
208
209 #define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210 #define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
211
212 #define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213 #define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214 #define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
215
216 #ifdef __cplusplus
217 }
218 #endif
219
220
221
222 /* -------- TYPES TABLE (BEGIN) -------- */
223
224 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
225 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
226 #define SWIGTYPE_p_wxSizer swig_types[2]
227 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
228 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
229 #define SWIGTYPE_p_wxCheckBox swig_types[5]
230 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
231 #define SWIGTYPE_p_wxEvent swig_types[7]
232 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
233 #define SWIGTYPE_p_bool swig_types[9]
234 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
235 #define SWIGTYPE_p_wxItemContainer swig_types[11]
236 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
237 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
238 #define SWIGTYPE_p_wxStaticLine swig_types[14]
239 #define SWIGTYPE_p_wxControl swig_types[15]
240 #define SWIGTYPE_p_wxPyControl swig_types[16]
241 #define SWIGTYPE_p_wxGauge swig_types[17]
242 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
243 #define SWIGTYPE_p_wxFont swig_types[19]
244 #define SWIGTYPE_p_wxToggleButton swig_types[20]
245 #define SWIGTYPE_p_wxRadioButton swig_types[21]
246 #define SWIGTYPE_p_wxChoice swig_types[22]
247 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
248 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
249 #define SWIGTYPE_p_int swig_types[25]
250 #define SWIGTYPE_p_wxSize swig_types[26]
251 #define SWIGTYPE_p_wxDC swig_types[27]
252 #define SWIGTYPE_p_wxListView swig_types[28]
253 #define SWIGTYPE_p_wxIcon swig_types[29]
254 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
255 #define SWIGTYPE_p_wxNotebook swig_types[31]
256 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
257 #define SWIGTYPE_p_wxArrayString swig_types[33]
258 #define SWIGTYPE_p_wxListbook swig_types[34]
259 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
260 #define SWIGTYPE_p_wxSlider swig_types[36]
261 #define SWIGTYPE_p_wxStaticBox swig_types[37]
262 #define SWIGTYPE_p_wxArrayInt swig_types[38]
263 #define SWIGTYPE_p_wxContextHelp swig_types[39]
264 #define SWIGTYPE_p_long swig_types[40]
265 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
266 #define SWIGTYPE_p_wxListEvent swig_types[42]
267 #define SWIGTYPE_p_wxListBox swig_types[43]
268 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
269 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
270 #define SWIGTYPE_p_wxSpinButton swig_types[46]
271 #define SWIGTYPE_p_wxButton swig_types[47]
272 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
273 #define SWIGTYPE_p_wxRect swig_types[49]
274 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
275 #define SWIGTYPE_p_wxRadioBox swig_types[51]
276 #define SWIGTYPE_p_wxScrollBar swig_types[52]
277 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
278 #define SWIGTYPE_p_wxComboBox swig_types[54]
279 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
280 #define SWIGTYPE_p_wxListItem swig_types[56]
281 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
282 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
283 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
284 #define SWIGTYPE_p_wxImageList swig_types[60]
285 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
286 #define SWIGTYPE_p_wxTextAttr swig_types[62]
287 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
288 #define SWIGTYPE_p_wxPoint swig_types[64]
289 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
290 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
291 #define SWIGTYPE_p_wxObject swig_types[67]
292 #define SWIGTYPE_p_wxCursor swig_types[68]
293 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
294 #define SWIGTYPE_p_wxWindow swig_types[70]
295 #define SWIGTYPE_p_wxString swig_types[71]
296 #define SWIGTYPE_p_wxBitmap swig_types[72]
297 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
298 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
299 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
300 #define SWIGTYPE_p_wxStaticText swig_types[76]
301 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
302 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
303 #define SWIGTYPE_p_wxColour swig_types[79]
304 #define SWIGTYPE_p_wxToolBar swig_types[80]
305 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
306 #define SWIGTYPE_p_wxValidator swig_types[82]
307 static swig_type_info *swig_types[84];
308
309 /* -------- TYPES TABLE (END) -------- */
310
311
312 /*-----------------------------------------------
313 @(target):= _controls.so
314 ------------------------------------------------*/
315 #define SWIG_init init_controls
316
317 #define SWIG_name "_controls"
318
319 #include "wx/wxPython/wxPython.h"
320 #include "wx/wxPython/pyclasses.h"
321
322 DECLARE_DEF_STRING(PanelNameStr);
323 DECLARE_DEF_STRING(EmptyString);
324 DECLARE_DEF_STRING(ControlNameStr);
325
326
327
328 DECLARE_DEF_STRING(ButtonNameStr);
329
330
331 DECLARE_DEF_STRING(CheckBoxNameStr);
332
333
334 DECLARE_DEF_STRING(ChoiceNameStr);
335
336
337 DECLARE_DEF_STRING(ComboBoxNameStr);
338
339
340 DECLARE_DEF_STRING(GaugeNameStr);
341
342
343 DECLARE_DEF_STRING(StaticBitmapNameStr);
344 DECLARE_DEF_STRING(StaticBoxNameStr);
345 DECLARE_DEF_STRING(StaticTextNameStr);
346
347
348 #include <wx/checklst.h>
349
350 DECLARE_DEF_STRING(ListBoxNameStr);
351
352 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
353 if (clientData) {
354 wxPyClientData* data = new wxPyClientData(clientData);
355 self->Insert(item, pos, data);
356 } else
357 self->Insert(item, pos);
358 }
359 PyObject *wxListBox_GetSelections(wxListBox *self){
360 wxArrayInt lst;
361 self->GetSelections(lst);
362 PyObject *tup = PyTuple_New(lst.GetCount());
363 for(size_t i=0; i<lst.GetCount(); i++) {
364 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
365 }
366 return tup;
367 }
368
369 DECLARE_DEF_STRING(TextCtrlNameStr);
370
371
372 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
373 PyObject* o2;
374 PyObject* o3;
375
376 if (!target) {
377 target = o;
378 } else if (target == Py_None) {
379 Py_DECREF(Py_None);
380 target = o;
381 } else {
382 if (!PyTuple_Check(target)) {
383 o2 = target;
384 target = PyTuple_New(1);
385 PyTuple_SetItem(target, 0, o2);
386 }
387 o3 = PyTuple_New(1);
388 PyTuple_SetItem(o3, 0, o);
389
390 o2 = target;
391 target = PySequence_Concat(o2, o3);
392 Py_DECREF(o2);
393 Py_DECREF(o3);
394 }
395 return target;
396 }
397
398 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
399 self->AppendText(text);
400 }
401 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
402 return self->GetValue().Mid(from, to - from);
403 }
404
405 DECLARE_DEF_STRING(ScrollBarNameStr);
406
407
408 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
409 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
410 DECLARE_DEF_STRING(SpinCtrlNameStr);
411
412 void wxSpinCtrl_SetSelection(wxSpinCtrl *self,long from,long to){
413 }
414
415 DECLARE_DEF_STRING(RadioBoxNameStr);
416 DECLARE_DEF_STRING(RadioButtonNameStr);
417
418 int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
419 int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
420 int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
421
422 #include <wx/slider.h>
423
424 DECLARE_DEF_STRING(SliderNameStr);
425
426
427 wxChar* wxToggleButtonNameStr = _T("wxToggleButton");
428 DECLARE_DEF_STRING(ToggleButtonNameStr);
429
430
431 #ifdef __WXMAC__
432 // implement dummy classes and such for wxMac
433
434 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
435
436 class wxToggleButton : public wxControl
437 {
438 public:
439 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
440 const wxPoint&, const wxSize&, long,
441 const wxValidator&, const wxString&)
442 { PyErr_SetNone(PyExc_NotImplementedError); }
443
444 wxToggleButton()
445 { PyErr_SetNone(PyExc_NotImplementedError); }
446 };
447 #endif
448
449
450 DECLARE_DEF_STRING(NOTEBOOK_NAME);
451
452
453 DECLARE_DEF_STRING(ToolBarNameStr);
454
455 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
456 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
457 if (udata) {
458 Py_INCREF(udata->m_obj);
459 return udata->m_obj;
460 } else {
461 Py_INCREF(Py_None);
462 return Py_None;
463 }
464 }
465 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
466 self->SetClientData(new wxPyUserData(clientData));
467 }
468 wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
469 wxPyUserData* udata = NULL;
470 if (clientData && clientData != Py_None)
471 udata = new wxPyUserData(clientData);
472 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
473 shortHelp, longHelp, udata);
474 }
475 wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
476 wxPyUserData* udata = NULL;
477 if (clientData && clientData != Py_None)
478 udata = new wxPyUserData(clientData);
479 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
480 shortHelp, longHelp, udata);
481 }
482 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
483 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
484 if (udata) {
485 Py_INCREF(udata->m_obj);
486 return udata->m_obj;
487 } else {
488 Py_INCREF(Py_None);
489 return Py_None;
490 }
491 }
492 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
493 self->SetToolClientData(id, new wxPyUserData(clientData));
494 }
495
496 #include <wx/listctrl.h>
497
498 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
499 DECLARE_DEF_STRING(ListCtrlNameStr);
500
501 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
502 // Python aware sorting function for wxPyListCtrl
503 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
504 int retval = 0;
505 PyObject* func = (PyObject*)funcPtr;
506 wxPyBeginBlockThreads();
507
508 PyObject* args = Py_BuildValue("(ii)", item1, item2);
509 PyObject* result = PyEval_CallObject(func, args);
510 Py_DECREF(args);
511 if (result) {
512 retval = PyInt_AsLong(result);
513 Py_DECREF(result);
514 }
515
516 wxPyEndBlockThreads();
517 return retval;
518 }
519
520 // C++ Version of a Python aware class
521 class wxPyListCtrl : public wxListCtrl {
522 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
523 public:
524 wxPyListCtrl() : wxListCtrl() {}
525 wxPyListCtrl(wxWindow* parent, wxWindowID id,
526 const wxPoint& pos,
527 const wxSize& size,
528 long style,
529 const wxValidator& validator,
530 const wxString& name) :
531 wxListCtrl(parent, id, pos, size, style, validator, name) {}
532
533 bool Create(wxWindow* parent, wxWindowID id,
534 const wxPoint& pos,
535 const wxSize& size,
536 long style,
537 const wxValidator& validator,
538 const wxString& name) {
539 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
540 }
541
542 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
543 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
544 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
545
546 PYPRIVATE;
547 };
548
549 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
550
551 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
552 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
553 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
554
555 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
556 wxListItem item;
557 item.SetMask( wxLIST_MASK_STATE |
558 wxLIST_MASK_TEXT |
559 wxLIST_MASK_IMAGE |
560 wxLIST_MASK_DATA |
561 wxLIST_SET_ITEM |
562 wxLIST_MASK_WIDTH |
563 wxLIST_MASK_FORMAT
564 );
565 if (self->GetColumn(col, item))
566 return new wxListItem(item);
567 else
568 return NULL;
569 }
570 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
571 wxListItem* info = new wxListItem;
572 info->m_itemId = itemId;
573 info->m_col = col;
574 info->m_mask = 0xFFFF;
575 self->GetItem(*info);
576 return info;
577 }
578 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
579 wxPoint pos;
580 self->GetItemPosition(item, pos);
581 return pos;
582 }
583 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
584 wxRect rect;
585 self->GetItemRect(item, rect, code);
586 return rect;
587 }
588 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
589 if (!PyCallable_Check(func))
590 return False;
591 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
592 }
593 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
594
595
596
597 return (wxWindow*)self->m_mainWin;
598
599 }
600
601 #include <wx/treectrl.h>
602 #include "wx/wxPython/pytree.h"
603
604 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
605 DECLARE_DEF_STRING(_TreeCtrlNameStr);
606
607 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
608 if (!other) return False;
609 return *self == *other;
610 }
611 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
612 if (!other) return True;
613 return *self != *other;
614 }
615 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
616 // C++ version of Python aware wxTreeCtrl
617 class wxPyTreeCtrl : public wxTreeCtrl {
618 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
619 public:
620 wxPyTreeCtrl() : wxTreeCtrl() {}
621 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
622 const wxPoint& pos,
623 const wxSize& size,
624 long style,
625 const wxValidator& validator,
626 const wxString& name) :
627 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
628
629 bool Create(wxWindow *parent, wxWindowID id,
630 const wxPoint& pos,
631 const wxSize& size,
632 long style,
633 const wxValidator& validator,
634 const wxString& name) {
635 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
636 }
637
638
639 int OnCompareItems(const wxTreeItemId& item1,
640 const wxTreeItemId& item2) {
641 int rval = 0;
642 bool found;
643 wxPyBeginBlockThreads();
644 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
645 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
646 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
647 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
648 Py_DECREF(o1);
649 Py_DECREF(o2);
650 }
651 wxPyEndBlockThreads();
652 if (! found)
653 rval = wxTreeCtrl::OnCompareItems(item1, item2);
654 return rval;
655 }
656 PYPRIVATE;
657 };
658
659 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
660
661
662 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
663 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
664 if (data == NULL) {
665 data = new wxPyTreeItemData();
666 data->SetId(item); // set the id
667 self->SetItemData(item, data);
668 }
669 return data;
670 }
671 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
672 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
673 if (data == NULL) {
674 data = new wxPyTreeItemData();
675 data->SetId(item); // set the id
676 self->SetItemData(item, data);
677 }
678 return data->GetData();
679 }
680 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
681 data->SetId(item); // set the id
682 self->SetItemData(item, data);
683 }
684 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
685 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
686 if (data == NULL) {
687 data = new wxPyTreeItemData(obj);
688 data->SetId(item); // set the id
689 self->SetItemData(item, data);
690 } else
691 data->SetData(obj);
692 }
693 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
694 wxPyBeginBlockThreads();
695 PyObject* rval = PyList_New(0);
696 wxArrayTreeItemIds array;
697 size_t num, x;
698 num = self->GetSelections(array);
699 for (x=0; x < num; x++) {
700 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
701 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
702 PyList_Append(rval, item);
703 }
704 wxPyEndBlockThreads();
705 return rval;
706 }
707 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
708 wxTreeItemIdValue cookie = 0;
709 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
710 wxPyBeginBlockThreads();
711 PyObject* tup = PyTuple_New(2);
712 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
713 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
714 wxPyEndBlockThreads();
715 return tup;
716 }
717 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
718 wxTreeItemId ritem = self->GetNextChild(item, cookie);
719 wxPyBeginBlockThreads();
720 PyObject* tup = PyTuple_New(2);
721 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
722 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
723 wxPyEndBlockThreads();
724 return tup;
725 }
726 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
727 wxRect rect;
728 if (self->GetBoundingRect(item, rect, textOnly)) {
729 wxPyBeginBlockThreads();
730 wxRect* r = new wxRect(rect);
731 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
732 wxPyEndBlockThreads();
733 return val;
734 }
735 else
736 RETURN_NONE();
737 }
738
739 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
740
741 // C++ version of Python aware wxControl
742 class wxPyControl : public wxControl
743 {
744 DECLARE_DYNAMIC_CLASS(wxPyControl)
745 public:
746 wxPyControl() : wxControl() {}
747 wxPyControl(wxWindow* parent, const wxWindowID id,
748 const wxPoint& pos = wxDefaultPosition,
749 const wxSize& size = wxDefaultSize,
750 long style = 0,
751 const wxValidator& validator=wxDefaultValidator,
752 const wxString& name = wxPyControlNameStr)
753 : wxControl(parent, id, pos, size, style, validator, name) {}
754
755
756 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
757 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
758 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
759 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
760
761 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
762 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
763 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
764
765 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
766 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
767
768 DEC_PYCALLBACK__(InitDialog);
769 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
770 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
771 DEC_PYCALLBACK_BOOL_(Validate);
772
773 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
774 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
775 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
776
777 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
778 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
779
780 PYPRIVATE;
781 };
782
783 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
784
785 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
786 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
787 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
788 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
789
790 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
791 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
792 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
793
794 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
795 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
796
797 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
798 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
799 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
800 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
801
802 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
803 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
804 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
805
806 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
807 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
808
809
810
811
812 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
813
814 #include <wx/generic/dragimgg.h>
815
816 #ifdef __cplusplus
817 extern "C" {
818 #endif
819 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
820 PyObject *resultobj;
821 wxWindow *arg1 = (wxWindow *) 0 ;
822 int arg2 ;
823 wxString *arg3 = 0 ;
824 wxPoint const &arg4_defvalue = wxDefaultPosition ;
825 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
826 wxSize const &arg5_defvalue = wxDefaultSize ;
827 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
828 long arg6 = (long) 0 ;
829 wxValidator const &arg7_defvalue = wxDefaultValidator ;
830 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
831 wxString const &arg8_defvalue = wxPyButtonNameStr ;
832 wxString *arg8 = (wxString *) &arg8_defvalue ;
833 wxButton *result;
834 bool temp3 = False ;
835 wxPoint temp4 ;
836 wxSize temp5 ;
837 bool temp8 = False ;
838 PyObject * obj0 = 0 ;
839 PyObject * obj2 = 0 ;
840 PyObject * obj3 = 0 ;
841 PyObject * obj4 = 0 ;
842 PyObject * obj6 = 0 ;
843 PyObject * obj7 = 0 ;
844 char *kwnames[] = {
845 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
846 };
847
848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
850 {
851 arg3 = wxString_in_helper(obj2);
852 if (arg3 == NULL) SWIG_fail;
853 temp3 = True;
854 }
855 if (obj3) {
856 {
857 arg4 = &temp4;
858 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
859 }
860 }
861 if (obj4) {
862 {
863 arg5 = &temp5;
864 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
865 }
866 }
867 if (obj6) {
868 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
869 if (arg7 == NULL) {
870 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
871 }
872 }
873 if (obj7) {
874 {
875 arg8 = wxString_in_helper(obj7);
876 if (arg8 == NULL) SWIG_fail;
877 temp8 = True;
878 }
879 }
880 {
881 PyThreadState* __tstate = wxPyBeginAllowThreads();
882 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
883
884 wxPyEndAllowThreads(__tstate);
885 if (PyErr_Occurred()) SWIG_fail;
886 }
887 {
888 resultobj = wxPyMake_wxObject(result);
889 }
890 {
891 if (temp3)
892 delete arg3;
893 }
894 {
895 if (temp8)
896 delete arg8;
897 }
898 return resultobj;
899 fail:
900 {
901 if (temp3)
902 delete arg3;
903 }
904 {
905 if (temp8)
906 delete arg8;
907 }
908 return NULL;
909 }
910
911
912 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
913 PyObject *resultobj;
914 wxButton *result;
915 char *kwnames[] = {
916 NULL
917 };
918
919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
920 {
921 PyThreadState* __tstate = wxPyBeginAllowThreads();
922 result = (wxButton *)new wxButton();
923
924 wxPyEndAllowThreads(__tstate);
925 if (PyErr_Occurred()) SWIG_fail;
926 }
927 {
928 resultobj = wxPyMake_wxObject(result);
929 }
930 return resultobj;
931 fail:
932 return NULL;
933 }
934
935
936 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
937 PyObject *resultobj;
938 wxButton *arg1 = (wxButton *) 0 ;
939 wxWindow *arg2 = (wxWindow *) 0 ;
940 int arg3 ;
941 wxString *arg4 = 0 ;
942 wxPoint const &arg5_defvalue = wxDefaultPosition ;
943 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
944 wxSize const &arg6_defvalue = wxDefaultSize ;
945 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
946 long arg7 = (long) 0 ;
947 wxValidator const &arg8_defvalue = wxDefaultValidator ;
948 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
949 wxString const &arg9_defvalue = wxPyButtonNameStr ;
950 wxString *arg9 = (wxString *) &arg9_defvalue ;
951 bool result;
952 bool temp4 = False ;
953 wxPoint temp5 ;
954 wxSize temp6 ;
955 bool temp9 = False ;
956 PyObject * obj0 = 0 ;
957 PyObject * obj1 = 0 ;
958 PyObject * obj3 = 0 ;
959 PyObject * obj4 = 0 ;
960 PyObject * obj5 = 0 ;
961 PyObject * obj7 = 0 ;
962 PyObject * obj8 = 0 ;
963 char *kwnames[] = {
964 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
965 };
966
967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
970 {
971 arg4 = wxString_in_helper(obj3);
972 if (arg4 == NULL) SWIG_fail;
973 temp4 = True;
974 }
975 if (obj4) {
976 {
977 arg5 = &temp5;
978 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
979 }
980 }
981 if (obj5) {
982 {
983 arg6 = &temp6;
984 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
985 }
986 }
987 if (obj7) {
988 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
989 if (arg8 == NULL) {
990 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
991 }
992 }
993 if (obj8) {
994 {
995 arg9 = wxString_in_helper(obj8);
996 if (arg9 == NULL) SWIG_fail;
997 temp9 = True;
998 }
999 }
1000 {
1001 PyThreadState* __tstate = wxPyBeginAllowThreads();
1002 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1003
1004 wxPyEndAllowThreads(__tstate);
1005 if (PyErr_Occurred()) SWIG_fail;
1006 }
1007 resultobj = PyInt_FromLong((long)result);
1008 {
1009 if (temp4)
1010 delete arg4;
1011 }
1012 {
1013 if (temp9)
1014 delete arg9;
1015 }
1016 return resultobj;
1017 fail:
1018 {
1019 if (temp4)
1020 delete arg4;
1021 }
1022 {
1023 if (temp9)
1024 delete arg9;
1025 }
1026 return NULL;
1027 }
1028
1029
1030 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1031 PyObject *resultobj;
1032 wxButton *arg1 = (wxButton *) 0 ;
1033 PyObject * obj0 = 0 ;
1034 char *kwnames[] = {
1035 (char *) "self", NULL
1036 };
1037
1038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1040 {
1041 PyThreadState* __tstate = wxPyBeginAllowThreads();
1042 (arg1)->SetDefault();
1043
1044 wxPyEndAllowThreads(__tstate);
1045 if (PyErr_Occurred()) SWIG_fail;
1046 }
1047 Py_INCREF(Py_None); resultobj = Py_None;
1048 return resultobj;
1049 fail:
1050 return NULL;
1051 }
1052
1053
1054 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1055 PyObject *resultobj;
1056 wxSize result;
1057 char *kwnames[] = {
1058 NULL
1059 };
1060
1061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1062 {
1063 PyThreadState* __tstate = wxPyBeginAllowThreads();
1064 result = wxButton::GetDefaultSize();
1065
1066 wxPyEndAllowThreads(__tstate);
1067 if (PyErr_Occurred()) SWIG_fail;
1068 }
1069 {
1070 wxSize * resultptr;
1071 resultptr = new wxSize((wxSize &) result);
1072 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1073 }
1074 return resultobj;
1075 fail:
1076 return NULL;
1077 }
1078
1079
1080 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1081 PyObject *obj;
1082 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1083 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1084 Py_INCREF(obj);
1085 return Py_BuildValue((char *)"");
1086 }
1087 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1088 PyObject *resultobj;
1089 wxWindow *arg1 = (wxWindow *) 0 ;
1090 int arg2 ;
1091 wxBitmap *arg3 = 0 ;
1092 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1093 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1094 wxSize const &arg5_defvalue = wxDefaultSize ;
1095 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1096 long arg6 = (long) wxBU_AUTODRAW ;
1097 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1098 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1099 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1100 wxString *arg8 = (wxString *) &arg8_defvalue ;
1101 wxBitmapButton *result;
1102 wxPoint temp4 ;
1103 wxSize temp5 ;
1104 bool temp8 = False ;
1105 PyObject * obj0 = 0 ;
1106 PyObject * obj2 = 0 ;
1107 PyObject * obj3 = 0 ;
1108 PyObject * obj4 = 0 ;
1109 PyObject * obj6 = 0 ;
1110 PyObject * obj7 = 0 ;
1111 char *kwnames[] = {
1112 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1113 };
1114
1115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1117 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1118 if (arg3 == NULL) {
1119 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1120 }
1121 if (obj3) {
1122 {
1123 arg4 = &temp4;
1124 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1125 }
1126 }
1127 if (obj4) {
1128 {
1129 arg5 = &temp5;
1130 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1131 }
1132 }
1133 if (obj6) {
1134 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1135 if (arg7 == NULL) {
1136 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1137 }
1138 }
1139 if (obj7) {
1140 {
1141 arg8 = wxString_in_helper(obj7);
1142 if (arg8 == NULL) SWIG_fail;
1143 temp8 = True;
1144 }
1145 }
1146 {
1147 PyThreadState* __tstate = wxPyBeginAllowThreads();
1148 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1149
1150 wxPyEndAllowThreads(__tstate);
1151 if (PyErr_Occurred()) SWIG_fail;
1152 }
1153 {
1154 resultobj = wxPyMake_wxObject(result);
1155 }
1156 {
1157 if (temp8)
1158 delete arg8;
1159 }
1160 return resultobj;
1161 fail:
1162 {
1163 if (temp8)
1164 delete arg8;
1165 }
1166 return NULL;
1167 }
1168
1169
1170 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1171 PyObject *resultobj;
1172 wxBitmapButton *result;
1173 char *kwnames[] = {
1174 NULL
1175 };
1176
1177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1178 {
1179 PyThreadState* __tstate = wxPyBeginAllowThreads();
1180 result = (wxBitmapButton *)new wxBitmapButton();
1181
1182 wxPyEndAllowThreads(__tstate);
1183 if (PyErr_Occurred()) SWIG_fail;
1184 }
1185 {
1186 resultobj = wxPyMake_wxObject(result);
1187 }
1188 return resultobj;
1189 fail:
1190 return NULL;
1191 }
1192
1193
1194 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1195 PyObject *resultobj;
1196 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1197 wxWindow *arg2 = (wxWindow *) 0 ;
1198 int arg3 ;
1199 wxBitmap *arg4 = 0 ;
1200 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1201 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1202 wxSize const &arg6_defvalue = wxDefaultSize ;
1203 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1204 long arg7 = (long) wxBU_AUTODRAW ;
1205 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1206 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1207 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1208 wxString *arg9 = (wxString *) &arg9_defvalue ;
1209 bool result;
1210 wxPoint temp5 ;
1211 wxSize temp6 ;
1212 bool temp9 = False ;
1213 PyObject * obj0 = 0 ;
1214 PyObject * obj1 = 0 ;
1215 PyObject * obj3 = 0 ;
1216 PyObject * obj4 = 0 ;
1217 PyObject * obj5 = 0 ;
1218 PyObject * obj7 = 0 ;
1219 PyObject * obj8 = 0 ;
1220 char *kwnames[] = {
1221 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1222 };
1223
1224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1226 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1227 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1228 if (arg4 == NULL) {
1229 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1230 }
1231 if (obj4) {
1232 {
1233 arg5 = &temp5;
1234 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1235 }
1236 }
1237 if (obj5) {
1238 {
1239 arg6 = &temp6;
1240 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1241 }
1242 }
1243 if (obj7) {
1244 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1245 if (arg8 == NULL) {
1246 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1247 }
1248 }
1249 if (obj8) {
1250 {
1251 arg9 = wxString_in_helper(obj8);
1252 if (arg9 == NULL) SWIG_fail;
1253 temp9 = True;
1254 }
1255 }
1256 {
1257 PyThreadState* __tstate = wxPyBeginAllowThreads();
1258 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1259
1260 wxPyEndAllowThreads(__tstate);
1261 if (PyErr_Occurred()) SWIG_fail;
1262 }
1263 resultobj = PyInt_FromLong((long)result);
1264 {
1265 if (temp9)
1266 delete arg9;
1267 }
1268 return resultobj;
1269 fail:
1270 {
1271 if (temp9)
1272 delete arg9;
1273 }
1274 return NULL;
1275 }
1276
1277
1278 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1279 PyObject *resultobj;
1280 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1281 wxBitmap result;
1282 PyObject * obj0 = 0 ;
1283 char *kwnames[] = {
1284 (char *) "self", NULL
1285 };
1286
1287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1289 {
1290 PyThreadState* __tstate = wxPyBeginAllowThreads();
1291 result = (arg1)->GetBitmapLabel();
1292
1293 wxPyEndAllowThreads(__tstate);
1294 if (PyErr_Occurred()) SWIG_fail;
1295 }
1296 {
1297 wxBitmap * resultptr;
1298 resultptr = new wxBitmap((wxBitmap &) result);
1299 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1300 }
1301 return resultobj;
1302 fail:
1303 return NULL;
1304 }
1305
1306
1307 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1308 PyObject *resultobj;
1309 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1310 wxBitmap result;
1311 PyObject * obj0 = 0 ;
1312 char *kwnames[] = {
1313 (char *) "self", NULL
1314 };
1315
1316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1318 {
1319 PyThreadState* __tstate = wxPyBeginAllowThreads();
1320 result = (arg1)->GetBitmapDisabled();
1321
1322 wxPyEndAllowThreads(__tstate);
1323 if (PyErr_Occurred()) SWIG_fail;
1324 }
1325 {
1326 wxBitmap * resultptr;
1327 resultptr = new wxBitmap((wxBitmap &) result);
1328 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1329 }
1330 return resultobj;
1331 fail:
1332 return NULL;
1333 }
1334
1335
1336 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1337 PyObject *resultobj;
1338 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1339 wxBitmap result;
1340 PyObject * obj0 = 0 ;
1341 char *kwnames[] = {
1342 (char *) "self", NULL
1343 };
1344
1345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1347 {
1348 PyThreadState* __tstate = wxPyBeginAllowThreads();
1349 result = (arg1)->GetBitmapFocus();
1350
1351 wxPyEndAllowThreads(__tstate);
1352 if (PyErr_Occurred()) SWIG_fail;
1353 }
1354 {
1355 wxBitmap * resultptr;
1356 resultptr = new wxBitmap((wxBitmap &) result);
1357 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1358 }
1359 return resultobj;
1360 fail:
1361 return NULL;
1362 }
1363
1364
1365 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1366 PyObject *resultobj;
1367 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1368 wxBitmap result;
1369 PyObject * obj0 = 0 ;
1370 char *kwnames[] = {
1371 (char *) "self", NULL
1372 };
1373
1374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1376 {
1377 PyThreadState* __tstate = wxPyBeginAllowThreads();
1378 result = (arg1)->GetBitmapSelected();
1379
1380 wxPyEndAllowThreads(__tstate);
1381 if (PyErr_Occurred()) SWIG_fail;
1382 }
1383 {
1384 wxBitmap * resultptr;
1385 resultptr = new wxBitmap((wxBitmap &) result);
1386 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1387 }
1388 return resultobj;
1389 fail:
1390 return NULL;
1391 }
1392
1393
1394 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1395 PyObject *resultobj;
1396 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1397 wxBitmap *arg2 = 0 ;
1398 PyObject * obj0 = 0 ;
1399 PyObject * obj1 = 0 ;
1400 char *kwnames[] = {
1401 (char *) "self",(char *) "bitmap", NULL
1402 };
1403
1404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1407 if (arg2 == NULL) {
1408 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1409 }
1410 {
1411 PyThreadState* __tstate = wxPyBeginAllowThreads();
1412 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1413
1414 wxPyEndAllowThreads(__tstate);
1415 if (PyErr_Occurred()) SWIG_fail;
1416 }
1417 Py_INCREF(Py_None); resultobj = Py_None;
1418 return resultobj;
1419 fail:
1420 return NULL;
1421 }
1422
1423
1424 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1425 PyObject *resultobj;
1426 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1427 wxBitmap *arg2 = 0 ;
1428 PyObject * obj0 = 0 ;
1429 PyObject * obj1 = 0 ;
1430 char *kwnames[] = {
1431 (char *) "self",(char *) "bitmap", NULL
1432 };
1433
1434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1436 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1437 if (arg2 == NULL) {
1438 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1439 }
1440 {
1441 PyThreadState* __tstate = wxPyBeginAllowThreads();
1442 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1443
1444 wxPyEndAllowThreads(__tstate);
1445 if (PyErr_Occurred()) SWIG_fail;
1446 }
1447 Py_INCREF(Py_None); resultobj = Py_None;
1448 return resultobj;
1449 fail:
1450 return NULL;
1451 }
1452
1453
1454 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1455 PyObject *resultobj;
1456 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1457 wxBitmap *arg2 = 0 ;
1458 PyObject * obj0 = 0 ;
1459 PyObject * obj1 = 0 ;
1460 char *kwnames[] = {
1461 (char *) "self",(char *) "bitmap", NULL
1462 };
1463
1464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1466 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1467 if (arg2 == NULL) {
1468 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1469 }
1470 {
1471 PyThreadState* __tstate = wxPyBeginAllowThreads();
1472 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1473
1474 wxPyEndAllowThreads(__tstate);
1475 if (PyErr_Occurred()) SWIG_fail;
1476 }
1477 Py_INCREF(Py_None); resultobj = Py_None;
1478 return resultobj;
1479 fail:
1480 return NULL;
1481 }
1482
1483
1484 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1485 PyObject *resultobj;
1486 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1487 wxBitmap *arg2 = 0 ;
1488 PyObject * obj0 = 0 ;
1489 PyObject * obj1 = 0 ;
1490 char *kwnames[] = {
1491 (char *) "self",(char *) "bitmap", NULL
1492 };
1493
1494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1496 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1497 if (arg2 == NULL) {
1498 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1499 }
1500 {
1501 PyThreadState* __tstate = wxPyBeginAllowThreads();
1502 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1503
1504 wxPyEndAllowThreads(__tstate);
1505 if (PyErr_Occurred()) SWIG_fail;
1506 }
1507 Py_INCREF(Py_None); resultobj = Py_None;
1508 return resultobj;
1509 fail:
1510 return NULL;
1511 }
1512
1513
1514 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1515 PyObject *resultobj;
1516 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1517 int arg2 ;
1518 int arg3 ;
1519 PyObject * obj0 = 0 ;
1520 char *kwnames[] = {
1521 (char *) "self",(char *) "x",(char *) "y", NULL
1522 };
1523
1524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1526 {
1527 PyThreadState* __tstate = wxPyBeginAllowThreads();
1528 (arg1)->SetMargins(arg2,arg3);
1529
1530 wxPyEndAllowThreads(__tstate);
1531 if (PyErr_Occurred()) SWIG_fail;
1532 }
1533 Py_INCREF(Py_None); resultobj = Py_None;
1534 return resultobj;
1535 fail:
1536 return NULL;
1537 }
1538
1539
1540 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1541 PyObject *resultobj;
1542 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1543 int result;
1544 PyObject * obj0 = 0 ;
1545 char *kwnames[] = {
1546 (char *) "self", NULL
1547 };
1548
1549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1551 {
1552 PyThreadState* __tstate = wxPyBeginAllowThreads();
1553 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1554
1555 wxPyEndAllowThreads(__tstate);
1556 if (PyErr_Occurred()) SWIG_fail;
1557 }
1558 resultobj = PyInt_FromLong((long)result);
1559 return resultobj;
1560 fail:
1561 return NULL;
1562 }
1563
1564
1565 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1566 PyObject *resultobj;
1567 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1568 int result;
1569 PyObject * obj0 = 0 ;
1570 char *kwnames[] = {
1571 (char *) "self", NULL
1572 };
1573
1574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1576 {
1577 PyThreadState* __tstate = wxPyBeginAllowThreads();
1578 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1579
1580 wxPyEndAllowThreads(__tstate);
1581 if (PyErr_Occurred()) SWIG_fail;
1582 }
1583 resultobj = PyInt_FromLong((long)result);
1584 return resultobj;
1585 fail:
1586 return NULL;
1587 }
1588
1589
1590 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1591 PyObject *obj;
1592 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1593 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1594 Py_INCREF(obj);
1595 return Py_BuildValue((char *)"");
1596 }
1597 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1598 PyObject *resultobj;
1599 wxWindow *arg1 = (wxWindow *) 0 ;
1600 int arg2 ;
1601 wxString *arg3 = 0 ;
1602 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1603 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1604 wxSize const &arg5_defvalue = wxDefaultSize ;
1605 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1606 long arg6 = (long) 0 ;
1607 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1608 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1609 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1610 wxString *arg8 = (wxString *) &arg8_defvalue ;
1611 wxCheckBox *result;
1612 bool temp3 = False ;
1613 wxPoint temp4 ;
1614 wxSize temp5 ;
1615 bool temp8 = False ;
1616 PyObject * obj0 = 0 ;
1617 PyObject * obj2 = 0 ;
1618 PyObject * obj3 = 0 ;
1619 PyObject * obj4 = 0 ;
1620 PyObject * obj6 = 0 ;
1621 PyObject * obj7 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1628 {
1629 arg3 = wxString_in_helper(obj2);
1630 if (arg3 == NULL) SWIG_fail;
1631 temp3 = True;
1632 }
1633 if (obj3) {
1634 {
1635 arg4 = &temp4;
1636 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1637 }
1638 }
1639 if (obj4) {
1640 {
1641 arg5 = &temp5;
1642 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1643 }
1644 }
1645 if (obj6) {
1646 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1647 if (arg7 == NULL) {
1648 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1649 }
1650 }
1651 if (obj7) {
1652 {
1653 arg8 = wxString_in_helper(obj7);
1654 if (arg8 == NULL) SWIG_fail;
1655 temp8 = True;
1656 }
1657 }
1658 {
1659 PyThreadState* __tstate = wxPyBeginAllowThreads();
1660 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1661
1662 wxPyEndAllowThreads(__tstate);
1663 if (PyErr_Occurred()) SWIG_fail;
1664 }
1665 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1666 {
1667 if (temp3)
1668 delete arg3;
1669 }
1670 {
1671 if (temp8)
1672 delete arg8;
1673 }
1674 return resultobj;
1675 fail:
1676 {
1677 if (temp3)
1678 delete arg3;
1679 }
1680 {
1681 if (temp8)
1682 delete arg8;
1683 }
1684 return NULL;
1685 }
1686
1687
1688 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1689 PyObject *resultobj;
1690 wxCheckBox *result;
1691 char *kwnames[] = {
1692 NULL
1693 };
1694
1695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1696 {
1697 PyThreadState* __tstate = wxPyBeginAllowThreads();
1698 result = (wxCheckBox *)new wxCheckBox();
1699
1700 wxPyEndAllowThreads(__tstate);
1701 if (PyErr_Occurred()) SWIG_fail;
1702 }
1703 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1704 return resultobj;
1705 fail:
1706 return NULL;
1707 }
1708
1709
1710 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1711 PyObject *resultobj;
1712 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1713 wxWindow *arg2 = (wxWindow *) 0 ;
1714 int arg3 ;
1715 wxString *arg4 = 0 ;
1716 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1717 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1718 wxSize const &arg6_defvalue = wxDefaultSize ;
1719 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1720 long arg7 = (long) 0 ;
1721 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1722 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1723 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1724 wxString *arg9 = (wxString *) &arg9_defvalue ;
1725 bool result;
1726 bool temp4 = False ;
1727 wxPoint temp5 ;
1728 wxSize temp6 ;
1729 bool temp9 = False ;
1730 PyObject * obj0 = 0 ;
1731 PyObject * obj1 = 0 ;
1732 PyObject * obj3 = 0 ;
1733 PyObject * obj4 = 0 ;
1734 PyObject * obj5 = 0 ;
1735 PyObject * obj7 = 0 ;
1736 PyObject * obj8 = 0 ;
1737 char *kwnames[] = {
1738 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1739 };
1740
1741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1743 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1744 {
1745 arg4 = wxString_in_helper(obj3);
1746 if (arg4 == NULL) SWIG_fail;
1747 temp4 = True;
1748 }
1749 if (obj4) {
1750 {
1751 arg5 = &temp5;
1752 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1753 }
1754 }
1755 if (obj5) {
1756 {
1757 arg6 = &temp6;
1758 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1759 }
1760 }
1761 if (obj7) {
1762 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1763 if (arg8 == NULL) {
1764 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1765 }
1766 }
1767 if (obj8) {
1768 {
1769 arg9 = wxString_in_helper(obj8);
1770 if (arg9 == NULL) SWIG_fail;
1771 temp9 = True;
1772 }
1773 }
1774 {
1775 PyThreadState* __tstate = wxPyBeginAllowThreads();
1776 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1777
1778 wxPyEndAllowThreads(__tstate);
1779 if (PyErr_Occurred()) SWIG_fail;
1780 }
1781 resultobj = PyInt_FromLong((long)result);
1782 {
1783 if (temp4)
1784 delete arg4;
1785 }
1786 {
1787 if (temp9)
1788 delete arg9;
1789 }
1790 return resultobj;
1791 fail:
1792 {
1793 if (temp4)
1794 delete arg4;
1795 }
1796 {
1797 if (temp9)
1798 delete arg9;
1799 }
1800 return NULL;
1801 }
1802
1803
1804 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1805 PyObject *resultobj;
1806 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1807 bool result;
1808 PyObject * obj0 = 0 ;
1809 char *kwnames[] = {
1810 (char *) "self", NULL
1811 };
1812
1813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1815 {
1816 PyThreadState* __tstate = wxPyBeginAllowThreads();
1817 result = (bool)(arg1)->GetValue();
1818
1819 wxPyEndAllowThreads(__tstate);
1820 if (PyErr_Occurred()) SWIG_fail;
1821 }
1822 resultobj = PyInt_FromLong((long)result);
1823 return resultobj;
1824 fail:
1825 return NULL;
1826 }
1827
1828
1829 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1830 PyObject *resultobj;
1831 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1832 bool result;
1833 PyObject * obj0 = 0 ;
1834 char *kwnames[] = {
1835 (char *) "self", NULL
1836 };
1837
1838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1840 {
1841 PyThreadState* __tstate = wxPyBeginAllowThreads();
1842 result = (bool)(arg1)->IsChecked();
1843
1844 wxPyEndAllowThreads(__tstate);
1845 if (PyErr_Occurred()) SWIG_fail;
1846 }
1847 resultobj = PyInt_FromLong((long)result);
1848 return resultobj;
1849 fail:
1850 return NULL;
1851 }
1852
1853
1854 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1855 PyObject *resultobj;
1856 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1857 bool arg2 ;
1858 PyObject * obj0 = 0 ;
1859 PyObject * obj1 = 0 ;
1860 char *kwnames[] = {
1861 (char *) "self",(char *) "state", NULL
1862 };
1863
1864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1866 arg2 = PyInt_AsLong(obj1) ? true : false;
1867 if (PyErr_Occurred()) SWIG_fail;
1868 {
1869 PyThreadState* __tstate = wxPyBeginAllowThreads();
1870 (arg1)->SetValue(arg2);
1871
1872 wxPyEndAllowThreads(__tstate);
1873 if (PyErr_Occurred()) SWIG_fail;
1874 }
1875 Py_INCREF(Py_None); resultobj = Py_None;
1876 return resultobj;
1877 fail:
1878 return NULL;
1879 }
1880
1881
1882 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1883 PyObject *resultobj;
1884 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1885 int result;
1886 PyObject * obj0 = 0 ;
1887 char *kwnames[] = {
1888 (char *) "self", NULL
1889 };
1890
1891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1893 {
1894 PyThreadState* __tstate = wxPyBeginAllowThreads();
1895 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1896
1897 wxPyEndAllowThreads(__tstate);
1898 if (PyErr_Occurred()) SWIG_fail;
1899 }
1900 resultobj = PyInt_FromLong((long)result);
1901 return resultobj;
1902 fail:
1903 return NULL;
1904 }
1905
1906
1907 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1908 PyObject *resultobj;
1909 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1910 int arg2 ;
1911 PyObject * obj0 = 0 ;
1912 char *kwnames[] = {
1913 (char *) "self",(char *) "state", NULL
1914 };
1915
1916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1918 {
1919 PyThreadState* __tstate = wxPyBeginAllowThreads();
1920 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1921
1922 wxPyEndAllowThreads(__tstate);
1923 if (PyErr_Occurred()) SWIG_fail;
1924 }
1925 Py_INCREF(Py_None); resultobj = Py_None;
1926 return resultobj;
1927 fail:
1928 return NULL;
1929 }
1930
1931
1932 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1933 PyObject *resultobj;
1934 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1935 bool result;
1936 PyObject * obj0 = 0 ;
1937 char *kwnames[] = {
1938 (char *) "self", NULL
1939 };
1940
1941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1943 {
1944 PyThreadState* __tstate = wxPyBeginAllowThreads();
1945 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1946
1947 wxPyEndAllowThreads(__tstate);
1948 if (PyErr_Occurred()) SWIG_fail;
1949 }
1950 resultobj = PyInt_FromLong((long)result);
1951 return resultobj;
1952 fail:
1953 return NULL;
1954 }
1955
1956
1957 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1958 PyObject *resultobj;
1959 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1960 bool result;
1961 PyObject * obj0 = 0 ;
1962 char *kwnames[] = {
1963 (char *) "self", NULL
1964 };
1965
1966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
1967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1968 {
1969 PyThreadState* __tstate = wxPyBeginAllowThreads();
1970 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
1971
1972 wxPyEndAllowThreads(__tstate);
1973 if (PyErr_Occurred()) SWIG_fail;
1974 }
1975 resultobj = PyInt_FromLong((long)result);
1976 return resultobj;
1977 fail:
1978 return NULL;
1979 }
1980
1981
1982 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
1983 PyObject *obj;
1984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1985 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
1986 Py_INCREF(obj);
1987 return Py_BuildValue((char *)"");
1988 }
1989 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject *resultobj;
1991 wxWindow *arg1 = (wxWindow *) 0 ;
1992 int arg2 ;
1993 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1994 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1995 wxSize const &arg4_defvalue = wxDefaultSize ;
1996 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1997 int arg5 = (int) 0 ;
1998 wxString *arg6 = (wxString *) NULL ;
1999 long arg7 = (long) 0 ;
2000 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2001 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2002 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2003 wxString *arg9 = (wxString *) &arg9_defvalue ;
2004 wxChoice *result;
2005 wxPoint temp3 ;
2006 wxSize temp4 ;
2007 bool temp8 = False ;
2008 PyObject * obj0 = 0 ;
2009 PyObject * obj2 = 0 ;
2010 PyObject * obj3 = 0 ;
2011 PyObject * obj4 = 0 ;
2012 PyObject * obj6 = 0 ;
2013 PyObject * obj7 = 0 ;
2014 char *kwnames[] = {
2015 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2016 };
2017
2018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2020 if (obj2) {
2021 {
2022 arg3 = &temp3;
2023 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2024 }
2025 }
2026 if (obj3) {
2027 {
2028 arg4 = &temp4;
2029 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2030 }
2031 }
2032 if (obj4) {
2033 {
2034 arg5 = PyList_Size(obj4);
2035 arg6 = wxString_LIST_helper(obj4);
2036 if (arg6 == NULL) SWIG_fail;
2037 }
2038 }
2039 if (obj6) {
2040 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2041 if (arg8 == NULL) {
2042 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2043 }
2044 }
2045 if (obj7) {
2046 {
2047 arg9 = wxString_in_helper(obj7);
2048 if (arg9 == NULL) SWIG_fail;
2049 temp8 = True;
2050 }
2051 }
2052 {
2053 PyThreadState* __tstate = wxPyBeginAllowThreads();
2054 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2055
2056 wxPyEndAllowThreads(__tstate);
2057 if (PyErr_Occurred()) SWIG_fail;
2058 }
2059 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2060 {
2061 if (arg6) delete [] arg6;
2062 }
2063 {
2064 if (temp8)
2065 delete arg9;
2066 }
2067 return resultobj;
2068 fail:
2069 {
2070 if (arg6) delete [] arg6;
2071 }
2072 {
2073 if (temp8)
2074 delete arg9;
2075 }
2076 return NULL;
2077 }
2078
2079
2080 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2081 PyObject *resultobj;
2082 wxChoice *result;
2083 char *kwnames[] = {
2084 NULL
2085 };
2086
2087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2088 {
2089 PyThreadState* __tstate = wxPyBeginAllowThreads();
2090 result = (wxChoice *)new wxChoice();
2091
2092 wxPyEndAllowThreads(__tstate);
2093 if (PyErr_Occurred()) SWIG_fail;
2094 }
2095 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2096 return resultobj;
2097 fail:
2098 return NULL;
2099 }
2100
2101
2102 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2103 PyObject *resultobj;
2104 wxChoice *arg1 = (wxChoice *) 0 ;
2105 wxWindow *arg2 = (wxWindow *) 0 ;
2106 int arg3 ;
2107 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2108 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2109 wxSize const &arg5_defvalue = wxDefaultSize ;
2110 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2111 int arg6 = (int) 0 ;
2112 wxString *arg7 = (wxString *) NULL ;
2113 long arg8 = (long) 0 ;
2114 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2115 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2116 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2117 wxString *arg10 = (wxString *) &arg10_defvalue ;
2118 bool result;
2119 wxPoint temp4 ;
2120 wxSize temp5 ;
2121 bool temp9 = False ;
2122 PyObject * obj0 = 0 ;
2123 PyObject * obj1 = 0 ;
2124 PyObject * obj3 = 0 ;
2125 PyObject * obj4 = 0 ;
2126 PyObject * obj5 = 0 ;
2127 PyObject * obj7 = 0 ;
2128 PyObject * obj8 = 0 ;
2129 char *kwnames[] = {
2130 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2131 };
2132
2133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2135 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2136 if (obj3) {
2137 {
2138 arg4 = &temp4;
2139 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2140 }
2141 }
2142 if (obj4) {
2143 {
2144 arg5 = &temp5;
2145 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2146 }
2147 }
2148 if (obj5) {
2149 {
2150 arg6 = PyList_Size(obj5);
2151 arg7 = wxString_LIST_helper(obj5);
2152 if (arg7 == NULL) SWIG_fail;
2153 }
2154 }
2155 if (obj7) {
2156 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2157 if (arg9 == NULL) {
2158 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2159 }
2160 }
2161 if (obj8) {
2162 {
2163 arg10 = wxString_in_helper(obj8);
2164 if (arg10 == NULL) SWIG_fail;
2165 temp9 = True;
2166 }
2167 }
2168 {
2169 PyThreadState* __tstate = wxPyBeginAllowThreads();
2170 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2171
2172 wxPyEndAllowThreads(__tstate);
2173 if (PyErr_Occurred()) SWIG_fail;
2174 }
2175 resultobj = PyInt_FromLong((long)result);
2176 {
2177 if (arg7) delete [] arg7;
2178 }
2179 {
2180 if (temp9)
2181 delete arg10;
2182 }
2183 return resultobj;
2184 fail:
2185 {
2186 if (arg7) delete [] arg7;
2187 }
2188 {
2189 if (temp9)
2190 delete arg10;
2191 }
2192 return NULL;
2193 }
2194
2195
2196 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2197 PyObject *resultobj;
2198 wxChoice *arg1 = (wxChoice *) 0 ;
2199 int result;
2200 PyObject * obj0 = 0 ;
2201 char *kwnames[] = {
2202 (char *) "self", NULL
2203 };
2204
2205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2207 {
2208 PyThreadState* __tstate = wxPyBeginAllowThreads();
2209 result = (int)(arg1)->GetColumns();
2210
2211 wxPyEndAllowThreads(__tstate);
2212 if (PyErr_Occurred()) SWIG_fail;
2213 }
2214 resultobj = PyInt_FromLong((long)result);
2215 return resultobj;
2216 fail:
2217 return NULL;
2218 }
2219
2220
2221 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2222 PyObject *resultobj;
2223 wxChoice *arg1 = (wxChoice *) 0 ;
2224 int arg2 = (int) (int)1 ;
2225 PyObject * obj0 = 0 ;
2226 char *kwnames[] = {
2227 (char *) "self",(char *) "n", NULL
2228 };
2229
2230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2232 {
2233 PyThreadState* __tstate = wxPyBeginAllowThreads();
2234 (arg1)->SetColumns(arg2);
2235
2236 wxPyEndAllowThreads(__tstate);
2237 if (PyErr_Occurred()) SWIG_fail;
2238 }
2239 Py_INCREF(Py_None); resultobj = Py_None;
2240 return resultobj;
2241 fail:
2242 return NULL;
2243 }
2244
2245
2246 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2247 PyObject *resultobj;
2248 wxChoice *arg1 = (wxChoice *) 0 ;
2249 int arg2 ;
2250 PyObject * obj0 = 0 ;
2251 char *kwnames[] = {
2252 (char *) "self",(char *) "n", NULL
2253 };
2254
2255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2257 {
2258 PyThreadState* __tstate = wxPyBeginAllowThreads();
2259 (arg1)->SetSelection(arg2);
2260
2261 wxPyEndAllowThreads(__tstate);
2262 if (PyErr_Occurred()) SWIG_fail;
2263 }
2264 Py_INCREF(Py_None); resultobj = Py_None;
2265 return resultobj;
2266 fail:
2267 return NULL;
2268 }
2269
2270
2271 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2272 PyObject *resultobj;
2273 wxChoice *arg1 = (wxChoice *) 0 ;
2274 wxString *arg2 = 0 ;
2275 bool temp2 = False ;
2276 PyObject * obj0 = 0 ;
2277 PyObject * obj1 = 0 ;
2278 char *kwnames[] = {
2279 (char *) "self",(char *) "string", NULL
2280 };
2281
2282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2284 {
2285 arg2 = wxString_in_helper(obj1);
2286 if (arg2 == NULL) SWIG_fail;
2287 temp2 = True;
2288 }
2289 {
2290 PyThreadState* __tstate = wxPyBeginAllowThreads();
2291 (arg1)->SetStringSelection((wxString const &)*arg2);
2292
2293 wxPyEndAllowThreads(__tstate);
2294 if (PyErr_Occurred()) SWIG_fail;
2295 }
2296 Py_INCREF(Py_None); resultobj = Py_None;
2297 {
2298 if (temp2)
2299 delete arg2;
2300 }
2301 return resultobj;
2302 fail:
2303 {
2304 if (temp2)
2305 delete arg2;
2306 }
2307 return NULL;
2308 }
2309
2310
2311 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2312 PyObject *resultobj;
2313 wxChoice *arg1 = (wxChoice *) 0 ;
2314 int arg2 ;
2315 wxString *arg3 = 0 ;
2316 bool temp3 = False ;
2317 PyObject * obj0 = 0 ;
2318 PyObject * obj2 = 0 ;
2319 char *kwnames[] = {
2320 (char *) "self",(char *) "n",(char *) "s", NULL
2321 };
2322
2323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2325 {
2326 arg3 = wxString_in_helper(obj2);
2327 if (arg3 == NULL) SWIG_fail;
2328 temp3 = True;
2329 }
2330 {
2331 PyThreadState* __tstate = wxPyBeginAllowThreads();
2332 (arg1)->SetString(arg2,(wxString const &)*arg3);
2333
2334 wxPyEndAllowThreads(__tstate);
2335 if (PyErr_Occurred()) SWIG_fail;
2336 }
2337 Py_INCREF(Py_None); resultobj = Py_None;
2338 {
2339 if (temp3)
2340 delete arg3;
2341 }
2342 return resultobj;
2343 fail:
2344 {
2345 if (temp3)
2346 delete arg3;
2347 }
2348 return NULL;
2349 }
2350
2351
2352 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2353 PyObject *obj;
2354 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2355 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2356 Py_INCREF(obj);
2357 return Py_BuildValue((char *)"");
2358 }
2359 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2360 PyObject *resultobj;
2361 wxWindow *arg1 = (wxWindow *) 0 ;
2362 int arg2 ;
2363 wxString const &arg3_defvalue = wxPyEmptyString ;
2364 wxString *arg3 = (wxString *) &arg3_defvalue ;
2365 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2366 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2367 wxSize const &arg5_defvalue = wxDefaultSize ;
2368 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2369 int arg6 = (int) 0 ;
2370 wxString *arg7 = (wxString *) NULL ;
2371 long arg8 = (long) 0 ;
2372 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2373 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2374 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2375 wxString *arg10 = (wxString *) &arg10_defvalue ;
2376 wxComboBox *result;
2377 bool temp3 = False ;
2378 wxPoint temp4 ;
2379 wxSize temp5 ;
2380 bool temp9 = False ;
2381 PyObject * obj0 = 0 ;
2382 PyObject * obj2 = 0 ;
2383 PyObject * obj3 = 0 ;
2384 PyObject * obj4 = 0 ;
2385 PyObject * obj5 = 0 ;
2386 PyObject * obj7 = 0 ;
2387 PyObject * obj8 = 0 ;
2388 char *kwnames[] = {
2389 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2390 };
2391
2392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2394 if (obj2) {
2395 {
2396 arg3 = wxString_in_helper(obj2);
2397 if (arg3 == NULL) SWIG_fail;
2398 temp3 = True;
2399 }
2400 }
2401 if (obj3) {
2402 {
2403 arg4 = &temp4;
2404 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2405 }
2406 }
2407 if (obj4) {
2408 {
2409 arg5 = &temp5;
2410 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2411 }
2412 }
2413 if (obj5) {
2414 {
2415 arg6 = PyList_Size(obj5);
2416 arg7 = wxString_LIST_helper(obj5);
2417 if (arg7 == NULL) SWIG_fail;
2418 }
2419 }
2420 if (obj7) {
2421 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2422 if (arg9 == NULL) {
2423 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2424 }
2425 }
2426 if (obj8) {
2427 {
2428 arg10 = wxString_in_helper(obj8);
2429 if (arg10 == NULL) SWIG_fail;
2430 temp9 = True;
2431 }
2432 }
2433 {
2434 PyThreadState* __tstate = wxPyBeginAllowThreads();
2435 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2436
2437 wxPyEndAllowThreads(__tstate);
2438 if (PyErr_Occurred()) SWIG_fail;
2439 }
2440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2441 {
2442 if (temp3)
2443 delete arg3;
2444 }
2445 {
2446 if (arg7) delete [] arg7;
2447 }
2448 {
2449 if (temp9)
2450 delete arg10;
2451 }
2452 return resultobj;
2453 fail:
2454 {
2455 if (temp3)
2456 delete arg3;
2457 }
2458 {
2459 if (arg7) delete [] arg7;
2460 }
2461 {
2462 if (temp9)
2463 delete arg10;
2464 }
2465 return NULL;
2466 }
2467
2468
2469 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2470 PyObject *resultobj;
2471 wxComboBox *result;
2472 char *kwnames[] = {
2473 NULL
2474 };
2475
2476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2477 {
2478 PyThreadState* __tstate = wxPyBeginAllowThreads();
2479 result = (wxComboBox *)new wxComboBox();
2480
2481 wxPyEndAllowThreads(__tstate);
2482 if (PyErr_Occurred()) SWIG_fail;
2483 }
2484 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2485 return resultobj;
2486 fail:
2487 return NULL;
2488 }
2489
2490
2491 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2492 PyObject *resultobj;
2493 wxComboBox *arg1 = (wxComboBox *) 0 ;
2494 wxWindow *arg2 = (wxWindow *) 0 ;
2495 int arg3 ;
2496 wxString const &arg4_defvalue = wxPyEmptyString ;
2497 wxString *arg4 = (wxString *) &arg4_defvalue ;
2498 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2499 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2500 wxSize const &arg6_defvalue = wxDefaultSize ;
2501 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2502 int arg7 = (int) 0 ;
2503 wxString *arg8 = (wxString *) NULL ;
2504 long arg9 = (long) 0 ;
2505 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2506 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2507 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2508 wxString *arg11 = (wxString *) &arg11_defvalue ;
2509 bool result;
2510 bool temp4 = False ;
2511 wxPoint temp5 ;
2512 wxSize temp6 ;
2513 bool temp10 = False ;
2514 PyObject * obj0 = 0 ;
2515 PyObject * obj1 = 0 ;
2516 PyObject * obj3 = 0 ;
2517 PyObject * obj4 = 0 ;
2518 PyObject * obj5 = 0 ;
2519 PyObject * obj6 = 0 ;
2520 PyObject * obj8 = 0 ;
2521 PyObject * obj9 = 0 ;
2522 char *kwnames[] = {
2523 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2524 };
2525
2526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2529 if (obj3) {
2530 {
2531 arg4 = wxString_in_helper(obj3);
2532 if (arg4 == NULL) SWIG_fail;
2533 temp4 = True;
2534 }
2535 }
2536 if (obj4) {
2537 {
2538 arg5 = &temp5;
2539 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2540 }
2541 }
2542 if (obj5) {
2543 {
2544 arg6 = &temp6;
2545 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2546 }
2547 }
2548 if (obj6) {
2549 {
2550 arg7 = PyList_Size(obj6);
2551 arg8 = wxString_LIST_helper(obj6);
2552 if (arg8 == NULL) SWIG_fail;
2553 }
2554 }
2555 if (obj8) {
2556 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2557 if (arg10 == NULL) {
2558 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2559 }
2560 }
2561 if (obj9) {
2562 {
2563 arg11 = wxString_in_helper(obj9);
2564 if (arg11 == NULL) SWIG_fail;
2565 temp10 = True;
2566 }
2567 }
2568 {
2569 PyThreadState* __tstate = wxPyBeginAllowThreads();
2570 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2571
2572 wxPyEndAllowThreads(__tstate);
2573 if (PyErr_Occurred()) SWIG_fail;
2574 }
2575 resultobj = PyInt_FromLong((long)result);
2576 {
2577 if (temp4)
2578 delete arg4;
2579 }
2580 {
2581 if (arg8) delete [] arg8;
2582 }
2583 {
2584 if (temp10)
2585 delete arg11;
2586 }
2587 return resultobj;
2588 fail:
2589 {
2590 if (temp4)
2591 delete arg4;
2592 }
2593 {
2594 if (arg8) delete [] arg8;
2595 }
2596 {
2597 if (temp10)
2598 delete arg11;
2599 }
2600 return NULL;
2601 }
2602
2603
2604 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2605 PyObject *resultobj;
2606 wxComboBox *arg1 = (wxComboBox *) 0 ;
2607 wxString result;
2608 PyObject * obj0 = 0 ;
2609 char *kwnames[] = {
2610 (char *) "self", NULL
2611 };
2612
2613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2615 {
2616 PyThreadState* __tstate = wxPyBeginAllowThreads();
2617 result = ((wxComboBox const *)arg1)->GetValue();
2618
2619 wxPyEndAllowThreads(__tstate);
2620 if (PyErr_Occurred()) SWIG_fail;
2621 }
2622 {
2623 #if wxUSE_UNICODE
2624 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2625 #else
2626 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2627 #endif
2628 }
2629 return resultobj;
2630 fail:
2631 return NULL;
2632 }
2633
2634
2635 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2636 PyObject *resultobj;
2637 wxComboBox *arg1 = (wxComboBox *) 0 ;
2638 wxString *arg2 = 0 ;
2639 bool temp2 = False ;
2640 PyObject * obj0 = 0 ;
2641 PyObject * obj1 = 0 ;
2642 char *kwnames[] = {
2643 (char *) "self",(char *) "value", NULL
2644 };
2645
2646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2648 {
2649 arg2 = wxString_in_helper(obj1);
2650 if (arg2 == NULL) SWIG_fail;
2651 temp2 = True;
2652 }
2653 {
2654 PyThreadState* __tstate = wxPyBeginAllowThreads();
2655 (arg1)->SetValue((wxString const &)*arg2);
2656
2657 wxPyEndAllowThreads(__tstate);
2658 if (PyErr_Occurred()) SWIG_fail;
2659 }
2660 Py_INCREF(Py_None); resultobj = Py_None;
2661 {
2662 if (temp2)
2663 delete arg2;
2664 }
2665 return resultobj;
2666 fail:
2667 {
2668 if (temp2)
2669 delete arg2;
2670 }
2671 return NULL;
2672 }
2673
2674
2675 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2676 PyObject *resultobj;
2677 wxComboBox *arg1 = (wxComboBox *) 0 ;
2678 PyObject * obj0 = 0 ;
2679 char *kwnames[] = {
2680 (char *) "self", NULL
2681 };
2682
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 (arg1)->Copy();
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 Py_INCREF(Py_None); resultobj = Py_None;
2693 return resultobj;
2694 fail:
2695 return NULL;
2696 }
2697
2698
2699 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2700 PyObject *resultobj;
2701 wxComboBox *arg1 = (wxComboBox *) 0 ;
2702 PyObject * obj0 = 0 ;
2703 char *kwnames[] = {
2704 (char *) "self", NULL
2705 };
2706
2707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2709 {
2710 PyThreadState* __tstate = wxPyBeginAllowThreads();
2711 (arg1)->Cut();
2712
2713 wxPyEndAllowThreads(__tstate);
2714 if (PyErr_Occurred()) SWIG_fail;
2715 }
2716 Py_INCREF(Py_None); resultobj = Py_None;
2717 return resultobj;
2718 fail:
2719 return NULL;
2720 }
2721
2722
2723 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2724 PyObject *resultobj;
2725 wxComboBox *arg1 = (wxComboBox *) 0 ;
2726 PyObject * obj0 = 0 ;
2727 char *kwnames[] = {
2728 (char *) "self", NULL
2729 };
2730
2731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2733 {
2734 PyThreadState* __tstate = wxPyBeginAllowThreads();
2735 (arg1)->Paste();
2736
2737 wxPyEndAllowThreads(__tstate);
2738 if (PyErr_Occurred()) SWIG_fail;
2739 }
2740 Py_INCREF(Py_None); resultobj = Py_None;
2741 return resultobj;
2742 fail:
2743 return NULL;
2744 }
2745
2746
2747 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2748 PyObject *resultobj;
2749 wxComboBox *arg1 = (wxComboBox *) 0 ;
2750 long arg2 ;
2751 PyObject * obj0 = 0 ;
2752 char *kwnames[] = {
2753 (char *) "self",(char *) "pos", NULL
2754 };
2755
2756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2758 {
2759 PyThreadState* __tstate = wxPyBeginAllowThreads();
2760 (arg1)->SetInsertionPoint(arg2);
2761
2762 wxPyEndAllowThreads(__tstate);
2763 if (PyErr_Occurred()) SWIG_fail;
2764 }
2765 Py_INCREF(Py_None); resultobj = Py_None;
2766 return resultobj;
2767 fail:
2768 return NULL;
2769 }
2770
2771
2772 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2773 PyObject *resultobj;
2774 wxComboBox *arg1 = (wxComboBox *) 0 ;
2775 long result;
2776 PyObject * obj0 = 0 ;
2777 char *kwnames[] = {
2778 (char *) "self", NULL
2779 };
2780
2781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2783 {
2784 PyThreadState* __tstate = wxPyBeginAllowThreads();
2785 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2786
2787 wxPyEndAllowThreads(__tstate);
2788 if (PyErr_Occurred()) SWIG_fail;
2789 }
2790 resultobj = PyInt_FromLong((long)result);
2791 return resultobj;
2792 fail:
2793 return NULL;
2794 }
2795
2796
2797 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2798 PyObject *resultobj;
2799 wxComboBox *arg1 = (wxComboBox *) 0 ;
2800 long result;
2801 PyObject * obj0 = 0 ;
2802 char *kwnames[] = {
2803 (char *) "self", NULL
2804 };
2805
2806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2808 {
2809 PyThreadState* __tstate = wxPyBeginAllowThreads();
2810 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2811
2812 wxPyEndAllowThreads(__tstate);
2813 if (PyErr_Occurred()) SWIG_fail;
2814 }
2815 resultobj = PyInt_FromLong((long)result);
2816 return resultobj;
2817 fail:
2818 return NULL;
2819 }
2820
2821
2822 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2823 PyObject *resultobj;
2824 wxComboBox *arg1 = (wxComboBox *) 0 ;
2825 long arg2 ;
2826 long arg3 ;
2827 wxString *arg4 = 0 ;
2828 bool temp4 = False ;
2829 PyObject * obj0 = 0 ;
2830 PyObject * obj3 = 0 ;
2831 char *kwnames[] = {
2832 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2833 };
2834
2835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2837 {
2838 arg4 = wxString_in_helper(obj3);
2839 if (arg4 == NULL) SWIG_fail;
2840 temp4 = True;
2841 }
2842 {
2843 PyThreadState* __tstate = wxPyBeginAllowThreads();
2844 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2845
2846 wxPyEndAllowThreads(__tstate);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 }
2849 Py_INCREF(Py_None); resultobj = Py_None;
2850 {
2851 if (temp4)
2852 delete arg4;
2853 }
2854 return resultobj;
2855 fail:
2856 {
2857 if (temp4)
2858 delete arg4;
2859 }
2860 return NULL;
2861 }
2862
2863
2864 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2865 PyObject *resultobj;
2866 wxComboBox *arg1 = (wxComboBox *) 0 ;
2867 long arg2 ;
2868 long arg3 ;
2869 PyObject * obj0 = 0 ;
2870 char *kwnames[] = {
2871 (char *) "self",(char *) "from",(char *) "to", NULL
2872 };
2873
2874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2876 {
2877 PyThreadState* __tstate = wxPyBeginAllowThreads();
2878 (arg1)->SetSelection(arg2,arg3);
2879
2880 wxPyEndAllowThreads(__tstate);
2881 if (PyErr_Occurred()) SWIG_fail;
2882 }
2883 Py_INCREF(Py_None); resultobj = Py_None;
2884 return resultobj;
2885 fail:
2886 return NULL;
2887 }
2888
2889
2890 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2891 PyObject *resultobj;
2892 wxComboBox *arg1 = (wxComboBox *) 0 ;
2893 bool arg2 ;
2894 PyObject * obj0 = 0 ;
2895 PyObject * obj1 = 0 ;
2896 char *kwnames[] = {
2897 (char *) "self",(char *) "editable", NULL
2898 };
2899
2900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2902 arg2 = PyInt_AsLong(obj1) ? true : false;
2903 if (PyErr_Occurred()) SWIG_fail;
2904 {
2905 PyThreadState* __tstate = wxPyBeginAllowThreads();
2906 (arg1)->SetEditable(arg2);
2907
2908 wxPyEndAllowThreads(__tstate);
2909 if (PyErr_Occurred()) SWIG_fail;
2910 }
2911 Py_INCREF(Py_None); resultobj = Py_None;
2912 return resultobj;
2913 fail:
2914 return NULL;
2915 }
2916
2917
2918 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2919 PyObject *resultobj;
2920 wxComboBox *arg1 = (wxComboBox *) 0 ;
2921 PyObject * obj0 = 0 ;
2922 char *kwnames[] = {
2923 (char *) "self", NULL
2924 };
2925
2926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2928 {
2929 PyThreadState* __tstate = wxPyBeginAllowThreads();
2930 (arg1)->SetInsertionPointEnd();
2931
2932 wxPyEndAllowThreads(__tstate);
2933 if (PyErr_Occurred()) SWIG_fail;
2934 }
2935 Py_INCREF(Py_None); resultobj = Py_None;
2936 return resultobj;
2937 fail:
2938 return NULL;
2939 }
2940
2941
2942 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
2943 PyObject *resultobj;
2944 wxComboBox *arg1 = (wxComboBox *) 0 ;
2945 long arg2 ;
2946 long arg3 ;
2947 PyObject * obj0 = 0 ;
2948 char *kwnames[] = {
2949 (char *) "self",(char *) "from",(char *) "to", NULL
2950 };
2951
2952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
2953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2954 {
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 (arg1)->Remove(arg2,arg3);
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 }
2961 Py_INCREF(Py_None); resultobj = Py_None;
2962 return resultobj;
2963 fail:
2964 return NULL;
2965 }
2966
2967
2968 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
2969 PyObject *obj;
2970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2971 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
2972 Py_INCREF(obj);
2973 return Py_BuildValue((char *)"");
2974 }
2975 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
2976 PyObject *resultobj;
2977 wxWindow *arg1 = (wxWindow *) 0 ;
2978 int arg2 ;
2979 int arg3 ;
2980 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2981 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2982 wxSize const &arg5_defvalue = wxDefaultSize ;
2983 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2984 long arg6 = (long) wxGA_HORIZONTAL ;
2985 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2986 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2987 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
2988 wxString *arg8 = (wxString *) &arg8_defvalue ;
2989 wxGauge *result;
2990 wxPoint temp4 ;
2991 wxSize temp5 ;
2992 bool temp8 = False ;
2993 PyObject * obj0 = 0 ;
2994 PyObject * obj3 = 0 ;
2995 PyObject * obj4 = 0 ;
2996 PyObject * obj6 = 0 ;
2997 PyObject * obj7 = 0 ;
2998 char *kwnames[] = {
2999 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3000 };
3001
3002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3004 if (obj3) {
3005 {
3006 arg4 = &temp4;
3007 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3008 }
3009 }
3010 if (obj4) {
3011 {
3012 arg5 = &temp5;
3013 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3014 }
3015 }
3016 if (obj6) {
3017 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3018 if (arg7 == NULL) {
3019 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3020 }
3021 }
3022 if (obj7) {
3023 {
3024 arg8 = wxString_in_helper(obj7);
3025 if (arg8 == NULL) SWIG_fail;
3026 temp8 = True;
3027 }
3028 }
3029 {
3030 PyThreadState* __tstate = wxPyBeginAllowThreads();
3031 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3032
3033 wxPyEndAllowThreads(__tstate);
3034 if (PyErr_Occurred()) SWIG_fail;
3035 }
3036 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3037 {
3038 if (temp8)
3039 delete arg8;
3040 }
3041 return resultobj;
3042 fail:
3043 {
3044 if (temp8)
3045 delete arg8;
3046 }
3047 return NULL;
3048 }
3049
3050
3051 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3052 PyObject *resultobj;
3053 wxGauge *result;
3054 char *kwnames[] = {
3055 NULL
3056 };
3057
3058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3059 {
3060 PyThreadState* __tstate = wxPyBeginAllowThreads();
3061 result = (wxGauge *)new wxGauge();
3062
3063 wxPyEndAllowThreads(__tstate);
3064 if (PyErr_Occurred()) SWIG_fail;
3065 }
3066 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3067 return resultobj;
3068 fail:
3069 return NULL;
3070 }
3071
3072
3073 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3074 PyObject *resultobj;
3075 wxGauge *arg1 = (wxGauge *) 0 ;
3076 wxWindow *arg2 = (wxWindow *) 0 ;
3077 int arg3 ;
3078 int arg4 ;
3079 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3080 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3081 wxSize const &arg6_defvalue = wxDefaultSize ;
3082 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3083 long arg7 = (long) wxGA_HORIZONTAL ;
3084 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3085 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3086 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3087 wxString *arg9 = (wxString *) &arg9_defvalue ;
3088 bool result;
3089 wxPoint temp5 ;
3090 wxSize temp6 ;
3091 bool temp9 = False ;
3092 PyObject * obj0 = 0 ;
3093 PyObject * obj1 = 0 ;
3094 PyObject * obj4 = 0 ;
3095 PyObject * obj5 = 0 ;
3096 PyObject * obj7 = 0 ;
3097 PyObject * obj8 = 0 ;
3098 char *kwnames[] = {
3099 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3100 };
3101
3102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3105 if (obj4) {
3106 {
3107 arg5 = &temp5;
3108 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3109 }
3110 }
3111 if (obj5) {
3112 {
3113 arg6 = &temp6;
3114 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3115 }
3116 }
3117 if (obj7) {
3118 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3119 if (arg8 == NULL) {
3120 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3121 }
3122 }
3123 if (obj8) {
3124 {
3125 arg9 = wxString_in_helper(obj8);
3126 if (arg9 == NULL) SWIG_fail;
3127 temp9 = True;
3128 }
3129 }
3130 {
3131 PyThreadState* __tstate = wxPyBeginAllowThreads();
3132 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3133
3134 wxPyEndAllowThreads(__tstate);
3135 if (PyErr_Occurred()) SWIG_fail;
3136 }
3137 resultobj = PyInt_FromLong((long)result);
3138 {
3139 if (temp9)
3140 delete arg9;
3141 }
3142 return resultobj;
3143 fail:
3144 {
3145 if (temp9)
3146 delete arg9;
3147 }
3148 return NULL;
3149 }
3150
3151
3152 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3153 PyObject *resultobj;
3154 wxGauge *arg1 = (wxGauge *) 0 ;
3155 int arg2 ;
3156 PyObject * obj0 = 0 ;
3157 char *kwnames[] = {
3158 (char *) "self",(char *) "range", NULL
3159 };
3160
3161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3163 {
3164 PyThreadState* __tstate = wxPyBeginAllowThreads();
3165 (arg1)->SetRange(arg2);
3166
3167 wxPyEndAllowThreads(__tstate);
3168 if (PyErr_Occurred()) SWIG_fail;
3169 }
3170 Py_INCREF(Py_None); resultobj = Py_None;
3171 return resultobj;
3172 fail:
3173 return NULL;
3174 }
3175
3176
3177 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3178 PyObject *resultobj;
3179 wxGauge *arg1 = (wxGauge *) 0 ;
3180 int result;
3181 PyObject * obj0 = 0 ;
3182 char *kwnames[] = {
3183 (char *) "self", NULL
3184 };
3185
3186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3188 {
3189 PyThreadState* __tstate = wxPyBeginAllowThreads();
3190 result = (int)((wxGauge const *)arg1)->GetRange();
3191
3192 wxPyEndAllowThreads(__tstate);
3193 if (PyErr_Occurred()) SWIG_fail;
3194 }
3195 resultobj = PyInt_FromLong((long)result);
3196 return resultobj;
3197 fail:
3198 return NULL;
3199 }
3200
3201
3202 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3203 PyObject *resultobj;
3204 wxGauge *arg1 = (wxGauge *) 0 ;
3205 int arg2 ;
3206 PyObject * obj0 = 0 ;
3207 char *kwnames[] = {
3208 (char *) "self",(char *) "pos", NULL
3209 };
3210
3211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3213 {
3214 PyThreadState* __tstate = wxPyBeginAllowThreads();
3215 (arg1)->SetValue(arg2);
3216
3217 wxPyEndAllowThreads(__tstate);
3218 if (PyErr_Occurred()) SWIG_fail;
3219 }
3220 Py_INCREF(Py_None); resultobj = Py_None;
3221 return resultobj;
3222 fail:
3223 return NULL;
3224 }
3225
3226
3227 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3228 PyObject *resultobj;
3229 wxGauge *arg1 = (wxGauge *) 0 ;
3230 int result;
3231 PyObject * obj0 = 0 ;
3232 char *kwnames[] = {
3233 (char *) "self", NULL
3234 };
3235
3236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3238 {
3239 PyThreadState* __tstate = wxPyBeginAllowThreads();
3240 result = (int)((wxGauge const *)arg1)->GetValue();
3241
3242 wxPyEndAllowThreads(__tstate);
3243 if (PyErr_Occurred()) SWIG_fail;
3244 }
3245 resultobj = PyInt_FromLong((long)result);
3246 return resultobj;
3247 fail:
3248 return NULL;
3249 }
3250
3251
3252 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3253 PyObject *resultobj;
3254 wxGauge *arg1 = (wxGauge *) 0 ;
3255 bool result;
3256 PyObject * obj0 = 0 ;
3257 char *kwnames[] = {
3258 (char *) "self", NULL
3259 };
3260
3261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3263 {
3264 PyThreadState* __tstate = wxPyBeginAllowThreads();
3265 result = (bool)((wxGauge const *)arg1)->IsVertical();
3266
3267 wxPyEndAllowThreads(__tstate);
3268 if (PyErr_Occurred()) SWIG_fail;
3269 }
3270 resultobj = PyInt_FromLong((long)result);
3271 return resultobj;
3272 fail:
3273 return NULL;
3274 }
3275
3276
3277 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3278 PyObject *resultobj;
3279 wxGauge *arg1 = (wxGauge *) 0 ;
3280 int arg2 ;
3281 PyObject * obj0 = 0 ;
3282 char *kwnames[] = {
3283 (char *) "self",(char *) "w", NULL
3284 };
3285
3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3288 {
3289 PyThreadState* __tstate = wxPyBeginAllowThreads();
3290 (arg1)->SetShadowWidth(arg2);
3291
3292 wxPyEndAllowThreads(__tstate);
3293 if (PyErr_Occurred()) SWIG_fail;
3294 }
3295 Py_INCREF(Py_None); resultobj = Py_None;
3296 return resultobj;
3297 fail:
3298 return NULL;
3299 }
3300
3301
3302 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3303 PyObject *resultobj;
3304 wxGauge *arg1 = (wxGauge *) 0 ;
3305 int result;
3306 PyObject * obj0 = 0 ;
3307 char *kwnames[] = {
3308 (char *) "self", NULL
3309 };
3310
3311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3313 {
3314 PyThreadState* __tstate = wxPyBeginAllowThreads();
3315 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3316
3317 wxPyEndAllowThreads(__tstate);
3318 if (PyErr_Occurred()) SWIG_fail;
3319 }
3320 resultobj = PyInt_FromLong((long)result);
3321 return resultobj;
3322 fail:
3323 return NULL;
3324 }
3325
3326
3327 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3328 PyObject *resultobj;
3329 wxGauge *arg1 = (wxGauge *) 0 ;
3330 int arg2 ;
3331 PyObject * obj0 = 0 ;
3332 char *kwnames[] = {
3333 (char *) "self",(char *) "w", NULL
3334 };
3335
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3338 {
3339 PyThreadState* __tstate = wxPyBeginAllowThreads();
3340 (arg1)->SetBezelFace(arg2);
3341
3342 wxPyEndAllowThreads(__tstate);
3343 if (PyErr_Occurred()) SWIG_fail;
3344 }
3345 Py_INCREF(Py_None); resultobj = Py_None;
3346 return resultobj;
3347 fail:
3348 return NULL;
3349 }
3350
3351
3352 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3353 PyObject *resultobj;
3354 wxGauge *arg1 = (wxGauge *) 0 ;
3355 int result;
3356 PyObject * obj0 = 0 ;
3357 char *kwnames[] = {
3358 (char *) "self", NULL
3359 };
3360
3361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3363 {
3364 PyThreadState* __tstate = wxPyBeginAllowThreads();
3365 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3366
3367 wxPyEndAllowThreads(__tstate);
3368 if (PyErr_Occurred()) SWIG_fail;
3369 }
3370 resultobj = PyInt_FromLong((long)result);
3371 return resultobj;
3372 fail:
3373 return NULL;
3374 }
3375
3376
3377 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3378 PyObject *obj;
3379 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3380 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3381 Py_INCREF(obj);
3382 return Py_BuildValue((char *)"");
3383 }
3384 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3385 PyObject *resultobj;
3386 wxWindow *arg1 = (wxWindow *) 0 ;
3387 int arg2 ;
3388 wxString *arg3 = 0 ;
3389 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3390 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3391 wxSize const &arg5_defvalue = wxDefaultSize ;
3392 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3393 long arg6 = (long) 0 ;
3394 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3395 wxString *arg7 = (wxString *) &arg7_defvalue ;
3396 wxStaticBox *result;
3397 bool temp3 = False ;
3398 wxPoint temp4 ;
3399 wxSize temp5 ;
3400 bool temp7 = False ;
3401 PyObject * obj0 = 0 ;
3402 PyObject * obj2 = 0 ;
3403 PyObject * obj3 = 0 ;
3404 PyObject * obj4 = 0 ;
3405 PyObject * obj6 = 0 ;
3406 char *kwnames[] = {
3407 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3408 };
3409
3410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3412 {
3413 arg3 = wxString_in_helper(obj2);
3414 if (arg3 == NULL) SWIG_fail;
3415 temp3 = True;
3416 }
3417 if (obj3) {
3418 {
3419 arg4 = &temp4;
3420 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3421 }
3422 }
3423 if (obj4) {
3424 {
3425 arg5 = &temp5;
3426 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3427 }
3428 }
3429 if (obj6) {
3430 {
3431 arg7 = wxString_in_helper(obj6);
3432 if (arg7 == NULL) SWIG_fail;
3433 temp7 = True;
3434 }
3435 }
3436 {
3437 PyThreadState* __tstate = wxPyBeginAllowThreads();
3438 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3439
3440 wxPyEndAllowThreads(__tstate);
3441 if (PyErr_Occurred()) SWIG_fail;
3442 }
3443 {
3444 resultobj = wxPyMake_wxObject(result);
3445 }
3446 {
3447 if (temp3)
3448 delete arg3;
3449 }
3450 {
3451 if (temp7)
3452 delete arg7;
3453 }
3454 return resultobj;
3455 fail:
3456 {
3457 if (temp3)
3458 delete arg3;
3459 }
3460 {
3461 if (temp7)
3462 delete arg7;
3463 }
3464 return NULL;
3465 }
3466
3467
3468 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3469 PyObject *resultobj;
3470 wxStaticBox *result;
3471 char *kwnames[] = {
3472 NULL
3473 };
3474
3475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3476 {
3477 PyThreadState* __tstate = wxPyBeginAllowThreads();
3478 result = (wxStaticBox *)new wxStaticBox();
3479
3480 wxPyEndAllowThreads(__tstate);
3481 if (PyErr_Occurred()) SWIG_fail;
3482 }
3483 {
3484 resultobj = wxPyMake_wxObject(result);
3485 }
3486 return resultobj;
3487 fail:
3488 return NULL;
3489 }
3490
3491
3492 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3493 PyObject *resultobj;
3494 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3495 wxWindow *arg2 = (wxWindow *) 0 ;
3496 int arg3 ;
3497 wxString *arg4 = 0 ;
3498 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3499 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3500 wxSize const &arg6_defvalue = wxDefaultSize ;
3501 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3502 long arg7 = (long) 0 ;
3503 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3504 wxString *arg8 = (wxString *) &arg8_defvalue ;
3505 bool result;
3506 bool temp4 = False ;
3507 wxPoint temp5 ;
3508 wxSize temp6 ;
3509 bool temp8 = False ;
3510 PyObject * obj0 = 0 ;
3511 PyObject * obj1 = 0 ;
3512 PyObject * obj3 = 0 ;
3513 PyObject * obj4 = 0 ;
3514 PyObject * obj5 = 0 ;
3515 PyObject * obj7 = 0 ;
3516 char *kwnames[] = {
3517 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3518 };
3519
3520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3523 {
3524 arg4 = wxString_in_helper(obj3);
3525 if (arg4 == NULL) SWIG_fail;
3526 temp4 = True;
3527 }
3528 if (obj4) {
3529 {
3530 arg5 = &temp5;
3531 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3532 }
3533 }
3534 if (obj5) {
3535 {
3536 arg6 = &temp6;
3537 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3538 }
3539 }
3540 if (obj7) {
3541 {
3542 arg8 = wxString_in_helper(obj7);
3543 if (arg8 == NULL) SWIG_fail;
3544 temp8 = True;
3545 }
3546 }
3547 {
3548 PyThreadState* __tstate = wxPyBeginAllowThreads();
3549 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3550
3551 wxPyEndAllowThreads(__tstate);
3552 if (PyErr_Occurred()) SWIG_fail;
3553 }
3554 resultobj = PyInt_FromLong((long)result);
3555 {
3556 if (temp4)
3557 delete arg4;
3558 }
3559 {
3560 if (temp8)
3561 delete arg8;
3562 }
3563 return resultobj;
3564 fail:
3565 {
3566 if (temp4)
3567 delete arg4;
3568 }
3569 {
3570 if (temp8)
3571 delete arg8;
3572 }
3573 return NULL;
3574 }
3575
3576
3577 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3578 PyObject *obj;
3579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3580 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3581 Py_INCREF(obj);
3582 return Py_BuildValue((char *)"");
3583 }
3584 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3585 PyObject *resultobj;
3586 wxWindow *arg1 = (wxWindow *) 0 ;
3587 int arg2 ;
3588 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3589 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3590 wxSize const &arg4_defvalue = wxDefaultSize ;
3591 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3592 long arg5 = (long) wxLI_HORIZONTAL ;
3593 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3594 wxString *arg6 = (wxString *) &arg6_defvalue ;
3595 wxStaticLine *result;
3596 wxPoint temp3 ;
3597 wxSize temp4 ;
3598 bool temp6 = False ;
3599 PyObject * obj0 = 0 ;
3600 PyObject * obj2 = 0 ;
3601 PyObject * obj3 = 0 ;
3602 PyObject * obj5 = 0 ;
3603 char *kwnames[] = {
3604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3605 };
3606
3607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3609 if (obj2) {
3610 {
3611 arg3 = &temp3;
3612 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3613 }
3614 }
3615 if (obj3) {
3616 {
3617 arg4 = &temp4;
3618 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3619 }
3620 }
3621 if (obj5) {
3622 {
3623 arg6 = wxString_in_helper(obj5);
3624 if (arg6 == NULL) SWIG_fail;
3625 temp6 = True;
3626 }
3627 }
3628 {
3629 PyThreadState* __tstate = wxPyBeginAllowThreads();
3630 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3631
3632 wxPyEndAllowThreads(__tstate);
3633 if (PyErr_Occurred()) SWIG_fail;
3634 }
3635 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3636 {
3637 if (temp6)
3638 delete arg6;
3639 }
3640 return resultobj;
3641 fail:
3642 {
3643 if (temp6)
3644 delete arg6;
3645 }
3646 return NULL;
3647 }
3648
3649
3650 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3651 PyObject *resultobj;
3652 wxStaticLine *result;
3653 char *kwnames[] = {
3654 NULL
3655 };
3656
3657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3658 {
3659 PyThreadState* __tstate = wxPyBeginAllowThreads();
3660 result = (wxStaticLine *)new wxStaticLine();
3661
3662 wxPyEndAllowThreads(__tstate);
3663 if (PyErr_Occurred()) SWIG_fail;
3664 }
3665 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3666 return resultobj;
3667 fail:
3668 return NULL;
3669 }
3670
3671
3672 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3673 PyObject *resultobj;
3674 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3675 wxWindow *arg2 = (wxWindow *) 0 ;
3676 int arg3 ;
3677 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3678 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3679 wxSize const &arg5_defvalue = wxDefaultSize ;
3680 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3681 long arg6 = (long) wxLI_HORIZONTAL ;
3682 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3683 wxString *arg7 = (wxString *) &arg7_defvalue ;
3684 bool result;
3685 wxPoint temp4 ;
3686 wxSize temp5 ;
3687 bool temp7 = False ;
3688 PyObject * obj0 = 0 ;
3689 PyObject * obj1 = 0 ;
3690 PyObject * obj3 = 0 ;
3691 PyObject * obj4 = 0 ;
3692 PyObject * obj6 = 0 ;
3693 char *kwnames[] = {
3694 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3695 };
3696
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3699 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3700 if (obj3) {
3701 {
3702 arg4 = &temp4;
3703 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3704 }
3705 }
3706 if (obj4) {
3707 {
3708 arg5 = &temp5;
3709 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3710 }
3711 }
3712 if (obj6) {
3713 {
3714 arg7 = wxString_in_helper(obj6);
3715 if (arg7 == NULL) SWIG_fail;
3716 temp7 = True;
3717 }
3718 }
3719 {
3720 PyThreadState* __tstate = wxPyBeginAllowThreads();
3721 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3722
3723 wxPyEndAllowThreads(__tstate);
3724 if (PyErr_Occurred()) SWIG_fail;
3725 }
3726 resultobj = PyInt_FromLong((long)result);
3727 {
3728 if (temp7)
3729 delete arg7;
3730 }
3731 return resultobj;
3732 fail:
3733 {
3734 if (temp7)
3735 delete arg7;
3736 }
3737 return NULL;
3738 }
3739
3740
3741 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3742 PyObject *resultobj;
3743 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3744 bool result;
3745 PyObject * obj0 = 0 ;
3746 char *kwnames[] = {
3747 (char *) "self", NULL
3748 };
3749
3750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3752 {
3753 PyThreadState* __tstate = wxPyBeginAllowThreads();
3754 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3755
3756 wxPyEndAllowThreads(__tstate);
3757 if (PyErr_Occurred()) SWIG_fail;
3758 }
3759 resultobj = PyInt_FromLong((long)result);
3760 return resultobj;
3761 fail:
3762 return NULL;
3763 }
3764
3765
3766 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3767 PyObject *resultobj;
3768 int result;
3769 char *kwnames[] = {
3770 NULL
3771 };
3772
3773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3774 {
3775 PyThreadState* __tstate = wxPyBeginAllowThreads();
3776 result = (int)wxStaticLine::GetDefaultSize();
3777
3778 wxPyEndAllowThreads(__tstate);
3779 if (PyErr_Occurred()) SWIG_fail;
3780 }
3781 resultobj = PyInt_FromLong((long)result);
3782 return resultobj;
3783 fail:
3784 return NULL;
3785 }
3786
3787
3788 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3789 PyObject *obj;
3790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3791 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3792 Py_INCREF(obj);
3793 return Py_BuildValue((char *)"");
3794 }
3795 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3796 PyObject *resultobj;
3797 wxWindow *arg1 = (wxWindow *) 0 ;
3798 int arg2 ;
3799 wxString *arg3 = 0 ;
3800 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3801 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3802 wxSize const &arg5_defvalue = wxDefaultSize ;
3803 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3804 long arg6 = (long) 0 ;
3805 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3806 wxString *arg7 = (wxString *) &arg7_defvalue ;
3807 wxStaticText *result;
3808 bool temp3 = False ;
3809 wxPoint temp4 ;
3810 wxSize temp5 ;
3811 bool temp7 = False ;
3812 PyObject * obj0 = 0 ;
3813 PyObject * obj2 = 0 ;
3814 PyObject * obj3 = 0 ;
3815 PyObject * obj4 = 0 ;
3816 PyObject * obj6 = 0 ;
3817 char *kwnames[] = {
3818 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3819 };
3820
3821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3823 {
3824 arg3 = wxString_in_helper(obj2);
3825 if (arg3 == NULL) SWIG_fail;
3826 temp3 = True;
3827 }
3828 if (obj3) {
3829 {
3830 arg4 = &temp4;
3831 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3832 }
3833 }
3834 if (obj4) {
3835 {
3836 arg5 = &temp5;
3837 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3838 }
3839 }
3840 if (obj6) {
3841 {
3842 arg7 = wxString_in_helper(obj6);
3843 if (arg7 == NULL) SWIG_fail;
3844 temp7 = True;
3845 }
3846 }
3847 {
3848 PyThreadState* __tstate = wxPyBeginAllowThreads();
3849 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3850
3851 wxPyEndAllowThreads(__tstate);
3852 if (PyErr_Occurred()) SWIG_fail;
3853 }
3854 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3855 {
3856 if (temp3)
3857 delete arg3;
3858 }
3859 {
3860 if (temp7)
3861 delete arg7;
3862 }
3863 return resultobj;
3864 fail:
3865 {
3866 if (temp3)
3867 delete arg3;
3868 }
3869 {
3870 if (temp7)
3871 delete arg7;
3872 }
3873 return NULL;
3874 }
3875
3876
3877 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3878 PyObject *resultobj;
3879 wxStaticText *result;
3880 char *kwnames[] = {
3881 NULL
3882 };
3883
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3885 {
3886 PyThreadState* __tstate = wxPyBeginAllowThreads();
3887 result = (wxStaticText *)new wxStaticText();
3888
3889 wxPyEndAllowThreads(__tstate);
3890 if (PyErr_Occurred()) SWIG_fail;
3891 }
3892 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3893 return resultobj;
3894 fail:
3895 return NULL;
3896 }
3897
3898
3899 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3900 PyObject *resultobj;
3901 wxStaticText *arg1 = (wxStaticText *) 0 ;
3902 wxWindow *arg2 = (wxWindow *) 0 ;
3903 int arg3 ;
3904 wxString *arg4 = 0 ;
3905 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3906 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3907 wxSize const &arg6_defvalue = wxDefaultSize ;
3908 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3909 long arg7 = (long) 0 ;
3910 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3911 wxString *arg8 = (wxString *) &arg8_defvalue ;
3912 bool result;
3913 bool temp4 = False ;
3914 wxPoint temp5 ;
3915 wxSize temp6 ;
3916 bool temp8 = False ;
3917 PyObject * obj0 = 0 ;
3918 PyObject * obj1 = 0 ;
3919 PyObject * obj3 = 0 ;
3920 PyObject * obj4 = 0 ;
3921 PyObject * obj5 = 0 ;
3922 PyObject * obj7 = 0 ;
3923 char *kwnames[] = {
3924 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3925 };
3926
3927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3930 {
3931 arg4 = wxString_in_helper(obj3);
3932 if (arg4 == NULL) SWIG_fail;
3933 temp4 = True;
3934 }
3935 if (obj4) {
3936 {
3937 arg5 = &temp5;
3938 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3939 }
3940 }
3941 if (obj5) {
3942 {
3943 arg6 = &temp6;
3944 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3945 }
3946 }
3947 if (obj7) {
3948 {
3949 arg8 = wxString_in_helper(obj7);
3950 if (arg8 == NULL) SWIG_fail;
3951 temp8 = True;
3952 }
3953 }
3954 {
3955 PyThreadState* __tstate = wxPyBeginAllowThreads();
3956 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3957
3958 wxPyEndAllowThreads(__tstate);
3959 if (PyErr_Occurred()) SWIG_fail;
3960 }
3961 resultobj = PyInt_FromLong((long)result);
3962 {
3963 if (temp4)
3964 delete arg4;
3965 }
3966 {
3967 if (temp8)
3968 delete arg8;
3969 }
3970 return resultobj;
3971 fail:
3972 {
3973 if (temp4)
3974 delete arg4;
3975 }
3976 {
3977 if (temp8)
3978 delete arg8;
3979 }
3980 return NULL;
3981 }
3982
3983
3984 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
3985 PyObject *obj;
3986 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3987 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
3988 Py_INCREF(obj);
3989 return Py_BuildValue((char *)"");
3990 }
3991 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj;
3993 wxWindow *arg1 = (wxWindow *) 0 ;
3994 int arg2 ;
3995 wxBitmap *arg3 = 0 ;
3996 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3997 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3998 wxSize const &arg5_defvalue = wxDefaultSize ;
3999 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4000 long arg6 = (long) 0 ;
4001 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4002 wxString *arg7 = (wxString *) &arg7_defvalue ;
4003 wxStaticBitmap *result;
4004 wxPoint temp4 ;
4005 wxSize temp5 ;
4006 bool temp7 = False ;
4007 PyObject * obj0 = 0 ;
4008 PyObject * obj2 = 0 ;
4009 PyObject * obj3 = 0 ;
4010 PyObject * obj4 = 0 ;
4011 PyObject * obj6 = 0 ;
4012 char *kwnames[] = {
4013 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4014 };
4015
4016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4018 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4019 if (arg3 == NULL) {
4020 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4021 }
4022 if (obj3) {
4023 {
4024 arg4 = &temp4;
4025 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4026 }
4027 }
4028 if (obj4) {
4029 {
4030 arg5 = &temp5;
4031 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4032 }
4033 }
4034 if (obj6) {
4035 {
4036 arg7 = wxString_in_helper(obj6);
4037 if (arg7 == NULL) SWIG_fail;
4038 temp7 = True;
4039 }
4040 }
4041 {
4042 PyThreadState* __tstate = wxPyBeginAllowThreads();
4043 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4044
4045 wxPyEndAllowThreads(__tstate);
4046 if (PyErr_Occurred()) SWIG_fail;
4047 }
4048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4049 {
4050 if (temp7)
4051 delete arg7;
4052 }
4053 return resultobj;
4054 fail:
4055 {
4056 if (temp7)
4057 delete arg7;
4058 }
4059 return NULL;
4060 }
4061
4062
4063 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4064 PyObject *resultobj;
4065 wxStaticBitmap *result;
4066 char *kwnames[] = {
4067 NULL
4068 };
4069
4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4071 {
4072 PyThreadState* __tstate = wxPyBeginAllowThreads();
4073 result = (wxStaticBitmap *)new wxStaticBitmap();
4074
4075 wxPyEndAllowThreads(__tstate);
4076 if (PyErr_Occurred()) SWIG_fail;
4077 }
4078 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4079 return resultobj;
4080 fail:
4081 return NULL;
4082 }
4083
4084
4085 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4086 PyObject *resultobj;
4087 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4088 wxWindow *arg2 = (wxWindow *) 0 ;
4089 int arg3 ;
4090 wxBitmap *arg4 = 0 ;
4091 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4092 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4093 wxSize const &arg6_defvalue = wxDefaultSize ;
4094 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4095 long arg7 = (long) 0 ;
4096 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4097 wxString *arg8 = (wxString *) &arg8_defvalue ;
4098 bool result;
4099 wxPoint temp5 ;
4100 wxSize temp6 ;
4101 bool temp8 = False ;
4102 PyObject * obj0 = 0 ;
4103 PyObject * obj1 = 0 ;
4104 PyObject * obj3 = 0 ;
4105 PyObject * obj4 = 0 ;
4106 PyObject * obj5 = 0 ;
4107 PyObject * obj7 = 0 ;
4108 char *kwnames[] = {
4109 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4110 };
4111
4112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4115 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4116 if (arg4 == NULL) {
4117 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4118 }
4119 if (obj4) {
4120 {
4121 arg5 = &temp5;
4122 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4123 }
4124 }
4125 if (obj5) {
4126 {
4127 arg6 = &temp6;
4128 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4129 }
4130 }
4131 if (obj7) {
4132 {
4133 arg8 = wxString_in_helper(obj7);
4134 if (arg8 == NULL) SWIG_fail;
4135 temp8 = True;
4136 }
4137 }
4138 {
4139 PyThreadState* __tstate = wxPyBeginAllowThreads();
4140 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4141
4142 wxPyEndAllowThreads(__tstate);
4143 if (PyErr_Occurred()) SWIG_fail;
4144 }
4145 resultobj = PyInt_FromLong((long)result);
4146 {
4147 if (temp8)
4148 delete arg8;
4149 }
4150 return resultobj;
4151 fail:
4152 {
4153 if (temp8)
4154 delete arg8;
4155 }
4156 return NULL;
4157 }
4158
4159
4160 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4161 PyObject *resultobj;
4162 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4163 wxBitmap result;
4164 PyObject * obj0 = 0 ;
4165 char *kwnames[] = {
4166 (char *) "self", NULL
4167 };
4168
4169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4171 {
4172 PyThreadState* __tstate = wxPyBeginAllowThreads();
4173 result = (arg1)->GetBitmap();
4174
4175 wxPyEndAllowThreads(__tstate);
4176 if (PyErr_Occurred()) SWIG_fail;
4177 }
4178 {
4179 wxBitmap * resultptr;
4180 resultptr = new wxBitmap((wxBitmap &) result);
4181 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4182 }
4183 return resultobj;
4184 fail:
4185 return NULL;
4186 }
4187
4188
4189 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject *resultobj;
4191 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4192 wxBitmap *arg2 = 0 ;
4193 PyObject * obj0 = 0 ;
4194 PyObject * obj1 = 0 ;
4195 char *kwnames[] = {
4196 (char *) "self",(char *) "bitmap", NULL
4197 };
4198
4199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4202 if (arg2 == NULL) {
4203 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4204 }
4205 {
4206 PyThreadState* __tstate = wxPyBeginAllowThreads();
4207 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4208
4209 wxPyEndAllowThreads(__tstate);
4210 if (PyErr_Occurred()) SWIG_fail;
4211 }
4212 Py_INCREF(Py_None); resultobj = Py_None;
4213 return resultobj;
4214 fail:
4215 return NULL;
4216 }
4217
4218
4219 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4220 PyObject *resultobj;
4221 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4222 wxIcon *arg2 = 0 ;
4223 PyObject * obj0 = 0 ;
4224 PyObject * obj1 = 0 ;
4225 char *kwnames[] = {
4226 (char *) "self",(char *) "icon", NULL
4227 };
4228
4229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4232 if (arg2 == NULL) {
4233 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4234 }
4235 {
4236 PyThreadState* __tstate = wxPyBeginAllowThreads();
4237 (arg1)->SetIcon((wxIcon const &)*arg2);
4238
4239 wxPyEndAllowThreads(__tstate);
4240 if (PyErr_Occurred()) SWIG_fail;
4241 }
4242 Py_INCREF(Py_None); resultobj = Py_None;
4243 return resultobj;
4244 fail:
4245 return NULL;
4246 }
4247
4248
4249 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4250 PyObject *obj;
4251 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4252 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4253 Py_INCREF(obj);
4254 return Py_BuildValue((char *)"");
4255 }
4256 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4257 PyObject *resultobj;
4258 wxWindow *arg1 = (wxWindow *) 0 ;
4259 int arg2 ;
4260 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4261 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4262 wxSize const &arg4_defvalue = wxDefaultSize ;
4263 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4264 int arg5 = (int) 0 ;
4265 wxString *arg6 = (wxString *) NULL ;
4266 long arg7 = (long) 0 ;
4267 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4268 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4269 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4270 wxString *arg9 = (wxString *) &arg9_defvalue ;
4271 wxListBox *result;
4272 wxPoint temp3 ;
4273 wxSize temp4 ;
4274 bool temp8 = False ;
4275 PyObject * obj0 = 0 ;
4276 PyObject * obj2 = 0 ;
4277 PyObject * obj3 = 0 ;
4278 PyObject * obj4 = 0 ;
4279 PyObject * obj6 = 0 ;
4280 PyObject * obj7 = 0 ;
4281 char *kwnames[] = {
4282 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4283 };
4284
4285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4287 if (obj2) {
4288 {
4289 arg3 = &temp3;
4290 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4291 }
4292 }
4293 if (obj3) {
4294 {
4295 arg4 = &temp4;
4296 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4297 }
4298 }
4299 if (obj4) {
4300 {
4301 arg5 = PyList_Size(obj4);
4302 arg6 = wxString_LIST_helper(obj4);
4303 if (arg6 == NULL) SWIG_fail;
4304 }
4305 }
4306 if (obj6) {
4307 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4308 if (arg8 == NULL) {
4309 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4310 }
4311 }
4312 if (obj7) {
4313 {
4314 arg9 = wxString_in_helper(obj7);
4315 if (arg9 == NULL) SWIG_fail;
4316 temp8 = True;
4317 }
4318 }
4319 {
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4322
4323 wxPyEndAllowThreads(__tstate);
4324 if (PyErr_Occurred()) SWIG_fail;
4325 }
4326 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4327 {
4328 if (arg6) delete [] arg6;
4329 }
4330 {
4331 if (temp8)
4332 delete arg9;
4333 }
4334 return resultobj;
4335 fail:
4336 {
4337 if (arg6) delete [] arg6;
4338 }
4339 {
4340 if (temp8)
4341 delete arg9;
4342 }
4343 return NULL;
4344 }
4345
4346
4347 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4348 PyObject *resultobj;
4349 wxListBox *result;
4350 char *kwnames[] = {
4351 NULL
4352 };
4353
4354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4355 {
4356 PyThreadState* __tstate = wxPyBeginAllowThreads();
4357 result = (wxListBox *)new wxListBox();
4358
4359 wxPyEndAllowThreads(__tstate);
4360 if (PyErr_Occurred()) SWIG_fail;
4361 }
4362 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4363 return resultobj;
4364 fail:
4365 return NULL;
4366 }
4367
4368
4369 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4370 PyObject *resultobj;
4371 wxListBox *arg1 = (wxListBox *) 0 ;
4372 wxWindow *arg2 = (wxWindow *) 0 ;
4373 int arg3 ;
4374 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4375 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4376 wxSize const &arg5_defvalue = wxDefaultSize ;
4377 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4378 int arg6 = (int) 0 ;
4379 wxString *arg7 = (wxString *) NULL ;
4380 long arg8 = (long) 0 ;
4381 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4382 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4383 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4384 wxString *arg10 = (wxString *) &arg10_defvalue ;
4385 bool result;
4386 wxPoint temp4 ;
4387 wxSize temp5 ;
4388 bool temp9 = False ;
4389 PyObject * obj0 = 0 ;
4390 PyObject * obj1 = 0 ;
4391 PyObject * obj3 = 0 ;
4392 PyObject * obj4 = 0 ;
4393 PyObject * obj5 = 0 ;
4394 PyObject * obj7 = 0 ;
4395 PyObject * obj8 = 0 ;
4396 char *kwnames[] = {
4397 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4398 };
4399
4400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4403 if (obj3) {
4404 {
4405 arg4 = &temp4;
4406 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4407 }
4408 }
4409 if (obj4) {
4410 {
4411 arg5 = &temp5;
4412 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4413 }
4414 }
4415 if (obj5) {
4416 {
4417 arg6 = PyList_Size(obj5);
4418 arg7 = wxString_LIST_helper(obj5);
4419 if (arg7 == NULL) SWIG_fail;
4420 }
4421 }
4422 if (obj7) {
4423 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4424 if (arg9 == NULL) {
4425 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4426 }
4427 }
4428 if (obj8) {
4429 {
4430 arg10 = wxString_in_helper(obj8);
4431 if (arg10 == NULL) SWIG_fail;
4432 temp9 = True;
4433 }
4434 }
4435 {
4436 PyThreadState* __tstate = wxPyBeginAllowThreads();
4437 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4438
4439 wxPyEndAllowThreads(__tstate);
4440 if (PyErr_Occurred()) SWIG_fail;
4441 }
4442 resultobj = PyInt_FromLong((long)result);
4443 {
4444 if (arg7) delete [] arg7;
4445 }
4446 {
4447 if (temp9)
4448 delete arg10;
4449 }
4450 return resultobj;
4451 fail:
4452 {
4453 if (arg7) delete [] arg7;
4454 }
4455 {
4456 if (temp9)
4457 delete arg10;
4458 }
4459 return NULL;
4460 }
4461
4462
4463 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4464 PyObject *resultobj;
4465 wxListBox *arg1 = (wxListBox *) 0 ;
4466 wxString *arg2 = 0 ;
4467 int arg3 ;
4468 PyObject *arg4 = (PyObject *) NULL ;
4469 bool temp2 = False ;
4470 PyObject * obj0 = 0 ;
4471 PyObject * obj1 = 0 ;
4472 PyObject * obj3 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4479 {
4480 arg2 = wxString_in_helper(obj1);
4481 if (arg2 == NULL) SWIG_fail;
4482 temp2 = True;
4483 }
4484 if (obj3) {
4485 arg4 = obj3;
4486 }
4487 {
4488 PyThreadState* __tstate = wxPyBeginAllowThreads();
4489 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4490
4491 wxPyEndAllowThreads(__tstate);
4492 if (PyErr_Occurred()) SWIG_fail;
4493 }
4494 Py_INCREF(Py_None); resultobj = Py_None;
4495 {
4496 if (temp2)
4497 delete arg2;
4498 }
4499 return resultobj;
4500 fail:
4501 {
4502 if (temp2)
4503 delete arg2;
4504 }
4505 return NULL;
4506 }
4507
4508
4509 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4510 PyObject *resultobj;
4511 wxListBox *arg1 = (wxListBox *) 0 ;
4512 wxArrayString *arg2 = 0 ;
4513 int arg3 ;
4514 PyObject * obj0 = 0 ;
4515 PyObject * obj1 = 0 ;
4516 char *kwnames[] = {
4517 (char *) "self",(char *) "items",(char *) "pos", NULL
4518 };
4519
4520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4522 {
4523 if (! PySequence_Check(obj1)) {
4524 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4525 SWIG_fail;
4526 }
4527 arg2 = new wxArrayString;
4528 int i, len=PySequence_Length(obj1);
4529 for (i=0; i<len; i++) {
4530 PyObject* item = PySequence_GetItem(obj1, i);
4531 #if wxUSE_UNICODE
4532 PyObject* str = PyObject_Unicode(item);
4533 #else
4534 PyObject* str = PyObject_Str(item);
4535 #endif
4536 arg2->Add(Py2wxString(str));
4537 Py_DECREF(item);
4538 Py_DECREF(str);
4539 }
4540 }
4541 {
4542 PyThreadState* __tstate = wxPyBeginAllowThreads();
4543 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4544
4545 wxPyEndAllowThreads(__tstate);
4546 if (PyErr_Occurred()) SWIG_fail;
4547 }
4548 Py_INCREF(Py_None); resultobj = Py_None;
4549 {
4550 if (arg2) delete arg2;
4551 }
4552 return resultobj;
4553 fail:
4554 {
4555 if (arg2) delete arg2;
4556 }
4557 return NULL;
4558 }
4559
4560
4561 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4562 PyObject *resultobj;
4563 wxListBox *arg1 = (wxListBox *) 0 ;
4564 wxArrayString *arg2 = 0 ;
4565 PyObject * obj0 = 0 ;
4566 PyObject * obj1 = 0 ;
4567 char *kwnames[] = {
4568 (char *) "self",(char *) "items", NULL
4569 };
4570
4571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4573 {
4574 if (! PySequence_Check(obj1)) {
4575 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4576 SWIG_fail;
4577 }
4578 arg2 = new wxArrayString;
4579 int i, len=PySequence_Length(obj1);
4580 for (i=0; i<len; i++) {
4581 PyObject* item = PySequence_GetItem(obj1, i);
4582 #if wxUSE_UNICODE
4583 PyObject* str = PyObject_Unicode(item);
4584 #else
4585 PyObject* str = PyObject_Str(item);
4586 #endif
4587 arg2->Add(Py2wxString(str));
4588 Py_DECREF(item);
4589 Py_DECREF(str);
4590 }
4591 }
4592 {
4593 PyThreadState* __tstate = wxPyBeginAllowThreads();
4594 (arg1)->Set((wxArrayString const &)*arg2);
4595
4596 wxPyEndAllowThreads(__tstate);
4597 if (PyErr_Occurred()) SWIG_fail;
4598 }
4599 Py_INCREF(Py_None); resultobj = Py_None;
4600 {
4601 if (arg2) delete arg2;
4602 }
4603 return resultobj;
4604 fail:
4605 {
4606 if (arg2) delete arg2;
4607 }
4608 return NULL;
4609 }
4610
4611
4612 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4613 PyObject *resultobj;
4614 wxListBox *arg1 = (wxListBox *) 0 ;
4615 int arg2 ;
4616 bool result;
4617 PyObject * obj0 = 0 ;
4618 char *kwnames[] = {
4619 (char *) "self",(char *) "n", NULL
4620 };
4621
4622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4624 {
4625 PyThreadState* __tstate = wxPyBeginAllowThreads();
4626 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4627
4628 wxPyEndAllowThreads(__tstate);
4629 if (PyErr_Occurred()) SWIG_fail;
4630 }
4631 resultobj = PyInt_FromLong((long)result);
4632 return resultobj;
4633 fail:
4634 return NULL;
4635 }
4636
4637
4638 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4639 PyObject *resultobj;
4640 wxListBox *arg1 = (wxListBox *) 0 ;
4641 int arg2 ;
4642 bool arg3 = (bool) True ;
4643 PyObject * obj0 = 0 ;
4644 PyObject * obj2 = 0 ;
4645 char *kwnames[] = {
4646 (char *) "self",(char *) "n",(char *) "select", NULL
4647 };
4648
4649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4651 if (obj2) {
4652 arg3 = PyInt_AsLong(obj2) ? true : false;
4653 if (PyErr_Occurred()) SWIG_fail;
4654 }
4655 {
4656 PyThreadState* __tstate = wxPyBeginAllowThreads();
4657 (arg1)->SetSelection(arg2,arg3);
4658
4659 wxPyEndAllowThreads(__tstate);
4660 if (PyErr_Occurred()) SWIG_fail;
4661 }
4662 Py_INCREF(Py_None); resultobj = Py_None;
4663 return resultobj;
4664 fail:
4665 return NULL;
4666 }
4667
4668
4669 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4670 PyObject *resultobj;
4671 wxListBox *arg1 = (wxListBox *) 0 ;
4672 int arg2 ;
4673 PyObject * obj0 = 0 ;
4674 char *kwnames[] = {
4675 (char *) "self",(char *) "n", NULL
4676 };
4677
4678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4680 {
4681 PyThreadState* __tstate = wxPyBeginAllowThreads();
4682 (arg1)->Select(arg2);
4683
4684 wxPyEndAllowThreads(__tstate);
4685 if (PyErr_Occurred()) SWIG_fail;
4686 }
4687 Py_INCREF(Py_None); resultobj = Py_None;
4688 return resultobj;
4689 fail:
4690 return NULL;
4691 }
4692
4693
4694 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4695 PyObject *resultobj;
4696 wxListBox *arg1 = (wxListBox *) 0 ;
4697 int arg2 ;
4698 PyObject * obj0 = 0 ;
4699 char *kwnames[] = {
4700 (char *) "self",(char *) "n", NULL
4701 };
4702
4703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4705 {
4706 PyThreadState* __tstate = wxPyBeginAllowThreads();
4707 (arg1)->Deselect(arg2);
4708
4709 wxPyEndAllowThreads(__tstate);
4710 if (PyErr_Occurred()) SWIG_fail;
4711 }
4712 Py_INCREF(Py_None); resultobj = Py_None;
4713 return resultobj;
4714 fail:
4715 return NULL;
4716 }
4717
4718
4719 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4720 PyObject *resultobj;
4721 wxListBox *arg1 = (wxListBox *) 0 ;
4722 int arg2 = (int) -1 ;
4723 PyObject * obj0 = 0 ;
4724 char *kwnames[] = {
4725 (char *) "self",(char *) "itemToLeaveSelected", NULL
4726 };
4727
4728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4730 {
4731 PyThreadState* __tstate = wxPyBeginAllowThreads();
4732 (arg1)->DeselectAll(arg2);
4733
4734 wxPyEndAllowThreads(__tstate);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
4737 Py_INCREF(Py_None); resultobj = Py_None;
4738 return resultobj;
4739 fail:
4740 return NULL;
4741 }
4742
4743
4744 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4745 PyObject *resultobj;
4746 wxListBox *arg1 = (wxListBox *) 0 ;
4747 wxString *arg2 = 0 ;
4748 bool arg3 = (bool) True ;
4749 bool result;
4750 bool temp2 = False ;
4751 PyObject * obj0 = 0 ;
4752 PyObject * obj1 = 0 ;
4753 PyObject * obj2 = 0 ;
4754 char *kwnames[] = {
4755 (char *) "self",(char *) "s",(char *) "select", NULL
4756 };
4757
4758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4760 {
4761 arg2 = wxString_in_helper(obj1);
4762 if (arg2 == NULL) SWIG_fail;
4763 temp2 = True;
4764 }
4765 if (obj2) {
4766 arg3 = PyInt_AsLong(obj2) ? true : false;
4767 if (PyErr_Occurred()) SWIG_fail;
4768 }
4769 {
4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
4771 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4772
4773 wxPyEndAllowThreads(__tstate);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 resultobj = PyInt_FromLong((long)result);
4777 {
4778 if (temp2)
4779 delete arg2;
4780 }
4781 return resultobj;
4782 fail:
4783 {
4784 if (temp2)
4785 delete arg2;
4786 }
4787 return NULL;
4788 }
4789
4790
4791 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4792 PyObject *resultobj;
4793 wxListBox *arg1 = (wxListBox *) 0 ;
4794 PyObject *result;
4795 PyObject * obj0 = 0 ;
4796 char *kwnames[] = {
4797 (char *) "self", NULL
4798 };
4799
4800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4802 {
4803 PyThreadState* __tstate = wxPyBeginAllowThreads();
4804 result = (PyObject *)wxListBox_GetSelections(arg1);
4805
4806 wxPyEndAllowThreads(__tstate);
4807 if (PyErr_Occurred()) SWIG_fail;
4808 }
4809 resultobj = result;
4810 return resultobj;
4811 fail:
4812 return NULL;
4813 }
4814
4815
4816 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4817 PyObject *resultobj;
4818 wxListBox *arg1 = (wxListBox *) 0 ;
4819 int arg2 ;
4820 PyObject * obj0 = 0 ;
4821 char *kwnames[] = {
4822 (char *) "self",(char *) "n", NULL
4823 };
4824
4825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4827 {
4828 PyThreadState* __tstate = wxPyBeginAllowThreads();
4829 (arg1)->SetFirstItem(arg2);
4830
4831 wxPyEndAllowThreads(__tstate);
4832 if (PyErr_Occurred()) SWIG_fail;
4833 }
4834 Py_INCREF(Py_None); resultobj = Py_None;
4835 return resultobj;
4836 fail:
4837 return NULL;
4838 }
4839
4840
4841 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4842 PyObject *resultobj;
4843 wxListBox *arg1 = (wxListBox *) 0 ;
4844 wxString *arg2 = 0 ;
4845 bool temp2 = False ;
4846 PyObject * obj0 = 0 ;
4847 PyObject * obj1 = 0 ;
4848 char *kwnames[] = {
4849 (char *) "self",(char *) "s", NULL
4850 };
4851
4852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4854 {
4855 arg2 = wxString_in_helper(obj1);
4856 if (arg2 == NULL) SWIG_fail;
4857 temp2 = True;
4858 }
4859 {
4860 PyThreadState* __tstate = wxPyBeginAllowThreads();
4861 (arg1)->SetFirstItem((wxString const &)*arg2);
4862
4863 wxPyEndAllowThreads(__tstate);
4864 if (PyErr_Occurred()) SWIG_fail;
4865 }
4866 Py_INCREF(Py_None); resultobj = Py_None;
4867 {
4868 if (temp2)
4869 delete arg2;
4870 }
4871 return resultobj;
4872 fail:
4873 {
4874 if (temp2)
4875 delete arg2;
4876 }
4877 return NULL;
4878 }
4879
4880
4881 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4882 PyObject *resultobj;
4883 wxListBox *arg1 = (wxListBox *) 0 ;
4884 int arg2 ;
4885 PyObject * obj0 = 0 ;
4886 char *kwnames[] = {
4887 (char *) "self",(char *) "n", NULL
4888 };
4889
4890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4892 {
4893 PyThreadState* __tstate = wxPyBeginAllowThreads();
4894 (arg1)->EnsureVisible(arg2);
4895
4896 wxPyEndAllowThreads(__tstate);
4897 if (PyErr_Occurred()) SWIG_fail;
4898 }
4899 Py_INCREF(Py_None); resultobj = Py_None;
4900 return resultobj;
4901 fail:
4902 return NULL;
4903 }
4904
4905
4906 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4907 PyObject *resultobj;
4908 wxListBox *arg1 = (wxListBox *) 0 ;
4909 wxString *arg2 = 0 ;
4910 bool temp2 = False ;
4911 PyObject * obj0 = 0 ;
4912 PyObject * obj1 = 0 ;
4913 char *kwnames[] = {
4914 (char *) "self",(char *) "s", NULL
4915 };
4916
4917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4919 {
4920 arg2 = wxString_in_helper(obj1);
4921 if (arg2 == NULL) SWIG_fail;
4922 temp2 = True;
4923 }
4924 {
4925 PyThreadState* __tstate = wxPyBeginAllowThreads();
4926 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4927
4928 wxPyEndAllowThreads(__tstate);
4929 if (PyErr_Occurred()) SWIG_fail;
4930 }
4931 Py_INCREF(Py_None); resultobj = Py_None;
4932 {
4933 if (temp2)
4934 delete arg2;
4935 }
4936 return resultobj;
4937 fail:
4938 {
4939 if (temp2)
4940 delete arg2;
4941 }
4942 return NULL;
4943 }
4944
4945
4946 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
4947 PyObject *resultobj;
4948 wxListBox *arg1 = (wxListBox *) 0 ;
4949 bool result;
4950 PyObject * obj0 = 0 ;
4951 char *kwnames[] = {
4952 (char *) "self", NULL
4953 };
4954
4955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
4956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 result = (bool)((wxListBox const *)arg1)->IsSorted();
4960
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 resultobj = PyInt_FromLong((long)result);
4965 return resultobj;
4966 fail:
4967 return NULL;
4968 }
4969
4970
4971 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
4972 PyObject *obj;
4973 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4974 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
4975 Py_INCREF(obj);
4976 return Py_BuildValue((char *)"");
4977 }
4978 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4979 PyObject *resultobj;
4980 wxWindow *arg1 = (wxWindow *) 0 ;
4981 int arg2 ;
4982 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4983 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4984 wxSize const &arg4_defvalue = wxDefaultSize ;
4985 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4986 int arg5 = (int) 0 ;
4987 wxString *arg6 = (wxString *) NULL ;
4988 long arg7 = (long) 0 ;
4989 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4990 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4991 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4992 wxString *arg9 = (wxString *) &arg9_defvalue ;
4993 wxCheckListBox *result;
4994 wxPoint temp3 ;
4995 wxSize temp4 ;
4996 bool temp8 = False ;
4997 PyObject * obj0 = 0 ;
4998 PyObject * obj2 = 0 ;
4999 PyObject * obj3 = 0 ;
5000 PyObject * obj4 = 0 ;
5001 PyObject * obj6 = 0 ;
5002 PyObject * obj7 = 0 ;
5003 char *kwnames[] = {
5004 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5005 };
5006
5007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5009 if (obj2) {
5010 {
5011 arg3 = &temp3;
5012 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5013 }
5014 }
5015 if (obj3) {
5016 {
5017 arg4 = &temp4;
5018 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5019 }
5020 }
5021 if (obj4) {
5022 {
5023 arg5 = PyList_Size(obj4);
5024 arg6 = wxString_LIST_helper(obj4);
5025 if (arg6 == NULL) SWIG_fail;
5026 }
5027 }
5028 if (obj6) {
5029 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5030 if (arg8 == NULL) {
5031 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5032 }
5033 }
5034 if (obj7) {
5035 {
5036 arg9 = wxString_in_helper(obj7);
5037 if (arg9 == NULL) SWIG_fail;
5038 temp8 = True;
5039 }
5040 }
5041 {
5042 PyThreadState* __tstate = wxPyBeginAllowThreads();
5043 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5044
5045 wxPyEndAllowThreads(__tstate);
5046 if (PyErr_Occurred()) SWIG_fail;
5047 }
5048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5049 {
5050 if (arg6) delete [] arg6;
5051 }
5052 {
5053 if (temp8)
5054 delete arg9;
5055 }
5056 return resultobj;
5057 fail:
5058 {
5059 if (arg6) delete [] arg6;
5060 }
5061 {
5062 if (temp8)
5063 delete arg9;
5064 }
5065 return NULL;
5066 }
5067
5068
5069 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5070 PyObject *resultobj;
5071 wxCheckListBox *result;
5072 char *kwnames[] = {
5073 NULL
5074 };
5075
5076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5077 {
5078 PyThreadState* __tstate = wxPyBeginAllowThreads();
5079 result = (wxCheckListBox *)new wxCheckListBox();
5080
5081 wxPyEndAllowThreads(__tstate);
5082 if (PyErr_Occurred()) SWIG_fail;
5083 }
5084 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5085 return resultobj;
5086 fail:
5087 return NULL;
5088 }
5089
5090
5091 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5092 PyObject *resultobj;
5093 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5094 wxWindow *arg2 = (wxWindow *) 0 ;
5095 int arg3 ;
5096 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5097 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5098 wxSize const &arg5_defvalue = wxDefaultSize ;
5099 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5100 int arg6 = (int) 0 ;
5101 wxString *arg7 = (wxString *) NULL ;
5102 long arg8 = (long) 0 ;
5103 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5104 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5105 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5106 wxString *arg10 = (wxString *) &arg10_defvalue ;
5107 bool result;
5108 wxPoint temp4 ;
5109 wxSize temp5 ;
5110 bool temp9 = False ;
5111 PyObject * obj0 = 0 ;
5112 PyObject * obj1 = 0 ;
5113 PyObject * obj3 = 0 ;
5114 PyObject * obj4 = 0 ;
5115 PyObject * obj5 = 0 ;
5116 PyObject * obj7 = 0 ;
5117 PyObject * obj8 = 0 ;
5118 char *kwnames[] = {
5119 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5120 };
5121
5122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5124 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5125 if (obj3) {
5126 {
5127 arg4 = &temp4;
5128 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5129 }
5130 }
5131 if (obj4) {
5132 {
5133 arg5 = &temp5;
5134 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5135 }
5136 }
5137 if (obj5) {
5138 {
5139 arg6 = PyList_Size(obj5);
5140 arg7 = wxString_LIST_helper(obj5);
5141 if (arg7 == NULL) SWIG_fail;
5142 }
5143 }
5144 if (obj7) {
5145 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5146 if (arg9 == NULL) {
5147 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5148 }
5149 }
5150 if (obj8) {
5151 {
5152 arg10 = wxString_in_helper(obj8);
5153 if (arg10 == NULL) SWIG_fail;
5154 temp9 = True;
5155 }
5156 }
5157 {
5158 PyThreadState* __tstate = wxPyBeginAllowThreads();
5159 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5160
5161 wxPyEndAllowThreads(__tstate);
5162 if (PyErr_Occurred()) SWIG_fail;
5163 }
5164 resultobj = PyInt_FromLong((long)result);
5165 {
5166 if (arg7) delete [] arg7;
5167 }
5168 {
5169 if (temp9)
5170 delete arg10;
5171 }
5172 return resultobj;
5173 fail:
5174 {
5175 if (arg7) delete [] arg7;
5176 }
5177 {
5178 if (temp9)
5179 delete arg10;
5180 }
5181 return NULL;
5182 }
5183
5184
5185 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj;
5187 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5188 int arg2 ;
5189 bool result;
5190 PyObject * obj0 = 0 ;
5191 char *kwnames[] = {
5192 (char *) "self",(char *) "index", NULL
5193 };
5194
5195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5197 {
5198 PyThreadState* __tstate = wxPyBeginAllowThreads();
5199 result = (bool)(arg1)->IsChecked(arg2);
5200
5201 wxPyEndAllowThreads(__tstate);
5202 if (PyErr_Occurred()) SWIG_fail;
5203 }
5204 resultobj = PyInt_FromLong((long)result);
5205 return resultobj;
5206 fail:
5207 return NULL;
5208 }
5209
5210
5211 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5212 PyObject *resultobj;
5213 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5214 int arg2 ;
5215 int arg3 = (int) True ;
5216 PyObject * obj0 = 0 ;
5217 char *kwnames[] = {
5218 (char *) "self",(char *) "index",(char *) "check", NULL
5219 };
5220
5221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 (arg1)->Check(arg2,arg3);
5226
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 Py_INCREF(Py_None); resultobj = Py_None;
5231 return resultobj;
5232 fail:
5233 return NULL;
5234 }
5235
5236
5237 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5240 int result;
5241 PyObject * obj0 = 0 ;
5242 char *kwnames[] = {
5243 (char *) "self", NULL
5244 };
5245
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5248 {
5249 PyThreadState* __tstate = wxPyBeginAllowThreads();
5250 result = (int)(arg1)->GetItemHeight();
5251
5252 wxPyEndAllowThreads(__tstate);
5253 if (PyErr_Occurred()) SWIG_fail;
5254 }
5255 resultobj = PyInt_FromLong((long)result);
5256 return resultobj;
5257 fail:
5258 return NULL;
5259 }
5260
5261
5262 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5263 PyObject *resultobj;
5264 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5265 wxPoint *arg2 = 0 ;
5266 int result;
5267 wxPoint temp2 ;
5268 PyObject * obj0 = 0 ;
5269 PyObject * obj1 = 0 ;
5270 char *kwnames[] = {
5271 (char *) "self",(char *) "pt", NULL
5272 };
5273
5274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5276 {
5277 arg2 = &temp2;
5278 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5279 }
5280 {
5281 PyThreadState* __tstate = wxPyBeginAllowThreads();
5282 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5283
5284 wxPyEndAllowThreads(__tstate);
5285 if (PyErr_Occurred()) SWIG_fail;
5286 }
5287 resultobj = PyInt_FromLong((long)result);
5288 return resultobj;
5289 fail:
5290 return NULL;
5291 }
5292
5293
5294 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5295 PyObject *resultobj;
5296 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5297 int arg2 ;
5298 int arg3 ;
5299 int result;
5300 PyObject * obj0 = 0 ;
5301 char *kwnames[] = {
5302 (char *) "self",(char *) "x",(char *) "y", NULL
5303 };
5304
5305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5307 {
5308 PyThreadState* __tstate = wxPyBeginAllowThreads();
5309 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5310
5311 wxPyEndAllowThreads(__tstate);
5312 if (PyErr_Occurred()) SWIG_fail;
5313 }
5314 resultobj = PyInt_FromLong((long)result);
5315 return resultobj;
5316 fail:
5317 return NULL;
5318 }
5319
5320
5321 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5322 PyObject *obj;
5323 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5324 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5325 Py_INCREF(obj);
5326 return Py_BuildValue((char *)"");
5327 }
5328 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5329 PyObject *resultobj;
5330 wxTextAttr *result;
5331
5332 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5333 {
5334 PyThreadState* __tstate = wxPyBeginAllowThreads();
5335 result = (wxTextAttr *)new wxTextAttr();
5336
5337 wxPyEndAllowThreads(__tstate);
5338 if (PyErr_Occurred()) SWIG_fail;
5339 }
5340 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5341 return resultobj;
5342 fail:
5343 return NULL;
5344 }
5345
5346
5347 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5348 PyObject *resultobj;
5349 wxColour *arg1 = 0 ;
5350 wxColour const &arg2_defvalue = wxNullColour ;
5351 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5352 wxFont const &arg3_defvalue = wxNullFont ;
5353 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5354 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5355 wxTextAttr *result;
5356 wxColour temp1 ;
5357 wxColour temp2 ;
5358 PyObject * obj0 = 0 ;
5359 PyObject * obj1 = 0 ;
5360 PyObject * obj2 = 0 ;
5361
5362 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5363 {
5364 arg1 = &temp1;
5365 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5366 }
5367 if (obj1) {
5368 {
5369 arg2 = &temp2;
5370 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5371 }
5372 }
5373 if (obj2) {
5374 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5375 if (arg3 == NULL) {
5376 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5377 }
5378 }
5379 {
5380 PyThreadState* __tstate = wxPyBeginAllowThreads();
5381 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5382
5383 wxPyEndAllowThreads(__tstate);
5384 if (PyErr_Occurred()) SWIG_fail;
5385 }
5386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5387 return resultobj;
5388 fail:
5389 return NULL;
5390 }
5391
5392
5393 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5394 int argc;
5395 PyObject *argv[5];
5396 int ii;
5397
5398 argc = PyObject_Length(args);
5399 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5400 argv[ii] = PyTuple_GetItem(args,ii);
5401 }
5402 if (argc == 0) {
5403 return _wrap_new_TextAttr__SWIG_0(self,args);
5404 }
5405 if ((argc >= 1) && (argc <= 4)) {
5406 int _v;
5407 {
5408 _v = wxColour_typecheck(argv[0]);
5409 }
5410 if (_v) {
5411 if (argc <= 1) {
5412 return _wrap_new_TextAttr__SWIG_1(self,args);
5413 }
5414 {
5415 _v = wxColour_typecheck(argv[1]);
5416 }
5417 if (_v) {
5418 if (argc <= 2) {
5419 return _wrap_new_TextAttr__SWIG_1(self,args);
5420 }
5421 {
5422 void *ptr;
5423 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5424 _v = 0;
5425 PyErr_Clear();
5426 } else {
5427 _v = 1;
5428 }
5429 }
5430 if (_v) {
5431 if (argc <= 3) {
5432 return _wrap_new_TextAttr__SWIG_1(self,args);
5433 }
5434 {
5435 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5436 }
5437 if (_v) {
5438 return _wrap_new_TextAttr__SWIG_1(self,args);
5439 }
5440 }
5441 }
5442 }
5443 }
5444
5445 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5446 return NULL;
5447 }
5448
5449
5450 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5451 PyObject *resultobj;
5452 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5453 PyObject * obj0 = 0 ;
5454 char *kwnames[] = {
5455 (char *) "self", NULL
5456 };
5457
5458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5460 {
5461 PyThreadState* __tstate = wxPyBeginAllowThreads();
5462 (arg1)->Init();
5463
5464 wxPyEndAllowThreads(__tstate);
5465 if (PyErr_Occurred()) SWIG_fail;
5466 }
5467 Py_INCREF(Py_None); resultobj = Py_None;
5468 return resultobj;
5469 fail:
5470 return NULL;
5471 }
5472
5473
5474 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5475 PyObject *resultobj;
5476 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5477 wxColour *arg2 = 0 ;
5478 wxColour temp2 ;
5479 PyObject * obj0 = 0 ;
5480 PyObject * obj1 = 0 ;
5481 char *kwnames[] = {
5482 (char *) "self",(char *) "colText", NULL
5483 };
5484
5485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5487 {
5488 arg2 = &temp2;
5489 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5490 }
5491 {
5492 PyThreadState* __tstate = wxPyBeginAllowThreads();
5493 (arg1)->SetTextColour((wxColour const &)*arg2);
5494
5495 wxPyEndAllowThreads(__tstate);
5496 if (PyErr_Occurred()) SWIG_fail;
5497 }
5498 Py_INCREF(Py_None); resultobj = Py_None;
5499 return resultobj;
5500 fail:
5501 return NULL;
5502 }
5503
5504
5505 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5506 PyObject *resultobj;
5507 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5508 wxColour *arg2 = 0 ;
5509 wxColour temp2 ;
5510 PyObject * obj0 = 0 ;
5511 PyObject * obj1 = 0 ;
5512 char *kwnames[] = {
5513 (char *) "self",(char *) "colBack", NULL
5514 };
5515
5516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5518 {
5519 arg2 = &temp2;
5520 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5521 }
5522 {
5523 PyThreadState* __tstate = wxPyBeginAllowThreads();
5524 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5525
5526 wxPyEndAllowThreads(__tstate);
5527 if (PyErr_Occurred()) SWIG_fail;
5528 }
5529 Py_INCREF(Py_None); resultobj = Py_None;
5530 return resultobj;
5531 fail:
5532 return NULL;
5533 }
5534
5535
5536 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5537 PyObject *resultobj;
5538 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5539 wxFont *arg2 = 0 ;
5540 long arg3 = (long) wxTEXT_ATTR_FONT ;
5541 PyObject * obj0 = 0 ;
5542 PyObject * obj1 = 0 ;
5543 char *kwnames[] = {
5544 (char *) "self",(char *) "font",(char *) "flags", NULL
5545 };
5546
5547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5550 if (arg2 == NULL) {
5551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5552 }
5553 {
5554 PyThreadState* __tstate = wxPyBeginAllowThreads();
5555 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5556
5557 wxPyEndAllowThreads(__tstate);
5558 if (PyErr_Occurred()) SWIG_fail;
5559 }
5560 Py_INCREF(Py_None); resultobj = Py_None;
5561 return resultobj;
5562 fail:
5563 return NULL;
5564 }
5565
5566
5567 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5568 PyObject *resultobj;
5569 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5570 int arg2 ;
5571 PyObject * obj0 = 0 ;
5572 char *kwnames[] = {
5573 (char *) "self",(char *) "alignment", NULL
5574 };
5575
5576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5578 {
5579 PyThreadState* __tstate = wxPyBeginAllowThreads();
5580 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5581
5582 wxPyEndAllowThreads(__tstate);
5583 if (PyErr_Occurred()) SWIG_fail;
5584 }
5585 Py_INCREF(Py_None); resultobj = Py_None;
5586 return resultobj;
5587 fail:
5588 return NULL;
5589 }
5590
5591
5592 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5593 PyObject *resultobj;
5594 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5595 wxArrayInt *arg2 = 0 ;
5596 PyObject * obj0 = 0 ;
5597 PyObject * obj1 = 0 ;
5598 char *kwnames[] = {
5599 (char *) "self",(char *) "tabs", NULL
5600 };
5601
5602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5604 {
5605 if (! PySequence_Check(obj1)) {
5606 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5607 SWIG_fail;
5608 }
5609 arg2 = new wxArrayInt;
5610 int i, len=PySequence_Length(obj1);
5611 for (i=0; i<len; i++) {
5612 PyObject* item = PySequence_GetItem(obj1, i);
5613 PyObject* number = PyNumber_Int(item);
5614 arg2->Add(PyInt_AS_LONG(number));
5615 Py_DECREF(item);
5616 Py_DECREF(number);
5617 }
5618 }
5619 {
5620 PyThreadState* __tstate = wxPyBeginAllowThreads();
5621 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5622
5623 wxPyEndAllowThreads(__tstate);
5624 if (PyErr_Occurred()) SWIG_fail;
5625 }
5626 Py_INCREF(Py_None); resultobj = Py_None;
5627 {
5628 if (arg2) delete arg2;
5629 }
5630 return resultobj;
5631 fail:
5632 {
5633 if (arg2) delete arg2;
5634 }
5635 return NULL;
5636 }
5637
5638
5639 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5640 PyObject *resultobj;
5641 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5642 int arg2 ;
5643 PyObject * obj0 = 0 ;
5644 char *kwnames[] = {
5645 (char *) "self",(char *) "indent", NULL
5646 };
5647
5648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5650 {
5651 PyThreadState* __tstate = wxPyBeginAllowThreads();
5652 (arg1)->SetLeftIndent(arg2);
5653
5654 wxPyEndAllowThreads(__tstate);
5655 if (PyErr_Occurred()) SWIG_fail;
5656 }
5657 Py_INCREF(Py_None); resultobj = Py_None;
5658 return resultobj;
5659 fail:
5660 return NULL;
5661 }
5662
5663
5664 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5665 PyObject *resultobj;
5666 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5667 int arg2 ;
5668 PyObject * obj0 = 0 ;
5669 char *kwnames[] = {
5670 (char *) "self",(char *) "indent", NULL
5671 };
5672
5673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5675 {
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 (arg1)->SetRightIndent(arg2);
5678
5679 wxPyEndAllowThreads(__tstate);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 }
5682 Py_INCREF(Py_None); resultobj = Py_None;
5683 return resultobj;
5684 fail:
5685 return NULL;
5686 }
5687
5688
5689 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5690 PyObject *resultobj;
5691 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5692 long arg2 ;
5693 PyObject * obj0 = 0 ;
5694 char *kwnames[] = {
5695 (char *) "self",(char *) "flags", NULL
5696 };
5697
5698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5700 {
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 (arg1)->SetFlags(arg2);
5703
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 Py_INCREF(Py_None); resultobj = Py_None;
5708 return resultobj;
5709 fail:
5710 return NULL;
5711 }
5712
5713
5714 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5715 PyObject *resultobj;
5716 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5717 bool result;
5718 PyObject * obj0 = 0 ;
5719 char *kwnames[] = {
5720 (char *) "self", NULL
5721 };
5722
5723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5725 {
5726 PyThreadState* __tstate = wxPyBeginAllowThreads();
5727 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5728
5729 wxPyEndAllowThreads(__tstate);
5730 if (PyErr_Occurred()) SWIG_fail;
5731 }
5732 resultobj = PyInt_FromLong((long)result);
5733 return resultobj;
5734 fail:
5735 return NULL;
5736 }
5737
5738
5739 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5740 PyObject *resultobj;
5741 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5742 bool result;
5743 PyObject * obj0 = 0 ;
5744 char *kwnames[] = {
5745 (char *) "self", NULL
5746 };
5747
5748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5750 {
5751 PyThreadState* __tstate = wxPyBeginAllowThreads();
5752 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5753
5754 wxPyEndAllowThreads(__tstate);
5755 if (PyErr_Occurred()) SWIG_fail;
5756 }
5757 resultobj = PyInt_FromLong((long)result);
5758 return resultobj;
5759 fail:
5760 return NULL;
5761 }
5762
5763
5764 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5765 PyObject *resultobj;
5766 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5767 bool result;
5768 PyObject * obj0 = 0 ;
5769 char *kwnames[] = {
5770 (char *) "self", NULL
5771 };
5772
5773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5775 {
5776 PyThreadState* __tstate = wxPyBeginAllowThreads();
5777 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5778
5779 wxPyEndAllowThreads(__tstate);
5780 if (PyErr_Occurred()) SWIG_fail;
5781 }
5782 resultobj = PyInt_FromLong((long)result);
5783 return resultobj;
5784 fail:
5785 return NULL;
5786 }
5787
5788
5789 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5790 PyObject *resultobj;
5791 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5792 bool result;
5793 PyObject * obj0 = 0 ;
5794 char *kwnames[] = {
5795 (char *) "self", NULL
5796 };
5797
5798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5800 {
5801 PyThreadState* __tstate = wxPyBeginAllowThreads();
5802 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5803
5804 wxPyEndAllowThreads(__tstate);
5805 if (PyErr_Occurred()) SWIG_fail;
5806 }
5807 resultobj = PyInt_FromLong((long)result);
5808 return resultobj;
5809 fail:
5810 return NULL;
5811 }
5812
5813
5814 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5815 PyObject *resultobj;
5816 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5817 bool result;
5818 PyObject * obj0 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "self", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5825 {
5826 PyThreadState* __tstate = wxPyBeginAllowThreads();
5827 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5828
5829 wxPyEndAllowThreads(__tstate);
5830 if (PyErr_Occurred()) SWIG_fail;
5831 }
5832 resultobj = PyInt_FromLong((long)result);
5833 return resultobj;
5834 fail:
5835 return NULL;
5836 }
5837
5838
5839 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5840 PyObject *resultobj;
5841 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5842 bool result;
5843 PyObject * obj0 = 0 ;
5844 char *kwnames[] = {
5845 (char *) "self", NULL
5846 };
5847
5848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5850 {
5851 PyThreadState* __tstate = wxPyBeginAllowThreads();
5852 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
5853
5854 wxPyEndAllowThreads(__tstate);
5855 if (PyErr_Occurred()) SWIG_fail;
5856 }
5857 resultobj = PyInt_FromLong((long)result);
5858 return resultobj;
5859 fail:
5860 return NULL;
5861 }
5862
5863
5864 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5865 PyObject *resultobj;
5866 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5867 bool result;
5868 PyObject * obj0 = 0 ;
5869 char *kwnames[] = {
5870 (char *) "self", NULL
5871 };
5872
5873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5875 {
5876 PyThreadState* __tstate = wxPyBeginAllowThreads();
5877 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5878
5879 wxPyEndAllowThreads(__tstate);
5880 if (PyErr_Occurred()) SWIG_fail;
5881 }
5882 resultobj = PyInt_FromLong((long)result);
5883 return resultobj;
5884 fail:
5885 return NULL;
5886 }
5887
5888
5889 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5890 PyObject *resultobj;
5891 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5892 long arg2 ;
5893 bool result;
5894 PyObject * obj0 = 0 ;
5895 char *kwnames[] = {
5896 (char *) "self",(char *) "flag", NULL
5897 };
5898
5899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
5900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5901 {
5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
5903 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5904
5905 wxPyEndAllowThreads(__tstate);
5906 if (PyErr_Occurred()) SWIG_fail;
5907 }
5908 resultobj = PyInt_FromLong((long)result);
5909 return resultobj;
5910 fail:
5911 return NULL;
5912 }
5913
5914
5915 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5916 PyObject *resultobj;
5917 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5918 wxColour *result;
5919 PyObject * obj0 = 0 ;
5920 char *kwnames[] = {
5921 (char *) "self", NULL
5922 };
5923
5924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 {
5929 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
5930 result = (wxColour *) &_result_ref;
5931 }
5932
5933 wxPyEndAllowThreads(__tstate);
5934 if (PyErr_Occurred()) SWIG_fail;
5935 }
5936 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5937 return resultobj;
5938 fail:
5939 return NULL;
5940 }
5941
5942
5943 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5944 PyObject *resultobj;
5945 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5946 wxColour *result;
5947 PyObject * obj0 = 0 ;
5948 char *kwnames[] = {
5949 (char *) "self", NULL
5950 };
5951
5952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
5953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5954 {
5955 PyThreadState* __tstate = wxPyBeginAllowThreads();
5956 {
5957 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
5958 result = (wxColour *) &_result_ref;
5959 }
5960
5961 wxPyEndAllowThreads(__tstate);
5962 if (PyErr_Occurred()) SWIG_fail;
5963 }
5964 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5965 return resultobj;
5966 fail:
5967 return NULL;
5968 }
5969
5970
5971 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5972 PyObject *resultobj;
5973 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5974 wxFont *result;
5975 PyObject * obj0 = 0 ;
5976 char *kwnames[] = {
5977 (char *) "self", NULL
5978 };
5979
5980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
5981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5982 {
5983 PyThreadState* __tstate = wxPyBeginAllowThreads();
5984 {
5985 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
5986 result = (wxFont *) &_result_ref;
5987 }
5988
5989 wxPyEndAllowThreads(__tstate);
5990 if (PyErr_Occurred()) SWIG_fail;
5991 }
5992 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
5993 return resultobj;
5994 fail:
5995 return NULL;
5996 }
5997
5998
5999 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6000 PyObject *resultobj;
6001 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6002 int result;
6003 PyObject * obj0 = 0 ;
6004 char *kwnames[] = {
6005 (char *) "self", NULL
6006 };
6007
6008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6010 {
6011 PyThreadState* __tstate = wxPyBeginAllowThreads();
6012 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6013
6014 wxPyEndAllowThreads(__tstate);
6015 if (PyErr_Occurred()) SWIG_fail;
6016 }
6017 resultobj = PyInt_FromLong((long)result);
6018 return resultobj;
6019 fail:
6020 return NULL;
6021 }
6022
6023
6024 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6025 PyObject *resultobj;
6026 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6027 wxArrayInt *result;
6028 PyObject * obj0 = 0 ;
6029 char *kwnames[] = {
6030 (char *) "self", NULL
6031 };
6032
6033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6035 {
6036 PyThreadState* __tstate = wxPyBeginAllowThreads();
6037 {
6038 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6039 result = (wxArrayInt *) &_result_ref;
6040 }
6041
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 {
6046 resultobj = PyList_New(0);
6047 size_t idx;
6048 for (idx = 0; idx < result->GetCount(); idx += 1) {
6049 PyObject* val = PyInt_FromLong( result->Item(idx) );
6050 PyList_Append(resultobj, val);
6051 Py_DECREF(val);
6052 }
6053 }
6054 return resultobj;
6055 fail:
6056 return NULL;
6057 }
6058
6059
6060 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6061 PyObject *resultobj;
6062 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6063 long result;
6064 PyObject * obj0 = 0 ;
6065 char *kwnames[] = {
6066 (char *) "self", NULL
6067 };
6068
6069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6071 {
6072 PyThreadState* __tstate = wxPyBeginAllowThreads();
6073 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6074
6075 wxPyEndAllowThreads(__tstate);
6076 if (PyErr_Occurred()) SWIG_fail;
6077 }
6078 resultobj = PyInt_FromLong((long)result);
6079 return resultobj;
6080 fail:
6081 return NULL;
6082 }
6083
6084
6085 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6086 PyObject *resultobj;
6087 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6088 long result;
6089 PyObject * obj0 = 0 ;
6090 char *kwnames[] = {
6091 (char *) "self", NULL
6092 };
6093
6094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6096 {
6097 PyThreadState* __tstate = wxPyBeginAllowThreads();
6098 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6099
6100 wxPyEndAllowThreads(__tstate);
6101 if (PyErr_Occurred()) SWIG_fail;
6102 }
6103 resultobj = PyInt_FromLong((long)result);
6104 return resultobj;
6105 fail:
6106 return NULL;
6107 }
6108
6109
6110 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6111 PyObject *resultobj;
6112 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6113 long result;
6114 PyObject * obj0 = 0 ;
6115 char *kwnames[] = {
6116 (char *) "self", NULL
6117 };
6118
6119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6121 {
6122 PyThreadState* __tstate = wxPyBeginAllowThreads();
6123 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6124
6125 wxPyEndAllowThreads(__tstate);
6126 if (PyErr_Occurred()) SWIG_fail;
6127 }
6128 resultobj = PyInt_FromLong((long)result);
6129 return resultobj;
6130 fail:
6131 return NULL;
6132 }
6133
6134
6135 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6136 PyObject *resultobj;
6137 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6138 bool result;
6139 PyObject * obj0 = 0 ;
6140 char *kwnames[] = {
6141 (char *) "self", NULL
6142 };
6143
6144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6146 {
6147 PyThreadState* __tstate = wxPyBeginAllowThreads();
6148 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6149
6150 wxPyEndAllowThreads(__tstate);
6151 if (PyErr_Occurred()) SWIG_fail;
6152 }
6153 resultobj = PyInt_FromLong((long)result);
6154 return resultobj;
6155 fail:
6156 return NULL;
6157 }
6158
6159
6160 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6161 PyObject *resultobj;
6162 wxTextAttr *arg1 = 0 ;
6163 wxTextAttr *arg2 = 0 ;
6164 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6165 wxTextAttr result;
6166 PyObject * obj0 = 0 ;
6167 PyObject * obj1 = 0 ;
6168 PyObject * obj2 = 0 ;
6169 char *kwnames[] = {
6170 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6171 };
6172
6173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6175 if (arg1 == NULL) {
6176 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6177 }
6178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6179 if (arg2 == NULL) {
6180 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6181 }
6182 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6183 {
6184 PyThreadState* __tstate = wxPyBeginAllowThreads();
6185 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6186
6187 wxPyEndAllowThreads(__tstate);
6188 if (PyErr_Occurred()) SWIG_fail;
6189 }
6190 {
6191 wxTextAttr * resultptr;
6192 resultptr = new wxTextAttr((wxTextAttr &) result);
6193 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6194 }
6195 return resultobj;
6196 fail:
6197 return NULL;
6198 }
6199
6200
6201 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6202 PyObject *obj;
6203 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6204 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6205 Py_INCREF(obj);
6206 return Py_BuildValue((char *)"");
6207 }
6208 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6209 PyObject *resultobj;
6210 wxWindow *arg1 = (wxWindow *) 0 ;
6211 int arg2 ;
6212 wxString const &arg3_defvalue = wxPyEmptyString ;
6213 wxString *arg3 = (wxString *) &arg3_defvalue ;
6214 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6215 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6216 wxSize const &arg5_defvalue = wxDefaultSize ;
6217 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6218 long arg6 = (long) 0 ;
6219 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6220 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6221 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6222 wxString *arg8 = (wxString *) &arg8_defvalue ;
6223 wxTextCtrl *result;
6224 bool temp3 = False ;
6225 wxPoint temp4 ;
6226 wxSize temp5 ;
6227 bool temp8 = False ;
6228 PyObject * obj0 = 0 ;
6229 PyObject * obj2 = 0 ;
6230 PyObject * obj3 = 0 ;
6231 PyObject * obj4 = 0 ;
6232 PyObject * obj6 = 0 ;
6233 PyObject * obj7 = 0 ;
6234 char *kwnames[] = {
6235 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6236 };
6237
6238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6240 if (obj2) {
6241 {
6242 arg3 = wxString_in_helper(obj2);
6243 if (arg3 == NULL) SWIG_fail;
6244 temp3 = True;
6245 }
6246 }
6247 if (obj3) {
6248 {
6249 arg4 = &temp4;
6250 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6251 }
6252 }
6253 if (obj4) {
6254 {
6255 arg5 = &temp5;
6256 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6257 }
6258 }
6259 if (obj6) {
6260 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6261 if (arg7 == NULL) {
6262 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6263 }
6264 }
6265 if (obj7) {
6266 {
6267 arg8 = wxString_in_helper(obj7);
6268 if (arg8 == NULL) SWIG_fail;
6269 temp8 = True;
6270 }
6271 }
6272 {
6273 PyThreadState* __tstate = wxPyBeginAllowThreads();
6274 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6275
6276 wxPyEndAllowThreads(__tstate);
6277 if (PyErr_Occurred()) SWIG_fail;
6278 }
6279 {
6280 resultobj = wxPyMake_wxObject(result);
6281 }
6282 {
6283 if (temp3)
6284 delete arg3;
6285 }
6286 {
6287 if (temp8)
6288 delete arg8;
6289 }
6290 return resultobj;
6291 fail:
6292 {
6293 if (temp3)
6294 delete arg3;
6295 }
6296 {
6297 if (temp8)
6298 delete arg8;
6299 }
6300 return NULL;
6301 }
6302
6303
6304 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6305 PyObject *resultobj;
6306 wxTextCtrl *result;
6307 char *kwnames[] = {
6308 NULL
6309 };
6310
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6312 {
6313 PyThreadState* __tstate = wxPyBeginAllowThreads();
6314 result = (wxTextCtrl *)new wxTextCtrl();
6315
6316 wxPyEndAllowThreads(__tstate);
6317 if (PyErr_Occurred()) SWIG_fail;
6318 }
6319 {
6320 resultobj = wxPyMake_wxObject(result);
6321 }
6322 return resultobj;
6323 fail:
6324 return NULL;
6325 }
6326
6327
6328 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6329 PyObject *resultobj;
6330 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6331 wxWindow *arg2 = (wxWindow *) 0 ;
6332 int arg3 ;
6333 wxString const &arg4_defvalue = wxPyEmptyString ;
6334 wxString *arg4 = (wxString *) &arg4_defvalue ;
6335 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6336 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6337 wxSize const &arg6_defvalue = wxDefaultSize ;
6338 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6339 long arg7 = (long) 0 ;
6340 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6341 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6342 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6343 wxString *arg9 = (wxString *) &arg9_defvalue ;
6344 bool result;
6345 bool temp4 = False ;
6346 wxPoint temp5 ;
6347 wxSize temp6 ;
6348 bool temp9 = False ;
6349 PyObject * obj0 = 0 ;
6350 PyObject * obj1 = 0 ;
6351 PyObject * obj3 = 0 ;
6352 PyObject * obj4 = 0 ;
6353 PyObject * obj5 = 0 ;
6354 PyObject * obj7 = 0 ;
6355 PyObject * obj8 = 0 ;
6356 char *kwnames[] = {
6357 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6358 };
6359
6360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6363 if (obj3) {
6364 {
6365 arg4 = wxString_in_helper(obj3);
6366 if (arg4 == NULL) SWIG_fail;
6367 temp4 = True;
6368 }
6369 }
6370 if (obj4) {
6371 {
6372 arg5 = &temp5;
6373 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6374 }
6375 }
6376 if (obj5) {
6377 {
6378 arg6 = &temp6;
6379 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6380 }
6381 }
6382 if (obj7) {
6383 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6384 if (arg8 == NULL) {
6385 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6386 }
6387 }
6388 if (obj8) {
6389 {
6390 arg9 = wxString_in_helper(obj8);
6391 if (arg9 == NULL) SWIG_fail;
6392 temp9 = True;
6393 }
6394 }
6395 {
6396 PyThreadState* __tstate = wxPyBeginAllowThreads();
6397 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6398
6399 wxPyEndAllowThreads(__tstate);
6400 if (PyErr_Occurred()) SWIG_fail;
6401 }
6402 resultobj = PyInt_FromLong((long)result);
6403 {
6404 if (temp4)
6405 delete arg4;
6406 }
6407 {
6408 if (temp9)
6409 delete arg9;
6410 }
6411 return resultobj;
6412 fail:
6413 {
6414 if (temp4)
6415 delete arg4;
6416 }
6417 {
6418 if (temp9)
6419 delete arg9;
6420 }
6421 return NULL;
6422 }
6423
6424
6425 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6426 PyObject *resultobj;
6427 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6428 wxString result;
6429 PyObject * obj0 = 0 ;
6430 char *kwnames[] = {
6431 (char *) "self", NULL
6432 };
6433
6434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6436 {
6437 PyThreadState* __tstate = wxPyBeginAllowThreads();
6438 result = ((wxTextCtrl const *)arg1)->GetValue();
6439
6440 wxPyEndAllowThreads(__tstate);
6441 if (PyErr_Occurred()) SWIG_fail;
6442 }
6443 {
6444 #if wxUSE_UNICODE
6445 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6446 #else
6447 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6448 #endif
6449 }
6450 return resultobj;
6451 fail:
6452 return NULL;
6453 }
6454
6455
6456 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6457 PyObject *resultobj;
6458 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6459 wxString *arg2 = 0 ;
6460 bool temp2 = False ;
6461 PyObject * obj0 = 0 ;
6462 PyObject * obj1 = 0 ;
6463 char *kwnames[] = {
6464 (char *) "self",(char *) "value", NULL
6465 };
6466
6467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6469 {
6470 arg2 = wxString_in_helper(obj1);
6471 if (arg2 == NULL) SWIG_fail;
6472 temp2 = True;
6473 }
6474 {
6475 PyThreadState* __tstate = wxPyBeginAllowThreads();
6476 (arg1)->SetValue((wxString const &)*arg2);
6477
6478 wxPyEndAllowThreads(__tstate);
6479 if (PyErr_Occurred()) SWIG_fail;
6480 }
6481 Py_INCREF(Py_None); resultobj = Py_None;
6482 {
6483 if (temp2)
6484 delete arg2;
6485 }
6486 return resultobj;
6487 fail:
6488 {
6489 if (temp2)
6490 delete arg2;
6491 }
6492 return NULL;
6493 }
6494
6495
6496 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6497 PyObject *resultobj;
6498 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6499 long arg2 ;
6500 long arg3 ;
6501 wxString result;
6502 PyObject * obj0 = 0 ;
6503 char *kwnames[] = {
6504 (char *) "self",(char *) "from",(char *) "to", NULL
6505 };
6506
6507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6509 {
6510 PyThreadState* __tstate = wxPyBeginAllowThreads();
6511 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6512
6513 wxPyEndAllowThreads(__tstate);
6514 if (PyErr_Occurred()) SWIG_fail;
6515 }
6516 {
6517 #if wxUSE_UNICODE
6518 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6519 #else
6520 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6521 #endif
6522 }
6523 return resultobj;
6524 fail:
6525 return NULL;
6526 }
6527
6528
6529 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6530 PyObject *resultobj;
6531 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6532 long arg2 ;
6533 int result;
6534 PyObject * obj0 = 0 ;
6535 char *kwnames[] = {
6536 (char *) "self",(char *) "lineNo", NULL
6537 };
6538
6539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6541 {
6542 PyThreadState* __tstate = wxPyBeginAllowThreads();
6543 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6544
6545 wxPyEndAllowThreads(__tstate);
6546 if (PyErr_Occurred()) SWIG_fail;
6547 }
6548 resultobj = PyInt_FromLong((long)result);
6549 return resultobj;
6550 fail:
6551 return NULL;
6552 }
6553
6554
6555 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6556 PyObject *resultobj;
6557 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6558 long arg2 ;
6559 wxString result;
6560 PyObject * obj0 = 0 ;
6561 char *kwnames[] = {
6562 (char *) "self",(char *) "lineNo", NULL
6563 };
6564
6565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6567 {
6568 PyThreadState* __tstate = wxPyBeginAllowThreads();
6569 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6570
6571 wxPyEndAllowThreads(__tstate);
6572 if (PyErr_Occurred()) SWIG_fail;
6573 }
6574 {
6575 #if wxUSE_UNICODE
6576 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6577 #else
6578 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6579 #endif
6580 }
6581 return resultobj;
6582 fail:
6583 return NULL;
6584 }
6585
6586
6587 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6588 PyObject *resultobj;
6589 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6590 int result;
6591 PyObject * obj0 = 0 ;
6592 char *kwnames[] = {
6593 (char *) "self", NULL
6594 };
6595
6596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6598 {
6599 PyThreadState* __tstate = wxPyBeginAllowThreads();
6600 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6601
6602 wxPyEndAllowThreads(__tstate);
6603 if (PyErr_Occurred()) SWIG_fail;
6604 }
6605 resultobj = PyInt_FromLong((long)result);
6606 return resultobj;
6607 fail:
6608 return NULL;
6609 }
6610
6611
6612 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6613 PyObject *resultobj;
6614 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6615 bool result;
6616 PyObject * obj0 = 0 ;
6617 char *kwnames[] = {
6618 (char *) "self", NULL
6619 };
6620
6621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6623 {
6624 PyThreadState* __tstate = wxPyBeginAllowThreads();
6625 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6626
6627 wxPyEndAllowThreads(__tstate);
6628 if (PyErr_Occurred()) SWIG_fail;
6629 }
6630 resultobj = PyInt_FromLong((long)result);
6631 return resultobj;
6632 fail:
6633 return NULL;
6634 }
6635
6636
6637 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6638 PyObject *resultobj;
6639 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6640 bool result;
6641 PyObject * obj0 = 0 ;
6642 char *kwnames[] = {
6643 (char *) "self", NULL
6644 };
6645
6646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6648 {
6649 PyThreadState* __tstate = wxPyBeginAllowThreads();
6650 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6651
6652 wxPyEndAllowThreads(__tstate);
6653 if (PyErr_Occurred()) SWIG_fail;
6654 }
6655 resultobj = PyInt_FromLong((long)result);
6656 return resultobj;
6657 fail:
6658 return NULL;
6659 }
6660
6661
6662 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6663 PyObject *resultobj;
6664 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6665 bool result;
6666 PyObject * obj0 = 0 ;
6667 char *kwnames[] = {
6668 (char *) "self", NULL
6669 };
6670
6671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6673 {
6674 PyThreadState* __tstate = wxPyBeginAllowThreads();
6675 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6676
6677 wxPyEndAllowThreads(__tstate);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
6680 resultobj = PyInt_FromLong((long)result);
6681 return resultobj;
6682 fail:
6683 return NULL;
6684 }
6685
6686
6687 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6688 PyObject *resultobj;
6689 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6690 bool result;
6691 PyObject * obj0 = 0 ;
6692 char *kwnames[] = {
6693 (char *) "self", NULL
6694 };
6695
6696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6698 {
6699 PyThreadState* __tstate = wxPyBeginAllowThreads();
6700 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6701
6702 wxPyEndAllowThreads(__tstate);
6703 if (PyErr_Occurred()) SWIG_fail;
6704 }
6705 resultobj = PyInt_FromLong((long)result);
6706 return resultobj;
6707 fail:
6708 return NULL;
6709 }
6710
6711
6712 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6713 PyObject *resultobj;
6714 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6715 long *arg2 = (long *) 0 ;
6716 long *arg3 = (long *) 0 ;
6717 long temp2 ;
6718 long temp3 ;
6719 PyObject * obj0 = 0 ;
6720 char *kwnames[] = {
6721 (char *) "self", NULL
6722 };
6723
6724 arg2 = &temp2;
6725 arg3 = &temp3;
6726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6728 {
6729 PyThreadState* __tstate = wxPyBeginAllowThreads();
6730 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6731
6732 wxPyEndAllowThreads(__tstate);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
6735 Py_INCREF(Py_None); resultobj = Py_None;
6736 {
6737 PyObject *o = PyInt_FromLong((long) (*arg2));
6738 resultobj = t_output_helper(resultobj,o);
6739 }
6740 {
6741 PyObject *o = PyInt_FromLong((long) (*arg3));
6742 resultobj = t_output_helper(resultobj,o);
6743 }
6744 return resultobj;
6745 fail:
6746 return NULL;
6747 }
6748
6749
6750 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6751 PyObject *resultobj;
6752 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6753 wxString result;
6754 PyObject * obj0 = 0 ;
6755 char *kwnames[] = {
6756 (char *) "self", NULL
6757 };
6758
6759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 {
6769 #if wxUSE_UNICODE
6770 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6771 #else
6772 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6773 #endif
6774 }
6775 return resultobj;
6776 fail:
6777 return NULL;
6778 }
6779
6780
6781 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6782 PyObject *resultobj;
6783 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6784 PyObject * obj0 = 0 ;
6785 char *kwnames[] = {
6786 (char *) "self", NULL
6787 };
6788
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6791 {
6792 PyThreadState* __tstate = wxPyBeginAllowThreads();
6793 (arg1)->Clear();
6794
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 Py_INCREF(Py_None); resultobj = Py_None;
6799 return resultobj;
6800 fail:
6801 return NULL;
6802 }
6803
6804
6805 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6806 PyObject *resultobj;
6807 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6808 long arg2 ;
6809 long arg3 ;
6810 wxString *arg4 = 0 ;
6811 bool temp4 = False ;
6812 PyObject * obj0 = 0 ;
6813 PyObject * obj3 = 0 ;
6814 char *kwnames[] = {
6815 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6816 };
6817
6818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6820 {
6821 arg4 = wxString_in_helper(obj3);
6822 if (arg4 == NULL) SWIG_fail;
6823 temp4 = True;
6824 }
6825 {
6826 PyThreadState* __tstate = wxPyBeginAllowThreads();
6827 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6828
6829 wxPyEndAllowThreads(__tstate);
6830 if (PyErr_Occurred()) SWIG_fail;
6831 }
6832 Py_INCREF(Py_None); resultobj = Py_None;
6833 {
6834 if (temp4)
6835 delete arg4;
6836 }
6837 return resultobj;
6838 fail:
6839 {
6840 if (temp4)
6841 delete arg4;
6842 }
6843 return NULL;
6844 }
6845
6846
6847 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6848 PyObject *resultobj;
6849 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6850 long arg2 ;
6851 long arg3 ;
6852 PyObject * obj0 = 0 ;
6853 char *kwnames[] = {
6854 (char *) "self",(char *) "from",(char *) "to", NULL
6855 };
6856
6857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6859 {
6860 PyThreadState* __tstate = wxPyBeginAllowThreads();
6861 (arg1)->Remove(arg2,arg3);
6862
6863 wxPyEndAllowThreads(__tstate);
6864 if (PyErr_Occurred()) SWIG_fail;
6865 }
6866 Py_INCREF(Py_None); resultobj = Py_None;
6867 return resultobj;
6868 fail:
6869 return NULL;
6870 }
6871
6872
6873 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6874 PyObject *resultobj;
6875 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6876 wxString *arg2 = 0 ;
6877 bool result;
6878 bool temp2 = False ;
6879 PyObject * obj0 = 0 ;
6880 PyObject * obj1 = 0 ;
6881 char *kwnames[] = {
6882 (char *) "self",(char *) "file", NULL
6883 };
6884
6885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6887 {
6888 arg2 = wxString_in_helper(obj1);
6889 if (arg2 == NULL) SWIG_fail;
6890 temp2 = True;
6891 }
6892 {
6893 PyThreadState* __tstate = wxPyBeginAllowThreads();
6894 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6895
6896 wxPyEndAllowThreads(__tstate);
6897 if (PyErr_Occurred()) SWIG_fail;
6898 }
6899 resultobj = PyInt_FromLong((long)result);
6900 {
6901 if (temp2)
6902 delete arg2;
6903 }
6904 return resultobj;
6905 fail:
6906 {
6907 if (temp2)
6908 delete arg2;
6909 }
6910 return NULL;
6911 }
6912
6913
6914 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6915 PyObject *resultobj;
6916 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6917 wxString const &arg2_defvalue = wxPyEmptyString ;
6918 wxString *arg2 = (wxString *) &arg2_defvalue ;
6919 bool result;
6920 bool temp2 = False ;
6921 PyObject * obj0 = 0 ;
6922 PyObject * obj1 = 0 ;
6923 char *kwnames[] = {
6924 (char *) "self",(char *) "file", NULL
6925 };
6926
6927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6929 if (obj1) {
6930 {
6931 arg2 = wxString_in_helper(obj1);
6932 if (arg2 == NULL) SWIG_fail;
6933 temp2 = True;
6934 }
6935 }
6936 {
6937 PyThreadState* __tstate = wxPyBeginAllowThreads();
6938 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
6939
6940 wxPyEndAllowThreads(__tstate);
6941 if (PyErr_Occurred()) SWIG_fail;
6942 }
6943 resultobj = PyInt_FromLong((long)result);
6944 {
6945 if (temp2)
6946 delete arg2;
6947 }
6948 return resultobj;
6949 fail:
6950 {
6951 if (temp2)
6952 delete arg2;
6953 }
6954 return NULL;
6955 }
6956
6957
6958 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
6959 PyObject *resultobj;
6960 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6961 PyObject * obj0 = 0 ;
6962 char *kwnames[] = {
6963 (char *) "self", NULL
6964 };
6965
6966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
6967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6968 {
6969 PyThreadState* __tstate = wxPyBeginAllowThreads();
6970 (arg1)->MarkDirty();
6971
6972 wxPyEndAllowThreads(__tstate);
6973 if (PyErr_Occurred()) SWIG_fail;
6974 }
6975 Py_INCREF(Py_None); resultobj = Py_None;
6976 return resultobj;
6977 fail:
6978 return NULL;
6979 }
6980
6981
6982 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
6983 PyObject *resultobj;
6984 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6985 PyObject * obj0 = 0 ;
6986 char *kwnames[] = {
6987 (char *) "self", NULL
6988 };
6989
6990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
6991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6992 {
6993 PyThreadState* __tstate = wxPyBeginAllowThreads();
6994 (arg1)->DiscardEdits();
6995
6996 wxPyEndAllowThreads(__tstate);
6997 if (PyErr_Occurred()) SWIG_fail;
6998 }
6999 Py_INCREF(Py_None); resultobj = Py_None;
7000 return resultobj;
7001 fail:
7002 return NULL;
7003 }
7004
7005
7006 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7007 PyObject *resultobj;
7008 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7009 unsigned long arg2 ;
7010 PyObject * obj0 = 0 ;
7011 PyObject * obj1 = 0 ;
7012 char *kwnames[] = {
7013 (char *) "self",(char *) "len", NULL
7014 };
7015
7016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7018 arg2 = (unsigned long) PyInt_AsLong(obj1);
7019 if (PyErr_Occurred()) SWIG_fail;
7020 {
7021 PyThreadState* __tstate = wxPyBeginAllowThreads();
7022 (arg1)->SetMaxLength(arg2);
7023
7024 wxPyEndAllowThreads(__tstate);
7025 if (PyErr_Occurred()) SWIG_fail;
7026 }
7027 Py_INCREF(Py_None); resultobj = Py_None;
7028 return resultobj;
7029 fail:
7030 return NULL;
7031 }
7032
7033
7034 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7035 PyObject *resultobj;
7036 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7037 wxString *arg2 = 0 ;
7038 bool temp2 = False ;
7039 PyObject * obj0 = 0 ;
7040 PyObject * obj1 = 0 ;
7041 char *kwnames[] = {
7042 (char *) "self",(char *) "text", NULL
7043 };
7044
7045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7047 {
7048 arg2 = wxString_in_helper(obj1);
7049 if (arg2 == NULL) SWIG_fail;
7050 temp2 = True;
7051 }
7052 {
7053 PyThreadState* __tstate = wxPyBeginAllowThreads();
7054 (arg1)->WriteText((wxString const &)*arg2);
7055
7056 wxPyEndAllowThreads(__tstate);
7057 if (PyErr_Occurred()) SWIG_fail;
7058 }
7059 Py_INCREF(Py_None); resultobj = Py_None;
7060 {
7061 if (temp2)
7062 delete arg2;
7063 }
7064 return resultobj;
7065 fail:
7066 {
7067 if (temp2)
7068 delete arg2;
7069 }
7070 return NULL;
7071 }
7072
7073
7074 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7075 PyObject *resultobj;
7076 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7077 wxString *arg2 = 0 ;
7078 bool temp2 = False ;
7079 PyObject * obj0 = 0 ;
7080 PyObject * obj1 = 0 ;
7081 char *kwnames[] = {
7082 (char *) "self",(char *) "text", NULL
7083 };
7084
7085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7087 {
7088 arg2 = wxString_in_helper(obj1);
7089 if (arg2 == NULL) SWIG_fail;
7090 temp2 = True;
7091 }
7092 {
7093 PyThreadState* __tstate = wxPyBeginAllowThreads();
7094 (arg1)->AppendText((wxString const &)*arg2);
7095
7096 wxPyEndAllowThreads(__tstate);
7097 if (PyErr_Occurred()) SWIG_fail;
7098 }
7099 Py_INCREF(Py_None); resultobj = Py_None;
7100 {
7101 if (temp2)
7102 delete arg2;
7103 }
7104 return resultobj;
7105 fail:
7106 {
7107 if (temp2)
7108 delete arg2;
7109 }
7110 return NULL;
7111 }
7112
7113
7114 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7115 PyObject *resultobj;
7116 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7117 wxKeyEvent *arg2 = 0 ;
7118 bool result;
7119 PyObject * obj0 = 0 ;
7120 PyObject * obj1 = 0 ;
7121 char *kwnames[] = {
7122 (char *) "self",(char *) "event", NULL
7123 };
7124
7125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7127 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7128 if (arg2 == NULL) {
7129 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7130 }
7131 {
7132 PyThreadState* __tstate = wxPyBeginAllowThreads();
7133 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7134
7135 wxPyEndAllowThreads(__tstate);
7136 if (PyErr_Occurred()) SWIG_fail;
7137 }
7138 resultobj = PyInt_FromLong((long)result);
7139 return resultobj;
7140 fail:
7141 return NULL;
7142 }
7143
7144
7145 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7146 PyObject *resultobj;
7147 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7148 long arg2 ;
7149 long arg3 ;
7150 wxTextAttr *arg4 = 0 ;
7151 bool result;
7152 PyObject * obj0 = 0 ;
7153 PyObject * obj3 = 0 ;
7154 char *kwnames[] = {
7155 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7156 };
7157
7158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7160 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7161 if (arg4 == NULL) {
7162 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7163 }
7164 {
7165 PyThreadState* __tstate = wxPyBeginAllowThreads();
7166 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7167
7168 wxPyEndAllowThreads(__tstate);
7169 if (PyErr_Occurred()) SWIG_fail;
7170 }
7171 resultobj = PyInt_FromLong((long)result);
7172 return resultobj;
7173 fail:
7174 return NULL;
7175 }
7176
7177
7178 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7179 PyObject *resultobj;
7180 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7181 long arg2 ;
7182 wxTextAttr *arg3 = 0 ;
7183 bool result;
7184 PyObject * obj0 = 0 ;
7185 PyObject * obj2 = 0 ;
7186 char *kwnames[] = {
7187 (char *) "self",(char *) "position",(char *) "style", NULL
7188 };
7189
7190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7192 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7193 if (arg3 == NULL) {
7194 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7195 }
7196 {
7197 PyThreadState* __tstate = wxPyBeginAllowThreads();
7198 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7199
7200 wxPyEndAllowThreads(__tstate);
7201 if (PyErr_Occurred()) SWIG_fail;
7202 }
7203 resultobj = PyInt_FromLong((long)result);
7204 return resultobj;
7205 fail:
7206 return NULL;
7207 }
7208
7209
7210 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7211 PyObject *resultobj;
7212 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7213 wxTextAttr *arg2 = 0 ;
7214 bool result;
7215 PyObject * obj0 = 0 ;
7216 PyObject * obj1 = 0 ;
7217 char *kwnames[] = {
7218 (char *) "self",(char *) "style", NULL
7219 };
7220
7221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7223 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7224 if (arg2 == NULL) {
7225 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7226 }
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7230
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 resultobj = PyInt_FromLong((long)result);
7235 return resultobj;
7236 fail:
7237 return NULL;
7238 }
7239
7240
7241 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj;
7243 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7244 wxTextAttr *result;
7245 PyObject * obj0 = 0 ;
7246 char *kwnames[] = {
7247 (char *) "self", NULL
7248 };
7249
7250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7252 {
7253 PyThreadState* __tstate = wxPyBeginAllowThreads();
7254 {
7255 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7256 result = (wxTextAttr *) &_result_ref;
7257 }
7258
7259 wxPyEndAllowThreads(__tstate);
7260 if (PyErr_Occurred()) SWIG_fail;
7261 }
7262 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7263 return resultobj;
7264 fail:
7265 return NULL;
7266 }
7267
7268
7269 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7270 PyObject *resultobj;
7271 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7272 long arg2 ;
7273 long arg3 ;
7274 long result;
7275 PyObject * obj0 = 0 ;
7276 char *kwnames[] = {
7277 (char *) "self",(char *) "x",(char *) "y", NULL
7278 };
7279
7280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7282 {
7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
7284 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7285
7286 wxPyEndAllowThreads(__tstate);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 }
7289 resultobj = PyInt_FromLong((long)result);
7290 return resultobj;
7291 fail:
7292 return NULL;
7293 }
7294
7295
7296 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7297 PyObject *resultobj;
7298 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7299 long arg2 ;
7300 long *arg3 = (long *) 0 ;
7301 long *arg4 = (long *) 0 ;
7302 long temp3 ;
7303 long temp4 ;
7304 PyObject * obj0 = 0 ;
7305 char *kwnames[] = {
7306 (char *) "self",(char *) "pos", NULL
7307 };
7308
7309 arg3 = &temp3;
7310 arg4 = &temp4;
7311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7313 {
7314 PyThreadState* __tstate = wxPyBeginAllowThreads();
7315 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7316
7317 wxPyEndAllowThreads(__tstate);
7318 if (PyErr_Occurred()) SWIG_fail;
7319 }
7320 Py_INCREF(Py_None); resultobj = Py_None;
7321 {
7322 PyObject *o = PyInt_FromLong((long) (*arg3));
7323 resultobj = t_output_helper(resultobj,o);
7324 }
7325 {
7326 PyObject *o = PyInt_FromLong((long) (*arg4));
7327 resultobj = t_output_helper(resultobj,o);
7328 }
7329 return resultobj;
7330 fail:
7331 return NULL;
7332 }
7333
7334
7335 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7336 PyObject *resultobj;
7337 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7338 long arg2 ;
7339 PyObject * obj0 = 0 ;
7340 char *kwnames[] = {
7341 (char *) "self",(char *) "pos", NULL
7342 };
7343
7344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 (arg1)->ShowPosition(arg2);
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 Py_INCREF(Py_None); resultobj = Py_None;
7354 return resultobj;
7355 fail:
7356 return NULL;
7357 }
7358
7359
7360 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj;
7362 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7363 PyObject * obj0 = 0 ;
7364 char *kwnames[] = {
7365 (char *) "self", NULL
7366 };
7367
7368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7370 {
7371 PyThreadState* __tstate = wxPyBeginAllowThreads();
7372 (arg1)->Copy();
7373
7374 wxPyEndAllowThreads(__tstate);
7375 if (PyErr_Occurred()) SWIG_fail;
7376 }
7377 Py_INCREF(Py_None); resultobj = Py_None;
7378 return resultobj;
7379 fail:
7380 return NULL;
7381 }
7382
7383
7384 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7385 PyObject *resultobj;
7386 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7387 PyObject * obj0 = 0 ;
7388 char *kwnames[] = {
7389 (char *) "self", NULL
7390 };
7391
7392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7394 {
7395 PyThreadState* __tstate = wxPyBeginAllowThreads();
7396 (arg1)->Cut();
7397
7398 wxPyEndAllowThreads(__tstate);
7399 if (PyErr_Occurred()) SWIG_fail;
7400 }
7401 Py_INCREF(Py_None); resultobj = Py_None;
7402 return resultobj;
7403 fail:
7404 return NULL;
7405 }
7406
7407
7408 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7409 PyObject *resultobj;
7410 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7411 PyObject * obj0 = 0 ;
7412 char *kwnames[] = {
7413 (char *) "self", NULL
7414 };
7415
7416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7418 {
7419 PyThreadState* __tstate = wxPyBeginAllowThreads();
7420 (arg1)->Paste();
7421
7422 wxPyEndAllowThreads(__tstate);
7423 if (PyErr_Occurred()) SWIG_fail;
7424 }
7425 Py_INCREF(Py_None); resultobj = Py_None;
7426 return resultobj;
7427 fail:
7428 return NULL;
7429 }
7430
7431
7432 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7433 PyObject *resultobj;
7434 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7435 bool result;
7436 PyObject * obj0 = 0 ;
7437 char *kwnames[] = {
7438 (char *) "self", NULL
7439 };
7440
7441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7443 {
7444 PyThreadState* __tstate = wxPyBeginAllowThreads();
7445 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7446
7447 wxPyEndAllowThreads(__tstate);
7448 if (PyErr_Occurred()) SWIG_fail;
7449 }
7450 resultobj = PyInt_FromLong((long)result);
7451 return resultobj;
7452 fail:
7453 return NULL;
7454 }
7455
7456
7457 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7458 PyObject *resultobj;
7459 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7460 bool result;
7461 PyObject * obj0 = 0 ;
7462 char *kwnames[] = {
7463 (char *) "self", NULL
7464 };
7465
7466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7471
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 resultobj = PyInt_FromLong((long)result);
7476 return resultobj;
7477 fail:
7478 return NULL;
7479 }
7480
7481
7482 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7483 PyObject *resultobj;
7484 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7485 bool result;
7486 PyObject * obj0 = 0 ;
7487 char *kwnames[] = {
7488 (char *) "self", NULL
7489 };
7490
7491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7493 {
7494 PyThreadState* __tstate = wxPyBeginAllowThreads();
7495 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7496
7497 wxPyEndAllowThreads(__tstate);
7498 if (PyErr_Occurred()) SWIG_fail;
7499 }
7500 resultobj = PyInt_FromLong((long)result);
7501 return resultobj;
7502 fail:
7503 return NULL;
7504 }
7505
7506
7507 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7508 PyObject *resultobj;
7509 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7510 PyObject * obj0 = 0 ;
7511 char *kwnames[] = {
7512 (char *) "self", NULL
7513 };
7514
7515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7517 {
7518 PyThreadState* __tstate = wxPyBeginAllowThreads();
7519 (arg1)->Undo();
7520
7521 wxPyEndAllowThreads(__tstate);
7522 if (PyErr_Occurred()) SWIG_fail;
7523 }
7524 Py_INCREF(Py_None); resultobj = Py_None;
7525 return resultobj;
7526 fail:
7527 return NULL;
7528 }
7529
7530
7531 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7532 PyObject *resultobj;
7533 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7534 PyObject * obj0 = 0 ;
7535 char *kwnames[] = {
7536 (char *) "self", NULL
7537 };
7538
7539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7541 {
7542 PyThreadState* __tstate = wxPyBeginAllowThreads();
7543 (arg1)->Redo();
7544
7545 wxPyEndAllowThreads(__tstate);
7546 if (PyErr_Occurred()) SWIG_fail;
7547 }
7548 Py_INCREF(Py_None); resultobj = Py_None;
7549 return resultobj;
7550 fail:
7551 return NULL;
7552 }
7553
7554
7555 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7556 PyObject *resultobj;
7557 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7558 bool result;
7559 PyObject * obj0 = 0 ;
7560 char *kwnames[] = {
7561 (char *) "self", NULL
7562 };
7563
7564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7566 {
7567 PyThreadState* __tstate = wxPyBeginAllowThreads();
7568 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7569
7570 wxPyEndAllowThreads(__tstate);
7571 if (PyErr_Occurred()) SWIG_fail;
7572 }
7573 resultobj = PyInt_FromLong((long)result);
7574 return resultobj;
7575 fail:
7576 return NULL;
7577 }
7578
7579
7580 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7581 PyObject *resultobj;
7582 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7583 bool result;
7584 PyObject * obj0 = 0 ;
7585 char *kwnames[] = {
7586 (char *) "self", NULL
7587 };
7588
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7591 {
7592 PyThreadState* __tstate = wxPyBeginAllowThreads();
7593 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7594
7595 wxPyEndAllowThreads(__tstate);
7596 if (PyErr_Occurred()) SWIG_fail;
7597 }
7598 resultobj = PyInt_FromLong((long)result);
7599 return resultobj;
7600 fail:
7601 return NULL;
7602 }
7603
7604
7605 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7606 PyObject *resultobj;
7607 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7608 long arg2 ;
7609 PyObject * obj0 = 0 ;
7610 char *kwnames[] = {
7611 (char *) "self",(char *) "pos", NULL
7612 };
7613
7614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 (arg1)->SetInsertionPoint(arg2);
7619
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 Py_INCREF(Py_None); resultobj = Py_None;
7624 return resultobj;
7625 fail:
7626 return NULL;
7627 }
7628
7629
7630 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7631 PyObject *resultobj;
7632 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7633 PyObject * obj0 = 0 ;
7634 char *kwnames[] = {
7635 (char *) "self", NULL
7636 };
7637
7638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 (arg1)->SetInsertionPointEnd();
7643
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 Py_INCREF(Py_None); resultobj = Py_None;
7648 return resultobj;
7649 fail:
7650 return NULL;
7651 }
7652
7653
7654 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj;
7656 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7657 long result;
7658 PyObject * obj0 = 0 ;
7659 char *kwnames[] = {
7660 (char *) "self", NULL
7661 };
7662
7663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7668
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 resultobj = PyInt_FromLong((long)result);
7673 return resultobj;
7674 fail:
7675 return NULL;
7676 }
7677
7678
7679 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7680 PyObject *resultobj;
7681 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7682 long result;
7683 PyObject * obj0 = 0 ;
7684 char *kwnames[] = {
7685 (char *) "self", NULL
7686 };
7687
7688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7690 {
7691 PyThreadState* __tstate = wxPyBeginAllowThreads();
7692 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7693
7694 wxPyEndAllowThreads(__tstate);
7695 if (PyErr_Occurred()) SWIG_fail;
7696 }
7697 resultobj = PyInt_FromLong((long)result);
7698 return resultobj;
7699 fail:
7700 return NULL;
7701 }
7702
7703
7704 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7705 PyObject *resultobj;
7706 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7707 long arg2 ;
7708 long arg3 ;
7709 PyObject * obj0 = 0 ;
7710 char *kwnames[] = {
7711 (char *) "self",(char *) "from",(char *) "to", NULL
7712 };
7713
7714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7716 {
7717 PyThreadState* __tstate = wxPyBeginAllowThreads();
7718 (arg1)->SetSelection(arg2,arg3);
7719
7720 wxPyEndAllowThreads(__tstate);
7721 if (PyErr_Occurred()) SWIG_fail;
7722 }
7723 Py_INCREF(Py_None); resultobj = Py_None;
7724 return resultobj;
7725 fail:
7726 return NULL;
7727 }
7728
7729
7730 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7731 PyObject *resultobj;
7732 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7733 PyObject * obj0 = 0 ;
7734 char *kwnames[] = {
7735 (char *) "self", NULL
7736 };
7737
7738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7740 {
7741 PyThreadState* __tstate = wxPyBeginAllowThreads();
7742 (arg1)->SelectAll();
7743
7744 wxPyEndAllowThreads(__tstate);
7745 if (PyErr_Occurred()) SWIG_fail;
7746 }
7747 Py_INCREF(Py_None); resultobj = Py_None;
7748 return resultobj;
7749 fail:
7750 return NULL;
7751 }
7752
7753
7754 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7755 PyObject *resultobj;
7756 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7757 bool arg2 ;
7758 PyObject * obj0 = 0 ;
7759 PyObject * obj1 = 0 ;
7760 char *kwnames[] = {
7761 (char *) "self",(char *) "editable", NULL
7762 };
7763
7764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7766 arg2 = PyInt_AsLong(obj1) ? true : false;
7767 if (PyErr_Occurred()) SWIG_fail;
7768 {
7769 PyThreadState* __tstate = wxPyBeginAllowThreads();
7770 (arg1)->SetEditable(arg2);
7771
7772 wxPyEndAllowThreads(__tstate);
7773 if (PyErr_Occurred()) SWIG_fail;
7774 }
7775 Py_INCREF(Py_None); resultobj = Py_None;
7776 return resultobj;
7777 fail:
7778 return NULL;
7779 }
7780
7781
7782 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7783 PyObject *resultobj;
7784 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7785 wxString *arg2 = 0 ;
7786 bool temp2 = False ;
7787 PyObject * obj0 = 0 ;
7788 PyObject * obj1 = 0 ;
7789 char *kwnames[] = {
7790 (char *) "self",(char *) "text", NULL
7791 };
7792
7793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7795 {
7796 arg2 = wxString_in_helper(obj1);
7797 if (arg2 == NULL) SWIG_fail;
7798 temp2 = True;
7799 }
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 Py_INCREF(Py_None); resultobj = Py_None;
7808 {
7809 if (temp2)
7810 delete arg2;
7811 }
7812 return resultobj;
7813 fail:
7814 {
7815 if (temp2)
7816 delete arg2;
7817 }
7818 return NULL;
7819 }
7820
7821
7822 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7823 PyObject *resultobj;
7824 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7825 long arg2 ;
7826 long arg3 ;
7827 wxString result;
7828 PyObject * obj0 = 0 ;
7829 char *kwnames[] = {
7830 (char *) "self",(char *) "from",(char *) "to", NULL
7831 };
7832
7833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7835 {
7836 PyThreadState* __tstate = wxPyBeginAllowThreads();
7837 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7838
7839 wxPyEndAllowThreads(__tstate);
7840 if (PyErr_Occurred()) SWIG_fail;
7841 }
7842 {
7843 #if wxUSE_UNICODE
7844 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7845 #else
7846 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7847 #endif
7848 }
7849 return resultobj;
7850 fail:
7851 return NULL;
7852 }
7853
7854
7855 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7856 PyObject *obj;
7857 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7858 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7859 Py_INCREF(obj);
7860 return Py_BuildValue((char *)"");
7861 }
7862 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7863 PyObject *resultobj;
7864 int arg1 ;
7865 wxMouseEvent *arg2 = 0 ;
7866 long arg3 ;
7867 long arg4 ;
7868 wxTextUrlEvent *result;
7869 PyObject * obj1 = 0 ;
7870 char *kwnames[] = {
7871 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7872 };
7873
7874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
7875 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7876 if (arg2 == NULL) {
7877 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7878 }
7879 {
7880 PyThreadState* __tstate = wxPyBeginAllowThreads();
7881 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
7882
7883 wxPyEndAllowThreads(__tstate);
7884 if (PyErr_Occurred()) SWIG_fail;
7885 }
7886 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
7887 return resultobj;
7888 fail:
7889 return NULL;
7890 }
7891
7892
7893 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7894 PyObject *resultobj;
7895 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7896 wxMouseEvent *result;
7897 PyObject * obj0 = 0 ;
7898 char *kwnames[] = {
7899 (char *) "self", NULL
7900 };
7901
7902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
7903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7904 {
7905 PyThreadState* __tstate = wxPyBeginAllowThreads();
7906 {
7907 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
7908 result = (wxMouseEvent *) &_result_ref;
7909 }
7910
7911 wxPyEndAllowThreads(__tstate);
7912 if (PyErr_Occurred()) SWIG_fail;
7913 }
7914 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
7915 return resultobj;
7916 fail:
7917 return NULL;
7918 }
7919
7920
7921 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7922 PyObject *resultobj;
7923 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7924 long result;
7925 PyObject * obj0 = 0 ;
7926 char *kwnames[] = {
7927 (char *) "self", NULL
7928 };
7929
7930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
7931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7932 {
7933 PyThreadState* __tstate = wxPyBeginAllowThreads();
7934 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
7935
7936 wxPyEndAllowThreads(__tstate);
7937 if (PyErr_Occurred()) SWIG_fail;
7938 }
7939 resultobj = PyInt_FromLong((long)result);
7940 return resultobj;
7941 fail:
7942 return NULL;
7943 }
7944
7945
7946 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7947 PyObject *resultobj;
7948 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7949 long result;
7950 PyObject * obj0 = 0 ;
7951 char *kwnames[] = {
7952 (char *) "self", NULL
7953 };
7954
7955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
7956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7957 {
7958 PyThreadState* __tstate = wxPyBeginAllowThreads();
7959 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
7960
7961 wxPyEndAllowThreads(__tstate);
7962 if (PyErr_Occurred()) SWIG_fail;
7963 }
7964 resultobj = PyInt_FromLong((long)result);
7965 return resultobj;
7966 fail:
7967 return NULL;
7968 }
7969
7970
7971 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
7972 PyObject *obj;
7973 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7974 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
7975 Py_INCREF(obj);
7976 return Py_BuildValue((char *)"");
7977 }
7978 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7979 PyObject *resultobj;
7980 wxWindow *arg1 = (wxWindow *) 0 ;
7981 int arg2 = (int) -1 ;
7982 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7983 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7984 wxSize const &arg4_defvalue = wxDefaultSize ;
7985 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7986 long arg5 = (long) wxSB_HORIZONTAL ;
7987 wxValidator const &arg6_defvalue = wxDefaultValidator ;
7988 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
7989 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
7990 wxString *arg7 = (wxString *) &arg7_defvalue ;
7991 wxScrollBar *result;
7992 wxPoint temp3 ;
7993 wxSize temp4 ;
7994 bool temp7 = False ;
7995 PyObject * obj0 = 0 ;
7996 PyObject * obj2 = 0 ;
7997 PyObject * obj3 = 0 ;
7998 PyObject * obj5 = 0 ;
7999 PyObject * obj6 = 0 ;
8000 char *kwnames[] = {
8001 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8002 };
8003
8004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8006 if (obj2) {
8007 {
8008 arg3 = &temp3;
8009 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8010 }
8011 }
8012 if (obj3) {
8013 {
8014 arg4 = &temp4;
8015 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8016 }
8017 }
8018 if (obj5) {
8019 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8020 if (arg6 == NULL) {
8021 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8022 }
8023 }
8024 if (obj6) {
8025 {
8026 arg7 = wxString_in_helper(obj6);
8027 if (arg7 == NULL) SWIG_fail;
8028 temp7 = True;
8029 }
8030 }
8031 {
8032 PyThreadState* __tstate = wxPyBeginAllowThreads();
8033 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8034
8035 wxPyEndAllowThreads(__tstate);
8036 if (PyErr_Occurred()) SWIG_fail;
8037 }
8038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8039 {
8040 if (temp7)
8041 delete arg7;
8042 }
8043 return resultobj;
8044 fail:
8045 {
8046 if (temp7)
8047 delete arg7;
8048 }
8049 return NULL;
8050 }
8051
8052
8053 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8054 PyObject *resultobj;
8055 wxScrollBar *result;
8056 char *kwnames[] = {
8057 NULL
8058 };
8059
8060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8061 {
8062 PyThreadState* __tstate = wxPyBeginAllowThreads();
8063 result = (wxScrollBar *)new wxScrollBar();
8064
8065 wxPyEndAllowThreads(__tstate);
8066 if (PyErr_Occurred()) SWIG_fail;
8067 }
8068 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8069 return resultobj;
8070 fail:
8071 return NULL;
8072 }
8073
8074
8075 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8076 PyObject *resultobj;
8077 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8078 wxWindow *arg2 = (wxWindow *) 0 ;
8079 int arg3 = (int) -1 ;
8080 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8081 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8082 wxSize const &arg5_defvalue = wxDefaultSize ;
8083 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8084 long arg6 = (long) wxSB_HORIZONTAL ;
8085 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8086 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8087 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8088 wxString *arg8 = (wxString *) &arg8_defvalue ;
8089 bool result;
8090 wxPoint temp4 ;
8091 wxSize temp5 ;
8092 bool temp8 = False ;
8093 PyObject * obj0 = 0 ;
8094 PyObject * obj1 = 0 ;
8095 PyObject * obj3 = 0 ;
8096 PyObject * obj4 = 0 ;
8097 PyObject * obj6 = 0 ;
8098 PyObject * obj7 = 0 ;
8099 char *kwnames[] = {
8100 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8101 };
8102
8103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8105 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8106 if (obj3) {
8107 {
8108 arg4 = &temp4;
8109 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8110 }
8111 }
8112 if (obj4) {
8113 {
8114 arg5 = &temp5;
8115 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8116 }
8117 }
8118 if (obj6) {
8119 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8120 if (arg7 == NULL) {
8121 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8122 }
8123 }
8124 if (obj7) {
8125 {
8126 arg8 = wxString_in_helper(obj7);
8127 if (arg8 == NULL) SWIG_fail;
8128 temp8 = True;
8129 }
8130 }
8131 {
8132 PyThreadState* __tstate = wxPyBeginAllowThreads();
8133 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8134
8135 wxPyEndAllowThreads(__tstate);
8136 if (PyErr_Occurred()) SWIG_fail;
8137 }
8138 resultobj = PyInt_FromLong((long)result);
8139 {
8140 if (temp8)
8141 delete arg8;
8142 }
8143 return resultobj;
8144 fail:
8145 {
8146 if (temp8)
8147 delete arg8;
8148 }
8149 return NULL;
8150 }
8151
8152
8153 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8154 PyObject *resultobj;
8155 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8156 int result;
8157 PyObject * obj0 = 0 ;
8158 char *kwnames[] = {
8159 (char *) "self", NULL
8160 };
8161
8162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8164 {
8165 PyThreadState* __tstate = wxPyBeginAllowThreads();
8166 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8167
8168 wxPyEndAllowThreads(__tstate);
8169 if (PyErr_Occurred()) SWIG_fail;
8170 }
8171 resultobj = PyInt_FromLong((long)result);
8172 return resultobj;
8173 fail:
8174 return NULL;
8175 }
8176
8177
8178 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8179 PyObject *resultobj;
8180 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8181 int result;
8182 PyObject * obj0 = 0 ;
8183 char *kwnames[] = {
8184 (char *) "self", NULL
8185 };
8186
8187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8189 {
8190 PyThreadState* __tstate = wxPyBeginAllowThreads();
8191 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8192
8193 wxPyEndAllowThreads(__tstate);
8194 if (PyErr_Occurred()) SWIG_fail;
8195 }
8196 resultobj = PyInt_FromLong((long)result);
8197 return resultobj;
8198 fail:
8199 return NULL;
8200 }
8201
8202
8203 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8204 PyObject *resultobj;
8205 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8206 int result;
8207 PyObject * obj0 = 0 ;
8208 char *kwnames[] = {
8209 (char *) "self", NULL
8210 };
8211
8212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8214 {
8215 PyThreadState* __tstate = wxPyBeginAllowThreads();
8216 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8217
8218 wxPyEndAllowThreads(__tstate);
8219 if (PyErr_Occurred()) SWIG_fail;
8220 }
8221 resultobj = PyInt_FromLong((long)result);
8222 return resultobj;
8223 fail:
8224 return NULL;
8225 }
8226
8227
8228 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8229 PyObject *resultobj;
8230 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8231 int result;
8232 PyObject * obj0 = 0 ;
8233 char *kwnames[] = {
8234 (char *) "self", NULL
8235 };
8236
8237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8239 {
8240 PyThreadState* __tstate = wxPyBeginAllowThreads();
8241 result = (int)((wxScrollBar const *)arg1)->GetRange();
8242
8243 wxPyEndAllowThreads(__tstate);
8244 if (PyErr_Occurred()) SWIG_fail;
8245 }
8246 resultobj = PyInt_FromLong((long)result);
8247 return resultobj;
8248 fail:
8249 return NULL;
8250 }
8251
8252
8253 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8254 PyObject *resultobj;
8255 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8256 bool result;
8257 PyObject * obj0 = 0 ;
8258 char *kwnames[] = {
8259 (char *) "self", NULL
8260 };
8261
8262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8264 {
8265 PyThreadState* __tstate = wxPyBeginAllowThreads();
8266 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8267
8268 wxPyEndAllowThreads(__tstate);
8269 if (PyErr_Occurred()) SWIG_fail;
8270 }
8271 resultobj = PyInt_FromLong((long)result);
8272 return resultobj;
8273 fail:
8274 return NULL;
8275 }
8276
8277
8278 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8279 PyObject *resultobj;
8280 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8281 int arg2 ;
8282 PyObject * obj0 = 0 ;
8283 char *kwnames[] = {
8284 (char *) "self",(char *) "viewStart", NULL
8285 };
8286
8287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8289 {
8290 PyThreadState* __tstate = wxPyBeginAllowThreads();
8291 (arg1)->SetThumbPosition(arg2);
8292
8293 wxPyEndAllowThreads(__tstate);
8294 if (PyErr_Occurred()) SWIG_fail;
8295 }
8296 Py_INCREF(Py_None); resultobj = Py_None;
8297 return resultobj;
8298 fail:
8299 return NULL;
8300 }
8301
8302
8303 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8304 PyObject *resultobj;
8305 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8306 int arg2 ;
8307 int arg3 ;
8308 int arg4 ;
8309 int arg5 ;
8310 bool arg6 = (bool) True ;
8311 PyObject * obj0 = 0 ;
8312 PyObject * obj5 = 0 ;
8313 char *kwnames[] = {
8314 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8315 };
8316
8317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8319 if (obj5) {
8320 arg6 = PyInt_AsLong(obj5) ? true : false;
8321 if (PyErr_Occurred()) SWIG_fail;
8322 }
8323 {
8324 PyThreadState* __tstate = wxPyBeginAllowThreads();
8325 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8326
8327 wxPyEndAllowThreads(__tstate);
8328 if (PyErr_Occurred()) SWIG_fail;
8329 }
8330 Py_INCREF(Py_None); resultobj = Py_None;
8331 return resultobj;
8332 fail:
8333 return NULL;
8334 }
8335
8336
8337 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8338 PyObject *obj;
8339 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8340 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8341 Py_INCREF(obj);
8342 return Py_BuildValue((char *)"");
8343 }
8344 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8345 PyObject *resultobj;
8346 wxWindow *arg1 = (wxWindow *) 0 ;
8347 int arg2 = (int) -1 ;
8348 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8349 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8350 wxSize const &arg4_defvalue = wxDefaultSize ;
8351 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8352 long arg5 = (long) wxSP_HORIZONTAL ;
8353 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8354 wxString *arg6 = (wxString *) &arg6_defvalue ;
8355 wxSpinButton *result;
8356 wxPoint temp3 ;
8357 wxSize temp4 ;
8358 bool temp6 = False ;
8359 PyObject * obj0 = 0 ;
8360 PyObject * obj2 = 0 ;
8361 PyObject * obj3 = 0 ;
8362 PyObject * obj5 = 0 ;
8363 char *kwnames[] = {
8364 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8365 };
8366
8367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8369 if (obj2) {
8370 {
8371 arg3 = &temp3;
8372 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8373 }
8374 }
8375 if (obj3) {
8376 {
8377 arg4 = &temp4;
8378 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8379 }
8380 }
8381 if (obj5) {
8382 {
8383 arg6 = wxString_in_helper(obj5);
8384 if (arg6 == NULL) SWIG_fail;
8385 temp6 = True;
8386 }
8387 }
8388 {
8389 PyThreadState* __tstate = wxPyBeginAllowThreads();
8390 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8391
8392 wxPyEndAllowThreads(__tstate);
8393 if (PyErr_Occurred()) SWIG_fail;
8394 }
8395 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8396 {
8397 if (temp6)
8398 delete arg6;
8399 }
8400 return resultobj;
8401 fail:
8402 {
8403 if (temp6)
8404 delete arg6;
8405 }
8406 return NULL;
8407 }
8408
8409
8410 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8411 PyObject *resultobj;
8412 wxSpinButton *result;
8413 char *kwnames[] = {
8414 NULL
8415 };
8416
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8418 {
8419 PyThreadState* __tstate = wxPyBeginAllowThreads();
8420 result = (wxSpinButton *)new wxSpinButton();
8421
8422 wxPyEndAllowThreads(__tstate);
8423 if (PyErr_Occurred()) SWIG_fail;
8424 }
8425 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8426 return resultobj;
8427 fail:
8428 return NULL;
8429 }
8430
8431
8432 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8433 PyObject *resultobj;
8434 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8435 wxWindow *arg2 = (wxWindow *) 0 ;
8436 int arg3 = (int) -1 ;
8437 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8438 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8439 wxSize const &arg5_defvalue = wxDefaultSize ;
8440 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8441 long arg6 = (long) wxSP_HORIZONTAL ;
8442 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8443 wxString *arg7 = (wxString *) &arg7_defvalue ;
8444 bool result;
8445 wxPoint temp4 ;
8446 wxSize temp5 ;
8447 bool temp7 = False ;
8448 PyObject * obj0 = 0 ;
8449 PyObject * obj1 = 0 ;
8450 PyObject * obj3 = 0 ;
8451 PyObject * obj4 = 0 ;
8452 PyObject * obj6 = 0 ;
8453 char *kwnames[] = {
8454 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8455 };
8456
8457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8459 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8460 if (obj3) {
8461 {
8462 arg4 = &temp4;
8463 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8464 }
8465 }
8466 if (obj4) {
8467 {
8468 arg5 = &temp5;
8469 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8470 }
8471 }
8472 if (obj6) {
8473 {
8474 arg7 = wxString_in_helper(obj6);
8475 if (arg7 == NULL) SWIG_fail;
8476 temp7 = True;
8477 }
8478 }
8479 {
8480 PyThreadState* __tstate = wxPyBeginAllowThreads();
8481 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8482
8483 wxPyEndAllowThreads(__tstate);
8484 if (PyErr_Occurred()) SWIG_fail;
8485 }
8486 resultobj = PyInt_FromLong((long)result);
8487 {
8488 if (temp7)
8489 delete arg7;
8490 }
8491 return resultobj;
8492 fail:
8493 {
8494 if (temp7)
8495 delete arg7;
8496 }
8497 return NULL;
8498 }
8499
8500
8501 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8502 PyObject *resultobj;
8503 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8504 int result;
8505 PyObject * obj0 = 0 ;
8506 char *kwnames[] = {
8507 (char *) "self", NULL
8508 };
8509
8510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8512 {
8513 PyThreadState* __tstate = wxPyBeginAllowThreads();
8514 result = (int)((wxSpinButton const *)arg1)->GetValue();
8515
8516 wxPyEndAllowThreads(__tstate);
8517 if (PyErr_Occurred()) SWIG_fail;
8518 }
8519 resultobj = PyInt_FromLong((long)result);
8520 return resultobj;
8521 fail:
8522 return NULL;
8523 }
8524
8525
8526 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8527 PyObject *resultobj;
8528 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8529 int result;
8530 PyObject * obj0 = 0 ;
8531 char *kwnames[] = {
8532 (char *) "self", NULL
8533 };
8534
8535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8537 {
8538 PyThreadState* __tstate = wxPyBeginAllowThreads();
8539 result = (int)((wxSpinButton const *)arg1)->GetMin();
8540
8541 wxPyEndAllowThreads(__tstate);
8542 if (PyErr_Occurred()) SWIG_fail;
8543 }
8544 resultobj = PyInt_FromLong((long)result);
8545 return resultobj;
8546 fail:
8547 return NULL;
8548 }
8549
8550
8551 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8552 PyObject *resultobj;
8553 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8554 int result;
8555 PyObject * obj0 = 0 ;
8556 char *kwnames[] = {
8557 (char *) "self", NULL
8558 };
8559
8560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8562 {
8563 PyThreadState* __tstate = wxPyBeginAllowThreads();
8564 result = (int)((wxSpinButton const *)arg1)->GetMax();
8565
8566 wxPyEndAllowThreads(__tstate);
8567 if (PyErr_Occurred()) SWIG_fail;
8568 }
8569 resultobj = PyInt_FromLong((long)result);
8570 return resultobj;
8571 fail:
8572 return NULL;
8573 }
8574
8575
8576 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8577 PyObject *resultobj;
8578 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8579 int arg2 ;
8580 PyObject * obj0 = 0 ;
8581 char *kwnames[] = {
8582 (char *) "self",(char *) "val", NULL
8583 };
8584
8585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8587 {
8588 PyThreadState* __tstate = wxPyBeginAllowThreads();
8589 (arg1)->SetValue(arg2);
8590
8591 wxPyEndAllowThreads(__tstate);
8592 if (PyErr_Occurred()) SWIG_fail;
8593 }
8594 Py_INCREF(Py_None); resultobj = Py_None;
8595 return resultobj;
8596 fail:
8597 return NULL;
8598 }
8599
8600
8601 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8602 PyObject *resultobj;
8603 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8604 int arg2 ;
8605 PyObject * obj0 = 0 ;
8606 char *kwnames[] = {
8607 (char *) "self",(char *) "minVal", NULL
8608 };
8609
8610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8612 {
8613 PyThreadState* __tstate = wxPyBeginAllowThreads();
8614 (arg1)->SetMin(arg2);
8615
8616 wxPyEndAllowThreads(__tstate);
8617 if (PyErr_Occurred()) SWIG_fail;
8618 }
8619 Py_INCREF(Py_None); resultobj = Py_None;
8620 return resultobj;
8621 fail:
8622 return NULL;
8623 }
8624
8625
8626 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8627 PyObject *resultobj;
8628 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8629 int arg2 ;
8630 PyObject * obj0 = 0 ;
8631 char *kwnames[] = {
8632 (char *) "self",(char *) "maxVal", NULL
8633 };
8634
8635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8637 {
8638 PyThreadState* __tstate = wxPyBeginAllowThreads();
8639 (arg1)->SetMax(arg2);
8640
8641 wxPyEndAllowThreads(__tstate);
8642 if (PyErr_Occurred()) SWIG_fail;
8643 }
8644 Py_INCREF(Py_None); resultobj = Py_None;
8645 return resultobj;
8646 fail:
8647 return NULL;
8648 }
8649
8650
8651 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8652 PyObject *resultobj;
8653 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8654 int arg2 ;
8655 int arg3 ;
8656 PyObject * obj0 = 0 ;
8657 char *kwnames[] = {
8658 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8659 };
8660
8661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8663 {
8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
8665 (arg1)->SetRange(arg2,arg3);
8666
8667 wxPyEndAllowThreads(__tstate);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 }
8670 Py_INCREF(Py_None); resultobj = Py_None;
8671 return resultobj;
8672 fail:
8673 return NULL;
8674 }
8675
8676
8677 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8678 PyObject *resultobj;
8679 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8680 bool result;
8681 PyObject * obj0 = 0 ;
8682 char *kwnames[] = {
8683 (char *) "self", NULL
8684 };
8685
8686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 resultobj = PyInt_FromLong((long)result);
8696 return resultobj;
8697 fail:
8698 return NULL;
8699 }
8700
8701
8702 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8703 PyObject *obj;
8704 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8705 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8706 Py_INCREF(obj);
8707 return Py_BuildValue((char *)"");
8708 }
8709 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8710 PyObject *resultobj;
8711 wxWindow *arg1 = (wxWindow *) 0 ;
8712 int arg2 = (int) -1 ;
8713 wxString const &arg3_defvalue = wxPyEmptyString ;
8714 wxString *arg3 = (wxString *) &arg3_defvalue ;
8715 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8716 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8717 wxSize const &arg5_defvalue = wxDefaultSize ;
8718 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8719 long arg6 = (long) wxSP_ARROW_KEYS ;
8720 int arg7 = (int) 0 ;
8721 int arg8 = (int) 100 ;
8722 int arg9 = (int) 0 ;
8723 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8724 wxString *arg10 = (wxString *) &arg10_defvalue ;
8725 wxSpinCtrl *result;
8726 bool temp3 = False ;
8727 wxPoint temp4 ;
8728 wxSize temp5 ;
8729 bool temp10 = False ;
8730 PyObject * obj0 = 0 ;
8731 PyObject * obj2 = 0 ;
8732 PyObject * obj3 = 0 ;
8733 PyObject * obj4 = 0 ;
8734 PyObject * obj9 = 0 ;
8735 char *kwnames[] = {
8736 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8737 };
8738
8739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8741 if (obj2) {
8742 {
8743 arg3 = wxString_in_helper(obj2);
8744 if (arg3 == NULL) SWIG_fail;
8745 temp3 = True;
8746 }
8747 }
8748 if (obj3) {
8749 {
8750 arg4 = &temp4;
8751 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8752 }
8753 }
8754 if (obj4) {
8755 {
8756 arg5 = &temp5;
8757 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8758 }
8759 }
8760 if (obj9) {
8761 {
8762 arg10 = wxString_in_helper(obj9);
8763 if (arg10 == NULL) SWIG_fail;
8764 temp10 = True;
8765 }
8766 }
8767 {
8768 PyThreadState* __tstate = wxPyBeginAllowThreads();
8769 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8770
8771 wxPyEndAllowThreads(__tstate);
8772 if (PyErr_Occurred()) SWIG_fail;
8773 }
8774 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8775 {
8776 if (temp3)
8777 delete arg3;
8778 }
8779 {
8780 if (temp10)
8781 delete arg10;
8782 }
8783 return resultobj;
8784 fail:
8785 {
8786 if (temp3)
8787 delete arg3;
8788 }
8789 {
8790 if (temp10)
8791 delete arg10;
8792 }
8793 return NULL;
8794 }
8795
8796
8797 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8798 PyObject *resultobj;
8799 wxSpinCtrl *result;
8800 char *kwnames[] = {
8801 NULL
8802 };
8803
8804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8805 {
8806 PyThreadState* __tstate = wxPyBeginAllowThreads();
8807 result = (wxSpinCtrl *)new wxSpinCtrl();
8808
8809 wxPyEndAllowThreads(__tstate);
8810 if (PyErr_Occurred()) SWIG_fail;
8811 }
8812 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8813 return resultobj;
8814 fail:
8815 return NULL;
8816 }
8817
8818
8819 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8820 PyObject *resultobj;
8821 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8822 wxWindow *arg2 = (wxWindow *) 0 ;
8823 int arg3 = (int) -1 ;
8824 wxString const &arg4_defvalue = wxPyEmptyString ;
8825 wxString *arg4 = (wxString *) &arg4_defvalue ;
8826 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8827 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8828 wxSize const &arg6_defvalue = wxDefaultSize ;
8829 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8830 long arg7 = (long) wxSP_ARROW_KEYS ;
8831 int arg8 = (int) 0 ;
8832 int arg9 = (int) 100 ;
8833 int arg10 = (int) 0 ;
8834 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8835 wxString *arg11 = (wxString *) &arg11_defvalue ;
8836 bool result;
8837 bool temp4 = False ;
8838 wxPoint temp5 ;
8839 wxSize temp6 ;
8840 bool temp11 = False ;
8841 PyObject * obj0 = 0 ;
8842 PyObject * obj1 = 0 ;
8843 PyObject * obj3 = 0 ;
8844 PyObject * obj4 = 0 ;
8845 PyObject * obj5 = 0 ;
8846 PyObject * obj10 = 0 ;
8847 char *kwnames[] = {
8848 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8849 };
8850
8851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8853 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8854 if (obj3) {
8855 {
8856 arg4 = wxString_in_helper(obj3);
8857 if (arg4 == NULL) SWIG_fail;
8858 temp4 = True;
8859 }
8860 }
8861 if (obj4) {
8862 {
8863 arg5 = &temp5;
8864 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8865 }
8866 }
8867 if (obj5) {
8868 {
8869 arg6 = &temp6;
8870 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8871 }
8872 }
8873 if (obj10) {
8874 {
8875 arg11 = wxString_in_helper(obj10);
8876 if (arg11 == NULL) SWIG_fail;
8877 temp11 = True;
8878 }
8879 }
8880 {
8881 PyThreadState* __tstate = wxPyBeginAllowThreads();
8882 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
8883
8884 wxPyEndAllowThreads(__tstate);
8885 if (PyErr_Occurred()) SWIG_fail;
8886 }
8887 resultobj = PyInt_FromLong((long)result);
8888 {
8889 if (temp4)
8890 delete arg4;
8891 }
8892 {
8893 if (temp11)
8894 delete arg11;
8895 }
8896 return resultobj;
8897 fail:
8898 {
8899 if (temp4)
8900 delete arg4;
8901 }
8902 {
8903 if (temp11)
8904 delete arg11;
8905 }
8906 return NULL;
8907 }
8908
8909
8910 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8911 PyObject *resultobj;
8912 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8913 int result;
8914 PyObject * obj0 = 0 ;
8915 char *kwnames[] = {
8916 (char *) "self", NULL
8917 };
8918
8919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
8920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8921 {
8922 PyThreadState* __tstate = wxPyBeginAllowThreads();
8923 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
8924
8925 wxPyEndAllowThreads(__tstate);
8926 if (PyErr_Occurred()) SWIG_fail;
8927 }
8928 resultobj = PyInt_FromLong((long)result);
8929 return resultobj;
8930 fail:
8931 return NULL;
8932 }
8933
8934
8935 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8936 PyObject *resultobj;
8937 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8938 int arg2 ;
8939 PyObject * obj0 = 0 ;
8940 char *kwnames[] = {
8941 (char *) "self",(char *) "value", NULL
8942 };
8943
8944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
8945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8946 {
8947 PyThreadState* __tstate = wxPyBeginAllowThreads();
8948 (arg1)->SetValue(arg2);
8949
8950 wxPyEndAllowThreads(__tstate);
8951 if (PyErr_Occurred()) SWIG_fail;
8952 }
8953 Py_INCREF(Py_None); resultobj = Py_None;
8954 return resultobj;
8955 fail:
8956 return NULL;
8957 }
8958
8959
8960 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
8961 PyObject *resultobj;
8962 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8963 wxString *arg2 = 0 ;
8964 bool temp2 = False ;
8965 PyObject * obj0 = 0 ;
8966 PyObject * obj1 = 0 ;
8967 char *kwnames[] = {
8968 (char *) "self",(char *) "text", NULL
8969 };
8970
8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
8972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8973 {
8974 arg2 = wxString_in_helper(obj1);
8975 if (arg2 == NULL) SWIG_fail;
8976 temp2 = True;
8977 }
8978 {
8979 PyThreadState* __tstate = wxPyBeginAllowThreads();
8980 (arg1)->SetValue((wxString const &)*arg2);
8981
8982 wxPyEndAllowThreads(__tstate);
8983 if (PyErr_Occurred()) SWIG_fail;
8984 }
8985 Py_INCREF(Py_None); resultobj = Py_None;
8986 {
8987 if (temp2)
8988 delete arg2;
8989 }
8990 return resultobj;
8991 fail:
8992 {
8993 if (temp2)
8994 delete arg2;
8995 }
8996 return NULL;
8997 }
8998
8999
9000 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj;
9002 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9003 int arg2 ;
9004 int arg3 ;
9005 PyObject * obj0 = 0 ;
9006 char *kwnames[] = {
9007 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9008 };
9009
9010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9012 {
9013 PyThreadState* __tstate = wxPyBeginAllowThreads();
9014 (arg1)->SetRange(arg2,arg3);
9015
9016 wxPyEndAllowThreads(__tstate);
9017 if (PyErr_Occurred()) SWIG_fail;
9018 }
9019 Py_INCREF(Py_None); resultobj = Py_None;
9020 return resultobj;
9021 fail:
9022 return NULL;
9023 }
9024
9025
9026 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9027 PyObject *resultobj;
9028 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9029 int result;
9030 PyObject * obj0 = 0 ;
9031 char *kwnames[] = {
9032 (char *) "self", NULL
9033 };
9034
9035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9037 {
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
9039 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9040
9041 wxPyEndAllowThreads(__tstate);
9042 if (PyErr_Occurred()) SWIG_fail;
9043 }
9044 resultobj = PyInt_FromLong((long)result);
9045 return resultobj;
9046 fail:
9047 return NULL;
9048 }
9049
9050
9051 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9052 PyObject *resultobj;
9053 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9054 int result;
9055 PyObject * obj0 = 0 ;
9056 char *kwnames[] = {
9057 (char *) "self", NULL
9058 };
9059
9060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9062 {
9063 PyThreadState* __tstate = wxPyBeginAllowThreads();
9064 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9065
9066 wxPyEndAllowThreads(__tstate);
9067 if (PyErr_Occurred()) SWIG_fail;
9068 }
9069 resultobj = PyInt_FromLong((long)result);
9070 return resultobj;
9071 fail:
9072 return NULL;
9073 }
9074
9075
9076 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9077 PyObject *resultobj;
9078 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9079 long arg2 ;
9080 long arg3 ;
9081 PyObject * obj0 = 0 ;
9082 char *kwnames[] = {
9083 (char *) "self",(char *) "from",(char *) "to", NULL
9084 };
9085
9086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9088 {
9089 PyThreadState* __tstate = wxPyBeginAllowThreads();
9090 wxSpinCtrl_SetSelection(arg1,arg2,arg3);
9091
9092 wxPyEndAllowThreads(__tstate);
9093 if (PyErr_Occurred()) SWIG_fail;
9094 }
9095 Py_INCREF(Py_None); resultobj = Py_None;
9096 return resultobj;
9097 fail:
9098 return NULL;
9099 }
9100
9101
9102 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9103 PyObject *obj;
9104 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9105 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9106 Py_INCREF(obj);
9107 return Py_BuildValue((char *)"");
9108 }
9109 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9110 PyObject *resultobj;
9111 wxWindow *arg1 = (wxWindow *) 0 ;
9112 int arg2 ;
9113 wxString *arg3 = 0 ;
9114 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9115 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9116 wxSize const &arg5_defvalue = wxDefaultSize ;
9117 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9118 int arg6 = (int) 0 ;
9119 wxString *arg7 = (wxString *) NULL ;
9120 int arg8 = (int) 0 ;
9121 long arg9 = (long) wxRA_HORIZONTAL ;
9122 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9123 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9124 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9125 wxString *arg11 = (wxString *) &arg11_defvalue ;
9126 wxRadioBox *result;
9127 bool temp3 = False ;
9128 wxPoint temp4 ;
9129 wxSize temp5 ;
9130 bool temp10 = False ;
9131 PyObject * obj0 = 0 ;
9132 PyObject * obj2 = 0 ;
9133 PyObject * obj3 = 0 ;
9134 PyObject * obj4 = 0 ;
9135 PyObject * obj5 = 0 ;
9136 PyObject * obj8 = 0 ;
9137 PyObject * obj9 = 0 ;
9138 char *kwnames[] = {
9139 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9140 };
9141
9142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9144 {
9145 arg3 = wxString_in_helper(obj2);
9146 if (arg3 == NULL) SWIG_fail;
9147 temp3 = True;
9148 }
9149 if (obj3) {
9150 {
9151 arg4 = &temp4;
9152 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9153 }
9154 }
9155 if (obj4) {
9156 {
9157 arg5 = &temp5;
9158 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9159 }
9160 }
9161 if (obj5) {
9162 {
9163 arg6 = PyList_Size(obj5);
9164 arg7 = wxString_LIST_helper(obj5);
9165 if (arg7 == NULL) SWIG_fail;
9166 }
9167 }
9168 if (obj8) {
9169 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9170 if (arg10 == NULL) {
9171 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9172 }
9173 }
9174 if (obj9) {
9175 {
9176 arg11 = wxString_in_helper(obj9);
9177 if (arg11 == NULL) SWIG_fail;
9178 temp10 = True;
9179 }
9180 }
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 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);
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9189 {
9190 if (temp3)
9191 delete arg3;
9192 }
9193 {
9194 if (arg7) delete [] arg7;
9195 }
9196 {
9197 if (temp10)
9198 delete arg11;
9199 }
9200 return resultobj;
9201 fail:
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 NULL;
9214 }
9215
9216
9217 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9218 PyObject *resultobj;
9219 wxRadioBox *result;
9220 char *kwnames[] = {
9221 NULL
9222 };
9223
9224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9225 {
9226 PyThreadState* __tstate = wxPyBeginAllowThreads();
9227 result = (wxRadioBox *)new wxRadioBox();
9228
9229 wxPyEndAllowThreads(__tstate);
9230 if (PyErr_Occurred()) SWIG_fail;
9231 }
9232 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9233 return resultobj;
9234 fail:
9235 return NULL;
9236 }
9237
9238
9239 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9240 PyObject *resultobj;
9241 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9242 wxWindow *arg2 = (wxWindow *) 0 ;
9243 int arg3 ;
9244 wxString *arg4 = 0 ;
9245 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9246 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9247 wxSize const &arg6_defvalue = wxDefaultSize ;
9248 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9249 int arg7 = (int) 0 ;
9250 wxString *arg8 = (wxString *) NULL ;
9251 int arg9 = (int) 0 ;
9252 long arg10 = (long) wxRA_HORIZONTAL ;
9253 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9254 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9255 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9256 wxString *arg12 = (wxString *) &arg12_defvalue ;
9257 bool result;
9258 bool temp4 = False ;
9259 wxPoint temp5 ;
9260 wxSize temp6 ;
9261 bool temp11 = False ;
9262 PyObject * obj0 = 0 ;
9263 PyObject * obj1 = 0 ;
9264 PyObject * obj3 = 0 ;
9265 PyObject * obj4 = 0 ;
9266 PyObject * obj5 = 0 ;
9267 PyObject * obj6 = 0 ;
9268 PyObject * obj9 = 0 ;
9269 PyObject * obj10 = 0 ;
9270 char *kwnames[] = {
9271 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9272 };
9273
9274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9276 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9277 {
9278 arg4 = wxString_in_helper(obj3);
9279 if (arg4 == NULL) SWIG_fail;
9280 temp4 = True;
9281 }
9282 if (obj4) {
9283 {
9284 arg5 = &temp5;
9285 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9286 }
9287 }
9288 if (obj5) {
9289 {
9290 arg6 = &temp6;
9291 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9292 }
9293 }
9294 if (obj6) {
9295 {
9296 arg7 = PyList_Size(obj6);
9297 arg8 = wxString_LIST_helper(obj6);
9298 if (arg8 == NULL) SWIG_fail;
9299 }
9300 }
9301 if (obj9) {
9302 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9303 if (arg11 == NULL) {
9304 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9305 }
9306 }
9307 if (obj10) {
9308 {
9309 arg12 = wxString_in_helper(obj10);
9310 if (arg12 == NULL) SWIG_fail;
9311 temp11 = True;
9312 }
9313 }
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 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);
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 resultobj = PyInt_FromLong((long)result);
9322 {
9323 if (temp4)
9324 delete arg4;
9325 }
9326 {
9327 if (arg8) delete [] arg8;
9328 }
9329 {
9330 if (temp11)
9331 delete arg12;
9332 }
9333 return resultobj;
9334 fail:
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 NULL;
9347 }
9348
9349
9350 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9351 PyObject *resultobj;
9352 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9353 int arg2 ;
9354 PyObject * obj0 = 0 ;
9355 char *kwnames[] = {
9356 (char *) "self",(char *) "n", NULL
9357 };
9358
9359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9361 {
9362 PyThreadState* __tstate = wxPyBeginAllowThreads();
9363 (arg1)->SetSelection(arg2);
9364
9365 wxPyEndAllowThreads(__tstate);
9366 if (PyErr_Occurred()) SWIG_fail;
9367 }
9368 Py_INCREF(Py_None); resultobj = Py_None;
9369 return resultobj;
9370 fail:
9371 return NULL;
9372 }
9373
9374
9375 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9376 PyObject *resultobj;
9377 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9378 int result;
9379 PyObject * obj0 = 0 ;
9380 char *kwnames[] = {
9381 (char *) "self", NULL
9382 };
9383
9384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9386 {
9387 PyThreadState* __tstate = wxPyBeginAllowThreads();
9388 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9389
9390 wxPyEndAllowThreads(__tstate);
9391 if (PyErr_Occurred()) SWIG_fail;
9392 }
9393 resultobj = PyInt_FromLong((long)result);
9394 return resultobj;
9395 fail:
9396 return NULL;
9397 }
9398
9399
9400 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9401 PyObject *resultobj;
9402 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9403 wxString result;
9404 PyObject * obj0 = 0 ;
9405 char *kwnames[] = {
9406 (char *) "self", NULL
9407 };
9408
9409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9411 {
9412 PyThreadState* __tstate = wxPyBeginAllowThreads();
9413 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9414
9415 wxPyEndAllowThreads(__tstate);
9416 if (PyErr_Occurred()) SWIG_fail;
9417 }
9418 {
9419 #if wxUSE_UNICODE
9420 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9421 #else
9422 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9423 #endif
9424 }
9425 return resultobj;
9426 fail:
9427 return NULL;
9428 }
9429
9430
9431 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9432 PyObject *resultobj;
9433 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9434 wxString *arg2 = 0 ;
9435 bool result;
9436 bool temp2 = False ;
9437 PyObject * obj0 = 0 ;
9438 PyObject * obj1 = 0 ;
9439 char *kwnames[] = {
9440 (char *) "self",(char *) "s", NULL
9441 };
9442
9443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9445 {
9446 arg2 = wxString_in_helper(obj1);
9447 if (arg2 == NULL) SWIG_fail;
9448 temp2 = True;
9449 }
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 resultobj = PyInt_FromLong((long)result);
9458 {
9459 if (temp2)
9460 delete arg2;
9461 }
9462 return resultobj;
9463 fail:
9464 {
9465 if (temp2)
9466 delete arg2;
9467 }
9468 return NULL;
9469 }
9470
9471
9472 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9473 PyObject *resultobj;
9474 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9475 int result;
9476 PyObject * obj0 = 0 ;
9477 char *kwnames[] = {
9478 (char *) "self", NULL
9479 };
9480
9481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9483 {
9484 PyThreadState* __tstate = wxPyBeginAllowThreads();
9485 result = (int)((wxRadioBox const *)arg1)->GetCount();
9486
9487 wxPyEndAllowThreads(__tstate);
9488 if (PyErr_Occurred()) SWIG_fail;
9489 }
9490 resultobj = PyInt_FromLong((long)result);
9491 return resultobj;
9492 fail:
9493 return NULL;
9494 }
9495
9496
9497 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9498 PyObject *resultobj;
9499 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9500 wxString *arg2 = 0 ;
9501 int result;
9502 bool temp2 = False ;
9503 PyObject * obj0 = 0 ;
9504 PyObject * obj1 = 0 ;
9505 char *kwnames[] = {
9506 (char *) "self",(char *) "s", NULL
9507 };
9508
9509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9511 {
9512 arg2 = wxString_in_helper(obj1);
9513 if (arg2 == NULL) SWIG_fail;
9514 temp2 = True;
9515 }
9516 {
9517 PyThreadState* __tstate = wxPyBeginAllowThreads();
9518 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9519
9520 wxPyEndAllowThreads(__tstate);
9521 if (PyErr_Occurred()) SWIG_fail;
9522 }
9523 resultobj = PyInt_FromLong((long)result);
9524 {
9525 if (temp2)
9526 delete arg2;
9527 }
9528 return resultobj;
9529 fail:
9530 {
9531 if (temp2)
9532 delete arg2;
9533 }
9534 return NULL;
9535 }
9536
9537
9538 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9539 PyObject *resultobj;
9540 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9541 int arg2 ;
9542 wxString result;
9543 PyObject * obj0 = 0 ;
9544 char *kwnames[] = {
9545 (char *) "self",(char *) "n", NULL
9546 };
9547
9548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9550 {
9551 PyThreadState* __tstate = wxPyBeginAllowThreads();
9552 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9553
9554 wxPyEndAllowThreads(__tstate);
9555 if (PyErr_Occurred()) SWIG_fail;
9556 }
9557 {
9558 #if wxUSE_UNICODE
9559 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9560 #else
9561 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9562 #endif
9563 }
9564 return resultobj;
9565 fail:
9566 return NULL;
9567 }
9568
9569
9570 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9571 PyObject *resultobj;
9572 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9573 int arg2 ;
9574 wxString *arg3 = 0 ;
9575 bool temp3 = False ;
9576 PyObject * obj0 = 0 ;
9577 PyObject * obj2 = 0 ;
9578 char *kwnames[] = {
9579 (char *) "self",(char *) "n",(char *) "label", NULL
9580 };
9581
9582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9584 {
9585 arg3 = wxString_in_helper(obj2);
9586 if (arg3 == NULL) SWIG_fail;
9587 temp3 = True;
9588 }
9589 {
9590 PyThreadState* __tstate = wxPyBeginAllowThreads();
9591 (arg1)->SetString(arg2,(wxString const &)*arg3);
9592
9593 wxPyEndAllowThreads(__tstate);
9594 if (PyErr_Occurred()) SWIG_fail;
9595 }
9596 Py_INCREF(Py_None); resultobj = Py_None;
9597 {
9598 if (temp3)
9599 delete arg3;
9600 }
9601 return resultobj;
9602 fail:
9603 {
9604 if (temp3)
9605 delete arg3;
9606 }
9607 return NULL;
9608 }
9609
9610
9611 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9612 PyObject *resultobj;
9613 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9614 int arg2 ;
9615 bool arg3 = (bool) True ;
9616 PyObject * obj0 = 0 ;
9617 PyObject * obj2 = 0 ;
9618 char *kwnames[] = {
9619 (char *) "self",(char *) "n",(char *) "enable", NULL
9620 };
9621
9622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9624 if (obj2) {
9625 arg3 = PyInt_AsLong(obj2) ? true : false;
9626 if (PyErr_Occurred()) SWIG_fail;
9627 }
9628 {
9629 PyThreadState* __tstate = wxPyBeginAllowThreads();
9630 (arg1)->Enable(arg2,arg3);
9631
9632 wxPyEndAllowThreads(__tstate);
9633 if (PyErr_Occurred()) SWIG_fail;
9634 }
9635 Py_INCREF(Py_None); resultobj = Py_None;
9636 return resultobj;
9637 fail:
9638 return NULL;
9639 }
9640
9641
9642 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9643 PyObject *resultobj;
9644 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9645 int arg2 ;
9646 bool arg3 = (bool) True ;
9647 PyObject * obj0 = 0 ;
9648 PyObject * obj2 = 0 ;
9649 char *kwnames[] = {
9650 (char *) "self",(char *) "n",(char *) "show", NULL
9651 };
9652
9653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9655 if (obj2) {
9656 arg3 = PyInt_AsLong(obj2) ? true : false;
9657 if (PyErr_Occurred()) SWIG_fail;
9658 }
9659 {
9660 PyThreadState* __tstate = wxPyBeginAllowThreads();
9661 (arg1)->Show(arg2,arg3);
9662
9663 wxPyEndAllowThreads(__tstate);
9664 if (PyErr_Occurred()) SWIG_fail;
9665 }
9666 Py_INCREF(Py_None); resultobj = Py_None;
9667 return resultobj;
9668 fail:
9669 return NULL;
9670 }
9671
9672
9673 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9674 PyObject *resultobj;
9675 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9676 int result;
9677 PyObject * obj0 = 0 ;
9678 char *kwnames[] = {
9679 (char *) "self", NULL
9680 };
9681
9682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9684 {
9685 PyThreadState* __tstate = wxPyBeginAllowThreads();
9686 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
9687
9688 wxPyEndAllowThreads(__tstate);
9689 if (PyErr_Occurred()) SWIG_fail;
9690 }
9691 resultobj = PyInt_FromLong((long)result);
9692 return resultobj;
9693 fail:
9694 return NULL;
9695 }
9696
9697
9698 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9699 PyObject *resultobj;
9700 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9701 int result;
9702 PyObject * obj0 = 0 ;
9703 char *kwnames[] = {
9704 (char *) "self", NULL
9705 };
9706
9707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9709 {
9710 PyThreadState* __tstate = wxPyBeginAllowThreads();
9711 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
9712
9713 wxPyEndAllowThreads(__tstate);
9714 if (PyErr_Occurred()) SWIG_fail;
9715 }
9716 resultobj = PyInt_FromLong((long)result);
9717 return resultobj;
9718 fail:
9719 return NULL;
9720 }
9721
9722
9723 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9724 PyObject *resultobj;
9725 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9726 int arg2 ;
9727 int arg3 ;
9728 long arg4 ;
9729 int result;
9730 PyObject * obj0 = 0 ;
9731 char *kwnames[] = {
9732 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9733 };
9734
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9737 {
9738 PyThreadState* __tstate = wxPyBeginAllowThreads();
9739 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
9740
9741 wxPyEndAllowThreads(__tstate);
9742 if (PyErr_Occurred()) SWIG_fail;
9743 }
9744 resultobj = PyInt_FromLong((long)result);
9745 return resultobj;
9746 fail:
9747 return NULL;
9748 }
9749
9750
9751 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9752 PyObject *obj;
9753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9754 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9755 Py_INCREF(obj);
9756 return Py_BuildValue((char *)"");
9757 }
9758 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9759 PyObject *resultobj;
9760 wxWindow *arg1 = (wxWindow *) 0 ;
9761 int arg2 ;
9762 wxString *arg3 = 0 ;
9763 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9764 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9765 wxSize const &arg5_defvalue = wxDefaultSize ;
9766 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9767 long arg6 = (long) 0 ;
9768 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9769 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9770 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9771 wxString *arg8 = (wxString *) &arg8_defvalue ;
9772 wxRadioButton *result;
9773 bool temp3 = False ;
9774 wxPoint temp4 ;
9775 wxSize temp5 ;
9776 bool temp8 = False ;
9777 PyObject * obj0 = 0 ;
9778 PyObject * obj2 = 0 ;
9779 PyObject * obj3 = 0 ;
9780 PyObject * obj4 = 0 ;
9781 PyObject * obj6 = 0 ;
9782 PyObject * obj7 = 0 ;
9783 char *kwnames[] = {
9784 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9785 };
9786
9787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9789 {
9790 arg3 = wxString_in_helper(obj2);
9791 if (arg3 == NULL) SWIG_fail;
9792 temp3 = True;
9793 }
9794 if (obj3) {
9795 {
9796 arg4 = &temp4;
9797 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9798 }
9799 }
9800 if (obj4) {
9801 {
9802 arg5 = &temp5;
9803 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9804 }
9805 }
9806 if (obj6) {
9807 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9808 if (arg7 == NULL) {
9809 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9810 }
9811 }
9812 if (obj7) {
9813 {
9814 arg8 = wxString_in_helper(obj7);
9815 if (arg8 == NULL) SWIG_fail;
9816 temp8 = True;
9817 }
9818 }
9819 {
9820 PyThreadState* __tstate = wxPyBeginAllowThreads();
9821 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9822
9823 wxPyEndAllowThreads(__tstate);
9824 if (PyErr_Occurred()) SWIG_fail;
9825 }
9826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9827 {
9828 if (temp3)
9829 delete arg3;
9830 }
9831 {
9832 if (temp8)
9833 delete arg8;
9834 }
9835 return resultobj;
9836 fail:
9837 {
9838 if (temp3)
9839 delete arg3;
9840 }
9841 {
9842 if (temp8)
9843 delete arg8;
9844 }
9845 return NULL;
9846 }
9847
9848
9849 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9850 PyObject *resultobj;
9851 wxRadioButton *result;
9852 char *kwnames[] = {
9853 NULL
9854 };
9855
9856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
9859 result = (wxRadioButton *)new wxRadioButton();
9860
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 }
9864 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9865 return resultobj;
9866 fail:
9867 return NULL;
9868 }
9869
9870
9871 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9872 PyObject *resultobj;
9873 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9874 wxWindow *arg2 = (wxWindow *) 0 ;
9875 int arg3 ;
9876 wxString *arg4 = 0 ;
9877 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9878 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9879 wxSize const &arg6_defvalue = wxDefaultSize ;
9880 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9881 long arg7 = (long) 0 ;
9882 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9883 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9884 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
9885 wxString *arg9 = (wxString *) &arg9_defvalue ;
9886 bool result;
9887 bool temp4 = False ;
9888 wxPoint temp5 ;
9889 wxSize temp6 ;
9890 bool temp9 = False ;
9891 PyObject * obj0 = 0 ;
9892 PyObject * obj1 = 0 ;
9893 PyObject * obj3 = 0 ;
9894 PyObject * obj4 = 0 ;
9895 PyObject * obj5 = 0 ;
9896 PyObject * obj7 = 0 ;
9897 PyObject * obj8 = 0 ;
9898 char *kwnames[] = {
9899 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9900 };
9901
9902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
9903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9904 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9905 {
9906 arg4 = wxString_in_helper(obj3);
9907 if (arg4 == NULL) SWIG_fail;
9908 temp4 = True;
9909 }
9910 if (obj4) {
9911 {
9912 arg5 = &temp5;
9913 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9914 }
9915 }
9916 if (obj5) {
9917 {
9918 arg6 = &temp6;
9919 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9920 }
9921 }
9922 if (obj7) {
9923 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9924 if (arg8 == NULL) {
9925 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9926 }
9927 }
9928 if (obj8) {
9929 {
9930 arg9 = wxString_in_helper(obj8);
9931 if (arg9 == NULL) SWIG_fail;
9932 temp9 = True;
9933 }
9934 }
9935 {
9936 PyThreadState* __tstate = wxPyBeginAllowThreads();
9937 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9938
9939 wxPyEndAllowThreads(__tstate);
9940 if (PyErr_Occurred()) SWIG_fail;
9941 }
9942 resultobj = PyInt_FromLong((long)result);
9943 {
9944 if (temp4)
9945 delete arg4;
9946 }
9947 {
9948 if (temp9)
9949 delete arg9;
9950 }
9951 return resultobj;
9952 fail:
9953 {
9954 if (temp4)
9955 delete arg4;
9956 }
9957 {
9958 if (temp9)
9959 delete arg9;
9960 }
9961 return NULL;
9962 }
9963
9964
9965 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9966 PyObject *resultobj;
9967 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9968 bool result;
9969 PyObject * obj0 = 0 ;
9970 char *kwnames[] = {
9971 (char *) "self", NULL
9972 };
9973
9974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
9975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 result = (bool)(arg1)->GetValue();
9979
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 resultobj = PyInt_FromLong((long)result);
9984 return resultobj;
9985 fail:
9986 return NULL;
9987 }
9988
9989
9990 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9991 PyObject *resultobj;
9992 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9993 bool arg2 ;
9994 PyObject * obj0 = 0 ;
9995 PyObject * obj1 = 0 ;
9996 char *kwnames[] = {
9997 (char *) "self",(char *) "value", NULL
9998 };
9999
10000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10002 arg2 = PyInt_AsLong(obj1) ? true : false;
10003 if (PyErr_Occurred()) SWIG_fail;
10004 {
10005 PyThreadState* __tstate = wxPyBeginAllowThreads();
10006 (arg1)->SetValue(arg2);
10007
10008 wxPyEndAllowThreads(__tstate);
10009 if (PyErr_Occurred()) SWIG_fail;
10010 }
10011 Py_INCREF(Py_None); resultobj = Py_None;
10012 return resultobj;
10013 fail:
10014 return NULL;
10015 }
10016
10017
10018 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10019 PyObject *obj;
10020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10021 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10022 Py_INCREF(obj);
10023 return Py_BuildValue((char *)"");
10024 }
10025 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10026 PyObject *resultobj;
10027 wxWindow *arg1 = (wxWindow *) 0 ;
10028 int arg2 ;
10029 int arg3 ;
10030 int arg4 ;
10031 int arg5 ;
10032 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10033 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10034 wxSize const &arg7_defvalue = wxDefaultSize ;
10035 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10036 long arg8 = (long) wxSL_HORIZONTAL ;
10037 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10038 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10039 wxString const &arg10_defvalue = wxPySliderNameStr ;
10040 wxString *arg10 = (wxString *) &arg10_defvalue ;
10041 wxSlider *result;
10042 wxPoint temp6 ;
10043 wxSize temp7 ;
10044 bool temp10 = False ;
10045 PyObject * obj0 = 0 ;
10046 PyObject * obj5 = 0 ;
10047 PyObject * obj6 = 0 ;
10048 PyObject * obj8 = 0 ;
10049 PyObject * obj9 = 0 ;
10050 char *kwnames[] = {
10051 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10052 };
10053
10054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10056 if (obj5) {
10057 {
10058 arg6 = &temp6;
10059 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10060 }
10061 }
10062 if (obj6) {
10063 {
10064 arg7 = &temp7;
10065 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10066 }
10067 }
10068 if (obj8) {
10069 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10070 if (arg9 == NULL) {
10071 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10072 }
10073 }
10074 if (obj9) {
10075 {
10076 arg10 = wxString_in_helper(obj9);
10077 if (arg10 == NULL) SWIG_fail;
10078 temp10 = True;
10079 }
10080 }
10081 {
10082 PyThreadState* __tstate = wxPyBeginAllowThreads();
10083 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10084
10085 wxPyEndAllowThreads(__tstate);
10086 if (PyErr_Occurred()) SWIG_fail;
10087 }
10088 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10089 {
10090 if (temp10)
10091 delete arg10;
10092 }
10093 return resultobj;
10094 fail:
10095 {
10096 if (temp10)
10097 delete arg10;
10098 }
10099 return NULL;
10100 }
10101
10102
10103 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10104 PyObject *resultobj;
10105 wxSlider *result;
10106 char *kwnames[] = {
10107 NULL
10108 };
10109
10110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10111 {
10112 PyThreadState* __tstate = wxPyBeginAllowThreads();
10113 result = (wxSlider *)new wxSlider();
10114
10115 wxPyEndAllowThreads(__tstate);
10116 if (PyErr_Occurred()) SWIG_fail;
10117 }
10118 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10119 return resultobj;
10120 fail:
10121 return NULL;
10122 }
10123
10124
10125 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10126 PyObject *resultobj;
10127 wxSlider *arg1 = (wxSlider *) 0 ;
10128 wxWindow *arg2 = (wxWindow *) 0 ;
10129 int arg3 ;
10130 int arg4 ;
10131 int arg5 ;
10132 int arg6 ;
10133 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10134 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10135 wxSize const &arg8_defvalue = wxDefaultSize ;
10136 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10137 long arg9 = (long) wxSL_HORIZONTAL ;
10138 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10139 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10140 wxString const &arg11_defvalue = wxPySliderNameStr ;
10141 wxString *arg11 = (wxString *) &arg11_defvalue ;
10142 bool result;
10143 wxPoint temp7 ;
10144 wxSize temp8 ;
10145 bool temp11 = False ;
10146 PyObject * obj0 = 0 ;
10147 PyObject * obj1 = 0 ;
10148 PyObject * obj6 = 0 ;
10149 PyObject * obj7 = 0 ;
10150 PyObject * obj9 = 0 ;
10151 PyObject * obj10 = 0 ;
10152 char *kwnames[] = {
10153 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10154 };
10155
10156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10158 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10159 if (obj6) {
10160 {
10161 arg7 = &temp7;
10162 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10163 }
10164 }
10165 if (obj7) {
10166 {
10167 arg8 = &temp8;
10168 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10169 }
10170 }
10171 if (obj9) {
10172 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10173 if (arg10 == NULL) {
10174 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10175 }
10176 }
10177 if (obj10) {
10178 {
10179 arg11 = wxString_in_helper(obj10);
10180 if (arg11 == NULL) SWIG_fail;
10181 temp11 = True;
10182 }
10183 }
10184 {
10185 PyThreadState* __tstate = wxPyBeginAllowThreads();
10186 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10187
10188 wxPyEndAllowThreads(__tstate);
10189 if (PyErr_Occurred()) SWIG_fail;
10190 }
10191 resultobj = PyInt_FromLong((long)result);
10192 {
10193 if (temp11)
10194 delete arg11;
10195 }
10196 return resultobj;
10197 fail:
10198 {
10199 if (temp11)
10200 delete arg11;
10201 }
10202 return NULL;
10203 }
10204
10205
10206 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10207 PyObject *resultobj;
10208 wxSlider *arg1 = (wxSlider *) 0 ;
10209 int result;
10210 PyObject * obj0 = 0 ;
10211 char *kwnames[] = {
10212 (char *) "self", NULL
10213 };
10214
10215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10217 {
10218 PyThreadState* __tstate = wxPyBeginAllowThreads();
10219 result = (int)((wxSlider const *)arg1)->GetValue();
10220
10221 wxPyEndAllowThreads(__tstate);
10222 if (PyErr_Occurred()) SWIG_fail;
10223 }
10224 resultobj = PyInt_FromLong((long)result);
10225 return resultobj;
10226 fail:
10227 return NULL;
10228 }
10229
10230
10231 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10232 PyObject *resultobj;
10233 wxSlider *arg1 = (wxSlider *) 0 ;
10234 int arg2 ;
10235 PyObject * obj0 = 0 ;
10236 char *kwnames[] = {
10237 (char *) "self",(char *) "value", NULL
10238 };
10239
10240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10242 {
10243 PyThreadState* __tstate = wxPyBeginAllowThreads();
10244 (arg1)->SetValue(arg2);
10245
10246 wxPyEndAllowThreads(__tstate);
10247 if (PyErr_Occurred()) SWIG_fail;
10248 }
10249 Py_INCREF(Py_None); resultobj = Py_None;
10250 return resultobj;
10251 fail:
10252 return NULL;
10253 }
10254
10255
10256 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10257 PyObject *resultobj;
10258 wxSlider *arg1 = (wxSlider *) 0 ;
10259 int arg2 ;
10260 int arg3 ;
10261 PyObject * obj0 = 0 ;
10262 char *kwnames[] = {
10263 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10264 };
10265
10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10268 {
10269 PyThreadState* __tstate = wxPyBeginAllowThreads();
10270 (arg1)->SetRange(arg2,arg3);
10271
10272 wxPyEndAllowThreads(__tstate);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 }
10275 Py_INCREF(Py_None); resultobj = Py_None;
10276 return resultobj;
10277 fail:
10278 return NULL;
10279 }
10280
10281
10282 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10283 PyObject *resultobj;
10284 wxSlider *arg1 = (wxSlider *) 0 ;
10285 int result;
10286 PyObject * obj0 = 0 ;
10287 char *kwnames[] = {
10288 (char *) "self", NULL
10289 };
10290
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10293 {
10294 PyThreadState* __tstate = wxPyBeginAllowThreads();
10295 result = (int)((wxSlider const *)arg1)->GetMin();
10296
10297 wxPyEndAllowThreads(__tstate);
10298 if (PyErr_Occurred()) SWIG_fail;
10299 }
10300 resultobj = PyInt_FromLong((long)result);
10301 return resultobj;
10302 fail:
10303 return NULL;
10304 }
10305
10306
10307 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10308 PyObject *resultobj;
10309 wxSlider *arg1 = (wxSlider *) 0 ;
10310 int result;
10311 PyObject * obj0 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "self", NULL
10314 };
10315
10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 result = (int)((wxSlider const *)arg1)->GetMax();
10321
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 resultobj = PyInt_FromLong((long)result);
10326 return resultobj;
10327 fail:
10328 return NULL;
10329 }
10330
10331
10332 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10333 PyObject *resultobj;
10334 wxSlider *arg1 = (wxSlider *) 0 ;
10335 int arg2 ;
10336 PyObject * obj0 = 0 ;
10337 char *kwnames[] = {
10338 (char *) "self",(char *) "minValue", NULL
10339 };
10340
10341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10343 {
10344 PyThreadState* __tstate = wxPyBeginAllowThreads();
10345 (arg1)->SetMin(arg2);
10346
10347 wxPyEndAllowThreads(__tstate);
10348 if (PyErr_Occurred()) SWIG_fail;
10349 }
10350 Py_INCREF(Py_None); resultobj = Py_None;
10351 return resultobj;
10352 fail:
10353 return NULL;
10354 }
10355
10356
10357 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10358 PyObject *resultobj;
10359 wxSlider *arg1 = (wxSlider *) 0 ;
10360 int arg2 ;
10361 PyObject * obj0 = 0 ;
10362 char *kwnames[] = {
10363 (char *) "self",(char *) "maxValue", NULL
10364 };
10365
10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10368 {
10369 PyThreadState* __tstate = wxPyBeginAllowThreads();
10370 (arg1)->SetMax(arg2);
10371
10372 wxPyEndAllowThreads(__tstate);
10373 if (PyErr_Occurred()) SWIG_fail;
10374 }
10375 Py_INCREF(Py_None); resultobj = Py_None;
10376 return resultobj;
10377 fail:
10378 return NULL;
10379 }
10380
10381
10382 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10383 PyObject *resultobj;
10384 wxSlider *arg1 = (wxSlider *) 0 ;
10385 int arg2 ;
10386 PyObject * obj0 = 0 ;
10387 char *kwnames[] = {
10388 (char *) "self",(char *) "lineSize", NULL
10389 };
10390
10391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10393 {
10394 PyThreadState* __tstate = wxPyBeginAllowThreads();
10395 (arg1)->SetLineSize(arg2);
10396
10397 wxPyEndAllowThreads(__tstate);
10398 if (PyErr_Occurred()) SWIG_fail;
10399 }
10400 Py_INCREF(Py_None); resultobj = Py_None;
10401 return resultobj;
10402 fail:
10403 return NULL;
10404 }
10405
10406
10407 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj;
10409 wxSlider *arg1 = (wxSlider *) 0 ;
10410 int arg2 ;
10411 PyObject * obj0 = 0 ;
10412 char *kwnames[] = {
10413 (char *) "self",(char *) "pageSize", NULL
10414 };
10415
10416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10418 {
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 (arg1)->SetPageSize(arg2);
10421
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 }
10425 Py_INCREF(Py_None); resultobj = Py_None;
10426 return resultobj;
10427 fail:
10428 return NULL;
10429 }
10430
10431
10432 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10433 PyObject *resultobj;
10434 wxSlider *arg1 = (wxSlider *) 0 ;
10435 int result;
10436 PyObject * obj0 = 0 ;
10437 char *kwnames[] = {
10438 (char *) "self", NULL
10439 };
10440
10441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10443 {
10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
10445 result = (int)((wxSlider const *)arg1)->GetLineSize();
10446
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) SWIG_fail;
10449 }
10450 resultobj = PyInt_FromLong((long)result);
10451 return resultobj;
10452 fail:
10453 return NULL;
10454 }
10455
10456
10457 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj;
10459 wxSlider *arg1 = (wxSlider *) 0 ;
10460 int result;
10461 PyObject * obj0 = 0 ;
10462 char *kwnames[] = {
10463 (char *) "self", NULL
10464 };
10465
10466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 result = (int)((wxSlider const *)arg1)->GetPageSize();
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 resultobj = PyInt_FromLong((long)result);
10476 return resultobj;
10477 fail:
10478 return NULL;
10479 }
10480
10481
10482 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10483 PyObject *resultobj;
10484 wxSlider *arg1 = (wxSlider *) 0 ;
10485 int arg2 ;
10486 PyObject * obj0 = 0 ;
10487 char *kwnames[] = {
10488 (char *) "self",(char *) "lenPixels", NULL
10489 };
10490
10491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10493 {
10494 PyThreadState* __tstate = wxPyBeginAllowThreads();
10495 (arg1)->SetThumbLength(arg2);
10496
10497 wxPyEndAllowThreads(__tstate);
10498 if (PyErr_Occurred()) SWIG_fail;
10499 }
10500 Py_INCREF(Py_None); resultobj = Py_None;
10501 return resultobj;
10502 fail:
10503 return NULL;
10504 }
10505
10506
10507 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10508 PyObject *resultobj;
10509 wxSlider *arg1 = (wxSlider *) 0 ;
10510 int result;
10511 PyObject * obj0 = 0 ;
10512 char *kwnames[] = {
10513 (char *) "self", NULL
10514 };
10515
10516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10518 {
10519 PyThreadState* __tstate = wxPyBeginAllowThreads();
10520 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10521
10522 wxPyEndAllowThreads(__tstate);
10523 if (PyErr_Occurred()) SWIG_fail;
10524 }
10525 resultobj = PyInt_FromLong((long)result);
10526 return resultobj;
10527 fail:
10528 return NULL;
10529 }
10530
10531
10532 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10533 PyObject *resultobj;
10534 wxSlider *arg1 = (wxSlider *) 0 ;
10535 int arg2 ;
10536 int arg3 ;
10537 PyObject * obj0 = 0 ;
10538 char *kwnames[] = {
10539 (char *) "self",(char *) "n",(char *) "pos", NULL
10540 };
10541
10542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 (arg1)->SetTickFreq(arg2,arg3);
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 Py_INCREF(Py_None); resultobj = Py_None;
10552 return resultobj;
10553 fail:
10554 return NULL;
10555 }
10556
10557
10558 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10559 PyObject *resultobj;
10560 wxSlider *arg1 = (wxSlider *) 0 ;
10561 int result;
10562 PyObject * obj0 = 0 ;
10563 char *kwnames[] = {
10564 (char *) "self", NULL
10565 };
10566
10567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10569 {
10570 PyThreadState* __tstate = wxPyBeginAllowThreads();
10571 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10572
10573 wxPyEndAllowThreads(__tstate);
10574 if (PyErr_Occurred()) SWIG_fail;
10575 }
10576 resultobj = PyInt_FromLong((long)result);
10577 return resultobj;
10578 fail:
10579 return NULL;
10580 }
10581
10582
10583 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10584 PyObject *resultobj;
10585 wxSlider *arg1 = (wxSlider *) 0 ;
10586 PyObject * obj0 = 0 ;
10587 char *kwnames[] = {
10588 (char *) "self", NULL
10589 };
10590
10591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10593 {
10594 PyThreadState* __tstate = wxPyBeginAllowThreads();
10595 (arg1)->ClearTicks();
10596
10597 wxPyEndAllowThreads(__tstate);
10598 if (PyErr_Occurred()) SWIG_fail;
10599 }
10600 Py_INCREF(Py_None); resultobj = Py_None;
10601 return resultobj;
10602 fail:
10603 return NULL;
10604 }
10605
10606
10607 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10608 PyObject *resultobj;
10609 wxSlider *arg1 = (wxSlider *) 0 ;
10610 int arg2 ;
10611 PyObject * obj0 = 0 ;
10612 char *kwnames[] = {
10613 (char *) "self",(char *) "tickPos", NULL
10614 };
10615
10616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10618 {
10619 PyThreadState* __tstate = wxPyBeginAllowThreads();
10620 (arg1)->SetTick(arg2);
10621
10622 wxPyEndAllowThreads(__tstate);
10623 if (PyErr_Occurred()) SWIG_fail;
10624 }
10625 Py_INCREF(Py_None); resultobj = Py_None;
10626 return resultobj;
10627 fail:
10628 return NULL;
10629 }
10630
10631
10632 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10633 PyObject *resultobj;
10634 wxSlider *arg1 = (wxSlider *) 0 ;
10635 PyObject * obj0 = 0 ;
10636 char *kwnames[] = {
10637 (char *) "self", NULL
10638 };
10639
10640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10642 {
10643 PyThreadState* __tstate = wxPyBeginAllowThreads();
10644 (arg1)->ClearSel();
10645
10646 wxPyEndAllowThreads(__tstate);
10647 if (PyErr_Occurred()) SWIG_fail;
10648 }
10649 Py_INCREF(Py_None); resultobj = Py_None;
10650 return resultobj;
10651 fail:
10652 return NULL;
10653 }
10654
10655
10656 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10657 PyObject *resultobj;
10658 wxSlider *arg1 = (wxSlider *) 0 ;
10659 int result;
10660 PyObject * obj0 = 0 ;
10661 char *kwnames[] = {
10662 (char *) "self", NULL
10663 };
10664
10665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10667 {
10668 PyThreadState* __tstate = wxPyBeginAllowThreads();
10669 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10670
10671 wxPyEndAllowThreads(__tstate);
10672 if (PyErr_Occurred()) SWIG_fail;
10673 }
10674 resultobj = PyInt_FromLong((long)result);
10675 return resultobj;
10676 fail:
10677 return NULL;
10678 }
10679
10680
10681 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10682 PyObject *resultobj;
10683 wxSlider *arg1 = (wxSlider *) 0 ;
10684 int result;
10685 PyObject * obj0 = 0 ;
10686 char *kwnames[] = {
10687 (char *) "self", NULL
10688 };
10689
10690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10692 {
10693 PyThreadState* __tstate = wxPyBeginAllowThreads();
10694 result = (int)((wxSlider const *)arg1)->GetSelStart();
10695
10696 wxPyEndAllowThreads(__tstate);
10697 if (PyErr_Occurred()) SWIG_fail;
10698 }
10699 resultobj = PyInt_FromLong((long)result);
10700 return resultobj;
10701 fail:
10702 return NULL;
10703 }
10704
10705
10706 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10707 PyObject *resultobj;
10708 wxSlider *arg1 = (wxSlider *) 0 ;
10709 int arg2 ;
10710 int arg3 ;
10711 PyObject * obj0 = 0 ;
10712 char *kwnames[] = {
10713 (char *) "self",(char *) "min",(char *) "max", NULL
10714 };
10715
10716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10718 {
10719 PyThreadState* __tstate = wxPyBeginAllowThreads();
10720 (arg1)->SetSelection(arg2,arg3);
10721
10722 wxPyEndAllowThreads(__tstate);
10723 if (PyErr_Occurred()) SWIG_fail;
10724 }
10725 Py_INCREF(Py_None); resultobj = Py_None;
10726 return resultobj;
10727 fail:
10728 return NULL;
10729 }
10730
10731
10732 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10733 PyObject *obj;
10734 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10735 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10736 Py_INCREF(obj);
10737 return Py_BuildValue((char *)"");
10738 }
10739 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10740 PyObject *resultobj;
10741 wxWindow *arg1 = (wxWindow *) 0 ;
10742 int arg2 ;
10743 wxString *arg3 = 0 ;
10744 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10745 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10746 wxSize const &arg5_defvalue = wxDefaultSize ;
10747 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10748 long arg6 = (long) 0 ;
10749 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10750 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10751 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10752 wxString *arg8 = (wxString *) &arg8_defvalue ;
10753 wxToggleButton *result;
10754 bool temp3 = False ;
10755 wxPoint temp4 ;
10756 wxSize temp5 ;
10757 bool temp8 = False ;
10758 PyObject * obj0 = 0 ;
10759 PyObject * obj2 = 0 ;
10760 PyObject * obj3 = 0 ;
10761 PyObject * obj4 = 0 ;
10762 PyObject * obj6 = 0 ;
10763 PyObject * obj7 = 0 ;
10764 char *kwnames[] = {
10765 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10766 };
10767
10768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10770 {
10771 arg3 = wxString_in_helper(obj2);
10772 if (arg3 == NULL) SWIG_fail;
10773 temp3 = True;
10774 }
10775 if (obj3) {
10776 {
10777 arg4 = &temp4;
10778 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10779 }
10780 }
10781 if (obj4) {
10782 {
10783 arg5 = &temp5;
10784 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10785 }
10786 }
10787 if (obj6) {
10788 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10789 if (arg7 == NULL) {
10790 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10791 }
10792 }
10793 if (obj7) {
10794 {
10795 arg8 = wxString_in_helper(obj7);
10796 if (arg8 == NULL) SWIG_fail;
10797 temp8 = True;
10798 }
10799 }
10800 {
10801 PyThreadState* __tstate = wxPyBeginAllowThreads();
10802 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10803
10804 wxPyEndAllowThreads(__tstate);
10805 if (PyErr_Occurred()) SWIG_fail;
10806 }
10807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10808 {
10809 if (temp3)
10810 delete arg3;
10811 }
10812 {
10813 if (temp8)
10814 delete arg8;
10815 }
10816 return resultobj;
10817 fail:
10818 {
10819 if (temp3)
10820 delete arg3;
10821 }
10822 {
10823 if (temp8)
10824 delete arg8;
10825 }
10826 return NULL;
10827 }
10828
10829
10830 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10831 PyObject *resultobj;
10832 wxToggleButton *result;
10833 char *kwnames[] = {
10834 NULL
10835 };
10836
10837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 result = (wxToggleButton *)new wxToggleButton();
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10846 return resultobj;
10847 fail:
10848 return NULL;
10849 }
10850
10851
10852 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10853 PyObject *resultobj;
10854 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10855 wxWindow *arg2 = (wxWindow *) 0 ;
10856 int arg3 ;
10857 wxString *arg4 = 0 ;
10858 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10859 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10860 wxSize const &arg6_defvalue = wxDefaultSize ;
10861 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10862 long arg7 = (long) 0 ;
10863 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10864 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10865 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
10866 wxString *arg9 = (wxString *) &arg9_defvalue ;
10867 bool result;
10868 bool temp4 = False ;
10869 wxPoint temp5 ;
10870 wxSize temp6 ;
10871 bool temp9 = False ;
10872 PyObject * obj0 = 0 ;
10873 PyObject * obj1 = 0 ;
10874 PyObject * obj3 = 0 ;
10875 PyObject * obj4 = 0 ;
10876 PyObject * obj5 = 0 ;
10877 PyObject * obj7 = 0 ;
10878 PyObject * obj8 = 0 ;
10879 char *kwnames[] = {
10880 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10881 };
10882
10883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10885 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10886 {
10887 arg4 = wxString_in_helper(obj3);
10888 if (arg4 == NULL) SWIG_fail;
10889 temp4 = True;
10890 }
10891 if (obj4) {
10892 {
10893 arg5 = &temp5;
10894 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10895 }
10896 }
10897 if (obj5) {
10898 {
10899 arg6 = &temp6;
10900 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10901 }
10902 }
10903 if (obj7) {
10904 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10905 if (arg8 == NULL) {
10906 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10907 }
10908 }
10909 if (obj8) {
10910 {
10911 arg9 = wxString_in_helper(obj8);
10912 if (arg9 == NULL) SWIG_fail;
10913 temp9 = True;
10914 }
10915 }
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 resultobj = PyInt_FromLong((long)result);
10924 {
10925 if (temp4)
10926 delete arg4;
10927 }
10928 {
10929 if (temp9)
10930 delete arg9;
10931 }
10932 return resultobj;
10933 fail:
10934 {
10935 if (temp4)
10936 delete arg4;
10937 }
10938 {
10939 if (temp9)
10940 delete arg9;
10941 }
10942 return NULL;
10943 }
10944
10945
10946 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10947 PyObject *resultobj;
10948 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10949 bool arg2 ;
10950 PyObject * obj0 = 0 ;
10951 PyObject * obj1 = 0 ;
10952 char *kwnames[] = {
10953 (char *) "self",(char *) "value", NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10958 arg2 = PyInt_AsLong(obj1) ? true : false;
10959 if (PyErr_Occurred()) SWIG_fail;
10960 {
10961 PyThreadState* __tstate = wxPyBeginAllowThreads();
10962 (arg1)->SetValue(arg2);
10963
10964 wxPyEndAllowThreads(__tstate);
10965 if (PyErr_Occurred()) SWIG_fail;
10966 }
10967 Py_INCREF(Py_None); resultobj = Py_None;
10968 return resultobj;
10969 fail:
10970 return NULL;
10971 }
10972
10973
10974 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10975 PyObject *resultobj;
10976 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10977 bool result;
10978 PyObject * obj0 = 0 ;
10979 char *kwnames[] = {
10980 (char *) "self", NULL
10981 };
10982
10983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
10984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10985 {
10986 PyThreadState* __tstate = wxPyBeginAllowThreads();
10987 result = (bool)((wxToggleButton const *)arg1)->GetValue();
10988
10989 wxPyEndAllowThreads(__tstate);
10990 if (PyErr_Occurred()) SWIG_fail;
10991 }
10992 resultobj = PyInt_FromLong((long)result);
10993 return resultobj;
10994 fail:
10995 return NULL;
10996 }
10997
10998
10999 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11000 PyObject *resultobj;
11001 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11002 wxString *arg2 = 0 ;
11003 bool temp2 = False ;
11004 PyObject * obj0 = 0 ;
11005 PyObject * obj1 = 0 ;
11006 char *kwnames[] = {
11007 (char *) "self",(char *) "label", NULL
11008 };
11009
11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11012 {
11013 arg2 = wxString_in_helper(obj1);
11014 if (arg2 == NULL) SWIG_fail;
11015 temp2 = True;
11016 }
11017 {
11018 PyThreadState* __tstate = wxPyBeginAllowThreads();
11019 (arg1)->SetLabel((wxString const &)*arg2);
11020
11021 wxPyEndAllowThreads(__tstate);
11022 if (PyErr_Occurred()) SWIG_fail;
11023 }
11024 Py_INCREF(Py_None); resultobj = Py_None;
11025 {
11026 if (temp2)
11027 delete arg2;
11028 }
11029 return resultobj;
11030 fail:
11031 {
11032 if (temp2)
11033 delete arg2;
11034 }
11035 return NULL;
11036 }
11037
11038
11039 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11040 PyObject *obj;
11041 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11042 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11043 Py_INCREF(obj);
11044 return Py_BuildValue((char *)"");
11045 }
11046 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11047 PyObject *resultobj;
11048 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11049 size_t result;
11050 PyObject * obj0 = 0 ;
11051 char *kwnames[] = {
11052 (char *) "self", NULL
11053 };
11054
11055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11057 {
11058 PyThreadState* __tstate = wxPyBeginAllowThreads();
11059 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11060
11061 wxPyEndAllowThreads(__tstate);
11062 if (PyErr_Occurred()) SWIG_fail;
11063 }
11064 resultobj = PyInt_FromLong((long)result);
11065 return resultobj;
11066 fail:
11067 return NULL;
11068 }
11069
11070
11071 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11072 PyObject *resultobj;
11073 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11074 size_t arg2 ;
11075 wxWindow *result;
11076 PyObject * obj0 = 0 ;
11077 PyObject * obj1 = 0 ;
11078 char *kwnames[] = {
11079 (char *) "self",(char *) "n", NULL
11080 };
11081
11082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11084 arg2 = (size_t) PyInt_AsLong(obj1);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 {
11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
11088 result = (wxWindow *)(arg1)->GetPage(arg2);
11089
11090 wxPyEndAllowThreads(__tstate);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 {
11094 resultobj = wxPyMake_wxObject(result);
11095 }
11096 return resultobj;
11097 fail:
11098 return NULL;
11099 }
11100
11101
11102 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11103 PyObject *resultobj;
11104 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11105 int result;
11106 PyObject * obj0 = 0 ;
11107 char *kwnames[] = {
11108 (char *) "self", NULL
11109 };
11110
11111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11113 {
11114 PyThreadState* __tstate = wxPyBeginAllowThreads();
11115 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11116
11117 wxPyEndAllowThreads(__tstate);
11118 if (PyErr_Occurred()) SWIG_fail;
11119 }
11120 resultobj = PyInt_FromLong((long)result);
11121 return resultobj;
11122 fail:
11123 return NULL;
11124 }
11125
11126
11127 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11128 PyObject *resultobj;
11129 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11130 size_t arg2 ;
11131 wxString *arg3 = 0 ;
11132 bool result;
11133 bool temp3 = False ;
11134 PyObject * obj0 = 0 ;
11135 PyObject * obj1 = 0 ;
11136 PyObject * obj2 = 0 ;
11137 char *kwnames[] = {
11138 (char *) "self",(char *) "n",(char *) "strText", NULL
11139 };
11140
11141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11143 arg2 = (size_t) PyInt_AsLong(obj1);
11144 if (PyErr_Occurred()) SWIG_fail;
11145 {
11146 arg3 = wxString_in_helper(obj2);
11147 if (arg3 == NULL) SWIG_fail;
11148 temp3 = True;
11149 }
11150 {
11151 PyThreadState* __tstate = wxPyBeginAllowThreads();
11152 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11153
11154 wxPyEndAllowThreads(__tstate);
11155 if (PyErr_Occurred()) SWIG_fail;
11156 }
11157 resultobj = PyInt_FromLong((long)result);
11158 {
11159 if (temp3)
11160 delete arg3;
11161 }
11162 return resultobj;
11163 fail:
11164 {
11165 if (temp3)
11166 delete arg3;
11167 }
11168 return NULL;
11169 }
11170
11171
11172 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11173 PyObject *resultobj;
11174 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11175 size_t arg2 ;
11176 wxString result;
11177 PyObject * obj0 = 0 ;
11178 PyObject * obj1 = 0 ;
11179 char *kwnames[] = {
11180 (char *) "self",(char *) "n", NULL
11181 };
11182
11183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11185 arg2 = (size_t) PyInt_AsLong(obj1);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 {
11195 #if wxUSE_UNICODE
11196 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11197 #else
11198 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11199 #endif
11200 }
11201 return resultobj;
11202 fail:
11203 return NULL;
11204 }
11205
11206
11207 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11208 PyObject *resultobj;
11209 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11210 wxImageList *arg2 = (wxImageList *) 0 ;
11211 PyObject * obj0 = 0 ;
11212 PyObject * obj1 = 0 ;
11213 char *kwnames[] = {
11214 (char *) "self",(char *) "imageList", NULL
11215 };
11216
11217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11219 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11220 {
11221 PyThreadState* __tstate = wxPyBeginAllowThreads();
11222 (arg1)->SetImageList(arg2);
11223
11224 wxPyEndAllowThreads(__tstate);
11225 if (PyErr_Occurred()) SWIG_fail;
11226 }
11227 Py_INCREF(Py_None); resultobj = Py_None;
11228 return resultobj;
11229 fail:
11230 return NULL;
11231 }
11232
11233
11234 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11235 PyObject *resultobj;
11236 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11237 wxImageList *arg2 = (wxImageList *) 0 ;
11238 PyObject * obj0 = 0 ;
11239 PyObject * obj1 = 0 ;
11240 char *kwnames[] = {
11241 (char *) "self",(char *) "imageList", NULL
11242 };
11243
11244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11247 {
11248 PyThreadState* __tstate = wxPyBeginAllowThreads();
11249 (arg1)->AssignImageList(arg2);
11250
11251 wxPyEndAllowThreads(__tstate);
11252 if (PyErr_Occurred()) SWIG_fail;
11253 }
11254 Py_INCREF(Py_None); resultobj = Py_None;
11255 return resultobj;
11256 fail:
11257 return NULL;
11258 }
11259
11260
11261 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11262 PyObject *resultobj;
11263 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11264 wxImageList *result;
11265 PyObject * obj0 = 0 ;
11266 char *kwnames[] = {
11267 (char *) "self", NULL
11268 };
11269
11270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11272 {
11273 PyThreadState* __tstate = wxPyBeginAllowThreads();
11274 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11275
11276 wxPyEndAllowThreads(__tstate);
11277 if (PyErr_Occurred()) SWIG_fail;
11278 }
11279 {
11280 resultobj = wxPyMake_wxObject(result);
11281 }
11282 return resultobj;
11283 fail:
11284 return NULL;
11285 }
11286
11287
11288 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11289 PyObject *resultobj;
11290 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11291 size_t arg2 ;
11292 int result;
11293 PyObject * obj0 = 0 ;
11294 PyObject * obj1 = 0 ;
11295 char *kwnames[] = {
11296 (char *) "self",(char *) "n", NULL
11297 };
11298
11299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11301 arg2 = (size_t) PyInt_AsLong(obj1);
11302 if (PyErr_Occurred()) SWIG_fail;
11303 {
11304 PyThreadState* __tstate = wxPyBeginAllowThreads();
11305 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11306
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 resultobj = PyInt_FromLong((long)result);
11311 return resultobj;
11312 fail:
11313 return NULL;
11314 }
11315
11316
11317 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11318 PyObject *resultobj;
11319 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11320 size_t arg2 ;
11321 int arg3 ;
11322 bool result;
11323 PyObject * obj0 = 0 ;
11324 PyObject * obj1 = 0 ;
11325 char *kwnames[] = {
11326 (char *) "self",(char *) "n",(char *) "imageId", NULL
11327 };
11328
11329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11331 arg2 = (size_t) PyInt_AsLong(obj1);
11332 if (PyErr_Occurred()) SWIG_fail;
11333 {
11334 PyThreadState* __tstate = wxPyBeginAllowThreads();
11335 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11336
11337 wxPyEndAllowThreads(__tstate);
11338 if (PyErr_Occurred()) SWIG_fail;
11339 }
11340 resultobj = PyInt_FromLong((long)result);
11341 return resultobj;
11342 fail:
11343 return NULL;
11344 }
11345
11346
11347 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11348 PyObject *resultobj;
11349 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11350 wxSize *arg2 = 0 ;
11351 wxSize temp2 ;
11352 PyObject * obj0 = 0 ;
11353 PyObject * obj1 = 0 ;
11354 char *kwnames[] = {
11355 (char *) "self",(char *) "size", NULL
11356 };
11357
11358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11360 {
11361 arg2 = &temp2;
11362 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11363 }
11364 {
11365 PyThreadState* __tstate = wxPyBeginAllowThreads();
11366 (arg1)->SetPageSize((wxSize const &)*arg2);
11367
11368 wxPyEndAllowThreads(__tstate);
11369 if (PyErr_Occurred()) SWIG_fail;
11370 }
11371 Py_INCREF(Py_None); resultobj = Py_None;
11372 return resultobj;
11373 fail:
11374 return NULL;
11375 }
11376
11377
11378 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11379 PyObject *resultobj;
11380 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11381 wxSize *arg2 = 0 ;
11382 wxSize result;
11383 wxSize temp2 ;
11384 PyObject * obj0 = 0 ;
11385 PyObject * obj1 = 0 ;
11386 char *kwnames[] = {
11387 (char *) "self",(char *) "sizePage", NULL
11388 };
11389
11390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11392 {
11393 arg2 = &temp2;
11394 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11395 }
11396 {
11397 PyThreadState* __tstate = wxPyBeginAllowThreads();
11398 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11399
11400 wxPyEndAllowThreads(__tstate);
11401 if (PyErr_Occurred()) SWIG_fail;
11402 }
11403 {
11404 wxSize * resultptr;
11405 resultptr = new wxSize((wxSize &) result);
11406 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11407 }
11408 return resultobj;
11409 fail:
11410 return NULL;
11411 }
11412
11413
11414 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11415 PyObject *resultobj;
11416 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11417 size_t arg2 ;
11418 bool result;
11419 PyObject * obj0 = 0 ;
11420 PyObject * obj1 = 0 ;
11421 char *kwnames[] = {
11422 (char *) "self",(char *) "n", NULL
11423 };
11424
11425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11427 arg2 = (size_t) PyInt_AsLong(obj1);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
11431 result = (bool)(arg1)->DeletePage(arg2);
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
11436 resultobj = PyInt_FromLong((long)result);
11437 return resultobj;
11438 fail:
11439 return NULL;
11440 }
11441
11442
11443 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11444 PyObject *resultobj;
11445 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11446 size_t arg2 ;
11447 bool result;
11448 PyObject * obj0 = 0 ;
11449 PyObject * obj1 = 0 ;
11450 char *kwnames[] = {
11451 (char *) "self",(char *) "n", NULL
11452 };
11453
11454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11456 arg2 = (size_t) PyInt_AsLong(obj1);
11457 if (PyErr_Occurred()) SWIG_fail;
11458 {
11459 PyThreadState* __tstate = wxPyBeginAllowThreads();
11460 result = (bool)(arg1)->RemovePage(arg2);
11461
11462 wxPyEndAllowThreads(__tstate);
11463 if (PyErr_Occurred()) SWIG_fail;
11464 }
11465 resultobj = PyInt_FromLong((long)result);
11466 return resultobj;
11467 fail:
11468 return NULL;
11469 }
11470
11471
11472 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11473 PyObject *resultobj;
11474 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11475 bool result;
11476 PyObject * obj0 = 0 ;
11477 char *kwnames[] = {
11478 (char *) "self", NULL
11479 };
11480
11481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11483 {
11484 PyThreadState* __tstate = wxPyBeginAllowThreads();
11485 result = (bool)(arg1)->DeleteAllPages();
11486
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
11490 resultobj = PyInt_FromLong((long)result);
11491 return resultobj;
11492 fail:
11493 return NULL;
11494 }
11495
11496
11497 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11498 PyObject *resultobj;
11499 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11500 wxWindow *arg2 = (wxWindow *) 0 ;
11501 wxString *arg3 = 0 ;
11502 bool arg4 = (bool) False ;
11503 int arg5 = (int) -1 ;
11504 bool result;
11505 bool temp3 = False ;
11506 PyObject * obj0 = 0 ;
11507 PyObject * obj1 = 0 ;
11508 PyObject * obj2 = 0 ;
11509 PyObject * obj3 = 0 ;
11510 char *kwnames[] = {
11511 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11512 };
11513
11514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11516 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11517 {
11518 arg3 = wxString_in_helper(obj2);
11519 if (arg3 == NULL) SWIG_fail;
11520 temp3 = True;
11521 }
11522 if (obj3) {
11523 arg4 = PyInt_AsLong(obj3) ? true : false;
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 {
11527 PyThreadState* __tstate = wxPyBeginAllowThreads();
11528 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11529
11530 wxPyEndAllowThreads(__tstate);
11531 if (PyErr_Occurred()) SWIG_fail;
11532 }
11533 resultobj = PyInt_FromLong((long)result);
11534 {
11535 if (temp3)
11536 delete arg3;
11537 }
11538 return resultobj;
11539 fail:
11540 {
11541 if (temp3)
11542 delete arg3;
11543 }
11544 return NULL;
11545 }
11546
11547
11548 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11549 PyObject *resultobj;
11550 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11551 size_t arg2 ;
11552 wxWindow *arg3 = (wxWindow *) 0 ;
11553 wxString *arg4 = 0 ;
11554 bool arg5 = (bool) False ;
11555 int arg6 = (int) -1 ;
11556 bool result;
11557 bool temp4 = False ;
11558 PyObject * obj0 = 0 ;
11559 PyObject * obj1 = 0 ;
11560 PyObject * obj2 = 0 ;
11561 PyObject * obj3 = 0 ;
11562 PyObject * obj4 = 0 ;
11563 char *kwnames[] = {
11564 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11565 };
11566
11567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11569 arg2 = (size_t) PyInt_AsLong(obj1);
11570 if (PyErr_Occurred()) SWIG_fail;
11571 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11572 {
11573 arg4 = wxString_in_helper(obj3);
11574 if (arg4 == NULL) SWIG_fail;
11575 temp4 = True;
11576 }
11577 if (obj4) {
11578 arg5 = PyInt_AsLong(obj4) ? true : false;
11579 if (PyErr_Occurred()) SWIG_fail;
11580 }
11581 {
11582 PyThreadState* __tstate = wxPyBeginAllowThreads();
11583 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11584
11585 wxPyEndAllowThreads(__tstate);
11586 if (PyErr_Occurred()) SWIG_fail;
11587 }
11588 resultobj = PyInt_FromLong((long)result);
11589 {
11590 if (temp4)
11591 delete arg4;
11592 }
11593 return resultobj;
11594 fail:
11595 {
11596 if (temp4)
11597 delete arg4;
11598 }
11599 return NULL;
11600 }
11601
11602
11603 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11604 PyObject *resultobj;
11605 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11606 size_t arg2 ;
11607 int result;
11608 PyObject * obj0 = 0 ;
11609 PyObject * obj1 = 0 ;
11610 char *kwnames[] = {
11611 (char *) "self",(char *) "n", NULL
11612 };
11613
11614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11616 arg2 = (size_t) PyInt_AsLong(obj1);
11617 if (PyErr_Occurred()) SWIG_fail;
11618 {
11619 PyThreadState* __tstate = wxPyBeginAllowThreads();
11620 result = (int)(arg1)->SetSelection(arg2);
11621
11622 wxPyEndAllowThreads(__tstate);
11623 if (PyErr_Occurred()) SWIG_fail;
11624 }
11625 resultobj = PyInt_FromLong((long)result);
11626 return resultobj;
11627 fail:
11628 return NULL;
11629 }
11630
11631
11632 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11633 PyObject *resultobj;
11634 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11635 bool arg2 = (bool) True ;
11636 PyObject * obj0 = 0 ;
11637 PyObject * obj1 = 0 ;
11638 char *kwnames[] = {
11639 (char *) "self",(char *) "forward", NULL
11640 };
11641
11642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11644 if (obj1) {
11645 arg2 = PyInt_AsLong(obj1) ? true : false;
11646 if (PyErr_Occurred()) SWIG_fail;
11647 }
11648 {
11649 PyThreadState* __tstate = wxPyBeginAllowThreads();
11650 (arg1)->AdvanceSelection(arg2);
11651
11652 wxPyEndAllowThreads(__tstate);
11653 if (PyErr_Occurred()) SWIG_fail;
11654 }
11655 Py_INCREF(Py_None); resultobj = Py_None;
11656 return resultobj;
11657 fail:
11658 return NULL;
11659 }
11660
11661
11662 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11663 PyObject *obj;
11664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11665 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11666 Py_INCREF(obj);
11667 return Py_BuildValue((char *)"");
11668 }
11669 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11670 PyObject *resultobj;
11671 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11672 int arg2 = (int) 0 ;
11673 int arg3 = (int) -1 ;
11674 int arg4 = (int) -1 ;
11675 wxBookCtrlEvent *result;
11676 char *kwnames[] = {
11677 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11678 };
11679
11680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11681 {
11682 PyThreadState* __tstate = wxPyBeginAllowThreads();
11683 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11684
11685 wxPyEndAllowThreads(__tstate);
11686 if (PyErr_Occurred()) SWIG_fail;
11687 }
11688 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11689 return resultobj;
11690 fail:
11691 return NULL;
11692 }
11693
11694
11695 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11696 PyObject *resultobj;
11697 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11698 int result;
11699 PyObject * obj0 = 0 ;
11700 char *kwnames[] = {
11701 (char *) "self", NULL
11702 };
11703
11704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11706 {
11707 PyThreadState* __tstate = wxPyBeginAllowThreads();
11708 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11709
11710 wxPyEndAllowThreads(__tstate);
11711 if (PyErr_Occurred()) SWIG_fail;
11712 }
11713 resultobj = PyInt_FromLong((long)result);
11714 return resultobj;
11715 fail:
11716 return NULL;
11717 }
11718
11719
11720 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11721 PyObject *resultobj;
11722 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11723 int arg2 ;
11724 PyObject * obj0 = 0 ;
11725 char *kwnames[] = {
11726 (char *) "self",(char *) "nSel", NULL
11727 };
11728
11729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11731 {
11732 PyThreadState* __tstate = wxPyBeginAllowThreads();
11733 (arg1)->SetSelection(arg2);
11734
11735 wxPyEndAllowThreads(__tstate);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 }
11738 Py_INCREF(Py_None); resultobj = Py_None;
11739 return resultobj;
11740 fail:
11741 return NULL;
11742 }
11743
11744
11745 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11746 PyObject *resultobj;
11747 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11748 int result;
11749 PyObject * obj0 = 0 ;
11750 char *kwnames[] = {
11751 (char *) "self", NULL
11752 };
11753
11754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11756 {
11757 PyThreadState* __tstate = wxPyBeginAllowThreads();
11758 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11759
11760 wxPyEndAllowThreads(__tstate);
11761 if (PyErr_Occurred()) SWIG_fail;
11762 }
11763 resultobj = PyInt_FromLong((long)result);
11764 return resultobj;
11765 fail:
11766 return NULL;
11767 }
11768
11769
11770 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11771 PyObject *resultobj;
11772 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11773 int arg2 ;
11774 PyObject * obj0 = 0 ;
11775 char *kwnames[] = {
11776 (char *) "self",(char *) "nOldSel", NULL
11777 };
11778
11779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11781 {
11782 PyThreadState* __tstate = wxPyBeginAllowThreads();
11783 (arg1)->SetOldSelection(arg2);
11784
11785 wxPyEndAllowThreads(__tstate);
11786 if (PyErr_Occurred()) SWIG_fail;
11787 }
11788 Py_INCREF(Py_None); resultobj = Py_None;
11789 return resultobj;
11790 fail:
11791 return NULL;
11792 }
11793
11794
11795 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11796 PyObject *obj;
11797 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11798 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11799 Py_INCREF(obj);
11800 return Py_BuildValue((char *)"");
11801 }
11802 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11803 PyObject *resultobj;
11804 wxWindow *arg1 = (wxWindow *) 0 ;
11805 int arg2 ;
11806 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11807 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11808 wxSize const &arg4_defvalue = wxDefaultSize ;
11809 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11810 long arg5 = (long) 0 ;
11811 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11812 wxString *arg6 = (wxString *) &arg6_defvalue ;
11813 wxNotebook *result;
11814 wxPoint temp3 ;
11815 wxSize temp4 ;
11816 bool temp6 = False ;
11817 PyObject * obj0 = 0 ;
11818 PyObject * obj2 = 0 ;
11819 PyObject * obj3 = 0 ;
11820 PyObject * obj5 = 0 ;
11821 char *kwnames[] = {
11822 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11823 };
11824
11825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11827 if (obj2) {
11828 {
11829 arg3 = &temp3;
11830 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11831 }
11832 }
11833 if (obj3) {
11834 {
11835 arg4 = &temp4;
11836 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11837 }
11838 }
11839 if (obj5) {
11840 {
11841 arg6 = wxString_in_helper(obj5);
11842 if (arg6 == NULL) SWIG_fail;
11843 temp6 = True;
11844 }
11845 }
11846 {
11847 PyThreadState* __tstate = wxPyBeginAllowThreads();
11848 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11849
11850 wxPyEndAllowThreads(__tstate);
11851 if (PyErr_Occurred()) SWIG_fail;
11852 }
11853 {
11854 resultobj = wxPyMake_wxObject(result);
11855 }
11856 {
11857 if (temp6)
11858 delete arg6;
11859 }
11860 return resultobj;
11861 fail:
11862 {
11863 if (temp6)
11864 delete arg6;
11865 }
11866 return NULL;
11867 }
11868
11869
11870 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11871 PyObject *resultobj;
11872 wxNotebook *result;
11873 char *kwnames[] = {
11874 NULL
11875 };
11876
11877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11878 {
11879 PyThreadState* __tstate = wxPyBeginAllowThreads();
11880 result = (wxNotebook *)new wxNotebook();
11881
11882 wxPyEndAllowThreads(__tstate);
11883 if (PyErr_Occurred()) SWIG_fail;
11884 }
11885 {
11886 resultobj = wxPyMake_wxObject(result);
11887 }
11888 return resultobj;
11889 fail:
11890 return NULL;
11891 }
11892
11893
11894 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11895 PyObject *resultobj;
11896 wxNotebook *arg1 = (wxNotebook *) 0 ;
11897 wxWindow *arg2 = (wxWindow *) 0 ;
11898 int arg3 ;
11899 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11900 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11901 wxSize const &arg5_defvalue = wxDefaultSize ;
11902 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11903 long arg6 = (long) 0 ;
11904 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
11905 wxString *arg7 = (wxString *) &arg7_defvalue ;
11906 bool result;
11907 wxPoint temp4 ;
11908 wxSize temp5 ;
11909 bool temp7 = False ;
11910 PyObject * obj0 = 0 ;
11911 PyObject * obj1 = 0 ;
11912 PyObject * obj3 = 0 ;
11913 PyObject * obj4 = 0 ;
11914 PyObject * obj6 = 0 ;
11915 char *kwnames[] = {
11916 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11917 };
11918
11919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
11920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11921 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11922 if (obj3) {
11923 {
11924 arg4 = &temp4;
11925 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11926 }
11927 }
11928 if (obj4) {
11929 {
11930 arg5 = &temp5;
11931 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11932 }
11933 }
11934 if (obj6) {
11935 {
11936 arg7 = wxString_in_helper(obj6);
11937 if (arg7 == NULL) SWIG_fail;
11938 temp7 = True;
11939 }
11940 }
11941 {
11942 PyThreadState* __tstate = wxPyBeginAllowThreads();
11943 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11944
11945 wxPyEndAllowThreads(__tstate);
11946 if (PyErr_Occurred()) SWIG_fail;
11947 }
11948 resultobj = PyInt_FromLong((long)result);
11949 {
11950 if (temp7)
11951 delete arg7;
11952 }
11953 return resultobj;
11954 fail:
11955 {
11956 if (temp7)
11957 delete arg7;
11958 }
11959 return NULL;
11960 }
11961
11962
11963 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11964 PyObject *resultobj;
11965 wxNotebook *arg1 = (wxNotebook *) 0 ;
11966 int result;
11967 PyObject * obj0 = 0 ;
11968 char *kwnames[] = {
11969 (char *) "self", NULL
11970 };
11971
11972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
11973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11974 {
11975 PyThreadState* __tstate = wxPyBeginAllowThreads();
11976 result = (int)((wxNotebook const *)arg1)->GetRowCount();
11977
11978 wxPyEndAllowThreads(__tstate);
11979 if (PyErr_Occurred()) SWIG_fail;
11980 }
11981 resultobj = PyInt_FromLong((long)result);
11982 return resultobj;
11983 fail:
11984 return NULL;
11985 }
11986
11987
11988 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
11989 PyObject *resultobj;
11990 wxNotebook *arg1 = (wxNotebook *) 0 ;
11991 wxSize *arg2 = 0 ;
11992 wxSize temp2 ;
11993 PyObject * obj0 = 0 ;
11994 PyObject * obj1 = 0 ;
11995 char *kwnames[] = {
11996 (char *) "self",(char *) "padding", NULL
11997 };
11998
11999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12001 {
12002 arg2 = &temp2;
12003 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12004 }
12005 {
12006 PyThreadState* __tstate = wxPyBeginAllowThreads();
12007 (arg1)->SetPadding((wxSize const &)*arg2);
12008
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 Py_INCREF(Py_None); resultobj = Py_None;
12013 return resultobj;
12014 fail:
12015 return NULL;
12016 }
12017
12018
12019 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12020 PyObject *resultobj;
12021 wxNotebook *arg1 = (wxNotebook *) 0 ;
12022 wxSize *arg2 = 0 ;
12023 wxSize temp2 ;
12024 PyObject * obj0 = 0 ;
12025 PyObject * obj1 = 0 ;
12026 char *kwnames[] = {
12027 (char *) "self",(char *) "sz", NULL
12028 };
12029
12030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12032 {
12033 arg2 = &temp2;
12034 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12035 }
12036 {
12037 PyThreadState* __tstate = wxPyBeginAllowThreads();
12038 (arg1)->SetTabSize((wxSize const &)*arg2);
12039
12040 wxPyEndAllowThreads(__tstate);
12041 if (PyErr_Occurred()) SWIG_fail;
12042 }
12043 Py_INCREF(Py_None); resultobj = Py_None;
12044 return resultobj;
12045 fail:
12046 return NULL;
12047 }
12048
12049
12050 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12051 PyObject *resultobj;
12052 wxNotebook *arg1 = (wxNotebook *) 0 ;
12053 wxPoint *arg2 = 0 ;
12054 long *arg3 = (long *) 0 ;
12055 int result;
12056 wxPoint temp2 ;
12057 long temp3 ;
12058 PyObject * obj0 = 0 ;
12059 PyObject * obj1 = 0 ;
12060 char *kwnames[] = {
12061 (char *) "self",(char *) "pt", NULL
12062 };
12063
12064 arg3 = &temp3;
12065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12067 {
12068 arg2 = &temp2;
12069 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12070 }
12071 {
12072 PyThreadState* __tstate = wxPyBeginAllowThreads();
12073 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12074
12075 wxPyEndAllowThreads(__tstate);
12076 if (PyErr_Occurred()) SWIG_fail;
12077 }
12078 resultobj = PyInt_FromLong((long)result);
12079 {
12080 PyObject *o = PyInt_FromLong((long) (*arg3));
12081 resultobj = t_output_helper(resultobj,o);
12082 }
12083 return resultobj;
12084 fail:
12085 return NULL;
12086 }
12087
12088
12089 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12090 PyObject *resultobj;
12091 wxNotebook *arg1 = (wxNotebook *) 0 ;
12092 wxSize *arg2 = 0 ;
12093 wxSize result;
12094 wxSize temp2 ;
12095 PyObject * obj0 = 0 ;
12096 PyObject * obj1 = 0 ;
12097 char *kwnames[] = {
12098 (char *) "self",(char *) "sizePage", NULL
12099 };
12100
12101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12103 {
12104 arg2 = &temp2;
12105 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12106 }
12107 {
12108 PyThreadState* __tstate = wxPyBeginAllowThreads();
12109 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12110
12111 wxPyEndAllowThreads(__tstate);
12112 if (PyErr_Occurred()) SWIG_fail;
12113 }
12114 {
12115 wxSize * resultptr;
12116 resultptr = new wxSize((wxSize &) result);
12117 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12118 }
12119 return resultobj;
12120 fail:
12121 return NULL;
12122 }
12123
12124
12125 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12126 PyObject *obj;
12127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12128 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12129 Py_INCREF(obj);
12130 return Py_BuildValue((char *)"");
12131 }
12132 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12133 PyObject *resultobj;
12134 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12135 int arg2 = (int) 0 ;
12136 int arg3 = (int) -1 ;
12137 int arg4 = (int) -1 ;
12138 wxNotebookEvent *result;
12139 char *kwnames[] = {
12140 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12141 };
12142
12143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12144 {
12145 PyThreadState* __tstate = wxPyBeginAllowThreads();
12146 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12147
12148 wxPyEndAllowThreads(__tstate);
12149 if (PyErr_Occurred()) SWIG_fail;
12150 }
12151 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12152 return resultobj;
12153 fail:
12154 return NULL;
12155 }
12156
12157
12158 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12159 PyObject *obj;
12160 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12161 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12162 Py_INCREF(obj);
12163 return Py_BuildValue((char *)"");
12164 }
12165 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12166 PyObject *resultobj;
12167 wxWindow *arg1 = (wxWindow *) 0 ;
12168 int arg2 ;
12169 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12170 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12171 wxSize const &arg4_defvalue = wxDefaultSize ;
12172 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12173 long arg5 = (long) 0 ;
12174 wxString const &arg6_defvalue = wxPyEmptyString ;
12175 wxString *arg6 = (wxString *) &arg6_defvalue ;
12176 wxListbook *result;
12177 wxPoint temp3 ;
12178 wxSize temp4 ;
12179 bool temp6 = False ;
12180 PyObject * obj0 = 0 ;
12181 PyObject * obj2 = 0 ;
12182 PyObject * obj3 = 0 ;
12183 PyObject * obj5 = 0 ;
12184 char *kwnames[] = {
12185 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12186 };
12187
12188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12190 if (obj2) {
12191 {
12192 arg3 = &temp3;
12193 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12194 }
12195 }
12196 if (obj3) {
12197 {
12198 arg4 = &temp4;
12199 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12200 }
12201 }
12202 if (obj5) {
12203 {
12204 arg6 = wxString_in_helper(obj5);
12205 if (arg6 == NULL) SWIG_fail;
12206 temp6 = True;
12207 }
12208 }
12209 {
12210 PyThreadState* __tstate = wxPyBeginAllowThreads();
12211 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12212
12213 wxPyEndAllowThreads(__tstate);
12214 if (PyErr_Occurred()) SWIG_fail;
12215 }
12216 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12217 {
12218 if (temp6)
12219 delete arg6;
12220 }
12221 return resultobj;
12222 fail:
12223 {
12224 if (temp6)
12225 delete arg6;
12226 }
12227 return NULL;
12228 }
12229
12230
12231 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12232 PyObject *resultobj;
12233 wxListbook *result;
12234 char *kwnames[] = {
12235 NULL
12236 };
12237
12238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12239 {
12240 PyThreadState* __tstate = wxPyBeginAllowThreads();
12241 result = (wxListbook *)new wxListbook();
12242
12243 wxPyEndAllowThreads(__tstate);
12244 if (PyErr_Occurred()) SWIG_fail;
12245 }
12246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12247 return resultobj;
12248 fail:
12249 return NULL;
12250 }
12251
12252
12253 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12254 PyObject *resultobj;
12255 wxListbook *arg1 = (wxListbook *) 0 ;
12256 wxWindow *arg2 = (wxWindow *) 0 ;
12257 int arg3 ;
12258 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12259 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12260 wxSize const &arg5_defvalue = wxDefaultSize ;
12261 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12262 long arg6 = (long) 0 ;
12263 wxString const &arg7_defvalue = wxPyEmptyString ;
12264 wxString *arg7 = (wxString *) &arg7_defvalue ;
12265 bool result;
12266 wxPoint temp4 ;
12267 wxSize temp5 ;
12268 bool temp7 = False ;
12269 PyObject * obj0 = 0 ;
12270 PyObject * obj1 = 0 ;
12271 PyObject * obj3 = 0 ;
12272 PyObject * obj4 = 0 ;
12273 PyObject * obj6 = 0 ;
12274 char *kwnames[] = {
12275 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12276 };
12277
12278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12281 if (obj3) {
12282 {
12283 arg4 = &temp4;
12284 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12285 }
12286 }
12287 if (obj4) {
12288 {
12289 arg5 = &temp5;
12290 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12291 }
12292 }
12293 if (obj6) {
12294 {
12295 arg7 = wxString_in_helper(obj6);
12296 if (arg7 == NULL) SWIG_fail;
12297 temp7 = True;
12298 }
12299 }
12300 {
12301 PyThreadState* __tstate = wxPyBeginAllowThreads();
12302 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12303
12304 wxPyEndAllowThreads(__tstate);
12305 if (PyErr_Occurred()) SWIG_fail;
12306 }
12307 resultobj = PyInt_FromLong((long)result);
12308 {
12309 if (temp7)
12310 delete arg7;
12311 }
12312 return resultobj;
12313 fail:
12314 {
12315 if (temp7)
12316 delete arg7;
12317 }
12318 return NULL;
12319 }
12320
12321
12322 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12323 PyObject *resultobj;
12324 wxListbook *arg1 = (wxListbook *) 0 ;
12325 bool result;
12326 PyObject * obj0 = 0 ;
12327 char *kwnames[] = {
12328 (char *) "self", NULL
12329 };
12330
12331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12333 {
12334 PyThreadState* __tstate = wxPyBeginAllowThreads();
12335 result = (bool)((wxListbook const *)arg1)->IsVertical();
12336
12337 wxPyEndAllowThreads(__tstate);
12338 if (PyErr_Occurred()) SWIG_fail;
12339 }
12340 resultobj = PyInt_FromLong((long)result);
12341 return resultobj;
12342 fail:
12343 return NULL;
12344 }
12345
12346
12347 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12348 PyObject *obj;
12349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12350 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12351 Py_INCREF(obj);
12352 return Py_BuildValue((char *)"");
12353 }
12354 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12355 PyObject *resultobj;
12356 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12357 int arg2 = (int) 0 ;
12358 int arg3 = (int) -1 ;
12359 int arg4 = (int) -1 ;
12360 wxListbookEvent *result;
12361 char *kwnames[] = {
12362 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12363 };
12364
12365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12366 {
12367 PyThreadState* __tstate = wxPyBeginAllowThreads();
12368 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12369
12370 wxPyEndAllowThreads(__tstate);
12371 if (PyErr_Occurred()) SWIG_fail;
12372 }
12373 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12374 return resultobj;
12375 fail:
12376 return NULL;
12377 }
12378
12379
12380 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12381 PyObject *obj;
12382 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12383 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12384 Py_INCREF(obj);
12385 return Py_BuildValue((char *)"");
12386 }
12387 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12388 PyObject *resultobj;
12389 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12390 wxBookCtrlSizer *result;
12391 PyObject * obj0 = 0 ;
12392 char *kwnames[] = {
12393 (char *) "nb", NULL
12394 };
12395
12396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12398 {
12399 PyThreadState* __tstate = wxPyBeginAllowThreads();
12400 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12401
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12406 return resultobj;
12407 fail:
12408 return NULL;
12409 }
12410
12411
12412 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj;
12414 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12415 PyObject * obj0 = 0 ;
12416 char *kwnames[] = {
12417 (char *) "self", NULL
12418 };
12419
12420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12422 {
12423 PyThreadState* __tstate = wxPyBeginAllowThreads();
12424 (arg1)->RecalcSizes();
12425
12426 wxPyEndAllowThreads(__tstate);
12427 if (PyErr_Occurred()) SWIG_fail;
12428 }
12429 Py_INCREF(Py_None); resultobj = Py_None;
12430 return resultobj;
12431 fail:
12432 return NULL;
12433 }
12434
12435
12436 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12437 PyObject *resultobj;
12438 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12439 wxSize result;
12440 PyObject * obj0 = 0 ;
12441 char *kwnames[] = {
12442 (char *) "self", NULL
12443 };
12444
12445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12447 {
12448 PyThreadState* __tstate = wxPyBeginAllowThreads();
12449 result = (arg1)->CalcMin();
12450
12451 wxPyEndAllowThreads(__tstate);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 {
12455 wxSize * resultptr;
12456 resultptr = new wxSize((wxSize &) result);
12457 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12458 }
12459 return resultobj;
12460 fail:
12461 return NULL;
12462 }
12463
12464
12465 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12466 PyObject *resultobj;
12467 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12468 wxBookCtrl *result;
12469 PyObject * obj0 = 0 ;
12470 char *kwnames[] = {
12471 (char *) "self", NULL
12472 };
12473
12474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12476 {
12477 PyThreadState* __tstate = wxPyBeginAllowThreads();
12478 result = (wxBookCtrl *)(arg1)->GetControl();
12479
12480 wxPyEndAllowThreads(__tstate);
12481 if (PyErr_Occurred()) SWIG_fail;
12482 }
12483 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12484 return resultobj;
12485 fail:
12486 return NULL;
12487 }
12488
12489
12490 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12491 PyObject *obj;
12492 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12493 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12494 Py_INCREF(obj);
12495 return Py_BuildValue((char *)"");
12496 }
12497 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12498 PyObject *resultobj;
12499 wxNotebook *arg1 = (wxNotebook *) 0 ;
12500 wxNotebookSizer *result;
12501 PyObject * obj0 = 0 ;
12502 char *kwnames[] = {
12503 (char *) "nb", NULL
12504 };
12505
12506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12516 return resultobj;
12517 fail:
12518 return NULL;
12519 }
12520
12521
12522 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12523 PyObject *resultobj;
12524 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12525 PyObject * obj0 = 0 ;
12526 char *kwnames[] = {
12527 (char *) "self", NULL
12528 };
12529
12530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 (arg1)->RecalcSizes();
12535
12536 wxPyEndAllowThreads(__tstate);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
12539 Py_INCREF(Py_None); resultobj = Py_None;
12540 return resultobj;
12541 fail:
12542 return NULL;
12543 }
12544
12545
12546 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12547 PyObject *resultobj;
12548 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12549 wxSize result;
12550 PyObject * obj0 = 0 ;
12551 char *kwnames[] = {
12552 (char *) "self", NULL
12553 };
12554
12555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12557 {
12558 PyThreadState* __tstate = wxPyBeginAllowThreads();
12559 result = (arg1)->CalcMin();
12560
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 {
12565 wxSize * resultptr;
12566 resultptr = new wxSize((wxSize &) result);
12567 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12568 }
12569 return resultobj;
12570 fail:
12571 return NULL;
12572 }
12573
12574
12575 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12576 PyObject *resultobj;
12577 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12578 wxNotebook *result;
12579 PyObject * obj0 = 0 ;
12580 char *kwnames[] = {
12581 (char *) "self", NULL
12582 };
12583
12584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12586 {
12587 PyThreadState* __tstate = wxPyBeginAllowThreads();
12588 result = (wxNotebook *)(arg1)->GetNotebook();
12589
12590 wxPyEndAllowThreads(__tstate);
12591 if (PyErr_Occurred()) SWIG_fail;
12592 }
12593 {
12594 resultobj = wxPyMake_wxObject(result);
12595 }
12596 return resultobj;
12597 fail:
12598 return NULL;
12599 }
12600
12601
12602 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12603 PyObject *obj;
12604 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12605 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12606 Py_INCREF(obj);
12607 return Py_BuildValue((char *)"");
12608 }
12609 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12610 PyObject *resultobj;
12611 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12612 int result;
12613 PyObject * obj0 = 0 ;
12614 char *kwnames[] = {
12615 (char *) "self", NULL
12616 };
12617
12618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12620 {
12621 PyThreadState* __tstate = wxPyBeginAllowThreads();
12622 result = (int)(arg1)->GetId();
12623
12624 wxPyEndAllowThreads(__tstate);
12625 if (PyErr_Occurred()) SWIG_fail;
12626 }
12627 resultobj = PyInt_FromLong((long)result);
12628 return resultobj;
12629 fail:
12630 return NULL;
12631 }
12632
12633
12634 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12635 PyObject *resultobj;
12636 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12637 wxControl *result;
12638 PyObject * obj0 = 0 ;
12639 char *kwnames[] = {
12640 (char *) "self", NULL
12641 };
12642
12643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12645 {
12646 PyThreadState* __tstate = wxPyBeginAllowThreads();
12647 result = (wxControl *)(arg1)->GetControl();
12648
12649 wxPyEndAllowThreads(__tstate);
12650 if (PyErr_Occurred()) SWIG_fail;
12651 }
12652 {
12653 resultobj = wxPyMake_wxObject(result);
12654 }
12655 return resultobj;
12656 fail:
12657 return NULL;
12658 }
12659
12660
12661 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12662 PyObject *resultobj;
12663 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12664 wxToolBarBase *result;
12665 PyObject * obj0 = 0 ;
12666 char *kwnames[] = {
12667 (char *) "self", NULL
12668 };
12669
12670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12672 {
12673 PyThreadState* __tstate = wxPyBeginAllowThreads();
12674 result = (wxToolBarBase *)(arg1)->GetToolBar();
12675
12676 wxPyEndAllowThreads(__tstate);
12677 if (PyErr_Occurred()) SWIG_fail;
12678 }
12679 {
12680 resultobj = wxPyMake_wxObject(result);
12681 }
12682 return resultobj;
12683 fail:
12684 return NULL;
12685 }
12686
12687
12688 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12689 PyObject *resultobj;
12690 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12691 int result;
12692 PyObject * obj0 = 0 ;
12693 char *kwnames[] = {
12694 (char *) "self", NULL
12695 };
12696
12697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12699 {
12700 PyThreadState* __tstate = wxPyBeginAllowThreads();
12701 result = (int)(arg1)->IsButton();
12702
12703 wxPyEndAllowThreads(__tstate);
12704 if (PyErr_Occurred()) SWIG_fail;
12705 }
12706 resultobj = PyInt_FromLong((long)result);
12707 return resultobj;
12708 fail:
12709 return NULL;
12710 }
12711
12712
12713 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12714 PyObject *resultobj;
12715 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12716 int result;
12717 PyObject * obj0 = 0 ;
12718 char *kwnames[] = {
12719 (char *) "self", NULL
12720 };
12721
12722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12724 {
12725 PyThreadState* __tstate = wxPyBeginAllowThreads();
12726 result = (int)(arg1)->IsControl();
12727
12728 wxPyEndAllowThreads(__tstate);
12729 if (PyErr_Occurred()) SWIG_fail;
12730 }
12731 resultobj = PyInt_FromLong((long)result);
12732 return resultobj;
12733 fail:
12734 return NULL;
12735 }
12736
12737
12738 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12739 PyObject *resultobj;
12740 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12741 int result;
12742 PyObject * obj0 = 0 ;
12743 char *kwnames[] = {
12744 (char *) "self", NULL
12745 };
12746
12747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12749 {
12750 PyThreadState* __tstate = wxPyBeginAllowThreads();
12751 result = (int)(arg1)->IsSeparator();
12752
12753 wxPyEndAllowThreads(__tstate);
12754 if (PyErr_Occurred()) SWIG_fail;
12755 }
12756 resultobj = PyInt_FromLong((long)result);
12757 return resultobj;
12758 fail:
12759 return NULL;
12760 }
12761
12762
12763 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12764 PyObject *resultobj;
12765 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12766 int result;
12767 PyObject * obj0 = 0 ;
12768 char *kwnames[] = {
12769 (char *) "self", NULL
12770 };
12771
12772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12774 {
12775 PyThreadState* __tstate = wxPyBeginAllowThreads();
12776 result = (int)(arg1)->GetStyle();
12777
12778 wxPyEndAllowThreads(__tstate);
12779 if (PyErr_Occurred()) SWIG_fail;
12780 }
12781 resultobj = PyInt_FromLong((long)result);
12782 return resultobj;
12783 fail:
12784 return NULL;
12785 }
12786
12787
12788 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12789 PyObject *resultobj;
12790 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12791 int result;
12792 PyObject * obj0 = 0 ;
12793 char *kwnames[] = {
12794 (char *) "self", NULL
12795 };
12796
12797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12799 {
12800 PyThreadState* __tstate = wxPyBeginAllowThreads();
12801 result = (int)(arg1)->GetKind();
12802
12803 wxPyEndAllowThreads(__tstate);
12804 if (PyErr_Occurred()) SWIG_fail;
12805 }
12806 resultobj = PyInt_FromLong((long)result);
12807 return resultobj;
12808 fail:
12809 return NULL;
12810 }
12811
12812
12813 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12814 PyObject *resultobj;
12815 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12816 bool result;
12817 PyObject * obj0 = 0 ;
12818 char *kwnames[] = {
12819 (char *) "self", NULL
12820 };
12821
12822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
12823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12824 {
12825 PyThreadState* __tstate = wxPyBeginAllowThreads();
12826 result = (bool)(arg1)->IsEnabled();
12827
12828 wxPyEndAllowThreads(__tstate);
12829 if (PyErr_Occurred()) SWIG_fail;
12830 }
12831 resultobj = PyInt_FromLong((long)result);
12832 return resultobj;
12833 fail:
12834 return NULL;
12835 }
12836
12837
12838 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12839 PyObject *resultobj;
12840 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12841 bool result;
12842 PyObject * obj0 = 0 ;
12843 char *kwnames[] = {
12844 (char *) "self", NULL
12845 };
12846
12847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
12848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12849 {
12850 PyThreadState* __tstate = wxPyBeginAllowThreads();
12851 result = (bool)(arg1)->IsToggled();
12852
12853 wxPyEndAllowThreads(__tstate);
12854 if (PyErr_Occurred()) SWIG_fail;
12855 }
12856 resultobj = PyInt_FromLong((long)result);
12857 return resultobj;
12858 fail:
12859 return NULL;
12860 }
12861
12862
12863 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12864 PyObject *resultobj;
12865 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12866 bool result;
12867 PyObject * obj0 = 0 ;
12868 char *kwnames[] = {
12869 (char *) "self", NULL
12870 };
12871
12872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
12873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12874 {
12875 PyThreadState* __tstate = wxPyBeginAllowThreads();
12876 result = (bool)(arg1)->CanBeToggled();
12877
12878 wxPyEndAllowThreads(__tstate);
12879 if (PyErr_Occurred()) SWIG_fail;
12880 }
12881 resultobj = PyInt_FromLong((long)result);
12882 return resultobj;
12883 fail:
12884 return NULL;
12885 }
12886
12887
12888 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12889 PyObject *resultobj;
12890 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12891 wxBitmap *result;
12892 PyObject * obj0 = 0 ;
12893 char *kwnames[] = {
12894 (char *) "self", NULL
12895 };
12896
12897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
12898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12899 {
12900 PyThreadState* __tstate = wxPyBeginAllowThreads();
12901 {
12902 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
12903 result = (wxBitmap *) &_result_ref;
12904 }
12905
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12910 return resultobj;
12911 fail:
12912 return NULL;
12913 }
12914
12915
12916 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12917 PyObject *resultobj;
12918 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12919 wxBitmap *result;
12920 PyObject * obj0 = 0 ;
12921 char *kwnames[] = {
12922 (char *) "self", NULL
12923 };
12924
12925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
12926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12927 {
12928 PyThreadState* __tstate = wxPyBeginAllowThreads();
12929 {
12930 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
12931 result = (wxBitmap *) &_result_ref;
12932 }
12933
12934 wxPyEndAllowThreads(__tstate);
12935 if (PyErr_Occurred()) SWIG_fail;
12936 }
12937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12938 return resultobj;
12939 fail:
12940 return NULL;
12941 }
12942
12943
12944 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12945 PyObject *resultobj;
12946 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12947 wxBitmap result;
12948 PyObject * obj0 = 0 ;
12949 char *kwnames[] = {
12950 (char *) "self", NULL
12951 };
12952
12953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
12954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12955 {
12956 PyThreadState* __tstate = wxPyBeginAllowThreads();
12957 result = (arg1)->GetBitmap();
12958
12959 wxPyEndAllowThreads(__tstate);
12960 if (PyErr_Occurred()) SWIG_fail;
12961 }
12962 {
12963 wxBitmap * resultptr;
12964 resultptr = new wxBitmap((wxBitmap &) result);
12965 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
12966 }
12967 return resultobj;
12968 fail:
12969 return NULL;
12970 }
12971
12972
12973 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12974 PyObject *resultobj;
12975 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12976 wxString result;
12977 PyObject * obj0 = 0 ;
12978 char *kwnames[] = {
12979 (char *) "self", NULL
12980 };
12981
12982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
12983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 result = (arg1)->GetLabel();
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 {
12992 #if wxUSE_UNICODE
12993 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12994 #else
12995 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12996 #endif
12997 }
12998 return resultobj;
12999 fail:
13000 return NULL;
13001 }
13002
13003
13004 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13005 PyObject *resultobj;
13006 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13007 wxString result;
13008 PyObject * obj0 = 0 ;
13009 char *kwnames[] = {
13010 (char *) "self", NULL
13011 };
13012
13013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13015 {
13016 PyThreadState* __tstate = wxPyBeginAllowThreads();
13017 result = (arg1)->GetShortHelp();
13018
13019 wxPyEndAllowThreads(__tstate);
13020 if (PyErr_Occurred()) SWIG_fail;
13021 }
13022 {
13023 #if wxUSE_UNICODE
13024 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13025 #else
13026 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13027 #endif
13028 }
13029 return resultobj;
13030 fail:
13031 return NULL;
13032 }
13033
13034
13035 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13036 PyObject *resultobj;
13037 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13038 wxString result;
13039 PyObject * obj0 = 0 ;
13040 char *kwnames[] = {
13041 (char *) "self", NULL
13042 };
13043
13044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13046 {
13047 PyThreadState* __tstate = wxPyBeginAllowThreads();
13048 result = (arg1)->GetLongHelp();
13049
13050 wxPyEndAllowThreads(__tstate);
13051 if (PyErr_Occurred()) SWIG_fail;
13052 }
13053 {
13054 #if wxUSE_UNICODE
13055 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13056 #else
13057 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13058 #endif
13059 }
13060 return resultobj;
13061 fail:
13062 return NULL;
13063 }
13064
13065
13066 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13067 PyObject *resultobj;
13068 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13069 bool arg2 ;
13070 bool result;
13071 PyObject * obj0 = 0 ;
13072 PyObject * obj1 = 0 ;
13073 char *kwnames[] = {
13074 (char *) "self",(char *) "enable", NULL
13075 };
13076
13077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13079 arg2 = PyInt_AsLong(obj1) ? true : false;
13080 if (PyErr_Occurred()) SWIG_fail;
13081 {
13082 PyThreadState* __tstate = wxPyBeginAllowThreads();
13083 result = (bool)(arg1)->Enable(arg2);
13084
13085 wxPyEndAllowThreads(__tstate);
13086 if (PyErr_Occurred()) SWIG_fail;
13087 }
13088 resultobj = PyInt_FromLong((long)result);
13089 return resultobj;
13090 fail:
13091 return NULL;
13092 }
13093
13094
13095 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13096 PyObject *resultobj;
13097 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13098 PyObject * obj0 = 0 ;
13099 char *kwnames[] = {
13100 (char *) "self", NULL
13101 };
13102
13103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13105 {
13106 PyThreadState* __tstate = wxPyBeginAllowThreads();
13107 (arg1)->Toggle();
13108
13109 wxPyEndAllowThreads(__tstate);
13110 if (PyErr_Occurred()) SWIG_fail;
13111 }
13112 Py_INCREF(Py_None); resultobj = Py_None;
13113 return resultobj;
13114 fail:
13115 return NULL;
13116 }
13117
13118
13119 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13120 PyObject *resultobj;
13121 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13122 bool arg2 ;
13123 bool result;
13124 PyObject * obj0 = 0 ;
13125 PyObject * obj1 = 0 ;
13126 char *kwnames[] = {
13127 (char *) "self",(char *) "toggle", NULL
13128 };
13129
13130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13132 arg2 = PyInt_AsLong(obj1) ? true : false;
13133 if (PyErr_Occurred()) SWIG_fail;
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 result = (bool)(arg1)->SetToggle(arg2);
13137
13138 wxPyEndAllowThreads(__tstate);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 resultobj = PyInt_FromLong((long)result);
13142 return resultobj;
13143 fail:
13144 return NULL;
13145 }
13146
13147
13148 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13149 PyObject *resultobj;
13150 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13151 wxString *arg2 = 0 ;
13152 bool result;
13153 bool temp2 = False ;
13154 PyObject * obj0 = 0 ;
13155 PyObject * obj1 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self",(char *) "help", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13162 {
13163 arg2 = wxString_in_helper(obj1);
13164 if (arg2 == NULL) SWIG_fail;
13165 temp2 = True;
13166 }
13167 {
13168 PyThreadState* __tstate = wxPyBeginAllowThreads();
13169 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13170
13171 wxPyEndAllowThreads(__tstate);
13172 if (PyErr_Occurred()) SWIG_fail;
13173 }
13174 resultobj = PyInt_FromLong((long)result);
13175 {
13176 if (temp2)
13177 delete arg2;
13178 }
13179 return resultobj;
13180 fail:
13181 {
13182 if (temp2)
13183 delete arg2;
13184 }
13185 return NULL;
13186 }
13187
13188
13189 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13190 PyObject *resultobj;
13191 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13192 wxString *arg2 = 0 ;
13193 bool result;
13194 bool temp2 = False ;
13195 PyObject * obj0 = 0 ;
13196 PyObject * obj1 = 0 ;
13197 char *kwnames[] = {
13198 (char *) "self",(char *) "help", NULL
13199 };
13200
13201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13203 {
13204 arg2 = wxString_in_helper(obj1);
13205 if (arg2 == NULL) SWIG_fail;
13206 temp2 = True;
13207 }
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13211
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
13215 resultobj = PyInt_FromLong((long)result);
13216 {
13217 if (temp2)
13218 delete arg2;
13219 }
13220 return resultobj;
13221 fail:
13222 {
13223 if (temp2)
13224 delete arg2;
13225 }
13226 return NULL;
13227 }
13228
13229
13230 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13231 PyObject *resultobj;
13232 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13233 wxBitmap *arg2 = 0 ;
13234 PyObject * obj0 = 0 ;
13235 PyObject * obj1 = 0 ;
13236 char *kwnames[] = {
13237 (char *) "self",(char *) "bmp", NULL
13238 };
13239
13240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13243 if (arg2 == NULL) {
13244 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13245 }
13246 {
13247 PyThreadState* __tstate = wxPyBeginAllowThreads();
13248 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13249
13250 wxPyEndAllowThreads(__tstate);
13251 if (PyErr_Occurred()) SWIG_fail;
13252 }
13253 Py_INCREF(Py_None); resultobj = Py_None;
13254 return resultobj;
13255 fail:
13256 return NULL;
13257 }
13258
13259
13260 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13261 PyObject *resultobj;
13262 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13263 wxBitmap *arg2 = 0 ;
13264 PyObject * obj0 = 0 ;
13265 PyObject * obj1 = 0 ;
13266 char *kwnames[] = {
13267 (char *) "self",(char *) "bmp", NULL
13268 };
13269
13270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13273 if (arg2 == NULL) {
13274 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13275 }
13276 {
13277 PyThreadState* __tstate = wxPyBeginAllowThreads();
13278 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13279
13280 wxPyEndAllowThreads(__tstate);
13281 if (PyErr_Occurred()) SWIG_fail;
13282 }
13283 Py_INCREF(Py_None); resultobj = Py_None;
13284 return resultobj;
13285 fail:
13286 return NULL;
13287 }
13288
13289
13290 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13291 PyObject *resultobj;
13292 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13293 wxString *arg2 = 0 ;
13294 bool temp2 = False ;
13295 PyObject * obj0 = 0 ;
13296 PyObject * obj1 = 0 ;
13297 char *kwnames[] = {
13298 (char *) "self",(char *) "label", NULL
13299 };
13300
13301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13303 {
13304 arg2 = wxString_in_helper(obj1);
13305 if (arg2 == NULL) SWIG_fail;
13306 temp2 = True;
13307 }
13308 {
13309 PyThreadState* __tstate = wxPyBeginAllowThreads();
13310 (arg1)->SetLabel((wxString const &)*arg2);
13311
13312 wxPyEndAllowThreads(__tstate);
13313 if (PyErr_Occurred()) SWIG_fail;
13314 }
13315 Py_INCREF(Py_None); resultobj = Py_None;
13316 {
13317 if (temp2)
13318 delete arg2;
13319 }
13320 return resultobj;
13321 fail:
13322 {
13323 if (temp2)
13324 delete arg2;
13325 }
13326 return NULL;
13327 }
13328
13329
13330 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13331 PyObject *resultobj;
13332 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13333 PyObject * obj0 = 0 ;
13334 char *kwnames[] = {
13335 (char *) "self", NULL
13336 };
13337
13338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13340 {
13341 PyThreadState* __tstate = wxPyBeginAllowThreads();
13342 (arg1)->Detach();
13343
13344 wxPyEndAllowThreads(__tstate);
13345 if (PyErr_Occurred()) SWIG_fail;
13346 }
13347 Py_INCREF(Py_None); resultobj = Py_None;
13348 return resultobj;
13349 fail:
13350 return NULL;
13351 }
13352
13353
13354 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13355 PyObject *resultobj;
13356 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13357 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13358 PyObject * obj0 = 0 ;
13359 PyObject * obj1 = 0 ;
13360 char *kwnames[] = {
13361 (char *) "self",(char *) "tbar", NULL
13362 };
13363
13364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13367 {
13368 PyThreadState* __tstate = wxPyBeginAllowThreads();
13369 (arg1)->Attach(arg2);
13370
13371 wxPyEndAllowThreads(__tstate);
13372 if (PyErr_Occurred()) SWIG_fail;
13373 }
13374 Py_INCREF(Py_None); resultobj = Py_None;
13375 return resultobj;
13376 fail:
13377 return NULL;
13378 }
13379
13380
13381 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13382 PyObject *resultobj;
13383 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13384 PyObject *result;
13385 PyObject * obj0 = 0 ;
13386 char *kwnames[] = {
13387 (char *) "self", NULL
13388 };
13389
13390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13392 {
13393 PyThreadState* __tstate = wxPyBeginAllowThreads();
13394 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13395
13396 wxPyEndAllowThreads(__tstate);
13397 if (PyErr_Occurred()) SWIG_fail;
13398 }
13399 resultobj = result;
13400 return resultobj;
13401 fail:
13402 return NULL;
13403 }
13404
13405
13406 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13407 PyObject *resultobj;
13408 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13409 PyObject *arg2 = (PyObject *) 0 ;
13410 PyObject * obj0 = 0 ;
13411 PyObject * obj1 = 0 ;
13412 char *kwnames[] = {
13413 (char *) "self",(char *) "clientData", NULL
13414 };
13415
13416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13418 arg2 = obj1;
13419 {
13420 PyThreadState* __tstate = wxPyBeginAllowThreads();
13421 wxToolBarToolBase_SetClientData(arg1,arg2);
13422
13423 wxPyEndAllowThreads(__tstate);
13424 if (PyErr_Occurred()) SWIG_fail;
13425 }
13426 Py_INCREF(Py_None); resultobj = Py_None;
13427 return resultobj;
13428 fail:
13429 return NULL;
13430 }
13431
13432
13433 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13434 PyObject *obj;
13435 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13436 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13437 Py_INCREF(obj);
13438 return Py_BuildValue((char *)"");
13439 }
13440 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13441 PyObject *resultobj;
13442 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13443 int arg2 ;
13444 wxString *arg3 = 0 ;
13445 wxBitmap *arg4 = 0 ;
13446 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13447 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13448 int arg6 = (int) wxITEM_NORMAL ;
13449 wxString const &arg7_defvalue = wxPyEmptyString ;
13450 wxString *arg7 = (wxString *) &arg7_defvalue ;
13451 wxString const &arg8_defvalue = wxPyEmptyString ;
13452 wxString *arg8 = (wxString *) &arg8_defvalue ;
13453 PyObject *arg9 = (PyObject *) NULL ;
13454 wxToolBarToolBase *result;
13455 bool temp3 = False ;
13456 bool temp7 = False ;
13457 bool temp8 = False ;
13458 PyObject * obj0 = 0 ;
13459 PyObject * obj2 = 0 ;
13460 PyObject * obj3 = 0 ;
13461 PyObject * obj4 = 0 ;
13462 PyObject * obj6 = 0 ;
13463 PyObject * obj7 = 0 ;
13464 PyObject * obj8 = 0 ;
13465 char *kwnames[] = {
13466 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13467 };
13468
13469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13471 {
13472 arg3 = wxString_in_helper(obj2);
13473 if (arg3 == NULL) SWIG_fail;
13474 temp3 = True;
13475 }
13476 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13477 if (arg4 == NULL) {
13478 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13479 }
13480 if (obj4) {
13481 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13482 if (arg5 == NULL) {
13483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13484 }
13485 }
13486 if (obj6) {
13487 {
13488 arg7 = wxString_in_helper(obj6);
13489 if (arg7 == NULL) SWIG_fail;
13490 temp7 = True;
13491 }
13492 }
13493 if (obj7) {
13494 {
13495 arg8 = wxString_in_helper(obj7);
13496 if (arg8 == NULL) SWIG_fail;
13497 temp8 = True;
13498 }
13499 }
13500 if (obj8) {
13501 arg9 = obj8;
13502 }
13503 {
13504 PyThreadState* __tstate = wxPyBeginAllowThreads();
13505 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13506
13507 wxPyEndAllowThreads(__tstate);
13508 if (PyErr_Occurred()) SWIG_fail;
13509 }
13510 {
13511 resultobj = wxPyMake_wxObject(result);
13512 }
13513 {
13514 if (temp3)
13515 delete arg3;
13516 }
13517 {
13518 if (temp7)
13519 delete arg7;
13520 }
13521 {
13522 if (temp8)
13523 delete arg8;
13524 }
13525 return resultobj;
13526 fail:
13527 {
13528 if (temp3)
13529 delete arg3;
13530 }
13531 {
13532 if (temp7)
13533 delete arg7;
13534 }
13535 {
13536 if (temp8)
13537 delete arg8;
13538 }
13539 return NULL;
13540 }
13541
13542
13543 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13544 PyObject *resultobj;
13545 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13546 size_t arg2 ;
13547 int arg3 ;
13548 wxString *arg4 = 0 ;
13549 wxBitmap *arg5 = 0 ;
13550 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13551 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13552 int arg7 = (int) wxITEM_NORMAL ;
13553 wxString const &arg8_defvalue = wxPyEmptyString ;
13554 wxString *arg8 = (wxString *) &arg8_defvalue ;
13555 wxString const &arg9_defvalue = wxPyEmptyString ;
13556 wxString *arg9 = (wxString *) &arg9_defvalue ;
13557 PyObject *arg10 = (PyObject *) NULL ;
13558 wxToolBarToolBase *result;
13559 bool temp4 = False ;
13560 bool temp8 = False ;
13561 bool temp9 = False ;
13562 PyObject * obj0 = 0 ;
13563 PyObject * obj1 = 0 ;
13564 PyObject * obj3 = 0 ;
13565 PyObject * obj4 = 0 ;
13566 PyObject * obj5 = 0 ;
13567 PyObject * obj7 = 0 ;
13568 PyObject * obj8 = 0 ;
13569 PyObject * obj9 = 0 ;
13570 char *kwnames[] = {
13571 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13572 };
13573
13574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13576 arg2 = (size_t) PyInt_AsLong(obj1);
13577 if (PyErr_Occurred()) SWIG_fail;
13578 {
13579 arg4 = wxString_in_helper(obj3);
13580 if (arg4 == NULL) SWIG_fail;
13581 temp4 = True;
13582 }
13583 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13584 if (arg5 == NULL) {
13585 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13586 }
13587 if (obj5) {
13588 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13589 if (arg6 == NULL) {
13590 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13591 }
13592 }
13593 if (obj7) {
13594 {
13595 arg8 = wxString_in_helper(obj7);
13596 if (arg8 == NULL) SWIG_fail;
13597 temp8 = True;
13598 }
13599 }
13600 if (obj8) {
13601 {
13602 arg9 = wxString_in_helper(obj8);
13603 if (arg9 == NULL) SWIG_fail;
13604 temp9 = True;
13605 }
13606 }
13607 if (obj9) {
13608 arg10 = obj9;
13609 }
13610 {
13611 PyThreadState* __tstate = wxPyBeginAllowThreads();
13612 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);
13613
13614 wxPyEndAllowThreads(__tstate);
13615 if (PyErr_Occurred()) SWIG_fail;
13616 }
13617 {
13618 resultobj = wxPyMake_wxObject(result);
13619 }
13620 {
13621 if (temp4)
13622 delete arg4;
13623 }
13624 {
13625 if (temp8)
13626 delete arg8;
13627 }
13628 {
13629 if (temp9)
13630 delete arg9;
13631 }
13632 return resultobj;
13633 fail:
13634 {
13635 if (temp4)
13636 delete arg4;
13637 }
13638 {
13639 if (temp8)
13640 delete arg8;
13641 }
13642 {
13643 if (temp9)
13644 delete arg9;
13645 }
13646 return NULL;
13647 }
13648
13649
13650 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13651 PyObject *resultobj;
13652 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13653 wxControl *arg2 = (wxControl *) 0 ;
13654 wxToolBarToolBase *result;
13655 PyObject * obj0 = 0 ;
13656 PyObject * obj1 = 0 ;
13657 char *kwnames[] = {
13658 (char *) "self",(char *) "control", NULL
13659 };
13660
13661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13664 {
13665 PyThreadState* __tstate = wxPyBeginAllowThreads();
13666 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13667
13668 wxPyEndAllowThreads(__tstate);
13669 if (PyErr_Occurred()) SWIG_fail;
13670 }
13671 {
13672 resultobj = wxPyMake_wxObject(result);
13673 }
13674 return resultobj;
13675 fail:
13676 return NULL;
13677 }
13678
13679
13680 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13681 PyObject *resultobj;
13682 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13683 size_t arg2 ;
13684 wxControl *arg3 = (wxControl *) 0 ;
13685 wxToolBarToolBase *result;
13686 PyObject * obj0 = 0 ;
13687 PyObject * obj1 = 0 ;
13688 PyObject * obj2 = 0 ;
13689 char *kwnames[] = {
13690 (char *) "self",(char *) "pos",(char *) "control", NULL
13691 };
13692
13693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13695 arg2 = (size_t) PyInt_AsLong(obj1);
13696 if (PyErr_Occurred()) SWIG_fail;
13697 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13698 {
13699 PyThreadState* __tstate = wxPyBeginAllowThreads();
13700 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13701
13702 wxPyEndAllowThreads(__tstate);
13703 if (PyErr_Occurred()) SWIG_fail;
13704 }
13705 {
13706 resultobj = wxPyMake_wxObject(result);
13707 }
13708 return resultobj;
13709 fail:
13710 return NULL;
13711 }
13712
13713
13714 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13715 PyObject *resultobj;
13716 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13717 int arg2 ;
13718 wxControl *result;
13719 PyObject * obj0 = 0 ;
13720 char *kwnames[] = {
13721 (char *) "self",(char *) "id", NULL
13722 };
13723
13724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13726 {
13727 PyThreadState* __tstate = wxPyBeginAllowThreads();
13728 result = (wxControl *)(arg1)->FindControl(arg2);
13729
13730 wxPyEndAllowThreads(__tstate);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 }
13733 {
13734 resultobj = wxPyMake_wxObject(result);
13735 }
13736 return resultobj;
13737 fail:
13738 return NULL;
13739 }
13740
13741
13742 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13743 PyObject *resultobj;
13744 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13745 wxToolBarToolBase *result;
13746 PyObject * obj0 = 0 ;
13747 char *kwnames[] = {
13748 (char *) "self", NULL
13749 };
13750
13751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13753 {
13754 PyThreadState* __tstate = wxPyBeginAllowThreads();
13755 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13756
13757 wxPyEndAllowThreads(__tstate);
13758 if (PyErr_Occurred()) SWIG_fail;
13759 }
13760 {
13761 resultobj = wxPyMake_wxObject(result);
13762 }
13763 return resultobj;
13764 fail:
13765 return NULL;
13766 }
13767
13768
13769 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13770 PyObject *resultobj;
13771 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13772 size_t arg2 ;
13773 wxToolBarToolBase *result;
13774 PyObject * obj0 = 0 ;
13775 PyObject * obj1 = 0 ;
13776 char *kwnames[] = {
13777 (char *) "self",(char *) "pos", NULL
13778 };
13779
13780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13782 arg2 = (size_t) PyInt_AsLong(obj1);
13783 if (PyErr_Occurred()) SWIG_fail;
13784 {
13785 PyThreadState* __tstate = wxPyBeginAllowThreads();
13786 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13787
13788 wxPyEndAllowThreads(__tstate);
13789 if (PyErr_Occurred()) SWIG_fail;
13790 }
13791 {
13792 resultobj = wxPyMake_wxObject(result);
13793 }
13794 return resultobj;
13795 fail:
13796 return NULL;
13797 }
13798
13799
13800 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13801 PyObject *resultobj;
13802 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13803 int arg2 ;
13804 wxToolBarToolBase *result;
13805 PyObject * obj0 = 0 ;
13806 char *kwnames[] = {
13807 (char *) "self",(char *) "id", NULL
13808 };
13809
13810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13812 {
13813 PyThreadState* __tstate = wxPyBeginAllowThreads();
13814 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13815
13816 wxPyEndAllowThreads(__tstate);
13817 if (PyErr_Occurred()) SWIG_fail;
13818 }
13819 {
13820 resultobj = wxPyMake_wxObject(result);
13821 }
13822 return resultobj;
13823 fail:
13824 return NULL;
13825 }
13826
13827
13828 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13829 PyObject *resultobj;
13830 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13831 size_t arg2 ;
13832 bool result;
13833 PyObject * obj0 = 0 ;
13834 PyObject * obj1 = 0 ;
13835 char *kwnames[] = {
13836 (char *) "self",(char *) "pos", NULL
13837 };
13838
13839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13841 arg2 = (size_t) PyInt_AsLong(obj1);
13842 if (PyErr_Occurred()) SWIG_fail;
13843 {
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 result = (bool)(arg1)->DeleteToolByPos(arg2);
13846
13847 wxPyEndAllowThreads(__tstate);
13848 if (PyErr_Occurred()) SWIG_fail;
13849 }
13850 resultobj = PyInt_FromLong((long)result);
13851 return resultobj;
13852 fail:
13853 return NULL;
13854 }
13855
13856
13857 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13858 PyObject *resultobj;
13859 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13860 int arg2 ;
13861 bool result;
13862 PyObject * obj0 = 0 ;
13863 char *kwnames[] = {
13864 (char *) "self",(char *) "id", NULL
13865 };
13866
13867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
13868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13869 {
13870 PyThreadState* __tstate = wxPyBeginAllowThreads();
13871 result = (bool)(arg1)->DeleteTool(arg2);
13872
13873 wxPyEndAllowThreads(__tstate);
13874 if (PyErr_Occurred()) SWIG_fail;
13875 }
13876 resultobj = PyInt_FromLong((long)result);
13877 return resultobj;
13878 fail:
13879 return NULL;
13880 }
13881
13882
13883 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
13884 PyObject *resultobj;
13885 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13886 PyObject * obj0 = 0 ;
13887 char *kwnames[] = {
13888 (char *) "self", NULL
13889 };
13890
13891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
13892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 (arg1)->ClearTools();
13896
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 Py_INCREF(Py_None); resultobj = Py_None;
13901 return resultobj;
13902 fail:
13903 return NULL;
13904 }
13905
13906
13907 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
13908 PyObject *resultobj;
13909 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13910 bool result;
13911 PyObject * obj0 = 0 ;
13912 char *kwnames[] = {
13913 (char *) "self", NULL
13914 };
13915
13916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
13917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 result = (bool)(arg1)->Realize();
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
13925 resultobj = PyInt_FromLong((long)result);
13926 return resultobj;
13927 fail:
13928 return NULL;
13929 }
13930
13931
13932 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13933 PyObject *resultobj;
13934 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13935 int arg2 ;
13936 bool arg3 ;
13937 PyObject * obj0 = 0 ;
13938 PyObject * obj2 = 0 ;
13939 char *kwnames[] = {
13940 (char *) "self",(char *) "id",(char *) "enable", NULL
13941 };
13942
13943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13945 arg3 = PyInt_AsLong(obj2) ? true : false;
13946 if (PyErr_Occurred()) SWIG_fail;
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 (arg1)->EnableTool(arg2,arg3);
13950
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 Py_INCREF(Py_None); resultobj = Py_None;
13955 return resultobj;
13956 fail:
13957 return NULL;
13958 }
13959
13960
13961 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13962 PyObject *resultobj;
13963 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13964 int arg2 ;
13965 bool arg3 ;
13966 PyObject * obj0 = 0 ;
13967 PyObject * obj2 = 0 ;
13968 char *kwnames[] = {
13969 (char *) "self",(char *) "id",(char *) "toggle", NULL
13970 };
13971
13972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13974 arg3 = PyInt_AsLong(obj2) ? true : false;
13975 if (PyErr_Occurred()) SWIG_fail;
13976 {
13977 PyThreadState* __tstate = wxPyBeginAllowThreads();
13978 (arg1)->ToggleTool(arg2,arg3);
13979
13980 wxPyEndAllowThreads(__tstate);
13981 if (PyErr_Occurred()) SWIG_fail;
13982 }
13983 Py_INCREF(Py_None); resultobj = Py_None;
13984 return resultobj;
13985 fail:
13986 return NULL;
13987 }
13988
13989
13990 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13991 PyObject *resultobj;
13992 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13993 int arg2 ;
13994 bool arg3 ;
13995 PyObject * obj0 = 0 ;
13996 PyObject * obj2 = 0 ;
13997 char *kwnames[] = {
13998 (char *) "self",(char *) "id",(char *) "toggle", NULL
13999 };
14000
14001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14003 arg3 = PyInt_AsLong(obj2) ? true : false;
14004 if (PyErr_Occurred()) SWIG_fail;
14005 {
14006 PyThreadState* __tstate = wxPyBeginAllowThreads();
14007 (arg1)->SetToggle(arg2,arg3);
14008
14009 wxPyEndAllowThreads(__tstate);
14010 if (PyErr_Occurred()) SWIG_fail;
14011 }
14012 Py_INCREF(Py_None); resultobj = Py_None;
14013 return resultobj;
14014 fail:
14015 return NULL;
14016 }
14017
14018
14019 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14020 PyObject *resultobj;
14021 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14022 int arg2 ;
14023 PyObject *result;
14024 PyObject * obj0 = 0 ;
14025 char *kwnames[] = {
14026 (char *) "self",(char *) "id", NULL
14027 };
14028
14029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14031 {
14032 PyThreadState* __tstate = wxPyBeginAllowThreads();
14033 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14034
14035 wxPyEndAllowThreads(__tstate);
14036 if (PyErr_Occurred()) SWIG_fail;
14037 }
14038 resultobj = result;
14039 return resultobj;
14040 fail:
14041 return NULL;
14042 }
14043
14044
14045 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14046 PyObject *resultobj;
14047 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14048 int arg2 ;
14049 PyObject *arg3 = (PyObject *) 0 ;
14050 PyObject * obj0 = 0 ;
14051 PyObject * obj2 = 0 ;
14052 char *kwnames[] = {
14053 (char *) "self",(char *) "id",(char *) "clientData", NULL
14054 };
14055
14056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14058 arg3 = obj2;
14059 {
14060 PyThreadState* __tstate = wxPyBeginAllowThreads();
14061 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14062
14063 wxPyEndAllowThreads(__tstate);
14064 if (PyErr_Occurred()) SWIG_fail;
14065 }
14066 Py_INCREF(Py_None); resultobj = Py_None;
14067 return resultobj;
14068 fail:
14069 return NULL;
14070 }
14071
14072
14073 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14074 PyObject *resultobj;
14075 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14076 int arg2 ;
14077 int result;
14078 PyObject * obj0 = 0 ;
14079 char *kwnames[] = {
14080 (char *) "self",(char *) "id", NULL
14081 };
14082
14083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14085 {
14086 PyThreadState* __tstate = wxPyBeginAllowThreads();
14087 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14088
14089 wxPyEndAllowThreads(__tstate);
14090 if (PyErr_Occurred()) SWIG_fail;
14091 }
14092 resultobj = PyInt_FromLong((long)result);
14093 return resultobj;
14094 fail:
14095 return NULL;
14096 }
14097
14098
14099 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14100 PyObject *resultobj;
14101 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14102 int arg2 ;
14103 bool result;
14104 PyObject * obj0 = 0 ;
14105 char *kwnames[] = {
14106 (char *) "self",(char *) "id", NULL
14107 };
14108
14109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14111 {
14112 PyThreadState* __tstate = wxPyBeginAllowThreads();
14113 result = (bool)(arg1)->GetToolState(arg2);
14114
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 resultobj = PyInt_FromLong((long)result);
14119 return resultobj;
14120 fail:
14121 return NULL;
14122 }
14123
14124
14125 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14126 PyObject *resultobj;
14127 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14128 int arg2 ;
14129 bool result;
14130 PyObject * obj0 = 0 ;
14131 char *kwnames[] = {
14132 (char *) "self",(char *) "id", NULL
14133 };
14134
14135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14137 {
14138 PyThreadState* __tstate = wxPyBeginAllowThreads();
14139 result = (bool)(arg1)->GetToolEnabled(arg2);
14140
14141 wxPyEndAllowThreads(__tstate);
14142 if (PyErr_Occurred()) SWIG_fail;
14143 }
14144 resultobj = PyInt_FromLong((long)result);
14145 return resultobj;
14146 fail:
14147 return NULL;
14148 }
14149
14150
14151 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14152 PyObject *resultobj;
14153 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14154 int arg2 ;
14155 wxString *arg3 = 0 ;
14156 bool temp3 = False ;
14157 PyObject * obj0 = 0 ;
14158 PyObject * obj2 = 0 ;
14159 char *kwnames[] = {
14160 (char *) "self",(char *) "id",(char *) "helpString", NULL
14161 };
14162
14163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14165 {
14166 arg3 = wxString_in_helper(obj2);
14167 if (arg3 == NULL) SWIG_fail;
14168 temp3 = True;
14169 }
14170 {
14171 PyThreadState* __tstate = wxPyBeginAllowThreads();
14172 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14173
14174 wxPyEndAllowThreads(__tstate);
14175 if (PyErr_Occurred()) SWIG_fail;
14176 }
14177 Py_INCREF(Py_None); resultobj = Py_None;
14178 {
14179 if (temp3)
14180 delete arg3;
14181 }
14182 return resultobj;
14183 fail:
14184 {
14185 if (temp3)
14186 delete arg3;
14187 }
14188 return NULL;
14189 }
14190
14191
14192 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14193 PyObject *resultobj;
14194 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14195 int arg2 ;
14196 wxString result;
14197 PyObject * obj0 = 0 ;
14198 char *kwnames[] = {
14199 (char *) "self",(char *) "id", NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 result = (arg1)->GetToolShortHelp(arg2);
14207
14208 wxPyEndAllowThreads(__tstate);
14209 if (PyErr_Occurred()) SWIG_fail;
14210 }
14211 {
14212 #if wxUSE_UNICODE
14213 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14214 #else
14215 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14216 #endif
14217 }
14218 return resultobj;
14219 fail:
14220 return NULL;
14221 }
14222
14223
14224 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14225 PyObject *resultobj;
14226 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14227 int arg2 ;
14228 wxString *arg3 = 0 ;
14229 bool temp3 = False ;
14230 PyObject * obj0 = 0 ;
14231 PyObject * obj2 = 0 ;
14232 char *kwnames[] = {
14233 (char *) "self",(char *) "id",(char *) "helpString", NULL
14234 };
14235
14236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14238 {
14239 arg3 = wxString_in_helper(obj2);
14240 if (arg3 == NULL) SWIG_fail;
14241 temp3 = True;
14242 }
14243 {
14244 PyThreadState* __tstate = wxPyBeginAllowThreads();
14245 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14246
14247 wxPyEndAllowThreads(__tstate);
14248 if (PyErr_Occurred()) SWIG_fail;
14249 }
14250 Py_INCREF(Py_None); resultobj = Py_None;
14251 {
14252 if (temp3)
14253 delete arg3;
14254 }
14255 return resultobj;
14256 fail:
14257 {
14258 if (temp3)
14259 delete arg3;
14260 }
14261 return NULL;
14262 }
14263
14264
14265 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14266 PyObject *resultobj;
14267 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14268 int arg2 ;
14269 wxString result;
14270 PyObject * obj0 = 0 ;
14271 char *kwnames[] = {
14272 (char *) "self",(char *) "id", NULL
14273 };
14274
14275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14277 {
14278 PyThreadState* __tstate = wxPyBeginAllowThreads();
14279 result = (arg1)->GetToolLongHelp(arg2);
14280
14281 wxPyEndAllowThreads(__tstate);
14282 if (PyErr_Occurred()) SWIG_fail;
14283 }
14284 {
14285 #if wxUSE_UNICODE
14286 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14287 #else
14288 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14289 #endif
14290 }
14291 return resultobj;
14292 fail:
14293 return NULL;
14294 }
14295
14296
14297 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14298 PyObject *resultobj;
14299 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14300 int arg2 ;
14301 int arg3 ;
14302 PyObject * obj0 = 0 ;
14303 char *kwnames[] = {
14304 (char *) "self",(char *) "x",(char *) "y", NULL
14305 };
14306
14307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14309 {
14310 PyThreadState* __tstate = wxPyBeginAllowThreads();
14311 (arg1)->SetMargins(arg2,arg3);
14312
14313 wxPyEndAllowThreads(__tstate);
14314 if (PyErr_Occurred()) SWIG_fail;
14315 }
14316 Py_INCREF(Py_None); resultobj = Py_None;
14317 return resultobj;
14318 fail:
14319 return NULL;
14320 }
14321
14322
14323 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14324 PyObject *resultobj;
14325 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14326 wxSize *arg2 = 0 ;
14327 wxSize temp2 ;
14328 PyObject * obj0 = 0 ;
14329 PyObject * obj1 = 0 ;
14330 char *kwnames[] = {
14331 (char *) "self",(char *) "size", NULL
14332 };
14333
14334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14336 {
14337 arg2 = &temp2;
14338 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14339 }
14340 {
14341 PyThreadState* __tstate = wxPyBeginAllowThreads();
14342 (arg1)->SetMargins((wxSize const &)*arg2);
14343
14344 wxPyEndAllowThreads(__tstate);
14345 if (PyErr_Occurred()) SWIG_fail;
14346 }
14347 Py_INCREF(Py_None); resultobj = Py_None;
14348 return resultobj;
14349 fail:
14350 return NULL;
14351 }
14352
14353
14354 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14355 PyObject *resultobj;
14356 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14357 int arg2 ;
14358 PyObject * obj0 = 0 ;
14359 char *kwnames[] = {
14360 (char *) "self",(char *) "packing", NULL
14361 };
14362
14363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14365 {
14366 PyThreadState* __tstate = wxPyBeginAllowThreads();
14367 (arg1)->SetToolPacking(arg2);
14368
14369 wxPyEndAllowThreads(__tstate);
14370 if (PyErr_Occurred()) SWIG_fail;
14371 }
14372 Py_INCREF(Py_None); resultobj = Py_None;
14373 return resultobj;
14374 fail:
14375 return NULL;
14376 }
14377
14378
14379 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14380 PyObject *resultobj;
14381 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14382 int arg2 ;
14383 PyObject * obj0 = 0 ;
14384 char *kwnames[] = {
14385 (char *) "self",(char *) "separation", NULL
14386 };
14387
14388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14390 {
14391 PyThreadState* __tstate = wxPyBeginAllowThreads();
14392 (arg1)->SetToolSeparation(arg2);
14393
14394 wxPyEndAllowThreads(__tstate);
14395 if (PyErr_Occurred()) SWIG_fail;
14396 }
14397 Py_INCREF(Py_None); resultobj = Py_None;
14398 return resultobj;
14399 fail:
14400 return NULL;
14401 }
14402
14403
14404 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14405 PyObject *resultobj;
14406 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14407 wxSize result;
14408 PyObject * obj0 = 0 ;
14409 char *kwnames[] = {
14410 (char *) "self", NULL
14411 };
14412
14413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14415 {
14416 PyThreadState* __tstate = wxPyBeginAllowThreads();
14417 result = (arg1)->GetToolMargins();
14418
14419 wxPyEndAllowThreads(__tstate);
14420 if (PyErr_Occurred()) SWIG_fail;
14421 }
14422 {
14423 wxSize * resultptr;
14424 resultptr = new wxSize((wxSize &) result);
14425 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14426 }
14427 return resultobj;
14428 fail:
14429 return NULL;
14430 }
14431
14432
14433 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14434 PyObject *resultobj;
14435 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14436 wxSize result;
14437 PyObject * obj0 = 0 ;
14438 char *kwnames[] = {
14439 (char *) "self", NULL
14440 };
14441
14442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14444 {
14445 PyThreadState* __tstate = wxPyBeginAllowThreads();
14446 result = (arg1)->GetMargins();
14447
14448 wxPyEndAllowThreads(__tstate);
14449 if (PyErr_Occurred()) SWIG_fail;
14450 }
14451 {
14452 wxSize * resultptr;
14453 resultptr = new wxSize((wxSize &) result);
14454 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14455 }
14456 return resultobj;
14457 fail:
14458 return NULL;
14459 }
14460
14461
14462 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14463 PyObject *resultobj;
14464 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14465 int result;
14466 PyObject * obj0 = 0 ;
14467 char *kwnames[] = {
14468 (char *) "self", NULL
14469 };
14470
14471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14473 {
14474 PyThreadState* __tstate = wxPyBeginAllowThreads();
14475 result = (int)(arg1)->GetToolPacking();
14476
14477 wxPyEndAllowThreads(__tstate);
14478 if (PyErr_Occurred()) SWIG_fail;
14479 }
14480 resultobj = PyInt_FromLong((long)result);
14481 return resultobj;
14482 fail:
14483 return NULL;
14484 }
14485
14486
14487 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14488 PyObject *resultobj;
14489 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14490 int result;
14491 PyObject * obj0 = 0 ;
14492 char *kwnames[] = {
14493 (char *) "self", NULL
14494 };
14495
14496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14498 {
14499 PyThreadState* __tstate = wxPyBeginAllowThreads();
14500 result = (int)(arg1)->GetToolSeparation();
14501
14502 wxPyEndAllowThreads(__tstate);
14503 if (PyErr_Occurred()) SWIG_fail;
14504 }
14505 resultobj = PyInt_FromLong((long)result);
14506 return resultobj;
14507 fail:
14508 return NULL;
14509 }
14510
14511
14512 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14513 PyObject *resultobj;
14514 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14515 int arg2 ;
14516 PyObject * obj0 = 0 ;
14517 char *kwnames[] = {
14518 (char *) "self",(char *) "nRows", NULL
14519 };
14520
14521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14523 {
14524 PyThreadState* __tstate = wxPyBeginAllowThreads();
14525 (arg1)->SetRows(arg2);
14526
14527 wxPyEndAllowThreads(__tstate);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
14530 Py_INCREF(Py_None); resultobj = Py_None;
14531 return resultobj;
14532 fail:
14533 return NULL;
14534 }
14535
14536
14537 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14538 PyObject *resultobj;
14539 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14540 int arg2 ;
14541 int arg3 ;
14542 PyObject * obj0 = 0 ;
14543 char *kwnames[] = {
14544 (char *) "self",(char *) "rows",(char *) "cols", NULL
14545 };
14546
14547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14549 {
14550 PyThreadState* __tstate = wxPyBeginAllowThreads();
14551 (arg1)->SetMaxRowsCols(arg2,arg3);
14552
14553 wxPyEndAllowThreads(__tstate);
14554 if (PyErr_Occurred()) SWIG_fail;
14555 }
14556 Py_INCREF(Py_None); resultobj = Py_None;
14557 return resultobj;
14558 fail:
14559 return NULL;
14560 }
14561
14562
14563 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14564 PyObject *resultobj;
14565 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14566 int result;
14567 PyObject * obj0 = 0 ;
14568 char *kwnames[] = {
14569 (char *) "self", NULL
14570 };
14571
14572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14574 {
14575 PyThreadState* __tstate = wxPyBeginAllowThreads();
14576 result = (int)(arg1)->GetMaxRows();
14577
14578 wxPyEndAllowThreads(__tstate);
14579 if (PyErr_Occurred()) SWIG_fail;
14580 }
14581 resultobj = PyInt_FromLong((long)result);
14582 return resultobj;
14583 fail:
14584 return NULL;
14585 }
14586
14587
14588 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj;
14590 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14591 int result;
14592 PyObject * obj0 = 0 ;
14593 char *kwnames[] = {
14594 (char *) "self", NULL
14595 };
14596
14597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14599 {
14600 PyThreadState* __tstate = wxPyBeginAllowThreads();
14601 result = (int)(arg1)->GetMaxCols();
14602
14603 wxPyEndAllowThreads(__tstate);
14604 if (PyErr_Occurred()) SWIG_fail;
14605 }
14606 resultobj = PyInt_FromLong((long)result);
14607 return resultobj;
14608 fail:
14609 return NULL;
14610 }
14611
14612
14613 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14614 PyObject *resultobj;
14615 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14616 wxSize *arg2 = 0 ;
14617 wxSize temp2 ;
14618 PyObject * obj0 = 0 ;
14619 PyObject * obj1 = 0 ;
14620 char *kwnames[] = {
14621 (char *) "self",(char *) "size", NULL
14622 };
14623
14624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14626 {
14627 arg2 = &temp2;
14628 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14629 }
14630 {
14631 PyThreadState* __tstate = wxPyBeginAllowThreads();
14632 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14633
14634 wxPyEndAllowThreads(__tstate);
14635 if (PyErr_Occurred()) SWIG_fail;
14636 }
14637 Py_INCREF(Py_None); resultobj = Py_None;
14638 return resultobj;
14639 fail:
14640 return NULL;
14641 }
14642
14643
14644 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14645 PyObject *resultobj;
14646 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14647 wxSize result;
14648 PyObject * obj0 = 0 ;
14649 char *kwnames[] = {
14650 (char *) "self", NULL
14651 };
14652
14653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14655 {
14656 PyThreadState* __tstate = wxPyBeginAllowThreads();
14657 result = (arg1)->GetToolBitmapSize();
14658
14659 wxPyEndAllowThreads(__tstate);
14660 if (PyErr_Occurred()) SWIG_fail;
14661 }
14662 {
14663 wxSize * resultptr;
14664 resultptr = new wxSize((wxSize &) result);
14665 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14666 }
14667 return resultobj;
14668 fail:
14669 return NULL;
14670 }
14671
14672
14673 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14674 PyObject *resultobj;
14675 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14676 wxSize result;
14677 PyObject * obj0 = 0 ;
14678 char *kwnames[] = {
14679 (char *) "self", NULL
14680 };
14681
14682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14684 {
14685 PyThreadState* __tstate = wxPyBeginAllowThreads();
14686 result = (arg1)->GetToolSize();
14687
14688 wxPyEndAllowThreads(__tstate);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 {
14692 wxSize * resultptr;
14693 resultptr = new wxSize((wxSize &) result);
14694 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14695 }
14696 return resultobj;
14697 fail:
14698 return NULL;
14699 }
14700
14701
14702 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14703 PyObject *resultobj;
14704 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14705 int arg2 ;
14706 int arg3 ;
14707 wxToolBarToolBase *result;
14708 PyObject * obj0 = 0 ;
14709 char *kwnames[] = {
14710 (char *) "self",(char *) "x",(char *) "y", NULL
14711 };
14712
14713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14715 {
14716 PyThreadState* __tstate = wxPyBeginAllowThreads();
14717 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14718
14719 wxPyEndAllowThreads(__tstate);
14720 if (PyErr_Occurred()) SWIG_fail;
14721 }
14722 {
14723 resultobj = wxPyMake_wxObject(result);
14724 }
14725 return resultobj;
14726 fail:
14727 return NULL;
14728 }
14729
14730
14731 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14732 PyObject *resultobj;
14733 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14734 bool result;
14735 PyObject * obj0 = 0 ;
14736 char *kwnames[] = {
14737 (char *) "self", NULL
14738 };
14739
14740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14742 {
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 result = (bool)(arg1)->IsVertical();
14745
14746 wxPyEndAllowThreads(__tstate);
14747 if (PyErr_Occurred()) SWIG_fail;
14748 }
14749 resultobj = PyInt_FromLong((long)result);
14750 return resultobj;
14751 fail:
14752 return NULL;
14753 }
14754
14755
14756 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14757 PyObject *obj;
14758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14759 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14760 Py_INCREF(obj);
14761 return Py_BuildValue((char *)"");
14762 }
14763 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14764 PyObject *resultobj;
14765 wxWindow *arg1 = (wxWindow *) 0 ;
14766 int arg2 ;
14767 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14768 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14769 wxSize const &arg4_defvalue = wxDefaultSize ;
14770 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14771 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14772 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14773 wxString *arg6 = (wxString *) &arg6_defvalue ;
14774 wxToolBar *result;
14775 wxPoint temp3 ;
14776 wxSize temp4 ;
14777 bool temp6 = False ;
14778 PyObject * obj0 = 0 ;
14779 PyObject * obj2 = 0 ;
14780 PyObject * obj3 = 0 ;
14781 PyObject * obj5 = 0 ;
14782 char *kwnames[] = {
14783 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14784 };
14785
14786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14788 if (obj2) {
14789 {
14790 arg3 = &temp3;
14791 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14792 }
14793 }
14794 if (obj3) {
14795 {
14796 arg4 = &temp4;
14797 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14798 }
14799 }
14800 if (obj5) {
14801 {
14802 arg6 = wxString_in_helper(obj5);
14803 if (arg6 == NULL) SWIG_fail;
14804 temp6 = True;
14805 }
14806 }
14807 {
14808 PyThreadState* __tstate = wxPyBeginAllowThreads();
14809 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14810
14811 wxPyEndAllowThreads(__tstate);
14812 if (PyErr_Occurred()) SWIG_fail;
14813 }
14814 {
14815 resultobj = wxPyMake_wxObject(result);
14816 }
14817 {
14818 if (temp6)
14819 delete arg6;
14820 }
14821 return resultobj;
14822 fail:
14823 {
14824 if (temp6)
14825 delete arg6;
14826 }
14827 return NULL;
14828 }
14829
14830
14831 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14832 PyObject *resultobj;
14833 wxToolBar *result;
14834 char *kwnames[] = {
14835 NULL
14836 };
14837
14838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14839 {
14840 PyThreadState* __tstate = wxPyBeginAllowThreads();
14841 result = (wxToolBar *)new wxToolBar();
14842
14843 wxPyEndAllowThreads(__tstate);
14844 if (PyErr_Occurred()) SWIG_fail;
14845 }
14846 {
14847 resultobj = wxPyMake_wxObject(result);
14848 }
14849 return resultobj;
14850 fail:
14851 return NULL;
14852 }
14853
14854
14855 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14856 PyObject *resultobj;
14857 wxToolBar *arg1 = (wxToolBar *) 0 ;
14858 wxWindow *arg2 = (wxWindow *) 0 ;
14859 int arg3 ;
14860 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14861 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14862 wxSize const &arg5_defvalue = wxDefaultSize ;
14863 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14864 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14865 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
14866 wxString *arg7 = (wxString *) &arg7_defvalue ;
14867 bool result;
14868 wxPoint temp4 ;
14869 wxSize temp5 ;
14870 bool temp7 = False ;
14871 PyObject * obj0 = 0 ;
14872 PyObject * obj1 = 0 ;
14873 PyObject * obj3 = 0 ;
14874 PyObject * obj4 = 0 ;
14875 PyObject * obj6 = 0 ;
14876 char *kwnames[] = {
14877 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14878 };
14879
14880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
14881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14883 if (obj3) {
14884 {
14885 arg4 = &temp4;
14886 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14887 }
14888 }
14889 if (obj4) {
14890 {
14891 arg5 = &temp5;
14892 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14893 }
14894 }
14895 if (obj6) {
14896 {
14897 arg7 = wxString_in_helper(obj6);
14898 if (arg7 == NULL) SWIG_fail;
14899 temp7 = True;
14900 }
14901 }
14902 {
14903 PyThreadState* __tstate = wxPyBeginAllowThreads();
14904 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14905
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
14909 resultobj = PyInt_FromLong((long)result);
14910 {
14911 if (temp7)
14912 delete arg7;
14913 }
14914 return resultobj;
14915 fail:
14916 {
14917 if (temp7)
14918 delete arg7;
14919 }
14920 return NULL;
14921 }
14922
14923
14924 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14925 PyObject *resultobj;
14926 wxToolBar *arg1 = (wxToolBar *) 0 ;
14927 int arg2 ;
14928 int arg3 ;
14929 wxToolBarToolBase *result;
14930 PyObject * obj0 = 0 ;
14931 char *kwnames[] = {
14932 (char *) "self",(char *) "x",(char *) "y", NULL
14933 };
14934
14935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14937 {
14938 PyThreadState* __tstate = wxPyBeginAllowThreads();
14939 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14940
14941 wxPyEndAllowThreads(__tstate);
14942 if (PyErr_Occurred()) SWIG_fail;
14943 }
14944 {
14945 resultobj = wxPyMake_wxObject(result);
14946 }
14947 return resultobj;
14948 fail:
14949 return NULL;
14950 }
14951
14952
14953 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
14954 PyObject *obj;
14955 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14956 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
14957 Py_INCREF(obj);
14958 return Py_BuildValue((char *)"");
14959 }
14960 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
14961 PyObject *resultobj;
14962 wxColour const &arg1_defvalue = wxNullColour ;
14963 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
14964 wxColour const &arg2_defvalue = wxNullColour ;
14965 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
14966 wxFont const &arg3_defvalue = wxNullFont ;
14967 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
14968 wxListItemAttr *result;
14969 wxColour temp1 ;
14970 wxColour temp2 ;
14971 PyObject * obj0 = 0 ;
14972 PyObject * obj1 = 0 ;
14973 PyObject * obj2 = 0 ;
14974 char *kwnames[] = {
14975 (char *) "colText",(char *) "colBack",(char *) "font", NULL
14976 };
14977
14978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
14979 if (obj0) {
14980 {
14981 arg1 = &temp1;
14982 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
14983 }
14984 }
14985 if (obj1) {
14986 {
14987 arg2 = &temp2;
14988 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14989 }
14990 }
14991 if (obj2) {
14992 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14993 if (arg3 == NULL) {
14994 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14995 }
14996 }
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15000
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15005 return resultobj;
15006 fail:
15007 return NULL;
15008 }
15009
15010
15011 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15012 PyObject *resultobj;
15013 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15014 wxColour *arg2 = 0 ;
15015 wxColour temp2 ;
15016 PyObject * obj0 = 0 ;
15017 PyObject * obj1 = 0 ;
15018 char *kwnames[] = {
15019 (char *) "self",(char *) "colText", NULL
15020 };
15021
15022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15024 {
15025 arg2 = &temp2;
15026 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15027 }
15028 {
15029 PyThreadState* __tstate = wxPyBeginAllowThreads();
15030 (arg1)->SetTextColour((wxColour const &)*arg2);
15031
15032 wxPyEndAllowThreads(__tstate);
15033 if (PyErr_Occurred()) SWIG_fail;
15034 }
15035 Py_INCREF(Py_None); resultobj = Py_None;
15036 return resultobj;
15037 fail:
15038 return NULL;
15039 }
15040
15041
15042 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15043 PyObject *resultobj;
15044 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15045 wxColour *arg2 = 0 ;
15046 wxColour temp2 ;
15047 PyObject * obj0 = 0 ;
15048 PyObject * obj1 = 0 ;
15049 char *kwnames[] = {
15050 (char *) "self",(char *) "colBack", NULL
15051 };
15052
15053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15055 {
15056 arg2 = &temp2;
15057 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15058 }
15059 {
15060 PyThreadState* __tstate = wxPyBeginAllowThreads();
15061 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15062
15063 wxPyEndAllowThreads(__tstate);
15064 if (PyErr_Occurred()) SWIG_fail;
15065 }
15066 Py_INCREF(Py_None); resultobj = Py_None;
15067 return resultobj;
15068 fail:
15069 return NULL;
15070 }
15071
15072
15073 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15074 PyObject *resultobj;
15075 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15076 wxFont *arg2 = 0 ;
15077 PyObject * obj0 = 0 ;
15078 PyObject * obj1 = 0 ;
15079 char *kwnames[] = {
15080 (char *) "self",(char *) "font", NULL
15081 };
15082
15083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15085 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15086 if (arg2 == NULL) {
15087 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15088 }
15089 {
15090 PyThreadState* __tstate = wxPyBeginAllowThreads();
15091 (arg1)->SetFont((wxFont const &)*arg2);
15092
15093 wxPyEndAllowThreads(__tstate);
15094 if (PyErr_Occurred()) SWIG_fail;
15095 }
15096 Py_INCREF(Py_None); resultobj = Py_None;
15097 return resultobj;
15098 fail:
15099 return NULL;
15100 }
15101
15102
15103 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15104 PyObject *resultobj;
15105 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15106 bool result;
15107 PyObject * obj0 = 0 ;
15108 char *kwnames[] = {
15109 (char *) "self", NULL
15110 };
15111
15112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15114 {
15115 PyThreadState* __tstate = wxPyBeginAllowThreads();
15116 result = (bool)(arg1)->HasTextColour();
15117
15118 wxPyEndAllowThreads(__tstate);
15119 if (PyErr_Occurred()) SWIG_fail;
15120 }
15121 resultobj = PyInt_FromLong((long)result);
15122 return resultobj;
15123 fail:
15124 return NULL;
15125 }
15126
15127
15128 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15129 PyObject *resultobj;
15130 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15131 bool result;
15132 PyObject * obj0 = 0 ;
15133 char *kwnames[] = {
15134 (char *) "self", NULL
15135 };
15136
15137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15139 {
15140 PyThreadState* __tstate = wxPyBeginAllowThreads();
15141 result = (bool)(arg1)->HasBackgroundColour();
15142
15143 wxPyEndAllowThreads(__tstate);
15144 if (PyErr_Occurred()) SWIG_fail;
15145 }
15146 resultobj = PyInt_FromLong((long)result);
15147 return resultobj;
15148 fail:
15149 return NULL;
15150 }
15151
15152
15153 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15154 PyObject *resultobj;
15155 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15156 bool result;
15157 PyObject * obj0 = 0 ;
15158 char *kwnames[] = {
15159 (char *) "self", NULL
15160 };
15161
15162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15164 {
15165 PyThreadState* __tstate = wxPyBeginAllowThreads();
15166 result = (bool)(arg1)->HasFont();
15167
15168 wxPyEndAllowThreads(__tstate);
15169 if (PyErr_Occurred()) SWIG_fail;
15170 }
15171 resultobj = PyInt_FromLong((long)result);
15172 return resultobj;
15173 fail:
15174 return NULL;
15175 }
15176
15177
15178 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15179 PyObject *resultobj;
15180 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15181 wxColour result;
15182 PyObject * obj0 = 0 ;
15183 char *kwnames[] = {
15184 (char *) "self", NULL
15185 };
15186
15187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15189 {
15190 PyThreadState* __tstate = wxPyBeginAllowThreads();
15191 result = (arg1)->GetTextColour();
15192
15193 wxPyEndAllowThreads(__tstate);
15194 if (PyErr_Occurred()) SWIG_fail;
15195 }
15196 {
15197 wxColour * resultptr;
15198 resultptr = new wxColour((wxColour &) result);
15199 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15200 }
15201 return resultobj;
15202 fail:
15203 return NULL;
15204 }
15205
15206
15207 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15208 PyObject *resultobj;
15209 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15210 wxColour result;
15211 PyObject * obj0 = 0 ;
15212 char *kwnames[] = {
15213 (char *) "self", NULL
15214 };
15215
15216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15218 {
15219 PyThreadState* __tstate = wxPyBeginAllowThreads();
15220 result = (arg1)->GetBackgroundColour();
15221
15222 wxPyEndAllowThreads(__tstate);
15223 if (PyErr_Occurred()) SWIG_fail;
15224 }
15225 {
15226 wxColour * resultptr;
15227 resultptr = new wxColour((wxColour &) result);
15228 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15229 }
15230 return resultobj;
15231 fail:
15232 return NULL;
15233 }
15234
15235
15236 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15237 PyObject *resultobj;
15238 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15239 wxFont result;
15240 PyObject * obj0 = 0 ;
15241 char *kwnames[] = {
15242 (char *) "self", NULL
15243 };
15244
15245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15247 {
15248 PyThreadState* __tstate = wxPyBeginAllowThreads();
15249 result = (arg1)->GetFont();
15250
15251 wxPyEndAllowThreads(__tstate);
15252 if (PyErr_Occurred()) SWIG_fail;
15253 }
15254 {
15255 wxFont * resultptr;
15256 resultptr = new wxFont((wxFont &) result);
15257 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15258 }
15259 return resultobj;
15260 fail:
15261 return NULL;
15262 }
15263
15264
15265 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15266 PyObject *resultobj;
15267 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15268 PyObject * obj0 = 0 ;
15269 char *kwnames[] = {
15270 (char *) "self", NULL
15271 };
15272
15273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15275 {
15276 PyThreadState* __tstate = wxPyBeginAllowThreads();
15277 wxListItemAttr_Destroy(arg1);
15278
15279 wxPyEndAllowThreads(__tstate);
15280 if (PyErr_Occurred()) SWIG_fail;
15281 }
15282 Py_INCREF(Py_None); resultobj = Py_None;
15283 return resultobj;
15284 fail:
15285 return NULL;
15286 }
15287
15288
15289 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15290 PyObject *obj;
15291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15292 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15293 Py_INCREF(obj);
15294 return Py_BuildValue((char *)"");
15295 }
15296 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15297 PyObject *resultobj;
15298 wxListItem *result;
15299 char *kwnames[] = {
15300 NULL
15301 };
15302
15303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15304 {
15305 PyThreadState* __tstate = wxPyBeginAllowThreads();
15306 result = (wxListItem *)new wxListItem();
15307
15308 wxPyEndAllowThreads(__tstate);
15309 if (PyErr_Occurred()) SWIG_fail;
15310 }
15311 {
15312 resultobj = wxPyMake_wxObject(result);
15313 }
15314 return resultobj;
15315 fail:
15316 return NULL;
15317 }
15318
15319
15320 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15321 PyObject *resultobj;
15322 wxListItem *arg1 = (wxListItem *) 0 ;
15323 PyObject * obj0 = 0 ;
15324 char *kwnames[] = {
15325 (char *) "self", NULL
15326 };
15327
15328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15330 {
15331 PyThreadState* __tstate = wxPyBeginAllowThreads();
15332 delete arg1;
15333
15334 wxPyEndAllowThreads(__tstate);
15335 if (PyErr_Occurred()) SWIG_fail;
15336 }
15337 Py_INCREF(Py_None); resultobj = Py_None;
15338 return resultobj;
15339 fail:
15340 return NULL;
15341 }
15342
15343
15344 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15345 PyObject *resultobj;
15346 wxListItem *arg1 = (wxListItem *) 0 ;
15347 PyObject * obj0 = 0 ;
15348 char *kwnames[] = {
15349 (char *) "self", NULL
15350 };
15351
15352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15354 {
15355 PyThreadState* __tstate = wxPyBeginAllowThreads();
15356 (arg1)->Clear();
15357
15358 wxPyEndAllowThreads(__tstate);
15359 if (PyErr_Occurred()) SWIG_fail;
15360 }
15361 Py_INCREF(Py_None); resultobj = Py_None;
15362 return resultobj;
15363 fail:
15364 return NULL;
15365 }
15366
15367
15368 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15369 PyObject *resultobj;
15370 wxListItem *arg1 = (wxListItem *) 0 ;
15371 PyObject * obj0 = 0 ;
15372 char *kwnames[] = {
15373 (char *) "self", NULL
15374 };
15375
15376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15378 {
15379 PyThreadState* __tstate = wxPyBeginAllowThreads();
15380 (arg1)->ClearAttributes();
15381
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 Py_INCREF(Py_None); resultobj = Py_None;
15386 return resultobj;
15387 fail:
15388 return NULL;
15389 }
15390
15391
15392 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15393 PyObject *resultobj;
15394 wxListItem *arg1 = (wxListItem *) 0 ;
15395 long arg2 ;
15396 PyObject * obj0 = 0 ;
15397 char *kwnames[] = {
15398 (char *) "self",(char *) "mask", NULL
15399 };
15400
15401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15403 {
15404 PyThreadState* __tstate = wxPyBeginAllowThreads();
15405 (arg1)->SetMask(arg2);
15406
15407 wxPyEndAllowThreads(__tstate);
15408 if (PyErr_Occurred()) SWIG_fail;
15409 }
15410 Py_INCREF(Py_None); resultobj = Py_None;
15411 return resultobj;
15412 fail:
15413 return NULL;
15414 }
15415
15416
15417 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15418 PyObject *resultobj;
15419 wxListItem *arg1 = (wxListItem *) 0 ;
15420 long arg2 ;
15421 PyObject * obj0 = 0 ;
15422 char *kwnames[] = {
15423 (char *) "self",(char *) "id", NULL
15424 };
15425
15426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15428 {
15429 PyThreadState* __tstate = wxPyBeginAllowThreads();
15430 (arg1)->SetId(arg2);
15431
15432 wxPyEndAllowThreads(__tstate);
15433 if (PyErr_Occurred()) SWIG_fail;
15434 }
15435 Py_INCREF(Py_None); resultobj = Py_None;
15436 return resultobj;
15437 fail:
15438 return NULL;
15439 }
15440
15441
15442 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15443 PyObject *resultobj;
15444 wxListItem *arg1 = (wxListItem *) 0 ;
15445 int arg2 ;
15446 PyObject * obj0 = 0 ;
15447 char *kwnames[] = {
15448 (char *) "self",(char *) "col", NULL
15449 };
15450
15451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15453 {
15454 PyThreadState* __tstate = wxPyBeginAllowThreads();
15455 (arg1)->SetColumn(arg2);
15456
15457 wxPyEndAllowThreads(__tstate);
15458 if (PyErr_Occurred()) SWIG_fail;
15459 }
15460 Py_INCREF(Py_None); resultobj = Py_None;
15461 return resultobj;
15462 fail:
15463 return NULL;
15464 }
15465
15466
15467 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15468 PyObject *resultobj;
15469 wxListItem *arg1 = (wxListItem *) 0 ;
15470 long arg2 ;
15471 PyObject * obj0 = 0 ;
15472 char *kwnames[] = {
15473 (char *) "self",(char *) "state", NULL
15474 };
15475
15476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15478 {
15479 PyThreadState* __tstate = wxPyBeginAllowThreads();
15480 (arg1)->SetState(arg2);
15481
15482 wxPyEndAllowThreads(__tstate);
15483 if (PyErr_Occurred()) SWIG_fail;
15484 }
15485 Py_INCREF(Py_None); resultobj = Py_None;
15486 return resultobj;
15487 fail:
15488 return NULL;
15489 }
15490
15491
15492 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15493 PyObject *resultobj;
15494 wxListItem *arg1 = (wxListItem *) 0 ;
15495 long arg2 ;
15496 PyObject * obj0 = 0 ;
15497 char *kwnames[] = {
15498 (char *) "self",(char *) "stateMask", NULL
15499 };
15500
15501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15503 {
15504 PyThreadState* __tstate = wxPyBeginAllowThreads();
15505 (arg1)->SetStateMask(arg2);
15506
15507 wxPyEndAllowThreads(__tstate);
15508 if (PyErr_Occurred()) SWIG_fail;
15509 }
15510 Py_INCREF(Py_None); resultobj = Py_None;
15511 return resultobj;
15512 fail:
15513 return NULL;
15514 }
15515
15516
15517 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15518 PyObject *resultobj;
15519 wxListItem *arg1 = (wxListItem *) 0 ;
15520 wxString *arg2 = 0 ;
15521 bool temp2 = False ;
15522 PyObject * obj0 = 0 ;
15523 PyObject * obj1 = 0 ;
15524 char *kwnames[] = {
15525 (char *) "self",(char *) "text", NULL
15526 };
15527
15528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15530 {
15531 arg2 = wxString_in_helper(obj1);
15532 if (arg2 == NULL) SWIG_fail;
15533 temp2 = True;
15534 }
15535 {
15536 PyThreadState* __tstate = wxPyBeginAllowThreads();
15537 (arg1)->SetText((wxString const &)*arg2);
15538
15539 wxPyEndAllowThreads(__tstate);
15540 if (PyErr_Occurred()) SWIG_fail;
15541 }
15542 Py_INCREF(Py_None); resultobj = Py_None;
15543 {
15544 if (temp2)
15545 delete arg2;
15546 }
15547 return resultobj;
15548 fail:
15549 {
15550 if (temp2)
15551 delete arg2;
15552 }
15553 return NULL;
15554 }
15555
15556
15557 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15558 PyObject *resultobj;
15559 wxListItem *arg1 = (wxListItem *) 0 ;
15560 int arg2 ;
15561 PyObject * obj0 = 0 ;
15562 char *kwnames[] = {
15563 (char *) "self",(char *) "image", NULL
15564 };
15565
15566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15568 {
15569 PyThreadState* __tstate = wxPyBeginAllowThreads();
15570 (arg1)->SetImage(arg2);
15571
15572 wxPyEndAllowThreads(__tstate);
15573 if (PyErr_Occurred()) SWIG_fail;
15574 }
15575 Py_INCREF(Py_None); resultobj = Py_None;
15576 return resultobj;
15577 fail:
15578 return NULL;
15579 }
15580
15581
15582 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15583 PyObject *resultobj;
15584 wxListItem *arg1 = (wxListItem *) 0 ;
15585 long arg2 ;
15586 PyObject * obj0 = 0 ;
15587 char *kwnames[] = {
15588 (char *) "self",(char *) "data", NULL
15589 };
15590
15591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15593 {
15594 PyThreadState* __tstate = wxPyBeginAllowThreads();
15595 (arg1)->SetData(arg2);
15596
15597 wxPyEndAllowThreads(__tstate);
15598 if (PyErr_Occurred()) SWIG_fail;
15599 }
15600 Py_INCREF(Py_None); resultobj = Py_None;
15601 return resultobj;
15602 fail:
15603 return NULL;
15604 }
15605
15606
15607 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15608 PyObject *resultobj;
15609 wxListItem *arg1 = (wxListItem *) 0 ;
15610 int arg2 ;
15611 PyObject * obj0 = 0 ;
15612 char *kwnames[] = {
15613 (char *) "self",(char *) "width", NULL
15614 };
15615
15616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
15617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15618 {
15619 PyThreadState* __tstate = wxPyBeginAllowThreads();
15620 (arg1)->SetWidth(arg2);
15621
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 Py_INCREF(Py_None); resultobj = Py_None;
15626 return resultobj;
15627 fail:
15628 return NULL;
15629 }
15630
15631
15632 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15633 PyObject *resultobj;
15634 wxListItem *arg1 = (wxListItem *) 0 ;
15635 int arg2 ;
15636 PyObject * obj0 = 0 ;
15637 char *kwnames[] = {
15638 (char *) "self",(char *) "align", NULL
15639 };
15640
15641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15643 {
15644 PyThreadState* __tstate = wxPyBeginAllowThreads();
15645 (arg1)->SetAlign((wxListColumnFormat )arg2);
15646
15647 wxPyEndAllowThreads(__tstate);
15648 if (PyErr_Occurred()) SWIG_fail;
15649 }
15650 Py_INCREF(Py_None); resultobj = Py_None;
15651 return resultobj;
15652 fail:
15653 return NULL;
15654 }
15655
15656
15657 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15658 PyObject *resultobj;
15659 wxListItem *arg1 = (wxListItem *) 0 ;
15660 wxColour *arg2 = 0 ;
15661 wxColour temp2 ;
15662 PyObject * obj0 = 0 ;
15663 PyObject * obj1 = 0 ;
15664 char *kwnames[] = {
15665 (char *) "self",(char *) "colText", NULL
15666 };
15667
15668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15670 {
15671 arg2 = &temp2;
15672 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15673 }
15674 {
15675 PyThreadState* __tstate = wxPyBeginAllowThreads();
15676 (arg1)->SetTextColour((wxColour const &)*arg2);
15677
15678 wxPyEndAllowThreads(__tstate);
15679 if (PyErr_Occurred()) SWIG_fail;
15680 }
15681 Py_INCREF(Py_None); resultobj = Py_None;
15682 return resultobj;
15683 fail:
15684 return NULL;
15685 }
15686
15687
15688 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15689 PyObject *resultobj;
15690 wxListItem *arg1 = (wxListItem *) 0 ;
15691 wxColour *arg2 = 0 ;
15692 wxColour temp2 ;
15693 PyObject * obj0 = 0 ;
15694 PyObject * obj1 = 0 ;
15695 char *kwnames[] = {
15696 (char *) "self",(char *) "colBack", NULL
15697 };
15698
15699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15701 {
15702 arg2 = &temp2;
15703 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15704 }
15705 {
15706 PyThreadState* __tstate = wxPyBeginAllowThreads();
15707 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15708
15709 wxPyEndAllowThreads(__tstate);
15710 if (PyErr_Occurred()) SWIG_fail;
15711 }
15712 Py_INCREF(Py_None); resultobj = Py_None;
15713 return resultobj;
15714 fail:
15715 return NULL;
15716 }
15717
15718
15719 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15720 PyObject *resultobj;
15721 wxListItem *arg1 = (wxListItem *) 0 ;
15722 wxFont *arg2 = 0 ;
15723 PyObject * obj0 = 0 ;
15724 PyObject * obj1 = 0 ;
15725 char *kwnames[] = {
15726 (char *) "self",(char *) "font", NULL
15727 };
15728
15729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15731 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15732 if (arg2 == NULL) {
15733 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15734 }
15735 {
15736 PyThreadState* __tstate = wxPyBeginAllowThreads();
15737 (arg1)->SetFont((wxFont const &)*arg2);
15738
15739 wxPyEndAllowThreads(__tstate);
15740 if (PyErr_Occurred()) SWIG_fail;
15741 }
15742 Py_INCREF(Py_None); resultobj = Py_None;
15743 return resultobj;
15744 fail:
15745 return NULL;
15746 }
15747
15748
15749 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15750 PyObject *resultobj;
15751 wxListItem *arg1 = (wxListItem *) 0 ;
15752 long result;
15753 PyObject * obj0 = 0 ;
15754 char *kwnames[] = {
15755 (char *) "self", NULL
15756 };
15757
15758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15760 {
15761 PyThreadState* __tstate = wxPyBeginAllowThreads();
15762 result = (long)(arg1)->GetMask();
15763
15764 wxPyEndAllowThreads(__tstate);
15765 if (PyErr_Occurred()) SWIG_fail;
15766 }
15767 resultobj = PyInt_FromLong((long)result);
15768 return resultobj;
15769 fail:
15770 return NULL;
15771 }
15772
15773
15774 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15775 PyObject *resultobj;
15776 wxListItem *arg1 = (wxListItem *) 0 ;
15777 long result;
15778 PyObject * obj0 = 0 ;
15779 char *kwnames[] = {
15780 (char *) "self", NULL
15781 };
15782
15783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15785 {
15786 PyThreadState* __tstate = wxPyBeginAllowThreads();
15787 result = (long)(arg1)->GetId();
15788
15789 wxPyEndAllowThreads(__tstate);
15790 if (PyErr_Occurred()) SWIG_fail;
15791 }
15792 resultobj = PyInt_FromLong((long)result);
15793 return resultobj;
15794 fail:
15795 return NULL;
15796 }
15797
15798
15799 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15800 PyObject *resultobj;
15801 wxListItem *arg1 = (wxListItem *) 0 ;
15802 int result;
15803 PyObject * obj0 = 0 ;
15804 char *kwnames[] = {
15805 (char *) "self", NULL
15806 };
15807
15808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15810 {
15811 PyThreadState* __tstate = wxPyBeginAllowThreads();
15812 result = (int)(arg1)->GetColumn();
15813
15814 wxPyEndAllowThreads(__tstate);
15815 if (PyErr_Occurred()) SWIG_fail;
15816 }
15817 resultobj = PyInt_FromLong((long)result);
15818 return resultobj;
15819 fail:
15820 return NULL;
15821 }
15822
15823
15824 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15825 PyObject *resultobj;
15826 wxListItem *arg1 = (wxListItem *) 0 ;
15827 long result;
15828 PyObject * obj0 = 0 ;
15829 char *kwnames[] = {
15830 (char *) "self", NULL
15831 };
15832
15833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15835 {
15836 PyThreadState* __tstate = wxPyBeginAllowThreads();
15837 result = (long)(arg1)->GetState();
15838
15839 wxPyEndAllowThreads(__tstate);
15840 if (PyErr_Occurred()) SWIG_fail;
15841 }
15842 resultobj = PyInt_FromLong((long)result);
15843 return resultobj;
15844 fail:
15845 return NULL;
15846 }
15847
15848
15849 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15850 PyObject *resultobj;
15851 wxListItem *arg1 = (wxListItem *) 0 ;
15852 wxString *result;
15853 PyObject * obj0 = 0 ;
15854 char *kwnames[] = {
15855 (char *) "self", NULL
15856 };
15857
15858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15860 {
15861 PyThreadState* __tstate = wxPyBeginAllowThreads();
15862 {
15863 wxString const &_result_ref = (arg1)->GetText();
15864 result = (wxString *) &_result_ref;
15865 }
15866
15867 wxPyEndAllowThreads(__tstate);
15868 if (PyErr_Occurred()) SWIG_fail;
15869 }
15870 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15871 return resultobj;
15872 fail:
15873 return NULL;
15874 }
15875
15876
15877 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15878 PyObject *resultobj;
15879 wxListItem *arg1 = (wxListItem *) 0 ;
15880 int result;
15881 PyObject * obj0 = 0 ;
15882 char *kwnames[] = {
15883 (char *) "self", NULL
15884 };
15885
15886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15888 {
15889 PyThreadState* __tstate = wxPyBeginAllowThreads();
15890 result = (int)(arg1)->GetImage();
15891
15892 wxPyEndAllowThreads(__tstate);
15893 if (PyErr_Occurred()) SWIG_fail;
15894 }
15895 resultobj = PyInt_FromLong((long)result);
15896 return resultobj;
15897 fail:
15898 return NULL;
15899 }
15900
15901
15902 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15903 PyObject *resultobj;
15904 wxListItem *arg1 = (wxListItem *) 0 ;
15905 long result;
15906 PyObject * obj0 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "self", NULL
15909 };
15910
15911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
15912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15913 {
15914 PyThreadState* __tstate = wxPyBeginAllowThreads();
15915 result = (long)(arg1)->GetData();
15916
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 resultobj = PyInt_FromLong((long)result);
15921 return resultobj;
15922 fail:
15923 return NULL;
15924 }
15925
15926
15927 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15928 PyObject *resultobj;
15929 wxListItem *arg1 = (wxListItem *) 0 ;
15930 int result;
15931 PyObject * obj0 = 0 ;
15932 char *kwnames[] = {
15933 (char *) "self", NULL
15934 };
15935
15936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
15937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15938 {
15939 PyThreadState* __tstate = wxPyBeginAllowThreads();
15940 result = (int)(arg1)->GetWidth();
15941
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 resultobj = PyInt_FromLong((long)result);
15946 return resultobj;
15947 fail:
15948 return NULL;
15949 }
15950
15951
15952 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15953 PyObject *resultobj;
15954 wxListItem *arg1 = (wxListItem *) 0 ;
15955 int result;
15956 PyObject * obj0 = 0 ;
15957 char *kwnames[] = {
15958 (char *) "self", NULL
15959 };
15960
15961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
15962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15963 {
15964 PyThreadState* __tstate = wxPyBeginAllowThreads();
15965 result = (int)(arg1)->GetAlign();
15966
15967 wxPyEndAllowThreads(__tstate);
15968 if (PyErr_Occurred()) SWIG_fail;
15969 }
15970 resultobj = PyInt_FromLong((long)result);
15971 return resultobj;
15972 fail:
15973 return NULL;
15974 }
15975
15976
15977 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15978 PyObject *resultobj;
15979 wxListItem *arg1 = (wxListItem *) 0 ;
15980 wxListItemAttr *result;
15981 PyObject * obj0 = 0 ;
15982 char *kwnames[] = {
15983 (char *) "self", NULL
15984 };
15985
15986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
15987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15988 {
15989 PyThreadState* __tstate = wxPyBeginAllowThreads();
15990 result = (wxListItemAttr *)(arg1)->GetAttributes();
15991
15992 wxPyEndAllowThreads(__tstate);
15993 if (PyErr_Occurred()) SWIG_fail;
15994 }
15995 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
15996 return resultobj;
15997 fail:
15998 return NULL;
15999 }
16000
16001
16002 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16003 PyObject *resultobj;
16004 wxListItem *arg1 = (wxListItem *) 0 ;
16005 bool result;
16006 PyObject * obj0 = 0 ;
16007 char *kwnames[] = {
16008 (char *) "self", NULL
16009 };
16010
16011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16013 {
16014 PyThreadState* __tstate = wxPyBeginAllowThreads();
16015 result = (bool)(arg1)->HasAttributes();
16016
16017 wxPyEndAllowThreads(__tstate);
16018 if (PyErr_Occurred()) SWIG_fail;
16019 }
16020 resultobj = PyInt_FromLong((long)result);
16021 return resultobj;
16022 fail:
16023 return NULL;
16024 }
16025
16026
16027 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16028 PyObject *resultobj;
16029 wxListItem *arg1 = (wxListItem *) 0 ;
16030 wxColour result;
16031 PyObject * obj0 = 0 ;
16032 char *kwnames[] = {
16033 (char *) "self", NULL
16034 };
16035
16036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16038 {
16039 PyThreadState* __tstate = wxPyBeginAllowThreads();
16040 result = ((wxListItem const *)arg1)->GetTextColour();
16041
16042 wxPyEndAllowThreads(__tstate);
16043 if (PyErr_Occurred()) SWIG_fail;
16044 }
16045 {
16046 wxColour * resultptr;
16047 resultptr = new wxColour((wxColour &) result);
16048 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16049 }
16050 return resultobj;
16051 fail:
16052 return NULL;
16053 }
16054
16055
16056 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16057 PyObject *resultobj;
16058 wxListItem *arg1 = (wxListItem *) 0 ;
16059 wxColour result;
16060 PyObject * obj0 = 0 ;
16061 char *kwnames[] = {
16062 (char *) "self", NULL
16063 };
16064
16065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16067 {
16068 PyThreadState* __tstate = wxPyBeginAllowThreads();
16069 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16070
16071 wxPyEndAllowThreads(__tstate);
16072 if (PyErr_Occurred()) SWIG_fail;
16073 }
16074 {
16075 wxColour * resultptr;
16076 resultptr = new wxColour((wxColour &) result);
16077 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16078 }
16079 return resultobj;
16080 fail:
16081 return NULL;
16082 }
16083
16084
16085 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16086 PyObject *resultobj;
16087 wxListItem *arg1 = (wxListItem *) 0 ;
16088 wxFont result;
16089 PyObject * obj0 = 0 ;
16090 char *kwnames[] = {
16091 (char *) "self", NULL
16092 };
16093
16094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16096 {
16097 PyThreadState* __tstate = wxPyBeginAllowThreads();
16098 result = ((wxListItem const *)arg1)->GetFont();
16099
16100 wxPyEndAllowThreads(__tstate);
16101 if (PyErr_Occurred()) SWIG_fail;
16102 }
16103 {
16104 wxFont * resultptr;
16105 resultptr = new wxFont((wxFont &) result);
16106 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16107 }
16108 return resultobj;
16109 fail:
16110 return NULL;
16111 }
16112
16113
16114 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16115 PyObject *resultobj;
16116 wxListItem *arg1 = (wxListItem *) 0 ;
16117 long arg2 ;
16118 PyObject * obj0 = 0 ;
16119 char *kwnames[] = {
16120 (char *) "self",(char *) "m_mask", NULL
16121 };
16122
16123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16125 if (arg1) (arg1)->m_mask = arg2;
16126
16127 Py_INCREF(Py_None); resultobj = Py_None;
16128 return resultobj;
16129 fail:
16130 return NULL;
16131 }
16132
16133
16134 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16135 PyObject *resultobj;
16136 wxListItem *arg1 = (wxListItem *) 0 ;
16137 long result;
16138 PyObject * obj0 = 0 ;
16139 char *kwnames[] = {
16140 (char *) "self", NULL
16141 };
16142
16143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16145 result = (long) ((arg1)->m_mask);
16146
16147 resultobj = PyInt_FromLong((long)result);
16148 return resultobj;
16149 fail:
16150 return NULL;
16151 }
16152
16153
16154 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16155 PyObject *resultobj;
16156 wxListItem *arg1 = (wxListItem *) 0 ;
16157 long arg2 ;
16158 PyObject * obj0 = 0 ;
16159 char *kwnames[] = {
16160 (char *) "self",(char *) "m_itemId", NULL
16161 };
16162
16163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16165 if (arg1) (arg1)->m_itemId = arg2;
16166
16167 Py_INCREF(Py_None); resultobj = Py_None;
16168 return resultobj;
16169 fail:
16170 return NULL;
16171 }
16172
16173
16174 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16175 PyObject *resultobj;
16176 wxListItem *arg1 = (wxListItem *) 0 ;
16177 long result;
16178 PyObject * obj0 = 0 ;
16179 char *kwnames[] = {
16180 (char *) "self", NULL
16181 };
16182
16183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16185 result = (long) ((arg1)->m_itemId);
16186
16187 resultobj = PyInt_FromLong((long)result);
16188 return resultobj;
16189 fail:
16190 return NULL;
16191 }
16192
16193
16194 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16195 PyObject *resultobj;
16196 wxListItem *arg1 = (wxListItem *) 0 ;
16197 int arg2 ;
16198 PyObject * obj0 = 0 ;
16199 char *kwnames[] = {
16200 (char *) "self",(char *) "m_col", NULL
16201 };
16202
16203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16205 if (arg1) (arg1)->m_col = arg2;
16206
16207 Py_INCREF(Py_None); resultobj = Py_None;
16208 return resultobj;
16209 fail:
16210 return NULL;
16211 }
16212
16213
16214 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16215 PyObject *resultobj;
16216 wxListItem *arg1 = (wxListItem *) 0 ;
16217 int result;
16218 PyObject * obj0 = 0 ;
16219 char *kwnames[] = {
16220 (char *) "self", NULL
16221 };
16222
16223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16225 result = (int) ((arg1)->m_col);
16226
16227 resultobj = PyInt_FromLong((long)result);
16228 return resultobj;
16229 fail:
16230 return NULL;
16231 }
16232
16233
16234 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16235 PyObject *resultobj;
16236 wxListItem *arg1 = (wxListItem *) 0 ;
16237 long arg2 ;
16238 PyObject * obj0 = 0 ;
16239 char *kwnames[] = {
16240 (char *) "self",(char *) "m_state", NULL
16241 };
16242
16243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16245 if (arg1) (arg1)->m_state = arg2;
16246
16247 Py_INCREF(Py_None); resultobj = Py_None;
16248 return resultobj;
16249 fail:
16250 return NULL;
16251 }
16252
16253
16254 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16255 PyObject *resultobj;
16256 wxListItem *arg1 = (wxListItem *) 0 ;
16257 long result;
16258 PyObject * obj0 = 0 ;
16259 char *kwnames[] = {
16260 (char *) "self", NULL
16261 };
16262
16263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16265 result = (long) ((arg1)->m_state);
16266
16267 resultobj = PyInt_FromLong((long)result);
16268 return resultobj;
16269 fail:
16270 return NULL;
16271 }
16272
16273
16274 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16275 PyObject *resultobj;
16276 wxListItem *arg1 = (wxListItem *) 0 ;
16277 long arg2 ;
16278 PyObject * obj0 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self",(char *) "m_stateMask", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16285 if (arg1) (arg1)->m_stateMask = arg2;
16286
16287 Py_INCREF(Py_None); resultobj = Py_None;
16288 return resultobj;
16289 fail:
16290 return NULL;
16291 }
16292
16293
16294 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16295 PyObject *resultobj;
16296 wxListItem *arg1 = (wxListItem *) 0 ;
16297 long result;
16298 PyObject * obj0 = 0 ;
16299 char *kwnames[] = {
16300 (char *) "self", NULL
16301 };
16302
16303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16305 result = (long) ((arg1)->m_stateMask);
16306
16307 resultobj = PyInt_FromLong((long)result);
16308 return resultobj;
16309 fail:
16310 return NULL;
16311 }
16312
16313
16314 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj;
16316 wxListItem *arg1 = (wxListItem *) 0 ;
16317 wxString arg2 ;
16318 PyObject * obj0 = 0 ;
16319 PyObject * obj1 = 0 ;
16320 char *kwnames[] = {
16321 (char *) "self",(char *) "m_text", NULL
16322 };
16323
16324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16326 {
16327 wxString* sptr = wxString_in_helper(obj1);
16328 if (sptr == NULL) SWIG_fail;
16329 arg2 = *sptr;
16330 delete sptr;
16331 }
16332 if (arg1) (arg1)->m_text = arg2;
16333
16334 Py_INCREF(Py_None); resultobj = Py_None;
16335 return resultobj;
16336 fail:
16337 return NULL;
16338 }
16339
16340
16341 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16342 PyObject *resultobj;
16343 wxListItem *arg1 = (wxListItem *) 0 ;
16344 wxString result;
16345 PyObject * obj0 = 0 ;
16346 char *kwnames[] = {
16347 (char *) "self", NULL
16348 };
16349
16350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16352 result = ((arg1)->m_text);
16353
16354 {
16355 #if wxUSE_UNICODE
16356 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16357 #else
16358 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16359 #endif
16360 }
16361 return resultobj;
16362 fail:
16363 return NULL;
16364 }
16365
16366
16367 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16368 PyObject *resultobj;
16369 wxListItem *arg1 = (wxListItem *) 0 ;
16370 int arg2 ;
16371 PyObject * obj0 = 0 ;
16372 char *kwnames[] = {
16373 (char *) "self",(char *) "m_image", NULL
16374 };
16375
16376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16378 if (arg1) (arg1)->m_image = arg2;
16379
16380 Py_INCREF(Py_None); resultobj = Py_None;
16381 return resultobj;
16382 fail:
16383 return NULL;
16384 }
16385
16386
16387 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16388 PyObject *resultobj;
16389 wxListItem *arg1 = (wxListItem *) 0 ;
16390 int result;
16391 PyObject * obj0 = 0 ;
16392 char *kwnames[] = {
16393 (char *) "self", NULL
16394 };
16395
16396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16398 result = (int) ((arg1)->m_image);
16399
16400 resultobj = PyInt_FromLong((long)result);
16401 return resultobj;
16402 fail:
16403 return NULL;
16404 }
16405
16406
16407 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16408 PyObject *resultobj;
16409 wxListItem *arg1 = (wxListItem *) 0 ;
16410 long arg2 ;
16411 PyObject * obj0 = 0 ;
16412 char *kwnames[] = {
16413 (char *) "self",(char *) "m_data", NULL
16414 };
16415
16416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16418 if (arg1) (arg1)->m_data = arg2;
16419
16420 Py_INCREF(Py_None); resultobj = Py_None;
16421 return resultobj;
16422 fail:
16423 return NULL;
16424 }
16425
16426
16427 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16428 PyObject *resultobj;
16429 wxListItem *arg1 = (wxListItem *) 0 ;
16430 long result;
16431 PyObject * obj0 = 0 ;
16432 char *kwnames[] = {
16433 (char *) "self", NULL
16434 };
16435
16436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16438 result = (long) ((arg1)->m_data);
16439
16440 resultobj = PyInt_FromLong((long)result);
16441 return resultobj;
16442 fail:
16443 return NULL;
16444 }
16445
16446
16447 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16448 PyObject *resultobj;
16449 wxListItem *arg1 = (wxListItem *) 0 ;
16450 int arg2 ;
16451 PyObject * obj0 = 0 ;
16452 char *kwnames[] = {
16453 (char *) "self",(char *) "m_format", NULL
16454 };
16455
16456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16458 if (arg1) (arg1)->m_format = arg2;
16459
16460 Py_INCREF(Py_None); resultobj = Py_None;
16461 return resultobj;
16462 fail:
16463 return NULL;
16464 }
16465
16466
16467 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16468 PyObject *resultobj;
16469 wxListItem *arg1 = (wxListItem *) 0 ;
16470 int result;
16471 PyObject * obj0 = 0 ;
16472 char *kwnames[] = {
16473 (char *) "self", NULL
16474 };
16475
16476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16478 result = (int) ((arg1)->m_format);
16479
16480 resultobj = PyInt_FromLong((long)result);
16481 return resultobj;
16482 fail:
16483 return NULL;
16484 }
16485
16486
16487 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16488 PyObject *resultobj;
16489 wxListItem *arg1 = (wxListItem *) 0 ;
16490 int arg2 ;
16491 PyObject * obj0 = 0 ;
16492 char *kwnames[] = {
16493 (char *) "self",(char *) "m_width", NULL
16494 };
16495
16496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16498 if (arg1) (arg1)->m_width = arg2;
16499
16500 Py_INCREF(Py_None); resultobj = Py_None;
16501 return resultobj;
16502 fail:
16503 return NULL;
16504 }
16505
16506
16507 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16508 PyObject *resultobj;
16509 wxListItem *arg1 = (wxListItem *) 0 ;
16510 int result;
16511 PyObject * obj0 = 0 ;
16512 char *kwnames[] = {
16513 (char *) "self", NULL
16514 };
16515
16516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16518 result = (int) ((arg1)->m_width);
16519
16520 resultobj = PyInt_FromLong((long)result);
16521 return resultobj;
16522 fail:
16523 return NULL;
16524 }
16525
16526
16527 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16528 PyObject *obj;
16529 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16530 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16531 Py_INCREF(obj);
16532 return Py_BuildValue((char *)"");
16533 }
16534 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16535 PyObject *resultobj;
16536 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16537 int arg2 = (int) 0 ;
16538 wxListEvent *result;
16539 char *kwnames[] = {
16540 (char *) "commandType",(char *) "id", NULL
16541 };
16542
16543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16544 {
16545 PyThreadState* __tstate = wxPyBeginAllowThreads();
16546 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16547
16548 wxPyEndAllowThreads(__tstate);
16549 if (PyErr_Occurred()) SWIG_fail;
16550 }
16551 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16552 return resultobj;
16553 fail:
16554 return NULL;
16555 }
16556
16557
16558 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16559 PyObject *resultobj;
16560 wxListEvent *arg1 = (wxListEvent *) 0 ;
16561 int arg2 ;
16562 PyObject * obj0 = 0 ;
16563 char *kwnames[] = {
16564 (char *) "self",(char *) "m_code", NULL
16565 };
16566
16567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16569 if (arg1) (arg1)->m_code = arg2;
16570
16571 Py_INCREF(Py_None); resultobj = Py_None;
16572 return resultobj;
16573 fail:
16574 return NULL;
16575 }
16576
16577
16578 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16579 PyObject *resultobj;
16580 wxListEvent *arg1 = (wxListEvent *) 0 ;
16581 int result;
16582 PyObject * obj0 = 0 ;
16583 char *kwnames[] = {
16584 (char *) "self", NULL
16585 };
16586
16587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16589 result = (int) ((arg1)->m_code);
16590
16591 resultobj = PyInt_FromLong((long)result);
16592 return resultobj;
16593 fail:
16594 return NULL;
16595 }
16596
16597
16598 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16599 PyObject *resultobj;
16600 wxListEvent *arg1 = (wxListEvent *) 0 ;
16601 long arg2 ;
16602 PyObject * obj0 = 0 ;
16603 char *kwnames[] = {
16604 (char *) "self",(char *) "m_oldItemIndex", NULL
16605 };
16606
16607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16609 if (arg1) (arg1)->m_oldItemIndex = arg2;
16610
16611 Py_INCREF(Py_None); resultobj = Py_None;
16612 return resultobj;
16613 fail:
16614 return NULL;
16615 }
16616
16617
16618 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16619 PyObject *resultobj;
16620 wxListEvent *arg1 = (wxListEvent *) 0 ;
16621 long result;
16622 PyObject * obj0 = 0 ;
16623 char *kwnames[] = {
16624 (char *) "self", NULL
16625 };
16626
16627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16629 result = (long) ((arg1)->m_oldItemIndex);
16630
16631 resultobj = PyInt_FromLong((long)result);
16632 return resultobj;
16633 fail:
16634 return NULL;
16635 }
16636
16637
16638 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16639 PyObject *resultobj;
16640 wxListEvent *arg1 = (wxListEvent *) 0 ;
16641 long arg2 ;
16642 PyObject * obj0 = 0 ;
16643 char *kwnames[] = {
16644 (char *) "self",(char *) "m_itemIndex", NULL
16645 };
16646
16647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16649 if (arg1) (arg1)->m_itemIndex = arg2;
16650
16651 Py_INCREF(Py_None); resultobj = Py_None;
16652 return resultobj;
16653 fail:
16654 return NULL;
16655 }
16656
16657
16658 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16659 PyObject *resultobj;
16660 wxListEvent *arg1 = (wxListEvent *) 0 ;
16661 long result;
16662 PyObject * obj0 = 0 ;
16663 char *kwnames[] = {
16664 (char *) "self", NULL
16665 };
16666
16667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16669 result = (long) ((arg1)->m_itemIndex);
16670
16671 resultobj = PyInt_FromLong((long)result);
16672 return resultobj;
16673 fail:
16674 return NULL;
16675 }
16676
16677
16678 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16679 PyObject *resultobj;
16680 wxListEvent *arg1 = (wxListEvent *) 0 ;
16681 int arg2 ;
16682 PyObject * obj0 = 0 ;
16683 char *kwnames[] = {
16684 (char *) "self",(char *) "m_col", NULL
16685 };
16686
16687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16689 if (arg1) (arg1)->m_col = arg2;
16690
16691 Py_INCREF(Py_None); resultobj = Py_None;
16692 return resultobj;
16693 fail:
16694 return NULL;
16695 }
16696
16697
16698 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16699 PyObject *resultobj;
16700 wxListEvent *arg1 = (wxListEvent *) 0 ;
16701 int result;
16702 PyObject * obj0 = 0 ;
16703 char *kwnames[] = {
16704 (char *) "self", NULL
16705 };
16706
16707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16709 result = (int) ((arg1)->m_col);
16710
16711 resultobj = PyInt_FromLong((long)result);
16712 return resultobj;
16713 fail:
16714 return NULL;
16715 }
16716
16717
16718 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16719 PyObject *resultobj;
16720 wxListEvent *arg1 = (wxListEvent *) 0 ;
16721 wxPoint *arg2 = (wxPoint *) 0 ;
16722 PyObject * obj0 = 0 ;
16723 PyObject * obj1 = 0 ;
16724 char *kwnames[] = {
16725 (char *) "self",(char *) "m_pointDrag", NULL
16726 };
16727
16728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16730 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16731 if (arg1) (arg1)->m_pointDrag = *arg2;
16732
16733 Py_INCREF(Py_None); resultobj = Py_None;
16734 return resultobj;
16735 fail:
16736 return NULL;
16737 }
16738
16739
16740 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16741 PyObject *resultobj;
16742 wxListEvent *arg1 = (wxListEvent *) 0 ;
16743 wxPoint *result;
16744 PyObject * obj0 = 0 ;
16745 char *kwnames[] = {
16746 (char *) "self", NULL
16747 };
16748
16749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16751 result = (wxPoint *)& ((arg1)->m_pointDrag);
16752
16753 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16754 return resultobj;
16755 fail:
16756 return NULL;
16757 }
16758
16759
16760 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16761 PyObject *resultobj;
16762 wxListEvent *arg1 = (wxListEvent *) 0 ;
16763 wxListItem *result;
16764 PyObject * obj0 = 0 ;
16765 char *kwnames[] = {
16766 (char *) "self", NULL
16767 };
16768
16769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16771 result = (wxListItem *)& ((arg1)->m_item);
16772
16773 {
16774 resultobj = wxPyMake_wxObject(result);
16775 }
16776 return resultobj;
16777 fail:
16778 return NULL;
16779 }
16780
16781
16782 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16783 PyObject *resultobj;
16784 wxListEvent *arg1 = (wxListEvent *) 0 ;
16785 int result;
16786 PyObject * obj0 = 0 ;
16787 char *kwnames[] = {
16788 (char *) "self", NULL
16789 };
16790
16791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16793 {
16794 PyThreadState* __tstate = wxPyBeginAllowThreads();
16795 result = (int)(arg1)->GetKeyCode();
16796
16797 wxPyEndAllowThreads(__tstate);
16798 if (PyErr_Occurred()) SWIG_fail;
16799 }
16800 resultobj = PyInt_FromLong((long)result);
16801 return resultobj;
16802 fail:
16803 return NULL;
16804 }
16805
16806
16807 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16808 PyObject *resultobj;
16809 wxListEvent *arg1 = (wxListEvent *) 0 ;
16810 long result;
16811 PyObject * obj0 = 0 ;
16812 char *kwnames[] = {
16813 (char *) "self", NULL
16814 };
16815
16816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16818 {
16819 PyThreadState* __tstate = wxPyBeginAllowThreads();
16820 result = (long)(arg1)->GetIndex();
16821
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 resultobj = PyInt_FromLong((long)result);
16826 return resultobj;
16827 fail:
16828 return NULL;
16829 }
16830
16831
16832 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16833 PyObject *resultobj;
16834 wxListEvent *arg1 = (wxListEvent *) 0 ;
16835 int result;
16836 PyObject * obj0 = 0 ;
16837 char *kwnames[] = {
16838 (char *) "self", NULL
16839 };
16840
16841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
16842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16843 {
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 result = (int)(arg1)->GetColumn();
16846
16847 wxPyEndAllowThreads(__tstate);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 resultobj = PyInt_FromLong((long)result);
16851 return resultobj;
16852 fail:
16853 return NULL;
16854 }
16855
16856
16857 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
16858 PyObject *resultobj;
16859 wxListEvent *arg1 = (wxListEvent *) 0 ;
16860 wxPoint result;
16861 PyObject * obj0 = 0 ;
16862 char *kwnames[] = {
16863 (char *) "self", NULL
16864 };
16865
16866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
16867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16868 {
16869 PyThreadState* __tstate = wxPyBeginAllowThreads();
16870 result = (arg1)->GetPoint();
16871
16872 wxPyEndAllowThreads(__tstate);
16873 if (PyErr_Occurred()) SWIG_fail;
16874 }
16875 {
16876 wxPoint * resultptr;
16877 resultptr = new wxPoint((wxPoint &) result);
16878 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16879 }
16880 return resultobj;
16881 fail:
16882 return NULL;
16883 }
16884
16885
16886 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16887 PyObject *resultobj;
16888 wxListEvent *arg1 = (wxListEvent *) 0 ;
16889 wxString *result;
16890 PyObject * obj0 = 0 ;
16891 char *kwnames[] = {
16892 (char *) "self", NULL
16893 };
16894
16895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
16896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16897 {
16898 PyThreadState* __tstate = wxPyBeginAllowThreads();
16899 {
16900 wxString const &_result_ref = (arg1)->GetLabel();
16901 result = (wxString *) &_result_ref;
16902 }
16903
16904 wxPyEndAllowThreads(__tstate);
16905 if (PyErr_Occurred()) SWIG_fail;
16906 }
16907 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
16908 return resultobj;
16909 fail:
16910 return NULL;
16911 }
16912
16913
16914 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16915 PyObject *resultobj;
16916 wxListEvent *arg1 = (wxListEvent *) 0 ;
16917 wxString *result;
16918 PyObject * obj0 = 0 ;
16919 char *kwnames[] = {
16920 (char *) "self", NULL
16921 };
16922
16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
16924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16925 {
16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
16927 {
16928 wxString const &_result_ref = (arg1)->GetText();
16929 result = (wxString *) &_result_ref;
16930 }
16931
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
16936 return resultobj;
16937 fail:
16938 return NULL;
16939 }
16940
16941
16942 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16943 PyObject *resultobj;
16944 wxListEvent *arg1 = (wxListEvent *) 0 ;
16945 int result;
16946 PyObject * obj0 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "self", NULL
16949 };
16950
16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
16952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16953 {
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 result = (int)(arg1)->GetImage();
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 resultobj = PyInt_FromLong((long)result);
16961 return resultobj;
16962 fail:
16963 return NULL;
16964 }
16965
16966
16967 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16968 PyObject *resultobj;
16969 wxListEvent *arg1 = (wxListEvent *) 0 ;
16970 long result;
16971 PyObject * obj0 = 0 ;
16972 char *kwnames[] = {
16973 (char *) "self", NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
16977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16978 {
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 result = (long)(arg1)->GetData();
16981
16982 wxPyEndAllowThreads(__tstate);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 }
16985 resultobj = PyInt_FromLong((long)result);
16986 return resultobj;
16987 fail:
16988 return NULL;
16989 }
16990
16991
16992 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16993 PyObject *resultobj;
16994 wxListEvent *arg1 = (wxListEvent *) 0 ;
16995 long result;
16996 PyObject * obj0 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "self", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",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 result = (long)(arg1)->GetMask();
17006
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
17010 resultobj = PyInt_FromLong((long)result);
17011 return resultobj;
17012 fail:
17013 return NULL;
17014 }
17015
17016
17017 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 wxListEvent *arg1 = (wxListEvent *) 0 ;
17020 wxListItem *result;
17021 PyObject * obj0 = 0 ;
17022 char *kwnames[] = {
17023 (char *) "self", NULL
17024 };
17025
17026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 {
17031 wxListItem const &_result_ref = (arg1)->GetItem();
17032 result = (wxListItem *) &_result_ref;
17033 }
17034
17035 wxPyEndAllowThreads(__tstate);
17036 if (PyErr_Occurred()) SWIG_fail;
17037 }
17038 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17039 return resultobj;
17040 fail:
17041 return NULL;
17042 }
17043
17044
17045 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17046 PyObject *resultobj;
17047 wxListEvent *arg1 = (wxListEvent *) 0 ;
17048 long result;
17049 PyObject * obj0 = 0 ;
17050 char *kwnames[] = {
17051 (char *) "self", NULL
17052 };
17053
17054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17056 {
17057 PyThreadState* __tstate = wxPyBeginAllowThreads();
17058 result = (long)(arg1)->GetCacheFrom();
17059
17060 wxPyEndAllowThreads(__tstate);
17061 if (PyErr_Occurred()) SWIG_fail;
17062 }
17063 resultobj = PyInt_FromLong((long)result);
17064 return resultobj;
17065 fail:
17066 return NULL;
17067 }
17068
17069
17070 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17071 PyObject *resultobj;
17072 wxListEvent *arg1 = (wxListEvent *) 0 ;
17073 long result;
17074 PyObject * obj0 = 0 ;
17075 char *kwnames[] = {
17076 (char *) "self", NULL
17077 };
17078
17079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17081 {
17082 PyThreadState* __tstate = wxPyBeginAllowThreads();
17083 result = (long)(arg1)->GetCacheTo();
17084
17085 wxPyEndAllowThreads(__tstate);
17086 if (PyErr_Occurred()) SWIG_fail;
17087 }
17088 resultobj = PyInt_FromLong((long)result);
17089 return resultobj;
17090 fail:
17091 return NULL;
17092 }
17093
17094
17095 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17096 PyObject *resultobj;
17097 wxListEvent *arg1 = (wxListEvent *) 0 ;
17098 bool result;
17099 PyObject * obj0 = 0 ;
17100 char *kwnames[] = {
17101 (char *) "self", NULL
17102 };
17103
17104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17106 {
17107 PyThreadState* __tstate = wxPyBeginAllowThreads();
17108 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17109
17110 wxPyEndAllowThreads(__tstate);
17111 if (PyErr_Occurred()) SWIG_fail;
17112 }
17113 resultobj = PyInt_FromLong((long)result);
17114 return resultobj;
17115 fail:
17116 return NULL;
17117 }
17118
17119
17120 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17121 PyObject *resultobj;
17122 wxListEvent *arg1 = (wxListEvent *) 0 ;
17123 bool arg2 ;
17124 PyObject * obj0 = 0 ;
17125 PyObject * obj1 = 0 ;
17126 char *kwnames[] = {
17127 (char *) "self",(char *) "editCancelled", NULL
17128 };
17129
17130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17132 arg2 = PyInt_AsLong(obj1) ? true : false;
17133 if (PyErr_Occurred()) SWIG_fail;
17134 {
17135 PyThreadState* __tstate = wxPyBeginAllowThreads();
17136 (arg1)->SetEditCanceled(arg2);
17137
17138 wxPyEndAllowThreads(__tstate);
17139 if (PyErr_Occurred()) SWIG_fail;
17140 }
17141 Py_INCREF(Py_None); resultobj = Py_None;
17142 return resultobj;
17143 fail:
17144 return NULL;
17145 }
17146
17147
17148 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17149 PyObject *obj;
17150 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17151 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17152 Py_INCREF(obj);
17153 return Py_BuildValue((char *)"");
17154 }
17155 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17156 PyObject *resultobj;
17157 wxWindow *arg1 = (wxWindow *) 0 ;
17158 int arg2 = (int) -1 ;
17159 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17160 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17161 wxSize const &arg4_defvalue = wxDefaultSize ;
17162 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17163 long arg5 = (long) wxLC_ICON ;
17164 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17165 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17166 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17167 wxString *arg7 = (wxString *) &arg7_defvalue ;
17168 wxPyListCtrl *result;
17169 wxPoint temp3 ;
17170 wxSize temp4 ;
17171 bool temp7 = False ;
17172 PyObject * obj0 = 0 ;
17173 PyObject * obj2 = 0 ;
17174 PyObject * obj3 = 0 ;
17175 PyObject * obj5 = 0 ;
17176 PyObject * obj6 = 0 ;
17177 char *kwnames[] = {
17178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17179 };
17180
17181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17183 if (obj2) {
17184 {
17185 arg3 = &temp3;
17186 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17187 }
17188 }
17189 if (obj3) {
17190 {
17191 arg4 = &temp4;
17192 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17193 }
17194 }
17195 if (obj5) {
17196 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17197 if (arg6 == NULL) {
17198 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17199 }
17200 }
17201 if (obj6) {
17202 {
17203 arg7 = wxString_in_helper(obj6);
17204 if (arg7 == NULL) SWIG_fail;
17205 temp7 = True;
17206 }
17207 }
17208 {
17209 PyThreadState* __tstate = wxPyBeginAllowThreads();
17210 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17211
17212 wxPyEndAllowThreads(__tstate);
17213 if (PyErr_Occurred()) SWIG_fail;
17214 }
17215 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17216 {
17217 if (temp7)
17218 delete arg7;
17219 }
17220 return resultobj;
17221 fail:
17222 {
17223 if (temp7)
17224 delete arg7;
17225 }
17226 return NULL;
17227 }
17228
17229
17230 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17231 PyObject *resultobj;
17232 wxPyListCtrl *result;
17233 char *kwnames[] = {
17234 NULL
17235 };
17236
17237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17238 {
17239 PyThreadState* __tstate = wxPyBeginAllowThreads();
17240 result = (wxPyListCtrl *)new wxPyListCtrl();
17241
17242 wxPyEndAllowThreads(__tstate);
17243 if (PyErr_Occurred()) SWIG_fail;
17244 }
17245 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17246 return resultobj;
17247 fail:
17248 return NULL;
17249 }
17250
17251
17252 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17253 PyObject *resultobj;
17254 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17255 wxWindow *arg2 = (wxWindow *) 0 ;
17256 int arg3 = (int) -1 ;
17257 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17258 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17259 wxSize const &arg5_defvalue = wxDefaultSize ;
17260 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17261 long arg6 = (long) wxLC_ICON ;
17262 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17263 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17264 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17265 wxString *arg8 = (wxString *) &arg8_defvalue ;
17266 bool result;
17267 wxPoint temp4 ;
17268 wxSize temp5 ;
17269 bool temp8 = False ;
17270 PyObject * obj0 = 0 ;
17271 PyObject * obj1 = 0 ;
17272 PyObject * obj3 = 0 ;
17273 PyObject * obj4 = 0 ;
17274 PyObject * obj6 = 0 ;
17275 PyObject * obj7 = 0 ;
17276 char *kwnames[] = {
17277 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17278 };
17279
17280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17283 if (obj3) {
17284 {
17285 arg4 = &temp4;
17286 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17287 }
17288 }
17289 if (obj4) {
17290 {
17291 arg5 = &temp5;
17292 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17293 }
17294 }
17295 if (obj6) {
17296 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17297 if (arg7 == NULL) {
17298 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17299 }
17300 }
17301 if (obj7) {
17302 {
17303 arg8 = wxString_in_helper(obj7);
17304 if (arg8 == NULL) SWIG_fail;
17305 temp8 = True;
17306 }
17307 }
17308 {
17309 PyThreadState* __tstate = wxPyBeginAllowThreads();
17310 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17311
17312 wxPyEndAllowThreads(__tstate);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 }
17315 resultobj = PyInt_FromLong((long)result);
17316 {
17317 if (temp8)
17318 delete arg8;
17319 }
17320 return resultobj;
17321 fail:
17322 {
17323 if (temp8)
17324 delete arg8;
17325 }
17326 return NULL;
17327 }
17328
17329
17330 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17331 PyObject *resultobj;
17332 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17333 PyObject *arg2 = (PyObject *) 0 ;
17334 PyObject *arg3 = (PyObject *) 0 ;
17335 PyObject * obj0 = 0 ;
17336 PyObject * obj1 = 0 ;
17337 PyObject * obj2 = 0 ;
17338 char *kwnames[] = {
17339 (char *) "self",(char *) "self",(char *) "_class", NULL
17340 };
17341
17342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17344 arg2 = obj1;
17345 arg3 = obj2;
17346 {
17347 PyThreadState* __tstate = wxPyBeginAllowThreads();
17348 (arg1)->_setCallbackInfo(arg2,arg3);
17349
17350 wxPyEndAllowThreads(__tstate);
17351 if (PyErr_Occurred()) SWIG_fail;
17352 }
17353 Py_INCREF(Py_None); resultobj = Py_None;
17354 return resultobj;
17355 fail:
17356 return NULL;
17357 }
17358
17359
17360 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17361 PyObject *resultobj;
17362 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17363 wxColour *arg2 = 0 ;
17364 bool result;
17365 wxColour temp2 ;
17366 PyObject * obj0 = 0 ;
17367 PyObject * obj1 = 0 ;
17368 char *kwnames[] = {
17369 (char *) "self",(char *) "col", NULL
17370 };
17371
17372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17374 {
17375 arg2 = &temp2;
17376 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17377 }
17378 {
17379 PyThreadState* __tstate = wxPyBeginAllowThreads();
17380 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17381
17382 wxPyEndAllowThreads(__tstate);
17383 if (PyErr_Occurred()) SWIG_fail;
17384 }
17385 resultobj = PyInt_FromLong((long)result);
17386 return resultobj;
17387 fail:
17388 return NULL;
17389 }
17390
17391
17392 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17393 PyObject *resultobj;
17394 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17395 wxColour *arg2 = 0 ;
17396 bool result;
17397 wxColour temp2 ;
17398 PyObject * obj0 = 0 ;
17399 PyObject * obj1 = 0 ;
17400 char *kwnames[] = {
17401 (char *) "self",(char *) "col", NULL
17402 };
17403
17404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17406 {
17407 arg2 = &temp2;
17408 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17409 }
17410 {
17411 PyThreadState* __tstate = wxPyBeginAllowThreads();
17412 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17413
17414 wxPyEndAllowThreads(__tstate);
17415 if (PyErr_Occurred()) SWIG_fail;
17416 }
17417 resultobj = PyInt_FromLong((long)result);
17418 return resultobj;
17419 fail:
17420 return NULL;
17421 }
17422
17423
17424 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17425 PyObject *resultobj;
17426 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17427 int arg2 ;
17428 wxListItem *result;
17429 PyObject * obj0 = 0 ;
17430 char *kwnames[] = {
17431 (char *) "self",(char *) "col", NULL
17432 };
17433
17434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17436 {
17437 PyThreadState* __tstate = wxPyBeginAllowThreads();
17438 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17439
17440 wxPyEndAllowThreads(__tstate);
17441 if (PyErr_Occurred()) SWIG_fail;
17442 }
17443 {
17444 resultobj = wxPyMake_wxObject(result);
17445 }
17446 return resultobj;
17447 fail:
17448 return NULL;
17449 }
17450
17451
17452 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17453 PyObject *resultobj;
17454 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17455 int arg2 ;
17456 wxListItem *arg3 = 0 ;
17457 bool result;
17458 PyObject * obj0 = 0 ;
17459 PyObject * obj2 = 0 ;
17460 char *kwnames[] = {
17461 (char *) "self",(char *) "col",(char *) "item", NULL
17462 };
17463
17464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17466 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17467 if (arg3 == NULL) {
17468 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17469 }
17470 {
17471 PyThreadState* __tstate = wxPyBeginAllowThreads();
17472 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17473
17474 wxPyEndAllowThreads(__tstate);
17475 if (PyErr_Occurred()) SWIG_fail;
17476 }
17477 resultobj = PyInt_FromLong((long)result);
17478 return resultobj;
17479 fail:
17480 return NULL;
17481 }
17482
17483
17484 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17485 PyObject *resultobj;
17486 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17487 int arg2 ;
17488 int result;
17489 PyObject * obj0 = 0 ;
17490 char *kwnames[] = {
17491 (char *) "self",(char *) "col", NULL
17492 };
17493
17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17496 {
17497 PyThreadState* __tstate = wxPyBeginAllowThreads();
17498 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(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
17510 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17511 PyObject *resultobj;
17512 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17513 int arg2 ;
17514 int arg3 ;
17515 bool result;
17516 PyObject * obj0 = 0 ;
17517 char *kwnames[] = {
17518 (char *) "self",(char *) "col",(char *) "width", NULL
17519 };
17520
17521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17526
17527 wxPyEndAllowThreads(__tstate);
17528 if (PyErr_Occurred()) SWIG_fail;
17529 }
17530 resultobj = PyInt_FromLong((long)result);
17531 return resultobj;
17532 fail:
17533 return NULL;
17534 }
17535
17536
17537 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17538 PyObject *resultobj;
17539 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17540 int result;
17541 PyObject * obj0 = 0 ;
17542 char *kwnames[] = {
17543 (char *) "self", NULL
17544 };
17545
17546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17548 {
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17551
17552 wxPyEndAllowThreads(__tstate);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 }
17555 resultobj = PyInt_FromLong((long)result);
17556 return resultobj;
17557 fail:
17558 return NULL;
17559 }
17560
17561
17562 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17563 PyObject *resultobj;
17564 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17565 wxRect result;
17566 PyObject * obj0 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "self", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 {
17581 wxRect * resultptr;
17582 resultptr = new wxRect((wxRect &) result);
17583 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17584 }
17585 return resultobj;
17586 fail:
17587 return NULL;
17588 }
17589
17590
17591 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17592 PyObject *resultobj;
17593 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17594 long arg2 ;
17595 int arg3 = (int) 0 ;
17596 wxListItem *result;
17597 PyObject * obj0 = 0 ;
17598 char *kwnames[] = {
17599 (char *) "self",(char *) "itemId",(char *) "col", NULL
17600 };
17601
17602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17604 {
17605 PyThreadState* __tstate = wxPyBeginAllowThreads();
17606 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17607
17608 wxPyEndAllowThreads(__tstate);
17609 if (PyErr_Occurred()) SWIG_fail;
17610 }
17611 {
17612 resultobj = wxPyMake_wxObject(result);
17613 }
17614 return resultobj;
17615 fail:
17616 return NULL;
17617 }
17618
17619
17620 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17621 PyObject *resultobj;
17622 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17623 wxListItem *arg2 = 0 ;
17624 bool result;
17625 PyObject * obj0 = 0 ;
17626 PyObject * obj1 = 0 ;
17627 char *kwnames[] = {
17628 (char *) "self",(char *) "info", NULL
17629 };
17630
17631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17633 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17634 if (arg2 == NULL) {
17635 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17636 }
17637 {
17638 PyThreadState* __tstate = wxPyBeginAllowThreads();
17639 result = (bool)(arg1)->SetItem(*arg2);
17640
17641 wxPyEndAllowThreads(__tstate);
17642 if (PyErr_Occurred()) SWIG_fail;
17643 }
17644 resultobj = PyInt_FromLong((long)result);
17645 return resultobj;
17646 fail:
17647 return NULL;
17648 }
17649
17650
17651 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17652 PyObject *resultobj;
17653 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17654 long arg2 ;
17655 int arg3 ;
17656 wxString *arg4 = 0 ;
17657 int arg5 = (int) -1 ;
17658 long result;
17659 bool temp4 = False ;
17660 PyObject * obj0 = 0 ;
17661 PyObject * obj3 = 0 ;
17662 char *kwnames[] = {
17663 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17664 };
17665
17666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17668 {
17669 arg4 = wxString_in_helper(obj3);
17670 if (arg4 == NULL) SWIG_fail;
17671 temp4 = True;
17672 }
17673 {
17674 PyThreadState* __tstate = wxPyBeginAllowThreads();
17675 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17676
17677 wxPyEndAllowThreads(__tstate);
17678 if (PyErr_Occurred()) SWIG_fail;
17679 }
17680 resultobj = PyInt_FromLong((long)result);
17681 {
17682 if (temp4)
17683 delete arg4;
17684 }
17685 return resultobj;
17686 fail:
17687 {
17688 if (temp4)
17689 delete arg4;
17690 }
17691 return NULL;
17692 }
17693
17694
17695 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17696 PyObject *resultobj;
17697 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17698 long arg2 ;
17699 long arg3 ;
17700 int result;
17701 PyObject * obj0 = 0 ;
17702 char *kwnames[] = {
17703 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17704 };
17705
17706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17711
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 resultobj = PyInt_FromLong((long)result);
17716 return resultobj;
17717 fail:
17718 return NULL;
17719 }
17720
17721
17722 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17723 PyObject *resultobj;
17724 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17725 long arg2 ;
17726 long arg3 ;
17727 long arg4 ;
17728 bool result;
17729 PyObject * obj0 = 0 ;
17730 char *kwnames[] = {
17731 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17732 };
17733
17734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17736 {
17737 PyThreadState* __tstate = wxPyBeginAllowThreads();
17738 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17739
17740 wxPyEndAllowThreads(__tstate);
17741 if (PyErr_Occurred()) SWIG_fail;
17742 }
17743 resultobj = PyInt_FromLong((long)result);
17744 return resultobj;
17745 fail:
17746 return NULL;
17747 }
17748
17749
17750 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17751 PyObject *resultobj;
17752 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17753 long arg2 ;
17754 int arg3 ;
17755 int arg4 ;
17756 bool result;
17757 PyObject * obj0 = 0 ;
17758 char *kwnames[] = {
17759 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17760 };
17761
17762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17764 {
17765 PyThreadState* __tstate = wxPyBeginAllowThreads();
17766 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17767
17768 wxPyEndAllowThreads(__tstate);
17769 if (PyErr_Occurred()) SWIG_fail;
17770 }
17771 resultobj = PyInt_FromLong((long)result);
17772 return resultobj;
17773 fail:
17774 return NULL;
17775 }
17776
17777
17778 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17779 PyObject *resultobj;
17780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17781 long arg2 ;
17782 wxString result;
17783 PyObject * obj0 = 0 ;
17784 char *kwnames[] = {
17785 (char *) "self",(char *) "item", NULL
17786 };
17787
17788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17790 {
17791 PyThreadState* __tstate = wxPyBeginAllowThreads();
17792 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17793
17794 wxPyEndAllowThreads(__tstate);
17795 if (PyErr_Occurred()) SWIG_fail;
17796 }
17797 {
17798 #if wxUSE_UNICODE
17799 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17800 #else
17801 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17802 #endif
17803 }
17804 return resultobj;
17805 fail:
17806 return NULL;
17807 }
17808
17809
17810 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17811 PyObject *resultobj;
17812 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17813 long arg2 ;
17814 wxString *arg3 = 0 ;
17815 bool temp3 = False ;
17816 PyObject * obj0 = 0 ;
17817 PyObject * obj2 = 0 ;
17818 char *kwnames[] = {
17819 (char *) "self",(char *) "item",(char *) "str", NULL
17820 };
17821
17822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
17823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17824 {
17825 arg3 = wxString_in_helper(obj2);
17826 if (arg3 == NULL) SWIG_fail;
17827 temp3 = True;
17828 }
17829 {
17830 PyThreadState* __tstate = wxPyBeginAllowThreads();
17831 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
17832
17833 wxPyEndAllowThreads(__tstate);
17834 if (PyErr_Occurred()) SWIG_fail;
17835 }
17836 Py_INCREF(Py_None); resultobj = Py_None;
17837 {
17838 if (temp3)
17839 delete arg3;
17840 }
17841 return resultobj;
17842 fail:
17843 {
17844 if (temp3)
17845 delete arg3;
17846 }
17847 return NULL;
17848 }
17849
17850
17851 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17852 PyObject *resultobj;
17853 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17854 long arg2 ;
17855 long result;
17856 PyObject * obj0 = 0 ;
17857 char *kwnames[] = {
17858 (char *) "self",(char *) "item", NULL
17859 };
17860
17861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
17862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17863 {
17864 PyThreadState* __tstate = wxPyBeginAllowThreads();
17865 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
17866
17867 wxPyEndAllowThreads(__tstate);
17868 if (PyErr_Occurred()) SWIG_fail;
17869 }
17870 resultobj = PyInt_FromLong((long)result);
17871 return resultobj;
17872 fail:
17873 return NULL;
17874 }
17875
17876
17877 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17878 PyObject *resultobj;
17879 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17880 long arg2 ;
17881 long arg3 ;
17882 bool result;
17883 PyObject * obj0 = 0 ;
17884 char *kwnames[] = {
17885 (char *) "self",(char *) "item",(char *) "data", NULL
17886 };
17887
17888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
17889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17890 {
17891 PyThreadState* __tstate = wxPyBeginAllowThreads();
17892 result = (bool)(arg1)->SetItemData(arg2,arg3);
17893
17894 wxPyEndAllowThreads(__tstate);
17895 if (PyErr_Occurred()) SWIG_fail;
17896 }
17897 resultobj = PyInt_FromLong((long)result);
17898 return resultobj;
17899 fail:
17900 return NULL;
17901 }
17902
17903
17904 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17905 PyObject *resultobj;
17906 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17907 long arg2 ;
17908 wxPoint result;
17909 PyObject * obj0 = 0 ;
17910 char *kwnames[] = {
17911 (char *) "self",(char *) "item", NULL
17912 };
17913
17914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
17915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17916 {
17917 PyThreadState* __tstate = wxPyBeginAllowThreads();
17918 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
17919
17920 wxPyEndAllowThreads(__tstate);
17921 if (PyErr_Occurred()) SWIG_fail;
17922 }
17923 {
17924 wxPoint * resultptr;
17925 resultptr = new wxPoint((wxPoint &) result);
17926 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17927 }
17928 return resultobj;
17929 fail:
17930 return NULL;
17931 }
17932
17933
17934 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17935 PyObject *resultobj;
17936 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17937 long arg2 ;
17938 int arg3 = (int) wxLIST_RECT_BOUNDS ;
17939 wxRect result;
17940 PyObject * obj0 = 0 ;
17941 char *kwnames[] = {
17942 (char *) "self",(char *) "item",(char *) "code", NULL
17943 };
17944
17945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
17946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17947 {
17948 PyThreadState* __tstate = wxPyBeginAllowThreads();
17949 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
17950
17951 wxPyEndAllowThreads(__tstate);
17952 if (PyErr_Occurred()) SWIG_fail;
17953 }
17954 {
17955 wxRect * resultptr;
17956 resultptr = new wxRect((wxRect &) result);
17957 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17958 }
17959 return resultobj;
17960 fail:
17961 return NULL;
17962 }
17963
17964
17965 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17966 PyObject *resultobj;
17967 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17968 long arg2 ;
17969 wxPoint *arg3 = 0 ;
17970 bool result;
17971 wxPoint temp3 ;
17972 PyObject * obj0 = 0 ;
17973 PyObject * obj2 = 0 ;
17974 char *kwnames[] = {
17975 (char *) "self",(char *) "item",(char *) "pos", NULL
17976 };
17977
17978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
17979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17980 {
17981 arg3 = &temp3;
17982 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17983 }
17984 {
17985 PyThreadState* __tstate = wxPyBeginAllowThreads();
17986 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
17987
17988 wxPyEndAllowThreads(__tstate);
17989 if (PyErr_Occurred()) SWIG_fail;
17990 }
17991 resultobj = PyInt_FromLong((long)result);
17992 return resultobj;
17993 fail:
17994 return NULL;
17995 }
17996
17997
17998 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17999 PyObject *resultobj;
18000 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18001 int result;
18002 PyObject * obj0 = 0 ;
18003 char *kwnames[] = {
18004 (char *) "self", NULL
18005 };
18006
18007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18009 {
18010 PyThreadState* __tstate = wxPyBeginAllowThreads();
18011 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18012
18013 wxPyEndAllowThreads(__tstate);
18014 if (PyErr_Occurred()) SWIG_fail;
18015 }
18016 resultobj = PyInt_FromLong((long)result);
18017 return resultobj;
18018 fail:
18019 return NULL;
18020 }
18021
18022
18023 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18024 PyObject *resultobj;
18025 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18026 int result;
18027 PyObject * obj0 = 0 ;
18028 char *kwnames[] = {
18029 (char *) "self", NULL
18030 };
18031
18032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) 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 = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18037
18038 wxPyEndAllowThreads(__tstate);
18039 if (PyErr_Occurred()) SWIG_fail;
18040 }
18041 resultobj = PyInt_FromLong((long)result);
18042 return resultobj;
18043 fail:
18044 return NULL;
18045 }
18046
18047
18048 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18049 PyObject *resultobj;
18050 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18051 wxSize result;
18052 PyObject * obj0 = 0 ;
18053 char *kwnames[] = {
18054 (char *) "self", NULL
18055 };
18056
18057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18059 {
18060 PyThreadState* __tstate = wxPyBeginAllowThreads();
18061 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18062
18063 wxPyEndAllowThreads(__tstate);
18064 if (PyErr_Occurred()) SWIG_fail;
18065 }
18066 {
18067 wxSize * resultptr;
18068 resultptr = new wxSize((wxSize &) result);
18069 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18070 }
18071 return resultobj;
18072 fail:
18073 return NULL;
18074 }
18075
18076
18077 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18078 PyObject *resultobj;
18079 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18080 int arg2 ;
18081 bool arg3 = (bool) False ;
18082 PyObject * obj0 = 0 ;
18083 PyObject * obj2 = 0 ;
18084 char *kwnames[] = {
18085 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18086 };
18087
18088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
18089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18090 if (obj2) {
18091 arg3 = PyInt_AsLong(obj2) ? true : false;
18092 if (PyErr_Occurred()) SWIG_fail;
18093 }
18094 {
18095 PyThreadState* __tstate = wxPyBeginAllowThreads();
18096 (arg1)->SetItemSpacing(arg2,arg3);
18097
18098 wxPyEndAllowThreads(__tstate);
18099 if (PyErr_Occurred()) SWIG_fail;
18100 }
18101 Py_INCREF(Py_None); resultobj = Py_None;
18102 return resultobj;
18103 fail:
18104 return NULL;
18105 }
18106
18107
18108 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18109 PyObject *resultobj;
18110 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18111 int result;
18112 PyObject * obj0 = 0 ;
18113 char *kwnames[] = {
18114 (char *) "self", NULL
18115 };
18116
18117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18119 {
18120 PyThreadState* __tstate = wxPyBeginAllowThreads();
18121 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18122
18123 wxPyEndAllowThreads(__tstate);
18124 if (PyErr_Occurred()) SWIG_fail;
18125 }
18126 resultobj = PyInt_FromLong((long)result);
18127 return resultobj;
18128 fail:
18129 return NULL;
18130 }
18131
18132
18133 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18134 PyObject *resultobj;
18135 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18136 wxColour result;
18137 PyObject * obj0 = 0 ;
18138 char *kwnames[] = {
18139 (char *) "self", NULL
18140 };
18141
18142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18144 {
18145 PyThreadState* __tstate = wxPyBeginAllowThreads();
18146 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18147
18148 wxPyEndAllowThreads(__tstate);
18149 if (PyErr_Occurred()) SWIG_fail;
18150 }
18151 {
18152 wxColour * resultptr;
18153 resultptr = new wxColour((wxColour &) result);
18154 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18155 }
18156 return resultobj;
18157 fail:
18158 return NULL;
18159 }
18160
18161
18162 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18163 PyObject *resultobj;
18164 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18165 wxColour *arg2 = 0 ;
18166 wxColour temp2 ;
18167 PyObject * obj0 = 0 ;
18168 PyObject * obj1 = 0 ;
18169 char *kwnames[] = {
18170 (char *) "self",(char *) "col", NULL
18171 };
18172
18173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18175 {
18176 arg2 = &temp2;
18177 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18178 }
18179 {
18180 PyThreadState* __tstate = wxPyBeginAllowThreads();
18181 (arg1)->SetTextColour((wxColour const &)*arg2);
18182
18183 wxPyEndAllowThreads(__tstate);
18184 if (PyErr_Occurred()) SWIG_fail;
18185 }
18186 Py_INCREF(Py_None); resultobj = Py_None;
18187 return resultobj;
18188 fail:
18189 return NULL;
18190 }
18191
18192
18193 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18194 PyObject *resultobj;
18195 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18196 long result;
18197 PyObject * obj0 = 0 ;
18198 char *kwnames[] = {
18199 (char *) "self", NULL
18200 };
18201
18202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18204 {
18205 PyThreadState* __tstate = wxPyBeginAllowThreads();
18206 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18207
18208 wxPyEndAllowThreads(__tstate);
18209 if (PyErr_Occurred()) SWIG_fail;
18210 }
18211 resultobj = PyInt_FromLong((long)result);
18212 return resultobj;
18213 fail:
18214 return NULL;
18215 }
18216
18217
18218 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18219 PyObject *resultobj;
18220 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18221 long arg2 ;
18222 bool arg3 = (bool) True ;
18223 PyObject * obj0 = 0 ;
18224 PyObject * obj2 = 0 ;
18225 char *kwnames[] = {
18226 (char *) "self",(char *) "style",(char *) "add", NULL
18227 };
18228
18229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18231 if (obj2) {
18232 arg3 = PyInt_AsLong(obj2) ? true : false;
18233 if (PyErr_Occurred()) SWIG_fail;
18234 }
18235 {
18236 PyThreadState* __tstate = wxPyBeginAllowThreads();
18237 (arg1)->SetSingleStyle(arg2,arg3);
18238
18239 wxPyEndAllowThreads(__tstate);
18240 if (PyErr_Occurred()) SWIG_fail;
18241 }
18242 Py_INCREF(Py_None); resultobj = Py_None;
18243 return resultobj;
18244 fail:
18245 return NULL;
18246 }
18247
18248
18249 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18250 PyObject *resultobj;
18251 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18252 long arg2 ;
18253 PyObject * obj0 = 0 ;
18254 char *kwnames[] = {
18255 (char *) "self",(char *) "style", NULL
18256 };
18257
18258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18260 {
18261 PyThreadState* __tstate = wxPyBeginAllowThreads();
18262 (arg1)->SetWindowStyleFlag(arg2);
18263
18264 wxPyEndAllowThreads(__tstate);
18265 if (PyErr_Occurred()) SWIG_fail;
18266 }
18267 Py_INCREF(Py_None); resultobj = Py_None;
18268 return resultobj;
18269 fail:
18270 return NULL;
18271 }
18272
18273
18274 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18275 PyObject *resultobj;
18276 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18277 long arg2 ;
18278 int arg3 = (int) wxLIST_NEXT_ALL ;
18279 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18280 long result;
18281 PyObject * obj0 = 0 ;
18282 char *kwnames[] = {
18283 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18284 };
18285
18286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18288 {
18289 PyThreadState* __tstate = wxPyBeginAllowThreads();
18290 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18291
18292 wxPyEndAllowThreads(__tstate);
18293 if (PyErr_Occurred()) SWIG_fail;
18294 }
18295 resultobj = PyInt_FromLong((long)result);
18296 return resultobj;
18297 fail:
18298 return NULL;
18299 }
18300
18301
18302 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18303 PyObject *resultobj;
18304 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18305 int arg2 ;
18306 wxImageList *result;
18307 PyObject * obj0 = 0 ;
18308 char *kwnames[] = {
18309 (char *) "self",(char *) "which", NULL
18310 };
18311
18312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18314 {
18315 PyThreadState* __tstate = wxPyBeginAllowThreads();
18316 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18317
18318 wxPyEndAllowThreads(__tstate);
18319 if (PyErr_Occurred()) SWIG_fail;
18320 }
18321 {
18322 resultobj = wxPyMake_wxObject(result);
18323 }
18324 return resultobj;
18325 fail:
18326 return NULL;
18327 }
18328
18329
18330 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18331 PyObject *resultobj;
18332 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18333 wxImageList *arg2 = (wxImageList *) 0 ;
18334 int arg3 ;
18335 PyObject * obj0 = 0 ;
18336 PyObject * obj1 = 0 ;
18337 char *kwnames[] = {
18338 (char *) "self",(char *) "imageList",(char *) "which", NULL
18339 };
18340
18341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18343 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18344 {
18345 PyThreadState* __tstate = wxPyBeginAllowThreads();
18346 (arg1)->SetImageList(arg2,arg3);
18347
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 Py_INCREF(Py_None); resultobj = Py_None;
18352 return resultobj;
18353 fail:
18354 return NULL;
18355 }
18356
18357
18358 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18359 PyObject *resultobj;
18360 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18361 wxImageList *arg2 = (wxImageList *) 0 ;
18362 int arg3 ;
18363 PyObject * obj0 = 0 ;
18364 PyObject * obj1 = 0 ;
18365 char *kwnames[] = {
18366 (char *) "self",(char *) "imageList",(char *) "which", NULL
18367 };
18368
18369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18371 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18372 {
18373 PyThreadState* __tstate = wxPyBeginAllowThreads();
18374 (arg1)->AssignImageList(arg2,arg3);
18375
18376 wxPyEndAllowThreads(__tstate);
18377 if (PyErr_Occurred()) SWIG_fail;
18378 }
18379 Py_INCREF(Py_None); resultobj = Py_None;
18380 return resultobj;
18381 fail:
18382 return NULL;
18383 }
18384
18385
18386 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18387 PyObject *resultobj;
18388 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18389 bool result;
18390 PyObject * obj0 = 0 ;
18391 char *kwnames[] = {
18392 (char *) "self", NULL
18393 };
18394
18395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18397 {
18398 PyThreadState* __tstate = wxPyBeginAllowThreads();
18399 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18400
18401 wxPyEndAllowThreads(__tstate);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
18404 resultobj = PyInt_FromLong((long)result);
18405 return resultobj;
18406 fail:
18407 return NULL;
18408 }
18409
18410
18411 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18412 PyObject *resultobj;
18413 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18414 long arg2 ;
18415 PyObject * obj0 = 0 ;
18416 char *kwnames[] = {
18417 (char *) "self",(char *) "item", NULL
18418 };
18419
18420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18422 {
18423 PyThreadState* __tstate = wxPyBeginAllowThreads();
18424 (arg1)->RefreshItem(arg2);
18425
18426 wxPyEndAllowThreads(__tstate);
18427 if (PyErr_Occurred()) SWIG_fail;
18428 }
18429 Py_INCREF(Py_None); resultobj = Py_None;
18430 return resultobj;
18431 fail:
18432 return NULL;
18433 }
18434
18435
18436 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18437 PyObject *resultobj;
18438 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18439 long arg2 ;
18440 long arg3 ;
18441 PyObject * obj0 = 0 ;
18442 char *kwnames[] = {
18443 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18444 };
18445
18446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18448 {
18449 PyThreadState* __tstate = wxPyBeginAllowThreads();
18450 (arg1)->RefreshItems(arg2,arg3);
18451
18452 wxPyEndAllowThreads(__tstate);
18453 if (PyErr_Occurred()) SWIG_fail;
18454 }
18455 Py_INCREF(Py_None); resultobj = Py_None;
18456 return resultobj;
18457 fail:
18458 return NULL;
18459 }
18460
18461
18462 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18463 PyObject *resultobj;
18464 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18465 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18466 bool result;
18467 PyObject * obj0 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "self",(char *) "flag", NULL
18470 };
18471
18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18474 {
18475 PyThreadState* __tstate = wxPyBeginAllowThreads();
18476 result = (bool)(arg1)->Arrange(arg2);
18477
18478 wxPyEndAllowThreads(__tstate);
18479 if (PyErr_Occurred()) SWIG_fail;
18480 }
18481 resultobj = PyInt_FromLong((long)result);
18482 return resultobj;
18483 fail:
18484 return NULL;
18485 }
18486
18487
18488 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18489 PyObject *resultobj;
18490 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18491 long arg2 ;
18492 bool result;
18493 PyObject * obj0 = 0 ;
18494 char *kwnames[] = {
18495 (char *) "self",(char *) "item", NULL
18496 };
18497
18498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18500 {
18501 PyThreadState* __tstate = wxPyBeginAllowThreads();
18502 result = (bool)(arg1)->DeleteItem(arg2);
18503
18504 wxPyEndAllowThreads(__tstate);
18505 if (PyErr_Occurred()) SWIG_fail;
18506 }
18507 resultobj = PyInt_FromLong((long)result);
18508 return resultobj;
18509 fail:
18510 return NULL;
18511 }
18512
18513
18514 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18515 PyObject *resultobj;
18516 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18517 bool result;
18518 PyObject * obj0 = 0 ;
18519 char *kwnames[] = {
18520 (char *) "self", NULL
18521 };
18522
18523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18525 {
18526 PyThreadState* __tstate = wxPyBeginAllowThreads();
18527 result = (bool)(arg1)->DeleteAllItems();
18528
18529 wxPyEndAllowThreads(__tstate);
18530 if (PyErr_Occurred()) SWIG_fail;
18531 }
18532 resultobj = PyInt_FromLong((long)result);
18533 return resultobj;
18534 fail:
18535 return NULL;
18536 }
18537
18538
18539 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18540 PyObject *resultobj;
18541 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18542 int arg2 ;
18543 bool result;
18544 PyObject * obj0 = 0 ;
18545 char *kwnames[] = {
18546 (char *) "self",(char *) "col", NULL
18547 };
18548
18549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18551 {
18552 PyThreadState* __tstate = wxPyBeginAllowThreads();
18553 result = (bool)(arg1)->DeleteColumn(arg2);
18554
18555 wxPyEndAllowThreads(__tstate);
18556 if (PyErr_Occurred()) SWIG_fail;
18557 }
18558 resultobj = PyInt_FromLong((long)result);
18559 return resultobj;
18560 fail:
18561 return NULL;
18562 }
18563
18564
18565 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18566 PyObject *resultobj;
18567 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18568 bool result;
18569 PyObject * obj0 = 0 ;
18570 char *kwnames[] = {
18571 (char *) "self", NULL
18572 };
18573
18574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18576 {
18577 PyThreadState* __tstate = wxPyBeginAllowThreads();
18578 result = (bool)(arg1)->DeleteAllColumns();
18579
18580 wxPyEndAllowThreads(__tstate);
18581 if (PyErr_Occurred()) SWIG_fail;
18582 }
18583 resultobj = PyInt_FromLong((long)result);
18584 return resultobj;
18585 fail:
18586 return NULL;
18587 }
18588
18589
18590 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18591 PyObject *resultobj;
18592 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18593 PyObject * obj0 = 0 ;
18594 char *kwnames[] = {
18595 (char *) "self", NULL
18596 };
18597
18598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18600 {
18601 PyThreadState* __tstate = wxPyBeginAllowThreads();
18602 (arg1)->ClearAll();
18603
18604 wxPyEndAllowThreads(__tstate);
18605 if (PyErr_Occurred()) SWIG_fail;
18606 }
18607 Py_INCREF(Py_None); resultobj = Py_None;
18608 return resultobj;
18609 fail:
18610 return NULL;
18611 }
18612
18613
18614 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18615 PyObject *resultobj;
18616 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18617 long arg2 ;
18618 PyObject * obj0 = 0 ;
18619 char *kwnames[] = {
18620 (char *) "self",(char *) "item", NULL
18621 };
18622
18623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18625 {
18626 PyThreadState* __tstate = wxPyBeginAllowThreads();
18627 (arg1)->EditLabel(arg2);
18628
18629 wxPyEndAllowThreads(__tstate);
18630 if (PyErr_Occurred()) SWIG_fail;
18631 }
18632 Py_INCREF(Py_None); resultobj = Py_None;
18633 return resultobj;
18634 fail:
18635 return NULL;
18636 }
18637
18638
18639 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18640 PyObject *resultobj;
18641 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18642 long arg2 ;
18643 bool result;
18644 PyObject * obj0 = 0 ;
18645 char *kwnames[] = {
18646 (char *) "self",(char *) "item", NULL
18647 };
18648
18649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18651 {
18652 PyThreadState* __tstate = wxPyBeginAllowThreads();
18653 result = (bool)(arg1)->EnsureVisible(arg2);
18654
18655 wxPyEndAllowThreads(__tstate);
18656 if (PyErr_Occurred()) SWIG_fail;
18657 }
18658 resultobj = PyInt_FromLong((long)result);
18659 return resultobj;
18660 fail:
18661 return NULL;
18662 }
18663
18664
18665 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18666 PyObject *resultobj;
18667 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18668 long arg2 ;
18669 wxString *arg3 = 0 ;
18670 bool arg4 = (bool) False ;
18671 long result;
18672 bool temp3 = False ;
18673 PyObject * obj0 = 0 ;
18674 PyObject * obj2 = 0 ;
18675 PyObject * obj3 = 0 ;
18676 char *kwnames[] = {
18677 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18678 };
18679
18680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18682 {
18683 arg3 = wxString_in_helper(obj2);
18684 if (arg3 == NULL) SWIG_fail;
18685 temp3 = True;
18686 }
18687 if (obj3) {
18688 arg4 = PyInt_AsLong(obj3) ? true : false;
18689 if (PyErr_Occurred()) SWIG_fail;
18690 }
18691 {
18692 PyThreadState* __tstate = wxPyBeginAllowThreads();
18693 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18694
18695 wxPyEndAllowThreads(__tstate);
18696 if (PyErr_Occurred()) SWIG_fail;
18697 }
18698 resultobj = PyInt_FromLong((long)result);
18699 {
18700 if (temp3)
18701 delete arg3;
18702 }
18703 return resultobj;
18704 fail:
18705 {
18706 if (temp3)
18707 delete arg3;
18708 }
18709 return NULL;
18710 }
18711
18712
18713 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18714 PyObject *resultobj;
18715 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18716 long arg2 ;
18717 long arg3 ;
18718 long result;
18719 PyObject * obj0 = 0 ;
18720 char *kwnames[] = {
18721 (char *) "self",(char *) "start",(char *) "data", NULL
18722 };
18723
18724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18726 {
18727 PyThreadState* __tstate = wxPyBeginAllowThreads();
18728 result = (long)(arg1)->FindItem(arg2,arg3);
18729
18730 wxPyEndAllowThreads(__tstate);
18731 if (PyErr_Occurred()) SWIG_fail;
18732 }
18733 resultobj = PyInt_FromLong((long)result);
18734 return resultobj;
18735 fail:
18736 return NULL;
18737 }
18738
18739
18740 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18741 PyObject *resultobj;
18742 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18743 long arg2 ;
18744 wxPoint *arg3 = 0 ;
18745 int arg4 ;
18746 long result;
18747 wxPoint temp3 ;
18748 PyObject * obj0 = 0 ;
18749 PyObject * obj2 = 0 ;
18750 char *kwnames[] = {
18751 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18752 };
18753
18754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18756 {
18757 arg3 = &temp3;
18758 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18759 }
18760 {
18761 PyThreadState* __tstate = wxPyBeginAllowThreads();
18762 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18763
18764 wxPyEndAllowThreads(__tstate);
18765 if (PyErr_Occurred()) SWIG_fail;
18766 }
18767 resultobj = PyInt_FromLong((long)result);
18768 return resultobj;
18769 fail:
18770 return NULL;
18771 }
18772
18773
18774 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18775 PyObject *resultobj;
18776 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18777 wxPoint *arg2 = 0 ;
18778 int *arg3 = 0 ;
18779 long result;
18780 wxPoint temp2 ;
18781 int temp3 ;
18782 PyObject * obj0 = 0 ;
18783 PyObject * obj1 = 0 ;
18784 char *kwnames[] = {
18785 (char *) "self",(char *) "point", NULL
18786 };
18787
18788 arg3 = &temp3;
18789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18791 {
18792 arg2 = &temp2;
18793 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18794 }
18795 {
18796 PyThreadState* __tstate = wxPyBeginAllowThreads();
18797 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18798
18799 wxPyEndAllowThreads(__tstate);
18800 if (PyErr_Occurred()) SWIG_fail;
18801 }
18802 resultobj = PyInt_FromLong((long)result);
18803 {
18804 PyObject *o = PyInt_FromLong((long) (*arg3));
18805 resultobj = t_output_helper(resultobj,o);
18806 }
18807 return resultobj;
18808 fail:
18809 return NULL;
18810 }
18811
18812
18813 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18814 PyObject *resultobj;
18815 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18816 wxListItem *arg2 = 0 ;
18817 long result;
18818 PyObject * obj0 = 0 ;
18819 PyObject * obj1 = 0 ;
18820 char *kwnames[] = {
18821 (char *) "self",(char *) "info", NULL
18822 };
18823
18824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
18825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18826 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18827 if (arg2 == NULL) {
18828 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18829 }
18830 {
18831 PyThreadState* __tstate = wxPyBeginAllowThreads();
18832 result = (long)(arg1)->InsertItem(*arg2);
18833
18834 wxPyEndAllowThreads(__tstate);
18835 if (PyErr_Occurred()) SWIG_fail;
18836 }
18837 resultobj = PyInt_FromLong((long)result);
18838 return resultobj;
18839 fail:
18840 return NULL;
18841 }
18842
18843
18844 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18845 PyObject *resultobj;
18846 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18847 long arg2 ;
18848 wxString *arg3 = 0 ;
18849 long result;
18850 bool temp3 = False ;
18851 PyObject * obj0 = 0 ;
18852 PyObject * obj2 = 0 ;
18853 char *kwnames[] = {
18854 (char *) "self",(char *) "index",(char *) "label", NULL
18855 };
18856
18857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
18858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18859 {
18860 arg3 = wxString_in_helper(obj2);
18861 if (arg3 == NULL) SWIG_fail;
18862 temp3 = True;
18863 }
18864 {
18865 PyThreadState* __tstate = wxPyBeginAllowThreads();
18866 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
18867
18868 wxPyEndAllowThreads(__tstate);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 resultobj = PyInt_FromLong((long)result);
18872 {
18873 if (temp3)
18874 delete arg3;
18875 }
18876 return resultobj;
18877 fail:
18878 {
18879 if (temp3)
18880 delete arg3;
18881 }
18882 return NULL;
18883 }
18884
18885
18886 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18887 PyObject *resultobj;
18888 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18889 long arg2 ;
18890 int arg3 ;
18891 long result;
18892 PyObject * obj0 = 0 ;
18893 char *kwnames[] = {
18894 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
18895 };
18896
18897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18899 {
18900 PyThreadState* __tstate = wxPyBeginAllowThreads();
18901 result = (long)(arg1)->InsertItem(arg2,arg3);
18902
18903 wxPyEndAllowThreads(__tstate);
18904 if (PyErr_Occurred()) SWIG_fail;
18905 }
18906 resultobj = PyInt_FromLong((long)result);
18907 return resultobj;
18908 fail:
18909 return NULL;
18910 }
18911
18912
18913 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18914 PyObject *resultobj;
18915 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18916 long arg2 ;
18917 wxString *arg3 = 0 ;
18918 int arg4 ;
18919 long result;
18920 bool temp3 = False ;
18921 PyObject * obj0 = 0 ;
18922 PyObject * obj2 = 0 ;
18923 char *kwnames[] = {
18924 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
18925 };
18926
18927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18929 {
18930 arg3 = wxString_in_helper(obj2);
18931 if (arg3 == NULL) SWIG_fail;
18932 temp3 = True;
18933 }
18934 {
18935 PyThreadState* __tstate = wxPyBeginAllowThreads();
18936 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
18937
18938 wxPyEndAllowThreads(__tstate);
18939 if (PyErr_Occurred()) SWIG_fail;
18940 }
18941 resultobj = PyInt_FromLong((long)result);
18942 {
18943 if (temp3)
18944 delete arg3;
18945 }
18946 return resultobj;
18947 fail:
18948 {
18949 if (temp3)
18950 delete arg3;
18951 }
18952 return NULL;
18953 }
18954
18955
18956 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18957 PyObject *resultobj;
18958 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18959 long arg2 ;
18960 wxListItem *arg3 = 0 ;
18961 long result;
18962 PyObject * obj0 = 0 ;
18963 PyObject * obj2 = 0 ;
18964 char *kwnames[] = {
18965 (char *) "self",(char *) "col",(char *) "info", NULL
18966 };
18967
18968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
18969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18970 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18971 if (arg3 == NULL) {
18972 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18973 }
18974 {
18975 PyThreadState* __tstate = wxPyBeginAllowThreads();
18976 result = (long)(arg1)->InsertColumn(arg2,*arg3);
18977
18978 wxPyEndAllowThreads(__tstate);
18979 if (PyErr_Occurred()) SWIG_fail;
18980 }
18981 resultobj = PyInt_FromLong((long)result);
18982 return resultobj;
18983 fail:
18984 return NULL;
18985 }
18986
18987
18988 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18989 PyObject *resultobj;
18990 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18991 long arg2 ;
18992 wxString *arg3 = 0 ;
18993 int arg4 = (int) wxLIST_FORMAT_LEFT ;
18994 int arg5 = (int) -1 ;
18995 long result;
18996 bool temp3 = False ;
18997 PyObject * obj0 = 0 ;
18998 PyObject * obj2 = 0 ;
18999 char *kwnames[] = {
19000 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19001 };
19002
19003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19005 {
19006 arg3 = wxString_in_helper(obj2);
19007 if (arg3 == NULL) SWIG_fail;
19008 temp3 = True;
19009 }
19010 {
19011 PyThreadState* __tstate = wxPyBeginAllowThreads();
19012 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19013
19014 wxPyEndAllowThreads(__tstate);
19015 if (PyErr_Occurred()) SWIG_fail;
19016 }
19017 resultobj = PyInt_FromLong((long)result);
19018 {
19019 if (temp3)
19020 delete arg3;
19021 }
19022 return resultobj;
19023 fail:
19024 {
19025 if (temp3)
19026 delete arg3;
19027 }
19028 return NULL;
19029 }
19030
19031
19032 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj;
19034 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19035 long arg2 ;
19036 PyObject * obj0 = 0 ;
19037 char *kwnames[] = {
19038 (char *) "self",(char *) "count", NULL
19039 };
19040
19041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19043 {
19044 PyThreadState* __tstate = wxPyBeginAllowThreads();
19045 (arg1)->SetItemCount(arg2);
19046
19047 wxPyEndAllowThreads(__tstate);
19048 if (PyErr_Occurred()) SWIG_fail;
19049 }
19050 Py_INCREF(Py_None); resultobj = Py_None;
19051 return resultobj;
19052 fail:
19053 return NULL;
19054 }
19055
19056
19057 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19058 PyObject *resultobj;
19059 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19060 int arg2 ;
19061 int arg3 ;
19062 bool result;
19063 PyObject * obj0 = 0 ;
19064 char *kwnames[] = {
19065 (char *) "self",(char *) "dx",(char *) "dy", NULL
19066 };
19067
19068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19070 {
19071 PyThreadState* __tstate = wxPyBeginAllowThreads();
19072 result = (bool)(arg1)->ScrollList(arg2,arg3);
19073
19074 wxPyEndAllowThreads(__tstate);
19075 if (PyErr_Occurred()) SWIG_fail;
19076 }
19077 resultobj = PyInt_FromLong((long)result);
19078 return resultobj;
19079 fail:
19080 return NULL;
19081 }
19082
19083
19084 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19085 PyObject *resultobj;
19086 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19087 long arg2 ;
19088 wxColour *arg3 = 0 ;
19089 wxColour temp3 ;
19090 PyObject * obj0 = 0 ;
19091 PyObject * obj2 = 0 ;
19092 char *kwnames[] = {
19093 (char *) "self",(char *) "item",(char *) "col", NULL
19094 };
19095
19096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19098 {
19099 arg3 = &temp3;
19100 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19101 }
19102 {
19103 PyThreadState* __tstate = wxPyBeginAllowThreads();
19104 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19105
19106 wxPyEndAllowThreads(__tstate);
19107 if (PyErr_Occurred()) SWIG_fail;
19108 }
19109 Py_INCREF(Py_None); resultobj = Py_None;
19110 return resultobj;
19111 fail:
19112 return NULL;
19113 }
19114
19115
19116 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19117 PyObject *resultobj;
19118 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19119 long arg2 ;
19120 wxColour result;
19121 PyObject * obj0 = 0 ;
19122 char *kwnames[] = {
19123 (char *) "self",(char *) "item", NULL
19124 };
19125
19126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19128 {
19129 PyThreadState* __tstate = wxPyBeginAllowThreads();
19130 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19131
19132 wxPyEndAllowThreads(__tstate);
19133 if (PyErr_Occurred()) SWIG_fail;
19134 }
19135 {
19136 wxColour * resultptr;
19137 resultptr = new wxColour((wxColour &) result);
19138 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19139 }
19140 return resultobj;
19141 fail:
19142 return NULL;
19143 }
19144
19145
19146 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19147 PyObject *resultobj;
19148 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19149 long arg2 ;
19150 wxColour *arg3 = 0 ;
19151 wxColour temp3 ;
19152 PyObject * obj0 = 0 ;
19153 PyObject * obj2 = 0 ;
19154 char *kwnames[] = {
19155 (char *) "self",(char *) "item",(char *) "col", NULL
19156 };
19157
19158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19160 {
19161 arg3 = &temp3;
19162 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19163 }
19164 {
19165 PyThreadState* __tstate = wxPyBeginAllowThreads();
19166 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19167
19168 wxPyEndAllowThreads(__tstate);
19169 if (PyErr_Occurred()) SWIG_fail;
19170 }
19171 Py_INCREF(Py_None); resultobj = Py_None;
19172 return resultobj;
19173 fail:
19174 return NULL;
19175 }
19176
19177
19178 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19179 PyObject *resultobj;
19180 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19181 long arg2 ;
19182 wxColour result;
19183 PyObject * obj0 = 0 ;
19184 char *kwnames[] = {
19185 (char *) "self",(char *) "item", NULL
19186 };
19187
19188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19190 {
19191 PyThreadState* __tstate = wxPyBeginAllowThreads();
19192 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19193
19194 wxPyEndAllowThreads(__tstate);
19195 if (PyErr_Occurred()) SWIG_fail;
19196 }
19197 {
19198 wxColour * resultptr;
19199 resultptr = new wxColour((wxColour &) result);
19200 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19201 }
19202 return resultobj;
19203 fail:
19204 return NULL;
19205 }
19206
19207
19208 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19209 PyObject *resultobj;
19210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19211 PyObject *arg2 = (PyObject *) 0 ;
19212 bool result;
19213 PyObject * obj0 = 0 ;
19214 PyObject * obj1 = 0 ;
19215 char *kwnames[] = {
19216 (char *) "self",(char *) "func", NULL
19217 };
19218
19219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19221 arg2 = obj1;
19222 {
19223 PyThreadState* __tstate = wxPyBeginAllowThreads();
19224 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19225
19226 wxPyEndAllowThreads(__tstate);
19227 if (PyErr_Occurred()) SWIG_fail;
19228 }
19229 resultobj = PyInt_FromLong((long)result);
19230 return resultobj;
19231 fail:
19232 return NULL;
19233 }
19234
19235
19236 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19237 PyObject *resultobj;
19238 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19239 wxWindow *result;
19240 PyObject * obj0 = 0 ;
19241 char *kwnames[] = {
19242 (char *) "self", NULL
19243 };
19244
19245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19247 {
19248 PyThreadState* __tstate = wxPyBeginAllowThreads();
19249 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19250
19251 wxPyEndAllowThreads(__tstate);
19252 if (PyErr_Occurred()) SWIG_fail;
19253 }
19254 {
19255 resultobj = wxPyMake_wxObject(result);
19256 }
19257 return resultobj;
19258 fail:
19259 return NULL;
19260 }
19261
19262
19263 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19264 PyObject *obj;
19265 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19266 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19267 Py_INCREF(obj);
19268 return Py_BuildValue((char *)"");
19269 }
19270 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19271 PyObject *resultobj;
19272 wxWindow *arg1 = (wxWindow *) 0 ;
19273 int arg2 = (int) -1 ;
19274 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19275 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19276 wxSize const &arg4_defvalue = wxDefaultSize ;
19277 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19278 long arg5 = (long) wxLC_REPORT ;
19279 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19280 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19281 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19282 wxString *arg7 = (wxString *) &arg7_defvalue ;
19283 wxListView *result;
19284 wxPoint temp3 ;
19285 wxSize temp4 ;
19286 bool temp7 = False ;
19287 PyObject * obj0 = 0 ;
19288 PyObject * obj2 = 0 ;
19289 PyObject * obj3 = 0 ;
19290 PyObject * obj5 = 0 ;
19291 PyObject * obj6 = 0 ;
19292 char *kwnames[] = {
19293 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19294 };
19295
19296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19298 if (obj2) {
19299 {
19300 arg3 = &temp3;
19301 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19302 }
19303 }
19304 if (obj3) {
19305 {
19306 arg4 = &temp4;
19307 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19308 }
19309 }
19310 if (obj5) {
19311 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19312 if (arg6 == NULL) {
19313 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19314 }
19315 }
19316 if (obj6) {
19317 {
19318 arg7 = wxString_in_helper(obj6);
19319 if (arg7 == NULL) SWIG_fail;
19320 temp7 = True;
19321 }
19322 }
19323 {
19324 PyThreadState* __tstate = wxPyBeginAllowThreads();
19325 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19326
19327 wxPyEndAllowThreads(__tstate);
19328 if (PyErr_Occurred()) SWIG_fail;
19329 }
19330 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19331 {
19332 if (temp7)
19333 delete arg7;
19334 }
19335 return resultobj;
19336 fail:
19337 {
19338 if (temp7)
19339 delete arg7;
19340 }
19341 return NULL;
19342 }
19343
19344
19345 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19346 PyObject *resultobj;
19347 wxListView *result;
19348 char *kwnames[] = {
19349 NULL
19350 };
19351
19352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19353 {
19354 PyThreadState* __tstate = wxPyBeginAllowThreads();
19355 result = (wxListView *)new wxListView();
19356
19357 wxPyEndAllowThreads(__tstate);
19358 if (PyErr_Occurred()) SWIG_fail;
19359 }
19360 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19361 return resultobj;
19362 fail:
19363 return NULL;
19364 }
19365
19366
19367 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19368 PyObject *resultobj;
19369 wxListView *arg1 = (wxListView *) 0 ;
19370 wxWindow *arg2 = (wxWindow *) 0 ;
19371 int arg3 = (int) -1 ;
19372 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19373 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19374 wxSize const &arg5_defvalue = wxDefaultSize ;
19375 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19376 long arg6 = (long) wxLC_REPORT ;
19377 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19378 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19379 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19380 wxString *arg8 = (wxString *) &arg8_defvalue ;
19381 bool result;
19382 wxPoint temp4 ;
19383 wxSize temp5 ;
19384 bool temp8 = False ;
19385 PyObject * obj0 = 0 ;
19386 PyObject * obj1 = 0 ;
19387 PyObject * obj3 = 0 ;
19388 PyObject * obj4 = 0 ;
19389 PyObject * obj6 = 0 ;
19390 PyObject * obj7 = 0 ;
19391 char *kwnames[] = {
19392 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19393 };
19394
19395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19397 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19398 if (obj3) {
19399 {
19400 arg4 = &temp4;
19401 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19402 }
19403 }
19404 if (obj4) {
19405 {
19406 arg5 = &temp5;
19407 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19408 }
19409 }
19410 if (obj6) {
19411 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19412 if (arg7 == NULL) {
19413 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19414 }
19415 }
19416 if (obj7) {
19417 {
19418 arg8 = wxString_in_helper(obj7);
19419 if (arg8 == NULL) SWIG_fail;
19420 temp8 = True;
19421 }
19422 }
19423 {
19424 PyThreadState* __tstate = wxPyBeginAllowThreads();
19425 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19426
19427 wxPyEndAllowThreads(__tstate);
19428 if (PyErr_Occurred()) SWIG_fail;
19429 }
19430 resultobj = PyInt_FromLong((long)result);
19431 {
19432 if (temp8)
19433 delete arg8;
19434 }
19435 return resultobj;
19436 fail:
19437 {
19438 if (temp8)
19439 delete arg8;
19440 }
19441 return NULL;
19442 }
19443
19444
19445 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19446 PyObject *resultobj;
19447 wxListView *arg1 = (wxListView *) 0 ;
19448 long arg2 ;
19449 bool arg3 = (bool) True ;
19450 PyObject * obj0 = 0 ;
19451 PyObject * obj2 = 0 ;
19452 char *kwnames[] = {
19453 (char *) "self",(char *) "n",(char *) "on", NULL
19454 };
19455
19456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19458 if (obj2) {
19459 arg3 = PyInt_AsLong(obj2) ? true : false;
19460 if (PyErr_Occurred()) SWIG_fail;
19461 }
19462 {
19463 PyThreadState* __tstate = wxPyBeginAllowThreads();
19464 (arg1)->Select(arg2,arg3);
19465
19466 wxPyEndAllowThreads(__tstate);
19467 if (PyErr_Occurred()) SWIG_fail;
19468 }
19469 Py_INCREF(Py_None); resultobj = Py_None;
19470 return resultobj;
19471 fail:
19472 return NULL;
19473 }
19474
19475
19476 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19477 PyObject *resultobj;
19478 wxListView *arg1 = (wxListView *) 0 ;
19479 long arg2 ;
19480 PyObject * obj0 = 0 ;
19481 char *kwnames[] = {
19482 (char *) "self",(char *) "index", NULL
19483 };
19484
19485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19487 {
19488 PyThreadState* __tstate = wxPyBeginAllowThreads();
19489 (arg1)->Focus(arg2);
19490
19491 wxPyEndAllowThreads(__tstate);
19492 if (PyErr_Occurred()) SWIG_fail;
19493 }
19494 Py_INCREF(Py_None); resultobj = Py_None;
19495 return resultobj;
19496 fail:
19497 return NULL;
19498 }
19499
19500
19501 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19502 PyObject *resultobj;
19503 wxListView *arg1 = (wxListView *) 0 ;
19504 long result;
19505 PyObject * obj0 = 0 ;
19506 char *kwnames[] = {
19507 (char *) "self", NULL
19508 };
19509
19510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19512 {
19513 PyThreadState* __tstate = wxPyBeginAllowThreads();
19514 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19515
19516 wxPyEndAllowThreads(__tstate);
19517 if (PyErr_Occurred()) SWIG_fail;
19518 }
19519 resultobj = PyInt_FromLong((long)result);
19520 return resultobj;
19521 fail:
19522 return NULL;
19523 }
19524
19525
19526 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19527 PyObject *resultobj;
19528 wxListView *arg1 = (wxListView *) 0 ;
19529 long arg2 ;
19530 long result;
19531 PyObject * obj0 = 0 ;
19532 char *kwnames[] = {
19533 (char *) "self",(char *) "item", NULL
19534 };
19535
19536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19538 {
19539 PyThreadState* __tstate = wxPyBeginAllowThreads();
19540 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19541
19542 wxPyEndAllowThreads(__tstate);
19543 if (PyErr_Occurred()) SWIG_fail;
19544 }
19545 resultobj = PyInt_FromLong((long)result);
19546 return resultobj;
19547 fail:
19548 return NULL;
19549 }
19550
19551
19552 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19553 PyObject *resultobj;
19554 wxListView *arg1 = (wxListView *) 0 ;
19555 long result;
19556 PyObject * obj0 = 0 ;
19557 char *kwnames[] = {
19558 (char *) "self", NULL
19559 };
19560
19561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19563 {
19564 PyThreadState* __tstate = wxPyBeginAllowThreads();
19565 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19566
19567 wxPyEndAllowThreads(__tstate);
19568 if (PyErr_Occurred()) SWIG_fail;
19569 }
19570 resultobj = PyInt_FromLong((long)result);
19571 return resultobj;
19572 fail:
19573 return NULL;
19574 }
19575
19576
19577 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19578 PyObject *resultobj;
19579 wxListView *arg1 = (wxListView *) 0 ;
19580 long arg2 ;
19581 bool result;
19582 PyObject * obj0 = 0 ;
19583 char *kwnames[] = {
19584 (char *) "self",(char *) "index", NULL
19585 };
19586
19587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 result = (bool)(arg1)->IsSelected(arg2);
19592
19593 wxPyEndAllowThreads(__tstate);
19594 if (PyErr_Occurred()) SWIG_fail;
19595 }
19596 resultobj = PyInt_FromLong((long)result);
19597 return resultobj;
19598 fail:
19599 return NULL;
19600 }
19601
19602
19603 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19604 PyObject *resultobj;
19605 wxListView *arg1 = (wxListView *) 0 ;
19606 int arg2 ;
19607 int arg3 ;
19608 PyObject * obj0 = 0 ;
19609 char *kwnames[] = {
19610 (char *) "self",(char *) "col",(char *) "image", NULL
19611 };
19612
19613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19615 {
19616 PyThreadState* __tstate = wxPyBeginAllowThreads();
19617 (arg1)->SetColumnImage(arg2,arg3);
19618
19619 wxPyEndAllowThreads(__tstate);
19620 if (PyErr_Occurred()) SWIG_fail;
19621 }
19622 Py_INCREF(Py_None); resultobj = Py_None;
19623 return resultobj;
19624 fail:
19625 return NULL;
19626 }
19627
19628
19629 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19630 PyObject *resultobj;
19631 wxListView *arg1 = (wxListView *) 0 ;
19632 int arg2 ;
19633 PyObject * obj0 = 0 ;
19634 char *kwnames[] = {
19635 (char *) "self",(char *) "col", NULL
19636 };
19637
19638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19640 {
19641 PyThreadState* __tstate = wxPyBeginAllowThreads();
19642 (arg1)->ClearColumnImage(arg2);
19643
19644 wxPyEndAllowThreads(__tstate);
19645 if (PyErr_Occurred()) SWIG_fail;
19646 }
19647 Py_INCREF(Py_None); resultobj = Py_None;
19648 return resultobj;
19649 fail:
19650 return NULL;
19651 }
19652
19653
19654 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19655 PyObject *obj;
19656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19657 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19658 Py_INCREF(obj);
19659 return Py_BuildValue((char *)"");
19660 }
19661 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19662 PyObject *resultobj;
19663 wxTreeItemId *result;
19664 char *kwnames[] = {
19665 NULL
19666 };
19667
19668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19669 {
19670 PyThreadState* __tstate = wxPyBeginAllowThreads();
19671 result = (wxTreeItemId *)new wxTreeItemId();
19672
19673 wxPyEndAllowThreads(__tstate);
19674 if (PyErr_Occurred()) SWIG_fail;
19675 }
19676 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19677 return resultobj;
19678 fail:
19679 return NULL;
19680 }
19681
19682
19683 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19684 PyObject *resultobj;
19685 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19686 PyObject * obj0 = 0 ;
19687 char *kwnames[] = {
19688 (char *) "self", NULL
19689 };
19690
19691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19693 {
19694 PyThreadState* __tstate = wxPyBeginAllowThreads();
19695 delete arg1;
19696
19697 wxPyEndAllowThreads(__tstate);
19698 if (PyErr_Occurred()) SWIG_fail;
19699 }
19700 Py_INCREF(Py_None); resultobj = Py_None;
19701 return resultobj;
19702 fail:
19703 return NULL;
19704 }
19705
19706
19707 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19708 PyObject *resultobj;
19709 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19710 bool result;
19711 PyObject * obj0 = 0 ;
19712 char *kwnames[] = {
19713 (char *) "self", NULL
19714 };
19715
19716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19718 {
19719 PyThreadState* __tstate = wxPyBeginAllowThreads();
19720 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19721
19722 wxPyEndAllowThreads(__tstate);
19723 if (PyErr_Occurred()) SWIG_fail;
19724 }
19725 resultobj = PyInt_FromLong((long)result);
19726 return resultobj;
19727 fail:
19728 return NULL;
19729 }
19730
19731
19732 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19733 PyObject *resultobj;
19734 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19735 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19736 bool result;
19737 PyObject * obj0 = 0 ;
19738 PyObject * obj1 = 0 ;
19739 char *kwnames[] = {
19740 (char *) "self",(char *) "other", NULL
19741 };
19742
19743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19745 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19746 {
19747 PyThreadState* __tstate = wxPyBeginAllowThreads();
19748 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19749
19750 wxPyEndAllowThreads(__tstate);
19751 if (PyErr_Occurred()) SWIG_fail;
19752 }
19753 resultobj = PyInt_FromLong((long)result);
19754 return resultobj;
19755 fail:
19756 return NULL;
19757 }
19758
19759
19760 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19761 PyObject *resultobj;
19762 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19763 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19764 bool result;
19765 PyObject * obj0 = 0 ;
19766 PyObject * obj1 = 0 ;
19767 char *kwnames[] = {
19768 (char *) "self",(char *) "other", NULL
19769 };
19770
19771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19773 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19774 {
19775 PyThreadState* __tstate = wxPyBeginAllowThreads();
19776 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19777
19778 wxPyEndAllowThreads(__tstate);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 }
19781 resultobj = PyInt_FromLong((long)result);
19782 return resultobj;
19783 fail:
19784 return NULL;
19785 }
19786
19787
19788 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19789 PyObject *resultobj;
19790 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19791 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19792 PyObject * obj0 = 0 ;
19793 PyObject * obj1 = 0 ;
19794 char *kwnames[] = {
19795 (char *) "self",(char *) "m_pItem", NULL
19796 };
19797
19798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19800 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19801 if (arg1) (arg1)->m_pItem = arg2;
19802
19803 Py_INCREF(Py_None); resultobj = Py_None;
19804 return resultobj;
19805 fail:
19806 return NULL;
19807 }
19808
19809
19810 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19811 PyObject *resultobj;
19812 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19813 wxTreeItemIdValue result;
19814 PyObject * obj0 = 0 ;
19815 char *kwnames[] = {
19816 (char *) "self", NULL
19817 };
19818
19819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
19820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19821 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
19822
19823 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
19824 return resultobj;
19825 fail:
19826 return NULL;
19827 }
19828
19829
19830 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
19831 PyObject *obj;
19832 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19833 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
19834 Py_INCREF(obj);
19835 return Py_BuildValue((char *)"");
19836 }
19837 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19838 PyObject *resultobj;
19839 PyObject *arg1 = (PyObject *) NULL ;
19840 wxPyTreeItemData *result;
19841 PyObject * obj0 = 0 ;
19842 char *kwnames[] = {
19843 (char *) "obj", NULL
19844 };
19845
19846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
19847 if (obj0) {
19848 arg1 = obj0;
19849 }
19850 {
19851 PyThreadState* __tstate = wxPyBeginAllowThreads();
19852 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
19853
19854 wxPyEndAllowThreads(__tstate);
19855 if (PyErr_Occurred()) SWIG_fail;
19856 }
19857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
19858 return resultobj;
19859 fail:
19860 return NULL;
19861 }
19862
19863
19864 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19865 PyObject *resultobj;
19866 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19867 PyObject *result;
19868 PyObject * obj0 = 0 ;
19869 char *kwnames[] = {
19870 (char *) "self", NULL
19871 };
19872
19873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
19874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19875 {
19876 PyThreadState* __tstate = wxPyBeginAllowThreads();
19877 result = (PyObject *)(arg1)->GetData();
19878
19879 wxPyEndAllowThreads(__tstate);
19880 if (PyErr_Occurred()) SWIG_fail;
19881 }
19882 resultobj = result;
19883 return resultobj;
19884 fail:
19885 return NULL;
19886 }
19887
19888
19889 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19890 PyObject *resultobj;
19891 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19892 PyObject *arg2 = (PyObject *) 0 ;
19893 PyObject * obj0 = 0 ;
19894 PyObject * obj1 = 0 ;
19895 char *kwnames[] = {
19896 (char *) "self",(char *) "obj", NULL
19897 };
19898
19899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
19900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19901 arg2 = obj1;
19902 {
19903 PyThreadState* __tstate = wxPyBeginAllowThreads();
19904 (arg1)->SetData(arg2);
19905
19906 wxPyEndAllowThreads(__tstate);
19907 if (PyErr_Occurred()) SWIG_fail;
19908 }
19909 Py_INCREF(Py_None); resultobj = Py_None;
19910 return resultobj;
19911 fail:
19912 return NULL;
19913 }
19914
19915
19916 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19917 PyObject *resultobj;
19918 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19919 wxTreeItemId *result;
19920 PyObject * obj0 = 0 ;
19921 char *kwnames[] = {
19922 (char *) "self", NULL
19923 };
19924
19925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
19926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19927 {
19928 PyThreadState* __tstate = wxPyBeginAllowThreads();
19929 {
19930 wxTreeItemId const &_result_ref = (arg1)->GetId();
19931 result = (wxTreeItemId *) &_result_ref;
19932 }
19933
19934 wxPyEndAllowThreads(__tstate);
19935 if (PyErr_Occurred()) SWIG_fail;
19936 }
19937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
19938 return resultobj;
19939 fail:
19940 return NULL;
19941 }
19942
19943
19944 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19945 PyObject *resultobj;
19946 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19947 wxTreeItemId *arg2 = 0 ;
19948 PyObject * obj0 = 0 ;
19949 PyObject * obj1 = 0 ;
19950 char *kwnames[] = {
19951 (char *) "self",(char *) "id", NULL
19952 };
19953
19954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
19955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19957 if (arg2 == NULL) {
19958 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19959 }
19960 {
19961 PyThreadState* __tstate = wxPyBeginAllowThreads();
19962 (arg1)->SetId((wxTreeItemId const &)*arg2);
19963
19964 wxPyEndAllowThreads(__tstate);
19965 if (PyErr_Occurred()) SWIG_fail;
19966 }
19967 Py_INCREF(Py_None); resultobj = Py_None;
19968 return resultobj;
19969 fail:
19970 return NULL;
19971 }
19972
19973
19974 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19975 PyObject *resultobj;
19976 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19977 PyObject * obj0 = 0 ;
19978 char *kwnames[] = {
19979 (char *) "self", NULL
19980 };
19981
19982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
19983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19984 {
19985 PyThreadState* __tstate = wxPyBeginAllowThreads();
19986 wxPyTreeItemData_Destroy(arg1);
19987
19988 wxPyEndAllowThreads(__tstate);
19989 if (PyErr_Occurred()) SWIG_fail;
19990 }
19991 Py_INCREF(Py_None); resultobj = Py_None;
19992 return resultobj;
19993 fail:
19994 return NULL;
19995 }
19996
19997
19998 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
19999 PyObject *obj;
20000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20001 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20002 Py_INCREF(obj);
20003 return Py_BuildValue((char *)"");
20004 }
20005 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20006 PyObject *resultobj;
20007 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20008 int arg2 = (int) 0 ;
20009 wxTreeEvent *result;
20010 char *kwnames[] = {
20011 (char *) "commandType",(char *) "id", NULL
20012 };
20013
20014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20015 {
20016 PyThreadState* __tstate = wxPyBeginAllowThreads();
20017 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20018
20019 wxPyEndAllowThreads(__tstate);
20020 if (PyErr_Occurred()) SWIG_fail;
20021 }
20022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20023 return resultobj;
20024 fail:
20025 return NULL;
20026 }
20027
20028
20029 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20030 PyObject *resultobj;
20031 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20032 wxTreeItemId result;
20033 PyObject * obj0 = 0 ;
20034 char *kwnames[] = {
20035 (char *) "self", NULL
20036 };
20037
20038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20040 {
20041 PyThreadState* __tstate = wxPyBeginAllowThreads();
20042 result = ((wxTreeEvent const *)arg1)->GetItem();
20043
20044 wxPyEndAllowThreads(__tstate);
20045 if (PyErr_Occurred()) SWIG_fail;
20046 }
20047 {
20048 wxTreeItemId * resultptr;
20049 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20050 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20051 }
20052 return resultobj;
20053 fail:
20054 return NULL;
20055 }
20056
20057
20058 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj;
20060 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20061 wxTreeItemId *arg2 = 0 ;
20062 PyObject * obj0 = 0 ;
20063 PyObject * obj1 = 0 ;
20064 char *kwnames[] = {
20065 (char *) "self",(char *) "item", NULL
20066 };
20067
20068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20070 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20071 if (arg2 == NULL) {
20072 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20073 }
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 Py_INCREF(Py_None); resultobj = Py_None;
20082 return resultobj;
20083 fail:
20084 return NULL;
20085 }
20086
20087
20088 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20089 PyObject *resultobj;
20090 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20091 wxTreeItemId result;
20092 PyObject * obj0 = 0 ;
20093 char *kwnames[] = {
20094 (char *) "self", NULL
20095 };
20096
20097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20099 {
20100 PyThreadState* __tstate = wxPyBeginAllowThreads();
20101 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20102
20103 wxPyEndAllowThreads(__tstate);
20104 if (PyErr_Occurred()) SWIG_fail;
20105 }
20106 {
20107 wxTreeItemId * resultptr;
20108 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20109 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20110 }
20111 return resultobj;
20112 fail:
20113 return NULL;
20114 }
20115
20116
20117 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20118 PyObject *resultobj;
20119 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20120 wxTreeItemId *arg2 = 0 ;
20121 PyObject * obj0 = 0 ;
20122 PyObject * obj1 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self",(char *) "item", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20129 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20130 if (arg2 == NULL) {
20131 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20132 }
20133 {
20134 PyThreadState* __tstate = wxPyBeginAllowThreads();
20135 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20136
20137 wxPyEndAllowThreads(__tstate);
20138 if (PyErr_Occurred()) SWIG_fail;
20139 }
20140 Py_INCREF(Py_None); resultobj = Py_None;
20141 return resultobj;
20142 fail:
20143 return NULL;
20144 }
20145
20146
20147 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20148 PyObject *resultobj;
20149 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20150 wxPoint result;
20151 PyObject * obj0 = 0 ;
20152 char *kwnames[] = {
20153 (char *) "self", NULL
20154 };
20155
20156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",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)->GetPoint();
20161
20162 wxPyEndAllowThreads(__tstate);
20163 if (PyErr_Occurred()) SWIG_fail;
20164 }
20165 {
20166 wxPoint * resultptr;
20167 resultptr = new wxPoint((wxPoint &) result);
20168 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20169 }
20170 return resultobj;
20171 fail:
20172 return NULL;
20173 }
20174
20175
20176 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20177 PyObject *resultobj;
20178 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20179 wxPoint *arg2 = 0 ;
20180 wxPoint temp2 ;
20181 PyObject * obj0 = 0 ;
20182 PyObject * obj1 = 0 ;
20183 char *kwnames[] = {
20184 (char *) "self",(char *) "pt", NULL
20185 };
20186
20187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20189 {
20190 arg2 = &temp2;
20191 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20192 }
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 (arg1)->SetPoint((wxPoint const &)*arg2);
20196
20197 wxPyEndAllowThreads(__tstate);
20198 if (PyErr_Occurred()) SWIG_fail;
20199 }
20200 Py_INCREF(Py_None); resultobj = Py_None;
20201 return resultobj;
20202 fail:
20203 return NULL;
20204 }
20205
20206
20207 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20208 PyObject *resultobj;
20209 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20210 wxKeyEvent *result;
20211 PyObject * obj0 = 0 ;
20212 char *kwnames[] = {
20213 (char *) "self", NULL
20214 };
20215
20216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20218 {
20219 PyThreadState* __tstate = wxPyBeginAllowThreads();
20220 {
20221 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20222 result = (wxKeyEvent *) &_result_ref;
20223 }
20224
20225 wxPyEndAllowThreads(__tstate);
20226 if (PyErr_Occurred()) SWIG_fail;
20227 }
20228 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20229 return resultobj;
20230 fail:
20231 return NULL;
20232 }
20233
20234
20235 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20236 PyObject *resultobj;
20237 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20238 int result;
20239 PyObject * obj0 = 0 ;
20240 char *kwnames[] = {
20241 (char *) "self", NULL
20242 };
20243
20244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20246 {
20247 PyThreadState* __tstate = wxPyBeginAllowThreads();
20248 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20249
20250 wxPyEndAllowThreads(__tstate);
20251 if (PyErr_Occurred()) SWIG_fail;
20252 }
20253 resultobj = PyInt_FromLong((long)result);
20254 return resultobj;
20255 fail:
20256 return NULL;
20257 }
20258
20259
20260 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20261 PyObject *resultobj;
20262 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20263 wxKeyEvent *arg2 = 0 ;
20264 PyObject * obj0 = 0 ;
20265 PyObject * obj1 = 0 ;
20266 char *kwnames[] = {
20267 (char *) "self",(char *) "evt", NULL
20268 };
20269
20270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20273 if (arg2 == NULL) {
20274 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20275 }
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20279
20280 wxPyEndAllowThreads(__tstate);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 }
20283 Py_INCREF(Py_None); resultobj = Py_None;
20284 return resultobj;
20285 fail:
20286 return NULL;
20287 }
20288
20289
20290 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20291 PyObject *resultobj;
20292 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20293 wxString *result;
20294 PyObject * obj0 = 0 ;
20295 char *kwnames[] = {
20296 (char *) "self", NULL
20297 };
20298
20299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20301 {
20302 PyThreadState* __tstate = wxPyBeginAllowThreads();
20303 {
20304 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20305 result = (wxString *) &_result_ref;
20306 }
20307
20308 wxPyEndAllowThreads(__tstate);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 }
20311 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
20312 return resultobj;
20313 fail:
20314 return NULL;
20315 }
20316
20317
20318 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20319 PyObject *resultobj;
20320 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20321 wxString *arg2 = 0 ;
20322 bool temp2 = False ;
20323 PyObject * obj0 = 0 ;
20324 PyObject * obj1 = 0 ;
20325 char *kwnames[] = {
20326 (char *) "self",(char *) "label", NULL
20327 };
20328
20329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20331 {
20332 arg2 = wxString_in_helper(obj1);
20333 if (arg2 == NULL) SWIG_fail;
20334 temp2 = True;
20335 }
20336 {
20337 PyThreadState* __tstate = wxPyBeginAllowThreads();
20338 (arg1)->SetLabel((wxString const &)*arg2);
20339
20340 wxPyEndAllowThreads(__tstate);
20341 if (PyErr_Occurred()) SWIG_fail;
20342 }
20343 Py_INCREF(Py_None); resultobj = Py_None;
20344 {
20345 if (temp2)
20346 delete arg2;
20347 }
20348 return resultobj;
20349 fail:
20350 {
20351 if (temp2)
20352 delete arg2;
20353 }
20354 return NULL;
20355 }
20356
20357
20358 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20359 PyObject *resultobj;
20360 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20361 bool result;
20362 PyObject * obj0 = 0 ;
20363 char *kwnames[] = {
20364 (char *) "self", NULL
20365 };
20366
20367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20369 {
20370 PyThreadState* __tstate = wxPyBeginAllowThreads();
20371 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20372
20373 wxPyEndAllowThreads(__tstate);
20374 if (PyErr_Occurred()) SWIG_fail;
20375 }
20376 resultobj = PyInt_FromLong((long)result);
20377 return resultobj;
20378 fail:
20379 return NULL;
20380 }
20381
20382
20383 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20384 PyObject *resultobj;
20385 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20386 bool arg2 ;
20387 PyObject * obj0 = 0 ;
20388 PyObject * obj1 = 0 ;
20389 char *kwnames[] = {
20390 (char *) "self",(char *) "editCancelled", NULL
20391 };
20392
20393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20395 arg2 = PyInt_AsLong(obj1) ? true : false;
20396 if (PyErr_Occurred()) SWIG_fail;
20397 {
20398 PyThreadState* __tstate = wxPyBeginAllowThreads();
20399 (arg1)->SetEditCanceled(arg2);
20400
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 Py_INCREF(Py_None); resultobj = Py_None;
20405 return resultobj;
20406 fail:
20407 return NULL;
20408 }
20409
20410
20411 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20412 PyObject *obj;
20413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20414 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20415 Py_INCREF(obj);
20416 return Py_BuildValue((char *)"");
20417 }
20418 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20419 PyObject *resultobj;
20420 wxWindow *arg1 = (wxWindow *) 0 ;
20421 int arg2 = (int) -1 ;
20422 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20423 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20424 wxSize const &arg4_defvalue = wxDefaultSize ;
20425 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20426 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20427 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20428 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20429 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20430 wxString *arg7 = (wxString *) &arg7_defvalue ;
20431 wxPyTreeCtrl *result;
20432 wxPoint temp3 ;
20433 wxSize temp4 ;
20434 bool temp7 = False ;
20435 PyObject * obj0 = 0 ;
20436 PyObject * obj2 = 0 ;
20437 PyObject * obj3 = 0 ;
20438 PyObject * obj5 = 0 ;
20439 PyObject * obj6 = 0 ;
20440 char *kwnames[] = {
20441 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20442 };
20443
20444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20446 if (obj2) {
20447 {
20448 arg3 = &temp3;
20449 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20450 }
20451 }
20452 if (obj3) {
20453 {
20454 arg4 = &temp4;
20455 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20456 }
20457 }
20458 if (obj5) {
20459 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20460 if (arg6 == NULL) {
20461 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20462 }
20463 }
20464 if (obj6) {
20465 {
20466 arg7 = wxString_in_helper(obj6);
20467 if (arg7 == NULL) SWIG_fail;
20468 temp7 = True;
20469 }
20470 }
20471 {
20472 PyThreadState* __tstate = wxPyBeginAllowThreads();
20473 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20474
20475 wxPyEndAllowThreads(__tstate);
20476 if (PyErr_Occurred()) SWIG_fail;
20477 }
20478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20479 {
20480 if (temp7)
20481 delete arg7;
20482 }
20483 return resultobj;
20484 fail:
20485 {
20486 if (temp7)
20487 delete arg7;
20488 }
20489 return NULL;
20490 }
20491
20492
20493 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20494 PyObject *resultobj;
20495 wxPyTreeCtrl *result;
20496 char *kwnames[] = {
20497 NULL
20498 };
20499
20500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20501 {
20502 PyThreadState* __tstate = wxPyBeginAllowThreads();
20503 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20504
20505 wxPyEndAllowThreads(__tstate);
20506 if (PyErr_Occurred()) SWIG_fail;
20507 }
20508 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20509 return resultobj;
20510 fail:
20511 return NULL;
20512 }
20513
20514
20515 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20516 PyObject *resultobj;
20517 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20518 wxWindow *arg2 = (wxWindow *) 0 ;
20519 int arg3 = (int) -1 ;
20520 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20521 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20522 wxSize const &arg5_defvalue = wxDefaultSize ;
20523 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20524 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20525 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20526 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20527 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20528 wxString *arg8 = (wxString *) &arg8_defvalue ;
20529 bool result;
20530 wxPoint temp4 ;
20531 wxSize temp5 ;
20532 bool temp8 = False ;
20533 PyObject * obj0 = 0 ;
20534 PyObject * obj1 = 0 ;
20535 PyObject * obj3 = 0 ;
20536 PyObject * obj4 = 0 ;
20537 PyObject * obj6 = 0 ;
20538 PyObject * obj7 = 0 ;
20539 char *kwnames[] = {
20540 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20541 };
20542
20543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20545 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20546 if (obj3) {
20547 {
20548 arg4 = &temp4;
20549 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20550 }
20551 }
20552 if (obj4) {
20553 {
20554 arg5 = &temp5;
20555 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20556 }
20557 }
20558 if (obj6) {
20559 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20560 if (arg7 == NULL) {
20561 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20562 }
20563 }
20564 if (obj7) {
20565 {
20566 arg8 = wxString_in_helper(obj7);
20567 if (arg8 == NULL) SWIG_fail;
20568 temp8 = True;
20569 }
20570 }
20571 {
20572 PyThreadState* __tstate = wxPyBeginAllowThreads();
20573 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20574
20575 wxPyEndAllowThreads(__tstate);
20576 if (PyErr_Occurred()) SWIG_fail;
20577 }
20578 resultobj = PyInt_FromLong((long)result);
20579 {
20580 if (temp8)
20581 delete arg8;
20582 }
20583 return resultobj;
20584 fail:
20585 {
20586 if (temp8)
20587 delete arg8;
20588 }
20589 return NULL;
20590 }
20591
20592
20593 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20594 PyObject *resultobj;
20595 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20596 PyObject *arg2 = (PyObject *) 0 ;
20597 PyObject *arg3 = (PyObject *) 0 ;
20598 PyObject * obj0 = 0 ;
20599 PyObject * obj1 = 0 ;
20600 PyObject * obj2 = 0 ;
20601 char *kwnames[] = {
20602 (char *) "self",(char *) "self",(char *) "_class", NULL
20603 };
20604
20605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20607 arg2 = obj1;
20608 arg3 = obj2;
20609 {
20610 PyThreadState* __tstate = wxPyBeginAllowThreads();
20611 (arg1)->_setCallbackInfo(arg2,arg3);
20612
20613 wxPyEndAllowThreads(__tstate);
20614 if (PyErr_Occurred()) SWIG_fail;
20615 }
20616 Py_INCREF(Py_None); resultobj = Py_None;
20617 return resultobj;
20618 fail:
20619 return NULL;
20620 }
20621
20622
20623 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20624 PyObject *resultobj;
20625 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20626 size_t result;
20627 PyObject * obj0 = 0 ;
20628 char *kwnames[] = {
20629 (char *) "self", NULL
20630 };
20631
20632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20634 {
20635 PyThreadState* __tstate = wxPyBeginAllowThreads();
20636 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20637
20638 wxPyEndAllowThreads(__tstate);
20639 if (PyErr_Occurred()) SWIG_fail;
20640 }
20641 resultobj = PyInt_FromLong((long)result);
20642 return resultobj;
20643 fail:
20644 return NULL;
20645 }
20646
20647
20648 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20649 PyObject *resultobj;
20650 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20651 unsigned int result;
20652 PyObject * obj0 = 0 ;
20653 char *kwnames[] = {
20654 (char *) "self", NULL
20655 };
20656
20657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20659 {
20660 PyThreadState* __tstate = wxPyBeginAllowThreads();
20661 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20662
20663 wxPyEndAllowThreads(__tstate);
20664 if (PyErr_Occurred()) SWIG_fail;
20665 }
20666 resultobj = PyInt_FromLong((long)result);
20667 return resultobj;
20668 fail:
20669 return NULL;
20670 }
20671
20672
20673 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20674 PyObject *resultobj;
20675 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20676 unsigned int arg2 ;
20677 PyObject * obj0 = 0 ;
20678 PyObject * obj1 = 0 ;
20679 char *kwnames[] = {
20680 (char *) "self",(char *) "indent", NULL
20681 };
20682
20683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20685 arg2 = (unsigned int) PyInt_AsLong(obj1);
20686 if (PyErr_Occurred()) SWIG_fail;
20687 {
20688 PyThreadState* __tstate = wxPyBeginAllowThreads();
20689 (arg1)->SetIndent(arg2);
20690
20691 wxPyEndAllowThreads(__tstate);
20692 if (PyErr_Occurred()) SWIG_fail;
20693 }
20694 Py_INCREF(Py_None); resultobj = Py_None;
20695 return resultobj;
20696 fail:
20697 return NULL;
20698 }
20699
20700
20701 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20702 PyObject *resultobj;
20703 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20704 unsigned int result;
20705 PyObject * obj0 = 0 ;
20706 char *kwnames[] = {
20707 (char *) "self", NULL
20708 };
20709
20710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20712 {
20713 PyThreadState* __tstate = wxPyBeginAllowThreads();
20714 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20715
20716 wxPyEndAllowThreads(__tstate);
20717 if (PyErr_Occurred()) SWIG_fail;
20718 }
20719 resultobj = PyInt_FromLong((long)result);
20720 return resultobj;
20721 fail:
20722 return NULL;
20723 }
20724
20725
20726 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20727 PyObject *resultobj;
20728 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20729 unsigned int arg2 ;
20730 PyObject * obj0 = 0 ;
20731 PyObject * obj1 = 0 ;
20732 char *kwnames[] = {
20733 (char *) "self",(char *) "spacing", NULL
20734 };
20735
20736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20738 arg2 = (unsigned int) PyInt_AsLong(obj1);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 (arg1)->SetSpacing(arg2);
20743
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 Py_INCREF(Py_None); resultobj = Py_None;
20748 return resultobj;
20749 fail:
20750 return NULL;
20751 }
20752
20753
20754 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20755 PyObject *resultobj;
20756 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20757 wxImageList *result;
20758 PyObject * obj0 = 0 ;
20759 char *kwnames[] = {
20760 (char *) "self", NULL
20761 };
20762
20763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20765 {
20766 PyThreadState* __tstate = wxPyBeginAllowThreads();
20767 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20768
20769 wxPyEndAllowThreads(__tstate);
20770 if (PyErr_Occurred()) SWIG_fail;
20771 }
20772 {
20773 resultobj = wxPyMake_wxObject(result);
20774 }
20775 return resultobj;
20776 fail:
20777 return NULL;
20778 }
20779
20780
20781 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20782 PyObject *resultobj;
20783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20784 wxImageList *result;
20785 PyObject * obj0 = 0 ;
20786 char *kwnames[] = {
20787 (char *) "self", NULL
20788 };
20789
20790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20792 {
20793 PyThreadState* __tstate = wxPyBeginAllowThreads();
20794 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
20795
20796 wxPyEndAllowThreads(__tstate);
20797 if (PyErr_Occurred()) SWIG_fail;
20798 }
20799 {
20800 resultobj = wxPyMake_wxObject(result);
20801 }
20802 return resultobj;
20803 fail:
20804 return NULL;
20805 }
20806
20807
20808 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20809 PyObject *resultobj;
20810 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20811 wxImageList *arg2 = (wxImageList *) 0 ;
20812 PyObject * obj0 = 0 ;
20813 PyObject * obj1 = 0 ;
20814 char *kwnames[] = {
20815 (char *) "self",(char *) "imageList", NULL
20816 };
20817
20818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
20819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20820 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20821 {
20822 PyThreadState* __tstate = wxPyBeginAllowThreads();
20823 (arg1)->SetImageList(arg2);
20824
20825 wxPyEndAllowThreads(__tstate);
20826 if (PyErr_Occurred()) SWIG_fail;
20827 }
20828 Py_INCREF(Py_None); resultobj = Py_None;
20829 return resultobj;
20830 fail:
20831 return NULL;
20832 }
20833
20834
20835 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20836 PyObject *resultobj;
20837 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20838 wxImageList *arg2 = (wxImageList *) 0 ;
20839 PyObject * obj0 = 0 ;
20840 PyObject * obj1 = 0 ;
20841 char *kwnames[] = {
20842 (char *) "self",(char *) "imageList", NULL
20843 };
20844
20845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
20846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20848 {
20849 PyThreadState* __tstate = wxPyBeginAllowThreads();
20850 (arg1)->SetStateImageList(arg2);
20851
20852 wxPyEndAllowThreads(__tstate);
20853 if (PyErr_Occurred()) SWIG_fail;
20854 }
20855 Py_INCREF(Py_None); resultobj = Py_None;
20856 return resultobj;
20857 fail:
20858 return NULL;
20859 }
20860
20861
20862 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20863 PyObject *resultobj;
20864 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20865 wxImageList *arg2 = (wxImageList *) 0 ;
20866 PyObject * obj0 = 0 ;
20867 PyObject * obj1 = 0 ;
20868 char *kwnames[] = {
20869 (char *) "self",(char *) "imageList", NULL
20870 };
20871
20872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
20873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20874 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20875 {
20876 PyThreadState* __tstate = wxPyBeginAllowThreads();
20877 (arg1)->AssignImageList(arg2);
20878
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 Py_INCREF(Py_None); resultobj = Py_None;
20883 return resultobj;
20884 fail:
20885 return NULL;
20886 }
20887
20888
20889 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20890 PyObject *resultobj;
20891 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20892 wxImageList *arg2 = (wxImageList *) 0 ;
20893 PyObject * obj0 = 0 ;
20894 PyObject * obj1 = 0 ;
20895 char *kwnames[] = {
20896 (char *) "self",(char *) "imageList", NULL
20897 };
20898
20899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
20900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20901 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20902 {
20903 PyThreadState* __tstate = wxPyBeginAllowThreads();
20904 (arg1)->AssignStateImageList(arg2);
20905
20906 wxPyEndAllowThreads(__tstate);
20907 if (PyErr_Occurred()) SWIG_fail;
20908 }
20909 Py_INCREF(Py_None); resultobj = Py_None;
20910 return resultobj;
20911 fail:
20912 return NULL;
20913 }
20914
20915
20916 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20917 PyObject *resultobj;
20918 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20919 wxTreeItemId *arg2 = 0 ;
20920 wxString result;
20921 PyObject * obj0 = 0 ;
20922 PyObject * obj1 = 0 ;
20923 char *kwnames[] = {
20924 (char *) "self",(char *) "item", NULL
20925 };
20926
20927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20929 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20930 if (arg2 == NULL) {
20931 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20932 }
20933 {
20934 PyThreadState* __tstate = wxPyBeginAllowThreads();
20935 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
20936
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 {
20941 #if wxUSE_UNICODE
20942 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20943 #else
20944 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20945 #endif
20946 }
20947 return resultobj;
20948 fail:
20949 return NULL;
20950 }
20951
20952
20953 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20954 PyObject *resultobj;
20955 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20956 wxTreeItemId *arg2 = 0 ;
20957 int arg3 = (int) wxTreeItemIcon_Normal ;
20958 int result;
20959 PyObject * obj0 = 0 ;
20960 PyObject * obj1 = 0 ;
20961 char *kwnames[] = {
20962 (char *) "self",(char *) "item",(char *) "which", NULL
20963 };
20964
20965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
20966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20968 if (arg2 == NULL) {
20969 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20970 }
20971 {
20972 PyThreadState* __tstate = wxPyBeginAllowThreads();
20973 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
20974
20975 wxPyEndAllowThreads(__tstate);
20976 if (PyErr_Occurred()) SWIG_fail;
20977 }
20978 resultobj = PyInt_FromLong((long)result);
20979 return resultobj;
20980 fail:
20981 return NULL;
20982 }
20983
20984
20985 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20986 PyObject *resultobj;
20987 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20988 wxTreeItemId *arg2 = 0 ;
20989 wxPyTreeItemData *result;
20990 PyObject * obj0 = 0 ;
20991 PyObject * obj1 = 0 ;
20992 char *kwnames[] = {
20993 (char *) "self",(char *) "item", NULL
20994 };
20995
20996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20998 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20999 if (arg2 == NULL) {
21000 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21001 }
21002 {
21003 PyThreadState* __tstate = wxPyBeginAllowThreads();
21004 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21005
21006 wxPyEndAllowThreads(__tstate);
21007 if (PyErr_Occurred()) SWIG_fail;
21008 }
21009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21010 return resultobj;
21011 fail:
21012 return NULL;
21013 }
21014
21015
21016 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21017 PyObject *resultobj;
21018 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21019 wxTreeItemId *arg2 = 0 ;
21020 PyObject *result;
21021 PyObject * obj0 = 0 ;
21022 PyObject * obj1 = 0 ;
21023 char *kwnames[] = {
21024 (char *) "self",(char *) "item", NULL
21025 };
21026
21027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21029 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21030 if (arg2 == NULL) {
21031 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21032 }
21033 {
21034 PyThreadState* __tstate = wxPyBeginAllowThreads();
21035 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21036
21037 wxPyEndAllowThreads(__tstate);
21038 if (PyErr_Occurred()) SWIG_fail;
21039 }
21040 resultobj = result;
21041 return resultobj;
21042 fail:
21043 return NULL;
21044 }
21045
21046
21047 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21048 PyObject *resultobj;
21049 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21050 wxTreeItemId *arg2 = 0 ;
21051 wxColour result;
21052 PyObject * obj0 = 0 ;
21053 PyObject * obj1 = 0 ;
21054 char *kwnames[] = {
21055 (char *) "self",(char *) "item", NULL
21056 };
21057
21058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21061 if (arg2 == NULL) {
21062 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21063 }
21064 {
21065 PyThreadState* __tstate = wxPyBeginAllowThreads();
21066 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21067
21068 wxPyEndAllowThreads(__tstate);
21069 if (PyErr_Occurred()) SWIG_fail;
21070 }
21071 {
21072 wxColour * resultptr;
21073 resultptr = new wxColour((wxColour &) result);
21074 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21075 }
21076 return resultobj;
21077 fail:
21078 return NULL;
21079 }
21080
21081
21082 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21083 PyObject *resultobj;
21084 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21085 wxTreeItemId *arg2 = 0 ;
21086 wxColour result;
21087 PyObject * obj0 = 0 ;
21088 PyObject * obj1 = 0 ;
21089 char *kwnames[] = {
21090 (char *) "self",(char *) "item", NULL
21091 };
21092
21093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21095 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21096 if (arg2 == NULL) {
21097 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21098 }
21099 {
21100 PyThreadState* __tstate = wxPyBeginAllowThreads();
21101 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21102
21103 wxPyEndAllowThreads(__tstate);
21104 if (PyErr_Occurred()) SWIG_fail;
21105 }
21106 {
21107 wxColour * resultptr;
21108 resultptr = new wxColour((wxColour &) result);
21109 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21110 }
21111 return resultobj;
21112 fail:
21113 return NULL;
21114 }
21115
21116
21117 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21118 PyObject *resultobj;
21119 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21120 wxTreeItemId *arg2 = 0 ;
21121 wxFont result;
21122 PyObject * obj0 = 0 ;
21123 PyObject * obj1 = 0 ;
21124 char *kwnames[] = {
21125 (char *) "self",(char *) "item", NULL
21126 };
21127
21128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21130 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21131 if (arg2 == NULL) {
21132 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21133 }
21134 {
21135 PyThreadState* __tstate = wxPyBeginAllowThreads();
21136 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21137
21138 wxPyEndAllowThreads(__tstate);
21139 if (PyErr_Occurred()) SWIG_fail;
21140 }
21141 {
21142 wxFont * resultptr;
21143 resultptr = new wxFont((wxFont &) result);
21144 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21145 }
21146 return resultobj;
21147 fail:
21148 return NULL;
21149 }
21150
21151
21152 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21153 PyObject *resultobj;
21154 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21155 wxTreeItemId *arg2 = 0 ;
21156 wxString *arg3 = 0 ;
21157 bool temp3 = False ;
21158 PyObject * obj0 = 0 ;
21159 PyObject * obj1 = 0 ;
21160 PyObject * obj2 = 0 ;
21161 char *kwnames[] = {
21162 (char *) "self",(char *) "item",(char *) "text", NULL
21163 };
21164
21165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21167 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21168 if (arg2 == NULL) {
21169 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21170 }
21171 {
21172 arg3 = wxString_in_helper(obj2);
21173 if (arg3 == NULL) SWIG_fail;
21174 temp3 = True;
21175 }
21176 {
21177 PyThreadState* __tstate = wxPyBeginAllowThreads();
21178 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21179
21180 wxPyEndAllowThreads(__tstate);
21181 if (PyErr_Occurred()) SWIG_fail;
21182 }
21183 Py_INCREF(Py_None); resultobj = Py_None;
21184 {
21185 if (temp3)
21186 delete arg3;
21187 }
21188 return resultobj;
21189 fail:
21190 {
21191 if (temp3)
21192 delete arg3;
21193 }
21194 return NULL;
21195 }
21196
21197
21198 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21199 PyObject *resultobj;
21200 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21201 wxTreeItemId *arg2 = 0 ;
21202 int arg3 ;
21203 int arg4 = (int) wxTreeItemIcon_Normal ;
21204 PyObject * obj0 = 0 ;
21205 PyObject * obj1 = 0 ;
21206 char *kwnames[] = {
21207 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21208 };
21209
21210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21212 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21213 if (arg2 == NULL) {
21214 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21215 }
21216 {
21217 PyThreadState* __tstate = wxPyBeginAllowThreads();
21218 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21219
21220 wxPyEndAllowThreads(__tstate);
21221 if (PyErr_Occurred()) SWIG_fail;
21222 }
21223 Py_INCREF(Py_None); resultobj = Py_None;
21224 return resultobj;
21225 fail:
21226 return NULL;
21227 }
21228
21229
21230 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21231 PyObject *resultobj;
21232 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21233 wxTreeItemId *arg2 = 0 ;
21234 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21235 PyObject * obj0 = 0 ;
21236 PyObject * obj1 = 0 ;
21237 PyObject * obj2 = 0 ;
21238 char *kwnames[] = {
21239 (char *) "self",(char *) "item",(char *) "data", NULL
21240 };
21241
21242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21245 if (arg2 == NULL) {
21246 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21247 }
21248 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21249 {
21250 PyThreadState* __tstate = wxPyBeginAllowThreads();
21251 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21252
21253 wxPyEndAllowThreads(__tstate);
21254 if (PyErr_Occurred()) SWIG_fail;
21255 }
21256 Py_INCREF(Py_None); resultobj = Py_None;
21257 return resultobj;
21258 fail:
21259 return NULL;
21260 }
21261
21262
21263 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21264 PyObject *resultobj;
21265 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21266 wxTreeItemId *arg2 = 0 ;
21267 PyObject *arg3 = (PyObject *) 0 ;
21268 PyObject * obj0 = 0 ;
21269 PyObject * obj1 = 0 ;
21270 PyObject * obj2 = 0 ;
21271 char *kwnames[] = {
21272 (char *) "self",(char *) "item",(char *) "obj", NULL
21273 };
21274
21275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21278 if (arg2 == NULL) {
21279 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21280 }
21281 arg3 = obj2;
21282 {
21283 PyThreadState* __tstate = wxPyBeginAllowThreads();
21284 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21285
21286 wxPyEndAllowThreads(__tstate);
21287 if (PyErr_Occurred()) SWIG_fail;
21288 }
21289 Py_INCREF(Py_None); resultobj = Py_None;
21290 return resultobj;
21291 fail:
21292 return NULL;
21293 }
21294
21295
21296 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21297 PyObject *resultobj;
21298 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21299 wxTreeItemId *arg2 = 0 ;
21300 bool arg3 = (bool) True ;
21301 PyObject * obj0 = 0 ;
21302 PyObject * obj1 = 0 ;
21303 PyObject * obj2 = 0 ;
21304 char *kwnames[] = {
21305 (char *) "self",(char *) "item",(char *) "has", NULL
21306 };
21307
21308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21310 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21311 if (arg2 == NULL) {
21312 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21313 }
21314 if (obj2) {
21315 arg3 = PyInt_AsLong(obj2) ? true : false;
21316 if (PyErr_Occurred()) SWIG_fail;
21317 }
21318 {
21319 PyThreadState* __tstate = wxPyBeginAllowThreads();
21320 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21321
21322 wxPyEndAllowThreads(__tstate);
21323 if (PyErr_Occurred()) SWIG_fail;
21324 }
21325 Py_INCREF(Py_None); resultobj = Py_None;
21326 return resultobj;
21327 fail:
21328 return NULL;
21329 }
21330
21331
21332 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21333 PyObject *resultobj;
21334 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21335 wxTreeItemId *arg2 = 0 ;
21336 bool arg3 = (bool) True ;
21337 PyObject * obj0 = 0 ;
21338 PyObject * obj1 = 0 ;
21339 PyObject * obj2 = 0 ;
21340 char *kwnames[] = {
21341 (char *) "self",(char *) "item",(char *) "bold", NULL
21342 };
21343
21344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21346 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21347 if (arg2 == NULL) {
21348 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21349 }
21350 if (obj2) {
21351 arg3 = PyInt_AsLong(obj2) ? true : false;
21352 if (PyErr_Occurred()) SWIG_fail;
21353 }
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
21361 Py_INCREF(Py_None); resultobj = Py_None;
21362 return resultobj;
21363 fail:
21364 return NULL;
21365 }
21366
21367
21368 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21369 PyObject *resultobj;
21370 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21371 wxTreeItemId *arg2 = 0 ;
21372 wxColour *arg3 = 0 ;
21373 wxColour temp3 ;
21374 PyObject * obj0 = 0 ;
21375 PyObject * obj1 = 0 ;
21376 PyObject * obj2 = 0 ;
21377 char *kwnames[] = {
21378 (char *) "self",(char *) "item",(char *) "col", NULL
21379 };
21380
21381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21383 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21384 if (arg2 == NULL) {
21385 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21386 }
21387 {
21388 arg3 = &temp3;
21389 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21390 }
21391 {
21392 PyThreadState* __tstate = wxPyBeginAllowThreads();
21393 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21394
21395 wxPyEndAllowThreads(__tstate);
21396 if (PyErr_Occurred()) SWIG_fail;
21397 }
21398 Py_INCREF(Py_None); resultobj = Py_None;
21399 return resultobj;
21400 fail:
21401 return NULL;
21402 }
21403
21404
21405 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21406 PyObject *resultobj;
21407 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21408 wxTreeItemId *arg2 = 0 ;
21409 wxColour *arg3 = 0 ;
21410 wxColour temp3 ;
21411 PyObject * obj0 = 0 ;
21412 PyObject * obj1 = 0 ;
21413 PyObject * obj2 = 0 ;
21414 char *kwnames[] = {
21415 (char *) "self",(char *) "item",(char *) "col", NULL
21416 };
21417
21418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21421 if (arg2 == NULL) {
21422 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21423 }
21424 {
21425 arg3 = &temp3;
21426 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21427 }
21428 {
21429 PyThreadState* __tstate = wxPyBeginAllowThreads();
21430 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21431
21432 wxPyEndAllowThreads(__tstate);
21433 if (PyErr_Occurred()) SWIG_fail;
21434 }
21435 Py_INCREF(Py_None); resultobj = Py_None;
21436 return resultobj;
21437 fail:
21438 return NULL;
21439 }
21440
21441
21442 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21443 PyObject *resultobj;
21444 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21445 wxTreeItemId *arg2 = 0 ;
21446 wxFont *arg3 = 0 ;
21447 PyObject * obj0 = 0 ;
21448 PyObject * obj1 = 0 ;
21449 PyObject * obj2 = 0 ;
21450 char *kwnames[] = {
21451 (char *) "self",(char *) "item",(char *) "font", NULL
21452 };
21453
21454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21457 if (arg2 == NULL) {
21458 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21459 }
21460 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21461 if (arg3 == NULL) {
21462 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21463 }
21464 {
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
21466 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21467
21468 wxPyEndAllowThreads(__tstate);
21469 if (PyErr_Occurred()) SWIG_fail;
21470 }
21471 Py_INCREF(Py_None); resultobj = Py_None;
21472 return resultobj;
21473 fail:
21474 return NULL;
21475 }
21476
21477
21478 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21479 PyObject *resultobj;
21480 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21481 wxTreeItemId *arg2 = 0 ;
21482 bool result;
21483 PyObject * obj0 = 0 ;
21484 PyObject * obj1 = 0 ;
21485 char *kwnames[] = {
21486 (char *) "self",(char *) "item", NULL
21487 };
21488
21489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21491 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21492 if (arg2 == NULL) {
21493 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21494 }
21495 {
21496 PyThreadState* __tstate = wxPyBeginAllowThreads();
21497 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21498
21499 wxPyEndAllowThreads(__tstate);
21500 if (PyErr_Occurred()) SWIG_fail;
21501 }
21502 resultobj = PyInt_FromLong((long)result);
21503 return resultobj;
21504 fail:
21505 return NULL;
21506 }
21507
21508
21509 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21510 PyObject *resultobj;
21511 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21512 wxTreeItemId *arg2 = 0 ;
21513 bool result;
21514 PyObject * obj0 = 0 ;
21515 PyObject * obj1 = 0 ;
21516 char *kwnames[] = {
21517 (char *) "self",(char *) "item", NULL
21518 };
21519
21520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21523 if (arg2 == NULL) {
21524 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21525 }
21526 {
21527 PyThreadState* __tstate = wxPyBeginAllowThreads();
21528 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21529
21530 wxPyEndAllowThreads(__tstate);
21531 if (PyErr_Occurred()) SWIG_fail;
21532 }
21533 resultobj = PyInt_FromLong((long)result);
21534 return resultobj;
21535 fail:
21536 return NULL;
21537 }
21538
21539
21540 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21541 PyObject *resultobj;
21542 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21543 wxTreeItemId *arg2 = 0 ;
21544 bool result;
21545 PyObject * obj0 = 0 ;
21546 PyObject * obj1 = 0 ;
21547 char *kwnames[] = {
21548 (char *) "self",(char *) "item", NULL
21549 };
21550
21551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21553 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21554 if (arg2 == NULL) {
21555 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21556 }
21557 {
21558 PyThreadState* __tstate = wxPyBeginAllowThreads();
21559 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21560
21561 wxPyEndAllowThreads(__tstate);
21562 if (PyErr_Occurred()) SWIG_fail;
21563 }
21564 resultobj = PyInt_FromLong((long)result);
21565 return resultobj;
21566 fail:
21567 return NULL;
21568 }
21569
21570
21571 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21572 PyObject *resultobj;
21573 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21574 wxTreeItemId *arg2 = 0 ;
21575 bool result;
21576 PyObject * obj0 = 0 ;
21577 PyObject * obj1 = 0 ;
21578 char *kwnames[] = {
21579 (char *) "self",(char *) "item", NULL
21580 };
21581
21582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) 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 PyThreadState* __tstate = wxPyBeginAllowThreads();
21590 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21591
21592 wxPyEndAllowThreads(__tstate);
21593 if (PyErr_Occurred()) SWIG_fail;
21594 }
21595 resultobj = PyInt_FromLong((long)result);
21596 return resultobj;
21597 fail:
21598 return NULL;
21599 }
21600
21601
21602 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21603 PyObject *resultobj;
21604 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21605 wxTreeItemId *arg2 = 0 ;
21606 bool result;
21607 PyObject * obj0 = 0 ;
21608 PyObject * obj1 = 0 ;
21609 char *kwnames[] = {
21610 (char *) "self",(char *) "item", NULL
21611 };
21612
21613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21615 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21616 if (arg2 == NULL) {
21617 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21618 }
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21622
21623 wxPyEndAllowThreads(__tstate);
21624 if (PyErr_Occurred()) SWIG_fail;
21625 }
21626 resultobj = PyInt_FromLong((long)result);
21627 return resultobj;
21628 fail:
21629 return NULL;
21630 }
21631
21632
21633 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21634 PyObject *resultobj;
21635 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21636 wxTreeItemId *arg2 = 0 ;
21637 bool arg3 = (bool) True ;
21638 size_t result;
21639 PyObject * obj0 = 0 ;
21640 PyObject * obj1 = 0 ;
21641 PyObject * obj2 = 0 ;
21642 char *kwnames[] = {
21643 (char *) "self",(char *) "item",(char *) "recursively", NULL
21644 };
21645
21646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21648 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21649 if (arg2 == NULL) {
21650 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21651 }
21652 if (obj2) {
21653 arg3 = PyInt_AsLong(obj2) ? true : false;
21654 if (PyErr_Occurred()) SWIG_fail;
21655 }
21656 {
21657 PyThreadState* __tstate = wxPyBeginAllowThreads();
21658 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21659
21660 wxPyEndAllowThreads(__tstate);
21661 if (PyErr_Occurred()) SWIG_fail;
21662 }
21663 resultobj = PyInt_FromLong((long)result);
21664 return resultobj;
21665 fail:
21666 return NULL;
21667 }
21668
21669
21670 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21671 PyObject *resultobj;
21672 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21673 wxTreeItemId result;
21674 PyObject * obj0 = 0 ;
21675 char *kwnames[] = {
21676 (char *) "self", NULL
21677 };
21678
21679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21681 {
21682 PyThreadState* __tstate = wxPyBeginAllowThreads();
21683 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21684
21685 wxPyEndAllowThreads(__tstate);
21686 if (PyErr_Occurred()) SWIG_fail;
21687 }
21688 {
21689 wxTreeItemId * resultptr;
21690 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21691 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21692 }
21693 return resultobj;
21694 fail:
21695 return NULL;
21696 }
21697
21698
21699 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21700 PyObject *resultobj;
21701 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21702 wxTreeItemId result;
21703 PyObject * obj0 = 0 ;
21704 char *kwnames[] = {
21705 (char *) "self", NULL
21706 };
21707
21708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21710 {
21711 PyThreadState* __tstate = wxPyBeginAllowThreads();
21712 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21713
21714 wxPyEndAllowThreads(__tstate);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 {
21718 wxTreeItemId * resultptr;
21719 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21720 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21721 }
21722 return resultobj;
21723 fail:
21724 return NULL;
21725 }
21726
21727
21728 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21729 PyObject *resultobj;
21730 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21731 PyObject *result;
21732 PyObject * obj0 = 0 ;
21733 char *kwnames[] = {
21734 (char *) "self", NULL
21735 };
21736
21737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21739 {
21740 PyThreadState* __tstate = wxPyBeginAllowThreads();
21741 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21742
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
21746 resultobj = result;
21747 return resultobj;
21748 fail:
21749 return NULL;
21750 }
21751
21752
21753 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21754 PyObject *resultobj;
21755 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21756 wxTreeItemId *arg2 = 0 ;
21757 wxTreeItemId result;
21758 PyObject * obj0 = 0 ;
21759 PyObject * obj1 = 0 ;
21760 char *kwnames[] = {
21761 (char *) "self",(char *) "item", NULL
21762 };
21763
21764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
21765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21767 if (arg2 == NULL) {
21768 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21769 }
21770 {
21771 PyThreadState* __tstate = wxPyBeginAllowThreads();
21772 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
21773
21774 wxPyEndAllowThreads(__tstate);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
21777 {
21778 wxTreeItemId * resultptr;
21779 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21780 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21781 }
21782 return resultobj;
21783 fail:
21784 return NULL;
21785 }
21786
21787
21788 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21789 PyObject *resultobj;
21790 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21791 wxTreeItemId *arg2 = 0 ;
21792 PyObject *result;
21793 PyObject * obj0 = 0 ;
21794 PyObject * obj1 = 0 ;
21795 char *kwnames[] = {
21796 (char *) "self",(char *) "item", NULL
21797 };
21798
21799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
21800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21801 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21802 if (arg2 == NULL) {
21803 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21804 }
21805 {
21806 PyThreadState* __tstate = wxPyBeginAllowThreads();
21807 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
21808
21809 wxPyEndAllowThreads(__tstate);
21810 if (PyErr_Occurred()) SWIG_fail;
21811 }
21812 resultobj = result;
21813 return resultobj;
21814 fail:
21815 return NULL;
21816 }
21817
21818
21819 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21820 PyObject *resultobj;
21821 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21822 wxTreeItemId *arg2 = 0 ;
21823 wxTreeItemIdValue *arg3 = 0 ;
21824 PyObject *result;
21825 PyObject * obj0 = 0 ;
21826 PyObject * obj1 = 0 ;
21827 PyObject * obj2 = 0 ;
21828 char *kwnames[] = {
21829 (char *) "self",(char *) "item",(char *) "cookie", NULL
21830 };
21831
21832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
21833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21834 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21835 if (arg2 == NULL) {
21836 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21837 }
21838 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21839 if (arg3 == NULL) {
21840 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21841 }
21842 {
21843 PyThreadState* __tstate = wxPyBeginAllowThreads();
21844 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
21845
21846 wxPyEndAllowThreads(__tstate);
21847 if (PyErr_Occurred()) SWIG_fail;
21848 }
21849 resultobj = result;
21850 return resultobj;
21851 fail:
21852 return NULL;
21853 }
21854
21855
21856 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21857 PyObject *resultobj;
21858 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21859 wxTreeItemId *arg2 = 0 ;
21860 wxTreeItemId result;
21861 PyObject * obj0 = 0 ;
21862 PyObject * obj1 = 0 ;
21863 char *kwnames[] = {
21864 (char *) "self",(char *) "item", NULL
21865 };
21866
21867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
21868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21869 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21870 if (arg2 == NULL) {
21871 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21872 }
21873 {
21874 PyThreadState* __tstate = wxPyBeginAllowThreads();
21875 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
21876
21877 wxPyEndAllowThreads(__tstate);
21878 if (PyErr_Occurred()) SWIG_fail;
21879 }
21880 {
21881 wxTreeItemId * resultptr;
21882 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21883 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21884 }
21885 return resultobj;
21886 fail:
21887 return NULL;
21888 }
21889
21890
21891 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21892 PyObject *resultobj;
21893 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21894 wxTreeItemId *arg2 = 0 ;
21895 wxTreeItemId result;
21896 PyObject * obj0 = 0 ;
21897 PyObject * obj1 = 0 ;
21898 char *kwnames[] = {
21899 (char *) "self",(char *) "item", NULL
21900 };
21901
21902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
21903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21904 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21905 if (arg2 == NULL) {
21906 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21907 }
21908 {
21909 PyThreadState* __tstate = wxPyBeginAllowThreads();
21910 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
21911
21912 wxPyEndAllowThreads(__tstate);
21913 if (PyErr_Occurred()) SWIG_fail;
21914 }
21915 {
21916 wxTreeItemId * resultptr;
21917 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21918 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21919 }
21920 return resultobj;
21921 fail:
21922 return NULL;
21923 }
21924
21925
21926 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21927 PyObject *resultobj;
21928 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21929 wxTreeItemId *arg2 = 0 ;
21930 wxTreeItemId result;
21931 PyObject * obj0 = 0 ;
21932 PyObject * obj1 = 0 ;
21933 char *kwnames[] = {
21934 (char *) "self",(char *) "item", NULL
21935 };
21936
21937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
21938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21939 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21940 if (arg2 == NULL) {
21941 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21942 }
21943 {
21944 PyThreadState* __tstate = wxPyBeginAllowThreads();
21945 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
21946
21947 wxPyEndAllowThreads(__tstate);
21948 if (PyErr_Occurred()) SWIG_fail;
21949 }
21950 {
21951 wxTreeItemId * resultptr;
21952 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21953 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21954 }
21955 return resultobj;
21956 fail:
21957 return NULL;
21958 }
21959
21960
21961 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21962 PyObject *resultobj;
21963 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21964 wxTreeItemId result;
21965 PyObject * obj0 = 0 ;
21966 char *kwnames[] = {
21967 (char *) "self", NULL
21968 };
21969
21970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
21971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21972 {
21973 PyThreadState* __tstate = wxPyBeginAllowThreads();
21974 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
21975
21976 wxPyEndAllowThreads(__tstate);
21977 if (PyErr_Occurred()) SWIG_fail;
21978 }
21979 {
21980 wxTreeItemId * resultptr;
21981 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21982 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21983 }
21984 return resultobj;
21985 fail:
21986 return NULL;
21987 }
21988
21989
21990 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21991 PyObject *resultobj;
21992 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21993 wxTreeItemId *arg2 = 0 ;
21994 wxTreeItemId result;
21995 PyObject * obj0 = 0 ;
21996 PyObject * obj1 = 0 ;
21997 char *kwnames[] = {
21998 (char *) "self",(char *) "item", NULL
21999 };
22000
22001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22003 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22004 if (arg2 == NULL) {
22005 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22006 }
22007 {
22008 PyThreadState* __tstate = wxPyBeginAllowThreads();
22009 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22010
22011 wxPyEndAllowThreads(__tstate);
22012 if (PyErr_Occurred()) SWIG_fail;
22013 }
22014 {
22015 wxTreeItemId * resultptr;
22016 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22017 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22018 }
22019 return resultobj;
22020 fail:
22021 return NULL;
22022 }
22023
22024
22025 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22026 PyObject *resultobj;
22027 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22028 wxTreeItemId *arg2 = 0 ;
22029 wxTreeItemId result;
22030 PyObject * obj0 = 0 ;
22031 PyObject * obj1 = 0 ;
22032 char *kwnames[] = {
22033 (char *) "self",(char *) "item", NULL
22034 };
22035
22036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22039 if (arg2 == NULL) {
22040 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22041 }
22042 {
22043 PyThreadState* __tstate = wxPyBeginAllowThreads();
22044 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22045
22046 wxPyEndAllowThreads(__tstate);
22047 if (PyErr_Occurred()) SWIG_fail;
22048 }
22049 {
22050 wxTreeItemId * resultptr;
22051 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22052 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22053 }
22054 return resultobj;
22055 fail:
22056 return NULL;
22057 }
22058
22059
22060 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22061 PyObject *resultobj;
22062 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22063 wxString *arg2 = 0 ;
22064 int arg3 = (int) -1 ;
22065 int arg4 = (int) -1 ;
22066 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22067 wxTreeItemId result;
22068 bool temp2 = False ;
22069 PyObject * obj0 = 0 ;
22070 PyObject * obj1 = 0 ;
22071 PyObject * obj4 = 0 ;
22072 char *kwnames[] = {
22073 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22074 };
22075
22076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22078 {
22079 arg2 = wxString_in_helper(obj1);
22080 if (arg2 == NULL) SWIG_fail;
22081 temp2 = True;
22082 }
22083 if (obj4) {
22084 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22085 }
22086 {
22087 PyThreadState* __tstate = wxPyBeginAllowThreads();
22088 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22089
22090 wxPyEndAllowThreads(__tstate);
22091 if (PyErr_Occurred()) SWIG_fail;
22092 }
22093 {
22094 wxTreeItemId * resultptr;
22095 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22096 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22097 }
22098 {
22099 if (temp2)
22100 delete arg2;
22101 }
22102 return resultobj;
22103 fail:
22104 {
22105 if (temp2)
22106 delete arg2;
22107 }
22108 return NULL;
22109 }
22110
22111
22112 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22113 PyObject *resultobj;
22114 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22115 wxTreeItemId *arg2 = 0 ;
22116 wxString *arg3 = 0 ;
22117 int arg4 = (int) -1 ;
22118 int arg5 = (int) -1 ;
22119 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22120 wxTreeItemId result;
22121 bool temp3 = False ;
22122 PyObject * obj0 = 0 ;
22123 PyObject * obj1 = 0 ;
22124 PyObject * obj2 = 0 ;
22125 PyObject * obj5 = 0 ;
22126 char *kwnames[] = {
22127 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22128 };
22129
22130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22132 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22133 if (arg2 == NULL) {
22134 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22135 }
22136 {
22137 arg3 = wxString_in_helper(obj2);
22138 if (arg3 == NULL) SWIG_fail;
22139 temp3 = True;
22140 }
22141 if (obj5) {
22142 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22143 }
22144 {
22145 PyThreadState* __tstate = wxPyBeginAllowThreads();
22146 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22147
22148 wxPyEndAllowThreads(__tstate);
22149 if (PyErr_Occurred()) SWIG_fail;
22150 }
22151 {
22152 wxTreeItemId * resultptr;
22153 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22154 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22155 }
22156 {
22157 if (temp3)
22158 delete arg3;
22159 }
22160 return resultobj;
22161 fail:
22162 {
22163 if (temp3)
22164 delete arg3;
22165 }
22166 return NULL;
22167 }
22168
22169
22170 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22171 PyObject *resultobj;
22172 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22173 wxTreeItemId *arg2 = 0 ;
22174 wxTreeItemId *arg3 = 0 ;
22175 wxString *arg4 = 0 ;
22176 int arg5 = (int) -1 ;
22177 int arg6 = (int) -1 ;
22178 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22179 wxTreeItemId result;
22180 bool temp4 = False ;
22181 PyObject * obj0 = 0 ;
22182 PyObject * obj1 = 0 ;
22183 PyObject * obj2 = 0 ;
22184 PyObject * obj3 = 0 ;
22185 PyObject * obj6 = 0 ;
22186 char *kwnames[] = {
22187 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22188 };
22189
22190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22192 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22193 if (arg2 == NULL) {
22194 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22195 }
22196 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22197 if (arg3 == NULL) {
22198 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22199 }
22200 {
22201 arg4 = wxString_in_helper(obj3);
22202 if (arg4 == NULL) SWIG_fail;
22203 temp4 = True;
22204 }
22205 if (obj6) {
22206 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22207 }
22208 {
22209 PyThreadState* __tstate = wxPyBeginAllowThreads();
22210 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22211
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 {
22216 wxTreeItemId * resultptr;
22217 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22218 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22219 }
22220 {
22221 if (temp4)
22222 delete arg4;
22223 }
22224 return resultobj;
22225 fail:
22226 {
22227 if (temp4)
22228 delete arg4;
22229 }
22230 return NULL;
22231 }
22232
22233
22234 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22235 PyObject *resultobj;
22236 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22237 wxTreeItemId *arg2 = 0 ;
22238 size_t arg3 ;
22239 wxString *arg4 = 0 ;
22240 int arg5 = (int) -1 ;
22241 int arg6 = (int) -1 ;
22242 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22243 wxTreeItemId result;
22244 bool temp4 = False ;
22245 PyObject * obj0 = 0 ;
22246 PyObject * obj1 = 0 ;
22247 PyObject * obj2 = 0 ;
22248 PyObject * obj3 = 0 ;
22249 PyObject * obj6 = 0 ;
22250 char *kwnames[] = {
22251 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22252 };
22253
22254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22256 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22257 if (arg2 == NULL) {
22258 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22259 }
22260 arg3 = (size_t) PyInt_AsLong(obj2);
22261 if (PyErr_Occurred()) SWIG_fail;
22262 {
22263 arg4 = wxString_in_helper(obj3);
22264 if (arg4 == NULL) SWIG_fail;
22265 temp4 = True;
22266 }
22267 if (obj6) {
22268 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22269 }
22270 {
22271 PyThreadState* __tstate = wxPyBeginAllowThreads();
22272 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22273
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 {
22278 wxTreeItemId * resultptr;
22279 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22280 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22281 }
22282 {
22283 if (temp4)
22284 delete arg4;
22285 }
22286 return resultobj;
22287 fail:
22288 {
22289 if (temp4)
22290 delete arg4;
22291 }
22292 return NULL;
22293 }
22294
22295
22296 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22297 PyObject *resultobj;
22298 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22299 wxTreeItemId *arg2 = 0 ;
22300 wxString *arg3 = 0 ;
22301 int arg4 = (int) -1 ;
22302 int arg5 = (int) -1 ;
22303 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22304 wxTreeItemId result;
22305 bool temp3 = False ;
22306 PyObject * obj0 = 0 ;
22307 PyObject * obj1 = 0 ;
22308 PyObject * obj2 = 0 ;
22309 PyObject * obj5 = 0 ;
22310 char *kwnames[] = {
22311 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22312 };
22313
22314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22316 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22317 if (arg2 == NULL) {
22318 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22319 }
22320 {
22321 arg3 = wxString_in_helper(obj2);
22322 if (arg3 == NULL) SWIG_fail;
22323 temp3 = True;
22324 }
22325 if (obj5) {
22326 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22327 }
22328 {
22329 PyThreadState* __tstate = wxPyBeginAllowThreads();
22330 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22331
22332 wxPyEndAllowThreads(__tstate);
22333 if (PyErr_Occurred()) SWIG_fail;
22334 }
22335 {
22336 wxTreeItemId * resultptr;
22337 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22338 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22339 }
22340 {
22341 if (temp3)
22342 delete arg3;
22343 }
22344 return resultobj;
22345 fail:
22346 {
22347 if (temp3)
22348 delete arg3;
22349 }
22350 return NULL;
22351 }
22352
22353
22354 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22355 PyObject *resultobj;
22356 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22357 wxTreeItemId *arg2 = 0 ;
22358 PyObject * obj0 = 0 ;
22359 PyObject * obj1 = 0 ;
22360 char *kwnames[] = {
22361 (char *) "self",(char *) "item", NULL
22362 };
22363
22364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22367 if (arg2 == NULL) {
22368 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22369 }
22370 {
22371 PyThreadState* __tstate = wxPyBeginAllowThreads();
22372 (arg1)->Delete((wxTreeItemId const &)*arg2);
22373
22374 wxPyEndAllowThreads(__tstate);
22375 if (PyErr_Occurred()) SWIG_fail;
22376 }
22377 Py_INCREF(Py_None); resultobj = Py_None;
22378 return resultobj;
22379 fail:
22380 return NULL;
22381 }
22382
22383
22384 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22385 PyObject *resultobj;
22386 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22387 wxTreeItemId *arg2 = 0 ;
22388 PyObject * obj0 = 0 ;
22389 PyObject * obj1 = 0 ;
22390 char *kwnames[] = {
22391 (char *) "self",(char *) "item", NULL
22392 };
22393
22394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22396 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22397 if (arg2 == NULL) {
22398 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22399 }
22400 {
22401 PyThreadState* __tstate = wxPyBeginAllowThreads();
22402 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22403
22404 wxPyEndAllowThreads(__tstate);
22405 if (PyErr_Occurred()) SWIG_fail;
22406 }
22407 Py_INCREF(Py_None); resultobj = Py_None;
22408 return resultobj;
22409 fail:
22410 return NULL;
22411 }
22412
22413
22414 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22415 PyObject *resultobj;
22416 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22417 PyObject * obj0 = 0 ;
22418 char *kwnames[] = {
22419 (char *) "self", NULL
22420 };
22421
22422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22424 {
22425 PyThreadState* __tstate = wxPyBeginAllowThreads();
22426 (arg1)->DeleteAllItems();
22427
22428 wxPyEndAllowThreads(__tstate);
22429 if (PyErr_Occurred()) SWIG_fail;
22430 }
22431 Py_INCREF(Py_None); resultobj = Py_None;
22432 return resultobj;
22433 fail:
22434 return NULL;
22435 }
22436
22437
22438 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22439 PyObject *resultobj;
22440 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22441 wxTreeItemId *arg2 = 0 ;
22442 PyObject * obj0 = 0 ;
22443 PyObject * obj1 = 0 ;
22444 char *kwnames[] = {
22445 (char *) "self",(char *) "item", NULL
22446 };
22447
22448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22451 if (arg2 == NULL) {
22452 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22453 }
22454 {
22455 PyThreadState* __tstate = wxPyBeginAllowThreads();
22456 (arg1)->Expand((wxTreeItemId const &)*arg2);
22457
22458 wxPyEndAllowThreads(__tstate);
22459 if (PyErr_Occurred()) SWIG_fail;
22460 }
22461 Py_INCREF(Py_None); resultobj = Py_None;
22462 return resultobj;
22463 fail:
22464 return NULL;
22465 }
22466
22467
22468 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22469 PyObject *resultobj;
22470 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22471 wxTreeItemId *arg2 = 0 ;
22472 PyObject * obj0 = 0 ;
22473 PyObject * obj1 = 0 ;
22474 char *kwnames[] = {
22475 (char *) "self",(char *) "item", NULL
22476 };
22477
22478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22481 if (arg2 == NULL) {
22482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22483 }
22484 {
22485 PyThreadState* __tstate = wxPyBeginAllowThreads();
22486 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22487
22488 wxPyEndAllowThreads(__tstate);
22489 if (PyErr_Occurred()) SWIG_fail;
22490 }
22491 Py_INCREF(Py_None); resultobj = Py_None;
22492 return resultobj;
22493 fail:
22494 return NULL;
22495 }
22496
22497
22498 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22499 PyObject *resultobj;
22500 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22501 wxTreeItemId *arg2 = 0 ;
22502 PyObject * obj0 = 0 ;
22503 PyObject * obj1 = 0 ;
22504 char *kwnames[] = {
22505 (char *) "self",(char *) "item", NULL
22506 };
22507
22508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22511 if (arg2 == NULL) {
22512 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22513 }
22514 {
22515 PyThreadState* __tstate = wxPyBeginAllowThreads();
22516 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22517
22518 wxPyEndAllowThreads(__tstate);
22519 if (PyErr_Occurred()) SWIG_fail;
22520 }
22521 Py_INCREF(Py_None); resultobj = Py_None;
22522 return resultobj;
22523 fail:
22524 return NULL;
22525 }
22526
22527
22528 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22529 PyObject *resultobj;
22530 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22531 wxTreeItemId *arg2 = 0 ;
22532 PyObject * obj0 = 0 ;
22533 PyObject * obj1 = 0 ;
22534 char *kwnames[] = {
22535 (char *) "self",(char *) "item", NULL
22536 };
22537
22538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22541 if (arg2 == NULL) {
22542 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22543 }
22544 {
22545 PyThreadState* __tstate = wxPyBeginAllowThreads();
22546 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22547
22548 wxPyEndAllowThreads(__tstate);
22549 if (PyErr_Occurred()) SWIG_fail;
22550 }
22551 Py_INCREF(Py_None); resultobj = Py_None;
22552 return resultobj;
22553 fail:
22554 return NULL;
22555 }
22556
22557
22558 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22559 PyObject *resultobj;
22560 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22561 PyObject * obj0 = 0 ;
22562 char *kwnames[] = {
22563 (char *) "self", NULL
22564 };
22565
22566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22568 {
22569 PyThreadState* __tstate = wxPyBeginAllowThreads();
22570 (arg1)->Unselect();
22571
22572 wxPyEndAllowThreads(__tstate);
22573 if (PyErr_Occurred()) SWIG_fail;
22574 }
22575 Py_INCREF(Py_None); resultobj = Py_None;
22576 return resultobj;
22577 fail:
22578 return NULL;
22579 }
22580
22581
22582 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22583 PyObject *resultobj;
22584 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22585 PyObject * obj0 = 0 ;
22586 char *kwnames[] = {
22587 (char *) "self", NULL
22588 };
22589
22590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22592 {
22593 PyThreadState* __tstate = wxPyBeginAllowThreads();
22594 (arg1)->UnselectAll();
22595
22596 wxPyEndAllowThreads(__tstate);
22597 if (PyErr_Occurred()) SWIG_fail;
22598 }
22599 Py_INCREF(Py_None); resultobj = Py_None;
22600 return resultobj;
22601 fail:
22602 return NULL;
22603 }
22604
22605
22606 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22607 PyObject *resultobj;
22608 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22609 wxTreeItemId *arg2 = 0 ;
22610 PyObject * obj0 = 0 ;
22611 PyObject * obj1 = 0 ;
22612 char *kwnames[] = {
22613 (char *) "self",(char *) "item", NULL
22614 };
22615
22616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22619 if (arg2 == NULL) {
22620 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22621 }
22622 {
22623 PyThreadState* __tstate = wxPyBeginAllowThreads();
22624 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22625
22626 wxPyEndAllowThreads(__tstate);
22627 if (PyErr_Occurred()) SWIG_fail;
22628 }
22629 Py_INCREF(Py_None); resultobj = Py_None;
22630 return resultobj;
22631 fail:
22632 return NULL;
22633 }
22634
22635
22636 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22637 PyObject *resultobj;
22638 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22639 wxTreeItemId *arg2 = 0 ;
22640 PyObject * obj0 = 0 ;
22641 PyObject * obj1 = 0 ;
22642 char *kwnames[] = {
22643 (char *) "self",(char *) "item", NULL
22644 };
22645
22646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22648 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22649 if (arg2 == NULL) {
22650 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22651 }
22652 {
22653 PyThreadState* __tstate = wxPyBeginAllowThreads();
22654 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22655
22656 wxPyEndAllowThreads(__tstate);
22657 if (PyErr_Occurred()) SWIG_fail;
22658 }
22659 Py_INCREF(Py_None); resultobj = Py_None;
22660 return resultobj;
22661 fail:
22662 return NULL;
22663 }
22664
22665
22666 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22667 PyObject *resultobj;
22668 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22669 wxTreeItemId *arg2 = 0 ;
22670 PyObject * obj0 = 0 ;
22671 PyObject * obj1 = 0 ;
22672 char *kwnames[] = {
22673 (char *) "self",(char *) "item", NULL
22674 };
22675
22676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22678 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22679 if (arg2 == NULL) {
22680 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22681 }
22682 {
22683 PyThreadState* __tstate = wxPyBeginAllowThreads();
22684 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22685
22686 wxPyEndAllowThreads(__tstate);
22687 if (PyErr_Occurred()) SWIG_fail;
22688 }
22689 Py_INCREF(Py_None); resultobj = Py_None;
22690 return resultobj;
22691 fail:
22692 return NULL;
22693 }
22694
22695
22696 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22697 PyObject *resultobj;
22698 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22699 wxTreeItemId *arg2 = 0 ;
22700 PyObject * obj0 = 0 ;
22701 PyObject * obj1 = 0 ;
22702 char *kwnames[] = {
22703 (char *) "self",(char *) "item", NULL
22704 };
22705
22706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22709 if (arg2 == NULL) {
22710 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22711 }
22712 {
22713 PyThreadState* __tstate = wxPyBeginAllowThreads();
22714 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22715
22716 wxPyEndAllowThreads(__tstate);
22717 if (PyErr_Occurred()) SWIG_fail;
22718 }
22719 Py_INCREF(Py_None); resultobj = Py_None;
22720 return resultobj;
22721 fail:
22722 return NULL;
22723 }
22724
22725
22726 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22727 PyObject *resultobj;
22728 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22729 wxTextCtrl *result;
22730 PyObject * obj0 = 0 ;
22731 char *kwnames[] = {
22732 (char *) "self", NULL
22733 };
22734
22735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22737 {
22738 PyThreadState* __tstate = wxPyBeginAllowThreads();
22739 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22740
22741 wxPyEndAllowThreads(__tstate);
22742 if (PyErr_Occurred()) SWIG_fail;
22743 }
22744 {
22745 resultobj = wxPyMake_wxObject(result);
22746 }
22747 return resultobj;
22748 fail:
22749 return NULL;
22750 }
22751
22752
22753 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22754 PyObject *resultobj;
22755 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22756 wxTreeItemId *arg2 = 0 ;
22757 PyObject * obj0 = 0 ;
22758 PyObject * obj1 = 0 ;
22759 char *kwnames[] = {
22760 (char *) "self",(char *) "item", NULL
22761 };
22762
22763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
22764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22765 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22766 if (arg2 == NULL) {
22767 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22768 }
22769 {
22770 PyThreadState* __tstate = wxPyBeginAllowThreads();
22771 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
22772
22773 wxPyEndAllowThreads(__tstate);
22774 if (PyErr_Occurred()) SWIG_fail;
22775 }
22776 Py_INCREF(Py_None); resultobj = Py_None;
22777 return resultobj;
22778 fail:
22779 return NULL;
22780 }
22781
22782
22783 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22784 PyObject *resultobj;
22785 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22786 wxPoint *arg2 = 0 ;
22787 int *arg3 = 0 ;
22788 wxTreeItemId result;
22789 wxPoint temp2 ;
22790 int temp3 ;
22791 PyObject * obj0 = 0 ;
22792 PyObject * obj1 = 0 ;
22793 char *kwnames[] = {
22794 (char *) "self",(char *) "point", NULL
22795 };
22796
22797 arg3 = &temp3;
22798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22800 {
22801 arg2 = &temp2;
22802 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22803 }
22804 {
22805 PyThreadState* __tstate = wxPyBeginAllowThreads();
22806 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22807
22808 wxPyEndAllowThreads(__tstate);
22809 if (PyErr_Occurred()) SWIG_fail;
22810 }
22811 {
22812 wxTreeItemId * resultptr;
22813 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22814 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22815 }
22816 {
22817 PyObject *o = PyInt_FromLong((long) (*arg3));
22818 resultobj = t_output_helper(resultobj,o);
22819 }
22820 return resultobj;
22821 fail:
22822 return NULL;
22823 }
22824
22825
22826 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22827 PyObject *resultobj;
22828 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22829 wxTreeItemId *arg2 = 0 ;
22830 bool arg3 = (bool) False ;
22831 PyObject *result;
22832 PyObject * obj0 = 0 ;
22833 PyObject * obj1 = 0 ;
22834 PyObject * obj2 = 0 ;
22835 char *kwnames[] = {
22836 (char *) "self",(char *) "item",(char *) "textOnly", NULL
22837 };
22838
22839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22841 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22842 if (arg2 == NULL) {
22843 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22844 }
22845 if (obj2) {
22846 arg3 = PyInt_AsLong(obj2) ? true : false;
22847 if (PyErr_Occurred()) SWIG_fail;
22848 }
22849 {
22850 PyThreadState* __tstate = wxPyBeginAllowThreads();
22851 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
22852
22853 wxPyEndAllowThreads(__tstate);
22854 if (PyErr_Occurred()) SWIG_fail;
22855 }
22856 resultobj = result;
22857 return resultobj;
22858 fail:
22859 return NULL;
22860 }
22861
22862
22863 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
22864 PyObject *obj;
22865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22866 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
22867 Py_INCREF(obj);
22868 return Py_BuildValue((char *)"");
22869 }
22870 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22871 PyObject *resultobj;
22872 wxWindow *arg1 = (wxWindow *) 0 ;
22873 int arg2 = (int) (int)-1 ;
22874 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
22875 wxString *arg3 = (wxString *) &arg3_defvalue ;
22876 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22877 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22878 wxSize const &arg5_defvalue = wxDefaultSize ;
22879 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22880 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22881 wxString const &arg7_defvalue = wxPyEmptyString ;
22882 wxString *arg7 = (wxString *) &arg7_defvalue ;
22883 int arg8 = (int) 0 ;
22884 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
22885 wxString *arg9 = (wxString *) &arg9_defvalue ;
22886 wxGenericDirCtrl *result;
22887 bool temp3 = False ;
22888 wxPoint temp4 ;
22889 wxSize temp5 ;
22890 bool temp7 = False ;
22891 bool temp9 = False ;
22892 PyObject * obj0 = 0 ;
22893 PyObject * obj2 = 0 ;
22894 PyObject * obj3 = 0 ;
22895 PyObject * obj4 = 0 ;
22896 PyObject * obj6 = 0 ;
22897 PyObject * obj8 = 0 ;
22898 char *kwnames[] = {
22899 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22900 };
22901
22902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
22903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22904 if (obj2) {
22905 {
22906 arg3 = wxString_in_helper(obj2);
22907 if (arg3 == NULL) SWIG_fail;
22908 temp3 = True;
22909 }
22910 }
22911 if (obj3) {
22912 {
22913 arg4 = &temp4;
22914 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22915 }
22916 }
22917 if (obj4) {
22918 {
22919 arg5 = &temp5;
22920 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22921 }
22922 }
22923 if (obj6) {
22924 {
22925 arg7 = wxString_in_helper(obj6);
22926 if (arg7 == NULL) SWIG_fail;
22927 temp7 = True;
22928 }
22929 }
22930 if (obj8) {
22931 {
22932 arg9 = wxString_in_helper(obj8);
22933 if (arg9 == NULL) SWIG_fail;
22934 temp9 = True;
22935 }
22936 }
22937 {
22938 PyThreadState* __tstate = wxPyBeginAllowThreads();
22939 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
22940
22941 wxPyEndAllowThreads(__tstate);
22942 if (PyErr_Occurred()) SWIG_fail;
22943 }
22944 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22945 {
22946 if (temp3)
22947 delete arg3;
22948 }
22949 {
22950 if (temp7)
22951 delete arg7;
22952 }
22953 {
22954 if (temp9)
22955 delete arg9;
22956 }
22957 return resultobj;
22958 fail:
22959 {
22960 if (temp3)
22961 delete arg3;
22962 }
22963 {
22964 if (temp7)
22965 delete arg7;
22966 }
22967 {
22968 if (temp9)
22969 delete arg9;
22970 }
22971 return NULL;
22972 }
22973
22974
22975 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22976 PyObject *resultobj;
22977 wxGenericDirCtrl *result;
22978 char *kwnames[] = {
22979 NULL
22980 };
22981
22982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
22983 {
22984 PyThreadState* __tstate = wxPyBeginAllowThreads();
22985 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
22986
22987 wxPyEndAllowThreads(__tstate);
22988 if (PyErr_Occurred()) SWIG_fail;
22989 }
22990 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22991 return resultobj;
22992 fail:
22993 return NULL;
22994 }
22995
22996
22997 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22998 PyObject *resultobj;
22999 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23000 wxWindow *arg2 = (wxWindow *) 0 ;
23001 int arg3 = (int) (int)-1 ;
23002 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23003 wxString *arg4 = (wxString *) &arg4_defvalue ;
23004 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23005 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23006 wxSize const &arg6_defvalue = wxDefaultSize ;
23007 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23008 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23009 wxString const &arg8_defvalue = wxPyEmptyString ;
23010 wxString *arg8 = (wxString *) &arg8_defvalue ;
23011 int arg9 = (int) 0 ;
23012 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
23013 wxString *arg10 = (wxString *) &arg10_defvalue ;
23014 bool result;
23015 bool temp4 = False ;
23016 wxPoint temp5 ;
23017 wxSize temp6 ;
23018 bool temp8 = False ;
23019 bool temp10 = False ;
23020 PyObject * obj0 = 0 ;
23021 PyObject * obj1 = 0 ;
23022 PyObject * obj3 = 0 ;
23023 PyObject * obj4 = 0 ;
23024 PyObject * obj5 = 0 ;
23025 PyObject * obj7 = 0 ;
23026 PyObject * obj9 = 0 ;
23027 char *kwnames[] = {
23028 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23029 };
23030
23031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23034 if (obj3) {
23035 {
23036 arg4 = wxString_in_helper(obj3);
23037 if (arg4 == NULL) SWIG_fail;
23038 temp4 = True;
23039 }
23040 }
23041 if (obj4) {
23042 {
23043 arg5 = &temp5;
23044 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23045 }
23046 }
23047 if (obj5) {
23048 {
23049 arg6 = &temp6;
23050 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23051 }
23052 }
23053 if (obj7) {
23054 {
23055 arg8 = wxString_in_helper(obj7);
23056 if (arg8 == NULL) SWIG_fail;
23057 temp8 = True;
23058 }
23059 }
23060 if (obj9) {
23061 {
23062 arg10 = wxString_in_helper(obj9);
23063 if (arg10 == NULL) SWIG_fail;
23064 temp10 = True;
23065 }
23066 }
23067 {
23068 PyThreadState* __tstate = wxPyBeginAllowThreads();
23069 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23070
23071 wxPyEndAllowThreads(__tstate);
23072 if (PyErr_Occurred()) SWIG_fail;
23073 }
23074 resultobj = PyInt_FromLong((long)result);
23075 {
23076 if (temp4)
23077 delete arg4;
23078 }
23079 {
23080 if (temp8)
23081 delete arg8;
23082 }
23083 {
23084 if (temp10)
23085 delete arg10;
23086 }
23087 return resultobj;
23088 fail:
23089 {
23090 if (temp4)
23091 delete arg4;
23092 }
23093 {
23094 if (temp8)
23095 delete arg8;
23096 }
23097 {
23098 if (temp10)
23099 delete arg10;
23100 }
23101 return NULL;
23102 }
23103
23104
23105 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23106 PyObject *resultobj;
23107 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23108 wxString *arg2 = 0 ;
23109 bool result;
23110 bool temp2 = False ;
23111 PyObject * obj0 = 0 ;
23112 PyObject * obj1 = 0 ;
23113 char *kwnames[] = {
23114 (char *) "self",(char *) "path", NULL
23115 };
23116
23117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23119 {
23120 arg2 = wxString_in_helper(obj1);
23121 if (arg2 == NULL) SWIG_fail;
23122 temp2 = True;
23123 }
23124 {
23125 PyThreadState* __tstate = wxPyBeginAllowThreads();
23126 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23127
23128 wxPyEndAllowThreads(__tstate);
23129 if (PyErr_Occurred()) SWIG_fail;
23130 }
23131 resultobj = PyInt_FromLong((long)result);
23132 {
23133 if (temp2)
23134 delete arg2;
23135 }
23136 return resultobj;
23137 fail:
23138 {
23139 if (temp2)
23140 delete arg2;
23141 }
23142 return NULL;
23143 }
23144
23145
23146 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23147 PyObject *resultobj;
23148 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23149 wxString result;
23150 PyObject * obj0 = 0 ;
23151 char *kwnames[] = {
23152 (char *) "self", NULL
23153 };
23154
23155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23157 {
23158 PyThreadState* __tstate = wxPyBeginAllowThreads();
23159 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23160
23161 wxPyEndAllowThreads(__tstate);
23162 if (PyErr_Occurred()) SWIG_fail;
23163 }
23164 {
23165 #if wxUSE_UNICODE
23166 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23167 #else
23168 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23169 #endif
23170 }
23171 return resultobj;
23172 fail:
23173 return NULL;
23174 }
23175
23176
23177 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23178 PyObject *resultobj;
23179 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23180 wxString *arg2 = 0 ;
23181 bool temp2 = False ;
23182 PyObject * obj0 = 0 ;
23183 PyObject * obj1 = 0 ;
23184 char *kwnames[] = {
23185 (char *) "self",(char *) "path", NULL
23186 };
23187
23188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23190 {
23191 arg2 = wxString_in_helper(obj1);
23192 if (arg2 == NULL) SWIG_fail;
23193 temp2 = True;
23194 }
23195 {
23196 PyThreadState* __tstate = wxPyBeginAllowThreads();
23197 (arg1)->SetDefaultPath((wxString const &)*arg2);
23198
23199 wxPyEndAllowThreads(__tstate);
23200 if (PyErr_Occurred()) SWIG_fail;
23201 }
23202 Py_INCREF(Py_None); resultobj = Py_None;
23203 {
23204 if (temp2)
23205 delete arg2;
23206 }
23207 return resultobj;
23208 fail:
23209 {
23210 if (temp2)
23211 delete arg2;
23212 }
23213 return NULL;
23214 }
23215
23216
23217 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23218 PyObject *resultobj;
23219 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23220 wxString result;
23221 PyObject * obj0 = 0 ;
23222 char *kwnames[] = {
23223 (char *) "self", NULL
23224 };
23225
23226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23228 {
23229 PyThreadState* __tstate = wxPyBeginAllowThreads();
23230 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23231
23232 wxPyEndAllowThreads(__tstate);
23233 if (PyErr_Occurred()) SWIG_fail;
23234 }
23235 {
23236 #if wxUSE_UNICODE
23237 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23238 #else
23239 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23240 #endif
23241 }
23242 return resultobj;
23243 fail:
23244 return NULL;
23245 }
23246
23247
23248 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23249 PyObject *resultobj;
23250 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23251 wxString result;
23252 PyObject * obj0 = 0 ;
23253 char *kwnames[] = {
23254 (char *) "self", NULL
23255 };
23256
23257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23259 {
23260 PyThreadState* __tstate = wxPyBeginAllowThreads();
23261 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23262
23263 wxPyEndAllowThreads(__tstate);
23264 if (PyErr_Occurred()) SWIG_fail;
23265 }
23266 {
23267 #if wxUSE_UNICODE
23268 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23269 #else
23270 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23271 #endif
23272 }
23273 return resultobj;
23274 fail:
23275 return NULL;
23276 }
23277
23278
23279 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23280 PyObject *resultobj;
23281 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23282 wxString *arg2 = 0 ;
23283 bool temp2 = False ;
23284 PyObject * obj0 = 0 ;
23285 PyObject * obj1 = 0 ;
23286 char *kwnames[] = {
23287 (char *) "self",(char *) "path", NULL
23288 };
23289
23290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23292 {
23293 arg2 = wxString_in_helper(obj1);
23294 if (arg2 == NULL) SWIG_fail;
23295 temp2 = True;
23296 }
23297 {
23298 PyThreadState* __tstate = wxPyBeginAllowThreads();
23299 (arg1)->SetPath((wxString const &)*arg2);
23300
23301 wxPyEndAllowThreads(__tstate);
23302 if (PyErr_Occurred()) SWIG_fail;
23303 }
23304 Py_INCREF(Py_None); resultobj = Py_None;
23305 {
23306 if (temp2)
23307 delete arg2;
23308 }
23309 return resultobj;
23310 fail:
23311 {
23312 if (temp2)
23313 delete arg2;
23314 }
23315 return NULL;
23316 }
23317
23318
23319 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23320 PyObject *resultobj;
23321 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23322 bool arg2 ;
23323 PyObject * obj0 = 0 ;
23324 PyObject * obj1 = 0 ;
23325 char *kwnames[] = {
23326 (char *) "self",(char *) "show", NULL
23327 };
23328
23329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23331 arg2 = PyInt_AsLong(obj1) ? true : false;
23332 if (PyErr_Occurred()) SWIG_fail;
23333 {
23334 PyThreadState* __tstate = wxPyBeginAllowThreads();
23335 (arg1)->ShowHidden(arg2);
23336
23337 wxPyEndAllowThreads(__tstate);
23338 if (PyErr_Occurred()) SWIG_fail;
23339 }
23340 Py_INCREF(Py_None); resultobj = Py_None;
23341 return resultobj;
23342 fail:
23343 return NULL;
23344 }
23345
23346
23347 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23348 PyObject *resultobj;
23349 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23350 bool result;
23351 PyObject * obj0 = 0 ;
23352 char *kwnames[] = {
23353 (char *) "self", NULL
23354 };
23355
23356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23358 {
23359 PyThreadState* __tstate = wxPyBeginAllowThreads();
23360 result = (bool)(arg1)->GetShowHidden();
23361
23362 wxPyEndAllowThreads(__tstate);
23363 if (PyErr_Occurred()) SWIG_fail;
23364 }
23365 resultobj = PyInt_FromLong((long)result);
23366 return resultobj;
23367 fail:
23368 return NULL;
23369 }
23370
23371
23372 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23373 PyObject *resultobj;
23374 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23375 wxString result;
23376 PyObject * obj0 = 0 ;
23377 char *kwnames[] = {
23378 (char *) "self", NULL
23379 };
23380
23381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23383 {
23384 PyThreadState* __tstate = wxPyBeginAllowThreads();
23385 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23386
23387 wxPyEndAllowThreads(__tstate);
23388 if (PyErr_Occurred()) SWIG_fail;
23389 }
23390 {
23391 #if wxUSE_UNICODE
23392 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23393 #else
23394 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23395 #endif
23396 }
23397 return resultobj;
23398 fail:
23399 return NULL;
23400 }
23401
23402
23403 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23404 PyObject *resultobj;
23405 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23406 wxString *arg2 = 0 ;
23407 bool temp2 = False ;
23408 PyObject * obj0 = 0 ;
23409 PyObject * obj1 = 0 ;
23410 char *kwnames[] = {
23411 (char *) "self",(char *) "filter", NULL
23412 };
23413
23414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23416 {
23417 arg2 = wxString_in_helper(obj1);
23418 if (arg2 == NULL) SWIG_fail;
23419 temp2 = True;
23420 }
23421 {
23422 PyThreadState* __tstate = wxPyBeginAllowThreads();
23423 (arg1)->SetFilter((wxString const &)*arg2);
23424
23425 wxPyEndAllowThreads(__tstate);
23426 if (PyErr_Occurred()) SWIG_fail;
23427 }
23428 Py_INCREF(Py_None); resultobj = Py_None;
23429 {
23430 if (temp2)
23431 delete arg2;
23432 }
23433 return resultobj;
23434 fail:
23435 {
23436 if (temp2)
23437 delete arg2;
23438 }
23439 return NULL;
23440 }
23441
23442
23443 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23444 PyObject *resultobj;
23445 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23446 int result;
23447 PyObject * obj0 = 0 ;
23448 char *kwnames[] = {
23449 (char *) "self", NULL
23450 };
23451
23452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23454 {
23455 PyThreadState* __tstate = wxPyBeginAllowThreads();
23456 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23457
23458 wxPyEndAllowThreads(__tstate);
23459 if (PyErr_Occurred()) SWIG_fail;
23460 }
23461 resultobj = PyInt_FromLong((long)result);
23462 return resultobj;
23463 fail:
23464 return NULL;
23465 }
23466
23467
23468 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23469 PyObject *resultobj;
23470 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23471 int arg2 ;
23472 PyObject * obj0 = 0 ;
23473 char *kwnames[] = {
23474 (char *) "self",(char *) "n", NULL
23475 };
23476
23477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23479 {
23480 PyThreadState* __tstate = wxPyBeginAllowThreads();
23481 (arg1)->SetFilterIndex(arg2);
23482
23483 wxPyEndAllowThreads(__tstate);
23484 if (PyErr_Occurred()) SWIG_fail;
23485 }
23486 Py_INCREF(Py_None); resultobj = Py_None;
23487 return resultobj;
23488 fail:
23489 return NULL;
23490 }
23491
23492
23493 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23494 PyObject *resultobj;
23495 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23496 wxTreeItemId result;
23497 PyObject * obj0 = 0 ;
23498 char *kwnames[] = {
23499 (char *) "self", NULL
23500 };
23501
23502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23504 {
23505 PyThreadState* __tstate = wxPyBeginAllowThreads();
23506 result = (arg1)->GetRootId();
23507
23508 wxPyEndAllowThreads(__tstate);
23509 if (PyErr_Occurred()) SWIG_fail;
23510 }
23511 {
23512 wxTreeItemId * resultptr;
23513 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23514 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23515 }
23516 return resultobj;
23517 fail:
23518 return NULL;
23519 }
23520
23521
23522 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23523 PyObject *resultobj;
23524 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23525 wxTreeCtrl *result;
23526 PyObject * obj0 = 0 ;
23527 char *kwnames[] = {
23528 (char *) "self", NULL
23529 };
23530
23531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23533 {
23534 PyThreadState* __tstate = wxPyBeginAllowThreads();
23535 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23536
23537 wxPyEndAllowThreads(__tstate);
23538 if (PyErr_Occurred()) SWIG_fail;
23539 }
23540 {
23541 resultobj = wxPyMake_wxObject(result);
23542 }
23543 return resultobj;
23544 fail:
23545 return NULL;
23546 }
23547
23548
23549 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23550 PyObject *resultobj;
23551 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23552 wxDirFilterListCtrl *result;
23553 PyObject * obj0 = 0 ;
23554 char *kwnames[] = {
23555 (char *) "self", NULL
23556 };
23557
23558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23560 {
23561 PyThreadState* __tstate = wxPyBeginAllowThreads();
23562 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23563
23564 wxPyEndAllowThreads(__tstate);
23565 if (PyErr_Occurred()) SWIG_fail;
23566 }
23567 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23568 return resultobj;
23569 fail:
23570 return NULL;
23571 }
23572
23573
23574 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23575 PyObject *resultobj;
23576 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23577 wxTreeItemId arg2 ;
23578 wxString *arg3 = 0 ;
23579 bool *arg4 = 0 ;
23580 wxTreeItemId result;
23581 wxTreeItemId *argp2 ;
23582 bool temp3 = False ;
23583 bool temp4 ;
23584 PyObject * obj0 = 0 ;
23585 PyObject * obj1 = 0 ;
23586 PyObject * obj2 = 0 ;
23587 char *kwnames[] = {
23588 (char *) "self",(char *) "parentId",(char *) "path", NULL
23589 };
23590
23591 arg4 = &temp4;
23592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23594 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23595 arg2 = *argp2;
23596 {
23597 arg3 = wxString_in_helper(obj2);
23598 if (arg3 == NULL) SWIG_fail;
23599 temp3 = True;
23600 }
23601 {
23602 PyThreadState* __tstate = wxPyBeginAllowThreads();
23603 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23604
23605 wxPyEndAllowThreads(__tstate);
23606 if (PyErr_Occurred()) SWIG_fail;
23607 }
23608 {
23609 wxTreeItemId * resultptr;
23610 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23611 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23612 }
23613 {
23614 PyObject *o = PyInt_FromLong((long) (*arg4));
23615 resultobj = t_output_helper(resultobj,o);
23616 }
23617 {
23618 if (temp3)
23619 delete arg3;
23620 }
23621 return resultobj;
23622 fail:
23623 {
23624 if (temp3)
23625 delete arg3;
23626 }
23627 return NULL;
23628 }
23629
23630
23631 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23632 PyObject *resultobj;
23633 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23634 PyObject * obj0 = 0 ;
23635 char *kwnames[] = {
23636 (char *) "self", NULL
23637 };
23638
23639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23641 {
23642 PyThreadState* __tstate = wxPyBeginAllowThreads();
23643 (arg1)->DoResize();
23644
23645 wxPyEndAllowThreads(__tstate);
23646 if (PyErr_Occurred()) SWIG_fail;
23647 }
23648 Py_INCREF(Py_None); resultobj = Py_None;
23649 return resultobj;
23650 fail:
23651 return NULL;
23652 }
23653
23654
23655 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23656 PyObject *resultobj;
23657 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23658 PyObject * obj0 = 0 ;
23659 char *kwnames[] = {
23660 (char *) "self", NULL
23661 };
23662
23663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23665 {
23666 PyThreadState* __tstate = wxPyBeginAllowThreads();
23667 (arg1)->ReCreateTree();
23668
23669 wxPyEndAllowThreads(__tstate);
23670 if (PyErr_Occurred()) SWIG_fail;
23671 }
23672 Py_INCREF(Py_None); resultobj = Py_None;
23673 return resultobj;
23674 fail:
23675 return NULL;
23676 }
23677
23678
23679 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23680 PyObject *obj;
23681 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23682 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23683 Py_INCREF(obj);
23684 return Py_BuildValue((char *)"");
23685 }
23686 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23687 PyObject *resultobj;
23688 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23689 int arg2 = (int) (int)-1 ;
23690 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23691 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23692 wxSize const &arg4_defvalue = wxDefaultSize ;
23693 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23694 long arg5 = (long) 0 ;
23695 wxDirFilterListCtrl *result;
23696 wxPoint temp3 ;
23697 wxSize temp4 ;
23698 PyObject * obj0 = 0 ;
23699 PyObject * obj2 = 0 ;
23700 PyObject * obj3 = 0 ;
23701 char *kwnames[] = {
23702 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23703 };
23704
23705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23707 if (obj2) {
23708 {
23709 arg3 = &temp3;
23710 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23711 }
23712 }
23713 if (obj3) {
23714 {
23715 arg4 = &temp4;
23716 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23717 }
23718 }
23719 {
23720 PyThreadState* __tstate = wxPyBeginAllowThreads();
23721 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23722
23723 wxPyEndAllowThreads(__tstate);
23724 if (PyErr_Occurred()) SWIG_fail;
23725 }
23726 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23727 return resultobj;
23728 fail:
23729 return NULL;
23730 }
23731
23732
23733 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23734 PyObject *resultobj;
23735 wxDirFilterListCtrl *result;
23736 char *kwnames[] = {
23737 NULL
23738 };
23739
23740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
23741 {
23742 PyThreadState* __tstate = wxPyBeginAllowThreads();
23743 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
23744
23745 wxPyEndAllowThreads(__tstate);
23746 if (PyErr_Occurred()) SWIG_fail;
23747 }
23748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23749 return resultobj;
23750 fail:
23751 return NULL;
23752 }
23753
23754
23755 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23756 PyObject *resultobj;
23757 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23758 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
23759 int arg3 = (int) (int)-1 ;
23760 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23761 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23762 wxSize const &arg5_defvalue = wxDefaultSize ;
23763 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23764 long arg6 = (long) 0 ;
23765 bool result;
23766 wxPoint temp4 ;
23767 wxSize temp5 ;
23768 PyObject * obj0 = 0 ;
23769 PyObject * obj1 = 0 ;
23770 PyObject * obj3 = 0 ;
23771 PyObject * obj4 = 0 ;
23772 char *kwnames[] = {
23773 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23774 };
23775
23776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
23777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23778 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23779 if (obj3) {
23780 {
23781 arg4 = &temp4;
23782 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23783 }
23784 }
23785 if (obj4) {
23786 {
23787 arg5 = &temp5;
23788 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23789 }
23790 }
23791 {
23792 PyThreadState* __tstate = wxPyBeginAllowThreads();
23793 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
23794
23795 wxPyEndAllowThreads(__tstate);
23796 if (PyErr_Occurred()) SWIG_fail;
23797 }
23798 resultobj = PyInt_FromLong((long)result);
23799 return resultobj;
23800 fail:
23801 return NULL;
23802 }
23803
23804
23805 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
23806 PyObject *resultobj;
23807 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23808 wxString *arg2 = 0 ;
23809 int arg3 ;
23810 bool temp2 = False ;
23811 PyObject * obj0 = 0 ;
23812 PyObject * obj1 = 0 ;
23813 char *kwnames[] = {
23814 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23815 };
23816
23817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
23818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23819 {
23820 arg2 = wxString_in_helper(obj1);
23821 if (arg2 == NULL) SWIG_fail;
23822 temp2 = True;
23823 }
23824 {
23825 PyThreadState* __tstate = wxPyBeginAllowThreads();
23826 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
23827
23828 wxPyEndAllowThreads(__tstate);
23829 if (PyErr_Occurred()) SWIG_fail;
23830 }
23831 Py_INCREF(Py_None); resultobj = Py_None;
23832 {
23833 if (temp2)
23834 delete arg2;
23835 }
23836 return resultobj;
23837 fail:
23838 {
23839 if (temp2)
23840 delete arg2;
23841 }
23842 return NULL;
23843 }
23844
23845
23846 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
23847 PyObject *obj;
23848 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23849 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
23850 Py_INCREF(obj);
23851 return Py_BuildValue((char *)"");
23852 }
23853 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23854 PyObject *resultobj;
23855 wxWindow *arg1 = (wxWindow *) 0 ;
23856 int arg2 ;
23857 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23858 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23859 wxSize const &arg4_defvalue = wxDefaultSize ;
23860 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23861 long arg5 = (long) 0 ;
23862 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23863 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23864 wxString const &arg7_defvalue = wxPyControlNameStr ;
23865 wxString *arg7 = (wxString *) &arg7_defvalue ;
23866 wxPyControl *result;
23867 wxPoint temp3 ;
23868 wxSize temp4 ;
23869 bool temp7 = False ;
23870 PyObject * obj0 = 0 ;
23871 PyObject * obj2 = 0 ;
23872 PyObject * obj3 = 0 ;
23873 PyObject * obj5 = 0 ;
23874 PyObject * obj6 = 0 ;
23875 char *kwnames[] = {
23876 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23877 };
23878
23879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
23880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23881 if (obj2) {
23882 {
23883 arg3 = &temp3;
23884 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23885 }
23886 }
23887 if (obj3) {
23888 {
23889 arg4 = &temp4;
23890 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23891 }
23892 }
23893 if (obj5) {
23894 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23895 if (arg6 == NULL) {
23896 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23897 }
23898 }
23899 if (obj6) {
23900 {
23901 arg7 = wxString_in_helper(obj6);
23902 if (arg7 == NULL) SWIG_fail;
23903 temp7 = True;
23904 }
23905 }
23906 {
23907 PyThreadState* __tstate = wxPyBeginAllowThreads();
23908 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23909
23910 wxPyEndAllowThreads(__tstate);
23911 if (PyErr_Occurred()) SWIG_fail;
23912 }
23913 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
23914 {
23915 if (temp7)
23916 delete arg7;
23917 }
23918 return resultobj;
23919 fail:
23920 {
23921 if (temp7)
23922 delete arg7;
23923 }
23924 return NULL;
23925 }
23926
23927
23928 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23929 PyObject *resultobj;
23930 wxPyControl *arg1 = (wxPyControl *) 0 ;
23931 PyObject *arg2 = (PyObject *) 0 ;
23932 PyObject *arg3 = (PyObject *) 0 ;
23933 PyObject * obj0 = 0 ;
23934 PyObject * obj1 = 0 ;
23935 PyObject * obj2 = 0 ;
23936 char *kwnames[] = {
23937 (char *) "self",(char *) "self",(char *) "_class", NULL
23938 };
23939
23940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23942 arg2 = obj1;
23943 arg3 = obj2;
23944 {
23945 PyThreadState* __tstate = wxPyBeginAllowThreads();
23946 (arg1)->_setCallbackInfo(arg2,arg3);
23947
23948 wxPyEndAllowThreads(__tstate);
23949 if (PyErr_Occurred()) SWIG_fail;
23950 }
23951 Py_INCREF(Py_None); resultobj = Py_None;
23952 return resultobj;
23953 fail:
23954 return NULL;
23955 }
23956
23957
23958 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23959 PyObject *resultobj;
23960 wxPyControl *arg1 = (wxPyControl *) 0 ;
23961 int arg2 ;
23962 int arg3 ;
23963 int arg4 ;
23964 int arg5 ;
23965 PyObject * obj0 = 0 ;
23966 char *kwnames[] = {
23967 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23968 };
23969
23970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23972 {
23973 PyThreadState* __tstate = wxPyBeginAllowThreads();
23974 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
23975
23976 wxPyEndAllowThreads(__tstate);
23977 if (PyErr_Occurred()) SWIG_fail;
23978 }
23979 Py_INCREF(Py_None); resultobj = Py_None;
23980 return resultobj;
23981 fail:
23982 return NULL;
23983 }
23984
23985
23986 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23987 PyObject *resultobj;
23988 wxPyControl *arg1 = (wxPyControl *) 0 ;
23989 int arg2 ;
23990 int arg3 ;
23991 int arg4 ;
23992 int arg5 ;
23993 int arg6 = (int) wxSIZE_AUTO ;
23994 PyObject * obj0 = 0 ;
23995 char *kwnames[] = {
23996 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23997 };
23998
23999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24001 {
24002 PyThreadState* __tstate = wxPyBeginAllowThreads();
24003 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24004
24005 wxPyEndAllowThreads(__tstate);
24006 if (PyErr_Occurred()) SWIG_fail;
24007 }
24008 Py_INCREF(Py_None); resultobj = Py_None;
24009 return resultobj;
24010 fail:
24011 return NULL;
24012 }
24013
24014
24015 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24016 PyObject *resultobj;
24017 wxPyControl *arg1 = (wxPyControl *) 0 ;
24018 int arg2 ;
24019 int arg3 ;
24020 PyObject * obj0 = 0 ;
24021 char *kwnames[] = {
24022 (char *) "self",(char *) "width",(char *) "height", NULL
24023 };
24024
24025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24027 {
24028 PyThreadState* __tstate = wxPyBeginAllowThreads();
24029 (arg1)->base_DoSetClientSize(arg2,arg3);
24030
24031 wxPyEndAllowThreads(__tstate);
24032 if (PyErr_Occurred()) SWIG_fail;
24033 }
24034 Py_INCREF(Py_None); resultobj = Py_None;
24035 return resultobj;
24036 fail:
24037 return NULL;
24038 }
24039
24040
24041 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24042 PyObject *resultobj;
24043 wxPyControl *arg1 = (wxPyControl *) 0 ;
24044 int arg2 ;
24045 int arg3 ;
24046 PyObject * obj0 = 0 ;
24047 char *kwnames[] = {
24048 (char *) "self",(char *) "x",(char *) "y", NULL
24049 };
24050
24051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24053 {
24054 PyThreadState* __tstate = wxPyBeginAllowThreads();
24055 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24056
24057 wxPyEndAllowThreads(__tstate);
24058 if (PyErr_Occurred()) SWIG_fail;
24059 }
24060 Py_INCREF(Py_None); resultobj = Py_None;
24061 return resultobj;
24062 fail:
24063 return NULL;
24064 }
24065
24066
24067 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24068 PyObject *resultobj;
24069 wxPyControl *arg1 = (wxPyControl *) 0 ;
24070 int *arg2 = (int *) 0 ;
24071 int *arg3 = (int *) 0 ;
24072 int temp2 ;
24073 int temp3 ;
24074 PyObject * obj0 = 0 ;
24075 char *kwnames[] = {
24076 (char *) "self", NULL
24077 };
24078
24079 arg2 = &temp2;
24080 arg3 = &temp3;
24081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24083 {
24084 PyThreadState* __tstate = wxPyBeginAllowThreads();
24085 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24086
24087 wxPyEndAllowThreads(__tstate);
24088 if (PyErr_Occurred()) SWIG_fail;
24089 }
24090 Py_INCREF(Py_None); resultobj = Py_None;
24091 {
24092 PyObject *o = PyInt_FromLong((long) (*arg2));
24093 resultobj = t_output_helper(resultobj,o);
24094 }
24095 {
24096 PyObject *o = PyInt_FromLong((long) (*arg3));
24097 resultobj = t_output_helper(resultobj,o);
24098 }
24099 return resultobj;
24100 fail:
24101 return NULL;
24102 }
24103
24104
24105 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24106 PyObject *resultobj;
24107 wxPyControl *arg1 = (wxPyControl *) 0 ;
24108 int *arg2 = (int *) 0 ;
24109 int *arg3 = (int *) 0 ;
24110 int temp2 ;
24111 int temp3 ;
24112 PyObject * obj0 = 0 ;
24113 char *kwnames[] = {
24114 (char *) "self", NULL
24115 };
24116
24117 arg2 = &temp2;
24118 arg3 = &temp3;
24119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24121 {
24122 PyThreadState* __tstate = wxPyBeginAllowThreads();
24123 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24124
24125 wxPyEndAllowThreads(__tstate);
24126 if (PyErr_Occurred()) SWIG_fail;
24127 }
24128 Py_INCREF(Py_None); resultobj = Py_None;
24129 {
24130 PyObject *o = PyInt_FromLong((long) (*arg2));
24131 resultobj = t_output_helper(resultobj,o);
24132 }
24133 {
24134 PyObject *o = PyInt_FromLong((long) (*arg3));
24135 resultobj = t_output_helper(resultobj,o);
24136 }
24137 return resultobj;
24138 fail:
24139 return NULL;
24140 }
24141
24142
24143 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24144 PyObject *resultobj;
24145 wxPyControl *arg1 = (wxPyControl *) 0 ;
24146 int *arg2 = (int *) 0 ;
24147 int *arg3 = (int *) 0 ;
24148 int temp2 ;
24149 int temp3 ;
24150 PyObject * obj0 = 0 ;
24151 char *kwnames[] = {
24152 (char *) "self", NULL
24153 };
24154
24155 arg2 = &temp2;
24156 arg3 = &temp3;
24157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24159 {
24160 PyThreadState* __tstate = wxPyBeginAllowThreads();
24161 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24162
24163 wxPyEndAllowThreads(__tstate);
24164 if (PyErr_Occurred()) SWIG_fail;
24165 }
24166 Py_INCREF(Py_None); resultobj = Py_None;
24167 {
24168 PyObject *o = PyInt_FromLong((long) (*arg2));
24169 resultobj = t_output_helper(resultobj,o);
24170 }
24171 {
24172 PyObject *o = PyInt_FromLong((long) (*arg3));
24173 resultobj = t_output_helper(resultobj,o);
24174 }
24175 return resultobj;
24176 fail:
24177 return NULL;
24178 }
24179
24180
24181 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24182 PyObject *resultobj;
24183 wxPyControl *arg1 = (wxPyControl *) 0 ;
24184 wxSize result;
24185 PyObject * obj0 = 0 ;
24186 char *kwnames[] = {
24187 (char *) "self", NULL
24188 };
24189
24190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24192 {
24193 PyThreadState* __tstate = wxPyBeginAllowThreads();
24194 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24195
24196 wxPyEndAllowThreads(__tstate);
24197 if (PyErr_Occurred()) SWIG_fail;
24198 }
24199 {
24200 wxSize * resultptr;
24201 resultptr = new wxSize((wxSize &) result);
24202 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24203 }
24204 return resultobj;
24205 fail:
24206 return NULL;
24207 }
24208
24209
24210 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24211 PyObject *resultobj;
24212 wxPyControl *arg1 = (wxPyControl *) 0 ;
24213 wxSize result;
24214 PyObject * obj0 = 0 ;
24215 char *kwnames[] = {
24216 (char *) "self", NULL
24217 };
24218
24219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24221 {
24222 PyThreadState* __tstate = wxPyBeginAllowThreads();
24223 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24224
24225 wxPyEndAllowThreads(__tstate);
24226 if (PyErr_Occurred()) SWIG_fail;
24227 }
24228 {
24229 wxSize * resultptr;
24230 resultptr = new wxSize((wxSize &) result);
24231 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24232 }
24233 return resultobj;
24234 fail:
24235 return NULL;
24236 }
24237
24238
24239 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24240 PyObject *resultobj;
24241 wxPyControl *arg1 = (wxPyControl *) 0 ;
24242 PyObject * obj0 = 0 ;
24243 char *kwnames[] = {
24244 (char *) "self", NULL
24245 };
24246
24247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24249 {
24250 PyThreadState* __tstate = wxPyBeginAllowThreads();
24251 (arg1)->base_InitDialog();
24252
24253 wxPyEndAllowThreads(__tstate);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 }
24256 Py_INCREF(Py_None); resultobj = Py_None;
24257 return resultobj;
24258 fail:
24259 return NULL;
24260 }
24261
24262
24263 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24264 PyObject *resultobj;
24265 wxPyControl *arg1 = (wxPyControl *) 0 ;
24266 bool result;
24267 PyObject * obj0 = 0 ;
24268 char *kwnames[] = {
24269 (char *) "self", NULL
24270 };
24271
24272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24274 {
24275 PyThreadState* __tstate = wxPyBeginAllowThreads();
24276 result = (bool)(arg1)->base_TransferDataToWindow();
24277
24278 wxPyEndAllowThreads(__tstate);
24279 if (PyErr_Occurred()) SWIG_fail;
24280 }
24281 resultobj = PyInt_FromLong((long)result);
24282 return resultobj;
24283 fail:
24284 return NULL;
24285 }
24286
24287
24288 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24289 PyObject *resultobj;
24290 wxPyControl *arg1 = (wxPyControl *) 0 ;
24291 bool result;
24292 PyObject * obj0 = 0 ;
24293 char *kwnames[] = {
24294 (char *) "self", NULL
24295 };
24296
24297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24299 {
24300 PyThreadState* __tstate = wxPyBeginAllowThreads();
24301 result = (bool)(arg1)->base_TransferDataFromWindow();
24302
24303 wxPyEndAllowThreads(__tstate);
24304 if (PyErr_Occurred()) SWIG_fail;
24305 }
24306 resultobj = PyInt_FromLong((long)result);
24307 return resultobj;
24308 fail:
24309 return NULL;
24310 }
24311
24312
24313 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24314 PyObject *resultobj;
24315 wxPyControl *arg1 = (wxPyControl *) 0 ;
24316 bool result;
24317 PyObject * obj0 = 0 ;
24318 char *kwnames[] = {
24319 (char *) "self", NULL
24320 };
24321
24322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24324 {
24325 PyThreadState* __tstate = wxPyBeginAllowThreads();
24326 result = (bool)(arg1)->base_Validate();
24327
24328 wxPyEndAllowThreads(__tstate);
24329 if (PyErr_Occurred()) SWIG_fail;
24330 }
24331 resultobj = PyInt_FromLong((long)result);
24332 return resultobj;
24333 fail:
24334 return NULL;
24335 }
24336
24337
24338 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24339 PyObject *resultobj;
24340 wxPyControl *arg1 = (wxPyControl *) 0 ;
24341 bool result;
24342 PyObject * obj0 = 0 ;
24343 char *kwnames[] = {
24344 (char *) "self", NULL
24345 };
24346
24347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24349 {
24350 PyThreadState* __tstate = wxPyBeginAllowThreads();
24351 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24352
24353 wxPyEndAllowThreads(__tstate);
24354 if (PyErr_Occurred()) SWIG_fail;
24355 }
24356 resultobj = PyInt_FromLong((long)result);
24357 return resultobj;
24358 fail:
24359 return NULL;
24360 }
24361
24362
24363 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24364 PyObject *resultobj;
24365 wxPyControl *arg1 = (wxPyControl *) 0 ;
24366 bool result;
24367 PyObject * obj0 = 0 ;
24368 char *kwnames[] = {
24369 (char *) "self", NULL
24370 };
24371
24372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24374 {
24375 PyThreadState* __tstate = wxPyBeginAllowThreads();
24376 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24377
24378 wxPyEndAllowThreads(__tstate);
24379 if (PyErr_Occurred()) SWIG_fail;
24380 }
24381 resultobj = PyInt_FromLong((long)result);
24382 return resultobj;
24383 fail:
24384 return NULL;
24385 }
24386
24387
24388 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24389 PyObject *resultobj;
24390 wxPyControl *arg1 = (wxPyControl *) 0 ;
24391 wxSize result;
24392 PyObject * obj0 = 0 ;
24393 char *kwnames[] = {
24394 (char *) "self", NULL
24395 };
24396
24397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24399 {
24400 PyThreadState* __tstate = wxPyBeginAllowThreads();
24401 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24402
24403 wxPyEndAllowThreads(__tstate);
24404 if (PyErr_Occurred()) SWIG_fail;
24405 }
24406 {
24407 wxSize * resultptr;
24408 resultptr = new wxSize((wxSize &) result);
24409 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24410 }
24411 return resultobj;
24412 fail:
24413 return NULL;
24414 }
24415
24416
24417 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24418 PyObject *resultobj;
24419 wxPyControl *arg1 = (wxPyControl *) 0 ;
24420 wxWindow *arg2 = (wxWindow *) 0 ;
24421 PyObject * obj0 = 0 ;
24422 PyObject * obj1 = 0 ;
24423 char *kwnames[] = {
24424 (char *) "self",(char *) "child", NULL
24425 };
24426
24427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24429 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24430 {
24431 PyThreadState* __tstate = wxPyBeginAllowThreads();
24432 (arg1)->base_AddChild(arg2);
24433
24434 wxPyEndAllowThreads(__tstate);
24435 if (PyErr_Occurred()) SWIG_fail;
24436 }
24437 Py_INCREF(Py_None); resultobj = Py_None;
24438 return resultobj;
24439 fail:
24440 return NULL;
24441 }
24442
24443
24444 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24445 PyObject *resultobj;
24446 wxPyControl *arg1 = (wxPyControl *) 0 ;
24447 wxWindow *arg2 = (wxWindow *) 0 ;
24448 PyObject * obj0 = 0 ;
24449 PyObject * obj1 = 0 ;
24450 char *kwnames[] = {
24451 (char *) "self",(char *) "child", NULL
24452 };
24453
24454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24457 {
24458 PyThreadState* __tstate = wxPyBeginAllowThreads();
24459 (arg1)->base_RemoveChild(arg2);
24460
24461 wxPyEndAllowThreads(__tstate);
24462 if (PyErr_Occurred()) SWIG_fail;
24463 }
24464 Py_INCREF(Py_None); resultobj = Py_None;
24465 return resultobj;
24466 fail:
24467 return NULL;
24468 }
24469
24470
24471 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24472 PyObject *obj;
24473 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24474 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24475 Py_INCREF(obj);
24476 return Py_BuildValue((char *)"");
24477 }
24478 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24479 PyObject *resultobj;
24480 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24481 int arg2 = (int) 0 ;
24482 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24483 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24484 wxHelpEvent *result;
24485 wxPoint temp3 ;
24486 PyObject * obj2 = 0 ;
24487 char *kwnames[] = {
24488 (char *) "type",(char *) "winid",(char *) "pt", NULL
24489 };
24490
24491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24492 if (obj2) {
24493 {
24494 arg3 = &temp3;
24495 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24496 }
24497 }
24498 {
24499 PyThreadState* __tstate = wxPyBeginAllowThreads();
24500 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24501
24502 wxPyEndAllowThreads(__tstate);
24503 if (PyErr_Occurred()) SWIG_fail;
24504 }
24505 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24506 return resultobj;
24507 fail:
24508 return NULL;
24509 }
24510
24511
24512 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24513 PyObject *resultobj;
24514 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24515 wxPoint *result;
24516 PyObject * obj0 = 0 ;
24517 char *kwnames[] = {
24518 (char *) "self", NULL
24519 };
24520
24521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24523 {
24524 PyThreadState* __tstate = wxPyBeginAllowThreads();
24525 {
24526 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24527 result = (wxPoint *) &_result_ref;
24528 }
24529
24530 wxPyEndAllowThreads(__tstate);
24531 if (PyErr_Occurred()) SWIG_fail;
24532 }
24533 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24534 return resultobj;
24535 fail:
24536 return NULL;
24537 }
24538
24539
24540 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24541 PyObject *resultobj;
24542 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24543 wxPoint *arg2 = 0 ;
24544 wxPoint temp2 ;
24545 PyObject * obj0 = 0 ;
24546 PyObject * obj1 = 0 ;
24547 char *kwnames[] = {
24548 (char *) "self",(char *) "pos", NULL
24549 };
24550
24551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24553 {
24554 arg2 = &temp2;
24555 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24556 }
24557 {
24558 PyThreadState* __tstate = wxPyBeginAllowThreads();
24559 (arg1)->SetPosition((wxPoint const &)*arg2);
24560
24561 wxPyEndAllowThreads(__tstate);
24562 if (PyErr_Occurred()) SWIG_fail;
24563 }
24564 Py_INCREF(Py_None); resultobj = Py_None;
24565 return resultobj;
24566 fail:
24567 return NULL;
24568 }
24569
24570
24571 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24572 PyObject *resultobj;
24573 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24574 wxString *result;
24575 PyObject * obj0 = 0 ;
24576 char *kwnames[] = {
24577 (char *) "self", NULL
24578 };
24579
24580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24582 {
24583 PyThreadState* __tstate = wxPyBeginAllowThreads();
24584 {
24585 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24586 result = (wxString *) &_result_ref;
24587 }
24588
24589 wxPyEndAllowThreads(__tstate);
24590 if (PyErr_Occurred()) SWIG_fail;
24591 }
24592 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24593 return resultobj;
24594 fail:
24595 return NULL;
24596 }
24597
24598
24599 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24600 PyObject *resultobj;
24601 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24602 wxString *arg2 = 0 ;
24603 bool temp2 = False ;
24604 PyObject * obj0 = 0 ;
24605 PyObject * obj1 = 0 ;
24606 char *kwnames[] = {
24607 (char *) "self",(char *) "link", NULL
24608 };
24609
24610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24612 {
24613 arg2 = wxString_in_helper(obj1);
24614 if (arg2 == NULL) SWIG_fail;
24615 temp2 = True;
24616 }
24617 {
24618 PyThreadState* __tstate = wxPyBeginAllowThreads();
24619 (arg1)->SetLink((wxString const &)*arg2);
24620
24621 wxPyEndAllowThreads(__tstate);
24622 if (PyErr_Occurred()) SWIG_fail;
24623 }
24624 Py_INCREF(Py_None); resultobj = Py_None;
24625 {
24626 if (temp2)
24627 delete arg2;
24628 }
24629 return resultobj;
24630 fail:
24631 {
24632 if (temp2)
24633 delete arg2;
24634 }
24635 return NULL;
24636 }
24637
24638
24639 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24640 PyObject *resultobj;
24641 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24642 wxString *result;
24643 PyObject * obj0 = 0 ;
24644 char *kwnames[] = {
24645 (char *) "self", NULL
24646 };
24647
24648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24650 {
24651 PyThreadState* __tstate = wxPyBeginAllowThreads();
24652 {
24653 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24654 result = (wxString *) &_result_ref;
24655 }
24656
24657 wxPyEndAllowThreads(__tstate);
24658 if (PyErr_Occurred()) SWIG_fail;
24659 }
24660 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24661 return resultobj;
24662 fail:
24663 return NULL;
24664 }
24665
24666
24667 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24668 PyObject *resultobj;
24669 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24670 wxString *arg2 = 0 ;
24671 bool temp2 = False ;
24672 PyObject * obj0 = 0 ;
24673 PyObject * obj1 = 0 ;
24674 char *kwnames[] = {
24675 (char *) "self",(char *) "target", NULL
24676 };
24677
24678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24680 {
24681 arg2 = wxString_in_helper(obj1);
24682 if (arg2 == NULL) SWIG_fail;
24683 temp2 = True;
24684 }
24685 {
24686 PyThreadState* __tstate = wxPyBeginAllowThreads();
24687 (arg1)->SetTarget((wxString const &)*arg2);
24688
24689 wxPyEndAllowThreads(__tstate);
24690 if (PyErr_Occurred()) SWIG_fail;
24691 }
24692 Py_INCREF(Py_None); resultobj = Py_None;
24693 {
24694 if (temp2)
24695 delete arg2;
24696 }
24697 return resultobj;
24698 fail:
24699 {
24700 if (temp2)
24701 delete arg2;
24702 }
24703 return NULL;
24704 }
24705
24706
24707 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24708 PyObject *obj;
24709 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24710 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
24711 Py_INCREF(obj);
24712 return Py_BuildValue((char *)"");
24713 }
24714 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24715 PyObject *resultobj;
24716 wxWindow *arg1 = (wxWindow *) NULL ;
24717 bool arg2 = (bool) True ;
24718 wxContextHelp *result;
24719 PyObject * obj0 = 0 ;
24720 PyObject * obj1 = 0 ;
24721 char *kwnames[] = {
24722 (char *) "window",(char *) "doNow", NULL
24723 };
24724
24725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
24726 if (obj0) {
24727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24728 }
24729 if (obj1) {
24730 arg2 = PyInt_AsLong(obj1) ? true : false;
24731 if (PyErr_Occurred()) SWIG_fail;
24732 }
24733 {
24734 PyThreadState* __tstate = wxPyBeginAllowThreads();
24735 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
24736
24737 wxPyEndAllowThreads(__tstate);
24738 if (PyErr_Occurred()) SWIG_fail;
24739 }
24740 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
24741 return resultobj;
24742 fail:
24743 return NULL;
24744 }
24745
24746
24747 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24748 PyObject *resultobj;
24749 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24750 PyObject * obj0 = 0 ;
24751 char *kwnames[] = {
24752 (char *) "self", NULL
24753 };
24754
24755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
24756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24757 {
24758 PyThreadState* __tstate = wxPyBeginAllowThreads();
24759 delete arg1;
24760
24761 wxPyEndAllowThreads(__tstate);
24762 if (PyErr_Occurred()) SWIG_fail;
24763 }
24764 Py_INCREF(Py_None); resultobj = Py_None;
24765 return resultobj;
24766 fail:
24767 return NULL;
24768 }
24769
24770
24771 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24772 PyObject *resultobj;
24773 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24774 wxWindow *arg2 = (wxWindow *) NULL ;
24775 bool result;
24776 PyObject * obj0 = 0 ;
24777 PyObject * obj1 = 0 ;
24778 char *kwnames[] = {
24779 (char *) "self",(char *) "window", NULL
24780 };
24781
24782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
24783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24784 if (obj1) {
24785 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24786 }
24787 {
24788 PyThreadState* __tstate = wxPyBeginAllowThreads();
24789 result = (bool)(arg1)->BeginContextHelp(arg2);
24790
24791 wxPyEndAllowThreads(__tstate);
24792 if (PyErr_Occurred()) SWIG_fail;
24793 }
24794 resultobj = PyInt_FromLong((long)result);
24795 return resultobj;
24796 fail:
24797 return NULL;
24798 }
24799
24800
24801 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24802 PyObject *resultobj;
24803 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24804 bool result;
24805 PyObject * obj0 = 0 ;
24806 char *kwnames[] = {
24807 (char *) "self", NULL
24808 };
24809
24810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
24811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24812 {
24813 PyThreadState* __tstate = wxPyBeginAllowThreads();
24814 result = (bool)(arg1)->EndContextHelp();
24815
24816 wxPyEndAllowThreads(__tstate);
24817 if (PyErr_Occurred()) SWIG_fail;
24818 }
24819 resultobj = PyInt_FromLong((long)result);
24820 return resultobj;
24821 fail:
24822 return NULL;
24823 }
24824
24825
24826 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
24827 PyObject *obj;
24828 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24829 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
24830 Py_INCREF(obj);
24831 return Py_BuildValue((char *)"");
24832 }
24833 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
24834 PyObject *resultobj;
24835 wxWindow *arg1 = (wxWindow *) 0 ;
24836 int arg2 = (int) wxID_CONTEXT_HELP ;
24837 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24838 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24839 wxSize const &arg4_defvalue = wxDefaultSize ;
24840 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24841 long arg5 = (long) wxBU_AUTODRAW ;
24842 wxContextHelpButton *result;
24843 wxPoint temp3 ;
24844 wxSize temp4 ;
24845 PyObject * obj0 = 0 ;
24846 PyObject * obj2 = 0 ;
24847 PyObject * obj3 = 0 ;
24848 char *kwnames[] = {
24849 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24850 };
24851
24852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24854 if (obj2) {
24855 {
24856 arg3 = &temp3;
24857 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24858 }
24859 }
24860 if (obj3) {
24861 {
24862 arg4 = &temp4;
24863 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24864 }
24865 }
24866 {
24867 PyThreadState* __tstate = wxPyBeginAllowThreads();
24868 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24869
24870 wxPyEndAllowThreads(__tstate);
24871 if (PyErr_Occurred()) SWIG_fail;
24872 }
24873 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
24874 return resultobj;
24875 fail:
24876 return NULL;
24877 }
24878
24879
24880 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
24881 PyObject *obj;
24882 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24883 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
24884 Py_INCREF(obj);
24885 return Py_BuildValue((char *)"");
24886 }
24887 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
24888 PyObject *resultobj;
24889 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24890 wxHelpProvider *result;
24891 PyObject * obj0 = 0 ;
24892 char *kwnames[] = {
24893 (char *) "helpProvider", NULL
24894 };
24895
24896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
24897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24898 {
24899 PyThreadState* __tstate = wxPyBeginAllowThreads();
24900 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
24901
24902 wxPyEndAllowThreads(__tstate);
24903 if (PyErr_Occurred()) SWIG_fail;
24904 }
24905 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24906 return resultobj;
24907 fail:
24908 return NULL;
24909 }
24910
24911
24912 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
24913 PyObject *resultobj;
24914 wxHelpProvider *result;
24915 char *kwnames[] = {
24916 NULL
24917 };
24918
24919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
24920 {
24921 PyThreadState* __tstate = wxPyBeginAllowThreads();
24922 result = (wxHelpProvider *)wxHelpProvider::Get();
24923
24924 wxPyEndAllowThreads(__tstate);
24925 if (PyErr_Occurred()) SWIG_fail;
24926 }
24927 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24928 return resultobj;
24929 fail:
24930 return NULL;
24931 }
24932
24933
24934 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24935 PyObject *resultobj;
24936 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24937 wxWindow *arg2 = (wxWindow *) 0 ;
24938 wxString result;
24939 PyObject * obj0 = 0 ;
24940 PyObject * obj1 = 0 ;
24941 char *kwnames[] = {
24942 (char *) "self",(char *) "window", NULL
24943 };
24944
24945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
24946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24947 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24948 {
24949 PyThreadState* __tstate = wxPyBeginAllowThreads();
24950 result = (arg1)->GetHelp((wxWindow const *)arg2);
24951
24952 wxPyEndAllowThreads(__tstate);
24953 if (PyErr_Occurred()) SWIG_fail;
24954 }
24955 {
24956 #if wxUSE_UNICODE
24957 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24958 #else
24959 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24960 #endif
24961 }
24962 return resultobj;
24963 fail:
24964 return NULL;
24965 }
24966
24967
24968 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24969 PyObject *resultobj;
24970 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24971 wxWindow *arg2 = (wxWindow *) 0 ;
24972 bool result;
24973 PyObject * obj0 = 0 ;
24974 PyObject * obj1 = 0 ;
24975 char *kwnames[] = {
24976 (char *) "self",(char *) "window", NULL
24977 };
24978
24979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
24980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24981 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24982 {
24983 PyThreadState* __tstate = wxPyBeginAllowThreads();
24984 result = (bool)(arg1)->ShowHelp(arg2);
24985
24986 wxPyEndAllowThreads(__tstate);
24987 if (PyErr_Occurred()) SWIG_fail;
24988 }
24989 resultobj = PyInt_FromLong((long)result);
24990 return resultobj;
24991 fail:
24992 return NULL;
24993 }
24994
24995
24996 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24997 PyObject *resultobj;
24998 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24999 wxWindow *arg2 = (wxWindow *) 0 ;
25000 wxString *arg3 = 0 ;
25001 bool temp3 = False ;
25002 PyObject * obj0 = 0 ;
25003 PyObject * obj1 = 0 ;
25004 PyObject * obj2 = 0 ;
25005 char *kwnames[] = {
25006 (char *) "self",(char *) "window",(char *) "text", NULL
25007 };
25008
25009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25011 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25012 {
25013 arg3 = wxString_in_helper(obj2);
25014 if (arg3 == NULL) SWIG_fail;
25015 temp3 = True;
25016 }
25017 {
25018 PyThreadState* __tstate = wxPyBeginAllowThreads();
25019 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25020
25021 wxPyEndAllowThreads(__tstate);
25022 if (PyErr_Occurred()) SWIG_fail;
25023 }
25024 Py_INCREF(Py_None); resultobj = Py_None;
25025 {
25026 if (temp3)
25027 delete arg3;
25028 }
25029 return resultobj;
25030 fail:
25031 {
25032 if (temp3)
25033 delete arg3;
25034 }
25035 return NULL;
25036 }
25037
25038
25039 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25040 PyObject *resultobj;
25041 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25042 int arg2 ;
25043 wxString *arg3 = 0 ;
25044 bool temp3 = False ;
25045 PyObject * obj0 = 0 ;
25046 PyObject * obj2 = 0 ;
25047 char *kwnames[] = {
25048 (char *) "self",(char *) "id",(char *) "text", NULL
25049 };
25050
25051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25053 {
25054 arg3 = wxString_in_helper(obj2);
25055 if (arg3 == NULL) SWIG_fail;
25056 temp3 = True;
25057 }
25058 {
25059 PyThreadState* __tstate = wxPyBeginAllowThreads();
25060 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25061
25062 wxPyEndAllowThreads(__tstate);
25063 if (PyErr_Occurred()) SWIG_fail;
25064 }
25065 Py_INCREF(Py_None); resultobj = Py_None;
25066 {
25067 if (temp3)
25068 delete arg3;
25069 }
25070 return resultobj;
25071 fail:
25072 {
25073 if (temp3)
25074 delete arg3;
25075 }
25076 return NULL;
25077 }
25078
25079
25080 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25081 PyObject *resultobj;
25082 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25083 PyObject * obj0 = 0 ;
25084 char *kwnames[] = {
25085 (char *) "self", NULL
25086 };
25087
25088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25090 {
25091 PyThreadState* __tstate = wxPyBeginAllowThreads();
25092 wxHelpProvider_Destroy(arg1);
25093
25094 wxPyEndAllowThreads(__tstate);
25095 if (PyErr_Occurred()) SWIG_fail;
25096 }
25097 Py_INCREF(Py_None); resultobj = Py_None;
25098 return resultobj;
25099 fail:
25100 return NULL;
25101 }
25102
25103
25104 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25105 PyObject *obj;
25106 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25107 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25108 Py_INCREF(obj);
25109 return Py_BuildValue((char *)"");
25110 }
25111 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25112 PyObject *resultobj;
25113 wxSimpleHelpProvider *result;
25114 char *kwnames[] = {
25115 NULL
25116 };
25117
25118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25119 {
25120 PyThreadState* __tstate = wxPyBeginAllowThreads();
25121 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25122
25123 wxPyEndAllowThreads(__tstate);
25124 if (PyErr_Occurred()) SWIG_fail;
25125 }
25126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25127 return resultobj;
25128 fail:
25129 return NULL;
25130 }
25131
25132
25133 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25134 PyObject *obj;
25135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25136 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25137 Py_INCREF(obj);
25138 return Py_BuildValue((char *)"");
25139 }
25140 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25141 PyObject *resultobj;
25142 wxBitmap *arg1 = 0 ;
25143 wxCursor const &arg2_defvalue = wxNullCursor ;
25144 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25145 wxGenericDragImage *result;
25146 PyObject * obj0 = 0 ;
25147 PyObject * obj1 = 0 ;
25148 char *kwnames[] = {
25149 (char *) "image",(char *) "cursor", NULL
25150 };
25151
25152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25154 if (arg1 == NULL) {
25155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25156 }
25157 if (obj1) {
25158 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25159 if (arg2 == NULL) {
25160 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25161 }
25162 }
25163 {
25164 PyThreadState* __tstate = wxPyBeginAllowThreads();
25165 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25166
25167 wxPyEndAllowThreads(__tstate);
25168 if (PyErr_Occurred()) SWIG_fail;
25169 }
25170 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25171 return resultobj;
25172 fail:
25173 return NULL;
25174 }
25175
25176
25177 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25178 PyObject *resultobj;
25179 wxIcon *arg1 = 0 ;
25180 wxCursor const &arg2_defvalue = wxNullCursor ;
25181 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25182 wxGenericDragImage *result;
25183 PyObject * obj0 = 0 ;
25184 PyObject * obj1 = 0 ;
25185 char *kwnames[] = {
25186 (char *) "image",(char *) "cursor", NULL
25187 };
25188
25189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25191 if (arg1 == NULL) {
25192 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25193 }
25194 if (obj1) {
25195 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25196 if (arg2 == NULL) {
25197 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25198 }
25199 }
25200 {
25201 PyThreadState* __tstate = wxPyBeginAllowThreads();
25202 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25203
25204 wxPyEndAllowThreads(__tstate);
25205 if (PyErr_Occurred()) SWIG_fail;
25206 }
25207 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25208 return resultobj;
25209 fail:
25210 return NULL;
25211 }
25212
25213
25214 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25215 PyObject *resultobj;
25216 wxString *arg1 = 0 ;
25217 wxCursor const &arg2_defvalue = wxNullCursor ;
25218 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25219 wxGenericDragImage *result;
25220 bool temp1 = False ;
25221 PyObject * obj0 = 0 ;
25222 PyObject * obj1 = 0 ;
25223 char *kwnames[] = {
25224 (char *) "str",(char *) "cursor", NULL
25225 };
25226
25227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25228 {
25229 arg1 = wxString_in_helper(obj0);
25230 if (arg1 == NULL) SWIG_fail;
25231 temp1 = True;
25232 }
25233 if (obj1) {
25234 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25235 if (arg2 == NULL) {
25236 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25237 }
25238 }
25239 {
25240 PyThreadState* __tstate = wxPyBeginAllowThreads();
25241 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25242
25243 wxPyEndAllowThreads(__tstate);
25244 if (PyErr_Occurred()) SWIG_fail;
25245 }
25246 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25247 {
25248 if (temp1)
25249 delete arg1;
25250 }
25251 return resultobj;
25252 fail:
25253 {
25254 if (temp1)
25255 delete arg1;
25256 }
25257 return NULL;
25258 }
25259
25260
25261 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25262 PyObject *resultobj;
25263 wxPyTreeCtrl *arg1 = 0 ;
25264 wxTreeItemId *arg2 = 0 ;
25265 wxGenericDragImage *result;
25266 PyObject * obj0 = 0 ;
25267 PyObject * obj1 = 0 ;
25268 char *kwnames[] = {
25269 (char *) "treeCtrl",(char *) "id", NULL
25270 };
25271
25272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25274 if (arg1 == NULL) {
25275 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25276 }
25277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25278 if (arg2 == NULL) {
25279 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25280 }
25281 {
25282 PyThreadState* __tstate = wxPyBeginAllowThreads();
25283 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25284
25285 wxPyEndAllowThreads(__tstate);
25286 if (PyErr_Occurred()) SWIG_fail;
25287 }
25288 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25289 return resultobj;
25290 fail:
25291 return NULL;
25292 }
25293
25294
25295 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25296 PyObject *resultobj;
25297 wxPyListCtrl *arg1 = 0 ;
25298 long arg2 ;
25299 wxGenericDragImage *result;
25300 PyObject * obj0 = 0 ;
25301 char *kwnames[] = {
25302 (char *) "listCtrl",(char *) "id", NULL
25303 };
25304
25305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25307 if (arg1 == NULL) {
25308 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25309 }
25310 {
25311 PyThreadState* __tstate = wxPyBeginAllowThreads();
25312 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25313
25314 wxPyEndAllowThreads(__tstate);
25315 if (PyErr_Occurred()) SWIG_fail;
25316 }
25317 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25318 return resultobj;
25319 fail:
25320 return NULL;
25321 }
25322
25323
25324 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25325 PyObject *resultobj;
25326 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25327 PyObject * obj0 = 0 ;
25328 char *kwnames[] = {
25329 (char *) "self", NULL
25330 };
25331
25332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25334 {
25335 PyThreadState* __tstate = wxPyBeginAllowThreads();
25336 delete arg1;
25337
25338 wxPyEndAllowThreads(__tstate);
25339 if (PyErr_Occurred()) SWIG_fail;
25340 }
25341 Py_INCREF(Py_None); resultobj = Py_None;
25342 return resultobj;
25343 fail:
25344 return NULL;
25345 }
25346
25347
25348 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25349 PyObject *resultobj;
25350 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25351 wxBitmap *arg2 = (wxBitmap *) 0 ;
25352 PyObject * obj0 = 0 ;
25353 PyObject * obj1 = 0 ;
25354 char *kwnames[] = {
25355 (char *) "self",(char *) "bitmap", NULL
25356 };
25357
25358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25360 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25361 {
25362 PyThreadState* __tstate = wxPyBeginAllowThreads();
25363 (arg1)->SetBackingBitmap(arg2);
25364
25365 wxPyEndAllowThreads(__tstate);
25366 if (PyErr_Occurred()) SWIG_fail;
25367 }
25368 Py_INCREF(Py_None); resultobj = Py_None;
25369 return resultobj;
25370 fail:
25371 return NULL;
25372 }
25373
25374
25375 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25376 PyObject *resultobj;
25377 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25378 wxPoint *arg2 = 0 ;
25379 wxWindow *arg3 = (wxWindow *) 0 ;
25380 bool arg4 = (bool) False ;
25381 wxRect *arg5 = (wxRect *) NULL ;
25382 bool result;
25383 wxPoint temp2 ;
25384 PyObject * obj0 = 0 ;
25385 PyObject * obj1 = 0 ;
25386 PyObject * obj2 = 0 ;
25387 PyObject * obj3 = 0 ;
25388 PyObject * obj4 = 0 ;
25389 char *kwnames[] = {
25390 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25391 };
25392
25393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25395 {
25396 arg2 = &temp2;
25397 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25398 }
25399 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25400 if (obj3) {
25401 arg4 = PyInt_AsLong(obj3) ? true : false;
25402 if (PyErr_Occurred()) SWIG_fail;
25403 }
25404 if (obj4) {
25405 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25406 }
25407 {
25408 PyThreadState* __tstate = wxPyBeginAllowThreads();
25409 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25410
25411 wxPyEndAllowThreads(__tstate);
25412 if (PyErr_Occurred()) SWIG_fail;
25413 }
25414 resultobj = PyInt_FromLong((long)result);
25415 return resultobj;
25416 fail:
25417 return NULL;
25418 }
25419
25420
25421 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25422 PyObject *resultobj;
25423 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25424 wxPoint *arg2 = 0 ;
25425 wxWindow *arg3 = (wxWindow *) 0 ;
25426 wxWindow *arg4 = (wxWindow *) 0 ;
25427 bool result;
25428 wxPoint temp2 ;
25429 PyObject * obj0 = 0 ;
25430 PyObject * obj1 = 0 ;
25431 PyObject * obj2 = 0 ;
25432 PyObject * obj3 = 0 ;
25433 char *kwnames[] = {
25434 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25435 };
25436
25437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25439 {
25440 arg2 = &temp2;
25441 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25442 }
25443 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25444 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25445 {
25446 PyThreadState* __tstate = wxPyBeginAllowThreads();
25447 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
25448
25449 wxPyEndAllowThreads(__tstate);
25450 if (PyErr_Occurred()) SWIG_fail;
25451 }
25452 resultobj = PyInt_FromLong((long)result);
25453 return resultobj;
25454 fail:
25455 return NULL;
25456 }
25457
25458
25459 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25460 PyObject *resultobj;
25461 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25462 bool result;
25463 PyObject * obj0 = 0 ;
25464 char *kwnames[] = {
25465 (char *) "self", NULL
25466 };
25467
25468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
25469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25470 {
25471 PyThreadState* __tstate = wxPyBeginAllowThreads();
25472 result = (bool)(arg1)->EndDrag();
25473
25474 wxPyEndAllowThreads(__tstate);
25475 if (PyErr_Occurred()) SWIG_fail;
25476 }
25477 resultobj = PyInt_FromLong((long)result);
25478 return resultobj;
25479 fail:
25480 return NULL;
25481 }
25482
25483
25484 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
25485 PyObject *resultobj;
25486 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25487 wxPoint *arg2 = 0 ;
25488 bool result;
25489 wxPoint temp2 ;
25490 PyObject * obj0 = 0 ;
25491 PyObject * obj1 = 0 ;
25492 char *kwnames[] = {
25493 (char *) "self",(char *) "pt", NULL
25494 };
25495
25496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
25497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25498 {
25499 arg2 = &temp2;
25500 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25501 }
25502 {
25503 PyThreadState* __tstate = wxPyBeginAllowThreads();
25504 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
25505
25506 wxPyEndAllowThreads(__tstate);
25507 if (PyErr_Occurred()) SWIG_fail;
25508 }
25509 resultobj = PyInt_FromLong((long)result);
25510 return resultobj;
25511 fail:
25512 return NULL;
25513 }
25514
25515
25516 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
25517 PyObject *resultobj;
25518 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25519 bool result;
25520 PyObject * obj0 = 0 ;
25521 char *kwnames[] = {
25522 (char *) "self", NULL
25523 };
25524
25525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
25526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25527 {
25528 PyThreadState* __tstate = wxPyBeginAllowThreads();
25529 result = (bool)(arg1)->Show();
25530
25531 wxPyEndAllowThreads(__tstate);
25532 if (PyErr_Occurred()) SWIG_fail;
25533 }
25534 resultobj = PyInt_FromLong((long)result);
25535 return resultobj;
25536 fail:
25537 return NULL;
25538 }
25539
25540
25541 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
25542 PyObject *resultobj;
25543 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25544 bool result;
25545 PyObject * obj0 = 0 ;
25546 char *kwnames[] = {
25547 (char *) "self", NULL
25548 };
25549
25550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
25551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25552 {
25553 PyThreadState* __tstate = wxPyBeginAllowThreads();
25554 result = (bool)(arg1)->Hide();
25555
25556 wxPyEndAllowThreads(__tstate);
25557 if (PyErr_Occurred()) SWIG_fail;
25558 }
25559 resultobj = PyInt_FromLong((long)result);
25560 return resultobj;
25561 fail:
25562 return NULL;
25563 }
25564
25565
25566 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25567 PyObject *resultobj;
25568 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25569 wxPoint *arg2 = 0 ;
25570 wxRect result;
25571 wxPoint temp2 ;
25572 PyObject * obj0 = 0 ;
25573 PyObject * obj1 = 0 ;
25574 char *kwnames[] = {
25575 (char *) "self",(char *) "pos", NULL
25576 };
25577
25578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
25579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25580 {
25581 arg2 = &temp2;
25582 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25583 }
25584 {
25585 PyThreadState* __tstate = wxPyBeginAllowThreads();
25586 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
25587
25588 wxPyEndAllowThreads(__tstate);
25589 if (PyErr_Occurred()) SWIG_fail;
25590 }
25591 {
25592 wxRect * resultptr;
25593 resultptr = new wxRect((wxRect &) result);
25594 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
25595 }
25596 return resultobj;
25597 fail:
25598 return NULL;
25599 }
25600
25601
25602 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25603 PyObject *resultobj;
25604 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25605 wxDC *arg2 = 0 ;
25606 wxPoint *arg3 = 0 ;
25607 bool result;
25608 wxPoint temp3 ;
25609 PyObject * obj0 = 0 ;
25610 PyObject * obj1 = 0 ;
25611 PyObject * obj2 = 0 ;
25612 char *kwnames[] = {
25613 (char *) "self",(char *) "dc",(char *) "pos", NULL
25614 };
25615
25616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25619 if (arg2 == NULL) {
25620 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25621 }
25622 {
25623 arg3 = &temp3;
25624 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25625 }
25626 {
25627 PyThreadState* __tstate = wxPyBeginAllowThreads();
25628 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
25629
25630 wxPyEndAllowThreads(__tstate);
25631 if (PyErr_Occurred()) SWIG_fail;
25632 }
25633 resultobj = PyInt_FromLong((long)result);
25634 return resultobj;
25635 fail:
25636 return NULL;
25637 }
25638
25639
25640 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25641 PyObject *resultobj;
25642 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25643 wxDC *arg2 = 0 ;
25644 wxMemoryDC *arg3 = 0 ;
25645 wxRect *arg4 = 0 ;
25646 wxRect *arg5 = 0 ;
25647 bool result;
25648 wxRect temp4 ;
25649 wxRect temp5 ;
25650 PyObject * obj0 = 0 ;
25651 PyObject * obj1 = 0 ;
25652 PyObject * obj2 = 0 ;
25653 PyObject * obj3 = 0 ;
25654 PyObject * obj4 = 0 ;
25655 char *kwnames[] = {
25656 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25657 };
25658
25659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25662 if (arg2 == NULL) {
25663 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25664 }
25665 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25666 if (arg3 == NULL) {
25667 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25668 }
25669 {
25670 arg4 = &temp4;
25671 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
25672 }
25673 {
25674 arg5 = &temp5;
25675 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
25676 }
25677 {
25678 PyThreadState* __tstate = wxPyBeginAllowThreads();
25679 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
25680
25681 wxPyEndAllowThreads(__tstate);
25682 if (PyErr_Occurred()) SWIG_fail;
25683 }
25684 resultobj = PyInt_FromLong((long)result);
25685 return resultobj;
25686 fail:
25687 return NULL;
25688 }
25689
25690
25691 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25692 PyObject *resultobj;
25693 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25694 wxPoint *arg2 = 0 ;
25695 wxPoint *arg3 = 0 ;
25696 bool arg4 ;
25697 bool arg5 ;
25698 bool result;
25699 wxPoint temp2 ;
25700 wxPoint temp3 ;
25701 PyObject * obj0 = 0 ;
25702 PyObject * obj1 = 0 ;
25703 PyObject * obj2 = 0 ;
25704 PyObject * obj3 = 0 ;
25705 PyObject * obj4 = 0 ;
25706 char *kwnames[] = {
25707 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25708 };
25709
25710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25712 {
25713 arg2 = &temp2;
25714 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25715 }
25716 {
25717 arg3 = &temp3;
25718 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25719 }
25720 arg4 = PyInt_AsLong(obj3) ? true : false;
25721 if (PyErr_Occurred()) SWIG_fail;
25722 arg5 = PyInt_AsLong(obj4) ? true : false;
25723 if (PyErr_Occurred()) SWIG_fail;
25724 {
25725 PyThreadState* __tstate = wxPyBeginAllowThreads();
25726 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
25727
25728 wxPyEndAllowThreads(__tstate);
25729 if (PyErr_Occurred()) SWIG_fail;
25730 }
25731 resultobj = PyInt_FromLong((long)result);
25732 return resultobj;
25733 fail:
25734 return NULL;
25735 }
25736
25737
25738 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
25739 PyObject *obj;
25740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25741 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
25742 Py_INCREF(obj);
25743 return Py_BuildValue((char *)"");
25744 }
25745 static PyMethodDef SwigMethods[] = {
25746 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
25747 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
25748 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
25749 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
25750 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25751 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
25752 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
25753 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
25754 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
25755 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25756 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25757 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25758 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25759 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25760 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25761 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25762 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25763 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
25764 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
25765 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
25766 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
25767 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
25768 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
25769 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
25770 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25771 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25772 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25773 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
25774 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
25775 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
25776 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
25777 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
25778 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
25779 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
25780 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
25781 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
25782 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
25783 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
25784 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25785 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
25786 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
25787 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
25788 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
25789 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
25790 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25791 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25792 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
25793 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
25794 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
25795 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25796 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25797 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25798 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
25799 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
25800 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
25801 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25802 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
25803 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
25804 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
25805 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
25806 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
25807 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
25808 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
25809 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
25810 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
25811 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
25812 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25813 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25814 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
25815 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
25816 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
25817 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
25818 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
25819 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
25820 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
25821 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
25822 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
25823 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
25824 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
25825 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25826 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
25827 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
25828 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
25829 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
25830 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
25831 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
25832 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
25833 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
25834 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25835 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25836 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
25837 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
25838 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
25839 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
25840 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
25841 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
25842 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
25843 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
25844 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25845 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25846 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
25847 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
25848 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25849 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25850 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
25851 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
25852 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
25853 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25854 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
25855 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
25856 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
25857 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
25858 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
25859 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
25860 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25861 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
25862 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
25863 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
25864 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
25865 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
25866 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
25867 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
25868 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25869 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25870 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25871 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25872 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
25873 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25874 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
25875 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
25876 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25877 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25878 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25879 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
25880 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
25881 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
25882 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
25883 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
25884 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25885 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25886 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25887 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25888 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
25889 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25890 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
25891 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
25892 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
25893 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
25894 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
25895 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
25896 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
25897 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25898 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25899 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25900 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
25901 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
25902 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
25903 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
25904 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
25905 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
25906 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
25907 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
25908 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25909 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25910 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
25911 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
25912 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
25913 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
25914 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
25915 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
25916 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
25917 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
25918 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
25919 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
25920 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
25921 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
25922 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
25923 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25924 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25925 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
25926 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
25927 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
25928 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
25929 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
25930 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
25931 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
25932 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
25933 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
25934 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
25935 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
25936 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
25937 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
25938 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25939 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25940 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25941 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25942 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25943 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
25944 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
25945 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
25946 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
25947 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
25948 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
25949 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
25950 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
25951 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
25952 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
25953 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
25954 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
25955 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
25956 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25957 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
25958 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25959 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
25960 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
25961 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25962 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
25963 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
25964 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
25965 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
25966 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
25967 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25968 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
25969 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
25970 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25971 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
25972 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
25973 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
25974 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
25975 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
25976 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
25977 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
25978 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25979 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25980 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25981 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
25982 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
25983 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
25984 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
25985 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25986 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
25987 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
25988 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
25989 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
25990 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25991 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
25992 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25993 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25994 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
25995 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
25996 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
25997 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
25998 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
25999 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26000 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26001 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26002 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26003 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26004 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26005 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26006 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26007 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26008 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26009 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26010 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26012 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26013 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26014 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26015 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26020 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26024 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26025 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26029 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26034 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26035 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26036 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26041 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26042 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26043 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26049 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26053 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26054 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26058 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26062 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26064 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26068 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26077 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26079 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26084 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26086 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26091 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26094 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26096 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26126 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26130 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26132 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26158 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26168 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26169 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26173 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26185 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26187 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26237 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26264 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26275 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26301 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26307 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26316 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26317 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26333 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26343 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26345 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26353 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26360 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26370 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26375 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26447 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26469 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26474 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26495 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26503 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26508 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26510 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26518 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
26520 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
26538 { NULL, NULL }
26539 };
26540
26541
26542 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26543
26544 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26545 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26546 }
26547 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26548 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26549 }
26550 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26551 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26552 }
26553 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26554 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26555 }
26556 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26557 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26558 }
26559 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26560 return (void *)((wxSizer *) ((wxGridSizer *) x));
26561 }
26562 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26563 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26564 }
26565 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26566 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26567 }
26568 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26569 return (void *)((wxSizer *) ((wxPySizer *) x));
26570 }
26571 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26572 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26573 }
26574 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26575 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26576 }
26577 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26578 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26579 }
26580 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26581 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26582 }
26583 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26584 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26585 }
26586 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26587 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26588 }
26589 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26590 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26591 }
26592 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26593 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26594 }
26595 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26596 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26597 }
26598 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26599 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26600 }
26601 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26602 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26603 }
26604 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26605 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26606 }
26607 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26608 return (void *)((wxEvent *) ((wxPyEvent *) x));
26609 }
26610 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26611 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26612 }
26613 static void *_p_wxListEventTo_p_wxEvent(void *x) {
26614 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26615 }
26616 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26617 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26618 }
26619 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26620 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26621 }
26622 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26623 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26624 }
26625 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26626 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26627 }
26628 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26629 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26630 }
26631 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26632 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26633 }
26634 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26635 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26636 }
26637 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26638 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26639 }
26640 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26641 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26642 }
26643 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26644 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26645 }
26646 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26647 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26648 }
26649 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26650 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26651 }
26652 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26653 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26654 }
26655 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26656 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26657 }
26658 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26659 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26660 }
26661 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26662 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26663 }
26664 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26665 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26666 }
26667 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26668 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26669 }
26670 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26671 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26672 }
26673 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26674 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26675 }
26676 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26677 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26678 }
26679 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26680 return (void *)((wxEvent *) ((wxShowEvent *) x));
26681 }
26682 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26683 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26684 }
26685 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26686 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26687 }
26688 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26689 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26690 }
26691 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26692 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26693 }
26694 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26695 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26696 }
26697 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26698 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26699 }
26700 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
26701 return (void *)((wxItemContainer *) ((wxComboBox *) x));
26702 }
26703 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
26704 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26705 }
26706 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
26707 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
26708 }
26709 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
26710 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
26711 }
26712 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
26713 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
26714 }
26715 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
26716 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26717 }
26718 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
26719 return (void *)((wxPyListCtrl *) ((wxListView *) x));
26720 }
26721 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
26722 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26723 }
26724 static void *_p_wxListBoxTo_p_wxControl(void *x) {
26725 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
26726 }
26727 static void *_p_wxChoiceTo_p_wxControl(void *x) {
26728 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
26729 }
26730 static void *_p_wxToolBarTo_p_wxControl(void *x) {
26731 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
26732 }
26733 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
26734 return (void *)((wxControl *) ((wxStaticBitmap *) x));
26735 }
26736 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
26737 return (void *)((wxControl *) ((wxComboBox *) x));
26738 }
26739 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
26740 return (void *)((wxControl *) ((wxSpinCtrl *) x));
26741 }
26742 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
26743 return (void *)((wxControl *) ((wxStaticBox *) x));
26744 }
26745 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
26746 return (void *)((wxControl *) ((wxPyListCtrl *) x));
26747 }
26748 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
26749 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
26750 }
26751 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
26752 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26753 }
26754 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
26755 return (void *)((wxControl *) ((wxScrollBar *) x));
26756 }
26757 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
26758 return (void *)((wxControl *) ((wxBookCtrl *) x));
26759 }
26760 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
26761 return (void *)((wxControl *) ((wxRadioButton *) x));
26762 }
26763 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
26764 return (void *)((wxControl *) ((wxToggleButton *) x));
26765 }
26766 static void *_p_wxGaugeTo_p_wxControl(void *x) {
26767 return (void *)((wxControl *) ((wxGauge *) x));
26768 }
26769 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
26770 return (void *)((wxControl *) ((wxToolBarBase *) x));
26771 }
26772 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
26773 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
26774 }
26775 static void *_p_wxButtonTo_p_wxControl(void *x) {
26776 return (void *)((wxControl *) ((wxButton *) x));
26777 }
26778 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
26779 return (void *)((wxControl *) ((wxSpinButton *) x));
26780 }
26781 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
26782 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26783 }
26784 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
26785 return (void *)((wxControl *) ((wxControlWithItems *) x));
26786 }
26787 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
26788 return (void *)((wxControl *) ((wxRadioBox *) x));
26789 }
26790 static void *_p_wxNotebookTo_p_wxControl(void *x) {
26791 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
26792 }
26793 static void *_p_wxListbookTo_p_wxControl(void *x) {
26794 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
26795 }
26796 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
26797 return (void *)((wxControl *) ((wxCheckBox *) x));
26798 }
26799 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
26800 return (void *)((wxControl *) ((wxTextCtrl *) x));
26801 }
26802 static void *_p_wxListViewTo_p_wxControl(void *x) {
26803 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
26804 }
26805 static void *_p_wxSliderTo_p_wxControl(void *x) {
26806 return (void *)((wxControl *) ((wxSlider *) x));
26807 }
26808 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
26809 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
26810 }
26811 static void *_p_wxPyControlTo_p_wxControl(void *x) {
26812 return (void *)((wxControl *) ((wxPyControl *) x));
26813 }
26814 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
26815 return (void *)((wxControl *) ((wxStaticLine *) x));
26816 }
26817 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
26818 return (void *)((wxControl *) ((wxStaticText *) x));
26819 }
26820 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
26821 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
26822 }
26823 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
26824 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
26825 }
26826 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
26827 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
26828 }
26829 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
26830 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26831 }
26832 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
26833 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
26834 }
26835 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
26836 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26837 }
26838 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
26839 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
26840 }
26841 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
26842 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
26843 }
26844 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26845 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26846 }
26847 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26848 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26849 }
26850 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26851 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26852 }
26853 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
26854 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26855 }
26856 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26857 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26858 }
26859 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
26860 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
26861 }
26862 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
26863 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
26864 }
26865 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26866 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26867 }
26868 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26869 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26870 }
26871 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
26872 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26873 }
26874 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
26875 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26876 }
26877 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
26878 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
26879 }
26880 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
26881 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26882 }
26883 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
26884 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
26885 }
26886 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26887 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26888 }
26889 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
26890 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26891 }
26892 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
26893 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
26894 }
26895 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26896 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26897 }
26898 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
26899 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
26900 }
26901 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
26902 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
26903 }
26904 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
26905 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26906 }
26907 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
26908 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26909 }
26910 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
26911 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
26912 }
26913 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
26914 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
26915 }
26916 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
26917 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26918 }
26919 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
26920 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26921 }
26922 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
26923 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26924 }
26925 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
26926 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26927 }
26928 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
26929 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26930 }
26931 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
26932 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26933 }
26934 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
26935 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
26936 }
26937 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
26938 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
26939 }
26940 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
26941 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
26942 }
26943 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
26944 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
26945 }
26946 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
26947 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
26948 }
26949 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
26950 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
26951 }
26952 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
26953 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
26954 }
26955 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
26956 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26957 }
26958 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
26959 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26960 }
26961 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
26962 return (void *)((wxListBox *) ((wxCheckListBox *) x));
26963 }
26964 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
26965 return (void *)((wxBookCtrl *) ((wxListbook *) x));
26966 }
26967 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
26968 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
26969 }
26970 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
26971 return (void *)((wxButton *) ((wxBitmapButton *) x));
26972 }
26973 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
26974 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
26975 }
26976 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
26977 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
26978 }
26979 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
26980 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
26981 }
26982 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26983 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26984 }
26985 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26986 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26987 }
26988 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26989 return (void *)((wxObject *) ((wxSizerItem *) x));
26990 }
26991 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26992 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26993 }
26994 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26995 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26996 }
26997 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
26998 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
26999 }
27000 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27001 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27002 }
27003 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27004 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27005 }
27006 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27007 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27008 }
27009 static void *_p_wxSizerTo_p_wxObject(void *x) {
27010 return (void *)((wxObject *) ((wxSizer *) x));
27011 }
27012 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27013 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27014 }
27015 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27017 }
27018 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27020 }
27021 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27022 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27023 }
27024 static void *_p_wxEventTo_p_wxObject(void *x) {
27025 return (void *)((wxObject *) ((wxEvent *) x));
27026 }
27027 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27028 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27029 }
27030 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27031 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27032 }
27033 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27034 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27035 }
27036 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27038 }
27039 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27041 }
27042 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27044 }
27045 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27046 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27047 }
27048 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27049 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27050 }
27051 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27052 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27053 }
27054 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27055 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27056 }
27057 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27058 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27059 }
27060 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27061 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27062 }
27063 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27065 }
27066 static void *_p_wxControlTo_p_wxObject(void *x) {
27067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27068 }
27069 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27071 }
27072 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27074 }
27075 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27077 }
27078 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27080 }
27081 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27082 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27083 }
27084 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27085 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27086 }
27087 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27088 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27089 }
27090 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27091 return (void *)((wxObject *) ((wxFSFile *) x));
27092 }
27093 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27094 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27095 }
27096 static void *_p_wxListViewTo_p_wxObject(void *x) {
27097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27098 }
27099 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27101 }
27102 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27103 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27104 }
27105 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27106 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27107 }
27108 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27109 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27110 }
27111 static void *_p_wxListbookTo_p_wxObject(void *x) {
27112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27113 }
27114 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27115 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27116 }
27117 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27118 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27119 }
27120 static void *_p_wxSliderTo_p_wxObject(void *x) {
27121 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27122 }
27123 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27124 return (void *)((wxObject *) ((wxMenuItem *) x));
27125 }
27126 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27127 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27128 }
27129 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27130 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27131 }
27132 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27133 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27134 }
27135 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27136 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27137 }
27138 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27139 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27140 }
27141 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27142 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27143 }
27144 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27145 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27146 }
27147 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27148 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27149 }
27150 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27151 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27152 }
27153 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27154 return (void *)((wxObject *) ((wxContextHelp *) x));
27155 }
27156 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27157 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27158 }
27159 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27160 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27161 }
27162 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27163 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27164 }
27165 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27166 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27167 }
27168 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27169 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27170 }
27171 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27172 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27173 }
27174 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27175 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27176 }
27177 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27178 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27179 }
27180 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27181 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27182 }
27183 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27184 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27185 }
27186 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27187 return (void *)((wxObject *) ((wxImageHandler *) x));
27188 }
27189 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27190 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27191 }
27192 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27193 return (void *)((wxObject *) ((wxEvtHandler *) x));
27194 }
27195 static void *_p_wxListEventTo_p_wxObject(void *x) {
27196 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27197 }
27198 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27199 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27200 }
27201 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27202 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27203 }
27204 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27205 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27206 }
27207 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27208 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27209 }
27210 static void *_p_wxButtonTo_p_wxObject(void *x) {
27211 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27212 }
27213 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27214 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27215 }
27216 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27217 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27218 }
27219 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27220 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27221 }
27222 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27223 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27224 }
27225 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27226 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
27227 }
27228 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27229 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27230 }
27231 static void *_p_wxListItemTo_p_wxObject(void *x) {
27232 return (void *)((wxObject *) ((wxListItem *) x));
27233 }
27234 static void *_p_wxImageTo_p_wxObject(void *x) {
27235 return (void *)((wxObject *) ((wxImage *) x));
27236 }
27237 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27238 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27239 }
27240 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27241 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27242 }
27243 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27244 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27245 }
27246 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27247 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27248 }
27249 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27250 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27251 }
27252 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27253 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27254 }
27255 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27256 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27257 }
27258 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27259 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27260 }
27261 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27262 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27263 }
27264 static void *_p_wxWindowTo_p_wxObject(void *x) {
27265 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27266 }
27267 static void *_p_wxMenuTo_p_wxObject(void *x) {
27268 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27269 }
27270 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27271 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27272 }
27273 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27274 return (void *)((wxObject *) ((wxFileSystem *) x));
27275 }
27276 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27277 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27278 }
27279 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27280 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27281 }
27282 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27283 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27284 }
27285 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27286 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27287 }
27288 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27289 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27290 }
27291 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27292 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27293 }
27294 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27295 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27296 }
27297 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27298 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27299 }
27300 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27301 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27302 }
27303 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27304 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27305 }
27306 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27307 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27308 }
27309 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27310 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27311 }
27312 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27313 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27314 }
27315 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27317 }
27318 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27319 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27320 }
27321 static void *_p_wxToolBarTo_p_wxObject(void *x) {
27322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27323 }
27324 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27325 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27326 }
27327 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27328 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27329 }
27330 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27331 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27332 }
27333 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27334 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27335 }
27336 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27337 return (void *)((wxWindow *) ((wxMenuBar *) x));
27338 }
27339 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27340 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27341 }
27342 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27343 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27344 }
27345 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27346 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27347 }
27348 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27349 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27350 }
27351 static void *_p_wxControlTo_p_wxWindow(void *x) {
27352 return (void *)((wxWindow *) ((wxControl *) x));
27353 }
27354 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27355 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27356 }
27357 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27358 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27359 }
27360 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27361 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27362 }
27363 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27364 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
27365 }
27366 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27367 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27368 }
27369 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27370 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27371 }
27372 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27373 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27374 }
27375 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27376 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27377 }
27378 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27379 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27380 }
27381 static void *_p_wxListbookTo_p_wxWindow(void *x) {
27382 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27383 }
27384 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27385 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27386 }
27387 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27388 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27389 }
27390 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27391 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27392 }
27393 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27394 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27395 }
27396 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27397 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27398 }
27399 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27400 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27401 }
27402 static void *_p_wxListViewTo_p_wxWindow(void *x) {
27403 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27404 }
27405 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27406 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27407 }
27408 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27409 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27410 }
27411 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27412 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27413 }
27414 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27415 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27416 }
27417 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27418 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27419 }
27420 static void *_p_wxSliderTo_p_wxWindow(void *x) {
27421 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27422 }
27423 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27424 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27425 }
27426 static void *_p_wxButtonTo_p_wxWindow(void *x) {
27427 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27428 }
27429 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27430 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27431 }
27432 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27433 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27434 }
27435 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27436 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27437 }
27438 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27439 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27440 }
27441 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27442 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27443 }
27444 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27445 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27446 }
27447 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27448 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27449 }
27450 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27451 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27452 }
27453 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27454 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27455 }
27456 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27457 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27458 }
27459 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27460 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27461 }
27462 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27463 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27464 }
27465 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27466 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27467 }
27468 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27469 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27470 }
27471 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27472 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27473 }
27474 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27475 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27476 }
27477 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27478 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27479 }
27480 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27481 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27482 }
27483 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27484 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27485 }
27486 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27487 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27488 }
27489 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27490 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27491 }
27492 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27493 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27494 }
27495 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27496 return (void *)((wxValidator *) ((wxPyValidator *) x));
27497 }
27498 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27499 static swig_type_info _swigt__p_wxBookCtrlEvent[] = {{"_p_wxBookCtrlEvent", 0, "wxBookCtrlEvent *", 0},{"_p_wxBookCtrlEvent"},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxBookCtrlEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxBookCtrlEvent},{0}};
27500 static swig_type_info _swigt__p_wxSizer[] = {{"_p_wxSizer", 0, "wxSizer *", 0},{"_p_wxSizer"},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxSizer},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxSizer},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxSizer},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxSizer},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxSizer},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxSizer},{"_p_wxPySizer", _p_wxPySizerTo_p_wxSizer},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxSizer},{0}};
27501 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27502 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27503 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27504 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27505 static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxEvent},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{0}};
27506 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27507 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27508 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27509 static swig_type_info _swigt__p_wxItemContainer[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxItemContainer},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxItemContainer},{"_p_wxChoice", _p_wxChoiceTo_p_wxItemContainer},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer},{"_p_wxListBox", _p_wxListBoxTo_p_wxItemContainer},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxItemContainer},{"_p_wxItemContainer"},{0}};
27510 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27511 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27512 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27513 static swig_type_info _swigt__p_wxControl[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxControl},{"_p_wxToolBar", _p_wxToolBarTo_p_wxControl},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxControl},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxControl},{"_p_wxControl"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxControl},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxControl},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxControl},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControl},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControl},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxControl},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxControl},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl},{"_p_wxGauge", _p_wxGaugeTo_p_wxControl},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxControl},{"_p_wxListbook", _p_wxListbookTo_p_wxControl},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxControl},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxControl},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxControl},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControl},{"_p_wxListBox", _p_wxListBoxTo_p_wxControl},{"_p_wxChoice", _p_wxChoiceTo_p_wxControl},{"_p_wxListView", _p_wxListViewTo_p_wxControl},{"_p_wxNotebook", _p_wxNotebookTo_p_wxControl},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxControl},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxControl},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxControl},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxControl},{"_p_wxSlider", _p_wxSliderTo_p_wxControl},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxControl},{"_p_wxButton", _p_wxButtonTo_p_wxControl},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxControl},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxControl},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxControl},{0}};
27514 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27515 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27516 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27517 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27518 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27519 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27520 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
27521 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27522 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27523 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27524 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27525 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27526 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27527 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27528 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27529 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27530 static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxNotifyEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxNotifyEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxNotifyEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxNotifyEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
27531 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27532 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27533 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27534 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27535 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27536 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27537 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27538 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27539 static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxToolBar", _p_wxToolBarTo_p_wxEvtHandler},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxEvtHandler},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxPyControl", _p_wxPyControlTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxEvtHandler},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxEvtHandler},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxEvtHandler},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxEvtHandler},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxGauge", _p_wxGaugeTo_p_wxEvtHandler},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxListbook", _p_wxListbookTo_p_wxEvtHandler},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxEvtHandler},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxEvtHandler},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxEvtHandler},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxEvtHandler},{"_p_wxListBox", _p_wxListBoxTo_p_wxEvtHandler},{"_p_wxChoice", _p_wxChoiceTo_p_wxEvtHandler},{"_p_wxListView", _p_wxListViewTo_p_wxEvtHandler},{"_p_wxNotebook", _p_wxNotebookTo_p_wxEvtHandler},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxEvtHandler},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxEvtHandler},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxEvtHandler},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxEvtHandler},{"_p_wxSlider", _p_wxSliderTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxEvtHandler},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxEvtHandler},{"_p_wxButton", _p_wxButtonTo_p_wxEvtHandler},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxEvtHandler},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxEvtHandler},{0}};
27540 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27541 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27542 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27543 static swig_type_info _swigt__p_wxBookCtrl[] = {{"_p_wxBookCtrl", 0, "wxBookCtrl *", 0},{"_p_wxListbook", _p_wxListbookTo_p_wxBookCtrl},{"_p_wxBookCtrl"},{"_p_wxNotebook", _p_wxNotebookTo_p_wxBookCtrl},{0}};
27544 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27545 static swig_type_info _swigt__p_wxButton[] = {{"_p_wxButton", 0, "wxButton *", 0},{"_p_wxButton"},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxButton},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxButton},{0}};
27546 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27547 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27548 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27549 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27550 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27551 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27552 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27553 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27554 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27555 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27556 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27557 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27558 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27559 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27560 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27561 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27562 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27563 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27564 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27565 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
27566 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27567 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27568 static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxToolBar", _p_wxToolBarTo_p_wxWindow},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxWindow},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxPyControl", _p_wxPyControlTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxWindow},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxWindow},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxWindow},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxWindow},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxWindow},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxGauge", _p_wxGaugeTo_p_wxWindow},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxWindow},{"_p_wxListbook", _p_wxListbookTo_p_wxWindow},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxWindow},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxWindow},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxWindow},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxWindow},{"_p_wxListBox", _p_wxListBoxTo_p_wxWindow},{"_p_wxChoice", _p_wxChoiceTo_p_wxWindow},{"_p_wxListView", _p_wxListViewTo_p_wxWindow},{"_p_wxNotebook", _p_wxNotebookTo_p_wxWindow},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxWindow},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxWindow},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxWindow},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxWindow},{"_p_wxSlider", _p_wxSliderTo_p_wxWindow},{"_p_wxButton", _p_wxButtonTo_p_wxWindow},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxWindow},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxWindow},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxWindow},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxWindow},{0}};
27569 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27570 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27571 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27572 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27573 static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxCommandEvent},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxCommandEvent},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxCommandEvent},{"_p_wxListEvent", _p_wxListEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxCommandEvent},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxCommandEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{0}};
27574 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27575 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems},{0}};
27576 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27577 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27578 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27579 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27580 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27581
27582 static swig_type_info *swig_types_initial[] = {
27583 _swigt__p_wxTextUrlEvent,
27584 _swigt__p_wxBookCtrlEvent,
27585 _swigt__p_wxSizer,
27586 _swigt__p_wxTreeItemIdValue,
27587 _swigt__wxTreeItemIdValue,
27588 _swigt__p_wxCheckBox,
27589 _swigt__p_wxPyTreeCtrl,
27590 _swigt__p_wxEvent,
27591 _swigt__p_wxGenericDirCtrl,
27592 _swigt__p_bool,
27593 _swigt__p_wxPyTreeItemData,
27594 _swigt__p_wxItemContainer,
27595 _swigt__p_wxDirFilterListCtrl,
27596 _swigt__p_wxPyListCtrl,
27597 _swigt__p_wxStaticLine,
27598 _swigt__p_wxControl,
27599 _swigt__p_wxPyControl,
27600 _swigt__p_wxGauge,
27601 _swigt__p_wxToolBarBase,
27602 _swigt__p_wxFont,
27603 _swigt__p_wxToggleButton,
27604 _swigt__p_wxRadioButton,
27605 _swigt__p_wxChoice,
27606 _swigt__p_wxMemoryDC,
27607 _swigt__p_wxListItemAttr,
27608 _swigt__p_int,
27609 _swigt__p_wxSize,
27610 _swigt__p_wxDC,
27611 _swigt__p_wxListView,
27612 _swigt__p_wxIcon,
27613 _swigt__p_wxTextCtrl,
27614 _swigt__p_wxNotebook,
27615 _swigt__p_wxNotifyEvent,
27616 _swigt__p_wxArrayString,
27617 _swigt__p_wxListbook,
27618 _swigt__p_wxStaticBitmap,
27619 _swigt__p_wxSlider,
27620 _swigt__p_wxStaticBox,
27621 _swigt__p_wxArrayInt,
27622 _swigt__p_wxContextHelp,
27623 _swigt__p_long,
27624 _swigt__p_wxEvtHandler,
27625 _swigt__p_wxListEvent,
27626 _swigt__p_wxListBox,
27627 _swigt__p_wxCheckListBox,
27628 _swigt__p_wxBookCtrl,
27629 _swigt__p_wxSpinButton,
27630 _swigt__p_wxButton,
27631 _swigt__p_wxBitmapButton,
27632 _swigt__p_wxRect,
27633 _swigt__p_wxContextHelpButton,
27634 _swigt__p_wxRadioBox,
27635 _swigt__p_wxScrollBar,
27636 _swigt__p_wxTreeItemId,
27637 _swigt__p_wxComboBox,
27638 _swigt__p_wxHelpEvent,
27639 _swigt__p_wxListItem,
27640 _swigt__p_wxNotebookSizer,
27641 _swigt__p_wxGenericDragImage,
27642 _swigt__p_wxSpinCtrl,
27643 _swigt__p_wxImageList,
27644 _swigt__p_wxHelpProvider,
27645 _swigt__p_wxTextAttr,
27646 _swigt__p_wxSimpleHelpProvider,
27647 _swigt__p_wxPoint,
27648 _swigt__p_wxListbookEvent,
27649 _swigt__p_wxNotebookEvent,
27650 _swigt__p_wxObject,
27651 _swigt__p_wxCursor,
27652 _swigt__p_wxKeyEvent,
27653 _swigt__p_wxWindow,
27654 _swigt__p_wxString,
27655 _swigt__p_wxBitmap,
27656 _swigt__p_wxTreeEvent,
27657 _swigt__p_wxMouseEvent,
27658 _swigt__p_wxCommandEvent,
27659 _swigt__p_wxStaticText,
27660 _swigt__p_wxControlWithItems,
27661 _swigt__p_wxToolBarToolBase,
27662 _swigt__p_wxColour,
27663 _swigt__p_wxToolBar,
27664 _swigt__p_wxBookCtrlSizer,
27665 _swigt__p_wxValidator,
27666 0
27667 };
27668
27669
27670 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27671
27672 static swig_const_info swig_const_table[] = {
27673 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
27674 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
27675 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
27676 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
27677 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
27678 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
27679 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
27680 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
27681 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
27682 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
27683 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
27684 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
27685 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
27686 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
27687 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
27688 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
27689 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
27690 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
27691 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
27692 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
27693 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
27694 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
27695 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
27696 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
27697 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
27698 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
27699 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
27700 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
27701 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
27702 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
27703 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
27704 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
27705 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
27706 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
27707 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
27708 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
27709 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
27710 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
27711 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
27712 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
27713 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
27714 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
27715 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
27716 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
27717 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
27718 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
27719 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
27720 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
27721 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
27722 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
27723 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
27724 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
27725 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
27726 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
27727 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
27728 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
27729 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
27730 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
27731 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
27732 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
27733 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
27734 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
27735 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
27736 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
27737 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
27738 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
27739 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
27740 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
27741 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
27742 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
27743 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
27744 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
27745 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
27746 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
27747 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
27748 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
27749 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
27750 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
27751 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
27752 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
27753 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
27754 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
27755 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
27756 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
27757 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
27758 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
27759 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
27760 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
27761 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
27762 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
27763 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
27764 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
27765 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
27766 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
27767 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
27768 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
27769 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
27770 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
27771 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
27772 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
27773 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
27774 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
27775 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
27776 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
27777 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
27778 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
27779 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
27780 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
27781 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
27782 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
27783 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
27784 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
27785 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
27786 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
27787 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
27788 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
27789 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
27790 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
27791 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
27792 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
27793 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
27794 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
27795 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
27796 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
27797 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
27798 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
27799 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
27800 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
27801 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
27802 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
27803 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
27804 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
27805 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
27806 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
27807 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
27808 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
27809 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
27810 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
27811 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27812 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
27813 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
27814 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
27815 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
27816 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
27817 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
27818 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
27819 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
27820 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
27821 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
27822 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
27823 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
27824 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
27825 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
27826 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
27827 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
27828 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
27829 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
27830 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
27831 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
27832 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
27833 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
27834 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
27835 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
27836 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
27837 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
27838 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
27839 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
27840 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
27841 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
27842 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
27843 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
27844 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
27845 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
27846 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
27847 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
27848 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
27849 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
27850 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
27851 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
27852 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
27853 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
27854 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
27855 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
27856 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
27857 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
27858 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
27859 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
27860 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
27861 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
27862 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
27863 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
27864 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
27865 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
27866 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
27867 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
27868 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
27869 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
27870 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
27871 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
27872 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
27873 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
27874 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
27875 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
27876 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
27877 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
27878 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
27879 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
27880 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
27881 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
27882 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
27883 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
27884 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
27885 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
27886 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
27887 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
27888 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27889 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
27890 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
27891 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
27892 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
27893 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
27894 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
27895 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
27896 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
27897 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
27898 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
27899 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
27900 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
27901 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
27902 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
27903 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
27904 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
27905 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
27906 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
27907 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
27908 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
27909 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
27910 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
27911 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
27912 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
27913 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
27914 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
27915 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
27916 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
27917 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
27918 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
27919 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
27920 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
27921 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
27922 {0}};
27923
27924 #ifdef __cplusplus
27925 }
27926 #endif
27927
27928 #ifdef __cplusplus
27929 extern "C"
27930 #endif
27931 SWIGEXPORT(void) SWIG_init(void) {
27932 static PyObject *SWIG_globals = 0;
27933 static int typeinit = 0;
27934 PyObject *m, *d;
27935 int i;
27936 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27937 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27938 d = PyModule_GetDict(m);
27939
27940 if (!typeinit) {
27941 for (i = 0; swig_types_initial[i]; i++) {
27942 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27943 }
27944 typeinit = 1;
27945 }
27946 SWIG_InstallConstants(d,swig_const_table);
27947
27948 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
27949 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
27950 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
27951 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
27952 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
27953 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
27954 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
27955 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
27956 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
27957 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
27958 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
27959 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
27960 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
27961 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
27962 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
27963 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
27964 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
27965 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
27966 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
27967 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
27968 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
27969 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
27970 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
27971 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
27972 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
27973 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
27974 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
27975 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
27976 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
27977 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
27978 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
27979 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
27980
27981 // Map renamed classes back to their common name for OOR
27982 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
27983
27984 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
27985 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
27986 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
27987 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
27988 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
27989 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
27990 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
27991 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
27992 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
27993 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
27994 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
27995 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
27996 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
27997 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
27998 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
27999 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28000 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28001 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28002 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28003
28004 // Map renamed classes back to their common name for OOR
28005 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28006 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28007
28008 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28009 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28010
28011 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28012
28013 }
28014