]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/mac/controls_wrap.cpp
Reworked how stock objects are initialized. They now have an
[wxWidgets.git] / wxPython / src / mac / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
149
150 /* Flags for pointer conversion */
151
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
154
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
157
158 /* Constant information structure */
159 typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166 } swig_const_info;
167
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199
200 /* Contract support */
201
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204 #ifdef __cplusplus
205 }
206 #endif
207
208
209
210 /* -------- TYPES TABLE (BEGIN) -------- */
211
212 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
213 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
214 #define SWIGTYPE_p_wxSizer swig_types[2]
215 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
216 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
217 #define SWIGTYPE_p_wxCheckBox swig_types[5]
218 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
221 #define SWIGTYPE_p_bool swig_types[9]
222 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
223 #define SWIGTYPE_p_wxItemContainer swig_types[11]
224 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
225 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
226 #define SWIGTYPE_p_wxStaticLine swig_types[14]
227 #define SWIGTYPE_p_wxControl swig_types[15]
228 #define SWIGTYPE_p_wxPyControl swig_types[16]
229 #define SWIGTYPE_p_wxGauge swig_types[17]
230 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
231 #define SWIGTYPE_p_wxFont swig_types[19]
232 #define SWIGTYPE_p_wxToggleButton swig_types[20]
233 #define SWIGTYPE_p_wxRadioButton swig_types[21]
234 #define SWIGTYPE_p_wxChoice swig_types[22]
235 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
236 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
237 #define SWIGTYPE_p_int swig_types[25]
238 #define SWIGTYPE_p_wxSize swig_types[26]
239 #define SWIGTYPE_p_wxDC swig_types[27]
240 #define SWIGTYPE_p_wxListView swig_types[28]
241 #define SWIGTYPE_p_wxIcon swig_types[29]
242 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
243 #define SWIGTYPE_p_wxNotebook swig_types[31]
244 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
245 #define SWIGTYPE_p_wxArrayString swig_types[33]
246 #define SWIGTYPE_p_wxListbook swig_types[34]
247 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
248 #define SWIGTYPE_p_wxSlider swig_types[36]
249 #define SWIGTYPE_p_wxStaticBox swig_types[37]
250 #define SWIGTYPE_p_wxArrayInt swig_types[38]
251 #define SWIGTYPE_p_wxContextHelp swig_types[39]
252 #define SWIGTYPE_p_long swig_types[40]
253 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
254 #define SWIGTYPE_p_wxListEvent swig_types[42]
255 #define SWIGTYPE_p_wxListBox swig_types[43]
256 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
257 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
258 #define SWIGTYPE_p_wxSpinButton swig_types[46]
259 #define SWIGTYPE_p_wxButton swig_types[47]
260 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
261 #define SWIGTYPE_p_wxRect swig_types[49]
262 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
263 #define SWIGTYPE_p_wxRadioBox swig_types[51]
264 #define SWIGTYPE_p_wxScrollBar swig_types[52]
265 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
266 #define SWIGTYPE_p_wxComboBox swig_types[54]
267 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
268 #define SWIGTYPE_p_wxListItem swig_types[56]
269 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
270 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
271 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
272 #define SWIGTYPE_p_wxImageList swig_types[60]
273 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
274 #define SWIGTYPE_p_wxTextAttr swig_types[62]
275 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
276 #define SWIGTYPE_p_wxPoint swig_types[64]
277 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
278 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
279 #define SWIGTYPE_p_wxObject swig_types[67]
280 #define SWIGTYPE_p_wxCursor swig_types[68]
281 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
282 #define SWIGTYPE_p_wxWindow swig_types[70]
283 #define SWIGTYPE_p_wxString swig_types[71]
284 #define SWIGTYPE_p_wxBitmap swig_types[72]
285 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
286 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
288 #define SWIGTYPE_p_wxStaticText swig_types[76]
289 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
290 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
291 #define SWIGTYPE_p_wxColour swig_types[79]
292 #define SWIGTYPE_p_wxToolBar swig_types[80]
293 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
294 #define SWIGTYPE_p_wxValidator swig_types[82]
295 static swig_type_info *swig_types[84];
296
297 /* -------- TYPES TABLE (END) -------- */
298
299
300 /*-----------------------------------------------
301 @(target):= _controls.so
302 ------------------------------------------------*/
303 #define SWIG_init init_controls
304
305 #define SWIG_name "_controls"
306
307 #include "wx/wxPython/wxPython.h"
308 #include "wx/wxPython/pyclasses.h"
309
310 DECLARE_DEF_STRING(PanelNameStr);
311 DECLARE_DEF_STRING(EmptyString);
312 DECLARE_DEF_STRING(ControlNameStr);
313
314
315
316 DECLARE_DEF_STRING(ButtonNameStr);
317
318
319 DECLARE_DEF_STRING(CheckBoxNameStr);
320
321
322 DECLARE_DEF_STRING(ChoiceNameStr);
323
324
325 DECLARE_DEF_STRING(ComboBoxNameStr);
326
327
328 DECLARE_DEF_STRING(GaugeNameStr);
329
330
331 DECLARE_DEF_STRING(StaticBitmapNameStr);
332 DECLARE_DEF_STRING(StaticBoxNameStr);
333 DECLARE_DEF_STRING(StaticTextNameStr);
334
335
336 #include <wx/checklst.h>
337
338 DECLARE_DEF_STRING(ListBoxNameStr);
339
340 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
341 if (clientData) {
342 wxPyClientData* data = new wxPyClientData(clientData);
343 self->Insert(item, pos, data);
344 } else
345 self->Insert(item, pos);
346 }
347 PyObject *wxListBox_GetSelections(wxListBox *self){
348 wxArrayInt lst;
349 self->GetSelections(lst);
350 PyObject *tup = PyTuple_New(lst.GetCount());
351 for(size_t i=0; i<lst.GetCount(); i++) {
352 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
353 }
354 return tup;
355 }
356
357 DECLARE_DEF_STRING(TextCtrlNameStr);
358
359
360 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
361 PyObject* o2;
362 PyObject* o3;
363
364 if (!target) {
365 target = o;
366 } else if (target == Py_None) {
367 Py_DECREF(Py_None);
368 target = o;
369 } else {
370 if (!PyTuple_Check(target)) {
371 o2 = target;
372 target = PyTuple_New(1);
373 PyTuple_SetItem(target, 0, o2);
374 }
375 o3 = PyTuple_New(1);
376 PyTuple_SetItem(o3, 0, o);
377
378 o2 = target;
379 target = PySequence_Concat(o2, o3);
380 Py_DECREF(o2);
381 Py_DECREF(o3);
382 }
383 return target;
384 }
385
386 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
387 self->AppendText(text);
388 }
389 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
390 return self->GetValue().Mid(from, to - from);
391 }
392
393 DECLARE_DEF_STRING(ScrollBarNameStr);
394
395
396 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
397 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
398 DECLARE_DEF_STRING(SpinCtrlNameStr);
399
400
401 DECLARE_DEF_STRING(RadioBoxNameStr);
402 DECLARE_DEF_STRING(RadioButtonNameStr);
403
404
405 #include <wx/slider.h>
406
407 DECLARE_DEF_STRING(SliderNameStr);
408
409
410 wxChar* wxToggleButtonNameStr = _T("wxToggleButton");
411 DECLARE_DEF_STRING(ToggleButtonNameStr);
412
413
414 #ifdef __WXMAC__
415 // implement dummy classes and such for wxMac
416
417 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
418
419 class wxToggleButton : public wxControl
420 {
421 public:
422 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
423 const wxPoint&, const wxSize&, long,
424 const wxValidator&, const wxString&)
425 { PyErr_SetNone(PyExc_NotImplementedError); }
426
427 wxToggleButton()
428 { PyErr_SetNone(PyExc_NotImplementedError); }
429 };
430 #endif
431
432
433 DECLARE_DEF_STRING(NOTEBOOK_NAME);
434
435
436 DECLARE_DEF_STRING(ToolBarNameStr);
437
438 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
439 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
440 if (udata) {
441 Py_INCREF(udata->m_obj);
442 return udata->m_obj;
443 } else {
444 Py_INCREF(Py_None);
445 return Py_None;
446 }
447 }
448 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
449 self->SetClientData(new wxPyUserData(clientData));
450 }
451 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){
452 wxPyUserData* udata = NULL;
453 if (clientData && clientData != Py_None)
454 udata = new wxPyUserData(clientData);
455 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
456 shortHelp, longHelp, udata);
457 }
458 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){
459 wxPyUserData* udata = NULL;
460 if (clientData && clientData != Py_None)
461 udata = new wxPyUserData(clientData);
462 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
463 shortHelp, longHelp, udata);
464 }
465 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
466 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
467 if (udata) {
468 Py_INCREF(udata->m_obj);
469 return udata->m_obj;
470 } else {
471 Py_INCREF(Py_None);
472 return Py_None;
473 }
474 }
475 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
476 self->SetToolClientData(id, new wxPyUserData(clientData));
477 }
478
479 #include <wx/listctrl.h>
480
481 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
482 DECLARE_DEF_STRING(ListCtrlNameStr);
483
484 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
485 // Python aware sorting function for wxPyListCtrl
486 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
487 int retval = 0;
488 PyObject* func = (PyObject*)funcPtr;
489 wxPyBeginBlockThreads();
490
491 PyObject* args = Py_BuildValue("(ii)", item1, item2);
492 PyObject* result = PyEval_CallObject(func, args);
493 Py_DECREF(args);
494 if (result) {
495 retval = PyInt_AsLong(result);
496 Py_DECREF(result);
497 }
498
499 wxPyEndBlockThreads();
500 return retval;
501 }
502
503 // C++ Version of a Python aware class
504 class wxPyListCtrl : public wxListCtrl {
505 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
506 public:
507 wxPyListCtrl() : wxListCtrl() {}
508 wxPyListCtrl(wxWindow* parent, wxWindowID id,
509 const wxPoint& pos,
510 const wxSize& size,
511 long style,
512 const wxValidator& validator,
513 const wxString& name) :
514 wxListCtrl(parent, id, pos, size, style, validator, name) {}
515
516 bool Create(wxWindow* parent, wxWindowID id,
517 const wxPoint& pos,
518 const wxSize& size,
519 long style,
520 const wxValidator& validator,
521 const wxString& name) {
522 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
523 }
524
525 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
526 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
527 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
528
529 PYPRIVATE;
530 };
531
532 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
533
534 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
535 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
536 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
537
538 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
539 wxListItem item;
540 item.SetMask( wxLIST_MASK_STATE |
541 wxLIST_MASK_TEXT |
542 wxLIST_MASK_IMAGE |
543 wxLIST_MASK_DATA |
544 wxLIST_SET_ITEM |
545 wxLIST_MASK_WIDTH |
546 wxLIST_MASK_FORMAT
547 );
548 if (self->GetColumn(col, item))
549 return new wxListItem(item);
550 else
551 return NULL;
552 }
553 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
554 wxListItem* info = new wxListItem;
555 info->m_itemId = itemId;
556 info->m_col = col;
557 info->m_mask = 0xFFFF;
558 self->GetItem(*info);
559 return info;
560 }
561 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
562 wxPoint pos;
563 self->GetItemPosition(item, pos);
564 return pos;
565 }
566 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
567 wxRect rect;
568 self->GetItemRect(item, rect, code);
569 return rect;
570 }
571 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
572 if (!PyCallable_Check(func))
573 return False;
574 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
575 }
576 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
577
578
579
580 return (wxWindow*)self->m_mainWin;
581
582 }
583
584 #include <wx/treectrl.h>
585 #include "wx/wxPython/pytree.h"
586
587 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
588 DECLARE_DEF_STRING(_TreeCtrlNameStr);
589
590 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
591 if (!other) return False;
592 return *self == *other;
593 }
594 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
595 if (!other) return True;
596 return *self != *other;
597 }
598 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
599 // C++ version of Python aware wxTreeCtrl
600 class wxPyTreeCtrl : public wxTreeCtrl {
601 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
602 public:
603 wxPyTreeCtrl() : wxTreeCtrl() {}
604 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
605 const wxPoint& pos,
606 const wxSize& size,
607 long style,
608 const wxValidator& validator,
609 const wxString& name) :
610 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
611
612 bool Create(wxWindow *parent, wxWindowID id,
613 const wxPoint& pos,
614 const wxSize& size,
615 long style,
616 const wxValidator& validator,
617 const wxString& name) {
618 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
619 }
620
621
622 int OnCompareItems(const wxTreeItemId& item1,
623 const wxTreeItemId& item2) {
624 int rval = 0;
625 bool found;
626 wxPyBeginBlockThreads();
627 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
628 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
629 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
630 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
631 Py_DECREF(o1);
632 Py_DECREF(o2);
633 }
634 wxPyEndBlockThreads();
635 if (! found)
636 rval = wxTreeCtrl::OnCompareItems(item1, item2);
637 return rval;
638 }
639 PYPRIVATE;
640 };
641
642 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
643
644
645 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
646 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
647 if (data == NULL) {
648 data = new wxPyTreeItemData();
649 data->SetId(item); // set the id
650 self->SetItemData(item, data);
651 }
652 return data;
653 }
654 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
655 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
656 if (data == NULL) {
657 data = new wxPyTreeItemData();
658 data->SetId(item); // set the id
659 self->SetItemData(item, data);
660 }
661 return data->GetData();
662 }
663 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
664 data->SetId(item); // set the id
665 self->SetItemData(item, data);
666 }
667 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
668 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
669 if (data == NULL) {
670 data = new wxPyTreeItemData(obj);
671 data->SetId(item); // set the id
672 self->SetItemData(item, data);
673 } else
674 data->SetData(obj);
675 }
676 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
677 wxPyBeginBlockThreads();
678 PyObject* rval = PyList_New(0);
679 wxArrayTreeItemIds array;
680 size_t num, x;
681 num = self->GetSelections(array);
682 for (x=0; x < num; x++) {
683 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
684 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
685 PyList_Append(rval, item);
686 }
687 wxPyEndBlockThreads();
688 return rval;
689 }
690 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
691 wxTreeItemIdValue cookie = 0;
692 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
693 wxPyBeginBlockThreads();
694 PyObject* tup = PyTuple_New(2);
695 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
696 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
697 wxPyEndBlockThreads();
698 return tup;
699 }
700 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
701 wxTreeItemId ritem = self->GetNextChild(item, cookie);
702 wxPyBeginBlockThreads();
703 PyObject* tup = PyTuple_New(2);
704 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
705 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
706 wxPyEndBlockThreads();
707 return tup;
708 }
709 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
710 wxRect rect;
711 if (self->GetBoundingRect(item, rect, textOnly)) {
712 wxPyBeginBlockThreads();
713 wxRect* r = new wxRect(rect);
714 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
715 wxPyEndBlockThreads();
716 return val;
717 }
718 else
719 RETURN_NONE();
720 }
721
722 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
723
724 // C++ version of Python aware wxControl
725 class wxPyControl : public wxControl
726 {
727 DECLARE_DYNAMIC_CLASS(wxPyControl)
728 public:
729 wxPyControl() : wxControl() {}
730 wxPyControl(wxWindow* parent, const wxWindowID id,
731 const wxPoint& pos = wxDefaultPosition,
732 const wxSize& size = wxDefaultSize,
733 long style = 0,
734 const wxValidator& validator=wxDefaultValidator,
735 const wxString& name = wxPyControlNameStr)
736 : wxControl(parent, id, pos, size, style, validator, name) {}
737
738
739 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
740 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
741 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
742 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
743
744 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
745 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
746 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
747
748 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
749 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
750
751 DEC_PYCALLBACK__(InitDialog);
752 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
753 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
754 DEC_PYCALLBACK_BOOL_(Validate);
755
756 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
757 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
758 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
759
760 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
761 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
762
763 PYPRIVATE;
764 };
765
766 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
767
768 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
769 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
770 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
771 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
772
773 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
774 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
775 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
776
777 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
778 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
779
780 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
781 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
782 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
783 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
784
785 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
786 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
787 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
788
789 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
790 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
791
792
793
794
795 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
796
797 #include <wx/generic/dragimgg.h>
798
799 #ifdef __cplusplus
800 extern "C" {
801 #endif
802 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
803 PyObject *resultobj;
804 wxWindow *arg1 = (wxWindow *) 0 ;
805 int arg2 ;
806 wxString *arg3 = 0 ;
807 wxPoint const &arg4_defvalue = wxDefaultPosition ;
808 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
809 wxSize const &arg5_defvalue = wxDefaultSize ;
810 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
811 long arg6 = (long) 0 ;
812 wxValidator const &arg7_defvalue = wxDefaultValidator ;
813 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
814 wxString const &arg8_defvalue = wxPyButtonNameStr ;
815 wxString *arg8 = (wxString *) &arg8_defvalue ;
816 wxButton *result;
817 bool temp3 = False ;
818 wxPoint temp4 ;
819 wxSize temp5 ;
820 bool temp8 = False ;
821 PyObject * obj0 = 0 ;
822 PyObject * obj2 = 0 ;
823 PyObject * obj3 = 0 ;
824 PyObject * obj4 = 0 ;
825 PyObject * obj6 = 0 ;
826 PyObject * obj7 = 0 ;
827 char *kwnames[] = {
828 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
829 };
830
831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
833 {
834 arg3 = wxString_in_helper(obj2);
835 if (arg3 == NULL) SWIG_fail;
836 temp3 = True;
837 }
838 if (obj3) {
839 {
840 arg4 = &temp4;
841 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
842 }
843 }
844 if (obj4) {
845 {
846 arg5 = &temp5;
847 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
848 }
849 }
850 if (obj6) {
851 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
852 if (arg7 == NULL) {
853 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
854 }
855 }
856 if (obj7) {
857 {
858 arg8 = wxString_in_helper(obj7);
859 if (arg8 == NULL) SWIG_fail;
860 temp8 = True;
861 }
862 }
863 {
864 PyThreadState* __tstate = wxPyBeginAllowThreads();
865 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
866
867 wxPyEndAllowThreads(__tstate);
868 if (PyErr_Occurred()) SWIG_fail;
869 }
870 {
871 resultobj = wxPyMake_wxObject(result);
872 }
873 {
874 if (temp3)
875 delete arg3;
876 }
877 {
878 if (temp8)
879 delete arg8;
880 }
881 return resultobj;
882 fail:
883 {
884 if (temp3)
885 delete arg3;
886 }
887 {
888 if (temp8)
889 delete arg8;
890 }
891 return NULL;
892 }
893
894
895 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
896 PyObject *resultobj;
897 wxButton *result;
898 char *kwnames[] = {
899 NULL
900 };
901
902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
903 {
904 PyThreadState* __tstate = wxPyBeginAllowThreads();
905 result = (wxButton *)new wxButton();
906
907 wxPyEndAllowThreads(__tstate);
908 if (PyErr_Occurred()) SWIG_fail;
909 }
910 {
911 resultobj = wxPyMake_wxObject(result);
912 }
913 return resultobj;
914 fail:
915 return NULL;
916 }
917
918
919 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
920 PyObject *resultobj;
921 wxButton *arg1 = (wxButton *) 0 ;
922 wxWindow *arg2 = (wxWindow *) 0 ;
923 int arg3 ;
924 wxString *arg4 = 0 ;
925 wxPoint const &arg5_defvalue = wxDefaultPosition ;
926 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
927 wxSize const &arg6_defvalue = wxDefaultSize ;
928 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
929 long arg7 = (long) 0 ;
930 wxValidator const &arg8_defvalue = wxDefaultValidator ;
931 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
932 wxString const &arg9_defvalue = wxPyButtonNameStr ;
933 wxString *arg9 = (wxString *) &arg9_defvalue ;
934 bool result;
935 bool temp4 = False ;
936 wxPoint temp5 ;
937 wxSize temp6 ;
938 bool temp9 = False ;
939 PyObject * obj0 = 0 ;
940 PyObject * obj1 = 0 ;
941 PyObject * obj3 = 0 ;
942 PyObject * obj4 = 0 ;
943 PyObject * obj5 = 0 ;
944 PyObject * obj7 = 0 ;
945 PyObject * obj8 = 0 ;
946 char *kwnames[] = {
947 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
948 };
949
950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
952 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
953 {
954 arg4 = wxString_in_helper(obj3);
955 if (arg4 == NULL) SWIG_fail;
956 temp4 = True;
957 }
958 if (obj4) {
959 {
960 arg5 = &temp5;
961 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
962 }
963 }
964 if (obj5) {
965 {
966 arg6 = &temp6;
967 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
968 }
969 }
970 if (obj7) {
971 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
972 if (arg8 == NULL) {
973 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
974 }
975 }
976 if (obj8) {
977 {
978 arg9 = wxString_in_helper(obj8);
979 if (arg9 == NULL) SWIG_fail;
980 temp9 = True;
981 }
982 }
983 {
984 PyThreadState* __tstate = wxPyBeginAllowThreads();
985 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
986
987 wxPyEndAllowThreads(__tstate);
988 if (PyErr_Occurred()) SWIG_fail;
989 }
990 resultobj = PyInt_FromLong((long)result);
991 {
992 if (temp4)
993 delete arg4;
994 }
995 {
996 if (temp9)
997 delete arg9;
998 }
999 return resultobj;
1000 fail:
1001 {
1002 if (temp4)
1003 delete arg4;
1004 }
1005 {
1006 if (temp9)
1007 delete arg9;
1008 }
1009 return NULL;
1010 }
1011
1012
1013 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1014 PyObject *resultobj;
1015 wxButton *arg1 = (wxButton *) 0 ;
1016 PyObject * obj0 = 0 ;
1017 char *kwnames[] = {
1018 (char *) "self", NULL
1019 };
1020
1021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1023 {
1024 PyThreadState* __tstate = wxPyBeginAllowThreads();
1025 (arg1)->SetDefault();
1026
1027 wxPyEndAllowThreads(__tstate);
1028 if (PyErr_Occurred()) SWIG_fail;
1029 }
1030 Py_INCREF(Py_None); resultobj = Py_None;
1031 return resultobj;
1032 fail:
1033 return NULL;
1034 }
1035
1036
1037 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1038 PyObject *resultobj;
1039 wxSize result;
1040 char *kwnames[] = {
1041 NULL
1042 };
1043
1044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1045 {
1046 PyThreadState* __tstate = wxPyBeginAllowThreads();
1047 result = wxButton::GetDefaultSize();
1048
1049 wxPyEndAllowThreads(__tstate);
1050 if (PyErr_Occurred()) SWIG_fail;
1051 }
1052 {
1053 wxSize * resultptr;
1054 resultptr = new wxSize((wxSize &) result);
1055 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1056 }
1057 return resultobj;
1058 fail:
1059 return NULL;
1060 }
1061
1062
1063 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1064 PyObject *obj;
1065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1066 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1067 Py_INCREF(obj);
1068 return Py_BuildValue((char *)"");
1069 }
1070 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1071 PyObject *resultobj;
1072 wxWindow *arg1 = (wxWindow *) 0 ;
1073 int arg2 ;
1074 wxBitmap *arg3 = 0 ;
1075 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1076 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1077 wxSize const &arg5_defvalue = wxDefaultSize ;
1078 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1079 long arg6 = (long) wxBU_AUTODRAW ;
1080 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1081 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1082 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1083 wxString *arg8 = (wxString *) &arg8_defvalue ;
1084 wxBitmapButton *result;
1085 wxPoint temp4 ;
1086 wxSize temp5 ;
1087 bool temp8 = False ;
1088 PyObject * obj0 = 0 ;
1089 PyObject * obj2 = 0 ;
1090 PyObject * obj3 = 0 ;
1091 PyObject * obj4 = 0 ;
1092 PyObject * obj6 = 0 ;
1093 PyObject * obj7 = 0 ;
1094 char *kwnames[] = {
1095 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1096 };
1097
1098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1100 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1101 if (arg3 == NULL) {
1102 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1103 }
1104 if (obj3) {
1105 {
1106 arg4 = &temp4;
1107 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1108 }
1109 }
1110 if (obj4) {
1111 {
1112 arg5 = &temp5;
1113 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1114 }
1115 }
1116 if (obj6) {
1117 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1118 if (arg7 == NULL) {
1119 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1120 }
1121 }
1122 if (obj7) {
1123 {
1124 arg8 = wxString_in_helper(obj7);
1125 if (arg8 == NULL) SWIG_fail;
1126 temp8 = True;
1127 }
1128 }
1129 {
1130 PyThreadState* __tstate = wxPyBeginAllowThreads();
1131 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1132
1133 wxPyEndAllowThreads(__tstate);
1134 if (PyErr_Occurred()) SWIG_fail;
1135 }
1136 {
1137 resultobj = wxPyMake_wxObject(result);
1138 }
1139 {
1140 if (temp8)
1141 delete arg8;
1142 }
1143 return resultobj;
1144 fail:
1145 {
1146 if (temp8)
1147 delete arg8;
1148 }
1149 return NULL;
1150 }
1151
1152
1153 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1154 PyObject *resultobj;
1155 wxBitmapButton *result;
1156 char *kwnames[] = {
1157 NULL
1158 };
1159
1160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1161 {
1162 PyThreadState* __tstate = wxPyBeginAllowThreads();
1163 result = (wxBitmapButton *)new wxBitmapButton();
1164
1165 wxPyEndAllowThreads(__tstate);
1166 if (PyErr_Occurred()) SWIG_fail;
1167 }
1168 {
1169 resultobj = wxPyMake_wxObject(result);
1170 }
1171 return resultobj;
1172 fail:
1173 return NULL;
1174 }
1175
1176
1177 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1178 PyObject *resultobj;
1179 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1180 wxWindow *arg2 = (wxWindow *) 0 ;
1181 int arg3 ;
1182 wxBitmap *arg4 = 0 ;
1183 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1184 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1185 wxSize const &arg6_defvalue = wxDefaultSize ;
1186 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1187 long arg7 = (long) wxBU_AUTODRAW ;
1188 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1189 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1190 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1191 wxString *arg9 = (wxString *) &arg9_defvalue ;
1192 bool result;
1193 wxPoint temp5 ;
1194 wxSize temp6 ;
1195 bool temp9 = False ;
1196 PyObject * obj0 = 0 ;
1197 PyObject * obj1 = 0 ;
1198 PyObject * obj3 = 0 ;
1199 PyObject * obj4 = 0 ;
1200 PyObject * obj5 = 0 ;
1201 PyObject * obj7 = 0 ;
1202 PyObject * obj8 = 0 ;
1203 char *kwnames[] = {
1204 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1205 };
1206
1207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1209 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1210 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1211 if (arg4 == NULL) {
1212 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1213 }
1214 if (obj4) {
1215 {
1216 arg5 = &temp5;
1217 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1218 }
1219 }
1220 if (obj5) {
1221 {
1222 arg6 = &temp6;
1223 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1224 }
1225 }
1226 if (obj7) {
1227 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1228 if (arg8 == NULL) {
1229 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1230 }
1231 }
1232 if (obj8) {
1233 {
1234 arg9 = wxString_in_helper(obj8);
1235 if (arg9 == NULL) SWIG_fail;
1236 temp9 = True;
1237 }
1238 }
1239 {
1240 PyThreadState* __tstate = wxPyBeginAllowThreads();
1241 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1242
1243 wxPyEndAllowThreads(__tstate);
1244 if (PyErr_Occurred()) SWIG_fail;
1245 }
1246 resultobj = PyInt_FromLong((long)result);
1247 {
1248 if (temp9)
1249 delete arg9;
1250 }
1251 return resultobj;
1252 fail:
1253 {
1254 if (temp9)
1255 delete arg9;
1256 }
1257 return NULL;
1258 }
1259
1260
1261 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1262 PyObject *resultobj;
1263 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1264 wxBitmap result;
1265 PyObject * obj0 = 0 ;
1266 char *kwnames[] = {
1267 (char *) "self", NULL
1268 };
1269
1270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1272 {
1273 PyThreadState* __tstate = wxPyBeginAllowThreads();
1274 result = (arg1)->GetBitmapLabel();
1275
1276 wxPyEndAllowThreads(__tstate);
1277 if (PyErr_Occurred()) SWIG_fail;
1278 }
1279 {
1280 wxBitmap * resultptr;
1281 resultptr = new wxBitmap((wxBitmap &) result);
1282 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1283 }
1284 return resultobj;
1285 fail:
1286 return NULL;
1287 }
1288
1289
1290 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1291 PyObject *resultobj;
1292 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1293 wxBitmap result;
1294 PyObject * obj0 = 0 ;
1295 char *kwnames[] = {
1296 (char *) "self", NULL
1297 };
1298
1299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1301 {
1302 PyThreadState* __tstate = wxPyBeginAllowThreads();
1303 result = (arg1)->GetBitmapDisabled();
1304
1305 wxPyEndAllowThreads(__tstate);
1306 if (PyErr_Occurred()) SWIG_fail;
1307 }
1308 {
1309 wxBitmap * resultptr;
1310 resultptr = new wxBitmap((wxBitmap &) result);
1311 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1312 }
1313 return resultobj;
1314 fail:
1315 return NULL;
1316 }
1317
1318
1319 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1320 PyObject *resultobj;
1321 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1322 wxBitmap result;
1323 PyObject * obj0 = 0 ;
1324 char *kwnames[] = {
1325 (char *) "self", NULL
1326 };
1327
1328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1330 {
1331 PyThreadState* __tstate = wxPyBeginAllowThreads();
1332 result = (arg1)->GetBitmapFocus();
1333
1334 wxPyEndAllowThreads(__tstate);
1335 if (PyErr_Occurred()) SWIG_fail;
1336 }
1337 {
1338 wxBitmap * resultptr;
1339 resultptr = new wxBitmap((wxBitmap &) result);
1340 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1341 }
1342 return resultobj;
1343 fail:
1344 return NULL;
1345 }
1346
1347
1348 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1349 PyObject *resultobj;
1350 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1351 wxBitmap result;
1352 PyObject * obj0 = 0 ;
1353 char *kwnames[] = {
1354 (char *) "self", NULL
1355 };
1356
1357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1359 {
1360 PyThreadState* __tstate = wxPyBeginAllowThreads();
1361 result = (arg1)->GetBitmapSelected();
1362
1363 wxPyEndAllowThreads(__tstate);
1364 if (PyErr_Occurred()) SWIG_fail;
1365 }
1366 {
1367 wxBitmap * resultptr;
1368 resultptr = new wxBitmap((wxBitmap &) result);
1369 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1370 }
1371 return resultobj;
1372 fail:
1373 return NULL;
1374 }
1375
1376
1377 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1378 PyObject *resultobj;
1379 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1380 wxBitmap *arg2 = 0 ;
1381 PyObject * obj0 = 0 ;
1382 PyObject * obj1 = 0 ;
1383 char *kwnames[] = {
1384 (char *) "self",(char *) "bitmap", NULL
1385 };
1386
1387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1389 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1390 if (arg2 == NULL) {
1391 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1392 }
1393 {
1394 PyThreadState* __tstate = wxPyBeginAllowThreads();
1395 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1396
1397 wxPyEndAllowThreads(__tstate);
1398 if (PyErr_Occurred()) SWIG_fail;
1399 }
1400 Py_INCREF(Py_None); resultobj = Py_None;
1401 return resultobj;
1402 fail:
1403 return NULL;
1404 }
1405
1406
1407 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1408 PyObject *resultobj;
1409 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1410 wxBitmap *arg2 = 0 ;
1411 PyObject * obj0 = 0 ;
1412 PyObject * obj1 = 0 ;
1413 char *kwnames[] = {
1414 (char *) "self",(char *) "bitmap", NULL
1415 };
1416
1417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1419 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1420 if (arg2 == NULL) {
1421 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1422 }
1423 {
1424 PyThreadState* __tstate = wxPyBeginAllowThreads();
1425 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1426
1427 wxPyEndAllowThreads(__tstate);
1428 if (PyErr_Occurred()) SWIG_fail;
1429 }
1430 Py_INCREF(Py_None); resultobj = Py_None;
1431 return resultobj;
1432 fail:
1433 return NULL;
1434 }
1435
1436
1437 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1438 PyObject *resultobj;
1439 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1440 wxBitmap *arg2 = 0 ;
1441 PyObject * obj0 = 0 ;
1442 PyObject * obj1 = 0 ;
1443 char *kwnames[] = {
1444 (char *) "self",(char *) "bitmap", NULL
1445 };
1446
1447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1450 if (arg2 == NULL) {
1451 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1452 }
1453 {
1454 PyThreadState* __tstate = wxPyBeginAllowThreads();
1455 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1456
1457 wxPyEndAllowThreads(__tstate);
1458 if (PyErr_Occurred()) SWIG_fail;
1459 }
1460 Py_INCREF(Py_None); resultobj = Py_None;
1461 return resultobj;
1462 fail:
1463 return NULL;
1464 }
1465
1466
1467 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1468 PyObject *resultobj;
1469 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1470 wxBitmap *arg2 = 0 ;
1471 PyObject * obj0 = 0 ;
1472 PyObject * obj1 = 0 ;
1473 char *kwnames[] = {
1474 (char *) "self",(char *) "bitmap", NULL
1475 };
1476
1477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1479 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1480 if (arg2 == NULL) {
1481 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1482 }
1483 {
1484 PyThreadState* __tstate = wxPyBeginAllowThreads();
1485 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1486
1487 wxPyEndAllowThreads(__tstate);
1488 if (PyErr_Occurred()) SWIG_fail;
1489 }
1490 Py_INCREF(Py_None); resultobj = Py_None;
1491 return resultobj;
1492 fail:
1493 return NULL;
1494 }
1495
1496
1497 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1498 PyObject *resultobj;
1499 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1500 int arg2 ;
1501 int arg3 ;
1502 PyObject * obj0 = 0 ;
1503 char *kwnames[] = {
1504 (char *) "self",(char *) "x",(char *) "y", NULL
1505 };
1506
1507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1509 {
1510 PyThreadState* __tstate = wxPyBeginAllowThreads();
1511 (arg1)->SetMargins(arg2,arg3);
1512
1513 wxPyEndAllowThreads(__tstate);
1514 if (PyErr_Occurred()) SWIG_fail;
1515 }
1516 Py_INCREF(Py_None); resultobj = Py_None;
1517 return resultobj;
1518 fail:
1519 return NULL;
1520 }
1521
1522
1523 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1524 PyObject *resultobj;
1525 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1526 int result;
1527 PyObject * obj0 = 0 ;
1528 char *kwnames[] = {
1529 (char *) "self", NULL
1530 };
1531
1532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1534 {
1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
1536 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1537
1538 wxPyEndAllowThreads(__tstate);
1539 if (PyErr_Occurred()) SWIG_fail;
1540 }
1541 resultobj = PyInt_FromLong((long)result);
1542 return resultobj;
1543 fail:
1544 return NULL;
1545 }
1546
1547
1548 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1549 PyObject *resultobj;
1550 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1551 int result;
1552 PyObject * obj0 = 0 ;
1553 char *kwnames[] = {
1554 (char *) "self", NULL
1555 };
1556
1557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1559 {
1560 PyThreadState* __tstate = wxPyBeginAllowThreads();
1561 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1562
1563 wxPyEndAllowThreads(__tstate);
1564 if (PyErr_Occurred()) SWIG_fail;
1565 }
1566 resultobj = PyInt_FromLong((long)result);
1567 return resultobj;
1568 fail:
1569 return NULL;
1570 }
1571
1572
1573 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1574 PyObject *obj;
1575 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1576 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1577 Py_INCREF(obj);
1578 return Py_BuildValue((char *)"");
1579 }
1580 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1581 PyObject *resultobj;
1582 wxWindow *arg1 = (wxWindow *) 0 ;
1583 int arg2 ;
1584 wxString *arg3 = 0 ;
1585 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1586 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1587 wxSize const &arg5_defvalue = wxDefaultSize ;
1588 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1589 long arg6 = (long) 0 ;
1590 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1591 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1592 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1593 wxString *arg8 = (wxString *) &arg8_defvalue ;
1594 wxCheckBox *result;
1595 bool temp3 = False ;
1596 wxPoint temp4 ;
1597 wxSize temp5 ;
1598 bool temp8 = False ;
1599 PyObject * obj0 = 0 ;
1600 PyObject * obj2 = 0 ;
1601 PyObject * obj3 = 0 ;
1602 PyObject * obj4 = 0 ;
1603 PyObject * obj6 = 0 ;
1604 PyObject * obj7 = 0 ;
1605 char *kwnames[] = {
1606 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1607 };
1608
1609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1611 {
1612 arg3 = wxString_in_helper(obj2);
1613 if (arg3 == NULL) SWIG_fail;
1614 temp3 = True;
1615 }
1616 if (obj3) {
1617 {
1618 arg4 = &temp4;
1619 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1620 }
1621 }
1622 if (obj4) {
1623 {
1624 arg5 = &temp5;
1625 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1626 }
1627 }
1628 if (obj6) {
1629 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1630 if (arg7 == NULL) {
1631 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1632 }
1633 }
1634 if (obj7) {
1635 {
1636 arg8 = wxString_in_helper(obj7);
1637 if (arg8 == NULL) SWIG_fail;
1638 temp8 = True;
1639 }
1640 }
1641 {
1642 PyThreadState* __tstate = wxPyBeginAllowThreads();
1643 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1644
1645 wxPyEndAllowThreads(__tstate);
1646 if (PyErr_Occurred()) SWIG_fail;
1647 }
1648 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1649 {
1650 if (temp3)
1651 delete arg3;
1652 }
1653 {
1654 if (temp8)
1655 delete arg8;
1656 }
1657 return resultobj;
1658 fail:
1659 {
1660 if (temp3)
1661 delete arg3;
1662 }
1663 {
1664 if (temp8)
1665 delete arg8;
1666 }
1667 return NULL;
1668 }
1669
1670
1671 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1672 PyObject *resultobj;
1673 wxCheckBox *result;
1674 char *kwnames[] = {
1675 NULL
1676 };
1677
1678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1679 {
1680 PyThreadState* __tstate = wxPyBeginAllowThreads();
1681 result = (wxCheckBox *)new wxCheckBox();
1682
1683 wxPyEndAllowThreads(__tstate);
1684 if (PyErr_Occurred()) SWIG_fail;
1685 }
1686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1687 return resultobj;
1688 fail:
1689 return NULL;
1690 }
1691
1692
1693 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1694 PyObject *resultobj;
1695 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1696 wxWindow *arg2 = (wxWindow *) 0 ;
1697 int arg3 ;
1698 wxString *arg4 = 0 ;
1699 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1700 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1701 wxSize const &arg6_defvalue = wxDefaultSize ;
1702 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1703 long arg7 = (long) 0 ;
1704 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1705 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1706 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1707 wxString *arg9 = (wxString *) &arg9_defvalue ;
1708 bool result;
1709 bool temp4 = False ;
1710 wxPoint temp5 ;
1711 wxSize temp6 ;
1712 bool temp9 = False ;
1713 PyObject * obj0 = 0 ;
1714 PyObject * obj1 = 0 ;
1715 PyObject * obj3 = 0 ;
1716 PyObject * obj4 = 0 ;
1717 PyObject * obj5 = 0 ;
1718 PyObject * obj7 = 0 ;
1719 PyObject * obj8 = 0 ;
1720 char *kwnames[] = {
1721 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1722 };
1723
1724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1726 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1727 {
1728 arg4 = wxString_in_helper(obj3);
1729 if (arg4 == NULL) SWIG_fail;
1730 temp4 = True;
1731 }
1732 if (obj4) {
1733 {
1734 arg5 = &temp5;
1735 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1736 }
1737 }
1738 if (obj5) {
1739 {
1740 arg6 = &temp6;
1741 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1742 }
1743 }
1744 if (obj7) {
1745 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1746 if (arg8 == NULL) {
1747 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1748 }
1749 }
1750 if (obj8) {
1751 {
1752 arg9 = wxString_in_helper(obj8);
1753 if (arg9 == NULL) SWIG_fail;
1754 temp9 = True;
1755 }
1756 }
1757 {
1758 PyThreadState* __tstate = wxPyBeginAllowThreads();
1759 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1760
1761 wxPyEndAllowThreads(__tstate);
1762 if (PyErr_Occurred()) SWIG_fail;
1763 }
1764 resultobj = PyInt_FromLong((long)result);
1765 {
1766 if (temp4)
1767 delete arg4;
1768 }
1769 {
1770 if (temp9)
1771 delete arg9;
1772 }
1773 return resultobj;
1774 fail:
1775 {
1776 if (temp4)
1777 delete arg4;
1778 }
1779 {
1780 if (temp9)
1781 delete arg9;
1782 }
1783 return NULL;
1784 }
1785
1786
1787 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1788 PyObject *resultobj;
1789 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1790 bool result;
1791 PyObject * obj0 = 0 ;
1792 char *kwnames[] = {
1793 (char *) "self", NULL
1794 };
1795
1796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1798 {
1799 PyThreadState* __tstate = wxPyBeginAllowThreads();
1800 result = (bool)(arg1)->GetValue();
1801
1802 wxPyEndAllowThreads(__tstate);
1803 if (PyErr_Occurred()) SWIG_fail;
1804 }
1805 resultobj = PyInt_FromLong((long)result);
1806 return resultobj;
1807 fail:
1808 return NULL;
1809 }
1810
1811
1812 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1813 PyObject *resultobj;
1814 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1815 bool result;
1816 PyObject * obj0 = 0 ;
1817 char *kwnames[] = {
1818 (char *) "self", NULL
1819 };
1820
1821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1823 {
1824 PyThreadState* __tstate = wxPyBeginAllowThreads();
1825 result = (bool)(arg1)->IsChecked();
1826
1827 wxPyEndAllowThreads(__tstate);
1828 if (PyErr_Occurred()) SWIG_fail;
1829 }
1830 resultobj = PyInt_FromLong((long)result);
1831 return resultobj;
1832 fail:
1833 return NULL;
1834 }
1835
1836
1837 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1838 PyObject *resultobj;
1839 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1840 bool arg2 ;
1841 PyObject * obj0 = 0 ;
1842 PyObject * obj1 = 0 ;
1843 char *kwnames[] = {
1844 (char *) "self",(char *) "state", NULL
1845 };
1846
1847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1849 arg2 = PyInt_AsLong(obj1) ? true : false;
1850 if (PyErr_Occurred()) SWIG_fail;
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
1853 (arg1)->SetValue(arg2);
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
1858 Py_INCREF(Py_None); resultobj = Py_None;
1859 return resultobj;
1860 fail:
1861 return NULL;
1862 }
1863
1864
1865 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject *resultobj;
1867 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1868 int result;
1869 PyObject * obj0 = 0 ;
1870 char *kwnames[] = {
1871 (char *) "self", NULL
1872 };
1873
1874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1876 {
1877 PyThreadState* __tstate = wxPyBeginAllowThreads();
1878 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1879
1880 wxPyEndAllowThreads(__tstate);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 }
1883 resultobj = PyInt_FromLong((long)result);
1884 return resultobj;
1885 fail:
1886 return NULL;
1887 }
1888
1889
1890 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1891 PyObject *resultobj;
1892 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1893 int arg2 ;
1894 PyObject * obj0 = 0 ;
1895 char *kwnames[] = {
1896 (char *) "self",(char *) "state", NULL
1897 };
1898
1899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1901 {
1902 PyThreadState* __tstate = wxPyBeginAllowThreads();
1903 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1904
1905 wxPyEndAllowThreads(__tstate);
1906 if (PyErr_Occurred()) SWIG_fail;
1907 }
1908 Py_INCREF(Py_None); resultobj = Py_None;
1909 return resultobj;
1910 fail:
1911 return NULL;
1912 }
1913
1914
1915 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1916 PyObject *resultobj;
1917 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1918 bool result;
1919 PyObject * obj0 = 0 ;
1920 char *kwnames[] = {
1921 (char *) "self", NULL
1922 };
1923
1924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1926 {
1927 PyThreadState* __tstate = wxPyBeginAllowThreads();
1928 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1929
1930 wxPyEndAllowThreads(__tstate);
1931 if (PyErr_Occurred()) SWIG_fail;
1932 }
1933 resultobj = PyInt_FromLong((long)result);
1934 return resultobj;
1935 fail:
1936 return NULL;
1937 }
1938
1939
1940 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1941 PyObject *resultobj;
1942 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1943 bool result;
1944 PyObject * obj0 = 0 ;
1945 char *kwnames[] = {
1946 (char *) "self", NULL
1947 };
1948
1949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
1950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1951 {
1952 PyThreadState* __tstate = wxPyBeginAllowThreads();
1953 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
1954
1955 wxPyEndAllowThreads(__tstate);
1956 if (PyErr_Occurred()) SWIG_fail;
1957 }
1958 resultobj = PyInt_FromLong((long)result);
1959 return resultobj;
1960 fail:
1961 return NULL;
1962 }
1963
1964
1965 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
1966 PyObject *obj;
1967 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1968 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
1969 Py_INCREF(obj);
1970 return Py_BuildValue((char *)"");
1971 }
1972 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
1973 PyObject *resultobj;
1974 wxWindow *arg1 = (wxWindow *) 0 ;
1975 int arg2 ;
1976 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1977 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1978 wxSize const &arg4_defvalue = wxDefaultSize ;
1979 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1980 int arg5 = (int) 0 ;
1981 wxString *arg6 = (wxString *) NULL ;
1982 long arg7 = (long) 0 ;
1983 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1984 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1985 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
1986 wxString *arg9 = (wxString *) &arg9_defvalue ;
1987 wxChoice *result;
1988 wxPoint temp3 ;
1989 wxSize temp4 ;
1990 bool temp8 = False ;
1991 PyObject * obj0 = 0 ;
1992 PyObject * obj2 = 0 ;
1993 PyObject * obj3 = 0 ;
1994 PyObject * obj4 = 0 ;
1995 PyObject * obj6 = 0 ;
1996 PyObject * obj7 = 0 ;
1997 char *kwnames[] = {
1998 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
1999 };
2000
2001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2003 if (obj2) {
2004 {
2005 arg3 = &temp3;
2006 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2007 }
2008 }
2009 if (obj3) {
2010 {
2011 arg4 = &temp4;
2012 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2013 }
2014 }
2015 if (obj4) {
2016 {
2017 arg5 = PyList_Size(obj4);
2018 arg6 = wxString_LIST_helper(obj4);
2019 if (arg6 == NULL) SWIG_fail;
2020 }
2021 }
2022 if (obj6) {
2023 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2024 if (arg8 == NULL) {
2025 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2026 }
2027 }
2028 if (obj7) {
2029 {
2030 arg9 = wxString_in_helper(obj7);
2031 if (arg9 == NULL) SWIG_fail;
2032 temp8 = True;
2033 }
2034 }
2035 {
2036 PyThreadState* __tstate = wxPyBeginAllowThreads();
2037 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2038
2039 wxPyEndAllowThreads(__tstate);
2040 if (PyErr_Occurred()) SWIG_fail;
2041 }
2042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2043 {
2044 if (arg6) delete [] arg6;
2045 }
2046 {
2047 if (temp8)
2048 delete arg9;
2049 }
2050 return resultobj;
2051 fail:
2052 {
2053 if (arg6) delete [] arg6;
2054 }
2055 {
2056 if (temp8)
2057 delete arg9;
2058 }
2059 return NULL;
2060 }
2061
2062
2063 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2064 PyObject *resultobj;
2065 wxChoice *result;
2066 char *kwnames[] = {
2067 NULL
2068 };
2069
2070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2071 {
2072 PyThreadState* __tstate = wxPyBeginAllowThreads();
2073 result = (wxChoice *)new wxChoice();
2074
2075 wxPyEndAllowThreads(__tstate);
2076 if (PyErr_Occurred()) SWIG_fail;
2077 }
2078 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2079 return resultobj;
2080 fail:
2081 return NULL;
2082 }
2083
2084
2085 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2086 PyObject *resultobj;
2087 wxChoice *arg1 = (wxChoice *) 0 ;
2088 wxWindow *arg2 = (wxWindow *) 0 ;
2089 int arg3 ;
2090 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2091 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2092 wxSize const &arg5_defvalue = wxDefaultSize ;
2093 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2094 int arg6 = (int) 0 ;
2095 wxString *arg7 = (wxString *) NULL ;
2096 long arg8 = (long) 0 ;
2097 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2098 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2099 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2100 wxString *arg10 = (wxString *) &arg10_defvalue ;
2101 bool result;
2102 wxPoint temp4 ;
2103 wxSize temp5 ;
2104 bool temp9 = False ;
2105 PyObject * obj0 = 0 ;
2106 PyObject * obj1 = 0 ;
2107 PyObject * obj3 = 0 ;
2108 PyObject * obj4 = 0 ;
2109 PyObject * obj5 = 0 ;
2110 PyObject * obj7 = 0 ;
2111 PyObject * obj8 = 0 ;
2112 char *kwnames[] = {
2113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2114 };
2115
2116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2119 if (obj3) {
2120 {
2121 arg4 = &temp4;
2122 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2123 }
2124 }
2125 if (obj4) {
2126 {
2127 arg5 = &temp5;
2128 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2129 }
2130 }
2131 if (obj5) {
2132 {
2133 arg6 = PyList_Size(obj5);
2134 arg7 = wxString_LIST_helper(obj5);
2135 if (arg7 == NULL) SWIG_fail;
2136 }
2137 }
2138 if (obj7) {
2139 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2140 if (arg9 == NULL) {
2141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2142 }
2143 }
2144 if (obj8) {
2145 {
2146 arg10 = wxString_in_helper(obj8);
2147 if (arg10 == NULL) SWIG_fail;
2148 temp9 = True;
2149 }
2150 }
2151 {
2152 PyThreadState* __tstate = wxPyBeginAllowThreads();
2153 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2154
2155 wxPyEndAllowThreads(__tstate);
2156 if (PyErr_Occurred()) SWIG_fail;
2157 }
2158 resultobj = PyInt_FromLong((long)result);
2159 {
2160 if (arg7) delete [] arg7;
2161 }
2162 {
2163 if (temp9)
2164 delete arg10;
2165 }
2166 return resultobj;
2167 fail:
2168 {
2169 if (arg7) delete [] arg7;
2170 }
2171 {
2172 if (temp9)
2173 delete arg10;
2174 }
2175 return NULL;
2176 }
2177
2178
2179 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2180 PyObject *resultobj;
2181 wxChoice *arg1 = (wxChoice *) 0 ;
2182 int result;
2183 PyObject * obj0 = 0 ;
2184 char *kwnames[] = {
2185 (char *) "self", NULL
2186 };
2187
2188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2190 {
2191 PyThreadState* __tstate = wxPyBeginAllowThreads();
2192 result = (int)(arg1)->GetColumns();
2193
2194 wxPyEndAllowThreads(__tstate);
2195 if (PyErr_Occurred()) SWIG_fail;
2196 }
2197 resultobj = PyInt_FromLong((long)result);
2198 return resultobj;
2199 fail:
2200 return NULL;
2201 }
2202
2203
2204 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2205 PyObject *resultobj;
2206 wxChoice *arg1 = (wxChoice *) 0 ;
2207 int arg2 = (int) (int)1 ;
2208 PyObject * obj0 = 0 ;
2209 char *kwnames[] = {
2210 (char *) "self",(char *) "n", NULL
2211 };
2212
2213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2215 {
2216 PyThreadState* __tstate = wxPyBeginAllowThreads();
2217 (arg1)->SetColumns(arg2);
2218
2219 wxPyEndAllowThreads(__tstate);
2220 if (PyErr_Occurred()) SWIG_fail;
2221 }
2222 Py_INCREF(Py_None); resultobj = Py_None;
2223 return resultobj;
2224 fail:
2225 return NULL;
2226 }
2227
2228
2229 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2230 PyObject *resultobj;
2231 wxChoice *arg1 = (wxChoice *) 0 ;
2232 int arg2 ;
2233 PyObject * obj0 = 0 ;
2234 char *kwnames[] = {
2235 (char *) "self",(char *) "n", NULL
2236 };
2237
2238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2240 {
2241 PyThreadState* __tstate = wxPyBeginAllowThreads();
2242 (arg1)->SetSelection(arg2);
2243
2244 wxPyEndAllowThreads(__tstate);
2245 if (PyErr_Occurred()) SWIG_fail;
2246 }
2247 Py_INCREF(Py_None); resultobj = Py_None;
2248 return resultobj;
2249 fail:
2250 return NULL;
2251 }
2252
2253
2254 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2255 PyObject *resultobj;
2256 wxChoice *arg1 = (wxChoice *) 0 ;
2257 wxString *arg2 = 0 ;
2258 bool temp2 = False ;
2259 PyObject * obj0 = 0 ;
2260 PyObject * obj1 = 0 ;
2261 char *kwnames[] = {
2262 (char *) "self",(char *) "string", NULL
2263 };
2264
2265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2267 {
2268 arg2 = wxString_in_helper(obj1);
2269 if (arg2 == NULL) SWIG_fail;
2270 temp2 = True;
2271 }
2272 {
2273 PyThreadState* __tstate = wxPyBeginAllowThreads();
2274 (arg1)->SetStringSelection((wxString const &)*arg2);
2275
2276 wxPyEndAllowThreads(__tstate);
2277 if (PyErr_Occurred()) SWIG_fail;
2278 }
2279 Py_INCREF(Py_None); resultobj = Py_None;
2280 {
2281 if (temp2)
2282 delete arg2;
2283 }
2284 return resultobj;
2285 fail:
2286 {
2287 if (temp2)
2288 delete arg2;
2289 }
2290 return NULL;
2291 }
2292
2293
2294 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2295 PyObject *resultobj;
2296 wxChoice *arg1 = (wxChoice *) 0 ;
2297 int arg2 ;
2298 wxString *arg3 = 0 ;
2299 bool temp3 = False ;
2300 PyObject * obj0 = 0 ;
2301 PyObject * obj2 = 0 ;
2302 char *kwnames[] = {
2303 (char *) "self",(char *) "n",(char *) "s", NULL
2304 };
2305
2306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2308 {
2309 arg3 = wxString_in_helper(obj2);
2310 if (arg3 == NULL) SWIG_fail;
2311 temp3 = True;
2312 }
2313 {
2314 PyThreadState* __tstate = wxPyBeginAllowThreads();
2315 (arg1)->SetString(arg2,(wxString const &)*arg3);
2316
2317 wxPyEndAllowThreads(__tstate);
2318 if (PyErr_Occurred()) SWIG_fail;
2319 }
2320 Py_INCREF(Py_None); resultobj = Py_None;
2321 {
2322 if (temp3)
2323 delete arg3;
2324 }
2325 return resultobj;
2326 fail:
2327 {
2328 if (temp3)
2329 delete arg3;
2330 }
2331 return NULL;
2332 }
2333
2334
2335 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2336 PyObject *obj;
2337 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2338 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2339 Py_INCREF(obj);
2340 return Py_BuildValue((char *)"");
2341 }
2342 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2343 PyObject *resultobj;
2344 wxWindow *arg1 = (wxWindow *) 0 ;
2345 int arg2 ;
2346 wxString const &arg3_defvalue = wxPyEmptyString ;
2347 wxString *arg3 = (wxString *) &arg3_defvalue ;
2348 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2349 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2350 wxSize const &arg5_defvalue = wxDefaultSize ;
2351 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2352 int arg6 = (int) 0 ;
2353 wxString *arg7 = (wxString *) NULL ;
2354 long arg8 = (long) 0 ;
2355 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2356 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2357 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2358 wxString *arg10 = (wxString *) &arg10_defvalue ;
2359 wxComboBox *result;
2360 bool temp3 = False ;
2361 wxPoint temp4 ;
2362 wxSize temp5 ;
2363 bool temp9 = False ;
2364 PyObject * obj0 = 0 ;
2365 PyObject * obj2 = 0 ;
2366 PyObject * obj3 = 0 ;
2367 PyObject * obj4 = 0 ;
2368 PyObject * obj5 = 0 ;
2369 PyObject * obj7 = 0 ;
2370 PyObject * obj8 = 0 ;
2371 char *kwnames[] = {
2372 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2373 };
2374
2375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2377 if (obj2) {
2378 {
2379 arg3 = wxString_in_helper(obj2);
2380 if (arg3 == NULL) SWIG_fail;
2381 temp3 = True;
2382 }
2383 }
2384 if (obj3) {
2385 {
2386 arg4 = &temp4;
2387 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2388 }
2389 }
2390 if (obj4) {
2391 {
2392 arg5 = &temp5;
2393 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2394 }
2395 }
2396 if (obj5) {
2397 {
2398 arg6 = PyList_Size(obj5);
2399 arg7 = wxString_LIST_helper(obj5);
2400 if (arg7 == NULL) SWIG_fail;
2401 }
2402 }
2403 if (obj7) {
2404 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2405 if (arg9 == NULL) {
2406 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2407 }
2408 }
2409 if (obj8) {
2410 {
2411 arg10 = wxString_in_helper(obj8);
2412 if (arg10 == NULL) SWIG_fail;
2413 temp9 = True;
2414 }
2415 }
2416 {
2417 PyThreadState* __tstate = wxPyBeginAllowThreads();
2418 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2419
2420 wxPyEndAllowThreads(__tstate);
2421 if (PyErr_Occurred()) SWIG_fail;
2422 }
2423 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2424 {
2425 if (temp3)
2426 delete arg3;
2427 }
2428 {
2429 if (arg7) delete [] arg7;
2430 }
2431 {
2432 if (temp9)
2433 delete arg10;
2434 }
2435 return resultobj;
2436 fail:
2437 {
2438 if (temp3)
2439 delete arg3;
2440 }
2441 {
2442 if (arg7) delete [] arg7;
2443 }
2444 {
2445 if (temp9)
2446 delete arg10;
2447 }
2448 return NULL;
2449 }
2450
2451
2452 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2453 PyObject *resultobj;
2454 wxComboBox *result;
2455 char *kwnames[] = {
2456 NULL
2457 };
2458
2459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2460 {
2461 PyThreadState* __tstate = wxPyBeginAllowThreads();
2462 result = (wxComboBox *)new wxComboBox();
2463
2464 wxPyEndAllowThreads(__tstate);
2465 if (PyErr_Occurred()) SWIG_fail;
2466 }
2467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2468 return resultobj;
2469 fail:
2470 return NULL;
2471 }
2472
2473
2474 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2475 PyObject *resultobj;
2476 wxComboBox *arg1 = (wxComboBox *) 0 ;
2477 wxWindow *arg2 = (wxWindow *) 0 ;
2478 int arg3 ;
2479 wxString const &arg4_defvalue = wxPyEmptyString ;
2480 wxString *arg4 = (wxString *) &arg4_defvalue ;
2481 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2482 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2483 wxSize const &arg6_defvalue = wxDefaultSize ;
2484 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2485 int arg7 = (int) 0 ;
2486 wxString *arg8 = (wxString *) NULL ;
2487 long arg9 = (long) 0 ;
2488 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2489 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2490 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2491 wxString *arg11 = (wxString *) &arg11_defvalue ;
2492 bool result;
2493 bool temp4 = False ;
2494 wxPoint temp5 ;
2495 wxSize temp6 ;
2496 bool temp10 = False ;
2497 PyObject * obj0 = 0 ;
2498 PyObject * obj1 = 0 ;
2499 PyObject * obj3 = 0 ;
2500 PyObject * obj4 = 0 ;
2501 PyObject * obj5 = 0 ;
2502 PyObject * obj6 = 0 ;
2503 PyObject * obj8 = 0 ;
2504 PyObject * obj9 = 0 ;
2505 char *kwnames[] = {
2506 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2507 };
2508
2509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2512 if (obj3) {
2513 {
2514 arg4 = wxString_in_helper(obj3);
2515 if (arg4 == NULL) SWIG_fail;
2516 temp4 = True;
2517 }
2518 }
2519 if (obj4) {
2520 {
2521 arg5 = &temp5;
2522 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2523 }
2524 }
2525 if (obj5) {
2526 {
2527 arg6 = &temp6;
2528 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2529 }
2530 }
2531 if (obj6) {
2532 {
2533 arg7 = PyList_Size(obj6);
2534 arg8 = wxString_LIST_helper(obj6);
2535 if (arg8 == NULL) SWIG_fail;
2536 }
2537 }
2538 if (obj8) {
2539 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2540 if (arg10 == NULL) {
2541 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2542 }
2543 }
2544 if (obj9) {
2545 {
2546 arg11 = wxString_in_helper(obj9);
2547 if (arg11 == NULL) SWIG_fail;
2548 temp10 = True;
2549 }
2550 }
2551 {
2552 PyThreadState* __tstate = wxPyBeginAllowThreads();
2553 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2554
2555 wxPyEndAllowThreads(__tstate);
2556 if (PyErr_Occurred()) SWIG_fail;
2557 }
2558 resultobj = PyInt_FromLong((long)result);
2559 {
2560 if (temp4)
2561 delete arg4;
2562 }
2563 {
2564 if (arg8) delete [] arg8;
2565 }
2566 {
2567 if (temp10)
2568 delete arg11;
2569 }
2570 return resultobj;
2571 fail:
2572 {
2573 if (temp4)
2574 delete arg4;
2575 }
2576 {
2577 if (arg8) delete [] arg8;
2578 }
2579 {
2580 if (temp10)
2581 delete arg11;
2582 }
2583 return NULL;
2584 }
2585
2586
2587 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2588 PyObject *resultobj;
2589 wxComboBox *arg1 = (wxComboBox *) 0 ;
2590 wxString result;
2591 PyObject * obj0 = 0 ;
2592 char *kwnames[] = {
2593 (char *) "self", NULL
2594 };
2595
2596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2598 {
2599 PyThreadState* __tstate = wxPyBeginAllowThreads();
2600 result = ((wxComboBox const *)arg1)->GetValue();
2601
2602 wxPyEndAllowThreads(__tstate);
2603 if (PyErr_Occurred()) SWIG_fail;
2604 }
2605 {
2606 #if wxUSE_UNICODE
2607 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2608 #else
2609 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2610 #endif
2611 }
2612 return resultobj;
2613 fail:
2614 return NULL;
2615 }
2616
2617
2618 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2619 PyObject *resultobj;
2620 wxComboBox *arg1 = (wxComboBox *) 0 ;
2621 wxString *arg2 = 0 ;
2622 bool temp2 = False ;
2623 PyObject * obj0 = 0 ;
2624 PyObject * obj1 = 0 ;
2625 char *kwnames[] = {
2626 (char *) "self",(char *) "value", NULL
2627 };
2628
2629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2631 {
2632 arg2 = wxString_in_helper(obj1);
2633 if (arg2 == NULL) SWIG_fail;
2634 temp2 = True;
2635 }
2636 {
2637 PyThreadState* __tstate = wxPyBeginAllowThreads();
2638 (arg1)->SetValue((wxString const &)*arg2);
2639
2640 wxPyEndAllowThreads(__tstate);
2641 if (PyErr_Occurred()) SWIG_fail;
2642 }
2643 Py_INCREF(Py_None); resultobj = Py_None;
2644 {
2645 if (temp2)
2646 delete arg2;
2647 }
2648 return resultobj;
2649 fail:
2650 {
2651 if (temp2)
2652 delete arg2;
2653 }
2654 return NULL;
2655 }
2656
2657
2658 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2659 PyObject *resultobj;
2660 wxComboBox *arg1 = (wxComboBox *) 0 ;
2661 PyObject * obj0 = 0 ;
2662 char *kwnames[] = {
2663 (char *) "self", NULL
2664 };
2665
2666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2668 {
2669 PyThreadState* __tstate = wxPyBeginAllowThreads();
2670 (arg1)->Copy();
2671
2672 wxPyEndAllowThreads(__tstate);
2673 if (PyErr_Occurred()) SWIG_fail;
2674 }
2675 Py_INCREF(Py_None); resultobj = Py_None;
2676 return resultobj;
2677 fail:
2678 return NULL;
2679 }
2680
2681
2682 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2683 PyObject *resultobj;
2684 wxComboBox *arg1 = (wxComboBox *) 0 ;
2685 PyObject * obj0 = 0 ;
2686 char *kwnames[] = {
2687 (char *) "self", NULL
2688 };
2689
2690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2692 {
2693 PyThreadState* __tstate = wxPyBeginAllowThreads();
2694 (arg1)->Cut();
2695
2696 wxPyEndAllowThreads(__tstate);
2697 if (PyErr_Occurred()) SWIG_fail;
2698 }
2699 Py_INCREF(Py_None); resultobj = Py_None;
2700 return resultobj;
2701 fail:
2702 return NULL;
2703 }
2704
2705
2706 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2707 PyObject *resultobj;
2708 wxComboBox *arg1 = (wxComboBox *) 0 ;
2709 PyObject * obj0 = 0 ;
2710 char *kwnames[] = {
2711 (char *) "self", NULL
2712 };
2713
2714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2716 {
2717 PyThreadState* __tstate = wxPyBeginAllowThreads();
2718 (arg1)->Paste();
2719
2720 wxPyEndAllowThreads(__tstate);
2721 if (PyErr_Occurred()) SWIG_fail;
2722 }
2723 Py_INCREF(Py_None); resultobj = Py_None;
2724 return resultobj;
2725 fail:
2726 return NULL;
2727 }
2728
2729
2730 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2731 PyObject *resultobj;
2732 wxComboBox *arg1 = (wxComboBox *) 0 ;
2733 long arg2 ;
2734 PyObject * obj0 = 0 ;
2735 char *kwnames[] = {
2736 (char *) "self",(char *) "pos", NULL
2737 };
2738
2739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2741 {
2742 PyThreadState* __tstate = wxPyBeginAllowThreads();
2743 (arg1)->SetInsertionPoint(arg2);
2744
2745 wxPyEndAllowThreads(__tstate);
2746 if (PyErr_Occurred()) SWIG_fail;
2747 }
2748 Py_INCREF(Py_None); resultobj = Py_None;
2749 return resultobj;
2750 fail:
2751 return NULL;
2752 }
2753
2754
2755 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2756 PyObject *resultobj;
2757 wxComboBox *arg1 = (wxComboBox *) 0 ;
2758 long result;
2759 PyObject * obj0 = 0 ;
2760 char *kwnames[] = {
2761 (char *) "self", NULL
2762 };
2763
2764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2766 {
2767 PyThreadState* __tstate = wxPyBeginAllowThreads();
2768 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2769
2770 wxPyEndAllowThreads(__tstate);
2771 if (PyErr_Occurred()) SWIG_fail;
2772 }
2773 resultobj = PyInt_FromLong((long)result);
2774 return resultobj;
2775 fail:
2776 return NULL;
2777 }
2778
2779
2780 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2781 PyObject *resultobj;
2782 wxComboBox *arg1 = (wxComboBox *) 0 ;
2783 long result;
2784 PyObject * obj0 = 0 ;
2785 char *kwnames[] = {
2786 (char *) "self", NULL
2787 };
2788
2789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2791 {
2792 PyThreadState* __tstate = wxPyBeginAllowThreads();
2793 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2794
2795 wxPyEndAllowThreads(__tstate);
2796 if (PyErr_Occurred()) SWIG_fail;
2797 }
2798 resultobj = PyInt_FromLong((long)result);
2799 return resultobj;
2800 fail:
2801 return NULL;
2802 }
2803
2804
2805 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2806 PyObject *resultobj;
2807 wxComboBox *arg1 = (wxComboBox *) 0 ;
2808 long arg2 ;
2809 long arg3 ;
2810 wxString *arg4 = 0 ;
2811 bool temp4 = False ;
2812 PyObject * obj0 = 0 ;
2813 PyObject * obj3 = 0 ;
2814 char *kwnames[] = {
2815 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2816 };
2817
2818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2820 {
2821 arg4 = wxString_in_helper(obj3);
2822 if (arg4 == NULL) SWIG_fail;
2823 temp4 = True;
2824 }
2825 {
2826 PyThreadState* __tstate = wxPyBeginAllowThreads();
2827 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2828
2829 wxPyEndAllowThreads(__tstate);
2830 if (PyErr_Occurred()) SWIG_fail;
2831 }
2832 Py_INCREF(Py_None); resultobj = Py_None;
2833 {
2834 if (temp4)
2835 delete arg4;
2836 }
2837 return resultobj;
2838 fail:
2839 {
2840 if (temp4)
2841 delete arg4;
2842 }
2843 return NULL;
2844 }
2845
2846
2847 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2848 PyObject *resultobj;
2849 wxComboBox *arg1 = (wxComboBox *) 0 ;
2850 int arg2 ;
2851 PyObject * obj0 = 0 ;
2852 char *kwnames[] = {
2853 (char *) "self",(char *) "n", NULL
2854 };
2855
2856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2858 {
2859 PyThreadState* __tstate = wxPyBeginAllowThreads();
2860 (arg1)->SetSelection(arg2);
2861
2862 wxPyEndAllowThreads(__tstate);
2863 if (PyErr_Occurred()) SWIG_fail;
2864 }
2865 Py_INCREF(Py_None); resultobj = Py_None;
2866 return resultobj;
2867 fail:
2868 return NULL;
2869 }
2870
2871
2872 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2873 PyObject *resultobj;
2874 wxComboBox *arg1 = (wxComboBox *) 0 ;
2875 long arg2 ;
2876 long arg3 ;
2877 PyObject * obj0 = 0 ;
2878 char *kwnames[] = {
2879 (char *) "self",(char *) "from",(char *) "to", NULL
2880 };
2881
2882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2884 {
2885 PyThreadState* __tstate = wxPyBeginAllowThreads();
2886 (arg1)->SetSelection(arg2,arg3);
2887
2888 wxPyEndAllowThreads(__tstate);
2889 if (PyErr_Occurred()) SWIG_fail;
2890 }
2891 Py_INCREF(Py_None); resultobj = Py_None;
2892 return resultobj;
2893 fail:
2894 return NULL;
2895 }
2896
2897
2898 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2899 PyObject *resultobj;
2900 wxComboBox *arg1 = (wxComboBox *) 0 ;
2901 bool arg2 ;
2902 PyObject * obj0 = 0 ;
2903 PyObject * obj1 = 0 ;
2904 char *kwnames[] = {
2905 (char *) "self",(char *) "editable", NULL
2906 };
2907
2908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2910 arg2 = PyInt_AsLong(obj1) ? true : false;
2911 if (PyErr_Occurred()) SWIG_fail;
2912 {
2913 PyThreadState* __tstate = wxPyBeginAllowThreads();
2914 (arg1)->SetEditable(arg2);
2915
2916 wxPyEndAllowThreads(__tstate);
2917 if (PyErr_Occurred()) SWIG_fail;
2918 }
2919 Py_INCREF(Py_None); resultobj = Py_None;
2920 return resultobj;
2921 fail:
2922 return NULL;
2923 }
2924
2925
2926 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2927 PyObject *resultobj;
2928 wxComboBox *arg1 = (wxComboBox *) 0 ;
2929 PyObject * obj0 = 0 ;
2930 char *kwnames[] = {
2931 (char *) "self", NULL
2932 };
2933
2934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2936 {
2937 PyThreadState* __tstate = wxPyBeginAllowThreads();
2938 (arg1)->SetInsertionPointEnd();
2939
2940 wxPyEndAllowThreads(__tstate);
2941 if (PyErr_Occurred()) SWIG_fail;
2942 }
2943 Py_INCREF(Py_None); resultobj = Py_None;
2944 return resultobj;
2945 fail:
2946 return NULL;
2947 }
2948
2949
2950 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
2951 PyObject *resultobj;
2952 wxComboBox *arg1 = (wxComboBox *) 0 ;
2953 long arg2 ;
2954 long arg3 ;
2955 PyObject * obj0 = 0 ;
2956 char *kwnames[] = {
2957 (char *) "self",(char *) "from",(char *) "to", NULL
2958 };
2959
2960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
2961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2962 {
2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
2964 (arg1)->Remove(arg2,arg3);
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 Py_INCREF(Py_None); resultobj = Py_None;
2970 return resultobj;
2971 fail:
2972 return NULL;
2973 }
2974
2975
2976 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
2977 PyObject *obj;
2978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2979 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
2980 Py_INCREF(obj);
2981 return Py_BuildValue((char *)"");
2982 }
2983 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
2984 PyObject *resultobj;
2985 wxWindow *arg1 = (wxWindow *) 0 ;
2986 int arg2 ;
2987 int arg3 ;
2988 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2989 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2990 wxSize const &arg5_defvalue = wxDefaultSize ;
2991 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2992 long arg6 = (long) wxGA_HORIZONTAL ;
2993 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2994 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2995 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
2996 wxString *arg8 = (wxString *) &arg8_defvalue ;
2997 wxGauge *result;
2998 wxPoint temp4 ;
2999 wxSize temp5 ;
3000 bool temp8 = False ;
3001 PyObject * obj0 = 0 ;
3002 PyObject * obj3 = 0 ;
3003 PyObject * obj4 = 0 ;
3004 PyObject * obj6 = 0 ;
3005 PyObject * obj7 = 0 ;
3006 char *kwnames[] = {
3007 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3008 };
3009
3010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3012 if (obj3) {
3013 {
3014 arg4 = &temp4;
3015 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3016 }
3017 }
3018 if (obj4) {
3019 {
3020 arg5 = &temp5;
3021 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3022 }
3023 }
3024 if (obj6) {
3025 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3026 if (arg7 == NULL) {
3027 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3028 }
3029 }
3030 if (obj7) {
3031 {
3032 arg8 = wxString_in_helper(obj7);
3033 if (arg8 == NULL) SWIG_fail;
3034 temp8 = True;
3035 }
3036 }
3037 {
3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
3039 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3040
3041 wxPyEndAllowThreads(__tstate);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 }
3044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3045 {
3046 if (temp8)
3047 delete arg8;
3048 }
3049 return resultobj;
3050 fail:
3051 {
3052 if (temp8)
3053 delete arg8;
3054 }
3055 return NULL;
3056 }
3057
3058
3059 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3060 PyObject *resultobj;
3061 wxGauge *result;
3062 char *kwnames[] = {
3063 NULL
3064 };
3065
3066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 result = (wxGauge *)new wxGauge();
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3075 return resultobj;
3076 fail:
3077 return NULL;
3078 }
3079
3080
3081 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3082 PyObject *resultobj;
3083 wxGauge *arg1 = (wxGauge *) 0 ;
3084 wxWindow *arg2 = (wxWindow *) 0 ;
3085 int arg3 ;
3086 int arg4 ;
3087 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3088 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3089 wxSize const &arg6_defvalue = wxDefaultSize ;
3090 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3091 long arg7 = (long) wxGA_HORIZONTAL ;
3092 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3093 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3094 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3095 wxString *arg9 = (wxString *) &arg9_defvalue ;
3096 bool result;
3097 wxPoint temp5 ;
3098 wxSize temp6 ;
3099 bool temp9 = False ;
3100 PyObject * obj0 = 0 ;
3101 PyObject * obj1 = 0 ;
3102 PyObject * obj4 = 0 ;
3103 PyObject * obj5 = 0 ;
3104 PyObject * obj7 = 0 ;
3105 PyObject * obj8 = 0 ;
3106 char *kwnames[] = {
3107 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3108 };
3109
3110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3112 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3113 if (obj4) {
3114 {
3115 arg5 = &temp5;
3116 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3117 }
3118 }
3119 if (obj5) {
3120 {
3121 arg6 = &temp6;
3122 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3123 }
3124 }
3125 if (obj7) {
3126 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3127 if (arg8 == NULL) {
3128 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3129 }
3130 }
3131 if (obj8) {
3132 {
3133 arg9 = wxString_in_helper(obj8);
3134 if (arg9 == NULL) SWIG_fail;
3135 temp9 = True;
3136 }
3137 }
3138 {
3139 PyThreadState* __tstate = wxPyBeginAllowThreads();
3140 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3141
3142 wxPyEndAllowThreads(__tstate);
3143 if (PyErr_Occurred()) SWIG_fail;
3144 }
3145 resultobj = PyInt_FromLong((long)result);
3146 {
3147 if (temp9)
3148 delete arg9;
3149 }
3150 return resultobj;
3151 fail:
3152 {
3153 if (temp9)
3154 delete arg9;
3155 }
3156 return NULL;
3157 }
3158
3159
3160 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3161 PyObject *resultobj;
3162 wxGauge *arg1 = (wxGauge *) 0 ;
3163 int arg2 ;
3164 PyObject * obj0 = 0 ;
3165 char *kwnames[] = {
3166 (char *) "self",(char *) "range", NULL
3167 };
3168
3169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3171 {
3172 PyThreadState* __tstate = wxPyBeginAllowThreads();
3173 (arg1)->SetRange(arg2);
3174
3175 wxPyEndAllowThreads(__tstate);
3176 if (PyErr_Occurred()) SWIG_fail;
3177 }
3178 Py_INCREF(Py_None); resultobj = Py_None;
3179 return resultobj;
3180 fail:
3181 return NULL;
3182 }
3183
3184
3185 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3186 PyObject *resultobj;
3187 wxGauge *arg1 = (wxGauge *) 0 ;
3188 int result;
3189 PyObject * obj0 = 0 ;
3190 char *kwnames[] = {
3191 (char *) "self", NULL
3192 };
3193
3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3196 {
3197 PyThreadState* __tstate = wxPyBeginAllowThreads();
3198 result = (int)((wxGauge const *)arg1)->GetRange();
3199
3200 wxPyEndAllowThreads(__tstate);
3201 if (PyErr_Occurred()) SWIG_fail;
3202 }
3203 resultobj = PyInt_FromLong((long)result);
3204 return resultobj;
3205 fail:
3206 return NULL;
3207 }
3208
3209
3210 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3211 PyObject *resultobj;
3212 wxGauge *arg1 = (wxGauge *) 0 ;
3213 int arg2 ;
3214 PyObject * obj0 = 0 ;
3215 char *kwnames[] = {
3216 (char *) "self",(char *) "pos", NULL
3217 };
3218
3219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3221 {
3222 PyThreadState* __tstate = wxPyBeginAllowThreads();
3223 (arg1)->SetValue(arg2);
3224
3225 wxPyEndAllowThreads(__tstate);
3226 if (PyErr_Occurred()) SWIG_fail;
3227 }
3228 Py_INCREF(Py_None); resultobj = Py_None;
3229 return resultobj;
3230 fail:
3231 return NULL;
3232 }
3233
3234
3235 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3236 PyObject *resultobj;
3237 wxGauge *arg1 = (wxGauge *) 0 ;
3238 int result;
3239 PyObject * obj0 = 0 ;
3240 char *kwnames[] = {
3241 (char *) "self", NULL
3242 };
3243
3244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3246 {
3247 PyThreadState* __tstate = wxPyBeginAllowThreads();
3248 result = (int)((wxGauge const *)arg1)->GetValue();
3249
3250 wxPyEndAllowThreads(__tstate);
3251 if (PyErr_Occurred()) SWIG_fail;
3252 }
3253 resultobj = PyInt_FromLong((long)result);
3254 return resultobj;
3255 fail:
3256 return NULL;
3257 }
3258
3259
3260 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3261 PyObject *resultobj;
3262 wxGauge *arg1 = (wxGauge *) 0 ;
3263 bool result;
3264 PyObject * obj0 = 0 ;
3265 char *kwnames[] = {
3266 (char *) "self", NULL
3267 };
3268
3269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3271 {
3272 PyThreadState* __tstate = wxPyBeginAllowThreads();
3273 result = (bool)((wxGauge const *)arg1)->IsVertical();
3274
3275 wxPyEndAllowThreads(__tstate);
3276 if (PyErr_Occurred()) SWIG_fail;
3277 }
3278 resultobj = PyInt_FromLong((long)result);
3279 return resultobj;
3280 fail:
3281 return NULL;
3282 }
3283
3284
3285 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3286 PyObject *resultobj;
3287 wxGauge *arg1 = (wxGauge *) 0 ;
3288 int arg2 ;
3289 PyObject * obj0 = 0 ;
3290 char *kwnames[] = {
3291 (char *) "self",(char *) "w", NULL
3292 };
3293
3294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3296 {
3297 PyThreadState* __tstate = wxPyBeginAllowThreads();
3298 (arg1)->SetShadowWidth(arg2);
3299
3300 wxPyEndAllowThreads(__tstate);
3301 if (PyErr_Occurred()) SWIG_fail;
3302 }
3303 Py_INCREF(Py_None); resultobj = Py_None;
3304 return resultobj;
3305 fail:
3306 return NULL;
3307 }
3308
3309
3310 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3311 PyObject *resultobj;
3312 wxGauge *arg1 = (wxGauge *) 0 ;
3313 int result;
3314 PyObject * obj0 = 0 ;
3315 char *kwnames[] = {
3316 (char *) "self", NULL
3317 };
3318
3319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3321 {
3322 PyThreadState* __tstate = wxPyBeginAllowThreads();
3323 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3324
3325 wxPyEndAllowThreads(__tstate);
3326 if (PyErr_Occurred()) SWIG_fail;
3327 }
3328 resultobj = PyInt_FromLong((long)result);
3329 return resultobj;
3330 fail:
3331 return NULL;
3332 }
3333
3334
3335 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3336 PyObject *resultobj;
3337 wxGauge *arg1 = (wxGauge *) 0 ;
3338 int arg2 ;
3339 PyObject * obj0 = 0 ;
3340 char *kwnames[] = {
3341 (char *) "self",(char *) "w", NULL
3342 };
3343
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3346 {
3347 PyThreadState* __tstate = wxPyBeginAllowThreads();
3348 (arg1)->SetBezelFace(arg2);
3349
3350 wxPyEndAllowThreads(__tstate);
3351 if (PyErr_Occurred()) SWIG_fail;
3352 }
3353 Py_INCREF(Py_None); resultobj = Py_None;
3354 return resultobj;
3355 fail:
3356 return NULL;
3357 }
3358
3359
3360 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3361 PyObject *resultobj;
3362 wxGauge *arg1 = (wxGauge *) 0 ;
3363 int result;
3364 PyObject * obj0 = 0 ;
3365 char *kwnames[] = {
3366 (char *) "self", NULL
3367 };
3368
3369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3371 {
3372 PyThreadState* __tstate = wxPyBeginAllowThreads();
3373 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3374
3375 wxPyEndAllowThreads(__tstate);
3376 if (PyErr_Occurred()) SWIG_fail;
3377 }
3378 resultobj = PyInt_FromLong((long)result);
3379 return resultobj;
3380 fail:
3381 return NULL;
3382 }
3383
3384
3385 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3386 PyObject *obj;
3387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3388 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3389 Py_INCREF(obj);
3390 return Py_BuildValue((char *)"");
3391 }
3392 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3393 PyObject *resultobj;
3394 wxWindow *arg1 = (wxWindow *) 0 ;
3395 int arg2 ;
3396 wxString *arg3 = 0 ;
3397 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3398 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3399 wxSize const &arg5_defvalue = wxDefaultSize ;
3400 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3401 long arg6 = (long) 0 ;
3402 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3403 wxString *arg7 = (wxString *) &arg7_defvalue ;
3404 wxStaticBox *result;
3405 bool temp3 = False ;
3406 wxPoint temp4 ;
3407 wxSize temp5 ;
3408 bool temp7 = False ;
3409 PyObject * obj0 = 0 ;
3410 PyObject * obj2 = 0 ;
3411 PyObject * obj3 = 0 ;
3412 PyObject * obj4 = 0 ;
3413 PyObject * obj6 = 0 ;
3414 char *kwnames[] = {
3415 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3416 };
3417
3418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3420 {
3421 arg3 = wxString_in_helper(obj2);
3422 if (arg3 == NULL) SWIG_fail;
3423 temp3 = True;
3424 }
3425 if (obj3) {
3426 {
3427 arg4 = &temp4;
3428 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3429 }
3430 }
3431 if (obj4) {
3432 {
3433 arg5 = &temp5;
3434 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3435 }
3436 }
3437 if (obj6) {
3438 {
3439 arg7 = wxString_in_helper(obj6);
3440 if (arg7 == NULL) SWIG_fail;
3441 temp7 = True;
3442 }
3443 }
3444 {
3445 PyThreadState* __tstate = wxPyBeginAllowThreads();
3446 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3447
3448 wxPyEndAllowThreads(__tstate);
3449 if (PyErr_Occurred()) SWIG_fail;
3450 }
3451 {
3452 resultobj = wxPyMake_wxObject(result);
3453 }
3454 {
3455 if (temp3)
3456 delete arg3;
3457 }
3458 {
3459 if (temp7)
3460 delete arg7;
3461 }
3462 return resultobj;
3463 fail:
3464 {
3465 if (temp3)
3466 delete arg3;
3467 }
3468 {
3469 if (temp7)
3470 delete arg7;
3471 }
3472 return NULL;
3473 }
3474
3475
3476 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3477 PyObject *resultobj;
3478 wxStaticBox *result;
3479 char *kwnames[] = {
3480 NULL
3481 };
3482
3483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3484 {
3485 PyThreadState* __tstate = wxPyBeginAllowThreads();
3486 result = (wxStaticBox *)new wxStaticBox();
3487
3488 wxPyEndAllowThreads(__tstate);
3489 if (PyErr_Occurred()) SWIG_fail;
3490 }
3491 {
3492 resultobj = wxPyMake_wxObject(result);
3493 }
3494 return resultobj;
3495 fail:
3496 return NULL;
3497 }
3498
3499
3500 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3501 PyObject *resultobj;
3502 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3503 wxWindow *arg2 = (wxWindow *) 0 ;
3504 int arg3 ;
3505 wxString *arg4 = 0 ;
3506 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3507 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3508 wxSize const &arg6_defvalue = wxDefaultSize ;
3509 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3510 long arg7 = (long) 0 ;
3511 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3512 wxString *arg8 = (wxString *) &arg8_defvalue ;
3513 bool result;
3514 bool temp4 = False ;
3515 wxPoint temp5 ;
3516 wxSize temp6 ;
3517 bool temp8 = False ;
3518 PyObject * obj0 = 0 ;
3519 PyObject * obj1 = 0 ;
3520 PyObject * obj3 = 0 ;
3521 PyObject * obj4 = 0 ;
3522 PyObject * obj5 = 0 ;
3523 PyObject * obj7 = 0 ;
3524 char *kwnames[] = {
3525 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3526 };
3527
3528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3530 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3531 {
3532 arg4 = wxString_in_helper(obj3);
3533 if (arg4 == NULL) SWIG_fail;
3534 temp4 = True;
3535 }
3536 if (obj4) {
3537 {
3538 arg5 = &temp5;
3539 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3540 }
3541 }
3542 if (obj5) {
3543 {
3544 arg6 = &temp6;
3545 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3546 }
3547 }
3548 if (obj7) {
3549 {
3550 arg8 = wxString_in_helper(obj7);
3551 if (arg8 == NULL) SWIG_fail;
3552 temp8 = True;
3553 }
3554 }
3555 {
3556 PyThreadState* __tstate = wxPyBeginAllowThreads();
3557 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3558
3559 wxPyEndAllowThreads(__tstate);
3560 if (PyErr_Occurred()) SWIG_fail;
3561 }
3562 resultobj = PyInt_FromLong((long)result);
3563 {
3564 if (temp4)
3565 delete arg4;
3566 }
3567 {
3568 if (temp8)
3569 delete arg8;
3570 }
3571 return resultobj;
3572 fail:
3573 {
3574 if (temp4)
3575 delete arg4;
3576 }
3577 {
3578 if (temp8)
3579 delete arg8;
3580 }
3581 return NULL;
3582 }
3583
3584
3585 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3586 PyObject *obj;
3587 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3588 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3589 Py_INCREF(obj);
3590 return Py_BuildValue((char *)"");
3591 }
3592 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3593 PyObject *resultobj;
3594 wxWindow *arg1 = (wxWindow *) 0 ;
3595 int arg2 ;
3596 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3597 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3598 wxSize const &arg4_defvalue = wxDefaultSize ;
3599 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3600 long arg5 = (long) wxLI_HORIZONTAL ;
3601 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3602 wxString *arg6 = (wxString *) &arg6_defvalue ;
3603 wxStaticLine *result;
3604 wxPoint temp3 ;
3605 wxSize temp4 ;
3606 bool temp6 = False ;
3607 PyObject * obj0 = 0 ;
3608 PyObject * obj2 = 0 ;
3609 PyObject * obj3 = 0 ;
3610 PyObject * obj5 = 0 ;
3611 char *kwnames[] = {
3612 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3613 };
3614
3615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3617 if (obj2) {
3618 {
3619 arg3 = &temp3;
3620 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3621 }
3622 }
3623 if (obj3) {
3624 {
3625 arg4 = &temp4;
3626 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3627 }
3628 }
3629 if (obj5) {
3630 {
3631 arg6 = wxString_in_helper(obj5);
3632 if (arg6 == NULL) SWIG_fail;
3633 temp6 = True;
3634 }
3635 }
3636 {
3637 PyThreadState* __tstate = wxPyBeginAllowThreads();
3638 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3639
3640 wxPyEndAllowThreads(__tstate);
3641 if (PyErr_Occurred()) SWIG_fail;
3642 }
3643 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3644 {
3645 if (temp6)
3646 delete arg6;
3647 }
3648 return resultobj;
3649 fail:
3650 {
3651 if (temp6)
3652 delete arg6;
3653 }
3654 return NULL;
3655 }
3656
3657
3658 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3659 PyObject *resultobj;
3660 wxStaticLine *result;
3661 char *kwnames[] = {
3662 NULL
3663 };
3664
3665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3666 {
3667 PyThreadState* __tstate = wxPyBeginAllowThreads();
3668 result = (wxStaticLine *)new wxStaticLine();
3669
3670 wxPyEndAllowThreads(__tstate);
3671 if (PyErr_Occurred()) SWIG_fail;
3672 }
3673 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3674 return resultobj;
3675 fail:
3676 return NULL;
3677 }
3678
3679
3680 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3681 PyObject *resultobj;
3682 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3683 wxWindow *arg2 = (wxWindow *) 0 ;
3684 int arg3 ;
3685 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3686 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3687 wxSize const &arg5_defvalue = wxDefaultSize ;
3688 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3689 long arg6 = (long) wxLI_HORIZONTAL ;
3690 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3691 wxString *arg7 = (wxString *) &arg7_defvalue ;
3692 bool result;
3693 wxPoint temp4 ;
3694 wxSize temp5 ;
3695 bool temp7 = False ;
3696 PyObject * obj0 = 0 ;
3697 PyObject * obj1 = 0 ;
3698 PyObject * obj3 = 0 ;
3699 PyObject * obj4 = 0 ;
3700 PyObject * obj6 = 0 ;
3701 char *kwnames[] = {
3702 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3703 };
3704
3705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3708 if (obj3) {
3709 {
3710 arg4 = &temp4;
3711 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3712 }
3713 }
3714 if (obj4) {
3715 {
3716 arg5 = &temp5;
3717 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3718 }
3719 }
3720 if (obj6) {
3721 {
3722 arg7 = wxString_in_helper(obj6);
3723 if (arg7 == NULL) SWIG_fail;
3724 temp7 = True;
3725 }
3726 }
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
3734 resultobj = PyInt_FromLong((long)result);
3735 {
3736 if (temp7)
3737 delete arg7;
3738 }
3739 return resultobj;
3740 fail:
3741 {
3742 if (temp7)
3743 delete arg7;
3744 }
3745 return NULL;
3746 }
3747
3748
3749 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3750 PyObject *resultobj;
3751 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3752 bool result;
3753 PyObject * obj0 = 0 ;
3754 char *kwnames[] = {
3755 (char *) "self", NULL
3756 };
3757
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3760 {
3761 PyThreadState* __tstate = wxPyBeginAllowThreads();
3762 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3763
3764 wxPyEndAllowThreads(__tstate);
3765 if (PyErr_Occurred()) SWIG_fail;
3766 }
3767 resultobj = PyInt_FromLong((long)result);
3768 return resultobj;
3769 fail:
3770 return NULL;
3771 }
3772
3773
3774 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3775 PyObject *resultobj;
3776 int result;
3777 char *kwnames[] = {
3778 NULL
3779 };
3780
3781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3782 {
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 result = (int)wxStaticLine::GetDefaultSize();
3785
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 resultobj = PyInt_FromLong((long)result);
3790 return resultobj;
3791 fail:
3792 return NULL;
3793 }
3794
3795
3796 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3797 PyObject *obj;
3798 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3799 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3800 Py_INCREF(obj);
3801 return Py_BuildValue((char *)"");
3802 }
3803 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3804 PyObject *resultobj;
3805 wxWindow *arg1 = (wxWindow *) 0 ;
3806 int arg2 ;
3807 wxString *arg3 = 0 ;
3808 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3809 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3810 wxSize const &arg5_defvalue = wxDefaultSize ;
3811 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3812 long arg6 = (long) 0 ;
3813 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3814 wxString *arg7 = (wxString *) &arg7_defvalue ;
3815 wxStaticText *result;
3816 bool temp3 = False ;
3817 wxPoint temp4 ;
3818 wxSize temp5 ;
3819 bool temp7 = False ;
3820 PyObject * obj0 = 0 ;
3821 PyObject * obj2 = 0 ;
3822 PyObject * obj3 = 0 ;
3823 PyObject * obj4 = 0 ;
3824 PyObject * obj6 = 0 ;
3825 char *kwnames[] = {
3826 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3827 };
3828
3829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3831 {
3832 arg3 = wxString_in_helper(obj2);
3833 if (arg3 == NULL) SWIG_fail;
3834 temp3 = True;
3835 }
3836 if (obj3) {
3837 {
3838 arg4 = &temp4;
3839 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3840 }
3841 }
3842 if (obj4) {
3843 {
3844 arg5 = &temp5;
3845 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3846 }
3847 }
3848 if (obj6) {
3849 {
3850 arg7 = wxString_in_helper(obj6);
3851 if (arg7 == NULL) SWIG_fail;
3852 temp7 = True;
3853 }
3854 }
3855 {
3856 PyThreadState* __tstate = wxPyBeginAllowThreads();
3857 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3858
3859 wxPyEndAllowThreads(__tstate);
3860 if (PyErr_Occurred()) SWIG_fail;
3861 }
3862 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3863 {
3864 if (temp3)
3865 delete arg3;
3866 }
3867 {
3868 if (temp7)
3869 delete arg7;
3870 }
3871 return resultobj;
3872 fail:
3873 {
3874 if (temp3)
3875 delete arg3;
3876 }
3877 {
3878 if (temp7)
3879 delete arg7;
3880 }
3881 return NULL;
3882 }
3883
3884
3885 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3886 PyObject *resultobj;
3887 wxStaticText *result;
3888 char *kwnames[] = {
3889 NULL
3890 };
3891
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3893 {
3894 PyThreadState* __tstate = wxPyBeginAllowThreads();
3895 result = (wxStaticText *)new wxStaticText();
3896
3897 wxPyEndAllowThreads(__tstate);
3898 if (PyErr_Occurred()) SWIG_fail;
3899 }
3900 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3901 return resultobj;
3902 fail:
3903 return NULL;
3904 }
3905
3906
3907 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3908 PyObject *resultobj;
3909 wxStaticText *arg1 = (wxStaticText *) 0 ;
3910 wxWindow *arg2 = (wxWindow *) 0 ;
3911 int arg3 ;
3912 wxString *arg4 = 0 ;
3913 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3914 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3915 wxSize const &arg6_defvalue = wxDefaultSize ;
3916 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3917 long arg7 = (long) 0 ;
3918 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3919 wxString *arg8 = (wxString *) &arg8_defvalue ;
3920 bool result;
3921 bool temp4 = False ;
3922 wxPoint temp5 ;
3923 wxSize temp6 ;
3924 bool temp8 = False ;
3925 PyObject * obj0 = 0 ;
3926 PyObject * obj1 = 0 ;
3927 PyObject * obj3 = 0 ;
3928 PyObject * obj4 = 0 ;
3929 PyObject * obj5 = 0 ;
3930 PyObject * obj7 = 0 ;
3931 char *kwnames[] = {
3932 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3933 };
3934
3935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3938 {
3939 arg4 = wxString_in_helper(obj3);
3940 if (arg4 == NULL) SWIG_fail;
3941 temp4 = True;
3942 }
3943 if (obj4) {
3944 {
3945 arg5 = &temp5;
3946 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3947 }
3948 }
3949 if (obj5) {
3950 {
3951 arg6 = &temp6;
3952 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3953 }
3954 }
3955 if (obj7) {
3956 {
3957 arg8 = wxString_in_helper(obj7);
3958 if (arg8 == NULL) SWIG_fail;
3959 temp8 = True;
3960 }
3961 }
3962 {
3963 PyThreadState* __tstate = wxPyBeginAllowThreads();
3964 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3965
3966 wxPyEndAllowThreads(__tstate);
3967 if (PyErr_Occurred()) SWIG_fail;
3968 }
3969 resultobj = PyInt_FromLong((long)result);
3970 {
3971 if (temp4)
3972 delete arg4;
3973 }
3974 {
3975 if (temp8)
3976 delete arg8;
3977 }
3978 return resultobj;
3979 fail:
3980 {
3981 if (temp4)
3982 delete arg4;
3983 }
3984 {
3985 if (temp8)
3986 delete arg8;
3987 }
3988 return NULL;
3989 }
3990
3991
3992 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
3993 PyObject *obj;
3994 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3995 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
3996 Py_INCREF(obj);
3997 return Py_BuildValue((char *)"");
3998 }
3999 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4000 PyObject *resultobj;
4001 wxWindow *arg1 = (wxWindow *) 0 ;
4002 int arg2 ;
4003 wxBitmap *arg3 = 0 ;
4004 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4005 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4006 wxSize const &arg5_defvalue = wxDefaultSize ;
4007 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4008 long arg6 = (long) 0 ;
4009 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4010 wxString *arg7 = (wxString *) &arg7_defvalue ;
4011 wxStaticBitmap *result;
4012 wxPoint temp4 ;
4013 wxSize temp5 ;
4014 bool temp7 = False ;
4015 PyObject * obj0 = 0 ;
4016 PyObject * obj2 = 0 ;
4017 PyObject * obj3 = 0 ;
4018 PyObject * obj4 = 0 ;
4019 PyObject * obj6 = 0 ;
4020 char *kwnames[] = {
4021 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4022 };
4023
4024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4026 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4027 if (arg3 == NULL) {
4028 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4029 }
4030 if (obj3) {
4031 {
4032 arg4 = &temp4;
4033 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4034 }
4035 }
4036 if (obj4) {
4037 {
4038 arg5 = &temp5;
4039 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4040 }
4041 }
4042 if (obj6) {
4043 {
4044 arg7 = wxString_in_helper(obj6);
4045 if (arg7 == NULL) SWIG_fail;
4046 temp7 = True;
4047 }
4048 }
4049 {
4050 PyThreadState* __tstate = wxPyBeginAllowThreads();
4051 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4052
4053 wxPyEndAllowThreads(__tstate);
4054 if (PyErr_Occurred()) SWIG_fail;
4055 }
4056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4057 {
4058 if (temp7)
4059 delete arg7;
4060 }
4061 return resultobj;
4062 fail:
4063 {
4064 if (temp7)
4065 delete arg7;
4066 }
4067 return NULL;
4068 }
4069
4070
4071 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4072 PyObject *resultobj;
4073 wxStaticBitmap *result;
4074 char *kwnames[] = {
4075 NULL
4076 };
4077
4078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4079 {
4080 PyThreadState* __tstate = wxPyBeginAllowThreads();
4081 result = (wxStaticBitmap *)new wxStaticBitmap();
4082
4083 wxPyEndAllowThreads(__tstate);
4084 if (PyErr_Occurred()) SWIG_fail;
4085 }
4086 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4087 return resultobj;
4088 fail:
4089 return NULL;
4090 }
4091
4092
4093 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4094 PyObject *resultobj;
4095 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4096 wxWindow *arg2 = (wxWindow *) 0 ;
4097 int arg3 ;
4098 wxBitmap *arg4 = 0 ;
4099 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4100 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4101 wxSize const &arg6_defvalue = wxDefaultSize ;
4102 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4103 long arg7 = (long) 0 ;
4104 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4105 wxString *arg8 = (wxString *) &arg8_defvalue ;
4106 bool result;
4107 wxPoint temp5 ;
4108 wxSize temp6 ;
4109 bool temp8 = False ;
4110 PyObject * obj0 = 0 ;
4111 PyObject * obj1 = 0 ;
4112 PyObject * obj3 = 0 ;
4113 PyObject * obj4 = 0 ;
4114 PyObject * obj5 = 0 ;
4115 PyObject * obj7 = 0 ;
4116 char *kwnames[] = {
4117 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4118 };
4119
4120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4122 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4123 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4124 if (arg4 == NULL) {
4125 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4126 }
4127 if (obj4) {
4128 {
4129 arg5 = &temp5;
4130 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4131 }
4132 }
4133 if (obj5) {
4134 {
4135 arg6 = &temp6;
4136 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4137 }
4138 }
4139 if (obj7) {
4140 {
4141 arg8 = wxString_in_helper(obj7);
4142 if (arg8 == NULL) SWIG_fail;
4143 temp8 = True;
4144 }
4145 }
4146 {
4147 PyThreadState* __tstate = wxPyBeginAllowThreads();
4148 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4149
4150 wxPyEndAllowThreads(__tstate);
4151 if (PyErr_Occurred()) SWIG_fail;
4152 }
4153 resultobj = PyInt_FromLong((long)result);
4154 {
4155 if (temp8)
4156 delete arg8;
4157 }
4158 return resultobj;
4159 fail:
4160 {
4161 if (temp8)
4162 delete arg8;
4163 }
4164 return NULL;
4165 }
4166
4167
4168 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4169 PyObject *resultobj;
4170 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4171 wxBitmap result;
4172 PyObject * obj0 = 0 ;
4173 char *kwnames[] = {
4174 (char *) "self", NULL
4175 };
4176
4177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4179 {
4180 PyThreadState* __tstate = wxPyBeginAllowThreads();
4181 result = (arg1)->GetBitmap();
4182
4183 wxPyEndAllowThreads(__tstate);
4184 if (PyErr_Occurred()) SWIG_fail;
4185 }
4186 {
4187 wxBitmap * resultptr;
4188 resultptr = new wxBitmap((wxBitmap &) result);
4189 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4190 }
4191 return resultobj;
4192 fail:
4193 return NULL;
4194 }
4195
4196
4197 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4198 PyObject *resultobj;
4199 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4200 wxBitmap *arg2 = 0 ;
4201 PyObject * obj0 = 0 ;
4202 PyObject * obj1 = 0 ;
4203 char *kwnames[] = {
4204 (char *) "self",(char *) "bitmap", NULL
4205 };
4206
4207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4209 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4210 if (arg2 == NULL) {
4211 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4212 }
4213 {
4214 PyThreadState* __tstate = wxPyBeginAllowThreads();
4215 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4216
4217 wxPyEndAllowThreads(__tstate);
4218 if (PyErr_Occurred()) SWIG_fail;
4219 }
4220 Py_INCREF(Py_None); resultobj = Py_None;
4221 return resultobj;
4222 fail:
4223 return NULL;
4224 }
4225
4226
4227 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4228 PyObject *resultobj;
4229 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4230 wxIcon *arg2 = 0 ;
4231 PyObject * obj0 = 0 ;
4232 PyObject * obj1 = 0 ;
4233 char *kwnames[] = {
4234 (char *) "self",(char *) "icon", NULL
4235 };
4236
4237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4239 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4240 if (arg2 == NULL) {
4241 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4242 }
4243 {
4244 PyThreadState* __tstate = wxPyBeginAllowThreads();
4245 (arg1)->SetIcon((wxIcon const &)*arg2);
4246
4247 wxPyEndAllowThreads(__tstate);
4248 if (PyErr_Occurred()) SWIG_fail;
4249 }
4250 Py_INCREF(Py_None); resultobj = Py_None;
4251 return resultobj;
4252 fail:
4253 return NULL;
4254 }
4255
4256
4257 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4258 PyObject *obj;
4259 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4260 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4261 Py_INCREF(obj);
4262 return Py_BuildValue((char *)"");
4263 }
4264 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj;
4266 wxWindow *arg1 = (wxWindow *) 0 ;
4267 int arg2 ;
4268 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4269 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4270 wxSize const &arg4_defvalue = wxDefaultSize ;
4271 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4272 int arg5 = (int) 0 ;
4273 wxString *arg6 = (wxString *) NULL ;
4274 long arg7 = (long) 0 ;
4275 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4276 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4277 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4278 wxString *arg9 = (wxString *) &arg9_defvalue ;
4279 wxListBox *result;
4280 wxPoint temp3 ;
4281 wxSize temp4 ;
4282 bool temp8 = False ;
4283 PyObject * obj0 = 0 ;
4284 PyObject * obj2 = 0 ;
4285 PyObject * obj3 = 0 ;
4286 PyObject * obj4 = 0 ;
4287 PyObject * obj6 = 0 ;
4288 PyObject * obj7 = 0 ;
4289 char *kwnames[] = {
4290 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4291 };
4292
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4295 if (obj2) {
4296 {
4297 arg3 = &temp3;
4298 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4299 }
4300 }
4301 if (obj3) {
4302 {
4303 arg4 = &temp4;
4304 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4305 }
4306 }
4307 if (obj4) {
4308 {
4309 arg5 = PyList_Size(obj4);
4310 arg6 = wxString_LIST_helper(obj4);
4311 if (arg6 == NULL) SWIG_fail;
4312 }
4313 }
4314 if (obj6) {
4315 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4316 if (arg8 == NULL) {
4317 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4318 }
4319 }
4320 if (obj7) {
4321 {
4322 arg9 = wxString_in_helper(obj7);
4323 if (arg9 == NULL) SWIG_fail;
4324 temp8 = True;
4325 }
4326 }
4327 {
4328 PyThreadState* __tstate = wxPyBeginAllowThreads();
4329 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4330
4331 wxPyEndAllowThreads(__tstate);
4332 if (PyErr_Occurred()) SWIG_fail;
4333 }
4334 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4335 {
4336 if (arg6) delete [] arg6;
4337 }
4338 {
4339 if (temp8)
4340 delete arg9;
4341 }
4342 return resultobj;
4343 fail:
4344 {
4345 if (arg6) delete [] arg6;
4346 }
4347 {
4348 if (temp8)
4349 delete arg9;
4350 }
4351 return NULL;
4352 }
4353
4354
4355 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4356 PyObject *resultobj;
4357 wxListBox *result;
4358 char *kwnames[] = {
4359 NULL
4360 };
4361
4362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4363 {
4364 PyThreadState* __tstate = wxPyBeginAllowThreads();
4365 result = (wxListBox *)new wxListBox();
4366
4367 wxPyEndAllowThreads(__tstate);
4368 if (PyErr_Occurred()) SWIG_fail;
4369 }
4370 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4371 return resultobj;
4372 fail:
4373 return NULL;
4374 }
4375
4376
4377 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4378 PyObject *resultobj;
4379 wxListBox *arg1 = (wxListBox *) 0 ;
4380 wxWindow *arg2 = (wxWindow *) 0 ;
4381 int arg3 ;
4382 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4383 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4384 wxSize const &arg5_defvalue = wxDefaultSize ;
4385 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4386 int arg6 = (int) 0 ;
4387 wxString *arg7 = (wxString *) NULL ;
4388 long arg8 = (long) 0 ;
4389 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4390 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4391 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4392 wxString *arg10 = (wxString *) &arg10_defvalue ;
4393 bool result;
4394 wxPoint temp4 ;
4395 wxSize temp5 ;
4396 bool temp9 = False ;
4397 PyObject * obj0 = 0 ;
4398 PyObject * obj1 = 0 ;
4399 PyObject * obj3 = 0 ;
4400 PyObject * obj4 = 0 ;
4401 PyObject * obj5 = 0 ;
4402 PyObject * obj7 = 0 ;
4403 PyObject * obj8 = 0 ;
4404 char *kwnames[] = {
4405 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4406 };
4407
4408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4410 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4411 if (obj3) {
4412 {
4413 arg4 = &temp4;
4414 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4415 }
4416 }
4417 if (obj4) {
4418 {
4419 arg5 = &temp5;
4420 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4421 }
4422 }
4423 if (obj5) {
4424 {
4425 arg6 = PyList_Size(obj5);
4426 arg7 = wxString_LIST_helper(obj5);
4427 if (arg7 == NULL) SWIG_fail;
4428 }
4429 }
4430 if (obj7) {
4431 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4432 if (arg9 == NULL) {
4433 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4434 }
4435 }
4436 if (obj8) {
4437 {
4438 arg10 = wxString_in_helper(obj8);
4439 if (arg10 == NULL) SWIG_fail;
4440 temp9 = True;
4441 }
4442 }
4443 {
4444 PyThreadState* __tstate = wxPyBeginAllowThreads();
4445 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4446
4447 wxPyEndAllowThreads(__tstate);
4448 if (PyErr_Occurred()) SWIG_fail;
4449 }
4450 resultobj = PyInt_FromLong((long)result);
4451 {
4452 if (arg7) delete [] arg7;
4453 }
4454 {
4455 if (temp9)
4456 delete arg10;
4457 }
4458 return resultobj;
4459 fail:
4460 {
4461 if (arg7) delete [] arg7;
4462 }
4463 {
4464 if (temp9)
4465 delete arg10;
4466 }
4467 return NULL;
4468 }
4469
4470
4471 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4472 PyObject *resultobj;
4473 wxListBox *arg1 = (wxListBox *) 0 ;
4474 wxString *arg2 = 0 ;
4475 int arg3 ;
4476 PyObject *arg4 = (PyObject *) NULL ;
4477 bool temp2 = False ;
4478 PyObject * obj0 = 0 ;
4479 PyObject * obj1 = 0 ;
4480 PyObject * obj3 = 0 ;
4481 char *kwnames[] = {
4482 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4483 };
4484
4485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4487 {
4488 arg2 = wxString_in_helper(obj1);
4489 if (arg2 == NULL) SWIG_fail;
4490 temp2 = True;
4491 }
4492 if (obj3) {
4493 arg4 = obj3;
4494 }
4495 {
4496 PyThreadState* __tstate = wxPyBeginAllowThreads();
4497 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4498
4499 wxPyEndAllowThreads(__tstate);
4500 if (PyErr_Occurred()) SWIG_fail;
4501 }
4502 Py_INCREF(Py_None); resultobj = Py_None;
4503 {
4504 if (temp2)
4505 delete arg2;
4506 }
4507 return resultobj;
4508 fail:
4509 {
4510 if (temp2)
4511 delete arg2;
4512 }
4513 return NULL;
4514 }
4515
4516
4517 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4518 PyObject *resultobj;
4519 wxListBox *arg1 = (wxListBox *) 0 ;
4520 wxArrayString *arg2 = 0 ;
4521 int arg3 ;
4522 PyObject * obj0 = 0 ;
4523 PyObject * obj1 = 0 ;
4524 char *kwnames[] = {
4525 (char *) "self",(char *) "items",(char *) "pos", NULL
4526 };
4527
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4530 {
4531 if (! PySequence_Check(obj1)) {
4532 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4533 SWIG_fail;
4534 }
4535 arg2 = new wxArrayString;
4536 int i, len=PySequence_Length(obj1);
4537 for (i=0; i<len; i++) {
4538 PyObject* item = PySequence_GetItem(obj1, i);
4539 #if wxUSE_UNICODE
4540 PyObject* str = PyObject_Unicode(item);
4541 #else
4542 PyObject* str = PyObject_Str(item);
4543 #endif
4544 arg2->Add(Py2wxString(str));
4545 Py_DECREF(item);
4546 Py_DECREF(str);
4547 }
4548 }
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4552
4553 wxPyEndAllowThreads(__tstate);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 Py_INCREF(Py_None); resultobj = Py_None;
4557 {
4558 if (arg2) delete arg2;
4559 }
4560 return resultobj;
4561 fail:
4562 {
4563 if (arg2) delete arg2;
4564 }
4565 return NULL;
4566 }
4567
4568
4569 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4570 PyObject *resultobj;
4571 wxListBox *arg1 = (wxListBox *) 0 ;
4572 wxArrayString *arg2 = 0 ;
4573 PyObject * obj0 = 0 ;
4574 PyObject * obj1 = 0 ;
4575 char *kwnames[] = {
4576 (char *) "self",(char *) "items", NULL
4577 };
4578
4579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4581 {
4582 if (! PySequence_Check(obj1)) {
4583 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4584 SWIG_fail;
4585 }
4586 arg2 = new wxArrayString;
4587 int i, len=PySequence_Length(obj1);
4588 for (i=0; i<len; i++) {
4589 PyObject* item = PySequence_GetItem(obj1, i);
4590 #if wxUSE_UNICODE
4591 PyObject* str = PyObject_Unicode(item);
4592 #else
4593 PyObject* str = PyObject_Str(item);
4594 #endif
4595 arg2->Add(Py2wxString(str));
4596 Py_DECREF(item);
4597 Py_DECREF(str);
4598 }
4599 }
4600 {
4601 PyThreadState* __tstate = wxPyBeginAllowThreads();
4602 (arg1)->Set((wxArrayString const &)*arg2);
4603
4604 wxPyEndAllowThreads(__tstate);
4605 if (PyErr_Occurred()) SWIG_fail;
4606 }
4607 Py_INCREF(Py_None); resultobj = Py_None;
4608 {
4609 if (arg2) delete arg2;
4610 }
4611 return resultobj;
4612 fail:
4613 {
4614 if (arg2) delete arg2;
4615 }
4616 return NULL;
4617 }
4618
4619
4620 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4621 PyObject *resultobj;
4622 wxListBox *arg1 = (wxListBox *) 0 ;
4623 int arg2 ;
4624 bool result;
4625 PyObject * obj0 = 0 ;
4626 char *kwnames[] = {
4627 (char *) "self",(char *) "n", NULL
4628 };
4629
4630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4632 {
4633 PyThreadState* __tstate = wxPyBeginAllowThreads();
4634 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4635
4636 wxPyEndAllowThreads(__tstate);
4637 if (PyErr_Occurred()) SWIG_fail;
4638 }
4639 resultobj = PyInt_FromLong((long)result);
4640 return resultobj;
4641 fail:
4642 return NULL;
4643 }
4644
4645
4646 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4647 PyObject *resultobj;
4648 wxListBox *arg1 = (wxListBox *) 0 ;
4649 int arg2 ;
4650 bool arg3 = (bool) True ;
4651 PyObject * obj0 = 0 ;
4652 PyObject * obj2 = 0 ;
4653 char *kwnames[] = {
4654 (char *) "self",(char *) "n",(char *) "select", NULL
4655 };
4656
4657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4659 if (obj2) {
4660 arg3 = PyInt_AsLong(obj2) ? true : false;
4661 if (PyErr_Occurred()) SWIG_fail;
4662 }
4663 {
4664 PyThreadState* __tstate = wxPyBeginAllowThreads();
4665 (arg1)->SetSelection(arg2,arg3);
4666
4667 wxPyEndAllowThreads(__tstate);
4668 if (PyErr_Occurred()) SWIG_fail;
4669 }
4670 Py_INCREF(Py_None); resultobj = Py_None;
4671 return resultobj;
4672 fail:
4673 return NULL;
4674 }
4675
4676
4677 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4678 PyObject *resultobj;
4679 wxListBox *arg1 = (wxListBox *) 0 ;
4680 int arg2 ;
4681 PyObject * obj0 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "self",(char *) "n", NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4688 {
4689 PyThreadState* __tstate = wxPyBeginAllowThreads();
4690 (arg1)->Select(arg2);
4691
4692 wxPyEndAllowThreads(__tstate);
4693 if (PyErr_Occurred()) SWIG_fail;
4694 }
4695 Py_INCREF(Py_None); resultobj = Py_None;
4696 return resultobj;
4697 fail:
4698 return NULL;
4699 }
4700
4701
4702 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4703 PyObject *resultobj;
4704 wxListBox *arg1 = (wxListBox *) 0 ;
4705 int arg2 ;
4706 PyObject * obj0 = 0 ;
4707 char *kwnames[] = {
4708 (char *) "self",(char *) "n", NULL
4709 };
4710
4711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4713 {
4714 PyThreadState* __tstate = wxPyBeginAllowThreads();
4715 (arg1)->Deselect(arg2);
4716
4717 wxPyEndAllowThreads(__tstate);
4718 if (PyErr_Occurred()) SWIG_fail;
4719 }
4720 Py_INCREF(Py_None); resultobj = Py_None;
4721 return resultobj;
4722 fail:
4723 return NULL;
4724 }
4725
4726
4727 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4728 PyObject *resultobj;
4729 wxListBox *arg1 = (wxListBox *) 0 ;
4730 int arg2 = (int) -1 ;
4731 PyObject * obj0 = 0 ;
4732 char *kwnames[] = {
4733 (char *) "self",(char *) "itemToLeaveSelected", NULL
4734 };
4735
4736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4738 {
4739 PyThreadState* __tstate = wxPyBeginAllowThreads();
4740 (arg1)->DeselectAll(arg2);
4741
4742 wxPyEndAllowThreads(__tstate);
4743 if (PyErr_Occurred()) SWIG_fail;
4744 }
4745 Py_INCREF(Py_None); resultobj = Py_None;
4746 return resultobj;
4747 fail:
4748 return NULL;
4749 }
4750
4751
4752 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4753 PyObject *resultobj;
4754 wxListBox *arg1 = (wxListBox *) 0 ;
4755 wxString *arg2 = 0 ;
4756 bool arg3 = (bool) True ;
4757 bool result;
4758 bool temp2 = False ;
4759 PyObject * obj0 = 0 ;
4760 PyObject * obj1 = 0 ;
4761 PyObject * obj2 = 0 ;
4762 char *kwnames[] = {
4763 (char *) "self",(char *) "s",(char *) "select", NULL
4764 };
4765
4766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4768 {
4769 arg2 = wxString_in_helper(obj1);
4770 if (arg2 == NULL) SWIG_fail;
4771 temp2 = True;
4772 }
4773 if (obj2) {
4774 arg3 = PyInt_AsLong(obj2) ? true : false;
4775 if (PyErr_Occurred()) SWIG_fail;
4776 }
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4780
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 resultobj = PyInt_FromLong((long)result);
4785 {
4786 if (temp2)
4787 delete arg2;
4788 }
4789 return resultobj;
4790 fail:
4791 {
4792 if (temp2)
4793 delete arg2;
4794 }
4795 return NULL;
4796 }
4797
4798
4799 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 wxListBox *arg1 = (wxListBox *) 0 ;
4802 PyObject *result;
4803 PyObject * obj0 = 0 ;
4804 char *kwnames[] = {
4805 (char *) "self", NULL
4806 };
4807
4808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4810 {
4811 PyThreadState* __tstate = wxPyBeginAllowThreads();
4812 result = (PyObject *)wxListBox_GetSelections(arg1);
4813
4814 wxPyEndAllowThreads(__tstate);
4815 if (PyErr_Occurred()) SWIG_fail;
4816 }
4817 resultobj = result;
4818 return resultobj;
4819 fail:
4820 return NULL;
4821 }
4822
4823
4824 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4825 PyObject *resultobj;
4826 wxListBox *arg1 = (wxListBox *) 0 ;
4827 int arg2 ;
4828 PyObject * obj0 = 0 ;
4829 char *kwnames[] = {
4830 (char *) "self",(char *) "n", NULL
4831 };
4832
4833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4835 {
4836 PyThreadState* __tstate = wxPyBeginAllowThreads();
4837 (arg1)->SetFirstItem(arg2);
4838
4839 wxPyEndAllowThreads(__tstate);
4840 if (PyErr_Occurred()) SWIG_fail;
4841 }
4842 Py_INCREF(Py_None); resultobj = Py_None;
4843 return resultobj;
4844 fail:
4845 return NULL;
4846 }
4847
4848
4849 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4850 PyObject *resultobj;
4851 wxListBox *arg1 = (wxListBox *) 0 ;
4852 wxString *arg2 = 0 ;
4853 bool temp2 = False ;
4854 PyObject * obj0 = 0 ;
4855 PyObject * obj1 = 0 ;
4856 char *kwnames[] = {
4857 (char *) "self",(char *) "s", NULL
4858 };
4859
4860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4862 {
4863 arg2 = wxString_in_helper(obj1);
4864 if (arg2 == NULL) SWIG_fail;
4865 temp2 = True;
4866 }
4867 {
4868 PyThreadState* __tstate = wxPyBeginAllowThreads();
4869 (arg1)->SetFirstItem((wxString const &)*arg2);
4870
4871 wxPyEndAllowThreads(__tstate);
4872 if (PyErr_Occurred()) SWIG_fail;
4873 }
4874 Py_INCREF(Py_None); resultobj = Py_None;
4875 {
4876 if (temp2)
4877 delete arg2;
4878 }
4879 return resultobj;
4880 fail:
4881 {
4882 if (temp2)
4883 delete arg2;
4884 }
4885 return NULL;
4886 }
4887
4888
4889 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4890 PyObject *resultobj;
4891 wxListBox *arg1 = (wxListBox *) 0 ;
4892 int arg2 ;
4893 PyObject * obj0 = 0 ;
4894 char *kwnames[] = {
4895 (char *) "self",(char *) "n", NULL
4896 };
4897
4898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4900 {
4901 PyThreadState* __tstate = wxPyBeginAllowThreads();
4902 (arg1)->EnsureVisible(arg2);
4903
4904 wxPyEndAllowThreads(__tstate);
4905 if (PyErr_Occurred()) SWIG_fail;
4906 }
4907 Py_INCREF(Py_None); resultobj = Py_None;
4908 return resultobj;
4909 fail:
4910 return NULL;
4911 }
4912
4913
4914 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4915 PyObject *resultobj;
4916 wxListBox *arg1 = (wxListBox *) 0 ;
4917 wxString *arg2 = 0 ;
4918 bool temp2 = False ;
4919 PyObject * obj0 = 0 ;
4920 PyObject * obj1 = 0 ;
4921 char *kwnames[] = {
4922 (char *) "self",(char *) "s", NULL
4923 };
4924
4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4927 {
4928 arg2 = wxString_in_helper(obj1);
4929 if (arg2 == NULL) SWIG_fail;
4930 temp2 = True;
4931 }
4932 {
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4935
4936 wxPyEndAllowThreads(__tstate);
4937 if (PyErr_Occurred()) SWIG_fail;
4938 }
4939 Py_INCREF(Py_None); resultobj = Py_None;
4940 {
4941 if (temp2)
4942 delete arg2;
4943 }
4944 return resultobj;
4945 fail:
4946 {
4947 if (temp2)
4948 delete arg2;
4949 }
4950 return NULL;
4951 }
4952
4953
4954 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
4955 PyObject *resultobj;
4956 wxListBox *arg1 = (wxListBox *) 0 ;
4957 bool result;
4958 PyObject * obj0 = 0 ;
4959 char *kwnames[] = {
4960 (char *) "self", NULL
4961 };
4962
4963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
4964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4965 {
4966 PyThreadState* __tstate = wxPyBeginAllowThreads();
4967 result = (bool)((wxListBox const *)arg1)->IsSorted();
4968
4969 wxPyEndAllowThreads(__tstate);
4970 if (PyErr_Occurred()) SWIG_fail;
4971 }
4972 resultobj = PyInt_FromLong((long)result);
4973 return resultobj;
4974 fail:
4975 return NULL;
4976 }
4977
4978
4979 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
4980 PyObject *obj;
4981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4982 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
4983 Py_INCREF(obj);
4984 return Py_BuildValue((char *)"");
4985 }
4986 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4987 PyObject *resultobj;
4988 wxWindow *arg1 = (wxWindow *) 0 ;
4989 int arg2 ;
4990 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4991 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4992 wxSize const &arg4_defvalue = wxDefaultSize ;
4993 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4994 int arg5 = (int) 0 ;
4995 wxString *arg6 = (wxString *) NULL ;
4996 long arg7 = (long) 0 ;
4997 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4998 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4999 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5000 wxString *arg9 = (wxString *) &arg9_defvalue ;
5001 wxCheckListBox *result;
5002 wxPoint temp3 ;
5003 wxSize temp4 ;
5004 bool temp8 = False ;
5005 PyObject * obj0 = 0 ;
5006 PyObject * obj2 = 0 ;
5007 PyObject * obj3 = 0 ;
5008 PyObject * obj4 = 0 ;
5009 PyObject * obj6 = 0 ;
5010 PyObject * obj7 = 0 ;
5011 char *kwnames[] = {
5012 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5013 };
5014
5015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5017 if (obj2) {
5018 {
5019 arg3 = &temp3;
5020 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5021 }
5022 }
5023 if (obj3) {
5024 {
5025 arg4 = &temp4;
5026 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5027 }
5028 }
5029 if (obj4) {
5030 {
5031 arg5 = PyList_Size(obj4);
5032 arg6 = wxString_LIST_helper(obj4);
5033 if (arg6 == NULL) SWIG_fail;
5034 }
5035 }
5036 if (obj6) {
5037 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5038 if (arg8 == NULL) {
5039 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5040 }
5041 }
5042 if (obj7) {
5043 {
5044 arg9 = wxString_in_helper(obj7);
5045 if (arg9 == NULL) SWIG_fail;
5046 temp8 = True;
5047 }
5048 }
5049 {
5050 PyThreadState* __tstate = wxPyBeginAllowThreads();
5051 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5052
5053 wxPyEndAllowThreads(__tstate);
5054 if (PyErr_Occurred()) SWIG_fail;
5055 }
5056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5057 {
5058 if (arg6) delete [] arg6;
5059 }
5060 {
5061 if (temp8)
5062 delete arg9;
5063 }
5064 return resultobj;
5065 fail:
5066 {
5067 if (arg6) delete [] arg6;
5068 }
5069 {
5070 if (temp8)
5071 delete arg9;
5072 }
5073 return NULL;
5074 }
5075
5076
5077 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5078 PyObject *resultobj;
5079 wxCheckListBox *result;
5080 char *kwnames[] = {
5081 NULL
5082 };
5083
5084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5085 {
5086 PyThreadState* __tstate = wxPyBeginAllowThreads();
5087 result = (wxCheckListBox *)new wxCheckListBox();
5088
5089 wxPyEndAllowThreads(__tstate);
5090 if (PyErr_Occurred()) SWIG_fail;
5091 }
5092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5093 return resultobj;
5094 fail:
5095 return NULL;
5096 }
5097
5098
5099 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5100 PyObject *resultobj;
5101 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5102 wxWindow *arg2 = (wxWindow *) 0 ;
5103 int arg3 ;
5104 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5105 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5106 wxSize const &arg5_defvalue = wxDefaultSize ;
5107 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5108 int arg6 = (int) 0 ;
5109 wxString *arg7 = (wxString *) NULL ;
5110 long arg8 = (long) 0 ;
5111 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5112 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5113 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5114 wxString *arg10 = (wxString *) &arg10_defvalue ;
5115 bool result;
5116 wxPoint temp4 ;
5117 wxSize temp5 ;
5118 bool temp9 = False ;
5119 PyObject * obj0 = 0 ;
5120 PyObject * obj1 = 0 ;
5121 PyObject * obj3 = 0 ;
5122 PyObject * obj4 = 0 ;
5123 PyObject * obj5 = 0 ;
5124 PyObject * obj7 = 0 ;
5125 PyObject * obj8 = 0 ;
5126 char *kwnames[] = {
5127 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5128 };
5129
5130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5132 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5133 if (obj3) {
5134 {
5135 arg4 = &temp4;
5136 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5137 }
5138 }
5139 if (obj4) {
5140 {
5141 arg5 = &temp5;
5142 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5143 }
5144 }
5145 if (obj5) {
5146 {
5147 arg6 = PyList_Size(obj5);
5148 arg7 = wxString_LIST_helper(obj5);
5149 if (arg7 == NULL) SWIG_fail;
5150 }
5151 }
5152 if (obj7) {
5153 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5154 if (arg9 == NULL) {
5155 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5156 }
5157 }
5158 if (obj8) {
5159 {
5160 arg10 = wxString_in_helper(obj8);
5161 if (arg10 == NULL) SWIG_fail;
5162 temp9 = True;
5163 }
5164 }
5165 {
5166 PyThreadState* __tstate = wxPyBeginAllowThreads();
5167 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5168
5169 wxPyEndAllowThreads(__tstate);
5170 if (PyErr_Occurred()) SWIG_fail;
5171 }
5172 resultobj = PyInt_FromLong((long)result);
5173 {
5174 if (arg7) delete [] arg7;
5175 }
5176 {
5177 if (temp9)
5178 delete arg10;
5179 }
5180 return resultobj;
5181 fail:
5182 {
5183 if (arg7) delete [] arg7;
5184 }
5185 {
5186 if (temp9)
5187 delete arg10;
5188 }
5189 return NULL;
5190 }
5191
5192
5193 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5194 PyObject *resultobj;
5195 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5196 int arg2 ;
5197 bool result;
5198 PyObject * obj0 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self",(char *) "index", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5205 {
5206 PyThreadState* __tstate = wxPyBeginAllowThreads();
5207 result = (bool)(arg1)->IsChecked(arg2);
5208
5209 wxPyEndAllowThreads(__tstate);
5210 if (PyErr_Occurred()) SWIG_fail;
5211 }
5212 resultobj = PyInt_FromLong((long)result);
5213 return resultobj;
5214 fail:
5215 return NULL;
5216 }
5217
5218
5219 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5220 PyObject *resultobj;
5221 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5222 int arg2 ;
5223 int arg3 = (int) True ;
5224 PyObject * obj0 = 0 ;
5225 char *kwnames[] = {
5226 (char *) "self",(char *) "index",(char *) "check", NULL
5227 };
5228
5229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5231 {
5232 PyThreadState* __tstate = wxPyBeginAllowThreads();
5233 (arg1)->Check(arg2,arg3);
5234
5235 wxPyEndAllowThreads(__tstate);
5236 if (PyErr_Occurred()) SWIG_fail;
5237 }
5238 Py_INCREF(Py_None); resultobj = Py_None;
5239 return resultobj;
5240 fail:
5241 return NULL;
5242 }
5243
5244
5245 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5246 PyObject *resultobj;
5247 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5248 wxPoint *arg2 = 0 ;
5249 int result;
5250 wxPoint temp2 ;
5251 PyObject * obj0 = 0 ;
5252 PyObject * obj1 = 0 ;
5253 char *kwnames[] = {
5254 (char *) "self",(char *) "pt", NULL
5255 };
5256
5257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5259 {
5260 arg2 = &temp2;
5261 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5262 }
5263 {
5264 PyThreadState* __tstate = wxPyBeginAllowThreads();
5265 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5266
5267 wxPyEndAllowThreads(__tstate);
5268 if (PyErr_Occurred()) SWIG_fail;
5269 }
5270 resultobj = PyInt_FromLong((long)result);
5271 return resultobj;
5272 fail:
5273 return NULL;
5274 }
5275
5276
5277 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5278 PyObject *resultobj;
5279 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5280 int arg2 ;
5281 int arg3 ;
5282 int result;
5283 PyObject * obj0 = 0 ;
5284 char *kwnames[] = {
5285 (char *) "self",(char *) "x",(char *) "y", NULL
5286 };
5287
5288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5290 {
5291 PyThreadState* __tstate = wxPyBeginAllowThreads();
5292 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5293
5294 wxPyEndAllowThreads(__tstate);
5295 if (PyErr_Occurred()) SWIG_fail;
5296 }
5297 resultobj = PyInt_FromLong((long)result);
5298 return resultobj;
5299 fail:
5300 return NULL;
5301 }
5302
5303
5304 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5305 PyObject *obj;
5306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5307 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5308 Py_INCREF(obj);
5309 return Py_BuildValue((char *)"");
5310 }
5311 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5312 PyObject *resultobj;
5313 wxTextAttr *result;
5314
5315 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5316 {
5317 PyThreadState* __tstate = wxPyBeginAllowThreads();
5318 result = (wxTextAttr *)new wxTextAttr();
5319
5320 wxPyEndAllowThreads(__tstate);
5321 if (PyErr_Occurred()) SWIG_fail;
5322 }
5323 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5324 return resultobj;
5325 fail:
5326 return NULL;
5327 }
5328
5329
5330 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5331 PyObject *resultobj;
5332 wxColour *arg1 = 0 ;
5333 wxColour const &arg2_defvalue = wxNullColour ;
5334 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5335 wxFont const &arg3_defvalue = wxNullFont ;
5336 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5337 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5338 wxTextAttr *result;
5339 wxColour temp1 ;
5340 wxColour temp2 ;
5341 PyObject * obj0 = 0 ;
5342 PyObject * obj1 = 0 ;
5343 PyObject * obj2 = 0 ;
5344
5345 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5346 {
5347 arg1 = &temp1;
5348 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5349 }
5350 if (obj1) {
5351 {
5352 arg2 = &temp2;
5353 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5354 }
5355 }
5356 if (obj2) {
5357 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5358 if (arg3 == NULL) {
5359 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5360 }
5361 }
5362 {
5363 PyThreadState* __tstate = wxPyBeginAllowThreads();
5364 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5365
5366 wxPyEndAllowThreads(__tstate);
5367 if (PyErr_Occurred()) SWIG_fail;
5368 }
5369 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5370 return resultobj;
5371 fail:
5372 return NULL;
5373 }
5374
5375
5376 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5377 int argc;
5378 PyObject *argv[5];
5379 int ii;
5380
5381 argc = PyObject_Length(args);
5382 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5383 argv[ii] = PyTuple_GetItem(args,ii);
5384 }
5385 if (argc == 0) {
5386 return _wrap_new_TextAttr__SWIG_0(self,args);
5387 }
5388 if ((argc >= 1) && (argc <= 4)) {
5389 int _v;
5390 {
5391 _v = wxColour_typecheck(argv[0]);
5392 }
5393 if (_v) {
5394 if (argc <= 1) {
5395 return _wrap_new_TextAttr__SWIG_1(self,args);
5396 }
5397 {
5398 _v = wxColour_typecheck(argv[1]);
5399 }
5400 if (_v) {
5401 if (argc <= 2) {
5402 return _wrap_new_TextAttr__SWIG_1(self,args);
5403 }
5404 {
5405 void *ptr;
5406 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5407 _v = 0;
5408 PyErr_Clear();
5409 } else {
5410 _v = 1;
5411 }
5412 }
5413 if (_v) {
5414 if (argc <= 3) {
5415 return _wrap_new_TextAttr__SWIG_1(self,args);
5416 }
5417 {
5418 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5419 }
5420 if (_v) {
5421 return _wrap_new_TextAttr__SWIG_1(self,args);
5422 }
5423 }
5424 }
5425 }
5426 }
5427
5428 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5429 return NULL;
5430 }
5431
5432
5433 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5434 PyObject *resultobj;
5435 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5436 PyObject * obj0 = 0 ;
5437 char *kwnames[] = {
5438 (char *) "self", NULL
5439 };
5440
5441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 (arg1)->Init();
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 Py_INCREF(Py_None); resultobj = Py_None;
5451 return resultobj;
5452 fail:
5453 return NULL;
5454 }
5455
5456
5457 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5458 PyObject *resultobj;
5459 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5460 wxColour *arg2 = 0 ;
5461 wxColour temp2 ;
5462 PyObject * obj0 = 0 ;
5463 PyObject * obj1 = 0 ;
5464 char *kwnames[] = {
5465 (char *) "self",(char *) "colText", NULL
5466 };
5467
5468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5470 {
5471 arg2 = &temp2;
5472 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5473 }
5474 {
5475 PyThreadState* __tstate = wxPyBeginAllowThreads();
5476 (arg1)->SetTextColour((wxColour const &)*arg2);
5477
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 Py_INCREF(Py_None); resultobj = Py_None;
5482 return resultobj;
5483 fail:
5484 return NULL;
5485 }
5486
5487
5488 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5489 PyObject *resultobj;
5490 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5491 wxColour *arg2 = 0 ;
5492 wxColour temp2 ;
5493 PyObject * obj0 = 0 ;
5494 PyObject * obj1 = 0 ;
5495 char *kwnames[] = {
5496 (char *) "self",(char *) "colBack", NULL
5497 };
5498
5499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5501 {
5502 arg2 = &temp2;
5503 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5504 }
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
5507 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5508
5509 wxPyEndAllowThreads(__tstate);
5510 if (PyErr_Occurred()) SWIG_fail;
5511 }
5512 Py_INCREF(Py_None); resultobj = Py_None;
5513 return resultobj;
5514 fail:
5515 return NULL;
5516 }
5517
5518
5519 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5520 PyObject *resultobj;
5521 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5522 wxFont *arg2 = 0 ;
5523 long arg3 = (long) wxTEXT_ATTR_FONT ;
5524 PyObject * obj0 = 0 ;
5525 PyObject * obj1 = 0 ;
5526 char *kwnames[] = {
5527 (char *) "self",(char *) "font",(char *) "flags", NULL
5528 };
5529
5530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5532 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5533 if (arg2 == NULL) {
5534 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5535 }
5536 {
5537 PyThreadState* __tstate = wxPyBeginAllowThreads();
5538 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5539
5540 wxPyEndAllowThreads(__tstate);
5541 if (PyErr_Occurred()) SWIG_fail;
5542 }
5543 Py_INCREF(Py_None); resultobj = Py_None;
5544 return resultobj;
5545 fail:
5546 return NULL;
5547 }
5548
5549
5550 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5551 PyObject *resultobj;
5552 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5553 int arg2 ;
5554 PyObject * obj0 = 0 ;
5555 char *kwnames[] = {
5556 (char *) "self",(char *) "alignment", NULL
5557 };
5558
5559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5561 {
5562 PyThreadState* __tstate = wxPyBeginAllowThreads();
5563 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5564
5565 wxPyEndAllowThreads(__tstate);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 }
5568 Py_INCREF(Py_None); resultobj = Py_None;
5569 return resultobj;
5570 fail:
5571 return NULL;
5572 }
5573
5574
5575 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5576 PyObject *resultobj;
5577 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5578 wxArrayInt *arg2 = 0 ;
5579 PyObject * obj0 = 0 ;
5580 PyObject * obj1 = 0 ;
5581 char *kwnames[] = {
5582 (char *) "self",(char *) "tabs", NULL
5583 };
5584
5585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5587 {
5588 if (! PySequence_Check(obj1)) {
5589 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5590 SWIG_fail;
5591 }
5592 arg2 = new wxArrayInt;
5593 int i, len=PySequence_Length(obj1);
5594 for (i=0; i<len; i++) {
5595 PyObject* item = PySequence_GetItem(obj1, i);
5596 PyObject* number = PyNumber_Int(item);
5597 arg2->Add(PyInt_AS_LONG(number));
5598 Py_DECREF(item);
5599 Py_DECREF(number);
5600 }
5601 }
5602 {
5603 PyThreadState* __tstate = wxPyBeginAllowThreads();
5604 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5605
5606 wxPyEndAllowThreads(__tstate);
5607 if (PyErr_Occurred()) SWIG_fail;
5608 }
5609 Py_INCREF(Py_None); resultobj = Py_None;
5610 {
5611 if (arg2) delete arg2;
5612 }
5613 return resultobj;
5614 fail:
5615 {
5616 if (arg2) delete arg2;
5617 }
5618 return NULL;
5619 }
5620
5621
5622 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5623 PyObject *resultobj;
5624 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5625 int arg2 ;
5626 PyObject * obj0 = 0 ;
5627 char *kwnames[] = {
5628 (char *) "self",(char *) "indent", NULL
5629 };
5630
5631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5633 {
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 (arg1)->SetLeftIndent(arg2);
5636
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 Py_INCREF(Py_None); resultobj = Py_None;
5641 return resultobj;
5642 fail:
5643 return NULL;
5644 }
5645
5646
5647 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5648 PyObject *resultobj;
5649 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5650 int arg2 ;
5651 PyObject * obj0 = 0 ;
5652 char *kwnames[] = {
5653 (char *) "self",(char *) "indent", NULL
5654 };
5655
5656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5658 {
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 (arg1)->SetRightIndent(arg2);
5661
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 Py_INCREF(Py_None); resultobj = Py_None;
5666 return resultobj;
5667 fail:
5668 return NULL;
5669 }
5670
5671
5672 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5673 PyObject *resultobj;
5674 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5675 long arg2 ;
5676 PyObject * obj0 = 0 ;
5677 char *kwnames[] = {
5678 (char *) "self",(char *) "flags", NULL
5679 };
5680
5681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5683 {
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 (arg1)->SetFlags(arg2);
5686
5687 wxPyEndAllowThreads(__tstate);
5688 if (PyErr_Occurred()) SWIG_fail;
5689 }
5690 Py_INCREF(Py_None); resultobj = Py_None;
5691 return resultobj;
5692 fail:
5693 return NULL;
5694 }
5695
5696
5697 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5698 PyObject *resultobj;
5699 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5700 bool result;
5701 PyObject * obj0 = 0 ;
5702 char *kwnames[] = {
5703 (char *) "self", NULL
5704 };
5705
5706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5708 {
5709 PyThreadState* __tstate = wxPyBeginAllowThreads();
5710 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5711
5712 wxPyEndAllowThreads(__tstate);
5713 if (PyErr_Occurred()) SWIG_fail;
5714 }
5715 resultobj = PyInt_FromLong((long)result);
5716 return resultobj;
5717 fail:
5718 return NULL;
5719 }
5720
5721
5722 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5723 PyObject *resultobj;
5724 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5725 bool result;
5726 PyObject * obj0 = 0 ;
5727 char *kwnames[] = {
5728 (char *) "self", NULL
5729 };
5730
5731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 resultobj = PyInt_FromLong((long)result);
5741 return resultobj;
5742 fail:
5743 return NULL;
5744 }
5745
5746
5747 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj;
5749 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5750 bool result;
5751 PyObject * obj0 = 0 ;
5752 char *kwnames[] = {
5753 (char *) "self", NULL
5754 };
5755
5756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5758 {
5759 PyThreadState* __tstate = wxPyBeginAllowThreads();
5760 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5761
5762 wxPyEndAllowThreads(__tstate);
5763 if (PyErr_Occurred()) SWIG_fail;
5764 }
5765 resultobj = PyInt_FromLong((long)result);
5766 return resultobj;
5767 fail:
5768 return NULL;
5769 }
5770
5771
5772 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5773 PyObject *resultobj;
5774 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5775 bool result;
5776 PyObject * obj0 = 0 ;
5777 char *kwnames[] = {
5778 (char *) "self", NULL
5779 };
5780
5781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5783 {
5784 PyThreadState* __tstate = wxPyBeginAllowThreads();
5785 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5786
5787 wxPyEndAllowThreads(__tstate);
5788 if (PyErr_Occurred()) SWIG_fail;
5789 }
5790 resultobj = PyInt_FromLong((long)result);
5791 return resultobj;
5792 fail:
5793 return NULL;
5794 }
5795
5796
5797 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5798 PyObject *resultobj;
5799 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5800 bool result;
5801 PyObject * obj0 = 0 ;
5802 char *kwnames[] = {
5803 (char *) "self", NULL
5804 };
5805
5806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5808 {
5809 PyThreadState* __tstate = wxPyBeginAllowThreads();
5810 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5811
5812 wxPyEndAllowThreads(__tstate);
5813 if (PyErr_Occurred()) SWIG_fail;
5814 }
5815 resultobj = PyInt_FromLong((long)result);
5816 return resultobj;
5817 fail:
5818 return NULL;
5819 }
5820
5821
5822 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5823 PyObject *resultobj;
5824 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5825 bool result;
5826 PyObject * obj0 = 0 ;
5827 char *kwnames[] = {
5828 (char *) "self", NULL
5829 };
5830
5831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5833 {
5834 PyThreadState* __tstate = wxPyBeginAllowThreads();
5835 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
5836
5837 wxPyEndAllowThreads(__tstate);
5838 if (PyErr_Occurred()) SWIG_fail;
5839 }
5840 resultobj = PyInt_FromLong((long)result);
5841 return resultobj;
5842 fail:
5843 return NULL;
5844 }
5845
5846
5847 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5848 PyObject *resultobj;
5849 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5850 bool result;
5851 PyObject * obj0 = 0 ;
5852 char *kwnames[] = {
5853 (char *) "self", NULL
5854 };
5855
5856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5858 {
5859 PyThreadState* __tstate = wxPyBeginAllowThreads();
5860 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5861
5862 wxPyEndAllowThreads(__tstate);
5863 if (PyErr_Occurred()) SWIG_fail;
5864 }
5865 resultobj = PyInt_FromLong((long)result);
5866 return resultobj;
5867 fail:
5868 return NULL;
5869 }
5870
5871
5872 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5873 PyObject *resultobj;
5874 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5875 long arg2 ;
5876 bool result;
5877 PyObject * obj0 = 0 ;
5878 char *kwnames[] = {
5879 (char *) "self",(char *) "flag", NULL
5880 };
5881
5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
5883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5884 {
5885 PyThreadState* __tstate = wxPyBeginAllowThreads();
5886 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5887
5888 wxPyEndAllowThreads(__tstate);
5889 if (PyErr_Occurred()) SWIG_fail;
5890 }
5891 resultobj = PyInt_FromLong((long)result);
5892 return resultobj;
5893 fail:
5894 return NULL;
5895 }
5896
5897
5898 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5899 PyObject *resultobj;
5900 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5901 wxColour *result;
5902 PyObject * obj0 = 0 ;
5903 char *kwnames[] = {
5904 (char *) "self", NULL
5905 };
5906
5907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5909 {
5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
5911 {
5912 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
5913 result = (wxColour *) &_result_ref;
5914 }
5915
5916 wxPyEndAllowThreads(__tstate);
5917 if (PyErr_Occurred()) SWIG_fail;
5918 }
5919 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5920 return resultobj;
5921 fail:
5922 return NULL;
5923 }
5924
5925
5926 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5927 PyObject *resultobj;
5928 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5929 wxColour *result;
5930 PyObject * obj0 = 0 ;
5931 char *kwnames[] = {
5932 (char *) "self", NULL
5933 };
5934
5935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
5936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5937 {
5938 PyThreadState* __tstate = wxPyBeginAllowThreads();
5939 {
5940 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
5941 result = (wxColour *) &_result_ref;
5942 }
5943
5944 wxPyEndAllowThreads(__tstate);
5945 if (PyErr_Occurred()) SWIG_fail;
5946 }
5947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5948 return resultobj;
5949 fail:
5950 return NULL;
5951 }
5952
5953
5954 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5955 PyObject *resultobj;
5956 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5957 wxFont *result;
5958 PyObject * obj0 = 0 ;
5959 char *kwnames[] = {
5960 (char *) "self", NULL
5961 };
5962
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
5964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 {
5968 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
5969 result = (wxFont *) &_result_ref;
5970 }
5971
5972 wxPyEndAllowThreads(__tstate);
5973 if (PyErr_Occurred()) SWIG_fail;
5974 }
5975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
5976 return resultobj;
5977 fail:
5978 return NULL;
5979 }
5980
5981
5982 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5983 PyObject *resultobj;
5984 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5985 int result;
5986 PyObject * obj0 = 0 ;
5987 char *kwnames[] = {
5988 (char *) "self", NULL
5989 };
5990
5991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
5992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5993 {
5994 PyThreadState* __tstate = wxPyBeginAllowThreads();
5995 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
5996
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
6000 resultobj = PyInt_FromLong((long)result);
6001 return resultobj;
6002 fail:
6003 return NULL;
6004 }
6005
6006
6007 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6008 PyObject *resultobj;
6009 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6010 wxArrayInt *result;
6011 PyObject * obj0 = 0 ;
6012 char *kwnames[] = {
6013 (char *) "self", NULL
6014 };
6015
6016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6018 {
6019 PyThreadState* __tstate = wxPyBeginAllowThreads();
6020 {
6021 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6022 result = (wxArrayInt *) &_result_ref;
6023 }
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 {
6029 resultobj = PyList_New(0);
6030 size_t idx;
6031 for (idx = 0; idx < result->GetCount(); idx += 1) {
6032 PyObject* val = PyInt_FromLong( result->Item(idx) );
6033 PyList_Append(resultobj, val);
6034 Py_DECREF(val);
6035 }
6036 }
6037 return resultobj;
6038 fail:
6039 return NULL;
6040 }
6041
6042
6043 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6044 PyObject *resultobj;
6045 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6046 long result;
6047 PyObject * obj0 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6054 {
6055 PyThreadState* __tstate = wxPyBeginAllowThreads();
6056 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6057
6058 wxPyEndAllowThreads(__tstate);
6059 if (PyErr_Occurred()) SWIG_fail;
6060 }
6061 resultobj = PyInt_FromLong((long)result);
6062 return resultobj;
6063 fail:
6064 return NULL;
6065 }
6066
6067
6068 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6069 PyObject *resultobj;
6070 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6071 long result;
6072 PyObject * obj0 = 0 ;
6073 char *kwnames[] = {
6074 (char *) "self", NULL
6075 };
6076
6077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6079 {
6080 PyThreadState* __tstate = wxPyBeginAllowThreads();
6081 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6082
6083 wxPyEndAllowThreads(__tstate);
6084 if (PyErr_Occurred()) SWIG_fail;
6085 }
6086 resultobj = PyInt_FromLong((long)result);
6087 return resultobj;
6088 fail:
6089 return NULL;
6090 }
6091
6092
6093 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6094 PyObject *resultobj;
6095 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6096 long result;
6097 PyObject * obj0 = 0 ;
6098 char *kwnames[] = {
6099 (char *) "self", NULL
6100 };
6101
6102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6104 {
6105 PyThreadState* __tstate = wxPyBeginAllowThreads();
6106 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6107
6108 wxPyEndAllowThreads(__tstate);
6109 if (PyErr_Occurred()) SWIG_fail;
6110 }
6111 resultobj = PyInt_FromLong((long)result);
6112 return resultobj;
6113 fail:
6114 return NULL;
6115 }
6116
6117
6118 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6119 PyObject *resultobj;
6120 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6121 bool result;
6122 PyObject * obj0 = 0 ;
6123 char *kwnames[] = {
6124 (char *) "self", NULL
6125 };
6126
6127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6129 {
6130 PyThreadState* __tstate = wxPyBeginAllowThreads();
6131 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6132
6133 wxPyEndAllowThreads(__tstate);
6134 if (PyErr_Occurred()) SWIG_fail;
6135 }
6136 resultobj = PyInt_FromLong((long)result);
6137 return resultobj;
6138 fail:
6139 return NULL;
6140 }
6141
6142
6143 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6144 PyObject *resultobj;
6145 wxTextAttr *arg1 = 0 ;
6146 wxTextAttr *arg2 = 0 ;
6147 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6148 wxTextAttr result;
6149 PyObject * obj0 = 0 ;
6150 PyObject * obj1 = 0 ;
6151 PyObject * obj2 = 0 ;
6152 char *kwnames[] = {
6153 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6154 };
6155
6156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6158 if (arg1 == NULL) {
6159 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6160 }
6161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6162 if (arg2 == NULL) {
6163 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6164 }
6165 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6166 {
6167 PyThreadState* __tstate = wxPyBeginAllowThreads();
6168 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6169
6170 wxPyEndAllowThreads(__tstate);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 }
6173 {
6174 wxTextAttr * resultptr;
6175 resultptr = new wxTextAttr((wxTextAttr &) result);
6176 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6177 }
6178 return resultobj;
6179 fail:
6180 return NULL;
6181 }
6182
6183
6184 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6185 PyObject *obj;
6186 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6187 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6188 Py_INCREF(obj);
6189 return Py_BuildValue((char *)"");
6190 }
6191 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6192 PyObject *resultobj;
6193 wxWindow *arg1 = (wxWindow *) 0 ;
6194 int arg2 ;
6195 wxString const &arg3_defvalue = wxPyEmptyString ;
6196 wxString *arg3 = (wxString *) &arg3_defvalue ;
6197 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6198 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6199 wxSize const &arg5_defvalue = wxDefaultSize ;
6200 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6201 long arg6 = (long) 0 ;
6202 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6203 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6204 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6205 wxString *arg8 = (wxString *) &arg8_defvalue ;
6206 wxTextCtrl *result;
6207 bool temp3 = False ;
6208 wxPoint temp4 ;
6209 wxSize temp5 ;
6210 bool temp8 = False ;
6211 PyObject * obj0 = 0 ;
6212 PyObject * obj2 = 0 ;
6213 PyObject * obj3 = 0 ;
6214 PyObject * obj4 = 0 ;
6215 PyObject * obj6 = 0 ;
6216 PyObject * obj7 = 0 ;
6217 char *kwnames[] = {
6218 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6219 };
6220
6221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6223 if (obj2) {
6224 {
6225 arg3 = wxString_in_helper(obj2);
6226 if (arg3 == NULL) SWIG_fail;
6227 temp3 = True;
6228 }
6229 }
6230 if (obj3) {
6231 {
6232 arg4 = &temp4;
6233 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6234 }
6235 }
6236 if (obj4) {
6237 {
6238 arg5 = &temp5;
6239 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6240 }
6241 }
6242 if (obj6) {
6243 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6244 if (arg7 == NULL) {
6245 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6246 }
6247 }
6248 if (obj7) {
6249 {
6250 arg8 = wxString_in_helper(obj7);
6251 if (arg8 == NULL) SWIG_fail;
6252 temp8 = True;
6253 }
6254 }
6255 {
6256 PyThreadState* __tstate = wxPyBeginAllowThreads();
6257 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6258
6259 wxPyEndAllowThreads(__tstate);
6260 if (PyErr_Occurred()) SWIG_fail;
6261 }
6262 {
6263 resultobj = wxPyMake_wxObject(result);
6264 }
6265 {
6266 if (temp3)
6267 delete arg3;
6268 }
6269 {
6270 if (temp8)
6271 delete arg8;
6272 }
6273 return resultobj;
6274 fail:
6275 {
6276 if (temp3)
6277 delete arg3;
6278 }
6279 {
6280 if (temp8)
6281 delete arg8;
6282 }
6283 return NULL;
6284 }
6285
6286
6287 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6288 PyObject *resultobj;
6289 wxTextCtrl *result;
6290 char *kwnames[] = {
6291 NULL
6292 };
6293
6294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6295 {
6296 PyThreadState* __tstate = wxPyBeginAllowThreads();
6297 result = (wxTextCtrl *)new wxTextCtrl();
6298
6299 wxPyEndAllowThreads(__tstate);
6300 if (PyErr_Occurred()) SWIG_fail;
6301 }
6302 {
6303 resultobj = wxPyMake_wxObject(result);
6304 }
6305 return resultobj;
6306 fail:
6307 return NULL;
6308 }
6309
6310
6311 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6312 PyObject *resultobj;
6313 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6314 wxWindow *arg2 = (wxWindow *) 0 ;
6315 int arg3 ;
6316 wxString const &arg4_defvalue = wxPyEmptyString ;
6317 wxString *arg4 = (wxString *) &arg4_defvalue ;
6318 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6319 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6320 wxSize const &arg6_defvalue = wxDefaultSize ;
6321 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6322 long arg7 = (long) 0 ;
6323 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6324 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6325 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6326 wxString *arg9 = (wxString *) &arg9_defvalue ;
6327 bool result;
6328 bool temp4 = False ;
6329 wxPoint temp5 ;
6330 wxSize temp6 ;
6331 bool temp9 = False ;
6332 PyObject * obj0 = 0 ;
6333 PyObject * obj1 = 0 ;
6334 PyObject * obj3 = 0 ;
6335 PyObject * obj4 = 0 ;
6336 PyObject * obj5 = 0 ;
6337 PyObject * obj7 = 0 ;
6338 PyObject * obj8 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6346 if (obj3) {
6347 {
6348 arg4 = wxString_in_helper(obj3);
6349 if (arg4 == NULL) SWIG_fail;
6350 temp4 = True;
6351 }
6352 }
6353 if (obj4) {
6354 {
6355 arg5 = &temp5;
6356 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6357 }
6358 }
6359 if (obj5) {
6360 {
6361 arg6 = &temp6;
6362 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6363 }
6364 }
6365 if (obj7) {
6366 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6367 if (arg8 == NULL) {
6368 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6369 }
6370 }
6371 if (obj8) {
6372 {
6373 arg9 = wxString_in_helper(obj8);
6374 if (arg9 == NULL) SWIG_fail;
6375 temp9 = True;
6376 }
6377 }
6378 {
6379 PyThreadState* __tstate = wxPyBeginAllowThreads();
6380 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6381
6382 wxPyEndAllowThreads(__tstate);
6383 if (PyErr_Occurred()) SWIG_fail;
6384 }
6385 resultobj = PyInt_FromLong((long)result);
6386 {
6387 if (temp4)
6388 delete arg4;
6389 }
6390 {
6391 if (temp9)
6392 delete arg9;
6393 }
6394 return resultobj;
6395 fail:
6396 {
6397 if (temp4)
6398 delete arg4;
6399 }
6400 {
6401 if (temp9)
6402 delete arg9;
6403 }
6404 return NULL;
6405 }
6406
6407
6408 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6409 PyObject *resultobj;
6410 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6411 wxString result;
6412 PyObject * obj0 = 0 ;
6413 char *kwnames[] = {
6414 (char *) "self", NULL
6415 };
6416
6417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6419 {
6420 PyThreadState* __tstate = wxPyBeginAllowThreads();
6421 result = ((wxTextCtrl const *)arg1)->GetValue();
6422
6423 wxPyEndAllowThreads(__tstate);
6424 if (PyErr_Occurred()) SWIG_fail;
6425 }
6426 {
6427 #if wxUSE_UNICODE
6428 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6429 #else
6430 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6431 #endif
6432 }
6433 return resultobj;
6434 fail:
6435 return NULL;
6436 }
6437
6438
6439 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6440 PyObject *resultobj;
6441 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6442 wxString *arg2 = 0 ;
6443 bool temp2 = False ;
6444 PyObject * obj0 = 0 ;
6445 PyObject * obj1 = 0 ;
6446 char *kwnames[] = {
6447 (char *) "self",(char *) "value", NULL
6448 };
6449
6450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6452 {
6453 arg2 = wxString_in_helper(obj1);
6454 if (arg2 == NULL) SWIG_fail;
6455 temp2 = True;
6456 }
6457 {
6458 PyThreadState* __tstate = wxPyBeginAllowThreads();
6459 (arg1)->SetValue((wxString const &)*arg2);
6460
6461 wxPyEndAllowThreads(__tstate);
6462 if (PyErr_Occurred()) SWIG_fail;
6463 }
6464 Py_INCREF(Py_None); resultobj = Py_None;
6465 {
6466 if (temp2)
6467 delete arg2;
6468 }
6469 return resultobj;
6470 fail:
6471 {
6472 if (temp2)
6473 delete arg2;
6474 }
6475 return NULL;
6476 }
6477
6478
6479 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6480 PyObject *resultobj;
6481 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6482 long arg2 ;
6483 long arg3 ;
6484 wxString result;
6485 PyObject * obj0 = 0 ;
6486 char *kwnames[] = {
6487 (char *) "self",(char *) "from",(char *) "to", NULL
6488 };
6489
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6492 {
6493 PyThreadState* __tstate = wxPyBeginAllowThreads();
6494 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6495
6496 wxPyEndAllowThreads(__tstate);
6497 if (PyErr_Occurred()) SWIG_fail;
6498 }
6499 {
6500 #if wxUSE_UNICODE
6501 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6502 #else
6503 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6504 #endif
6505 }
6506 return resultobj;
6507 fail:
6508 return NULL;
6509 }
6510
6511
6512 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6513 PyObject *resultobj;
6514 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6515 long arg2 ;
6516 int result;
6517 PyObject * obj0 = 0 ;
6518 char *kwnames[] = {
6519 (char *) "self",(char *) "lineNo", NULL
6520 };
6521
6522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6527
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
6531 resultobj = PyInt_FromLong((long)result);
6532 return resultobj;
6533 fail:
6534 return NULL;
6535 }
6536
6537
6538 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6539 PyObject *resultobj;
6540 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6541 long arg2 ;
6542 wxString result;
6543 PyObject * obj0 = 0 ;
6544 char *kwnames[] = {
6545 (char *) "self",(char *) "lineNo", NULL
6546 };
6547
6548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6550 {
6551 PyThreadState* __tstate = wxPyBeginAllowThreads();
6552 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6553
6554 wxPyEndAllowThreads(__tstate);
6555 if (PyErr_Occurred()) SWIG_fail;
6556 }
6557 {
6558 #if wxUSE_UNICODE
6559 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6560 #else
6561 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6562 #endif
6563 }
6564 return resultobj;
6565 fail:
6566 return NULL;
6567 }
6568
6569
6570 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6571 PyObject *resultobj;
6572 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6573 int result;
6574 PyObject * obj0 = 0 ;
6575 char *kwnames[] = {
6576 (char *) "self", NULL
6577 };
6578
6579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6581 {
6582 PyThreadState* __tstate = wxPyBeginAllowThreads();
6583 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6584
6585 wxPyEndAllowThreads(__tstate);
6586 if (PyErr_Occurred()) SWIG_fail;
6587 }
6588 resultobj = PyInt_FromLong((long)result);
6589 return resultobj;
6590 fail:
6591 return NULL;
6592 }
6593
6594
6595 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6596 PyObject *resultobj;
6597 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6598 bool result;
6599 PyObject * obj0 = 0 ;
6600 char *kwnames[] = {
6601 (char *) "self", NULL
6602 };
6603
6604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6606 {
6607 PyThreadState* __tstate = wxPyBeginAllowThreads();
6608 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6609
6610 wxPyEndAllowThreads(__tstate);
6611 if (PyErr_Occurred()) SWIG_fail;
6612 }
6613 resultobj = PyInt_FromLong((long)result);
6614 return resultobj;
6615 fail:
6616 return NULL;
6617 }
6618
6619
6620 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6621 PyObject *resultobj;
6622 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6623 bool result;
6624 PyObject * obj0 = 0 ;
6625 char *kwnames[] = {
6626 (char *) "self", NULL
6627 };
6628
6629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6631 {
6632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6633 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6634
6635 wxPyEndAllowThreads(__tstate);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 }
6638 resultobj = PyInt_FromLong((long)result);
6639 return resultobj;
6640 fail:
6641 return NULL;
6642 }
6643
6644
6645 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6646 PyObject *resultobj;
6647 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6648 bool result;
6649 PyObject * obj0 = 0 ;
6650 char *kwnames[] = {
6651 (char *) "self", NULL
6652 };
6653
6654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6656 {
6657 PyThreadState* __tstate = wxPyBeginAllowThreads();
6658 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6659
6660 wxPyEndAllowThreads(__tstate);
6661 if (PyErr_Occurred()) SWIG_fail;
6662 }
6663 resultobj = PyInt_FromLong((long)result);
6664 return resultobj;
6665 fail:
6666 return NULL;
6667 }
6668
6669
6670 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6671 PyObject *resultobj;
6672 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6673 bool result;
6674 PyObject * obj0 = 0 ;
6675 char *kwnames[] = {
6676 (char *) "self", NULL
6677 };
6678
6679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6681 {
6682 PyThreadState* __tstate = wxPyBeginAllowThreads();
6683 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6684
6685 wxPyEndAllowThreads(__tstate);
6686 if (PyErr_Occurred()) SWIG_fail;
6687 }
6688 resultobj = PyInt_FromLong((long)result);
6689 return resultobj;
6690 fail:
6691 return NULL;
6692 }
6693
6694
6695 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6696 PyObject *resultobj;
6697 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6698 long *arg2 = (long *) 0 ;
6699 long *arg3 = (long *) 0 ;
6700 long temp2 ;
6701 long temp3 ;
6702 PyObject * obj0 = 0 ;
6703 char *kwnames[] = {
6704 (char *) "self", NULL
6705 };
6706
6707 arg2 = &temp2;
6708 arg3 = &temp3;
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6714
6715 wxPyEndAllowThreads(__tstate);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 Py_INCREF(Py_None); resultobj = Py_None;
6719 {
6720 PyObject *o = PyInt_FromLong((long) (*arg2));
6721 resultobj = t_output_helper(resultobj,o);
6722 }
6723 {
6724 PyObject *o = PyInt_FromLong((long) (*arg3));
6725 resultobj = t_output_helper(resultobj,o);
6726 }
6727 return resultobj;
6728 fail:
6729 return NULL;
6730 }
6731
6732
6733 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6734 PyObject *resultobj;
6735 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6736 wxString result;
6737 PyObject * obj0 = 0 ;
6738 char *kwnames[] = {
6739 (char *) "self", NULL
6740 };
6741
6742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6744 {
6745 PyThreadState* __tstate = wxPyBeginAllowThreads();
6746 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6747
6748 wxPyEndAllowThreads(__tstate);
6749 if (PyErr_Occurred()) SWIG_fail;
6750 }
6751 {
6752 #if wxUSE_UNICODE
6753 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6754 #else
6755 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6756 #endif
6757 }
6758 return resultobj;
6759 fail:
6760 return NULL;
6761 }
6762
6763
6764 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6765 PyObject *resultobj;
6766 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6767 PyObject * obj0 = 0 ;
6768 char *kwnames[] = {
6769 (char *) "self", NULL
6770 };
6771
6772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6774 {
6775 PyThreadState* __tstate = wxPyBeginAllowThreads();
6776 (arg1)->Clear();
6777
6778 wxPyEndAllowThreads(__tstate);
6779 if (PyErr_Occurred()) SWIG_fail;
6780 }
6781 Py_INCREF(Py_None); resultobj = Py_None;
6782 return resultobj;
6783 fail:
6784 return NULL;
6785 }
6786
6787
6788 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6789 PyObject *resultobj;
6790 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6791 long arg2 ;
6792 long arg3 ;
6793 wxString *arg4 = 0 ;
6794 bool temp4 = False ;
6795 PyObject * obj0 = 0 ;
6796 PyObject * obj3 = 0 ;
6797 char *kwnames[] = {
6798 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6799 };
6800
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6803 {
6804 arg4 = wxString_in_helper(obj3);
6805 if (arg4 == NULL) SWIG_fail;
6806 temp4 = True;
6807 }
6808 {
6809 PyThreadState* __tstate = wxPyBeginAllowThreads();
6810 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6811
6812 wxPyEndAllowThreads(__tstate);
6813 if (PyErr_Occurred()) SWIG_fail;
6814 }
6815 Py_INCREF(Py_None); resultobj = Py_None;
6816 {
6817 if (temp4)
6818 delete arg4;
6819 }
6820 return resultobj;
6821 fail:
6822 {
6823 if (temp4)
6824 delete arg4;
6825 }
6826 return NULL;
6827 }
6828
6829
6830 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6831 PyObject *resultobj;
6832 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6833 long arg2 ;
6834 long arg3 ;
6835 PyObject * obj0 = 0 ;
6836 char *kwnames[] = {
6837 (char *) "self",(char *) "from",(char *) "to", NULL
6838 };
6839
6840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6842 {
6843 PyThreadState* __tstate = wxPyBeginAllowThreads();
6844 (arg1)->Remove(arg2,arg3);
6845
6846 wxPyEndAllowThreads(__tstate);
6847 if (PyErr_Occurred()) SWIG_fail;
6848 }
6849 Py_INCREF(Py_None); resultobj = Py_None;
6850 return resultobj;
6851 fail:
6852 return NULL;
6853 }
6854
6855
6856 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6857 PyObject *resultobj;
6858 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6859 wxString *arg2 = 0 ;
6860 bool result;
6861 bool temp2 = False ;
6862 PyObject * obj0 = 0 ;
6863 PyObject * obj1 = 0 ;
6864 char *kwnames[] = {
6865 (char *) "self",(char *) "file", NULL
6866 };
6867
6868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6870 {
6871 arg2 = wxString_in_helper(obj1);
6872 if (arg2 == NULL) SWIG_fail;
6873 temp2 = True;
6874 }
6875 {
6876 PyThreadState* __tstate = wxPyBeginAllowThreads();
6877 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6878
6879 wxPyEndAllowThreads(__tstate);
6880 if (PyErr_Occurred()) SWIG_fail;
6881 }
6882 resultobj = PyInt_FromLong((long)result);
6883 {
6884 if (temp2)
6885 delete arg2;
6886 }
6887 return resultobj;
6888 fail:
6889 {
6890 if (temp2)
6891 delete arg2;
6892 }
6893 return NULL;
6894 }
6895
6896
6897 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6898 PyObject *resultobj;
6899 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6900 wxString const &arg2_defvalue = wxPyEmptyString ;
6901 wxString *arg2 = (wxString *) &arg2_defvalue ;
6902 bool result;
6903 bool temp2 = False ;
6904 PyObject * obj0 = 0 ;
6905 PyObject * obj1 = 0 ;
6906 char *kwnames[] = {
6907 (char *) "self",(char *) "file", NULL
6908 };
6909
6910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6912 if (obj1) {
6913 {
6914 arg2 = wxString_in_helper(obj1);
6915 if (arg2 == NULL) SWIG_fail;
6916 temp2 = True;
6917 }
6918 }
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 resultobj = PyInt_FromLong((long)result);
6927 {
6928 if (temp2)
6929 delete arg2;
6930 }
6931 return resultobj;
6932 fail:
6933 {
6934 if (temp2)
6935 delete arg2;
6936 }
6937 return NULL;
6938 }
6939
6940
6941 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
6942 PyObject *resultobj;
6943 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6944 PyObject * obj0 = 0 ;
6945 char *kwnames[] = {
6946 (char *) "self", NULL
6947 };
6948
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
6950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6951 {
6952 PyThreadState* __tstate = wxPyBeginAllowThreads();
6953 (arg1)->MarkDirty();
6954
6955 wxPyEndAllowThreads(__tstate);
6956 if (PyErr_Occurred()) SWIG_fail;
6957 }
6958 Py_INCREF(Py_None); resultobj = Py_None;
6959 return resultobj;
6960 fail:
6961 return NULL;
6962 }
6963
6964
6965 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
6966 PyObject *resultobj;
6967 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6968 PyObject * obj0 = 0 ;
6969 char *kwnames[] = {
6970 (char *) "self", NULL
6971 };
6972
6973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
6974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6975 {
6976 PyThreadState* __tstate = wxPyBeginAllowThreads();
6977 (arg1)->DiscardEdits();
6978
6979 wxPyEndAllowThreads(__tstate);
6980 if (PyErr_Occurred()) SWIG_fail;
6981 }
6982 Py_INCREF(Py_None); resultobj = Py_None;
6983 return resultobj;
6984 fail:
6985 return NULL;
6986 }
6987
6988
6989 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6990 PyObject *resultobj;
6991 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6992 unsigned long arg2 ;
6993 PyObject * obj0 = 0 ;
6994 PyObject * obj1 = 0 ;
6995 char *kwnames[] = {
6996 (char *) "self",(char *) "len", NULL
6997 };
6998
6999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7001 arg2 = (unsigned long) PyInt_AsLong(obj1);
7002 if (PyErr_Occurred()) SWIG_fail;
7003 {
7004 PyThreadState* __tstate = wxPyBeginAllowThreads();
7005 (arg1)->SetMaxLength(arg2);
7006
7007 wxPyEndAllowThreads(__tstate);
7008 if (PyErr_Occurred()) SWIG_fail;
7009 }
7010 Py_INCREF(Py_None); resultobj = Py_None;
7011 return resultobj;
7012 fail:
7013 return NULL;
7014 }
7015
7016
7017 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7018 PyObject *resultobj;
7019 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7020 wxString *arg2 = 0 ;
7021 bool temp2 = False ;
7022 PyObject * obj0 = 0 ;
7023 PyObject * obj1 = 0 ;
7024 char *kwnames[] = {
7025 (char *) "self",(char *) "text", NULL
7026 };
7027
7028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7030 {
7031 arg2 = wxString_in_helper(obj1);
7032 if (arg2 == NULL) SWIG_fail;
7033 temp2 = True;
7034 }
7035 {
7036 PyThreadState* __tstate = wxPyBeginAllowThreads();
7037 (arg1)->WriteText((wxString const &)*arg2);
7038
7039 wxPyEndAllowThreads(__tstate);
7040 if (PyErr_Occurred()) SWIG_fail;
7041 }
7042 Py_INCREF(Py_None); resultobj = Py_None;
7043 {
7044 if (temp2)
7045 delete arg2;
7046 }
7047 return resultobj;
7048 fail:
7049 {
7050 if (temp2)
7051 delete arg2;
7052 }
7053 return NULL;
7054 }
7055
7056
7057 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7058 PyObject *resultobj;
7059 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7060 wxString *arg2 = 0 ;
7061 bool temp2 = False ;
7062 PyObject * obj0 = 0 ;
7063 PyObject * obj1 = 0 ;
7064 char *kwnames[] = {
7065 (char *) "self",(char *) "text", NULL
7066 };
7067
7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7070 {
7071 arg2 = wxString_in_helper(obj1);
7072 if (arg2 == NULL) SWIG_fail;
7073 temp2 = True;
7074 }
7075 {
7076 PyThreadState* __tstate = wxPyBeginAllowThreads();
7077 (arg1)->AppendText((wxString const &)*arg2);
7078
7079 wxPyEndAllowThreads(__tstate);
7080 if (PyErr_Occurred()) SWIG_fail;
7081 }
7082 Py_INCREF(Py_None); resultobj = Py_None;
7083 {
7084 if (temp2)
7085 delete arg2;
7086 }
7087 return resultobj;
7088 fail:
7089 {
7090 if (temp2)
7091 delete arg2;
7092 }
7093 return NULL;
7094 }
7095
7096
7097 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7098 PyObject *resultobj;
7099 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7100 wxKeyEvent *arg2 = 0 ;
7101 bool result;
7102 PyObject * obj0 = 0 ;
7103 PyObject * obj1 = 0 ;
7104 char *kwnames[] = {
7105 (char *) "self",(char *) "event", NULL
7106 };
7107
7108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7111 if (arg2 == NULL) {
7112 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7113 }
7114 {
7115 PyThreadState* __tstate = wxPyBeginAllowThreads();
7116 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7117
7118 wxPyEndAllowThreads(__tstate);
7119 if (PyErr_Occurred()) SWIG_fail;
7120 }
7121 resultobj = PyInt_FromLong((long)result);
7122 return resultobj;
7123 fail:
7124 return NULL;
7125 }
7126
7127
7128 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7129 PyObject *resultobj;
7130 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7131 long arg2 ;
7132 long arg3 ;
7133 wxTextAttr *arg4 = 0 ;
7134 bool result;
7135 PyObject * obj0 = 0 ;
7136 PyObject * obj3 = 0 ;
7137 char *kwnames[] = {
7138 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7139 };
7140
7141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7143 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7144 if (arg4 == NULL) {
7145 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7146 }
7147 {
7148 PyThreadState* __tstate = wxPyBeginAllowThreads();
7149 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7150
7151 wxPyEndAllowThreads(__tstate);
7152 if (PyErr_Occurred()) SWIG_fail;
7153 }
7154 resultobj = PyInt_FromLong((long)result);
7155 return resultobj;
7156 fail:
7157 return NULL;
7158 }
7159
7160
7161 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7162 PyObject *resultobj;
7163 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7164 long arg2 ;
7165 wxTextAttr *arg3 = 0 ;
7166 bool result;
7167 PyObject * obj0 = 0 ;
7168 PyObject * obj2 = 0 ;
7169 char *kwnames[] = {
7170 (char *) "self",(char *) "position",(char *) "style", NULL
7171 };
7172
7173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7175 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7176 if (arg3 == NULL) {
7177 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7178 }
7179 {
7180 PyThreadState* __tstate = wxPyBeginAllowThreads();
7181 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7182
7183 wxPyEndAllowThreads(__tstate);
7184 if (PyErr_Occurred()) SWIG_fail;
7185 }
7186 resultobj = PyInt_FromLong((long)result);
7187 return resultobj;
7188 fail:
7189 return NULL;
7190 }
7191
7192
7193 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7194 PyObject *resultobj;
7195 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7196 wxTextAttr *arg2 = 0 ;
7197 bool result;
7198 PyObject * obj0 = 0 ;
7199 PyObject * obj1 = 0 ;
7200 char *kwnames[] = {
7201 (char *) "self",(char *) "style", NULL
7202 };
7203
7204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7207 if (arg2 == NULL) {
7208 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7209 }
7210 {
7211 PyThreadState* __tstate = wxPyBeginAllowThreads();
7212 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7213
7214 wxPyEndAllowThreads(__tstate);
7215 if (PyErr_Occurred()) SWIG_fail;
7216 }
7217 resultobj = PyInt_FromLong((long)result);
7218 return resultobj;
7219 fail:
7220 return NULL;
7221 }
7222
7223
7224 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7225 PyObject *resultobj;
7226 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7227 wxTextAttr *result;
7228 PyObject * obj0 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "self", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7235 {
7236 PyThreadState* __tstate = wxPyBeginAllowThreads();
7237 {
7238 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7239 result = (wxTextAttr *) &_result_ref;
7240 }
7241
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7246 return resultobj;
7247 fail:
7248 return NULL;
7249 }
7250
7251
7252 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7255 long arg2 ;
7256 long arg3 ;
7257 long result;
7258 PyObject * obj0 = 0 ;
7259 char *kwnames[] = {
7260 (char *) "self",(char *) "x",(char *) "y", NULL
7261 };
7262
7263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7265 {
7266 PyThreadState* __tstate = wxPyBeginAllowThreads();
7267 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7268
7269 wxPyEndAllowThreads(__tstate);
7270 if (PyErr_Occurred()) SWIG_fail;
7271 }
7272 resultobj = PyInt_FromLong((long)result);
7273 return resultobj;
7274 fail:
7275 return NULL;
7276 }
7277
7278
7279 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7280 PyObject *resultobj;
7281 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7282 long arg2 ;
7283 long *arg3 = (long *) 0 ;
7284 long *arg4 = (long *) 0 ;
7285 long temp3 ;
7286 long temp4 ;
7287 PyObject * obj0 = 0 ;
7288 char *kwnames[] = {
7289 (char *) "self",(char *) "pos", NULL
7290 };
7291
7292 arg3 = &temp3;
7293 arg4 = &temp4;
7294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7296 {
7297 PyThreadState* __tstate = wxPyBeginAllowThreads();
7298 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7299
7300 wxPyEndAllowThreads(__tstate);
7301 if (PyErr_Occurred()) SWIG_fail;
7302 }
7303 Py_INCREF(Py_None); resultobj = Py_None;
7304 {
7305 PyObject *o = PyInt_FromLong((long) (*arg3));
7306 resultobj = t_output_helper(resultobj,o);
7307 }
7308 {
7309 PyObject *o = PyInt_FromLong((long) (*arg4));
7310 resultobj = t_output_helper(resultobj,o);
7311 }
7312 return resultobj;
7313 fail:
7314 return NULL;
7315 }
7316
7317
7318 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj;
7320 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7321 long arg2 ;
7322 PyObject * obj0 = 0 ;
7323 char *kwnames[] = {
7324 (char *) "self",(char *) "pos", NULL
7325 };
7326
7327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7329 {
7330 PyThreadState* __tstate = wxPyBeginAllowThreads();
7331 (arg1)->ShowPosition(arg2);
7332
7333 wxPyEndAllowThreads(__tstate);
7334 if (PyErr_Occurred()) SWIG_fail;
7335 }
7336 Py_INCREF(Py_None); resultobj = Py_None;
7337 return resultobj;
7338 fail:
7339 return NULL;
7340 }
7341
7342
7343 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7344 PyObject *resultobj;
7345 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7346 PyObject * obj0 = 0 ;
7347 char *kwnames[] = {
7348 (char *) "self", NULL
7349 };
7350
7351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7353 {
7354 PyThreadState* __tstate = wxPyBeginAllowThreads();
7355 (arg1)->Copy();
7356
7357 wxPyEndAllowThreads(__tstate);
7358 if (PyErr_Occurred()) SWIG_fail;
7359 }
7360 Py_INCREF(Py_None); resultobj = Py_None;
7361 return resultobj;
7362 fail:
7363 return NULL;
7364 }
7365
7366
7367 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7368 PyObject *resultobj;
7369 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7370 PyObject * obj0 = 0 ;
7371 char *kwnames[] = {
7372 (char *) "self", NULL
7373 };
7374
7375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7377 {
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 (arg1)->Cut();
7380
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 Py_INCREF(Py_None); resultobj = Py_None;
7385 return resultobj;
7386 fail:
7387 return NULL;
7388 }
7389
7390
7391 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7392 PyObject *resultobj;
7393 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7394 PyObject * obj0 = 0 ;
7395 char *kwnames[] = {
7396 (char *) "self", NULL
7397 };
7398
7399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7401 {
7402 PyThreadState* __tstate = wxPyBeginAllowThreads();
7403 (arg1)->Paste();
7404
7405 wxPyEndAllowThreads(__tstate);
7406 if (PyErr_Occurred()) SWIG_fail;
7407 }
7408 Py_INCREF(Py_None); resultobj = Py_None;
7409 return resultobj;
7410 fail:
7411 return NULL;
7412 }
7413
7414
7415 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7416 PyObject *resultobj;
7417 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7418 bool result;
7419 PyObject * obj0 = 0 ;
7420 char *kwnames[] = {
7421 (char *) "self", NULL
7422 };
7423
7424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 resultobj = PyInt_FromLong((long)result);
7434 return resultobj;
7435 fail:
7436 return NULL;
7437 }
7438
7439
7440 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7443 bool result;
7444 PyObject * obj0 = 0 ;
7445 char *kwnames[] = {
7446 (char *) "self", NULL
7447 };
7448
7449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7451 {
7452 PyThreadState* __tstate = wxPyBeginAllowThreads();
7453 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7454
7455 wxPyEndAllowThreads(__tstate);
7456 if (PyErr_Occurred()) SWIG_fail;
7457 }
7458 resultobj = PyInt_FromLong((long)result);
7459 return resultobj;
7460 fail:
7461 return NULL;
7462 }
7463
7464
7465 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7466 PyObject *resultobj;
7467 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7468 bool result;
7469 PyObject * obj0 = 0 ;
7470 char *kwnames[] = {
7471 (char *) "self", NULL
7472 };
7473
7474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7476 {
7477 PyThreadState* __tstate = wxPyBeginAllowThreads();
7478 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7479
7480 wxPyEndAllowThreads(__tstate);
7481 if (PyErr_Occurred()) SWIG_fail;
7482 }
7483 resultobj = PyInt_FromLong((long)result);
7484 return resultobj;
7485 fail:
7486 return NULL;
7487 }
7488
7489
7490 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7491 PyObject *resultobj;
7492 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7493 PyObject * obj0 = 0 ;
7494 char *kwnames[] = {
7495 (char *) "self", NULL
7496 };
7497
7498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7500 {
7501 PyThreadState* __tstate = wxPyBeginAllowThreads();
7502 (arg1)->Undo();
7503
7504 wxPyEndAllowThreads(__tstate);
7505 if (PyErr_Occurred()) SWIG_fail;
7506 }
7507 Py_INCREF(Py_None); resultobj = Py_None;
7508 return resultobj;
7509 fail:
7510 return NULL;
7511 }
7512
7513
7514 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7515 PyObject *resultobj;
7516 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7517 PyObject * obj0 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "self", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7524 {
7525 PyThreadState* __tstate = wxPyBeginAllowThreads();
7526 (arg1)->Redo();
7527
7528 wxPyEndAllowThreads(__tstate);
7529 if (PyErr_Occurred()) SWIG_fail;
7530 }
7531 Py_INCREF(Py_None); resultobj = Py_None;
7532 return resultobj;
7533 fail:
7534 return NULL;
7535 }
7536
7537
7538 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7539 PyObject *resultobj;
7540 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7541 bool result;
7542 PyObject * obj0 = 0 ;
7543 char *kwnames[] = {
7544 (char *) "self", NULL
7545 };
7546
7547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7549 {
7550 PyThreadState* __tstate = wxPyBeginAllowThreads();
7551 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7552
7553 wxPyEndAllowThreads(__tstate);
7554 if (PyErr_Occurred()) SWIG_fail;
7555 }
7556 resultobj = PyInt_FromLong((long)result);
7557 return resultobj;
7558 fail:
7559 return NULL;
7560 }
7561
7562
7563 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7564 PyObject *resultobj;
7565 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7566 bool result;
7567 PyObject * obj0 = 0 ;
7568 char *kwnames[] = {
7569 (char *) "self", NULL
7570 };
7571
7572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7574 {
7575 PyThreadState* __tstate = wxPyBeginAllowThreads();
7576 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7577
7578 wxPyEndAllowThreads(__tstate);
7579 if (PyErr_Occurred()) SWIG_fail;
7580 }
7581 resultobj = PyInt_FromLong((long)result);
7582 return resultobj;
7583 fail:
7584 return NULL;
7585 }
7586
7587
7588 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7589 PyObject *resultobj;
7590 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7591 long arg2 ;
7592 PyObject * obj0 = 0 ;
7593 char *kwnames[] = {
7594 (char *) "self",(char *) "pos", NULL
7595 };
7596
7597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7599 {
7600 PyThreadState* __tstate = wxPyBeginAllowThreads();
7601 (arg1)->SetInsertionPoint(arg2);
7602
7603 wxPyEndAllowThreads(__tstate);
7604 if (PyErr_Occurred()) SWIG_fail;
7605 }
7606 Py_INCREF(Py_None); resultobj = Py_None;
7607 return resultobj;
7608 fail:
7609 return NULL;
7610 }
7611
7612
7613 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7614 PyObject *resultobj;
7615 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7616 PyObject * obj0 = 0 ;
7617 char *kwnames[] = {
7618 (char *) "self", NULL
7619 };
7620
7621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7623 {
7624 PyThreadState* __tstate = wxPyBeginAllowThreads();
7625 (arg1)->SetInsertionPointEnd();
7626
7627 wxPyEndAllowThreads(__tstate);
7628 if (PyErr_Occurred()) SWIG_fail;
7629 }
7630 Py_INCREF(Py_None); resultobj = Py_None;
7631 return resultobj;
7632 fail:
7633 return NULL;
7634 }
7635
7636
7637 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7638 PyObject *resultobj;
7639 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7640 long result;
7641 PyObject * obj0 = 0 ;
7642 char *kwnames[] = {
7643 (char *) "self", NULL
7644 };
7645
7646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7648 {
7649 PyThreadState* __tstate = wxPyBeginAllowThreads();
7650 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7651
7652 wxPyEndAllowThreads(__tstate);
7653 if (PyErr_Occurred()) SWIG_fail;
7654 }
7655 resultobj = PyInt_FromLong((long)result);
7656 return resultobj;
7657 fail:
7658 return NULL;
7659 }
7660
7661
7662 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7663 PyObject *resultobj;
7664 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7665 long result;
7666 PyObject * obj0 = 0 ;
7667 char *kwnames[] = {
7668 (char *) "self", NULL
7669 };
7670
7671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
7680 resultobj = PyInt_FromLong((long)result);
7681 return resultobj;
7682 fail:
7683 return NULL;
7684 }
7685
7686
7687 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7688 PyObject *resultobj;
7689 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7690 long arg2 ;
7691 long arg3 ;
7692 PyObject * obj0 = 0 ;
7693 char *kwnames[] = {
7694 (char *) "self",(char *) "from",(char *) "to", NULL
7695 };
7696
7697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7699 {
7700 PyThreadState* __tstate = wxPyBeginAllowThreads();
7701 (arg1)->SetSelection(arg2,arg3);
7702
7703 wxPyEndAllowThreads(__tstate);
7704 if (PyErr_Occurred()) SWIG_fail;
7705 }
7706 Py_INCREF(Py_None); resultobj = Py_None;
7707 return resultobj;
7708 fail:
7709 return NULL;
7710 }
7711
7712
7713 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7714 PyObject *resultobj;
7715 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7716 PyObject * obj0 = 0 ;
7717 char *kwnames[] = {
7718 (char *) "self", NULL
7719 };
7720
7721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7723 {
7724 PyThreadState* __tstate = wxPyBeginAllowThreads();
7725 (arg1)->SelectAll();
7726
7727 wxPyEndAllowThreads(__tstate);
7728 if (PyErr_Occurred()) SWIG_fail;
7729 }
7730 Py_INCREF(Py_None); resultobj = Py_None;
7731 return resultobj;
7732 fail:
7733 return NULL;
7734 }
7735
7736
7737 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7738 PyObject *resultobj;
7739 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7740 bool arg2 ;
7741 PyObject * obj0 = 0 ;
7742 PyObject * obj1 = 0 ;
7743 char *kwnames[] = {
7744 (char *) "self",(char *) "editable", NULL
7745 };
7746
7747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7749 arg2 = PyInt_AsLong(obj1) ? true : false;
7750 if (PyErr_Occurred()) SWIG_fail;
7751 {
7752 PyThreadState* __tstate = wxPyBeginAllowThreads();
7753 (arg1)->SetEditable(arg2);
7754
7755 wxPyEndAllowThreads(__tstate);
7756 if (PyErr_Occurred()) SWIG_fail;
7757 }
7758 Py_INCREF(Py_None); resultobj = Py_None;
7759 return resultobj;
7760 fail:
7761 return NULL;
7762 }
7763
7764
7765 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7766 PyObject *resultobj;
7767 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7768 wxString *arg2 = 0 ;
7769 bool temp2 = False ;
7770 PyObject * obj0 = 0 ;
7771 PyObject * obj1 = 0 ;
7772 char *kwnames[] = {
7773 (char *) "self",(char *) "text", NULL
7774 };
7775
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7778 {
7779 arg2 = wxString_in_helper(obj1);
7780 if (arg2 == NULL) SWIG_fail;
7781 temp2 = True;
7782 }
7783 {
7784 PyThreadState* __tstate = wxPyBeginAllowThreads();
7785 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7786
7787 wxPyEndAllowThreads(__tstate);
7788 if (PyErr_Occurred()) SWIG_fail;
7789 }
7790 Py_INCREF(Py_None); resultobj = Py_None;
7791 {
7792 if (temp2)
7793 delete arg2;
7794 }
7795 return resultobj;
7796 fail:
7797 {
7798 if (temp2)
7799 delete arg2;
7800 }
7801 return NULL;
7802 }
7803
7804
7805 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7806 PyObject *resultobj;
7807 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7808 long arg2 ;
7809 long arg3 ;
7810 wxString result;
7811 PyObject * obj0 = 0 ;
7812 char *kwnames[] = {
7813 (char *) "self",(char *) "from",(char *) "to", NULL
7814 };
7815
7816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7818 {
7819 PyThreadState* __tstate = wxPyBeginAllowThreads();
7820 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7821
7822 wxPyEndAllowThreads(__tstate);
7823 if (PyErr_Occurred()) SWIG_fail;
7824 }
7825 {
7826 #if wxUSE_UNICODE
7827 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7828 #else
7829 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7830 #endif
7831 }
7832 return resultobj;
7833 fail:
7834 return NULL;
7835 }
7836
7837
7838 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7839 PyObject *obj;
7840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7841 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7842 Py_INCREF(obj);
7843 return Py_BuildValue((char *)"");
7844 }
7845 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj;
7847 int arg1 ;
7848 wxMouseEvent *arg2 = 0 ;
7849 long arg3 ;
7850 long arg4 ;
7851 wxTextUrlEvent *result;
7852 PyObject * obj1 = 0 ;
7853 char *kwnames[] = {
7854 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7855 };
7856
7857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
7858 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7859 if (arg2 == NULL) {
7860 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7861 }
7862 {
7863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7864 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
7865
7866 wxPyEndAllowThreads(__tstate);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
7870 return resultobj;
7871 fail:
7872 return NULL;
7873 }
7874
7875
7876 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7877 PyObject *resultobj;
7878 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7879 wxMouseEvent *result;
7880 PyObject * obj0 = 0 ;
7881 char *kwnames[] = {
7882 (char *) "self", NULL
7883 };
7884
7885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
7886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 {
7890 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
7891 result = (wxMouseEvent *) &_result_ref;
7892 }
7893
7894 wxPyEndAllowThreads(__tstate);
7895 if (PyErr_Occurred()) SWIG_fail;
7896 }
7897 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
7898 return resultobj;
7899 fail:
7900 return NULL;
7901 }
7902
7903
7904 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7905 PyObject *resultobj;
7906 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7907 long result;
7908 PyObject * obj0 = 0 ;
7909 char *kwnames[] = {
7910 (char *) "self", NULL
7911 };
7912
7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
7914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7915 {
7916 PyThreadState* __tstate = wxPyBeginAllowThreads();
7917 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
7918
7919 wxPyEndAllowThreads(__tstate);
7920 if (PyErr_Occurred()) SWIG_fail;
7921 }
7922 resultobj = PyInt_FromLong((long)result);
7923 return resultobj;
7924 fail:
7925 return NULL;
7926 }
7927
7928
7929 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7930 PyObject *resultobj;
7931 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7932 long result;
7933 PyObject * obj0 = 0 ;
7934 char *kwnames[] = {
7935 (char *) "self", NULL
7936 };
7937
7938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
7939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
7947 resultobj = PyInt_FromLong((long)result);
7948 return resultobj;
7949 fail:
7950 return NULL;
7951 }
7952
7953
7954 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
7955 PyObject *obj;
7956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7957 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
7958 Py_INCREF(obj);
7959 return Py_BuildValue((char *)"");
7960 }
7961 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7962 PyObject *resultobj;
7963 wxWindow *arg1 = (wxWindow *) 0 ;
7964 int arg2 = (int) -1 ;
7965 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7966 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7967 wxSize const &arg4_defvalue = wxDefaultSize ;
7968 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7969 long arg5 = (long) wxSB_HORIZONTAL ;
7970 wxValidator const &arg6_defvalue = wxDefaultValidator ;
7971 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
7972 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
7973 wxString *arg7 = (wxString *) &arg7_defvalue ;
7974 wxScrollBar *result;
7975 wxPoint temp3 ;
7976 wxSize temp4 ;
7977 bool temp7 = False ;
7978 PyObject * obj0 = 0 ;
7979 PyObject * obj2 = 0 ;
7980 PyObject * obj3 = 0 ;
7981 PyObject * obj5 = 0 ;
7982 PyObject * obj6 = 0 ;
7983 char *kwnames[] = {
7984 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
7985 };
7986
7987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
7988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7989 if (obj2) {
7990 {
7991 arg3 = &temp3;
7992 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7993 }
7994 }
7995 if (obj3) {
7996 {
7997 arg4 = &temp4;
7998 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7999 }
8000 }
8001 if (obj5) {
8002 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8003 if (arg6 == NULL) {
8004 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8005 }
8006 }
8007 if (obj6) {
8008 {
8009 arg7 = wxString_in_helper(obj6);
8010 if (arg7 == NULL) SWIG_fail;
8011 temp7 = True;
8012 }
8013 }
8014 {
8015 PyThreadState* __tstate = wxPyBeginAllowThreads();
8016 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8017
8018 wxPyEndAllowThreads(__tstate);
8019 if (PyErr_Occurred()) SWIG_fail;
8020 }
8021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8022 {
8023 if (temp7)
8024 delete arg7;
8025 }
8026 return resultobj;
8027 fail:
8028 {
8029 if (temp7)
8030 delete arg7;
8031 }
8032 return NULL;
8033 }
8034
8035
8036 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj;
8038 wxScrollBar *result;
8039 char *kwnames[] = {
8040 NULL
8041 };
8042
8043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8044 {
8045 PyThreadState* __tstate = wxPyBeginAllowThreads();
8046 result = (wxScrollBar *)new wxScrollBar();
8047
8048 wxPyEndAllowThreads(__tstate);
8049 if (PyErr_Occurred()) SWIG_fail;
8050 }
8051 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8052 return resultobj;
8053 fail:
8054 return NULL;
8055 }
8056
8057
8058 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8059 PyObject *resultobj;
8060 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8061 wxWindow *arg2 = (wxWindow *) 0 ;
8062 int arg3 = (int) -1 ;
8063 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8064 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8065 wxSize const &arg5_defvalue = wxDefaultSize ;
8066 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8067 long arg6 = (long) wxSB_HORIZONTAL ;
8068 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8069 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8070 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8071 wxString *arg8 = (wxString *) &arg8_defvalue ;
8072 bool result;
8073 wxPoint temp4 ;
8074 wxSize temp5 ;
8075 bool temp8 = False ;
8076 PyObject * obj0 = 0 ;
8077 PyObject * obj1 = 0 ;
8078 PyObject * obj3 = 0 ;
8079 PyObject * obj4 = 0 ;
8080 PyObject * obj6 = 0 ;
8081 PyObject * obj7 = 0 ;
8082 char *kwnames[] = {
8083 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8084 };
8085
8086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8088 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8089 if (obj3) {
8090 {
8091 arg4 = &temp4;
8092 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8093 }
8094 }
8095 if (obj4) {
8096 {
8097 arg5 = &temp5;
8098 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8099 }
8100 }
8101 if (obj6) {
8102 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8103 if (arg7 == NULL) {
8104 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8105 }
8106 }
8107 if (obj7) {
8108 {
8109 arg8 = wxString_in_helper(obj7);
8110 if (arg8 == NULL) SWIG_fail;
8111 temp8 = True;
8112 }
8113 }
8114 {
8115 PyThreadState* __tstate = wxPyBeginAllowThreads();
8116 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8117
8118 wxPyEndAllowThreads(__tstate);
8119 if (PyErr_Occurred()) SWIG_fail;
8120 }
8121 resultobj = PyInt_FromLong((long)result);
8122 {
8123 if (temp8)
8124 delete arg8;
8125 }
8126 return resultobj;
8127 fail:
8128 {
8129 if (temp8)
8130 delete arg8;
8131 }
8132 return NULL;
8133 }
8134
8135
8136 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8137 PyObject *resultobj;
8138 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8139 int result;
8140 PyObject * obj0 = 0 ;
8141 char *kwnames[] = {
8142 (char *) "self", NULL
8143 };
8144
8145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8147 {
8148 PyThreadState* __tstate = wxPyBeginAllowThreads();
8149 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8150
8151 wxPyEndAllowThreads(__tstate);
8152 if (PyErr_Occurred()) SWIG_fail;
8153 }
8154 resultobj = PyInt_FromLong((long)result);
8155 return resultobj;
8156 fail:
8157 return NULL;
8158 }
8159
8160
8161 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8162 PyObject *resultobj;
8163 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8164 int result;
8165 PyObject * obj0 = 0 ;
8166 char *kwnames[] = {
8167 (char *) "self", NULL
8168 };
8169
8170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8172 {
8173 PyThreadState* __tstate = wxPyBeginAllowThreads();
8174 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8175
8176 wxPyEndAllowThreads(__tstate);
8177 if (PyErr_Occurred()) SWIG_fail;
8178 }
8179 resultobj = PyInt_FromLong((long)result);
8180 return resultobj;
8181 fail:
8182 return NULL;
8183 }
8184
8185
8186 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8187 PyObject *resultobj;
8188 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8189 int result;
8190 PyObject * obj0 = 0 ;
8191 char *kwnames[] = {
8192 (char *) "self", NULL
8193 };
8194
8195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8197 {
8198 PyThreadState* __tstate = wxPyBeginAllowThreads();
8199 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8200
8201 wxPyEndAllowThreads(__tstate);
8202 if (PyErr_Occurred()) SWIG_fail;
8203 }
8204 resultobj = PyInt_FromLong((long)result);
8205 return resultobj;
8206 fail:
8207 return NULL;
8208 }
8209
8210
8211 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj;
8213 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8214 int result;
8215 PyObject * obj0 = 0 ;
8216 char *kwnames[] = {
8217 (char *) "self", NULL
8218 };
8219
8220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8222 {
8223 PyThreadState* __tstate = wxPyBeginAllowThreads();
8224 result = (int)((wxScrollBar const *)arg1)->GetRange();
8225
8226 wxPyEndAllowThreads(__tstate);
8227 if (PyErr_Occurred()) SWIG_fail;
8228 }
8229 resultobj = PyInt_FromLong((long)result);
8230 return resultobj;
8231 fail:
8232 return NULL;
8233 }
8234
8235
8236 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8237 PyObject *resultobj;
8238 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8239 bool result;
8240 PyObject * obj0 = 0 ;
8241 char *kwnames[] = {
8242 (char *) "self", NULL
8243 };
8244
8245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8247 {
8248 PyThreadState* __tstate = wxPyBeginAllowThreads();
8249 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8250
8251 wxPyEndAllowThreads(__tstate);
8252 if (PyErr_Occurred()) SWIG_fail;
8253 }
8254 resultobj = PyInt_FromLong((long)result);
8255 return resultobj;
8256 fail:
8257 return NULL;
8258 }
8259
8260
8261 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8262 PyObject *resultobj;
8263 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8264 int arg2 ;
8265 PyObject * obj0 = 0 ;
8266 char *kwnames[] = {
8267 (char *) "self",(char *) "viewStart", NULL
8268 };
8269
8270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8272 {
8273 PyThreadState* __tstate = wxPyBeginAllowThreads();
8274 (arg1)->SetThumbPosition(arg2);
8275
8276 wxPyEndAllowThreads(__tstate);
8277 if (PyErr_Occurred()) SWIG_fail;
8278 }
8279 Py_INCREF(Py_None); resultobj = Py_None;
8280 return resultobj;
8281 fail:
8282 return NULL;
8283 }
8284
8285
8286 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8287 PyObject *resultobj;
8288 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8289 int arg2 ;
8290 int arg3 ;
8291 int arg4 ;
8292 int arg5 ;
8293 bool arg6 = (bool) True ;
8294 PyObject * obj0 = 0 ;
8295 PyObject * obj5 = 0 ;
8296 char *kwnames[] = {
8297 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8298 };
8299
8300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8302 if (obj5) {
8303 arg6 = PyInt_AsLong(obj5) ? true : false;
8304 if (PyErr_Occurred()) SWIG_fail;
8305 }
8306 {
8307 PyThreadState* __tstate = wxPyBeginAllowThreads();
8308 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8309
8310 wxPyEndAllowThreads(__tstate);
8311 if (PyErr_Occurred()) SWIG_fail;
8312 }
8313 Py_INCREF(Py_None); resultobj = Py_None;
8314 return resultobj;
8315 fail:
8316 return NULL;
8317 }
8318
8319
8320 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8321 PyObject *obj;
8322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8323 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8324 Py_INCREF(obj);
8325 return Py_BuildValue((char *)"");
8326 }
8327 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8328 PyObject *resultobj;
8329 wxWindow *arg1 = (wxWindow *) 0 ;
8330 int arg2 = (int) -1 ;
8331 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8332 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8333 wxSize const &arg4_defvalue = wxDefaultSize ;
8334 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8335 long arg5 = (long) wxSP_HORIZONTAL ;
8336 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8337 wxString *arg6 = (wxString *) &arg6_defvalue ;
8338 wxSpinButton *result;
8339 wxPoint temp3 ;
8340 wxSize temp4 ;
8341 bool temp6 = False ;
8342 PyObject * obj0 = 0 ;
8343 PyObject * obj2 = 0 ;
8344 PyObject * obj3 = 0 ;
8345 PyObject * obj5 = 0 ;
8346 char *kwnames[] = {
8347 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8348 };
8349
8350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8352 if (obj2) {
8353 {
8354 arg3 = &temp3;
8355 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8356 }
8357 }
8358 if (obj3) {
8359 {
8360 arg4 = &temp4;
8361 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8362 }
8363 }
8364 if (obj5) {
8365 {
8366 arg6 = wxString_in_helper(obj5);
8367 if (arg6 == NULL) SWIG_fail;
8368 temp6 = True;
8369 }
8370 }
8371 {
8372 PyThreadState* __tstate = wxPyBeginAllowThreads();
8373 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8374
8375 wxPyEndAllowThreads(__tstate);
8376 if (PyErr_Occurred()) SWIG_fail;
8377 }
8378 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8379 {
8380 if (temp6)
8381 delete arg6;
8382 }
8383 return resultobj;
8384 fail:
8385 {
8386 if (temp6)
8387 delete arg6;
8388 }
8389 return NULL;
8390 }
8391
8392
8393 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8394 PyObject *resultobj;
8395 wxSpinButton *result;
8396 char *kwnames[] = {
8397 NULL
8398 };
8399
8400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8401 {
8402 PyThreadState* __tstate = wxPyBeginAllowThreads();
8403 result = (wxSpinButton *)new wxSpinButton();
8404
8405 wxPyEndAllowThreads(__tstate);
8406 if (PyErr_Occurred()) SWIG_fail;
8407 }
8408 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8409 return resultobj;
8410 fail:
8411 return NULL;
8412 }
8413
8414
8415 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8416 PyObject *resultobj;
8417 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8418 wxWindow *arg2 = (wxWindow *) 0 ;
8419 int arg3 = (int) -1 ;
8420 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8421 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8422 wxSize const &arg5_defvalue = wxDefaultSize ;
8423 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8424 long arg6 = (long) wxSP_HORIZONTAL ;
8425 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8426 wxString *arg7 = (wxString *) &arg7_defvalue ;
8427 bool result;
8428 wxPoint temp4 ;
8429 wxSize temp5 ;
8430 bool temp7 = False ;
8431 PyObject * obj0 = 0 ;
8432 PyObject * obj1 = 0 ;
8433 PyObject * obj3 = 0 ;
8434 PyObject * obj4 = 0 ;
8435 PyObject * obj6 = 0 ;
8436 char *kwnames[] = {
8437 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8438 };
8439
8440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8442 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8443 if (obj3) {
8444 {
8445 arg4 = &temp4;
8446 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8447 }
8448 }
8449 if (obj4) {
8450 {
8451 arg5 = &temp5;
8452 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8453 }
8454 }
8455 if (obj6) {
8456 {
8457 arg7 = wxString_in_helper(obj6);
8458 if (arg7 == NULL) SWIG_fail;
8459 temp7 = True;
8460 }
8461 }
8462 {
8463 PyThreadState* __tstate = wxPyBeginAllowThreads();
8464 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8465
8466 wxPyEndAllowThreads(__tstate);
8467 if (PyErr_Occurred()) SWIG_fail;
8468 }
8469 resultobj = PyInt_FromLong((long)result);
8470 {
8471 if (temp7)
8472 delete arg7;
8473 }
8474 return resultobj;
8475 fail:
8476 {
8477 if (temp7)
8478 delete arg7;
8479 }
8480 return NULL;
8481 }
8482
8483
8484 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8485 PyObject *resultobj;
8486 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8487 int result;
8488 PyObject * obj0 = 0 ;
8489 char *kwnames[] = {
8490 (char *) "self", NULL
8491 };
8492
8493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8495 {
8496 PyThreadState* __tstate = wxPyBeginAllowThreads();
8497 result = (int)((wxSpinButton const *)arg1)->GetValue();
8498
8499 wxPyEndAllowThreads(__tstate);
8500 if (PyErr_Occurred()) SWIG_fail;
8501 }
8502 resultobj = PyInt_FromLong((long)result);
8503 return resultobj;
8504 fail:
8505 return NULL;
8506 }
8507
8508
8509 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8510 PyObject *resultobj;
8511 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8512 int result;
8513 PyObject * obj0 = 0 ;
8514 char *kwnames[] = {
8515 (char *) "self", NULL
8516 };
8517
8518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8520 {
8521 PyThreadState* __tstate = wxPyBeginAllowThreads();
8522 result = (int)((wxSpinButton const *)arg1)->GetMin();
8523
8524 wxPyEndAllowThreads(__tstate);
8525 if (PyErr_Occurred()) SWIG_fail;
8526 }
8527 resultobj = PyInt_FromLong((long)result);
8528 return resultobj;
8529 fail:
8530 return NULL;
8531 }
8532
8533
8534 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8535 PyObject *resultobj;
8536 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8537 int result;
8538 PyObject * obj0 = 0 ;
8539 char *kwnames[] = {
8540 (char *) "self", NULL
8541 };
8542
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8545 {
8546 PyThreadState* __tstate = wxPyBeginAllowThreads();
8547 result = (int)((wxSpinButton const *)arg1)->GetMax();
8548
8549 wxPyEndAllowThreads(__tstate);
8550 if (PyErr_Occurred()) SWIG_fail;
8551 }
8552 resultobj = PyInt_FromLong((long)result);
8553 return resultobj;
8554 fail:
8555 return NULL;
8556 }
8557
8558
8559 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8560 PyObject *resultobj;
8561 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8562 int arg2 ;
8563 PyObject * obj0 = 0 ;
8564 char *kwnames[] = {
8565 (char *) "self",(char *) "val", NULL
8566 };
8567
8568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8570 {
8571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8572 (arg1)->SetValue(arg2);
8573
8574 wxPyEndAllowThreads(__tstate);
8575 if (PyErr_Occurred()) SWIG_fail;
8576 }
8577 Py_INCREF(Py_None); resultobj = Py_None;
8578 return resultobj;
8579 fail:
8580 return NULL;
8581 }
8582
8583
8584 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8585 PyObject *resultobj;
8586 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8587 int arg2 ;
8588 PyObject * obj0 = 0 ;
8589 char *kwnames[] = {
8590 (char *) "self",(char *) "minVal", NULL
8591 };
8592
8593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8595 {
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 (arg1)->SetMin(arg2);
8598
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 Py_INCREF(Py_None); resultobj = Py_None;
8603 return resultobj;
8604 fail:
8605 return NULL;
8606 }
8607
8608
8609 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8610 PyObject *resultobj;
8611 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8612 int arg2 ;
8613 PyObject * obj0 = 0 ;
8614 char *kwnames[] = {
8615 (char *) "self",(char *) "maxVal", NULL
8616 };
8617
8618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8620 {
8621 PyThreadState* __tstate = wxPyBeginAllowThreads();
8622 (arg1)->SetMax(arg2);
8623
8624 wxPyEndAllowThreads(__tstate);
8625 if (PyErr_Occurred()) SWIG_fail;
8626 }
8627 Py_INCREF(Py_None); resultobj = Py_None;
8628 return resultobj;
8629 fail:
8630 return NULL;
8631 }
8632
8633
8634 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8635 PyObject *resultobj;
8636 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8637 int arg2 ;
8638 int arg3 ;
8639 PyObject * obj0 = 0 ;
8640 char *kwnames[] = {
8641 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8642 };
8643
8644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8646 {
8647 PyThreadState* __tstate = wxPyBeginAllowThreads();
8648 (arg1)->SetRange(arg2,arg3);
8649
8650 wxPyEndAllowThreads(__tstate);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 }
8653 Py_INCREF(Py_None); resultobj = Py_None;
8654 return resultobj;
8655 fail:
8656 return NULL;
8657 }
8658
8659
8660 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8661 PyObject *resultobj;
8662 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8663 bool result;
8664 PyObject * obj0 = 0 ;
8665 char *kwnames[] = {
8666 (char *) "self", NULL
8667 };
8668
8669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8671 {
8672 PyThreadState* __tstate = wxPyBeginAllowThreads();
8673 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8674
8675 wxPyEndAllowThreads(__tstate);
8676 if (PyErr_Occurred()) SWIG_fail;
8677 }
8678 resultobj = PyInt_FromLong((long)result);
8679 return resultobj;
8680 fail:
8681 return NULL;
8682 }
8683
8684
8685 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8686 PyObject *obj;
8687 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8688 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8689 Py_INCREF(obj);
8690 return Py_BuildValue((char *)"");
8691 }
8692 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8693 PyObject *resultobj;
8694 wxWindow *arg1 = (wxWindow *) 0 ;
8695 int arg2 = (int) -1 ;
8696 wxString const &arg3_defvalue = wxPyEmptyString ;
8697 wxString *arg3 = (wxString *) &arg3_defvalue ;
8698 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8699 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8700 wxSize const &arg5_defvalue = wxDefaultSize ;
8701 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8702 long arg6 = (long) wxSP_ARROW_KEYS ;
8703 int arg7 = (int) 0 ;
8704 int arg8 = (int) 100 ;
8705 int arg9 = (int) 0 ;
8706 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8707 wxString *arg10 = (wxString *) &arg10_defvalue ;
8708 wxSpinCtrl *result;
8709 bool temp3 = False ;
8710 wxPoint temp4 ;
8711 wxSize temp5 ;
8712 bool temp10 = False ;
8713 PyObject * obj0 = 0 ;
8714 PyObject * obj2 = 0 ;
8715 PyObject * obj3 = 0 ;
8716 PyObject * obj4 = 0 ;
8717 PyObject * obj9 = 0 ;
8718 char *kwnames[] = {
8719 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8720 };
8721
8722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8724 if (obj2) {
8725 {
8726 arg3 = wxString_in_helper(obj2);
8727 if (arg3 == NULL) SWIG_fail;
8728 temp3 = True;
8729 }
8730 }
8731 if (obj3) {
8732 {
8733 arg4 = &temp4;
8734 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8735 }
8736 }
8737 if (obj4) {
8738 {
8739 arg5 = &temp5;
8740 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8741 }
8742 }
8743 if (obj9) {
8744 {
8745 arg10 = wxString_in_helper(obj9);
8746 if (arg10 == NULL) SWIG_fail;
8747 temp10 = True;
8748 }
8749 }
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8758 {
8759 if (temp3)
8760 delete arg3;
8761 }
8762 {
8763 if (temp10)
8764 delete arg10;
8765 }
8766 return resultobj;
8767 fail:
8768 {
8769 if (temp3)
8770 delete arg3;
8771 }
8772 {
8773 if (temp10)
8774 delete arg10;
8775 }
8776 return NULL;
8777 }
8778
8779
8780 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8781 PyObject *resultobj;
8782 wxSpinCtrl *result;
8783 char *kwnames[] = {
8784 NULL
8785 };
8786
8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8788 {
8789 PyThreadState* __tstate = wxPyBeginAllowThreads();
8790 result = (wxSpinCtrl *)new wxSpinCtrl();
8791
8792 wxPyEndAllowThreads(__tstate);
8793 if (PyErr_Occurred()) SWIG_fail;
8794 }
8795 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8796 return resultobj;
8797 fail:
8798 return NULL;
8799 }
8800
8801
8802 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8803 PyObject *resultobj;
8804 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8805 wxWindow *arg2 = (wxWindow *) 0 ;
8806 int arg3 = (int) -1 ;
8807 wxString const &arg4_defvalue = wxPyEmptyString ;
8808 wxString *arg4 = (wxString *) &arg4_defvalue ;
8809 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8810 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8811 wxSize const &arg6_defvalue = wxDefaultSize ;
8812 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8813 long arg7 = (long) wxSP_ARROW_KEYS ;
8814 int arg8 = (int) 0 ;
8815 int arg9 = (int) 100 ;
8816 int arg10 = (int) 0 ;
8817 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8818 wxString *arg11 = (wxString *) &arg11_defvalue ;
8819 bool result;
8820 bool temp4 = False ;
8821 wxPoint temp5 ;
8822 wxSize temp6 ;
8823 bool temp11 = False ;
8824 PyObject * obj0 = 0 ;
8825 PyObject * obj1 = 0 ;
8826 PyObject * obj3 = 0 ;
8827 PyObject * obj4 = 0 ;
8828 PyObject * obj5 = 0 ;
8829 PyObject * obj10 = 0 ;
8830 char *kwnames[] = {
8831 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8832 };
8833
8834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8836 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8837 if (obj3) {
8838 {
8839 arg4 = wxString_in_helper(obj3);
8840 if (arg4 == NULL) SWIG_fail;
8841 temp4 = True;
8842 }
8843 }
8844 if (obj4) {
8845 {
8846 arg5 = &temp5;
8847 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8848 }
8849 }
8850 if (obj5) {
8851 {
8852 arg6 = &temp6;
8853 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8854 }
8855 }
8856 if (obj10) {
8857 {
8858 arg11 = wxString_in_helper(obj10);
8859 if (arg11 == NULL) SWIG_fail;
8860 temp11 = True;
8861 }
8862 }
8863 {
8864 PyThreadState* __tstate = wxPyBeginAllowThreads();
8865 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
8866
8867 wxPyEndAllowThreads(__tstate);
8868 if (PyErr_Occurred()) SWIG_fail;
8869 }
8870 resultobj = PyInt_FromLong((long)result);
8871 {
8872 if (temp4)
8873 delete arg4;
8874 }
8875 {
8876 if (temp11)
8877 delete arg11;
8878 }
8879 return resultobj;
8880 fail:
8881 {
8882 if (temp4)
8883 delete arg4;
8884 }
8885 {
8886 if (temp11)
8887 delete arg11;
8888 }
8889 return NULL;
8890 }
8891
8892
8893 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8894 PyObject *resultobj;
8895 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8896 int result;
8897 PyObject * obj0 = 0 ;
8898 char *kwnames[] = {
8899 (char *) "self", NULL
8900 };
8901
8902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
8903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8904 {
8905 PyThreadState* __tstate = wxPyBeginAllowThreads();
8906 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
8907
8908 wxPyEndAllowThreads(__tstate);
8909 if (PyErr_Occurred()) SWIG_fail;
8910 }
8911 resultobj = PyInt_FromLong((long)result);
8912 return resultobj;
8913 fail:
8914 return NULL;
8915 }
8916
8917
8918 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8919 PyObject *resultobj;
8920 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8921 int arg2 ;
8922 PyObject * obj0 = 0 ;
8923 char *kwnames[] = {
8924 (char *) "self",(char *) "value", NULL
8925 };
8926
8927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
8928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8929 {
8930 PyThreadState* __tstate = wxPyBeginAllowThreads();
8931 (arg1)->SetValue(arg2);
8932
8933 wxPyEndAllowThreads(__tstate);
8934 if (PyErr_Occurred()) SWIG_fail;
8935 }
8936 Py_INCREF(Py_None); resultobj = Py_None;
8937 return resultobj;
8938 fail:
8939 return NULL;
8940 }
8941
8942
8943 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
8944 PyObject *resultobj;
8945 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8946 wxString *arg2 = 0 ;
8947 bool temp2 = False ;
8948 PyObject * obj0 = 0 ;
8949 PyObject * obj1 = 0 ;
8950 char *kwnames[] = {
8951 (char *) "self",(char *) "text", NULL
8952 };
8953
8954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
8955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8956 {
8957 arg2 = wxString_in_helper(obj1);
8958 if (arg2 == NULL) SWIG_fail;
8959 temp2 = True;
8960 }
8961 {
8962 PyThreadState* __tstate = wxPyBeginAllowThreads();
8963 (arg1)->SetValue((wxString const &)*arg2);
8964
8965 wxPyEndAllowThreads(__tstate);
8966 if (PyErr_Occurred()) SWIG_fail;
8967 }
8968 Py_INCREF(Py_None); resultobj = Py_None;
8969 {
8970 if (temp2)
8971 delete arg2;
8972 }
8973 return resultobj;
8974 fail:
8975 {
8976 if (temp2)
8977 delete arg2;
8978 }
8979 return NULL;
8980 }
8981
8982
8983 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8984 PyObject *resultobj;
8985 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8986 int arg2 ;
8987 int arg3 ;
8988 PyObject * obj0 = 0 ;
8989 char *kwnames[] = {
8990 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8991 };
8992
8993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8995 {
8996 PyThreadState* __tstate = wxPyBeginAllowThreads();
8997 (arg1)->SetRange(arg2,arg3);
8998
8999 wxPyEndAllowThreads(__tstate);
9000 if (PyErr_Occurred()) SWIG_fail;
9001 }
9002 Py_INCREF(Py_None); resultobj = Py_None;
9003 return resultobj;
9004 fail:
9005 return NULL;
9006 }
9007
9008
9009 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9010 PyObject *resultobj;
9011 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9012 int result;
9013 PyObject * obj0 = 0 ;
9014 char *kwnames[] = {
9015 (char *) "self", NULL
9016 };
9017
9018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9020 {
9021 PyThreadState* __tstate = wxPyBeginAllowThreads();
9022 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9023
9024 wxPyEndAllowThreads(__tstate);
9025 if (PyErr_Occurred()) SWIG_fail;
9026 }
9027 resultobj = PyInt_FromLong((long)result);
9028 return resultobj;
9029 fail:
9030 return NULL;
9031 }
9032
9033
9034 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9035 PyObject *resultobj;
9036 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9037 int result;
9038 PyObject * obj0 = 0 ;
9039 char *kwnames[] = {
9040 (char *) "self", NULL
9041 };
9042
9043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9045 {
9046 PyThreadState* __tstate = wxPyBeginAllowThreads();
9047 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9048
9049 wxPyEndAllowThreads(__tstate);
9050 if (PyErr_Occurred()) SWIG_fail;
9051 }
9052 resultobj = PyInt_FromLong((long)result);
9053 return resultobj;
9054 fail:
9055 return NULL;
9056 }
9057
9058
9059 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9060 PyObject *resultobj;
9061 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9062 long arg2 ;
9063 long arg3 ;
9064 PyObject * obj0 = 0 ;
9065 char *kwnames[] = {
9066 (char *) "self",(char *) "from",(char *) "to", NULL
9067 };
9068
9069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9071 {
9072 PyThreadState* __tstate = wxPyBeginAllowThreads();
9073 (arg1)->SetSelection(arg2,arg3);
9074
9075 wxPyEndAllowThreads(__tstate);
9076 if (PyErr_Occurred()) SWIG_fail;
9077 }
9078 Py_INCREF(Py_None); resultobj = Py_None;
9079 return resultobj;
9080 fail:
9081 return NULL;
9082 }
9083
9084
9085 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9086 PyObject *obj;
9087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9088 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9089 Py_INCREF(obj);
9090 return Py_BuildValue((char *)"");
9091 }
9092 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9093 PyObject *resultobj;
9094 wxWindow *arg1 = (wxWindow *) 0 ;
9095 int arg2 ;
9096 wxString *arg3 = 0 ;
9097 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9098 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9099 wxSize const &arg5_defvalue = wxDefaultSize ;
9100 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9101 int arg6 = (int) 0 ;
9102 wxString *arg7 = (wxString *) NULL ;
9103 int arg8 = (int) 0 ;
9104 long arg9 = (long) wxRA_HORIZONTAL ;
9105 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9106 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9107 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9108 wxString *arg11 = (wxString *) &arg11_defvalue ;
9109 wxRadioBox *result;
9110 bool temp3 = False ;
9111 wxPoint temp4 ;
9112 wxSize temp5 ;
9113 bool temp10 = False ;
9114 PyObject * obj0 = 0 ;
9115 PyObject * obj2 = 0 ;
9116 PyObject * obj3 = 0 ;
9117 PyObject * obj4 = 0 ;
9118 PyObject * obj5 = 0 ;
9119 PyObject * obj8 = 0 ;
9120 PyObject * obj9 = 0 ;
9121 char *kwnames[] = {
9122 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9123 };
9124
9125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9127 {
9128 arg3 = wxString_in_helper(obj2);
9129 if (arg3 == NULL) SWIG_fail;
9130 temp3 = True;
9131 }
9132 if (obj3) {
9133 {
9134 arg4 = &temp4;
9135 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9136 }
9137 }
9138 if (obj4) {
9139 {
9140 arg5 = &temp5;
9141 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9142 }
9143 }
9144 if (obj5) {
9145 {
9146 arg6 = PyList_Size(obj5);
9147 arg7 = wxString_LIST_helper(obj5);
9148 if (arg7 == NULL) SWIG_fail;
9149 }
9150 }
9151 if (obj8) {
9152 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9153 if (arg10 == NULL) {
9154 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9155 }
9156 }
9157 if (obj9) {
9158 {
9159 arg11 = wxString_in_helper(obj9);
9160 if (arg11 == NULL) SWIG_fail;
9161 temp10 = True;
9162 }
9163 }
9164 {
9165 PyThreadState* __tstate = wxPyBeginAllowThreads();
9166 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);
9167
9168 wxPyEndAllowThreads(__tstate);
9169 if (PyErr_Occurred()) SWIG_fail;
9170 }
9171 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9172 {
9173 if (temp3)
9174 delete arg3;
9175 }
9176 {
9177 if (arg7) delete [] arg7;
9178 }
9179 {
9180 if (temp10)
9181 delete arg11;
9182 }
9183 return resultobj;
9184 fail:
9185 {
9186 if (temp3)
9187 delete arg3;
9188 }
9189 {
9190 if (arg7) delete [] arg7;
9191 }
9192 {
9193 if (temp10)
9194 delete arg11;
9195 }
9196 return NULL;
9197 }
9198
9199
9200 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9201 PyObject *resultobj;
9202 wxRadioBox *result;
9203 char *kwnames[] = {
9204 NULL
9205 };
9206
9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9208 {
9209 PyThreadState* __tstate = wxPyBeginAllowThreads();
9210 result = (wxRadioBox *)new wxRadioBox();
9211
9212 wxPyEndAllowThreads(__tstate);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 }
9215 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9216 return resultobj;
9217 fail:
9218 return NULL;
9219 }
9220
9221
9222 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9223 PyObject *resultobj;
9224 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9225 wxWindow *arg2 = (wxWindow *) 0 ;
9226 int arg3 ;
9227 wxString *arg4 = 0 ;
9228 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9229 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9230 wxSize const &arg6_defvalue = wxDefaultSize ;
9231 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9232 int arg7 = (int) 0 ;
9233 wxString *arg8 = (wxString *) NULL ;
9234 int arg9 = (int) 0 ;
9235 long arg10 = (long) wxRA_HORIZONTAL ;
9236 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9237 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9238 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9239 wxString *arg12 = (wxString *) &arg12_defvalue ;
9240 bool result;
9241 bool temp4 = False ;
9242 wxPoint temp5 ;
9243 wxSize temp6 ;
9244 bool temp11 = False ;
9245 PyObject * obj0 = 0 ;
9246 PyObject * obj1 = 0 ;
9247 PyObject * obj3 = 0 ;
9248 PyObject * obj4 = 0 ;
9249 PyObject * obj5 = 0 ;
9250 PyObject * obj6 = 0 ;
9251 PyObject * obj9 = 0 ;
9252 PyObject * obj10 = 0 ;
9253 char *kwnames[] = {
9254 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9255 };
9256
9257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9260 {
9261 arg4 = wxString_in_helper(obj3);
9262 if (arg4 == NULL) SWIG_fail;
9263 temp4 = True;
9264 }
9265 if (obj4) {
9266 {
9267 arg5 = &temp5;
9268 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9269 }
9270 }
9271 if (obj5) {
9272 {
9273 arg6 = &temp6;
9274 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9275 }
9276 }
9277 if (obj6) {
9278 {
9279 arg7 = PyList_Size(obj6);
9280 arg8 = wxString_LIST_helper(obj6);
9281 if (arg8 == NULL) SWIG_fail;
9282 }
9283 }
9284 if (obj9) {
9285 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9286 if (arg11 == NULL) {
9287 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9288 }
9289 }
9290 if (obj10) {
9291 {
9292 arg12 = wxString_in_helper(obj10);
9293 if (arg12 == NULL) SWIG_fail;
9294 temp11 = True;
9295 }
9296 }
9297 {
9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
9299 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);
9300
9301 wxPyEndAllowThreads(__tstate);
9302 if (PyErr_Occurred()) SWIG_fail;
9303 }
9304 resultobj = PyInt_FromLong((long)result);
9305 {
9306 if (temp4)
9307 delete arg4;
9308 }
9309 {
9310 if (arg8) delete [] arg8;
9311 }
9312 {
9313 if (temp11)
9314 delete arg12;
9315 }
9316 return resultobj;
9317 fail:
9318 {
9319 if (temp4)
9320 delete arg4;
9321 }
9322 {
9323 if (arg8) delete [] arg8;
9324 }
9325 {
9326 if (temp11)
9327 delete arg12;
9328 }
9329 return NULL;
9330 }
9331
9332
9333 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9334 PyObject *resultobj;
9335 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9336 int arg2 ;
9337 PyObject * obj0 = 0 ;
9338 char *kwnames[] = {
9339 (char *) "self",(char *) "n", NULL
9340 };
9341
9342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9344 {
9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
9346 (arg1)->SetSelection(arg2);
9347
9348 wxPyEndAllowThreads(__tstate);
9349 if (PyErr_Occurred()) SWIG_fail;
9350 }
9351 Py_INCREF(Py_None); resultobj = Py_None;
9352 return resultobj;
9353 fail:
9354 return NULL;
9355 }
9356
9357
9358 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9359 PyObject *resultobj;
9360 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9361 int result;
9362 PyObject * obj0 = 0 ;
9363 char *kwnames[] = {
9364 (char *) "self", NULL
9365 };
9366
9367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9369 {
9370 PyThreadState* __tstate = wxPyBeginAllowThreads();
9371 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9372
9373 wxPyEndAllowThreads(__tstate);
9374 if (PyErr_Occurred()) SWIG_fail;
9375 }
9376 resultobj = PyInt_FromLong((long)result);
9377 return resultobj;
9378 fail:
9379 return NULL;
9380 }
9381
9382
9383 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9384 PyObject *resultobj;
9385 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9386 wxString result;
9387 PyObject * obj0 = 0 ;
9388 char *kwnames[] = {
9389 (char *) "self", NULL
9390 };
9391
9392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9394 {
9395 PyThreadState* __tstate = wxPyBeginAllowThreads();
9396 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9397
9398 wxPyEndAllowThreads(__tstate);
9399 if (PyErr_Occurred()) SWIG_fail;
9400 }
9401 {
9402 #if wxUSE_UNICODE
9403 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9404 #else
9405 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9406 #endif
9407 }
9408 return resultobj;
9409 fail:
9410 return NULL;
9411 }
9412
9413
9414 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9415 PyObject *resultobj;
9416 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9417 wxString *arg2 = 0 ;
9418 bool result;
9419 bool temp2 = False ;
9420 PyObject * obj0 = 0 ;
9421 PyObject * obj1 = 0 ;
9422 char *kwnames[] = {
9423 (char *) "self",(char *) "s", NULL
9424 };
9425
9426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9428 {
9429 arg2 = wxString_in_helper(obj1);
9430 if (arg2 == NULL) SWIG_fail;
9431 temp2 = True;
9432 }
9433 {
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9436
9437 wxPyEndAllowThreads(__tstate);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 }
9440 resultobj = PyInt_FromLong((long)result);
9441 {
9442 if (temp2)
9443 delete arg2;
9444 }
9445 return resultobj;
9446 fail:
9447 {
9448 if (temp2)
9449 delete arg2;
9450 }
9451 return NULL;
9452 }
9453
9454
9455 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9456 PyObject *resultobj;
9457 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9458 int result;
9459 PyObject * obj0 = 0 ;
9460 char *kwnames[] = {
9461 (char *) "self", NULL
9462 };
9463
9464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9466 {
9467 PyThreadState* __tstate = wxPyBeginAllowThreads();
9468 result = (int)((wxRadioBox const *)arg1)->GetCount();
9469
9470 wxPyEndAllowThreads(__tstate);
9471 if (PyErr_Occurred()) SWIG_fail;
9472 }
9473 resultobj = PyInt_FromLong((long)result);
9474 return resultobj;
9475 fail:
9476 return NULL;
9477 }
9478
9479
9480 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9481 PyObject *resultobj;
9482 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9483 wxString *arg2 = 0 ;
9484 int result;
9485 bool temp2 = False ;
9486 PyObject * obj0 = 0 ;
9487 PyObject * obj1 = 0 ;
9488 char *kwnames[] = {
9489 (char *) "self",(char *) "s", NULL
9490 };
9491
9492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9494 {
9495 arg2 = wxString_in_helper(obj1);
9496 if (arg2 == NULL) SWIG_fail;
9497 temp2 = True;
9498 }
9499 {
9500 PyThreadState* __tstate = wxPyBeginAllowThreads();
9501 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9502
9503 wxPyEndAllowThreads(__tstate);
9504 if (PyErr_Occurred()) SWIG_fail;
9505 }
9506 resultobj = PyInt_FromLong((long)result);
9507 {
9508 if (temp2)
9509 delete arg2;
9510 }
9511 return resultobj;
9512 fail:
9513 {
9514 if (temp2)
9515 delete arg2;
9516 }
9517 return NULL;
9518 }
9519
9520
9521 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9522 PyObject *resultobj;
9523 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9524 int arg2 ;
9525 wxString result;
9526 PyObject * obj0 = 0 ;
9527 char *kwnames[] = {
9528 (char *) "self",(char *) "n", NULL
9529 };
9530
9531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9533 {
9534 PyThreadState* __tstate = wxPyBeginAllowThreads();
9535 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9536
9537 wxPyEndAllowThreads(__tstate);
9538 if (PyErr_Occurred()) SWIG_fail;
9539 }
9540 {
9541 #if wxUSE_UNICODE
9542 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9543 #else
9544 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9545 #endif
9546 }
9547 return resultobj;
9548 fail:
9549 return NULL;
9550 }
9551
9552
9553 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9554 PyObject *resultobj;
9555 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9556 int arg2 ;
9557 wxString *arg3 = 0 ;
9558 bool temp3 = False ;
9559 PyObject * obj0 = 0 ;
9560 PyObject * obj2 = 0 ;
9561 char *kwnames[] = {
9562 (char *) "self",(char *) "n",(char *) "label", NULL
9563 };
9564
9565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9567 {
9568 arg3 = wxString_in_helper(obj2);
9569 if (arg3 == NULL) SWIG_fail;
9570 temp3 = True;
9571 }
9572 {
9573 PyThreadState* __tstate = wxPyBeginAllowThreads();
9574 (arg1)->SetString(arg2,(wxString const &)*arg3);
9575
9576 wxPyEndAllowThreads(__tstate);
9577 if (PyErr_Occurred()) SWIG_fail;
9578 }
9579 Py_INCREF(Py_None); resultobj = Py_None;
9580 {
9581 if (temp3)
9582 delete arg3;
9583 }
9584 return resultobj;
9585 fail:
9586 {
9587 if (temp3)
9588 delete arg3;
9589 }
9590 return NULL;
9591 }
9592
9593
9594 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9595 PyObject *resultobj;
9596 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9597 int arg2 ;
9598 bool arg3 = (bool) True ;
9599 PyObject * obj0 = 0 ;
9600 PyObject * obj2 = 0 ;
9601 char *kwnames[] = {
9602 (char *) "self",(char *) "n",(char *) "enable", NULL
9603 };
9604
9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9607 if (obj2) {
9608 arg3 = PyInt_AsLong(obj2) ? true : false;
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 (arg1)->Enable(arg2,arg3);
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 Py_INCREF(Py_None); resultobj = Py_None;
9619 return resultobj;
9620 fail:
9621 return NULL;
9622 }
9623
9624
9625 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9628 int arg2 ;
9629 bool arg3 = (bool) True ;
9630 PyObject * obj0 = 0 ;
9631 PyObject * obj2 = 0 ;
9632 char *kwnames[] = {
9633 (char *) "self",(char *) "n",(char *) "show", NULL
9634 };
9635
9636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9638 if (obj2) {
9639 arg3 = PyInt_AsLong(obj2) ? true : false;
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 {
9643 PyThreadState* __tstate = wxPyBeginAllowThreads();
9644 (arg1)->Show(arg2,arg3);
9645
9646 wxPyEndAllowThreads(__tstate);
9647 if (PyErr_Occurred()) SWIG_fail;
9648 }
9649 Py_INCREF(Py_None); resultobj = Py_None;
9650 return resultobj;
9651 fail:
9652 return NULL;
9653 }
9654
9655
9656 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9657 PyObject *resultobj;
9658 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9659 int result;
9660 PyObject * obj0 = 0 ;
9661 char *kwnames[] = {
9662 (char *) "self", NULL
9663 };
9664
9665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9667 {
9668 PyThreadState* __tstate = wxPyBeginAllowThreads();
9669 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
9670
9671 wxPyEndAllowThreads(__tstate);
9672 if (PyErr_Occurred()) SWIG_fail;
9673 }
9674 resultobj = PyInt_FromLong((long)result);
9675 return resultobj;
9676 fail:
9677 return NULL;
9678 }
9679
9680
9681 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9682 PyObject *resultobj;
9683 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9684 int result;
9685 PyObject * obj0 = 0 ;
9686 char *kwnames[] = {
9687 (char *) "self", NULL
9688 };
9689
9690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9692 {
9693 PyThreadState* __tstate = wxPyBeginAllowThreads();
9694 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
9695
9696 wxPyEndAllowThreads(__tstate);
9697 if (PyErr_Occurred()) SWIG_fail;
9698 }
9699 resultobj = PyInt_FromLong((long)result);
9700 return resultobj;
9701 fail:
9702 return NULL;
9703 }
9704
9705
9706 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9707 PyObject *resultobj;
9708 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9709 int arg2 ;
9710 int arg3 ;
9711 long arg4 ;
9712 int result;
9713 PyObject * obj0 = 0 ;
9714 char *kwnames[] = {
9715 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9716 };
9717
9718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9720 {
9721 PyThreadState* __tstate = wxPyBeginAllowThreads();
9722 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
9723
9724 wxPyEndAllowThreads(__tstate);
9725 if (PyErr_Occurred()) SWIG_fail;
9726 }
9727 resultobj = PyInt_FromLong((long)result);
9728 return resultobj;
9729 fail:
9730 return NULL;
9731 }
9732
9733
9734 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9735 PyObject *obj;
9736 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9737 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9738 Py_INCREF(obj);
9739 return Py_BuildValue((char *)"");
9740 }
9741 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9742 PyObject *resultobj;
9743 wxWindow *arg1 = (wxWindow *) 0 ;
9744 int arg2 ;
9745 wxString *arg3 = 0 ;
9746 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9747 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9748 wxSize const &arg5_defvalue = wxDefaultSize ;
9749 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9750 long arg6 = (long) 0 ;
9751 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9752 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9753 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9754 wxString *arg8 = (wxString *) &arg8_defvalue ;
9755 wxRadioButton *result;
9756 bool temp3 = False ;
9757 wxPoint temp4 ;
9758 wxSize temp5 ;
9759 bool temp8 = False ;
9760 PyObject * obj0 = 0 ;
9761 PyObject * obj2 = 0 ;
9762 PyObject * obj3 = 0 ;
9763 PyObject * obj4 = 0 ;
9764 PyObject * obj6 = 0 ;
9765 PyObject * obj7 = 0 ;
9766 char *kwnames[] = {
9767 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9768 };
9769
9770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9772 {
9773 arg3 = wxString_in_helper(obj2);
9774 if (arg3 == NULL) SWIG_fail;
9775 temp3 = True;
9776 }
9777 if (obj3) {
9778 {
9779 arg4 = &temp4;
9780 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9781 }
9782 }
9783 if (obj4) {
9784 {
9785 arg5 = &temp5;
9786 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9787 }
9788 }
9789 if (obj6) {
9790 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9791 if (arg7 == NULL) {
9792 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9793 }
9794 }
9795 if (obj7) {
9796 {
9797 arg8 = wxString_in_helper(obj7);
9798 if (arg8 == NULL) SWIG_fail;
9799 temp8 = True;
9800 }
9801 }
9802 {
9803 PyThreadState* __tstate = wxPyBeginAllowThreads();
9804 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9805
9806 wxPyEndAllowThreads(__tstate);
9807 if (PyErr_Occurred()) SWIG_fail;
9808 }
9809 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9810 {
9811 if (temp3)
9812 delete arg3;
9813 }
9814 {
9815 if (temp8)
9816 delete arg8;
9817 }
9818 return resultobj;
9819 fail:
9820 {
9821 if (temp3)
9822 delete arg3;
9823 }
9824 {
9825 if (temp8)
9826 delete arg8;
9827 }
9828 return NULL;
9829 }
9830
9831
9832 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9833 PyObject *resultobj;
9834 wxRadioButton *result;
9835 char *kwnames[] = {
9836 NULL
9837 };
9838
9839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9840 {
9841 PyThreadState* __tstate = wxPyBeginAllowThreads();
9842 result = (wxRadioButton *)new wxRadioButton();
9843
9844 wxPyEndAllowThreads(__tstate);
9845 if (PyErr_Occurred()) SWIG_fail;
9846 }
9847 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9848 return resultobj;
9849 fail:
9850 return NULL;
9851 }
9852
9853
9854 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9855 PyObject *resultobj;
9856 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9857 wxWindow *arg2 = (wxWindow *) 0 ;
9858 int arg3 ;
9859 wxString *arg4 = 0 ;
9860 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9861 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9862 wxSize const &arg6_defvalue = wxDefaultSize ;
9863 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9864 long arg7 = (long) 0 ;
9865 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9866 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9867 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
9868 wxString *arg9 = (wxString *) &arg9_defvalue ;
9869 bool result;
9870 bool temp4 = False ;
9871 wxPoint temp5 ;
9872 wxSize temp6 ;
9873 bool temp9 = False ;
9874 PyObject * obj0 = 0 ;
9875 PyObject * obj1 = 0 ;
9876 PyObject * obj3 = 0 ;
9877 PyObject * obj4 = 0 ;
9878 PyObject * obj5 = 0 ;
9879 PyObject * obj7 = 0 ;
9880 PyObject * obj8 = 0 ;
9881 char *kwnames[] = {
9882 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9883 };
9884
9885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
9886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9887 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9888 {
9889 arg4 = wxString_in_helper(obj3);
9890 if (arg4 == NULL) SWIG_fail;
9891 temp4 = True;
9892 }
9893 if (obj4) {
9894 {
9895 arg5 = &temp5;
9896 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9897 }
9898 }
9899 if (obj5) {
9900 {
9901 arg6 = &temp6;
9902 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9903 }
9904 }
9905 if (obj7) {
9906 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9907 if (arg8 == NULL) {
9908 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9909 }
9910 }
9911 if (obj8) {
9912 {
9913 arg9 = wxString_in_helper(obj8);
9914 if (arg9 == NULL) SWIG_fail;
9915 temp9 = True;
9916 }
9917 }
9918 {
9919 PyThreadState* __tstate = wxPyBeginAllowThreads();
9920 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9921
9922 wxPyEndAllowThreads(__tstate);
9923 if (PyErr_Occurred()) SWIG_fail;
9924 }
9925 resultobj = PyInt_FromLong((long)result);
9926 {
9927 if (temp4)
9928 delete arg4;
9929 }
9930 {
9931 if (temp9)
9932 delete arg9;
9933 }
9934 return resultobj;
9935 fail:
9936 {
9937 if (temp4)
9938 delete arg4;
9939 }
9940 {
9941 if (temp9)
9942 delete arg9;
9943 }
9944 return NULL;
9945 }
9946
9947
9948 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj;
9950 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9951 bool result;
9952 PyObject * obj0 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
9958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9959 {
9960 PyThreadState* __tstate = wxPyBeginAllowThreads();
9961 result = (bool)(arg1)->GetValue();
9962
9963 wxPyEndAllowThreads(__tstate);
9964 if (PyErr_Occurred()) SWIG_fail;
9965 }
9966 resultobj = PyInt_FromLong((long)result);
9967 return resultobj;
9968 fail:
9969 return NULL;
9970 }
9971
9972
9973 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9974 PyObject *resultobj;
9975 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9976 bool arg2 ;
9977 PyObject * obj0 = 0 ;
9978 PyObject * obj1 = 0 ;
9979 char *kwnames[] = {
9980 (char *) "self",(char *) "value", NULL
9981 };
9982
9983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
9984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9985 arg2 = PyInt_AsLong(obj1) ? true : false;
9986 if (PyErr_Occurred()) SWIG_fail;
9987 {
9988 PyThreadState* __tstate = wxPyBeginAllowThreads();
9989 (arg1)->SetValue(arg2);
9990
9991 wxPyEndAllowThreads(__tstate);
9992 if (PyErr_Occurred()) SWIG_fail;
9993 }
9994 Py_INCREF(Py_None); resultobj = Py_None;
9995 return resultobj;
9996 fail:
9997 return NULL;
9998 }
9999
10000
10001 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10002 PyObject *obj;
10003 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10004 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10005 Py_INCREF(obj);
10006 return Py_BuildValue((char *)"");
10007 }
10008 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10009 PyObject *resultobj;
10010 wxWindow *arg1 = (wxWindow *) 0 ;
10011 int arg2 ;
10012 int arg3 ;
10013 int arg4 ;
10014 int arg5 ;
10015 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10016 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10017 wxSize const &arg7_defvalue = wxDefaultSize ;
10018 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10019 long arg8 = (long) wxSL_HORIZONTAL ;
10020 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10021 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10022 wxString const &arg10_defvalue = wxPySliderNameStr ;
10023 wxString *arg10 = (wxString *) &arg10_defvalue ;
10024 wxSlider *result;
10025 wxPoint temp6 ;
10026 wxSize temp7 ;
10027 bool temp10 = False ;
10028 PyObject * obj0 = 0 ;
10029 PyObject * obj5 = 0 ;
10030 PyObject * obj6 = 0 ;
10031 PyObject * obj8 = 0 ;
10032 PyObject * obj9 = 0 ;
10033 char *kwnames[] = {
10034 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10035 };
10036
10037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10039 if (obj5) {
10040 {
10041 arg6 = &temp6;
10042 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10043 }
10044 }
10045 if (obj6) {
10046 {
10047 arg7 = &temp7;
10048 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10049 }
10050 }
10051 if (obj8) {
10052 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10053 if (arg9 == NULL) {
10054 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10055 }
10056 }
10057 if (obj9) {
10058 {
10059 arg10 = wxString_in_helper(obj9);
10060 if (arg10 == NULL) SWIG_fail;
10061 temp10 = True;
10062 }
10063 }
10064 {
10065 PyThreadState* __tstate = wxPyBeginAllowThreads();
10066 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10067
10068 wxPyEndAllowThreads(__tstate);
10069 if (PyErr_Occurred()) SWIG_fail;
10070 }
10071 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10072 {
10073 if (temp10)
10074 delete arg10;
10075 }
10076 return resultobj;
10077 fail:
10078 {
10079 if (temp10)
10080 delete arg10;
10081 }
10082 return NULL;
10083 }
10084
10085
10086 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10087 PyObject *resultobj;
10088 wxSlider *result;
10089 char *kwnames[] = {
10090 NULL
10091 };
10092
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10094 {
10095 PyThreadState* __tstate = wxPyBeginAllowThreads();
10096 result = (wxSlider *)new wxSlider();
10097
10098 wxPyEndAllowThreads(__tstate);
10099 if (PyErr_Occurred()) SWIG_fail;
10100 }
10101 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10102 return resultobj;
10103 fail:
10104 return NULL;
10105 }
10106
10107
10108 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10109 PyObject *resultobj;
10110 wxSlider *arg1 = (wxSlider *) 0 ;
10111 wxWindow *arg2 = (wxWindow *) 0 ;
10112 int arg3 ;
10113 int arg4 ;
10114 int arg5 ;
10115 int arg6 ;
10116 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10117 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10118 wxSize const &arg8_defvalue = wxDefaultSize ;
10119 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10120 long arg9 = (long) wxSL_HORIZONTAL ;
10121 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10122 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10123 wxString const &arg11_defvalue = wxPySliderNameStr ;
10124 wxString *arg11 = (wxString *) &arg11_defvalue ;
10125 bool result;
10126 wxPoint temp7 ;
10127 wxSize temp8 ;
10128 bool temp11 = False ;
10129 PyObject * obj0 = 0 ;
10130 PyObject * obj1 = 0 ;
10131 PyObject * obj6 = 0 ;
10132 PyObject * obj7 = 0 ;
10133 PyObject * obj9 = 0 ;
10134 PyObject * obj10 = 0 ;
10135 char *kwnames[] = {
10136 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10137 };
10138
10139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10141 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10142 if (obj6) {
10143 {
10144 arg7 = &temp7;
10145 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10146 }
10147 }
10148 if (obj7) {
10149 {
10150 arg8 = &temp8;
10151 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10152 }
10153 }
10154 if (obj9) {
10155 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10156 if (arg10 == NULL) {
10157 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10158 }
10159 }
10160 if (obj10) {
10161 {
10162 arg11 = wxString_in_helper(obj10);
10163 if (arg11 == NULL) SWIG_fail;
10164 temp11 = True;
10165 }
10166 }
10167 {
10168 PyThreadState* __tstate = wxPyBeginAllowThreads();
10169 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10170
10171 wxPyEndAllowThreads(__tstate);
10172 if (PyErr_Occurred()) SWIG_fail;
10173 }
10174 resultobj = PyInt_FromLong((long)result);
10175 {
10176 if (temp11)
10177 delete arg11;
10178 }
10179 return resultobj;
10180 fail:
10181 {
10182 if (temp11)
10183 delete arg11;
10184 }
10185 return NULL;
10186 }
10187
10188
10189 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10190 PyObject *resultobj;
10191 wxSlider *arg1 = (wxSlider *) 0 ;
10192 int result;
10193 PyObject * obj0 = 0 ;
10194 char *kwnames[] = {
10195 (char *) "self", NULL
10196 };
10197
10198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10200 {
10201 PyThreadState* __tstate = wxPyBeginAllowThreads();
10202 result = (int)((wxSlider const *)arg1)->GetValue();
10203
10204 wxPyEndAllowThreads(__tstate);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 }
10207 resultobj = PyInt_FromLong((long)result);
10208 return resultobj;
10209 fail:
10210 return NULL;
10211 }
10212
10213
10214 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10215 PyObject *resultobj;
10216 wxSlider *arg1 = (wxSlider *) 0 ;
10217 int arg2 ;
10218 PyObject * obj0 = 0 ;
10219 char *kwnames[] = {
10220 (char *) "self",(char *) "value", NULL
10221 };
10222
10223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
10227 (arg1)->SetValue(arg2);
10228
10229 wxPyEndAllowThreads(__tstate);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 }
10232 Py_INCREF(Py_None); resultobj = Py_None;
10233 return resultobj;
10234 fail:
10235 return NULL;
10236 }
10237
10238
10239 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10240 PyObject *resultobj;
10241 wxSlider *arg1 = (wxSlider *) 0 ;
10242 int arg2 ;
10243 int arg3 ;
10244 PyObject * obj0 = 0 ;
10245 char *kwnames[] = {
10246 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10247 };
10248
10249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10251 {
10252 PyThreadState* __tstate = wxPyBeginAllowThreads();
10253 (arg1)->SetRange(arg2,arg3);
10254
10255 wxPyEndAllowThreads(__tstate);
10256 if (PyErr_Occurred()) SWIG_fail;
10257 }
10258 Py_INCREF(Py_None); resultobj = Py_None;
10259 return resultobj;
10260 fail:
10261 return NULL;
10262 }
10263
10264
10265 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10266 PyObject *resultobj;
10267 wxSlider *arg1 = (wxSlider *) 0 ;
10268 int result;
10269 PyObject * obj0 = 0 ;
10270 char *kwnames[] = {
10271 (char *) "self", NULL
10272 };
10273
10274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10276 {
10277 PyThreadState* __tstate = wxPyBeginAllowThreads();
10278 result = (int)((wxSlider const *)arg1)->GetMin();
10279
10280 wxPyEndAllowThreads(__tstate);
10281 if (PyErr_Occurred()) SWIG_fail;
10282 }
10283 resultobj = PyInt_FromLong((long)result);
10284 return resultobj;
10285 fail:
10286 return NULL;
10287 }
10288
10289
10290 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10291 PyObject *resultobj;
10292 wxSlider *arg1 = (wxSlider *) 0 ;
10293 int result;
10294 PyObject * obj0 = 0 ;
10295 char *kwnames[] = {
10296 (char *) "self", NULL
10297 };
10298
10299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10301 {
10302 PyThreadState* __tstate = wxPyBeginAllowThreads();
10303 result = (int)((wxSlider const *)arg1)->GetMax();
10304
10305 wxPyEndAllowThreads(__tstate);
10306 if (PyErr_Occurred()) SWIG_fail;
10307 }
10308 resultobj = PyInt_FromLong((long)result);
10309 return resultobj;
10310 fail:
10311 return NULL;
10312 }
10313
10314
10315 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10316 PyObject *resultobj;
10317 wxSlider *arg1 = (wxSlider *) 0 ;
10318 int arg2 ;
10319 PyObject * obj0 = 0 ;
10320 char *kwnames[] = {
10321 (char *) "self",(char *) "minValue", NULL
10322 };
10323
10324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10326 {
10327 PyThreadState* __tstate = wxPyBeginAllowThreads();
10328 (arg1)->SetMin(arg2);
10329
10330 wxPyEndAllowThreads(__tstate);
10331 if (PyErr_Occurred()) SWIG_fail;
10332 }
10333 Py_INCREF(Py_None); resultobj = Py_None;
10334 return resultobj;
10335 fail:
10336 return NULL;
10337 }
10338
10339
10340 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10341 PyObject *resultobj;
10342 wxSlider *arg1 = (wxSlider *) 0 ;
10343 int arg2 ;
10344 PyObject * obj0 = 0 ;
10345 char *kwnames[] = {
10346 (char *) "self",(char *) "maxValue", NULL
10347 };
10348
10349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10351 {
10352 PyThreadState* __tstate = wxPyBeginAllowThreads();
10353 (arg1)->SetMax(arg2);
10354
10355 wxPyEndAllowThreads(__tstate);
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
10358 Py_INCREF(Py_None); resultobj = Py_None;
10359 return resultobj;
10360 fail:
10361 return NULL;
10362 }
10363
10364
10365 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10366 PyObject *resultobj;
10367 wxSlider *arg1 = (wxSlider *) 0 ;
10368 int arg2 ;
10369 PyObject * obj0 = 0 ;
10370 char *kwnames[] = {
10371 (char *) "self",(char *) "lineSize", NULL
10372 };
10373
10374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10376 {
10377 PyThreadState* __tstate = wxPyBeginAllowThreads();
10378 (arg1)->SetLineSize(arg2);
10379
10380 wxPyEndAllowThreads(__tstate);
10381 if (PyErr_Occurred()) SWIG_fail;
10382 }
10383 Py_INCREF(Py_None); resultobj = Py_None;
10384 return resultobj;
10385 fail:
10386 return NULL;
10387 }
10388
10389
10390 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10391 PyObject *resultobj;
10392 wxSlider *arg1 = (wxSlider *) 0 ;
10393 int arg2 ;
10394 PyObject * obj0 = 0 ;
10395 char *kwnames[] = {
10396 (char *) "self",(char *) "pageSize", NULL
10397 };
10398
10399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10401 {
10402 PyThreadState* __tstate = wxPyBeginAllowThreads();
10403 (arg1)->SetPageSize(arg2);
10404
10405 wxPyEndAllowThreads(__tstate);
10406 if (PyErr_Occurred()) SWIG_fail;
10407 }
10408 Py_INCREF(Py_None); resultobj = Py_None;
10409 return resultobj;
10410 fail:
10411 return NULL;
10412 }
10413
10414
10415 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10416 PyObject *resultobj;
10417 wxSlider *arg1 = (wxSlider *) 0 ;
10418 int result;
10419 PyObject * obj0 = 0 ;
10420 char *kwnames[] = {
10421 (char *) "self", NULL
10422 };
10423
10424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10426 {
10427 PyThreadState* __tstate = wxPyBeginAllowThreads();
10428 result = (int)((wxSlider const *)arg1)->GetLineSize();
10429
10430 wxPyEndAllowThreads(__tstate);
10431 if (PyErr_Occurred()) SWIG_fail;
10432 }
10433 resultobj = PyInt_FromLong((long)result);
10434 return resultobj;
10435 fail:
10436 return NULL;
10437 }
10438
10439
10440 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10441 PyObject *resultobj;
10442 wxSlider *arg1 = (wxSlider *) 0 ;
10443 int result;
10444 PyObject * obj0 = 0 ;
10445 char *kwnames[] = {
10446 (char *) "self", NULL
10447 };
10448
10449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10451 {
10452 PyThreadState* __tstate = wxPyBeginAllowThreads();
10453 result = (int)((wxSlider const *)arg1)->GetPageSize();
10454
10455 wxPyEndAllowThreads(__tstate);
10456 if (PyErr_Occurred()) SWIG_fail;
10457 }
10458 resultobj = PyInt_FromLong((long)result);
10459 return resultobj;
10460 fail:
10461 return NULL;
10462 }
10463
10464
10465 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10466 PyObject *resultobj;
10467 wxSlider *arg1 = (wxSlider *) 0 ;
10468 int arg2 ;
10469 PyObject * obj0 = 0 ;
10470 char *kwnames[] = {
10471 (char *) "self",(char *) "lenPixels", NULL
10472 };
10473
10474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10476 {
10477 PyThreadState* __tstate = wxPyBeginAllowThreads();
10478 (arg1)->SetThumbLength(arg2);
10479
10480 wxPyEndAllowThreads(__tstate);
10481 if (PyErr_Occurred()) SWIG_fail;
10482 }
10483 Py_INCREF(Py_None); resultobj = Py_None;
10484 return resultobj;
10485 fail:
10486 return NULL;
10487 }
10488
10489
10490 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10491 PyObject *resultobj;
10492 wxSlider *arg1 = (wxSlider *) 0 ;
10493 int result;
10494 PyObject * obj0 = 0 ;
10495 char *kwnames[] = {
10496 (char *) "self", NULL
10497 };
10498
10499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10501 {
10502 PyThreadState* __tstate = wxPyBeginAllowThreads();
10503 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10504
10505 wxPyEndAllowThreads(__tstate);
10506 if (PyErr_Occurred()) SWIG_fail;
10507 }
10508 resultobj = PyInt_FromLong((long)result);
10509 return resultobj;
10510 fail:
10511 return NULL;
10512 }
10513
10514
10515 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10516 PyObject *resultobj;
10517 wxSlider *arg1 = (wxSlider *) 0 ;
10518 int arg2 ;
10519 int arg3 ;
10520 PyObject * obj0 = 0 ;
10521 char *kwnames[] = {
10522 (char *) "self",(char *) "n",(char *) "pos", NULL
10523 };
10524
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10527 {
10528 PyThreadState* __tstate = wxPyBeginAllowThreads();
10529 (arg1)->SetTickFreq(arg2,arg3);
10530
10531 wxPyEndAllowThreads(__tstate);
10532 if (PyErr_Occurred()) SWIG_fail;
10533 }
10534 Py_INCREF(Py_None); resultobj = Py_None;
10535 return resultobj;
10536 fail:
10537 return NULL;
10538 }
10539
10540
10541 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10542 PyObject *resultobj;
10543 wxSlider *arg1 = (wxSlider *) 0 ;
10544 int result;
10545 PyObject * obj0 = 0 ;
10546 char *kwnames[] = {
10547 (char *) "self", NULL
10548 };
10549
10550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10552 {
10553 PyThreadState* __tstate = wxPyBeginAllowThreads();
10554 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10555
10556 wxPyEndAllowThreads(__tstate);
10557 if (PyErr_Occurred()) SWIG_fail;
10558 }
10559 resultobj = PyInt_FromLong((long)result);
10560 return resultobj;
10561 fail:
10562 return NULL;
10563 }
10564
10565
10566 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10567 PyObject *resultobj;
10568 wxSlider *arg1 = (wxSlider *) 0 ;
10569 PyObject * obj0 = 0 ;
10570 char *kwnames[] = {
10571 (char *) "self", NULL
10572 };
10573
10574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10576 {
10577 PyThreadState* __tstate = wxPyBeginAllowThreads();
10578 (arg1)->ClearTicks();
10579
10580 wxPyEndAllowThreads(__tstate);
10581 if (PyErr_Occurred()) SWIG_fail;
10582 }
10583 Py_INCREF(Py_None); resultobj = Py_None;
10584 return resultobj;
10585 fail:
10586 return NULL;
10587 }
10588
10589
10590 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10591 PyObject *resultobj;
10592 wxSlider *arg1 = (wxSlider *) 0 ;
10593 int arg2 ;
10594 PyObject * obj0 = 0 ;
10595 char *kwnames[] = {
10596 (char *) "self",(char *) "tickPos", NULL
10597 };
10598
10599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10601 {
10602 PyThreadState* __tstate = wxPyBeginAllowThreads();
10603 (arg1)->SetTick(arg2);
10604
10605 wxPyEndAllowThreads(__tstate);
10606 if (PyErr_Occurred()) SWIG_fail;
10607 }
10608 Py_INCREF(Py_None); resultobj = Py_None;
10609 return resultobj;
10610 fail:
10611 return NULL;
10612 }
10613
10614
10615 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10616 PyObject *resultobj;
10617 wxSlider *arg1 = (wxSlider *) 0 ;
10618 PyObject * obj0 = 0 ;
10619 char *kwnames[] = {
10620 (char *) "self", NULL
10621 };
10622
10623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10625 {
10626 PyThreadState* __tstate = wxPyBeginAllowThreads();
10627 (arg1)->ClearSel();
10628
10629 wxPyEndAllowThreads(__tstate);
10630 if (PyErr_Occurred()) SWIG_fail;
10631 }
10632 Py_INCREF(Py_None); resultobj = Py_None;
10633 return resultobj;
10634 fail:
10635 return NULL;
10636 }
10637
10638
10639 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10640 PyObject *resultobj;
10641 wxSlider *arg1 = (wxSlider *) 0 ;
10642 int result;
10643 PyObject * obj0 = 0 ;
10644 char *kwnames[] = {
10645 (char *) "self", NULL
10646 };
10647
10648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10650 {
10651 PyThreadState* __tstate = wxPyBeginAllowThreads();
10652 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10653
10654 wxPyEndAllowThreads(__tstate);
10655 if (PyErr_Occurred()) SWIG_fail;
10656 }
10657 resultobj = PyInt_FromLong((long)result);
10658 return resultobj;
10659 fail:
10660 return NULL;
10661 }
10662
10663
10664 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10665 PyObject *resultobj;
10666 wxSlider *arg1 = (wxSlider *) 0 ;
10667 int result;
10668 PyObject * obj0 = 0 ;
10669 char *kwnames[] = {
10670 (char *) "self", NULL
10671 };
10672
10673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10675 {
10676 PyThreadState* __tstate = wxPyBeginAllowThreads();
10677 result = (int)((wxSlider const *)arg1)->GetSelStart();
10678
10679 wxPyEndAllowThreads(__tstate);
10680 if (PyErr_Occurred()) SWIG_fail;
10681 }
10682 resultobj = PyInt_FromLong((long)result);
10683 return resultobj;
10684 fail:
10685 return NULL;
10686 }
10687
10688
10689 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10690 PyObject *resultobj;
10691 wxSlider *arg1 = (wxSlider *) 0 ;
10692 int arg2 ;
10693 int arg3 ;
10694 PyObject * obj0 = 0 ;
10695 char *kwnames[] = {
10696 (char *) "self",(char *) "min",(char *) "max", NULL
10697 };
10698
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10701 {
10702 PyThreadState* __tstate = wxPyBeginAllowThreads();
10703 (arg1)->SetSelection(arg2,arg3);
10704
10705 wxPyEndAllowThreads(__tstate);
10706 if (PyErr_Occurred()) SWIG_fail;
10707 }
10708 Py_INCREF(Py_None); resultobj = Py_None;
10709 return resultobj;
10710 fail:
10711 return NULL;
10712 }
10713
10714
10715 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10716 PyObject *obj;
10717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10718 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10719 Py_INCREF(obj);
10720 return Py_BuildValue((char *)"");
10721 }
10722 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10723 PyObject *resultobj;
10724 wxWindow *arg1 = (wxWindow *) 0 ;
10725 int arg2 ;
10726 wxString *arg3 = 0 ;
10727 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10728 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10729 wxSize const &arg5_defvalue = wxDefaultSize ;
10730 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10731 long arg6 = (long) 0 ;
10732 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10733 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10734 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10735 wxString *arg8 = (wxString *) &arg8_defvalue ;
10736 wxToggleButton *result;
10737 bool temp3 = False ;
10738 wxPoint temp4 ;
10739 wxSize temp5 ;
10740 bool temp8 = False ;
10741 PyObject * obj0 = 0 ;
10742 PyObject * obj2 = 0 ;
10743 PyObject * obj3 = 0 ;
10744 PyObject * obj4 = 0 ;
10745 PyObject * obj6 = 0 ;
10746 PyObject * obj7 = 0 ;
10747 char *kwnames[] = {
10748 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10749 };
10750
10751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10753 {
10754 arg3 = wxString_in_helper(obj2);
10755 if (arg3 == NULL) SWIG_fail;
10756 temp3 = True;
10757 }
10758 if (obj3) {
10759 {
10760 arg4 = &temp4;
10761 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10762 }
10763 }
10764 if (obj4) {
10765 {
10766 arg5 = &temp5;
10767 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10768 }
10769 }
10770 if (obj6) {
10771 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10772 if (arg7 == NULL) {
10773 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10774 }
10775 }
10776 if (obj7) {
10777 {
10778 arg8 = wxString_in_helper(obj7);
10779 if (arg8 == NULL) SWIG_fail;
10780 temp8 = True;
10781 }
10782 }
10783 {
10784 PyThreadState* __tstate = wxPyBeginAllowThreads();
10785 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10786
10787 wxPyEndAllowThreads(__tstate);
10788 if (PyErr_Occurred()) SWIG_fail;
10789 }
10790 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10791 {
10792 if (temp3)
10793 delete arg3;
10794 }
10795 {
10796 if (temp8)
10797 delete arg8;
10798 }
10799 return resultobj;
10800 fail:
10801 {
10802 if (temp3)
10803 delete arg3;
10804 }
10805 {
10806 if (temp8)
10807 delete arg8;
10808 }
10809 return NULL;
10810 }
10811
10812
10813 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10814 PyObject *resultobj;
10815 wxToggleButton *result;
10816 char *kwnames[] = {
10817 NULL
10818 };
10819
10820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10821 {
10822 PyThreadState* __tstate = wxPyBeginAllowThreads();
10823 result = (wxToggleButton *)new wxToggleButton();
10824
10825 wxPyEndAllowThreads(__tstate);
10826 if (PyErr_Occurred()) SWIG_fail;
10827 }
10828 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10829 return resultobj;
10830 fail:
10831 return NULL;
10832 }
10833
10834
10835 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
10836 PyObject *obj;
10837 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10838 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
10839 Py_INCREF(obj);
10840 return Py_BuildValue((char *)"");
10841 }
10842 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10843 PyObject *resultobj;
10844 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10845 size_t result;
10846 PyObject * obj0 = 0 ;
10847 char *kwnames[] = {
10848 (char *) "self", NULL
10849 };
10850
10851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
10852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10853 {
10854 PyThreadState* __tstate = wxPyBeginAllowThreads();
10855 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
10856
10857 wxPyEndAllowThreads(__tstate);
10858 if (PyErr_Occurred()) SWIG_fail;
10859 }
10860 resultobj = PyInt_FromLong((long)result);
10861 return resultobj;
10862 fail:
10863 return NULL;
10864 }
10865
10866
10867 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
10868 PyObject *resultobj;
10869 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10870 size_t arg2 ;
10871 wxWindow *result;
10872 PyObject * obj0 = 0 ;
10873 PyObject * obj1 = 0 ;
10874 char *kwnames[] = {
10875 (char *) "self",(char *) "n", NULL
10876 };
10877
10878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
10879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10880 arg2 = (size_t) PyInt_AsLong(obj1);
10881 if (PyErr_Occurred()) SWIG_fail;
10882 {
10883 PyThreadState* __tstate = wxPyBeginAllowThreads();
10884 result = (wxWindow *)(arg1)->GetPage(arg2);
10885
10886 wxPyEndAllowThreads(__tstate);
10887 if (PyErr_Occurred()) SWIG_fail;
10888 }
10889 {
10890 resultobj = wxPyMake_wxObject(result);
10891 }
10892 return resultobj;
10893 fail:
10894 return NULL;
10895 }
10896
10897
10898 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10899 PyObject *resultobj;
10900 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10901 int result;
10902 PyObject * obj0 = 0 ;
10903 char *kwnames[] = {
10904 (char *) "self", NULL
10905 };
10906
10907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
10908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10909 {
10910 PyThreadState* __tstate = wxPyBeginAllowThreads();
10911 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
10912
10913 wxPyEndAllowThreads(__tstate);
10914 if (PyErr_Occurred()) SWIG_fail;
10915 }
10916 resultobj = PyInt_FromLong((long)result);
10917 return resultobj;
10918 fail:
10919 return NULL;
10920 }
10921
10922
10923 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
10924 PyObject *resultobj;
10925 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10926 size_t arg2 ;
10927 wxString *arg3 = 0 ;
10928 bool result;
10929 bool temp3 = False ;
10930 PyObject * obj0 = 0 ;
10931 PyObject * obj1 = 0 ;
10932 PyObject * obj2 = 0 ;
10933 char *kwnames[] = {
10934 (char *) "self",(char *) "n",(char *) "strText", NULL
10935 };
10936
10937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
10938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10939 arg2 = (size_t) PyInt_AsLong(obj1);
10940 if (PyErr_Occurred()) SWIG_fail;
10941 {
10942 arg3 = wxString_in_helper(obj2);
10943 if (arg3 == NULL) SWIG_fail;
10944 temp3 = True;
10945 }
10946 {
10947 PyThreadState* __tstate = wxPyBeginAllowThreads();
10948 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
10949
10950 wxPyEndAllowThreads(__tstate);
10951 if (PyErr_Occurred()) SWIG_fail;
10952 }
10953 resultobj = PyInt_FromLong((long)result);
10954 {
10955 if (temp3)
10956 delete arg3;
10957 }
10958 return resultobj;
10959 fail:
10960 {
10961 if (temp3)
10962 delete arg3;
10963 }
10964 return NULL;
10965 }
10966
10967
10968 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
10969 PyObject *resultobj;
10970 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
10971 size_t arg2 ;
10972 wxString result;
10973 PyObject * obj0 = 0 ;
10974 PyObject * obj1 = 0 ;
10975 char *kwnames[] = {
10976 (char *) "self",(char *) "n", NULL
10977 };
10978
10979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
10980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10981 arg2 = (size_t) PyInt_AsLong(obj1);
10982 if (PyErr_Occurred()) SWIG_fail;
10983 {
10984 PyThreadState* __tstate = wxPyBeginAllowThreads();
10985 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
10986
10987 wxPyEndAllowThreads(__tstate);
10988 if (PyErr_Occurred()) SWIG_fail;
10989 }
10990 {
10991 #if wxUSE_UNICODE
10992 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10993 #else
10994 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10995 #endif
10996 }
10997 return resultobj;
10998 fail:
10999 return NULL;
11000 }
11001
11002
11003 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11004 PyObject *resultobj;
11005 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11006 wxImageList *arg2 = (wxImageList *) 0 ;
11007 PyObject * obj0 = 0 ;
11008 PyObject * obj1 = 0 ;
11009 char *kwnames[] = {
11010 (char *) "self",(char *) "imageList", NULL
11011 };
11012
11013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11016 {
11017 PyThreadState* __tstate = wxPyBeginAllowThreads();
11018 (arg1)->SetImageList(arg2);
11019
11020 wxPyEndAllowThreads(__tstate);
11021 if (PyErr_Occurred()) SWIG_fail;
11022 }
11023 Py_INCREF(Py_None); resultobj = Py_None;
11024 return resultobj;
11025 fail:
11026 return NULL;
11027 }
11028
11029
11030 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11031 PyObject *resultobj;
11032 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11033 wxImageList *arg2 = (wxImageList *) 0 ;
11034 PyObject * obj0 = 0 ;
11035 PyObject * obj1 = 0 ;
11036 char *kwnames[] = {
11037 (char *) "self",(char *) "imageList", NULL
11038 };
11039
11040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11043 {
11044 PyThreadState* __tstate = wxPyBeginAllowThreads();
11045 (arg1)->AssignImageList(arg2);
11046
11047 wxPyEndAllowThreads(__tstate);
11048 if (PyErr_Occurred()) SWIG_fail;
11049 }
11050 Py_INCREF(Py_None); resultobj = Py_None;
11051 return resultobj;
11052 fail:
11053 return NULL;
11054 }
11055
11056
11057 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11058 PyObject *resultobj;
11059 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11060 wxImageList *result;
11061 PyObject * obj0 = 0 ;
11062 char *kwnames[] = {
11063 (char *) "self", NULL
11064 };
11065
11066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11068 {
11069 PyThreadState* __tstate = wxPyBeginAllowThreads();
11070 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11071
11072 wxPyEndAllowThreads(__tstate);
11073 if (PyErr_Occurred()) SWIG_fail;
11074 }
11075 {
11076 resultobj = wxPyMake_wxObject(result);
11077 }
11078 return resultobj;
11079 fail:
11080 return NULL;
11081 }
11082
11083
11084 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11085 PyObject *resultobj;
11086 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11087 size_t arg2 ;
11088 int result;
11089 PyObject * obj0 = 0 ;
11090 PyObject * obj1 = 0 ;
11091 char *kwnames[] = {
11092 (char *) "self",(char *) "n", NULL
11093 };
11094
11095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11097 arg2 = (size_t) PyInt_AsLong(obj1);
11098 if (PyErr_Occurred()) SWIG_fail;
11099 {
11100 PyThreadState* __tstate = wxPyBeginAllowThreads();
11101 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11102
11103 wxPyEndAllowThreads(__tstate);
11104 if (PyErr_Occurred()) SWIG_fail;
11105 }
11106 resultobj = PyInt_FromLong((long)result);
11107 return resultobj;
11108 fail:
11109 return NULL;
11110 }
11111
11112
11113 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11114 PyObject *resultobj;
11115 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11116 size_t arg2 ;
11117 int arg3 ;
11118 bool result;
11119 PyObject * obj0 = 0 ;
11120 PyObject * obj1 = 0 ;
11121 char *kwnames[] = {
11122 (char *) "self",(char *) "n",(char *) "imageId", NULL
11123 };
11124
11125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11127 arg2 = (size_t) PyInt_AsLong(obj1);
11128 if (PyErr_Occurred()) SWIG_fail;
11129 {
11130 PyThreadState* __tstate = wxPyBeginAllowThreads();
11131 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11132
11133 wxPyEndAllowThreads(__tstate);
11134 if (PyErr_Occurred()) SWIG_fail;
11135 }
11136 resultobj = PyInt_FromLong((long)result);
11137 return resultobj;
11138 fail:
11139 return NULL;
11140 }
11141
11142
11143 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11144 PyObject *resultobj;
11145 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11146 wxSize *arg2 = 0 ;
11147 wxSize temp2 ;
11148 PyObject * obj0 = 0 ;
11149 PyObject * obj1 = 0 ;
11150 char *kwnames[] = {
11151 (char *) "self",(char *) "size", NULL
11152 };
11153
11154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11156 {
11157 arg2 = &temp2;
11158 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11159 }
11160 {
11161 PyThreadState* __tstate = wxPyBeginAllowThreads();
11162 (arg1)->SetPageSize((wxSize const &)*arg2);
11163
11164 wxPyEndAllowThreads(__tstate);
11165 if (PyErr_Occurred()) SWIG_fail;
11166 }
11167 Py_INCREF(Py_None); resultobj = Py_None;
11168 return resultobj;
11169 fail:
11170 return NULL;
11171 }
11172
11173
11174 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11175 PyObject *resultobj;
11176 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11177 wxSize *arg2 = 0 ;
11178 wxSize result;
11179 wxSize temp2 ;
11180 PyObject * obj0 = 0 ;
11181 PyObject * obj1 = 0 ;
11182 char *kwnames[] = {
11183 (char *) "self",(char *) "sizePage", NULL
11184 };
11185
11186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11188 {
11189 arg2 = &temp2;
11190 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11191 }
11192 {
11193 PyThreadState* __tstate = wxPyBeginAllowThreads();
11194 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11195
11196 wxPyEndAllowThreads(__tstate);
11197 if (PyErr_Occurred()) SWIG_fail;
11198 }
11199 {
11200 wxSize * resultptr;
11201 resultptr = new wxSize((wxSize &) result);
11202 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11203 }
11204 return resultobj;
11205 fail:
11206 return NULL;
11207 }
11208
11209
11210 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11211 PyObject *resultobj;
11212 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11213 size_t arg2 ;
11214 bool result;
11215 PyObject * obj0 = 0 ;
11216 PyObject * obj1 = 0 ;
11217 char *kwnames[] = {
11218 (char *) "self",(char *) "n", NULL
11219 };
11220
11221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11223 arg2 = (size_t) PyInt_AsLong(obj1);
11224 if (PyErr_Occurred()) SWIG_fail;
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 result = (bool)(arg1)->DeletePage(arg2);
11228
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 resultobj = PyInt_FromLong((long)result);
11233 return resultobj;
11234 fail:
11235 return NULL;
11236 }
11237
11238
11239 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11240 PyObject *resultobj;
11241 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11242 size_t arg2 ;
11243 bool result;
11244 PyObject * obj0 = 0 ;
11245 PyObject * obj1 = 0 ;
11246 char *kwnames[] = {
11247 (char *) "self",(char *) "n", NULL
11248 };
11249
11250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11252 arg2 = (size_t) PyInt_AsLong(obj1);
11253 if (PyErr_Occurred()) SWIG_fail;
11254 {
11255 PyThreadState* __tstate = wxPyBeginAllowThreads();
11256 result = (bool)(arg1)->RemovePage(arg2);
11257
11258 wxPyEndAllowThreads(__tstate);
11259 if (PyErr_Occurred()) SWIG_fail;
11260 }
11261 resultobj = PyInt_FromLong((long)result);
11262 return resultobj;
11263 fail:
11264 return NULL;
11265 }
11266
11267
11268 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11269 PyObject *resultobj;
11270 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11271 bool result;
11272 PyObject * obj0 = 0 ;
11273 char *kwnames[] = {
11274 (char *) "self", NULL
11275 };
11276
11277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11279 {
11280 PyThreadState* __tstate = wxPyBeginAllowThreads();
11281 result = (bool)(arg1)->DeleteAllPages();
11282
11283 wxPyEndAllowThreads(__tstate);
11284 if (PyErr_Occurred()) SWIG_fail;
11285 }
11286 resultobj = PyInt_FromLong((long)result);
11287 return resultobj;
11288 fail:
11289 return NULL;
11290 }
11291
11292
11293 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11294 PyObject *resultobj;
11295 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11296 wxWindow *arg2 = (wxWindow *) 0 ;
11297 wxString *arg3 = 0 ;
11298 bool arg4 = (bool) False ;
11299 int arg5 = (int) -1 ;
11300 bool result;
11301 bool temp3 = False ;
11302 PyObject * obj0 = 0 ;
11303 PyObject * obj1 = 0 ;
11304 PyObject * obj2 = 0 ;
11305 PyObject * obj3 = 0 ;
11306 char *kwnames[] = {
11307 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11308 };
11309
11310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11312 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11313 {
11314 arg3 = wxString_in_helper(obj2);
11315 if (arg3 == NULL) SWIG_fail;
11316 temp3 = True;
11317 }
11318 if (obj3) {
11319 arg4 = PyInt_AsLong(obj3) ? true : false;
11320 if (PyErr_Occurred()) SWIG_fail;
11321 }
11322 {
11323 PyThreadState* __tstate = wxPyBeginAllowThreads();
11324 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11325
11326 wxPyEndAllowThreads(__tstate);
11327 if (PyErr_Occurred()) SWIG_fail;
11328 }
11329 resultobj = PyInt_FromLong((long)result);
11330 {
11331 if (temp3)
11332 delete arg3;
11333 }
11334 return resultobj;
11335 fail:
11336 {
11337 if (temp3)
11338 delete arg3;
11339 }
11340 return NULL;
11341 }
11342
11343
11344 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11345 PyObject *resultobj;
11346 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11347 size_t arg2 ;
11348 wxWindow *arg3 = (wxWindow *) 0 ;
11349 wxString *arg4 = 0 ;
11350 bool arg5 = (bool) False ;
11351 int arg6 = (int) -1 ;
11352 bool result;
11353 bool temp4 = False ;
11354 PyObject * obj0 = 0 ;
11355 PyObject * obj1 = 0 ;
11356 PyObject * obj2 = 0 ;
11357 PyObject * obj3 = 0 ;
11358 PyObject * obj4 = 0 ;
11359 char *kwnames[] = {
11360 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11361 };
11362
11363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11365 arg2 = (size_t) PyInt_AsLong(obj1);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11368 {
11369 arg4 = wxString_in_helper(obj3);
11370 if (arg4 == NULL) SWIG_fail;
11371 temp4 = True;
11372 }
11373 if (obj4) {
11374 arg5 = PyInt_AsLong(obj4) ? true : false;
11375 if (PyErr_Occurred()) SWIG_fail;
11376 }
11377 {
11378 PyThreadState* __tstate = wxPyBeginAllowThreads();
11379 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11380
11381 wxPyEndAllowThreads(__tstate);
11382 if (PyErr_Occurred()) SWIG_fail;
11383 }
11384 resultobj = PyInt_FromLong((long)result);
11385 {
11386 if (temp4)
11387 delete arg4;
11388 }
11389 return resultobj;
11390 fail:
11391 {
11392 if (temp4)
11393 delete arg4;
11394 }
11395 return NULL;
11396 }
11397
11398
11399 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11400 PyObject *resultobj;
11401 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11402 size_t arg2 ;
11403 int result;
11404 PyObject * obj0 = 0 ;
11405 PyObject * obj1 = 0 ;
11406 char *kwnames[] = {
11407 (char *) "self",(char *) "n", NULL
11408 };
11409
11410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11412 arg2 = (size_t) PyInt_AsLong(obj1);
11413 if (PyErr_Occurred()) SWIG_fail;
11414 {
11415 PyThreadState* __tstate = wxPyBeginAllowThreads();
11416 result = (int)(arg1)->SetSelection(arg2);
11417
11418 wxPyEndAllowThreads(__tstate);
11419 if (PyErr_Occurred()) SWIG_fail;
11420 }
11421 resultobj = PyInt_FromLong((long)result);
11422 return resultobj;
11423 fail:
11424 return NULL;
11425 }
11426
11427
11428 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11429 PyObject *resultobj;
11430 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11431 bool arg2 = (bool) True ;
11432 PyObject * obj0 = 0 ;
11433 PyObject * obj1 = 0 ;
11434 char *kwnames[] = {
11435 (char *) "self",(char *) "forward", NULL
11436 };
11437
11438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11440 if (obj1) {
11441 arg2 = PyInt_AsLong(obj1) ? true : false;
11442 if (PyErr_Occurred()) SWIG_fail;
11443 }
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 (arg1)->AdvanceSelection(arg2);
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 Py_INCREF(Py_None); resultobj = Py_None;
11452 return resultobj;
11453 fail:
11454 return NULL;
11455 }
11456
11457
11458 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11459 PyObject *obj;
11460 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11461 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11462 Py_INCREF(obj);
11463 return Py_BuildValue((char *)"");
11464 }
11465 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11466 PyObject *resultobj;
11467 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11468 int arg2 = (int) 0 ;
11469 int arg3 = (int) -1 ;
11470 int arg4 = (int) -1 ;
11471 wxBookCtrlEvent *result;
11472 char *kwnames[] = {
11473 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11474 };
11475
11476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11477 {
11478 PyThreadState* __tstate = wxPyBeginAllowThreads();
11479 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11480
11481 wxPyEndAllowThreads(__tstate);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 }
11484 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11485 return resultobj;
11486 fail:
11487 return NULL;
11488 }
11489
11490
11491 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11492 PyObject *resultobj;
11493 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11494 int result;
11495 PyObject * obj0 = 0 ;
11496 char *kwnames[] = {
11497 (char *) "self", NULL
11498 };
11499
11500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11502 {
11503 PyThreadState* __tstate = wxPyBeginAllowThreads();
11504 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11505
11506 wxPyEndAllowThreads(__tstate);
11507 if (PyErr_Occurred()) SWIG_fail;
11508 }
11509 resultobj = PyInt_FromLong((long)result);
11510 return resultobj;
11511 fail:
11512 return NULL;
11513 }
11514
11515
11516 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11517 PyObject *resultobj;
11518 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11519 int arg2 ;
11520 PyObject * obj0 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self",(char *) "nSel", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11527 {
11528 PyThreadState* __tstate = wxPyBeginAllowThreads();
11529 (arg1)->SetSelection(arg2);
11530
11531 wxPyEndAllowThreads(__tstate);
11532 if (PyErr_Occurred()) SWIG_fail;
11533 }
11534 Py_INCREF(Py_None); resultobj = Py_None;
11535 return resultobj;
11536 fail:
11537 return NULL;
11538 }
11539
11540
11541 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj;
11543 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11544 int result;
11545 PyObject * obj0 = 0 ;
11546 char *kwnames[] = {
11547 (char *) "self", NULL
11548 };
11549
11550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11552 {
11553 PyThreadState* __tstate = wxPyBeginAllowThreads();
11554 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11555
11556 wxPyEndAllowThreads(__tstate);
11557 if (PyErr_Occurred()) SWIG_fail;
11558 }
11559 resultobj = PyInt_FromLong((long)result);
11560 return resultobj;
11561 fail:
11562 return NULL;
11563 }
11564
11565
11566 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11567 PyObject *resultobj;
11568 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11569 int arg2 ;
11570 PyObject * obj0 = 0 ;
11571 char *kwnames[] = {
11572 (char *) "self",(char *) "nOldSel", NULL
11573 };
11574
11575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11577 {
11578 PyThreadState* __tstate = wxPyBeginAllowThreads();
11579 (arg1)->SetOldSelection(arg2);
11580
11581 wxPyEndAllowThreads(__tstate);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 Py_INCREF(Py_None); resultobj = Py_None;
11585 return resultobj;
11586 fail:
11587 return NULL;
11588 }
11589
11590
11591 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11592 PyObject *obj;
11593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11594 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11595 Py_INCREF(obj);
11596 return Py_BuildValue((char *)"");
11597 }
11598 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11599 PyObject *resultobj;
11600 wxWindow *arg1 = (wxWindow *) 0 ;
11601 int arg2 ;
11602 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11603 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11604 wxSize const &arg4_defvalue = wxDefaultSize ;
11605 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11606 long arg5 = (long) 0 ;
11607 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11608 wxString *arg6 = (wxString *) &arg6_defvalue ;
11609 wxNotebook *result;
11610 wxPoint temp3 ;
11611 wxSize temp4 ;
11612 bool temp6 = False ;
11613 PyObject * obj0 = 0 ;
11614 PyObject * obj2 = 0 ;
11615 PyObject * obj3 = 0 ;
11616 PyObject * obj5 = 0 ;
11617 char *kwnames[] = {
11618 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11619 };
11620
11621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11623 if (obj2) {
11624 {
11625 arg3 = &temp3;
11626 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11627 }
11628 }
11629 if (obj3) {
11630 {
11631 arg4 = &temp4;
11632 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11633 }
11634 }
11635 if (obj5) {
11636 {
11637 arg6 = wxString_in_helper(obj5);
11638 if (arg6 == NULL) SWIG_fail;
11639 temp6 = True;
11640 }
11641 }
11642 {
11643 PyThreadState* __tstate = wxPyBeginAllowThreads();
11644 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11645
11646 wxPyEndAllowThreads(__tstate);
11647 if (PyErr_Occurred()) SWIG_fail;
11648 }
11649 {
11650 resultobj = wxPyMake_wxObject(result);
11651 }
11652 {
11653 if (temp6)
11654 delete arg6;
11655 }
11656 return resultobj;
11657 fail:
11658 {
11659 if (temp6)
11660 delete arg6;
11661 }
11662 return NULL;
11663 }
11664
11665
11666 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11667 PyObject *resultobj;
11668 wxNotebook *result;
11669 char *kwnames[] = {
11670 NULL
11671 };
11672
11673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11674 {
11675 PyThreadState* __tstate = wxPyBeginAllowThreads();
11676 result = (wxNotebook *)new wxNotebook();
11677
11678 wxPyEndAllowThreads(__tstate);
11679 if (PyErr_Occurred()) SWIG_fail;
11680 }
11681 {
11682 resultobj = wxPyMake_wxObject(result);
11683 }
11684 return resultobj;
11685 fail:
11686 return NULL;
11687 }
11688
11689
11690 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11691 PyObject *resultobj;
11692 wxNotebook *arg1 = (wxNotebook *) 0 ;
11693 wxWindow *arg2 = (wxWindow *) 0 ;
11694 int arg3 ;
11695 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11696 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11697 wxSize const &arg5_defvalue = wxDefaultSize ;
11698 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11699 long arg6 = (long) 0 ;
11700 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
11701 wxString *arg7 = (wxString *) &arg7_defvalue ;
11702 bool result;
11703 wxPoint temp4 ;
11704 wxSize temp5 ;
11705 bool temp7 = False ;
11706 PyObject * obj0 = 0 ;
11707 PyObject * obj1 = 0 ;
11708 PyObject * obj3 = 0 ;
11709 PyObject * obj4 = 0 ;
11710 PyObject * obj6 = 0 ;
11711 char *kwnames[] = {
11712 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11713 };
11714
11715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
11716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11717 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11718 if (obj3) {
11719 {
11720 arg4 = &temp4;
11721 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11722 }
11723 }
11724 if (obj4) {
11725 {
11726 arg5 = &temp5;
11727 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11728 }
11729 }
11730 if (obj6) {
11731 {
11732 arg7 = wxString_in_helper(obj6);
11733 if (arg7 == NULL) SWIG_fail;
11734 temp7 = True;
11735 }
11736 }
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11740
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 resultobj = PyInt_FromLong((long)result);
11745 {
11746 if (temp7)
11747 delete arg7;
11748 }
11749 return resultobj;
11750 fail:
11751 {
11752 if (temp7)
11753 delete arg7;
11754 }
11755 return NULL;
11756 }
11757
11758
11759 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11760 PyObject *resultobj;
11761 wxNotebook *arg1 = (wxNotebook *) 0 ;
11762 int result;
11763 PyObject * obj0 = 0 ;
11764 char *kwnames[] = {
11765 (char *) "self", NULL
11766 };
11767
11768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
11769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11770 {
11771 PyThreadState* __tstate = wxPyBeginAllowThreads();
11772 result = (int)((wxNotebook const *)arg1)->GetRowCount();
11773
11774 wxPyEndAllowThreads(__tstate);
11775 if (PyErr_Occurred()) SWIG_fail;
11776 }
11777 resultobj = PyInt_FromLong((long)result);
11778 return resultobj;
11779 fail:
11780 return NULL;
11781 }
11782
11783
11784 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
11785 PyObject *resultobj;
11786 wxNotebook *arg1 = (wxNotebook *) 0 ;
11787 wxSize *arg2 = 0 ;
11788 wxSize temp2 ;
11789 PyObject * obj0 = 0 ;
11790 PyObject * obj1 = 0 ;
11791 char *kwnames[] = {
11792 (char *) "self",(char *) "padding", NULL
11793 };
11794
11795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
11796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11797 {
11798 arg2 = &temp2;
11799 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11800 }
11801 {
11802 PyThreadState* __tstate = wxPyBeginAllowThreads();
11803 (arg1)->SetPadding((wxSize const &)*arg2);
11804
11805 wxPyEndAllowThreads(__tstate);
11806 if (PyErr_Occurred()) SWIG_fail;
11807 }
11808 Py_INCREF(Py_None); resultobj = Py_None;
11809 return resultobj;
11810 fail:
11811 return NULL;
11812 }
11813
11814
11815 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11816 PyObject *resultobj;
11817 wxNotebook *arg1 = (wxNotebook *) 0 ;
11818 wxSize *arg2 = 0 ;
11819 wxSize temp2 ;
11820 PyObject * obj0 = 0 ;
11821 PyObject * obj1 = 0 ;
11822 char *kwnames[] = {
11823 (char *) "self",(char *) "sz", NULL
11824 };
11825
11826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
11827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11828 {
11829 arg2 = &temp2;
11830 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11831 }
11832 {
11833 PyThreadState* __tstate = wxPyBeginAllowThreads();
11834 (arg1)->SetTabSize((wxSize const &)*arg2);
11835
11836 wxPyEndAllowThreads(__tstate);
11837 if (PyErr_Occurred()) SWIG_fail;
11838 }
11839 Py_INCREF(Py_None); resultobj = Py_None;
11840 return resultobj;
11841 fail:
11842 return NULL;
11843 }
11844
11845
11846 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
11847 PyObject *resultobj;
11848 wxNotebook *arg1 = (wxNotebook *) 0 ;
11849 wxPoint *arg2 = 0 ;
11850 long *arg3 = (long *) 0 ;
11851 int result;
11852 wxPoint temp2 ;
11853 long temp3 ;
11854 PyObject * obj0 = 0 ;
11855 PyObject * obj1 = 0 ;
11856 char *kwnames[] = {
11857 (char *) "self",(char *) "pt", NULL
11858 };
11859
11860 arg3 = &temp3;
11861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
11862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11863 {
11864 arg2 = &temp2;
11865 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
11866 }
11867 {
11868 PyThreadState* __tstate = wxPyBeginAllowThreads();
11869 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
11870
11871 wxPyEndAllowThreads(__tstate);
11872 if (PyErr_Occurred()) SWIG_fail;
11873 }
11874 resultobj = PyInt_FromLong((long)result);
11875 {
11876 PyObject *o = PyInt_FromLong((long) (*arg3));
11877 resultobj = t_output_helper(resultobj,o);
11878 }
11879 return resultobj;
11880 fail:
11881 return NULL;
11882 }
11883
11884
11885 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11886 PyObject *resultobj;
11887 wxNotebook *arg1 = (wxNotebook *) 0 ;
11888 wxSize *arg2 = 0 ;
11889 wxSize result;
11890 wxSize temp2 ;
11891 PyObject * obj0 = 0 ;
11892 PyObject * obj1 = 0 ;
11893 char *kwnames[] = {
11894 (char *) "self",(char *) "sizePage", NULL
11895 };
11896
11897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11899 {
11900 arg2 = &temp2;
11901 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11902 }
11903 {
11904 PyThreadState* __tstate = wxPyBeginAllowThreads();
11905 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11906
11907 wxPyEndAllowThreads(__tstate);
11908 if (PyErr_Occurred()) SWIG_fail;
11909 }
11910 {
11911 wxSize * resultptr;
11912 resultptr = new wxSize((wxSize &) result);
11913 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11914 }
11915 return resultobj;
11916 fail:
11917 return NULL;
11918 }
11919
11920
11921 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
11922 PyObject *obj;
11923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11924 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
11925 Py_INCREF(obj);
11926 return Py_BuildValue((char *)"");
11927 }
11928 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11929 PyObject *resultobj;
11930 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11931 int arg2 = (int) 0 ;
11932 int arg3 = (int) -1 ;
11933 int arg4 = (int) -1 ;
11934 wxNotebookEvent *result;
11935 char *kwnames[] = {
11936 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11937 };
11938
11939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11940 {
11941 PyThreadState* __tstate = wxPyBeginAllowThreads();
11942 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
11943
11944 wxPyEndAllowThreads(__tstate);
11945 if (PyErr_Occurred()) SWIG_fail;
11946 }
11947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
11948 return resultobj;
11949 fail:
11950 return NULL;
11951 }
11952
11953
11954 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
11955 PyObject *obj;
11956 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11957 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
11958 Py_INCREF(obj);
11959 return Py_BuildValue((char *)"");
11960 }
11961 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
11962 PyObject *resultobj;
11963 wxWindow *arg1 = (wxWindow *) 0 ;
11964 int arg2 ;
11965 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11966 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11967 wxSize const &arg4_defvalue = wxDefaultSize ;
11968 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11969 long arg5 = (long) 0 ;
11970 wxString const &arg6_defvalue = wxPyEmptyString ;
11971 wxString *arg6 = (wxString *) &arg6_defvalue ;
11972 wxListbook *result;
11973 wxPoint temp3 ;
11974 wxSize temp4 ;
11975 bool temp6 = False ;
11976 PyObject * obj0 = 0 ;
11977 PyObject * obj2 = 0 ;
11978 PyObject * obj3 = 0 ;
11979 PyObject * obj5 = 0 ;
11980 char *kwnames[] = {
11981 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11982 };
11983
11984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11986 if (obj2) {
11987 {
11988 arg3 = &temp3;
11989 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11990 }
11991 }
11992 if (obj3) {
11993 {
11994 arg4 = &temp4;
11995 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11996 }
11997 }
11998 if (obj5) {
11999 {
12000 arg6 = wxString_in_helper(obj5);
12001 if (arg6 == NULL) SWIG_fail;
12002 temp6 = True;
12003 }
12004 }
12005 {
12006 PyThreadState* __tstate = wxPyBeginAllowThreads();
12007 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12008
12009 wxPyEndAllowThreads(__tstate);
12010 if (PyErr_Occurred()) SWIG_fail;
12011 }
12012 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12013 {
12014 if (temp6)
12015 delete arg6;
12016 }
12017 return resultobj;
12018 fail:
12019 {
12020 if (temp6)
12021 delete arg6;
12022 }
12023 return NULL;
12024 }
12025
12026
12027 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12028 PyObject *resultobj;
12029 wxListbook *result;
12030 char *kwnames[] = {
12031 NULL
12032 };
12033
12034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12035 {
12036 PyThreadState* __tstate = wxPyBeginAllowThreads();
12037 result = (wxListbook *)new wxListbook();
12038
12039 wxPyEndAllowThreads(__tstate);
12040 if (PyErr_Occurred()) SWIG_fail;
12041 }
12042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12043 return resultobj;
12044 fail:
12045 return NULL;
12046 }
12047
12048
12049 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12050 PyObject *resultobj;
12051 wxListbook *arg1 = (wxListbook *) 0 ;
12052 wxWindow *arg2 = (wxWindow *) 0 ;
12053 int arg3 ;
12054 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12055 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12056 wxSize const &arg5_defvalue = wxDefaultSize ;
12057 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12058 long arg6 = (long) 0 ;
12059 wxString const &arg7_defvalue = wxPyEmptyString ;
12060 wxString *arg7 = (wxString *) &arg7_defvalue ;
12061 bool result;
12062 wxPoint temp4 ;
12063 wxSize temp5 ;
12064 bool temp7 = False ;
12065 PyObject * obj0 = 0 ;
12066 PyObject * obj1 = 0 ;
12067 PyObject * obj3 = 0 ;
12068 PyObject * obj4 = 0 ;
12069 PyObject * obj6 = 0 ;
12070 char *kwnames[] = {
12071 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12072 };
12073
12074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12077 if (obj3) {
12078 {
12079 arg4 = &temp4;
12080 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12081 }
12082 }
12083 if (obj4) {
12084 {
12085 arg5 = &temp5;
12086 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12087 }
12088 }
12089 if (obj6) {
12090 {
12091 arg7 = wxString_in_helper(obj6);
12092 if (arg7 == NULL) SWIG_fail;
12093 temp7 = True;
12094 }
12095 }
12096 {
12097 PyThreadState* __tstate = wxPyBeginAllowThreads();
12098 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12099
12100 wxPyEndAllowThreads(__tstate);
12101 if (PyErr_Occurred()) SWIG_fail;
12102 }
12103 resultobj = PyInt_FromLong((long)result);
12104 {
12105 if (temp7)
12106 delete arg7;
12107 }
12108 return resultobj;
12109 fail:
12110 {
12111 if (temp7)
12112 delete arg7;
12113 }
12114 return NULL;
12115 }
12116
12117
12118 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12119 PyObject *resultobj;
12120 wxListbook *arg1 = (wxListbook *) 0 ;
12121 bool result;
12122 PyObject * obj0 = 0 ;
12123 char *kwnames[] = {
12124 (char *) "self", NULL
12125 };
12126
12127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12129 {
12130 PyThreadState* __tstate = wxPyBeginAllowThreads();
12131 result = (bool)((wxListbook const *)arg1)->IsVertical();
12132
12133 wxPyEndAllowThreads(__tstate);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 }
12136 resultobj = PyInt_FromLong((long)result);
12137 return resultobj;
12138 fail:
12139 return NULL;
12140 }
12141
12142
12143 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12144 PyObject *obj;
12145 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12146 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12147 Py_INCREF(obj);
12148 return Py_BuildValue((char *)"");
12149 }
12150 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12151 PyObject *resultobj;
12152 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12153 int arg2 = (int) 0 ;
12154 int arg3 = (int) -1 ;
12155 int arg4 = (int) -1 ;
12156 wxListbookEvent *result;
12157 char *kwnames[] = {
12158 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12159 };
12160
12161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12162 {
12163 PyThreadState* __tstate = wxPyBeginAllowThreads();
12164 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12165
12166 wxPyEndAllowThreads(__tstate);
12167 if (PyErr_Occurred()) SWIG_fail;
12168 }
12169 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12170 return resultobj;
12171 fail:
12172 return NULL;
12173 }
12174
12175
12176 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12177 PyObject *obj;
12178 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12179 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12180 Py_INCREF(obj);
12181 return Py_BuildValue((char *)"");
12182 }
12183 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12184 PyObject *resultobj;
12185 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12186 wxBookCtrlSizer *result;
12187 PyObject * obj0 = 0 ;
12188 char *kwnames[] = {
12189 (char *) "nb", NULL
12190 };
12191
12192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12194 {
12195 PyThreadState* __tstate = wxPyBeginAllowThreads();
12196 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12197
12198 wxPyEndAllowThreads(__tstate);
12199 if (PyErr_Occurred()) SWIG_fail;
12200 }
12201 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12202 return resultobj;
12203 fail:
12204 return NULL;
12205 }
12206
12207
12208 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12209 PyObject *resultobj;
12210 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12211 PyObject * obj0 = 0 ;
12212 char *kwnames[] = {
12213 (char *) "self", NULL
12214 };
12215
12216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12218 {
12219 PyThreadState* __tstate = wxPyBeginAllowThreads();
12220 (arg1)->RecalcSizes();
12221
12222 wxPyEndAllowThreads(__tstate);
12223 if (PyErr_Occurred()) SWIG_fail;
12224 }
12225 Py_INCREF(Py_None); resultobj = Py_None;
12226 return resultobj;
12227 fail:
12228 return NULL;
12229 }
12230
12231
12232 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12233 PyObject *resultobj;
12234 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12235 wxSize result;
12236 PyObject * obj0 = 0 ;
12237 char *kwnames[] = {
12238 (char *) "self", NULL
12239 };
12240
12241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12243 {
12244 PyThreadState* __tstate = wxPyBeginAllowThreads();
12245 result = (arg1)->CalcMin();
12246
12247 wxPyEndAllowThreads(__tstate);
12248 if (PyErr_Occurred()) SWIG_fail;
12249 }
12250 {
12251 wxSize * resultptr;
12252 resultptr = new wxSize((wxSize &) result);
12253 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12254 }
12255 return resultobj;
12256 fail:
12257 return NULL;
12258 }
12259
12260
12261 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12262 PyObject *resultobj;
12263 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12264 wxBookCtrl *result;
12265 PyObject * obj0 = 0 ;
12266 char *kwnames[] = {
12267 (char *) "self", NULL
12268 };
12269
12270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12272 {
12273 PyThreadState* __tstate = wxPyBeginAllowThreads();
12274 result = (wxBookCtrl *)(arg1)->GetControl();
12275
12276 wxPyEndAllowThreads(__tstate);
12277 if (PyErr_Occurred()) SWIG_fail;
12278 }
12279 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12280 return resultobj;
12281 fail:
12282 return NULL;
12283 }
12284
12285
12286 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12287 PyObject *obj;
12288 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12289 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12290 Py_INCREF(obj);
12291 return Py_BuildValue((char *)"");
12292 }
12293 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12294 PyObject *resultobj;
12295 wxNotebook *arg1 = (wxNotebook *) 0 ;
12296 wxNotebookSizer *result;
12297 PyObject * obj0 = 0 ;
12298 char *kwnames[] = {
12299 (char *) "nb", NULL
12300 };
12301
12302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12312 return resultobj;
12313 fail:
12314 return NULL;
12315 }
12316
12317
12318 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12319 PyObject *resultobj;
12320 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12321 PyObject * obj0 = 0 ;
12322 char *kwnames[] = {
12323 (char *) "self", NULL
12324 };
12325
12326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12328 {
12329 PyThreadState* __tstate = wxPyBeginAllowThreads();
12330 (arg1)->RecalcSizes();
12331
12332 wxPyEndAllowThreads(__tstate);
12333 if (PyErr_Occurred()) SWIG_fail;
12334 }
12335 Py_INCREF(Py_None); resultobj = Py_None;
12336 return resultobj;
12337 fail:
12338 return NULL;
12339 }
12340
12341
12342 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12343 PyObject *resultobj;
12344 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12345 wxSize result;
12346 PyObject * obj0 = 0 ;
12347 char *kwnames[] = {
12348 (char *) "self", NULL
12349 };
12350
12351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12353 {
12354 PyThreadState* __tstate = wxPyBeginAllowThreads();
12355 result = (arg1)->CalcMin();
12356
12357 wxPyEndAllowThreads(__tstate);
12358 if (PyErr_Occurred()) SWIG_fail;
12359 }
12360 {
12361 wxSize * resultptr;
12362 resultptr = new wxSize((wxSize &) result);
12363 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12364 }
12365 return resultobj;
12366 fail:
12367 return NULL;
12368 }
12369
12370
12371 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12372 PyObject *resultobj;
12373 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12374 wxNotebook *result;
12375 PyObject * obj0 = 0 ;
12376 char *kwnames[] = {
12377 (char *) "self", NULL
12378 };
12379
12380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12382 {
12383 PyThreadState* __tstate = wxPyBeginAllowThreads();
12384 result = (wxNotebook *)(arg1)->GetNotebook();
12385
12386 wxPyEndAllowThreads(__tstate);
12387 if (PyErr_Occurred()) SWIG_fail;
12388 }
12389 {
12390 resultobj = wxPyMake_wxObject(result);
12391 }
12392 return resultobj;
12393 fail:
12394 return NULL;
12395 }
12396
12397
12398 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12399 PyObject *obj;
12400 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12401 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12402 Py_INCREF(obj);
12403 return Py_BuildValue((char *)"");
12404 }
12405 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12406 PyObject *resultobj;
12407 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12408 int result;
12409 PyObject * obj0 = 0 ;
12410 char *kwnames[] = {
12411 (char *) "self", NULL
12412 };
12413
12414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12416 {
12417 PyThreadState* __tstate = wxPyBeginAllowThreads();
12418 result = (int)(arg1)->GetId();
12419
12420 wxPyEndAllowThreads(__tstate);
12421 if (PyErr_Occurred()) SWIG_fail;
12422 }
12423 resultobj = PyInt_FromLong((long)result);
12424 return resultobj;
12425 fail:
12426 return NULL;
12427 }
12428
12429
12430 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12431 PyObject *resultobj;
12432 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12433 wxControl *result;
12434 PyObject * obj0 = 0 ;
12435 char *kwnames[] = {
12436 (char *) "self", NULL
12437 };
12438
12439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12441 {
12442 PyThreadState* __tstate = wxPyBeginAllowThreads();
12443 result = (wxControl *)(arg1)->GetControl();
12444
12445 wxPyEndAllowThreads(__tstate);
12446 if (PyErr_Occurred()) SWIG_fail;
12447 }
12448 {
12449 resultobj = wxPyMake_wxObject(result);
12450 }
12451 return resultobj;
12452 fail:
12453 return NULL;
12454 }
12455
12456
12457 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12458 PyObject *resultobj;
12459 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12460 wxToolBarBase *result;
12461 PyObject * obj0 = 0 ;
12462 char *kwnames[] = {
12463 (char *) "self", NULL
12464 };
12465
12466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 result = (wxToolBarBase *)(arg1)->GetToolBar();
12471
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 {
12476 resultobj = wxPyMake_wxObject(result);
12477 }
12478 return resultobj;
12479 fail:
12480 return NULL;
12481 }
12482
12483
12484 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12485 PyObject *resultobj;
12486 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12487 int result;
12488 PyObject * obj0 = 0 ;
12489 char *kwnames[] = {
12490 (char *) "self", NULL
12491 };
12492
12493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12495 {
12496 PyThreadState* __tstate = wxPyBeginAllowThreads();
12497 result = (int)(arg1)->IsButton();
12498
12499 wxPyEndAllowThreads(__tstate);
12500 if (PyErr_Occurred()) SWIG_fail;
12501 }
12502 resultobj = PyInt_FromLong((long)result);
12503 return resultobj;
12504 fail:
12505 return NULL;
12506 }
12507
12508
12509 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12510 PyObject *resultobj;
12511 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12512 int result;
12513 PyObject * obj0 = 0 ;
12514 char *kwnames[] = {
12515 (char *) "self", NULL
12516 };
12517
12518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12520 {
12521 PyThreadState* __tstate = wxPyBeginAllowThreads();
12522 result = (int)(arg1)->IsControl();
12523
12524 wxPyEndAllowThreads(__tstate);
12525 if (PyErr_Occurred()) SWIG_fail;
12526 }
12527 resultobj = PyInt_FromLong((long)result);
12528 return resultobj;
12529 fail:
12530 return NULL;
12531 }
12532
12533
12534 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12535 PyObject *resultobj;
12536 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12537 int result;
12538 PyObject * obj0 = 0 ;
12539 char *kwnames[] = {
12540 (char *) "self", NULL
12541 };
12542
12543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12545 {
12546 PyThreadState* __tstate = wxPyBeginAllowThreads();
12547 result = (int)(arg1)->IsSeparator();
12548
12549 wxPyEndAllowThreads(__tstate);
12550 if (PyErr_Occurred()) SWIG_fail;
12551 }
12552 resultobj = PyInt_FromLong((long)result);
12553 return resultobj;
12554 fail:
12555 return NULL;
12556 }
12557
12558
12559 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12560 PyObject *resultobj;
12561 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12562 int result;
12563 PyObject * obj0 = 0 ;
12564 char *kwnames[] = {
12565 (char *) "self", NULL
12566 };
12567
12568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12570 {
12571 PyThreadState* __tstate = wxPyBeginAllowThreads();
12572 result = (int)(arg1)->GetStyle();
12573
12574 wxPyEndAllowThreads(__tstate);
12575 if (PyErr_Occurred()) SWIG_fail;
12576 }
12577 resultobj = PyInt_FromLong((long)result);
12578 return resultobj;
12579 fail:
12580 return NULL;
12581 }
12582
12583
12584 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12585 PyObject *resultobj;
12586 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12587 int result;
12588 PyObject * obj0 = 0 ;
12589 char *kwnames[] = {
12590 (char *) "self", NULL
12591 };
12592
12593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12595 {
12596 PyThreadState* __tstate = wxPyBeginAllowThreads();
12597 result = (int)(arg1)->GetKind();
12598
12599 wxPyEndAllowThreads(__tstate);
12600 if (PyErr_Occurred()) SWIG_fail;
12601 }
12602 resultobj = PyInt_FromLong((long)result);
12603 return resultobj;
12604 fail:
12605 return NULL;
12606 }
12607
12608
12609 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12610 PyObject *resultobj;
12611 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12612 bool result;
12613 PyObject * obj0 = 0 ;
12614 char *kwnames[] = {
12615 (char *) "self", NULL
12616 };
12617
12618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",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 = (bool)(arg1)->IsEnabled();
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_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12635 PyObject *resultobj;
12636 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12637 bool result;
12638 PyObject * obj0 = 0 ;
12639 char *kwnames[] = {
12640 (char *) "self", NULL
12641 };
12642
12643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",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 = (bool)(arg1)->IsToggled();
12648
12649 wxPyEndAllowThreads(__tstate);
12650 if (PyErr_Occurred()) SWIG_fail;
12651 }
12652 resultobj = PyInt_FromLong((long)result);
12653 return resultobj;
12654 fail:
12655 return NULL;
12656 }
12657
12658
12659 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12660 PyObject *resultobj;
12661 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12662 bool result;
12663 PyObject * obj0 = 0 ;
12664 char *kwnames[] = {
12665 (char *) "self", NULL
12666 };
12667
12668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
12669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12670 {
12671 PyThreadState* __tstate = wxPyBeginAllowThreads();
12672 result = (bool)(arg1)->CanBeToggled();
12673
12674 wxPyEndAllowThreads(__tstate);
12675 if (PyErr_Occurred()) SWIG_fail;
12676 }
12677 resultobj = PyInt_FromLong((long)result);
12678 return resultobj;
12679 fail:
12680 return NULL;
12681 }
12682
12683
12684 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12685 PyObject *resultobj;
12686 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12687 wxBitmap *result;
12688 PyObject * obj0 = 0 ;
12689 char *kwnames[] = {
12690 (char *) "self", NULL
12691 };
12692
12693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
12694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12695 {
12696 PyThreadState* __tstate = wxPyBeginAllowThreads();
12697 {
12698 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
12699 result = (wxBitmap *) &_result_ref;
12700 }
12701
12702 wxPyEndAllowThreads(__tstate);
12703 if (PyErr_Occurred()) SWIG_fail;
12704 }
12705 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12706 return resultobj;
12707 fail:
12708 return NULL;
12709 }
12710
12711
12712 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12713 PyObject *resultobj;
12714 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12715 wxBitmap *result;
12716 PyObject * obj0 = 0 ;
12717 char *kwnames[] = {
12718 (char *) "self", NULL
12719 };
12720
12721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
12722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12723 {
12724 PyThreadState* __tstate = wxPyBeginAllowThreads();
12725 {
12726 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
12727 result = (wxBitmap *) &_result_ref;
12728 }
12729
12730 wxPyEndAllowThreads(__tstate);
12731 if (PyErr_Occurred()) SWIG_fail;
12732 }
12733 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12734 return resultobj;
12735 fail:
12736 return NULL;
12737 }
12738
12739
12740 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12741 PyObject *resultobj;
12742 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12743 wxBitmap result;
12744 PyObject * obj0 = 0 ;
12745 char *kwnames[] = {
12746 (char *) "self", NULL
12747 };
12748
12749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
12750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12751 {
12752 PyThreadState* __tstate = wxPyBeginAllowThreads();
12753 result = (arg1)->GetBitmap();
12754
12755 wxPyEndAllowThreads(__tstate);
12756 if (PyErr_Occurred()) SWIG_fail;
12757 }
12758 {
12759 wxBitmap * resultptr;
12760 resultptr = new wxBitmap((wxBitmap &) result);
12761 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
12762 }
12763 return resultobj;
12764 fail:
12765 return NULL;
12766 }
12767
12768
12769 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12772 wxString result;
12773 PyObject * obj0 = 0 ;
12774 char *kwnames[] = {
12775 (char *) "self", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
12779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12780 {
12781 PyThreadState* __tstate = wxPyBeginAllowThreads();
12782 result = (arg1)->GetLabel();
12783
12784 wxPyEndAllowThreads(__tstate);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
12787 {
12788 #if wxUSE_UNICODE
12789 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12790 #else
12791 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12792 #endif
12793 }
12794 return resultobj;
12795 fail:
12796 return NULL;
12797 }
12798
12799
12800 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12801 PyObject *resultobj;
12802 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12803 wxString result;
12804 PyObject * obj0 = 0 ;
12805 char *kwnames[] = {
12806 (char *) "self", NULL
12807 };
12808
12809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
12810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12811 {
12812 PyThreadState* __tstate = wxPyBeginAllowThreads();
12813 result = (arg1)->GetShortHelp();
12814
12815 wxPyEndAllowThreads(__tstate);
12816 if (PyErr_Occurred()) SWIG_fail;
12817 }
12818 {
12819 #if wxUSE_UNICODE
12820 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12821 #else
12822 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12823 #endif
12824 }
12825 return resultobj;
12826 fail:
12827 return NULL;
12828 }
12829
12830
12831 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12832 PyObject *resultobj;
12833 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12834 wxString result;
12835 PyObject * obj0 = 0 ;
12836 char *kwnames[] = {
12837 (char *) "self", NULL
12838 };
12839
12840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
12841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12842 {
12843 PyThreadState* __tstate = wxPyBeginAllowThreads();
12844 result = (arg1)->GetLongHelp();
12845
12846 wxPyEndAllowThreads(__tstate);
12847 if (PyErr_Occurred()) SWIG_fail;
12848 }
12849 {
12850 #if wxUSE_UNICODE
12851 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12852 #else
12853 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12854 #endif
12855 }
12856 return resultobj;
12857 fail:
12858 return NULL;
12859 }
12860
12861
12862 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
12863 PyObject *resultobj;
12864 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12865 bool arg2 ;
12866 bool result;
12867 PyObject * obj0 = 0 ;
12868 PyObject * obj1 = 0 ;
12869 char *kwnames[] = {
12870 (char *) "self",(char *) "enable", NULL
12871 };
12872
12873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
12874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12875 arg2 = PyInt_AsLong(obj1) ? true : false;
12876 if (PyErr_Occurred()) SWIG_fail;
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 result = (bool)(arg1)->Enable(arg2);
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 resultobj = PyInt_FromLong((long)result);
12885 return resultobj;
12886 fail:
12887 return NULL;
12888 }
12889
12890
12891 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj;
12893 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12894 PyObject * obj0 = 0 ;
12895 char *kwnames[] = {
12896 (char *) "self", NULL
12897 };
12898
12899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
12900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12901 {
12902 PyThreadState* __tstate = wxPyBeginAllowThreads();
12903 (arg1)->Toggle();
12904
12905 wxPyEndAllowThreads(__tstate);
12906 if (PyErr_Occurred()) SWIG_fail;
12907 }
12908 Py_INCREF(Py_None); resultobj = Py_None;
12909 return resultobj;
12910 fail:
12911 return NULL;
12912 }
12913
12914
12915 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
12916 PyObject *resultobj;
12917 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12918 bool arg2 ;
12919 bool result;
12920 PyObject * obj0 = 0 ;
12921 PyObject * obj1 = 0 ;
12922 char *kwnames[] = {
12923 (char *) "self",(char *) "toggle", NULL
12924 };
12925
12926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
12927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12928 arg2 = PyInt_AsLong(obj1) ? true : false;
12929 if (PyErr_Occurred()) SWIG_fail;
12930 {
12931 PyThreadState* __tstate = wxPyBeginAllowThreads();
12932 result = (bool)(arg1)->SetToggle(arg2);
12933
12934 wxPyEndAllowThreads(__tstate);
12935 if (PyErr_Occurred()) SWIG_fail;
12936 }
12937 resultobj = PyInt_FromLong((long)result);
12938 return resultobj;
12939 fail:
12940 return NULL;
12941 }
12942
12943
12944 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12945 PyObject *resultobj;
12946 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12947 wxString *arg2 = 0 ;
12948 bool result;
12949 bool temp2 = False ;
12950 PyObject * obj0 = 0 ;
12951 PyObject * obj1 = 0 ;
12952 char *kwnames[] = {
12953 (char *) "self",(char *) "help", NULL
12954 };
12955
12956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
12957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12958 {
12959 arg2 = wxString_in_helper(obj1);
12960 if (arg2 == NULL) SWIG_fail;
12961 temp2 = True;
12962 }
12963 {
12964 PyThreadState* __tstate = wxPyBeginAllowThreads();
12965 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
12966
12967 wxPyEndAllowThreads(__tstate);
12968 if (PyErr_Occurred()) SWIG_fail;
12969 }
12970 resultobj = PyInt_FromLong((long)result);
12971 {
12972 if (temp2)
12973 delete arg2;
12974 }
12975 return resultobj;
12976 fail:
12977 {
12978 if (temp2)
12979 delete arg2;
12980 }
12981 return NULL;
12982 }
12983
12984
12985 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12986 PyObject *resultobj;
12987 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12988 wxString *arg2 = 0 ;
12989 bool result;
12990 bool temp2 = False ;
12991 PyObject * obj0 = 0 ;
12992 PyObject * obj1 = 0 ;
12993 char *kwnames[] = {
12994 (char *) "self",(char *) "help", NULL
12995 };
12996
12997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
12998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12999 {
13000 arg2 = wxString_in_helper(obj1);
13001 if (arg2 == NULL) SWIG_fail;
13002 temp2 = True;
13003 }
13004 {
13005 PyThreadState* __tstate = wxPyBeginAllowThreads();
13006 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13007
13008 wxPyEndAllowThreads(__tstate);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 }
13011 resultobj = PyInt_FromLong((long)result);
13012 {
13013 if (temp2)
13014 delete arg2;
13015 }
13016 return resultobj;
13017 fail:
13018 {
13019 if (temp2)
13020 delete arg2;
13021 }
13022 return NULL;
13023 }
13024
13025
13026 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13027 PyObject *resultobj;
13028 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13029 wxBitmap *arg2 = 0 ;
13030 PyObject * obj0 = 0 ;
13031 PyObject * obj1 = 0 ;
13032 char *kwnames[] = {
13033 (char *) "self",(char *) "bmp", NULL
13034 };
13035
13036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13039 if (arg2 == NULL) {
13040 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13041 }
13042 {
13043 PyThreadState* __tstate = wxPyBeginAllowThreads();
13044 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13045
13046 wxPyEndAllowThreads(__tstate);
13047 if (PyErr_Occurred()) SWIG_fail;
13048 }
13049 Py_INCREF(Py_None); resultobj = Py_None;
13050 return resultobj;
13051 fail:
13052 return NULL;
13053 }
13054
13055
13056 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13057 PyObject *resultobj;
13058 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13059 wxBitmap *arg2 = 0 ;
13060 PyObject * obj0 = 0 ;
13061 PyObject * obj1 = 0 ;
13062 char *kwnames[] = {
13063 (char *) "self",(char *) "bmp", NULL
13064 };
13065
13066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13069 if (arg2 == NULL) {
13070 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13071 }
13072 {
13073 PyThreadState* __tstate = wxPyBeginAllowThreads();
13074 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13075
13076 wxPyEndAllowThreads(__tstate);
13077 if (PyErr_Occurred()) SWIG_fail;
13078 }
13079 Py_INCREF(Py_None); resultobj = Py_None;
13080 return resultobj;
13081 fail:
13082 return NULL;
13083 }
13084
13085
13086 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13087 PyObject *resultobj;
13088 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13089 wxString *arg2 = 0 ;
13090 bool temp2 = False ;
13091 PyObject * obj0 = 0 ;
13092 PyObject * obj1 = 0 ;
13093 char *kwnames[] = {
13094 (char *) "self",(char *) "label", NULL
13095 };
13096
13097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13099 {
13100 arg2 = wxString_in_helper(obj1);
13101 if (arg2 == NULL) SWIG_fail;
13102 temp2 = True;
13103 }
13104 {
13105 PyThreadState* __tstate = wxPyBeginAllowThreads();
13106 (arg1)->SetLabel((wxString const &)*arg2);
13107
13108 wxPyEndAllowThreads(__tstate);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 }
13111 Py_INCREF(Py_None); resultobj = Py_None;
13112 {
13113 if (temp2)
13114 delete arg2;
13115 }
13116 return resultobj;
13117 fail:
13118 {
13119 if (temp2)
13120 delete arg2;
13121 }
13122 return NULL;
13123 }
13124
13125
13126 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj;
13128 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13129 PyObject * obj0 = 0 ;
13130 char *kwnames[] = {
13131 (char *) "self", NULL
13132 };
13133
13134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13136 {
13137 PyThreadState* __tstate = wxPyBeginAllowThreads();
13138 (arg1)->Detach();
13139
13140 wxPyEndAllowThreads(__tstate);
13141 if (PyErr_Occurred()) SWIG_fail;
13142 }
13143 Py_INCREF(Py_None); resultobj = Py_None;
13144 return resultobj;
13145 fail:
13146 return NULL;
13147 }
13148
13149
13150 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13151 PyObject *resultobj;
13152 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13153 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13154 PyObject * obj0 = 0 ;
13155 PyObject * obj1 = 0 ;
13156 char *kwnames[] = {
13157 (char *) "self",(char *) "tbar", NULL
13158 };
13159
13160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13162 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13163 {
13164 PyThreadState* __tstate = wxPyBeginAllowThreads();
13165 (arg1)->Attach(arg2);
13166
13167 wxPyEndAllowThreads(__tstate);
13168 if (PyErr_Occurred()) SWIG_fail;
13169 }
13170 Py_INCREF(Py_None); resultobj = Py_None;
13171 return resultobj;
13172 fail:
13173 return NULL;
13174 }
13175
13176
13177 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13178 PyObject *resultobj;
13179 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13180 PyObject *result;
13181 PyObject * obj0 = 0 ;
13182 char *kwnames[] = {
13183 (char *) "self", NULL
13184 };
13185
13186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13188 {
13189 PyThreadState* __tstate = wxPyBeginAllowThreads();
13190 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13191
13192 wxPyEndAllowThreads(__tstate);
13193 if (PyErr_Occurred()) SWIG_fail;
13194 }
13195 resultobj = result;
13196 return resultobj;
13197 fail:
13198 return NULL;
13199 }
13200
13201
13202 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13203 PyObject *resultobj;
13204 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13205 PyObject *arg2 = (PyObject *) 0 ;
13206 PyObject * obj0 = 0 ;
13207 PyObject * obj1 = 0 ;
13208 char *kwnames[] = {
13209 (char *) "self",(char *) "clientData", NULL
13210 };
13211
13212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13214 arg2 = obj1;
13215 {
13216 PyThreadState* __tstate = wxPyBeginAllowThreads();
13217 wxToolBarToolBase_SetClientData(arg1,arg2);
13218
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 Py_INCREF(Py_None); resultobj = Py_None;
13223 return resultobj;
13224 fail:
13225 return NULL;
13226 }
13227
13228
13229 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13230 PyObject *obj;
13231 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13232 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13233 Py_INCREF(obj);
13234 return Py_BuildValue((char *)"");
13235 }
13236 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13237 PyObject *resultobj;
13238 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13239 int arg2 ;
13240 wxString *arg3 = 0 ;
13241 wxBitmap *arg4 = 0 ;
13242 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13243 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13244 int arg6 = (int) wxITEM_NORMAL ;
13245 wxString const &arg7_defvalue = wxPyEmptyString ;
13246 wxString *arg7 = (wxString *) &arg7_defvalue ;
13247 wxString const &arg8_defvalue = wxPyEmptyString ;
13248 wxString *arg8 = (wxString *) &arg8_defvalue ;
13249 PyObject *arg9 = (PyObject *) NULL ;
13250 wxToolBarToolBase *result;
13251 bool temp3 = False ;
13252 bool temp7 = False ;
13253 bool temp8 = False ;
13254 PyObject * obj0 = 0 ;
13255 PyObject * obj2 = 0 ;
13256 PyObject * obj3 = 0 ;
13257 PyObject * obj4 = 0 ;
13258 PyObject * obj6 = 0 ;
13259 PyObject * obj7 = 0 ;
13260 PyObject * obj8 = 0 ;
13261 char *kwnames[] = {
13262 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13263 };
13264
13265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13267 {
13268 arg3 = wxString_in_helper(obj2);
13269 if (arg3 == NULL) SWIG_fail;
13270 temp3 = True;
13271 }
13272 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13273 if (arg4 == NULL) {
13274 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13275 }
13276 if (obj4) {
13277 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13278 if (arg5 == NULL) {
13279 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13280 }
13281 }
13282 if (obj6) {
13283 {
13284 arg7 = wxString_in_helper(obj6);
13285 if (arg7 == NULL) SWIG_fail;
13286 temp7 = True;
13287 }
13288 }
13289 if (obj7) {
13290 {
13291 arg8 = wxString_in_helper(obj7);
13292 if (arg8 == NULL) SWIG_fail;
13293 temp8 = True;
13294 }
13295 }
13296 if (obj8) {
13297 arg9 = obj8;
13298 }
13299 {
13300 PyThreadState* __tstate = wxPyBeginAllowThreads();
13301 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13302
13303 wxPyEndAllowThreads(__tstate);
13304 if (PyErr_Occurred()) SWIG_fail;
13305 }
13306 {
13307 resultobj = wxPyMake_wxObject(result);
13308 }
13309 {
13310 if (temp3)
13311 delete arg3;
13312 }
13313 {
13314 if (temp7)
13315 delete arg7;
13316 }
13317 {
13318 if (temp8)
13319 delete arg8;
13320 }
13321 return resultobj;
13322 fail:
13323 {
13324 if (temp3)
13325 delete arg3;
13326 }
13327 {
13328 if (temp7)
13329 delete arg7;
13330 }
13331 {
13332 if (temp8)
13333 delete arg8;
13334 }
13335 return NULL;
13336 }
13337
13338
13339 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13340 PyObject *resultobj;
13341 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13342 size_t arg2 ;
13343 int arg3 ;
13344 wxString *arg4 = 0 ;
13345 wxBitmap *arg5 = 0 ;
13346 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13347 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13348 int arg7 = (int) wxITEM_NORMAL ;
13349 wxString const &arg8_defvalue = wxPyEmptyString ;
13350 wxString *arg8 = (wxString *) &arg8_defvalue ;
13351 wxString const &arg9_defvalue = wxPyEmptyString ;
13352 wxString *arg9 = (wxString *) &arg9_defvalue ;
13353 PyObject *arg10 = (PyObject *) NULL ;
13354 wxToolBarToolBase *result;
13355 bool temp4 = False ;
13356 bool temp8 = False ;
13357 bool temp9 = False ;
13358 PyObject * obj0 = 0 ;
13359 PyObject * obj1 = 0 ;
13360 PyObject * obj3 = 0 ;
13361 PyObject * obj4 = 0 ;
13362 PyObject * obj5 = 0 ;
13363 PyObject * obj7 = 0 ;
13364 PyObject * obj8 = 0 ;
13365 PyObject * obj9 = 0 ;
13366 char *kwnames[] = {
13367 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13368 };
13369
13370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13372 arg2 = (size_t) PyInt_AsLong(obj1);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 {
13375 arg4 = wxString_in_helper(obj3);
13376 if (arg4 == NULL) SWIG_fail;
13377 temp4 = True;
13378 }
13379 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13380 if (arg5 == NULL) {
13381 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13382 }
13383 if (obj5) {
13384 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13385 if (arg6 == NULL) {
13386 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13387 }
13388 }
13389 if (obj7) {
13390 {
13391 arg8 = wxString_in_helper(obj7);
13392 if (arg8 == NULL) SWIG_fail;
13393 temp8 = True;
13394 }
13395 }
13396 if (obj8) {
13397 {
13398 arg9 = wxString_in_helper(obj8);
13399 if (arg9 == NULL) SWIG_fail;
13400 temp9 = True;
13401 }
13402 }
13403 if (obj9) {
13404 arg10 = obj9;
13405 }
13406 {
13407 PyThreadState* __tstate = wxPyBeginAllowThreads();
13408 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);
13409
13410 wxPyEndAllowThreads(__tstate);
13411 if (PyErr_Occurred()) SWIG_fail;
13412 }
13413 {
13414 resultobj = wxPyMake_wxObject(result);
13415 }
13416 {
13417 if (temp4)
13418 delete arg4;
13419 }
13420 {
13421 if (temp8)
13422 delete arg8;
13423 }
13424 {
13425 if (temp9)
13426 delete arg9;
13427 }
13428 return resultobj;
13429 fail:
13430 {
13431 if (temp4)
13432 delete arg4;
13433 }
13434 {
13435 if (temp8)
13436 delete arg8;
13437 }
13438 {
13439 if (temp9)
13440 delete arg9;
13441 }
13442 return NULL;
13443 }
13444
13445
13446 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13447 PyObject *resultobj;
13448 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13449 wxControl *arg2 = (wxControl *) 0 ;
13450 wxToolBarToolBase *result;
13451 PyObject * obj0 = 0 ;
13452 PyObject * obj1 = 0 ;
13453 char *kwnames[] = {
13454 (char *) "self",(char *) "control", NULL
13455 };
13456
13457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13459 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13460 {
13461 PyThreadState* __tstate = wxPyBeginAllowThreads();
13462 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13463
13464 wxPyEndAllowThreads(__tstate);
13465 if (PyErr_Occurred()) SWIG_fail;
13466 }
13467 {
13468 resultobj = wxPyMake_wxObject(result);
13469 }
13470 return resultobj;
13471 fail:
13472 return NULL;
13473 }
13474
13475
13476 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13477 PyObject *resultobj;
13478 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13479 size_t arg2 ;
13480 wxControl *arg3 = (wxControl *) 0 ;
13481 wxToolBarToolBase *result;
13482 PyObject * obj0 = 0 ;
13483 PyObject * obj1 = 0 ;
13484 PyObject * obj2 = 0 ;
13485 char *kwnames[] = {
13486 (char *) "self",(char *) "pos",(char *) "control", NULL
13487 };
13488
13489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13491 arg2 = (size_t) PyInt_AsLong(obj1);
13492 if (PyErr_Occurred()) SWIG_fail;
13493 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13494 {
13495 PyThreadState* __tstate = wxPyBeginAllowThreads();
13496 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13497
13498 wxPyEndAllowThreads(__tstate);
13499 if (PyErr_Occurred()) SWIG_fail;
13500 }
13501 {
13502 resultobj = wxPyMake_wxObject(result);
13503 }
13504 return resultobj;
13505 fail:
13506 return NULL;
13507 }
13508
13509
13510 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13511 PyObject *resultobj;
13512 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13513 int arg2 ;
13514 wxControl *result;
13515 PyObject * obj0 = 0 ;
13516 char *kwnames[] = {
13517 (char *) "self",(char *) "id", NULL
13518 };
13519
13520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13522 {
13523 PyThreadState* __tstate = wxPyBeginAllowThreads();
13524 result = (wxControl *)(arg1)->FindControl(arg2);
13525
13526 wxPyEndAllowThreads(__tstate);
13527 if (PyErr_Occurred()) SWIG_fail;
13528 }
13529 {
13530 resultobj = wxPyMake_wxObject(result);
13531 }
13532 return resultobj;
13533 fail:
13534 return NULL;
13535 }
13536
13537
13538 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13539 PyObject *resultobj;
13540 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13541 wxToolBarToolBase *result;
13542 PyObject * obj0 = 0 ;
13543 char *kwnames[] = {
13544 (char *) "self", NULL
13545 };
13546
13547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13549 {
13550 PyThreadState* __tstate = wxPyBeginAllowThreads();
13551 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13552
13553 wxPyEndAllowThreads(__tstate);
13554 if (PyErr_Occurred()) SWIG_fail;
13555 }
13556 {
13557 resultobj = wxPyMake_wxObject(result);
13558 }
13559 return resultobj;
13560 fail:
13561 return NULL;
13562 }
13563
13564
13565 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13566 PyObject *resultobj;
13567 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13568 size_t arg2 ;
13569 wxToolBarToolBase *result;
13570 PyObject * obj0 = 0 ;
13571 PyObject * obj1 = 0 ;
13572 char *kwnames[] = {
13573 (char *) "self",(char *) "pos", NULL
13574 };
13575
13576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13578 arg2 = (size_t) PyInt_AsLong(obj1);
13579 if (PyErr_Occurred()) SWIG_fail;
13580 {
13581 PyThreadState* __tstate = wxPyBeginAllowThreads();
13582 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13583
13584 wxPyEndAllowThreads(__tstate);
13585 if (PyErr_Occurred()) SWIG_fail;
13586 }
13587 {
13588 resultobj = wxPyMake_wxObject(result);
13589 }
13590 return resultobj;
13591 fail:
13592 return NULL;
13593 }
13594
13595
13596 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13597 PyObject *resultobj;
13598 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13599 int arg2 ;
13600 wxToolBarToolBase *result;
13601 PyObject * obj0 = 0 ;
13602 char *kwnames[] = {
13603 (char *) "self",(char *) "id", NULL
13604 };
13605
13606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13608 {
13609 PyThreadState* __tstate = wxPyBeginAllowThreads();
13610 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13611
13612 wxPyEndAllowThreads(__tstate);
13613 if (PyErr_Occurred()) SWIG_fail;
13614 }
13615 {
13616 resultobj = wxPyMake_wxObject(result);
13617 }
13618 return resultobj;
13619 fail:
13620 return NULL;
13621 }
13622
13623
13624 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13625 PyObject *resultobj;
13626 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13627 size_t arg2 ;
13628 bool result;
13629 PyObject * obj0 = 0 ;
13630 PyObject * obj1 = 0 ;
13631 char *kwnames[] = {
13632 (char *) "self",(char *) "pos", NULL
13633 };
13634
13635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13637 arg2 = (size_t) PyInt_AsLong(obj1);
13638 if (PyErr_Occurred()) SWIG_fail;
13639 {
13640 PyThreadState* __tstate = wxPyBeginAllowThreads();
13641 result = (bool)(arg1)->DeleteToolByPos(arg2);
13642
13643 wxPyEndAllowThreads(__tstate);
13644 if (PyErr_Occurred()) SWIG_fail;
13645 }
13646 resultobj = PyInt_FromLong((long)result);
13647 return resultobj;
13648 fail:
13649 return NULL;
13650 }
13651
13652
13653 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13654 PyObject *resultobj;
13655 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13656 int arg2 ;
13657 bool result;
13658 PyObject * obj0 = 0 ;
13659 char *kwnames[] = {
13660 (char *) "self",(char *) "id", NULL
13661 };
13662
13663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
13664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13665 {
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 result = (bool)(arg1)->DeleteTool(arg2);
13668
13669 wxPyEndAllowThreads(__tstate);
13670 if (PyErr_Occurred()) SWIG_fail;
13671 }
13672 resultobj = PyInt_FromLong((long)result);
13673 return resultobj;
13674 fail:
13675 return NULL;
13676 }
13677
13678
13679 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
13680 PyObject *resultobj;
13681 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13682 PyObject * obj0 = 0 ;
13683 char *kwnames[] = {
13684 (char *) "self", NULL
13685 };
13686
13687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
13688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13689 {
13690 PyThreadState* __tstate = wxPyBeginAllowThreads();
13691 (arg1)->ClearTools();
13692
13693 wxPyEndAllowThreads(__tstate);
13694 if (PyErr_Occurred()) SWIG_fail;
13695 }
13696 Py_INCREF(Py_None); resultobj = Py_None;
13697 return resultobj;
13698 fail:
13699 return NULL;
13700 }
13701
13702
13703 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
13704 PyObject *resultobj;
13705 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13706 bool result;
13707 PyObject * obj0 = 0 ;
13708 char *kwnames[] = {
13709 (char *) "self", NULL
13710 };
13711
13712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
13713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13714 {
13715 PyThreadState* __tstate = wxPyBeginAllowThreads();
13716 result = (bool)(arg1)->Realize();
13717
13718 wxPyEndAllowThreads(__tstate);
13719 if (PyErr_Occurred()) SWIG_fail;
13720 }
13721 resultobj = PyInt_FromLong((long)result);
13722 return resultobj;
13723 fail:
13724 return NULL;
13725 }
13726
13727
13728 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13729 PyObject *resultobj;
13730 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13731 int arg2 ;
13732 bool arg3 ;
13733 PyObject * obj0 = 0 ;
13734 PyObject * obj2 = 0 ;
13735 char *kwnames[] = {
13736 (char *) "self",(char *) "id",(char *) "enable", NULL
13737 };
13738
13739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13741 arg3 = PyInt_AsLong(obj2) ? true : false;
13742 if (PyErr_Occurred()) SWIG_fail;
13743 {
13744 PyThreadState* __tstate = wxPyBeginAllowThreads();
13745 (arg1)->EnableTool(arg2,arg3);
13746
13747 wxPyEndAllowThreads(__tstate);
13748 if (PyErr_Occurred()) SWIG_fail;
13749 }
13750 Py_INCREF(Py_None); resultobj = Py_None;
13751 return resultobj;
13752 fail:
13753 return NULL;
13754 }
13755
13756
13757 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13758 PyObject *resultobj;
13759 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13760 int arg2 ;
13761 bool arg3 ;
13762 PyObject * obj0 = 0 ;
13763 PyObject * obj2 = 0 ;
13764 char *kwnames[] = {
13765 (char *) "self",(char *) "id",(char *) "toggle", NULL
13766 };
13767
13768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13770 arg3 = PyInt_AsLong(obj2) ? true : false;
13771 if (PyErr_Occurred()) SWIG_fail;
13772 {
13773 PyThreadState* __tstate = wxPyBeginAllowThreads();
13774 (arg1)->ToggleTool(arg2,arg3);
13775
13776 wxPyEndAllowThreads(__tstate);
13777 if (PyErr_Occurred()) SWIG_fail;
13778 }
13779 Py_INCREF(Py_None); resultobj = Py_None;
13780 return resultobj;
13781 fail:
13782 return NULL;
13783 }
13784
13785
13786 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13787 PyObject *resultobj;
13788 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13789 int arg2 ;
13790 bool arg3 ;
13791 PyObject * obj0 = 0 ;
13792 PyObject * obj2 = 0 ;
13793 char *kwnames[] = {
13794 (char *) "self",(char *) "id",(char *) "toggle", NULL
13795 };
13796
13797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
13798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13799 arg3 = PyInt_AsLong(obj2) ? true : false;
13800 if (PyErr_Occurred()) SWIG_fail;
13801 {
13802 PyThreadState* __tstate = wxPyBeginAllowThreads();
13803 (arg1)->SetToggle(arg2,arg3);
13804
13805 wxPyEndAllowThreads(__tstate);
13806 if (PyErr_Occurred()) SWIG_fail;
13807 }
13808 Py_INCREF(Py_None); resultobj = Py_None;
13809 return resultobj;
13810 fail:
13811 return NULL;
13812 }
13813
13814
13815 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13816 PyObject *resultobj;
13817 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13818 int arg2 ;
13819 PyObject *result;
13820 PyObject * obj0 = 0 ;
13821 char *kwnames[] = {
13822 (char *) "self",(char *) "id", NULL
13823 };
13824
13825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
13826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
13830
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 }
13834 resultobj = result;
13835 return resultobj;
13836 fail:
13837 return NULL;
13838 }
13839
13840
13841 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13842 PyObject *resultobj;
13843 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13844 int arg2 ;
13845 PyObject *arg3 = (PyObject *) 0 ;
13846 PyObject * obj0 = 0 ;
13847 PyObject * obj2 = 0 ;
13848 char *kwnames[] = {
13849 (char *) "self",(char *) "id",(char *) "clientData", NULL
13850 };
13851
13852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
13853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13854 arg3 = obj2;
13855 {
13856 PyThreadState* __tstate = wxPyBeginAllowThreads();
13857 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
13858
13859 wxPyEndAllowThreads(__tstate);
13860 if (PyErr_Occurred()) SWIG_fail;
13861 }
13862 Py_INCREF(Py_None); resultobj = Py_None;
13863 return resultobj;
13864 fail:
13865 return NULL;
13866 }
13867
13868
13869 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13870 PyObject *resultobj;
13871 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13872 int arg2 ;
13873 int result;
13874 PyObject * obj0 = 0 ;
13875 char *kwnames[] = {
13876 (char *) "self",(char *) "id", NULL
13877 };
13878
13879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
13880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13881 {
13882 PyThreadState* __tstate = wxPyBeginAllowThreads();
13883 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
13884
13885 wxPyEndAllowThreads(__tstate);
13886 if (PyErr_Occurred()) SWIG_fail;
13887 }
13888 resultobj = PyInt_FromLong((long)result);
13889 return resultobj;
13890 fail:
13891 return NULL;
13892 }
13893
13894
13895 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
13896 PyObject *resultobj;
13897 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13898 int arg2 ;
13899 bool result;
13900 PyObject * obj0 = 0 ;
13901 char *kwnames[] = {
13902 (char *) "self",(char *) "id", NULL
13903 };
13904
13905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
13906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13907 {
13908 PyThreadState* __tstate = wxPyBeginAllowThreads();
13909 result = (bool)(arg1)->GetToolState(arg2);
13910
13911 wxPyEndAllowThreads(__tstate);
13912 if (PyErr_Occurred()) SWIG_fail;
13913 }
13914 resultobj = PyInt_FromLong((long)result);
13915 return resultobj;
13916 fail:
13917 return NULL;
13918 }
13919
13920
13921 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
13922 PyObject *resultobj;
13923 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13924 int arg2 ;
13925 bool result;
13926 PyObject * obj0 = 0 ;
13927 char *kwnames[] = {
13928 (char *) "self",(char *) "id", NULL
13929 };
13930
13931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
13932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13933 {
13934 PyThreadState* __tstate = wxPyBeginAllowThreads();
13935 result = (bool)(arg1)->GetToolEnabled(arg2);
13936
13937 wxPyEndAllowThreads(__tstate);
13938 if (PyErr_Occurred()) SWIG_fail;
13939 }
13940 resultobj = PyInt_FromLong((long)result);
13941 return resultobj;
13942 fail:
13943 return NULL;
13944 }
13945
13946
13947 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13948 PyObject *resultobj;
13949 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13950 int arg2 ;
13951 wxString *arg3 = 0 ;
13952 bool temp3 = False ;
13953 PyObject * obj0 = 0 ;
13954 PyObject * obj2 = 0 ;
13955 char *kwnames[] = {
13956 (char *) "self",(char *) "id",(char *) "helpString", NULL
13957 };
13958
13959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
13960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13961 {
13962 arg3 = wxString_in_helper(obj2);
13963 if (arg3 == NULL) SWIG_fail;
13964 temp3 = True;
13965 }
13966 {
13967 PyThreadState* __tstate = wxPyBeginAllowThreads();
13968 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
13969
13970 wxPyEndAllowThreads(__tstate);
13971 if (PyErr_Occurred()) SWIG_fail;
13972 }
13973 Py_INCREF(Py_None); resultobj = Py_None;
13974 {
13975 if (temp3)
13976 delete arg3;
13977 }
13978 return resultobj;
13979 fail:
13980 {
13981 if (temp3)
13982 delete arg3;
13983 }
13984 return NULL;
13985 }
13986
13987
13988 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13989 PyObject *resultobj;
13990 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13991 int arg2 ;
13992 wxString result;
13993 PyObject * obj0 = 0 ;
13994 char *kwnames[] = {
13995 (char *) "self",(char *) "id", NULL
13996 };
13997
13998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
13999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14000 {
14001 PyThreadState* __tstate = wxPyBeginAllowThreads();
14002 result = (arg1)->GetToolShortHelp(arg2);
14003
14004 wxPyEndAllowThreads(__tstate);
14005 if (PyErr_Occurred()) SWIG_fail;
14006 }
14007 {
14008 #if wxUSE_UNICODE
14009 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14010 #else
14011 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14012 #endif
14013 }
14014 return resultobj;
14015 fail:
14016 return NULL;
14017 }
14018
14019
14020 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14021 PyObject *resultobj;
14022 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14023 int arg2 ;
14024 wxString *arg3 = 0 ;
14025 bool temp3 = False ;
14026 PyObject * obj0 = 0 ;
14027 PyObject * obj2 = 0 ;
14028 char *kwnames[] = {
14029 (char *) "self",(char *) "id",(char *) "helpString", NULL
14030 };
14031
14032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14034 {
14035 arg3 = wxString_in_helper(obj2);
14036 if (arg3 == NULL) SWIG_fail;
14037 temp3 = True;
14038 }
14039 {
14040 PyThreadState* __tstate = wxPyBeginAllowThreads();
14041 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14042
14043 wxPyEndAllowThreads(__tstate);
14044 if (PyErr_Occurred()) SWIG_fail;
14045 }
14046 Py_INCREF(Py_None); resultobj = Py_None;
14047 {
14048 if (temp3)
14049 delete arg3;
14050 }
14051 return resultobj;
14052 fail:
14053 {
14054 if (temp3)
14055 delete arg3;
14056 }
14057 return NULL;
14058 }
14059
14060
14061 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj;
14063 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14064 int arg2 ;
14065 wxString result;
14066 PyObject * obj0 = 0 ;
14067 char *kwnames[] = {
14068 (char *) "self",(char *) "id", NULL
14069 };
14070
14071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14073 {
14074 PyThreadState* __tstate = wxPyBeginAllowThreads();
14075 result = (arg1)->GetToolLongHelp(arg2);
14076
14077 wxPyEndAllowThreads(__tstate);
14078 if (PyErr_Occurred()) SWIG_fail;
14079 }
14080 {
14081 #if wxUSE_UNICODE
14082 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14083 #else
14084 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14085 #endif
14086 }
14087 return resultobj;
14088 fail:
14089 return NULL;
14090 }
14091
14092
14093 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14094 PyObject *resultobj;
14095 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14096 int arg2 ;
14097 int arg3 ;
14098 PyObject * obj0 = 0 ;
14099 char *kwnames[] = {
14100 (char *) "self",(char *) "x",(char *) "y", NULL
14101 };
14102
14103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14105 {
14106 PyThreadState* __tstate = wxPyBeginAllowThreads();
14107 (arg1)->SetMargins(arg2,arg3);
14108
14109 wxPyEndAllowThreads(__tstate);
14110 if (PyErr_Occurred()) SWIG_fail;
14111 }
14112 Py_INCREF(Py_None); resultobj = Py_None;
14113 return resultobj;
14114 fail:
14115 return NULL;
14116 }
14117
14118
14119 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14120 PyObject *resultobj;
14121 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14122 wxSize *arg2 = 0 ;
14123 wxSize temp2 ;
14124 PyObject * obj0 = 0 ;
14125 PyObject * obj1 = 0 ;
14126 char *kwnames[] = {
14127 (char *) "self",(char *) "size", NULL
14128 };
14129
14130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14132 {
14133 arg2 = &temp2;
14134 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14135 }
14136 {
14137 PyThreadState* __tstate = wxPyBeginAllowThreads();
14138 (arg1)->SetMargins((wxSize const &)*arg2);
14139
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
14143 Py_INCREF(Py_None); resultobj = Py_None;
14144 return resultobj;
14145 fail:
14146 return NULL;
14147 }
14148
14149
14150 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14151 PyObject *resultobj;
14152 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14153 int arg2 ;
14154 PyObject * obj0 = 0 ;
14155 char *kwnames[] = {
14156 (char *) "self",(char *) "packing", NULL
14157 };
14158
14159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14161 {
14162 PyThreadState* __tstate = wxPyBeginAllowThreads();
14163 (arg1)->SetToolPacking(arg2);
14164
14165 wxPyEndAllowThreads(__tstate);
14166 if (PyErr_Occurred()) SWIG_fail;
14167 }
14168 Py_INCREF(Py_None); resultobj = Py_None;
14169 return resultobj;
14170 fail:
14171 return NULL;
14172 }
14173
14174
14175 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14176 PyObject *resultobj;
14177 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14178 int arg2 ;
14179 PyObject * obj0 = 0 ;
14180 char *kwnames[] = {
14181 (char *) "self",(char *) "separation", NULL
14182 };
14183
14184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14186 {
14187 PyThreadState* __tstate = wxPyBeginAllowThreads();
14188 (arg1)->SetToolSeparation(arg2);
14189
14190 wxPyEndAllowThreads(__tstate);
14191 if (PyErr_Occurred()) SWIG_fail;
14192 }
14193 Py_INCREF(Py_None); resultobj = Py_None;
14194 return resultobj;
14195 fail:
14196 return NULL;
14197 }
14198
14199
14200 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14201 PyObject *resultobj;
14202 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14203 wxSize result;
14204 PyObject * obj0 = 0 ;
14205 char *kwnames[] = {
14206 (char *) "self", NULL
14207 };
14208
14209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14211 {
14212 PyThreadState* __tstate = wxPyBeginAllowThreads();
14213 result = (arg1)->GetToolMargins();
14214
14215 wxPyEndAllowThreads(__tstate);
14216 if (PyErr_Occurred()) SWIG_fail;
14217 }
14218 {
14219 wxSize * resultptr;
14220 resultptr = new wxSize((wxSize &) result);
14221 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14222 }
14223 return resultobj;
14224 fail:
14225 return NULL;
14226 }
14227
14228
14229 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14230 PyObject *resultobj;
14231 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14232 wxSize result;
14233 PyObject * obj0 = 0 ;
14234 char *kwnames[] = {
14235 (char *) "self", NULL
14236 };
14237
14238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14240 {
14241 PyThreadState* __tstate = wxPyBeginAllowThreads();
14242 result = (arg1)->GetMargins();
14243
14244 wxPyEndAllowThreads(__tstate);
14245 if (PyErr_Occurred()) SWIG_fail;
14246 }
14247 {
14248 wxSize * resultptr;
14249 resultptr = new wxSize((wxSize &) result);
14250 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14251 }
14252 return resultobj;
14253 fail:
14254 return NULL;
14255 }
14256
14257
14258 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14259 PyObject *resultobj;
14260 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14261 int result;
14262 PyObject * obj0 = 0 ;
14263 char *kwnames[] = {
14264 (char *) "self", NULL
14265 };
14266
14267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14269 {
14270 PyThreadState* __tstate = wxPyBeginAllowThreads();
14271 result = (int)(arg1)->GetToolPacking();
14272
14273 wxPyEndAllowThreads(__tstate);
14274 if (PyErr_Occurred()) SWIG_fail;
14275 }
14276 resultobj = PyInt_FromLong((long)result);
14277 return resultobj;
14278 fail:
14279 return NULL;
14280 }
14281
14282
14283 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14284 PyObject *resultobj;
14285 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14286 int result;
14287 PyObject * obj0 = 0 ;
14288 char *kwnames[] = {
14289 (char *) "self", NULL
14290 };
14291
14292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14294 {
14295 PyThreadState* __tstate = wxPyBeginAllowThreads();
14296 result = (int)(arg1)->GetToolSeparation();
14297
14298 wxPyEndAllowThreads(__tstate);
14299 if (PyErr_Occurred()) SWIG_fail;
14300 }
14301 resultobj = PyInt_FromLong((long)result);
14302 return resultobj;
14303 fail:
14304 return NULL;
14305 }
14306
14307
14308 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14309 PyObject *resultobj;
14310 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14311 int arg2 ;
14312 PyObject * obj0 = 0 ;
14313 char *kwnames[] = {
14314 (char *) "self",(char *) "nRows", NULL
14315 };
14316
14317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14319 {
14320 PyThreadState* __tstate = wxPyBeginAllowThreads();
14321 (arg1)->SetRows(arg2);
14322
14323 wxPyEndAllowThreads(__tstate);
14324 if (PyErr_Occurred()) SWIG_fail;
14325 }
14326 Py_INCREF(Py_None); resultobj = Py_None;
14327 return resultobj;
14328 fail:
14329 return NULL;
14330 }
14331
14332
14333 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14334 PyObject *resultobj;
14335 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14336 int arg2 ;
14337 int arg3 ;
14338 PyObject * obj0 = 0 ;
14339 char *kwnames[] = {
14340 (char *) "self",(char *) "rows",(char *) "cols", NULL
14341 };
14342
14343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14345 {
14346 PyThreadState* __tstate = wxPyBeginAllowThreads();
14347 (arg1)->SetMaxRowsCols(arg2,arg3);
14348
14349 wxPyEndAllowThreads(__tstate);
14350 if (PyErr_Occurred()) SWIG_fail;
14351 }
14352 Py_INCREF(Py_None); resultobj = Py_None;
14353 return resultobj;
14354 fail:
14355 return NULL;
14356 }
14357
14358
14359 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14360 PyObject *resultobj;
14361 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14362 int result;
14363 PyObject * obj0 = 0 ;
14364 char *kwnames[] = {
14365 (char *) "self", NULL
14366 };
14367
14368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14370 {
14371 PyThreadState* __tstate = wxPyBeginAllowThreads();
14372 result = (int)(arg1)->GetMaxRows();
14373
14374 wxPyEndAllowThreads(__tstate);
14375 if (PyErr_Occurred()) SWIG_fail;
14376 }
14377 resultobj = PyInt_FromLong((long)result);
14378 return resultobj;
14379 fail:
14380 return NULL;
14381 }
14382
14383
14384 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14385 PyObject *resultobj;
14386 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14387 int result;
14388 PyObject * obj0 = 0 ;
14389 char *kwnames[] = {
14390 (char *) "self", NULL
14391 };
14392
14393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14395 {
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 result = (int)(arg1)->GetMaxCols();
14398
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) SWIG_fail;
14401 }
14402 resultobj = PyInt_FromLong((long)result);
14403 return resultobj;
14404 fail:
14405 return NULL;
14406 }
14407
14408
14409 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14410 PyObject *resultobj;
14411 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14412 wxSize *arg2 = 0 ;
14413 wxSize temp2 ;
14414 PyObject * obj0 = 0 ;
14415 PyObject * obj1 = 0 ;
14416 char *kwnames[] = {
14417 (char *) "self",(char *) "size", NULL
14418 };
14419
14420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14422 {
14423 arg2 = &temp2;
14424 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14425 }
14426 {
14427 PyThreadState* __tstate = wxPyBeginAllowThreads();
14428 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14429
14430 wxPyEndAllowThreads(__tstate);
14431 if (PyErr_Occurred()) SWIG_fail;
14432 }
14433 Py_INCREF(Py_None); resultobj = Py_None;
14434 return resultobj;
14435 fail:
14436 return NULL;
14437 }
14438
14439
14440 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14441 PyObject *resultobj;
14442 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14443 wxSize result;
14444 PyObject * obj0 = 0 ;
14445 char *kwnames[] = {
14446 (char *) "self", NULL
14447 };
14448
14449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14451 {
14452 PyThreadState* __tstate = wxPyBeginAllowThreads();
14453 result = (arg1)->GetToolBitmapSize();
14454
14455 wxPyEndAllowThreads(__tstate);
14456 if (PyErr_Occurred()) SWIG_fail;
14457 }
14458 {
14459 wxSize * resultptr;
14460 resultptr = new wxSize((wxSize &) result);
14461 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14462 }
14463 return resultobj;
14464 fail:
14465 return NULL;
14466 }
14467
14468
14469 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14470 PyObject *resultobj;
14471 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14472 wxSize result;
14473 PyObject * obj0 = 0 ;
14474 char *kwnames[] = {
14475 (char *) "self", NULL
14476 };
14477
14478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14480 {
14481 PyThreadState* __tstate = wxPyBeginAllowThreads();
14482 result = (arg1)->GetToolSize();
14483
14484 wxPyEndAllowThreads(__tstate);
14485 if (PyErr_Occurred()) SWIG_fail;
14486 }
14487 {
14488 wxSize * resultptr;
14489 resultptr = new wxSize((wxSize &) result);
14490 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14491 }
14492 return resultobj;
14493 fail:
14494 return NULL;
14495 }
14496
14497
14498 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14499 PyObject *resultobj;
14500 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14501 int arg2 ;
14502 int arg3 ;
14503 wxToolBarToolBase *result;
14504 PyObject * obj0 = 0 ;
14505 char *kwnames[] = {
14506 (char *) "self",(char *) "x",(char *) "y", NULL
14507 };
14508
14509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14511 {
14512 PyThreadState* __tstate = wxPyBeginAllowThreads();
14513 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14514
14515 wxPyEndAllowThreads(__tstate);
14516 if (PyErr_Occurred()) SWIG_fail;
14517 }
14518 {
14519 resultobj = wxPyMake_wxObject(result);
14520 }
14521 return resultobj;
14522 fail:
14523 return NULL;
14524 }
14525
14526
14527 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14528 PyObject *resultobj;
14529 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14530 bool result;
14531 PyObject * obj0 = 0 ;
14532 char *kwnames[] = {
14533 (char *) "self", NULL
14534 };
14535
14536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14538 {
14539 PyThreadState* __tstate = wxPyBeginAllowThreads();
14540 result = (bool)(arg1)->IsVertical();
14541
14542 wxPyEndAllowThreads(__tstate);
14543 if (PyErr_Occurred()) SWIG_fail;
14544 }
14545 resultobj = PyInt_FromLong((long)result);
14546 return resultobj;
14547 fail:
14548 return NULL;
14549 }
14550
14551
14552 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14553 PyObject *obj;
14554 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14555 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14556 Py_INCREF(obj);
14557 return Py_BuildValue((char *)"");
14558 }
14559 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14560 PyObject *resultobj;
14561 wxWindow *arg1 = (wxWindow *) 0 ;
14562 int arg2 ;
14563 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14564 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14565 wxSize const &arg4_defvalue = wxDefaultSize ;
14566 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14567 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14568 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14569 wxString *arg6 = (wxString *) &arg6_defvalue ;
14570 wxToolBar *result;
14571 wxPoint temp3 ;
14572 wxSize temp4 ;
14573 bool temp6 = False ;
14574 PyObject * obj0 = 0 ;
14575 PyObject * obj2 = 0 ;
14576 PyObject * obj3 = 0 ;
14577 PyObject * obj5 = 0 ;
14578 char *kwnames[] = {
14579 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14580 };
14581
14582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14584 if (obj2) {
14585 {
14586 arg3 = &temp3;
14587 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14588 }
14589 }
14590 if (obj3) {
14591 {
14592 arg4 = &temp4;
14593 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14594 }
14595 }
14596 if (obj5) {
14597 {
14598 arg6 = wxString_in_helper(obj5);
14599 if (arg6 == NULL) SWIG_fail;
14600 temp6 = True;
14601 }
14602 }
14603 {
14604 PyThreadState* __tstate = wxPyBeginAllowThreads();
14605 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14606
14607 wxPyEndAllowThreads(__tstate);
14608 if (PyErr_Occurred()) SWIG_fail;
14609 }
14610 {
14611 resultobj = wxPyMake_wxObject(result);
14612 }
14613 {
14614 if (temp6)
14615 delete arg6;
14616 }
14617 return resultobj;
14618 fail:
14619 {
14620 if (temp6)
14621 delete arg6;
14622 }
14623 return NULL;
14624 }
14625
14626
14627 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14628 PyObject *resultobj;
14629 wxToolBar *result;
14630 char *kwnames[] = {
14631 NULL
14632 };
14633
14634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14635 {
14636 PyThreadState* __tstate = wxPyBeginAllowThreads();
14637 result = (wxToolBar *)new wxToolBar();
14638
14639 wxPyEndAllowThreads(__tstate);
14640 if (PyErr_Occurred()) SWIG_fail;
14641 }
14642 {
14643 resultobj = wxPyMake_wxObject(result);
14644 }
14645 return resultobj;
14646 fail:
14647 return NULL;
14648 }
14649
14650
14651 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14652 PyObject *resultobj;
14653 wxToolBar *arg1 = (wxToolBar *) 0 ;
14654 wxWindow *arg2 = (wxWindow *) 0 ;
14655 int arg3 ;
14656 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14657 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14658 wxSize const &arg5_defvalue = wxDefaultSize ;
14659 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14660 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14661 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
14662 wxString *arg7 = (wxString *) &arg7_defvalue ;
14663 bool result;
14664 wxPoint temp4 ;
14665 wxSize temp5 ;
14666 bool temp7 = False ;
14667 PyObject * obj0 = 0 ;
14668 PyObject * obj1 = 0 ;
14669 PyObject * obj3 = 0 ;
14670 PyObject * obj4 = 0 ;
14671 PyObject * obj6 = 0 ;
14672 char *kwnames[] = {
14673 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14674 };
14675
14676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
14677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14678 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14679 if (obj3) {
14680 {
14681 arg4 = &temp4;
14682 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14683 }
14684 }
14685 if (obj4) {
14686 {
14687 arg5 = &temp5;
14688 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14689 }
14690 }
14691 if (obj6) {
14692 {
14693 arg7 = wxString_in_helper(obj6);
14694 if (arg7 == NULL) SWIG_fail;
14695 temp7 = True;
14696 }
14697 }
14698 {
14699 PyThreadState* __tstate = wxPyBeginAllowThreads();
14700 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14701
14702 wxPyEndAllowThreads(__tstate);
14703 if (PyErr_Occurred()) SWIG_fail;
14704 }
14705 resultobj = PyInt_FromLong((long)result);
14706 {
14707 if (temp7)
14708 delete arg7;
14709 }
14710 return resultobj;
14711 fail:
14712 {
14713 if (temp7)
14714 delete arg7;
14715 }
14716 return NULL;
14717 }
14718
14719
14720 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14721 PyObject *resultobj;
14722 wxToolBar *arg1 = (wxToolBar *) 0 ;
14723 int arg2 ;
14724 int arg3 ;
14725 wxToolBarToolBase *result;
14726 PyObject * obj0 = 0 ;
14727 char *kwnames[] = {
14728 (char *) "self",(char *) "x",(char *) "y", NULL
14729 };
14730
14731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14733 {
14734 PyThreadState* __tstate = wxPyBeginAllowThreads();
14735 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14736
14737 wxPyEndAllowThreads(__tstate);
14738 if (PyErr_Occurred()) SWIG_fail;
14739 }
14740 {
14741 resultobj = wxPyMake_wxObject(result);
14742 }
14743 return resultobj;
14744 fail:
14745 return NULL;
14746 }
14747
14748
14749 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
14750 PyObject *obj;
14751 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14752 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
14753 Py_INCREF(obj);
14754 return Py_BuildValue((char *)"");
14755 }
14756 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
14757 PyObject *resultobj;
14758 wxColour const &arg1_defvalue = wxNullColour ;
14759 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
14760 wxColour const &arg2_defvalue = wxNullColour ;
14761 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
14762 wxFont const &arg3_defvalue = wxNullFont ;
14763 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
14764 wxListItemAttr *result;
14765 wxColour temp1 ;
14766 wxColour temp2 ;
14767 PyObject * obj0 = 0 ;
14768 PyObject * obj1 = 0 ;
14769 PyObject * obj2 = 0 ;
14770 char *kwnames[] = {
14771 (char *) "colText",(char *) "colBack",(char *) "font", NULL
14772 };
14773
14774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
14775 if (obj0) {
14776 {
14777 arg1 = &temp1;
14778 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
14779 }
14780 }
14781 if (obj1) {
14782 {
14783 arg2 = &temp2;
14784 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14785 }
14786 }
14787 if (obj2) {
14788 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14789 if (arg3 == NULL) {
14790 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14791 }
14792 }
14793 {
14794 PyThreadState* __tstate = wxPyBeginAllowThreads();
14795 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
14796
14797 wxPyEndAllowThreads(__tstate);
14798 if (PyErr_Occurred()) SWIG_fail;
14799 }
14800 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
14801 return resultobj;
14802 fail:
14803 return NULL;
14804 }
14805
14806
14807 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14808 PyObject *resultobj;
14809 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14810 wxColour *arg2 = 0 ;
14811 wxColour temp2 ;
14812 PyObject * obj0 = 0 ;
14813 PyObject * obj1 = 0 ;
14814 char *kwnames[] = {
14815 (char *) "self",(char *) "colText", NULL
14816 };
14817
14818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
14819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14820 {
14821 arg2 = &temp2;
14822 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14823 }
14824 {
14825 PyThreadState* __tstate = wxPyBeginAllowThreads();
14826 (arg1)->SetTextColour((wxColour const &)*arg2);
14827
14828 wxPyEndAllowThreads(__tstate);
14829 if (PyErr_Occurred()) SWIG_fail;
14830 }
14831 Py_INCREF(Py_None); resultobj = Py_None;
14832 return resultobj;
14833 fail:
14834 return NULL;
14835 }
14836
14837
14838 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14839 PyObject *resultobj;
14840 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14841 wxColour *arg2 = 0 ;
14842 wxColour temp2 ;
14843 PyObject * obj0 = 0 ;
14844 PyObject * obj1 = 0 ;
14845 char *kwnames[] = {
14846 (char *) "self",(char *) "colBack", NULL
14847 };
14848
14849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
14850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14851 {
14852 arg2 = &temp2;
14853 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
14854 }
14855 {
14856 PyThreadState* __tstate = wxPyBeginAllowThreads();
14857 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
14858
14859 wxPyEndAllowThreads(__tstate);
14860 if (PyErr_Occurred()) SWIG_fail;
14861 }
14862 Py_INCREF(Py_None); resultobj = Py_None;
14863 return resultobj;
14864 fail:
14865 return NULL;
14866 }
14867
14868
14869 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
14870 PyObject *resultobj;
14871 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14872 wxFont *arg2 = 0 ;
14873 PyObject * obj0 = 0 ;
14874 PyObject * obj1 = 0 ;
14875 char *kwnames[] = {
14876 (char *) "self",(char *) "font", NULL
14877 };
14878
14879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
14880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14881 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14882 if (arg2 == NULL) {
14883 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
14884 }
14885 {
14886 PyThreadState* __tstate = wxPyBeginAllowThreads();
14887 (arg1)->SetFont((wxFont const &)*arg2);
14888
14889 wxPyEndAllowThreads(__tstate);
14890 if (PyErr_Occurred()) SWIG_fail;
14891 }
14892 Py_INCREF(Py_None); resultobj = Py_None;
14893 return resultobj;
14894 fail:
14895 return NULL;
14896 }
14897
14898
14899 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14900 PyObject *resultobj;
14901 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14902 bool result;
14903 PyObject * obj0 = 0 ;
14904 char *kwnames[] = {
14905 (char *) "self", NULL
14906 };
14907
14908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
14909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14910 {
14911 PyThreadState* __tstate = wxPyBeginAllowThreads();
14912 result = (bool)(arg1)->HasTextColour();
14913
14914 wxPyEndAllowThreads(__tstate);
14915 if (PyErr_Occurred()) SWIG_fail;
14916 }
14917 resultobj = PyInt_FromLong((long)result);
14918 return resultobj;
14919 fail:
14920 return NULL;
14921 }
14922
14923
14924 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14925 PyObject *resultobj;
14926 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14927 bool result;
14928 PyObject * obj0 = 0 ;
14929 char *kwnames[] = {
14930 (char *) "self", NULL
14931 };
14932
14933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
14934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14935 {
14936 PyThreadState* __tstate = wxPyBeginAllowThreads();
14937 result = (bool)(arg1)->HasBackgroundColour();
14938
14939 wxPyEndAllowThreads(__tstate);
14940 if (PyErr_Occurred()) SWIG_fail;
14941 }
14942 resultobj = PyInt_FromLong((long)result);
14943 return resultobj;
14944 fail:
14945 return NULL;
14946 }
14947
14948
14949 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
14950 PyObject *resultobj;
14951 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14952 bool result;
14953 PyObject * obj0 = 0 ;
14954 char *kwnames[] = {
14955 (char *) "self", NULL
14956 };
14957
14958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
14959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14960 {
14961 PyThreadState* __tstate = wxPyBeginAllowThreads();
14962 result = (bool)(arg1)->HasFont();
14963
14964 wxPyEndAllowThreads(__tstate);
14965 if (PyErr_Occurred()) SWIG_fail;
14966 }
14967 resultobj = PyInt_FromLong((long)result);
14968 return resultobj;
14969 fail:
14970 return NULL;
14971 }
14972
14973
14974 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14975 PyObject *resultobj;
14976 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
14977 wxColour result;
14978 PyObject * obj0 = 0 ;
14979 char *kwnames[] = {
14980 (char *) "self", NULL
14981 };
14982
14983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
14984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14985 {
14986 PyThreadState* __tstate = wxPyBeginAllowThreads();
14987 result = (arg1)->GetTextColour();
14988
14989 wxPyEndAllowThreads(__tstate);
14990 if (PyErr_Occurred()) SWIG_fail;
14991 }
14992 {
14993 wxColour * resultptr;
14994 resultptr = new wxColour((wxColour &) result);
14995 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
14996 }
14997 return resultobj;
14998 fail:
14999 return NULL;
15000 }
15001
15002
15003 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15004 PyObject *resultobj;
15005 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15006 wxColour result;
15007 PyObject * obj0 = 0 ;
15008 char *kwnames[] = {
15009 (char *) "self", NULL
15010 };
15011
15012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15014 {
15015 PyThreadState* __tstate = wxPyBeginAllowThreads();
15016 result = (arg1)->GetBackgroundColour();
15017
15018 wxPyEndAllowThreads(__tstate);
15019 if (PyErr_Occurred()) SWIG_fail;
15020 }
15021 {
15022 wxColour * resultptr;
15023 resultptr = new wxColour((wxColour &) result);
15024 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15025 }
15026 return resultobj;
15027 fail:
15028 return NULL;
15029 }
15030
15031
15032 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15033 PyObject *resultobj;
15034 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15035 wxFont result;
15036 PyObject * obj0 = 0 ;
15037 char *kwnames[] = {
15038 (char *) "self", NULL
15039 };
15040
15041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15043 {
15044 PyThreadState* __tstate = wxPyBeginAllowThreads();
15045 result = (arg1)->GetFont();
15046
15047 wxPyEndAllowThreads(__tstate);
15048 if (PyErr_Occurred()) SWIG_fail;
15049 }
15050 {
15051 wxFont * resultptr;
15052 resultptr = new wxFont((wxFont &) result);
15053 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15054 }
15055 return resultobj;
15056 fail:
15057 return NULL;
15058 }
15059
15060
15061 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15062 PyObject *resultobj;
15063 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15064 PyObject * obj0 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15071 {
15072 PyThreadState* __tstate = wxPyBeginAllowThreads();
15073 wxListItemAttr_Destroy(arg1);
15074
15075 wxPyEndAllowThreads(__tstate);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
15078 Py_INCREF(Py_None); resultobj = Py_None;
15079 return resultobj;
15080 fail:
15081 return NULL;
15082 }
15083
15084
15085 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15086 PyObject *obj;
15087 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15088 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15089 Py_INCREF(obj);
15090 return Py_BuildValue((char *)"");
15091 }
15092 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15093 PyObject *resultobj;
15094 wxListItem *result;
15095 char *kwnames[] = {
15096 NULL
15097 };
15098
15099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15100 {
15101 PyThreadState* __tstate = wxPyBeginAllowThreads();
15102 result = (wxListItem *)new wxListItem();
15103
15104 wxPyEndAllowThreads(__tstate);
15105 if (PyErr_Occurred()) SWIG_fail;
15106 }
15107 {
15108 resultobj = wxPyMake_wxObject(result);
15109 }
15110 return resultobj;
15111 fail:
15112 return NULL;
15113 }
15114
15115
15116 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15117 PyObject *resultobj;
15118 wxListItem *arg1 = (wxListItem *) 0 ;
15119 PyObject * obj0 = 0 ;
15120 char *kwnames[] = {
15121 (char *) "self", NULL
15122 };
15123
15124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 delete arg1;
15129
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 Py_INCREF(Py_None); resultobj = Py_None;
15134 return resultobj;
15135 fail:
15136 return NULL;
15137 }
15138
15139
15140 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15141 PyObject *resultobj;
15142 wxListItem *arg1 = (wxListItem *) 0 ;
15143 PyObject * obj0 = 0 ;
15144 char *kwnames[] = {
15145 (char *) "self", NULL
15146 };
15147
15148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15150 {
15151 PyThreadState* __tstate = wxPyBeginAllowThreads();
15152 (arg1)->Clear();
15153
15154 wxPyEndAllowThreads(__tstate);
15155 if (PyErr_Occurred()) SWIG_fail;
15156 }
15157 Py_INCREF(Py_None); resultobj = Py_None;
15158 return resultobj;
15159 fail:
15160 return NULL;
15161 }
15162
15163
15164 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15165 PyObject *resultobj;
15166 wxListItem *arg1 = (wxListItem *) 0 ;
15167 PyObject * obj0 = 0 ;
15168 char *kwnames[] = {
15169 (char *) "self", NULL
15170 };
15171
15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15174 {
15175 PyThreadState* __tstate = wxPyBeginAllowThreads();
15176 (arg1)->ClearAttributes();
15177
15178 wxPyEndAllowThreads(__tstate);
15179 if (PyErr_Occurred()) SWIG_fail;
15180 }
15181 Py_INCREF(Py_None); resultobj = Py_None;
15182 return resultobj;
15183 fail:
15184 return NULL;
15185 }
15186
15187
15188 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15189 PyObject *resultobj;
15190 wxListItem *arg1 = (wxListItem *) 0 ;
15191 long arg2 ;
15192 PyObject * obj0 = 0 ;
15193 char *kwnames[] = {
15194 (char *) "self",(char *) "mask", NULL
15195 };
15196
15197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15199 {
15200 PyThreadState* __tstate = wxPyBeginAllowThreads();
15201 (arg1)->SetMask(arg2);
15202
15203 wxPyEndAllowThreads(__tstate);
15204 if (PyErr_Occurred()) SWIG_fail;
15205 }
15206 Py_INCREF(Py_None); resultobj = Py_None;
15207 return resultobj;
15208 fail:
15209 return NULL;
15210 }
15211
15212
15213 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15214 PyObject *resultobj;
15215 wxListItem *arg1 = (wxListItem *) 0 ;
15216 long arg2 ;
15217 PyObject * obj0 = 0 ;
15218 char *kwnames[] = {
15219 (char *) "self",(char *) "id", NULL
15220 };
15221
15222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15224 {
15225 PyThreadState* __tstate = wxPyBeginAllowThreads();
15226 (arg1)->SetId(arg2);
15227
15228 wxPyEndAllowThreads(__tstate);
15229 if (PyErr_Occurred()) SWIG_fail;
15230 }
15231 Py_INCREF(Py_None); resultobj = Py_None;
15232 return resultobj;
15233 fail:
15234 return NULL;
15235 }
15236
15237
15238 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15239 PyObject *resultobj;
15240 wxListItem *arg1 = (wxListItem *) 0 ;
15241 int arg2 ;
15242 PyObject * obj0 = 0 ;
15243 char *kwnames[] = {
15244 (char *) "self",(char *) "col", NULL
15245 };
15246
15247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15249 {
15250 PyThreadState* __tstate = wxPyBeginAllowThreads();
15251 (arg1)->SetColumn(arg2);
15252
15253 wxPyEndAllowThreads(__tstate);
15254 if (PyErr_Occurred()) SWIG_fail;
15255 }
15256 Py_INCREF(Py_None); resultobj = Py_None;
15257 return resultobj;
15258 fail:
15259 return NULL;
15260 }
15261
15262
15263 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15264 PyObject *resultobj;
15265 wxListItem *arg1 = (wxListItem *) 0 ;
15266 long arg2 ;
15267 PyObject * obj0 = 0 ;
15268 char *kwnames[] = {
15269 (char *) "self",(char *) "state", NULL
15270 };
15271
15272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 (arg1)->SetState(arg2);
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 Py_INCREF(Py_None); resultobj = Py_None;
15282 return resultobj;
15283 fail:
15284 return NULL;
15285 }
15286
15287
15288 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15289 PyObject *resultobj;
15290 wxListItem *arg1 = (wxListItem *) 0 ;
15291 long arg2 ;
15292 PyObject * obj0 = 0 ;
15293 char *kwnames[] = {
15294 (char *) "self",(char *) "stateMask", NULL
15295 };
15296
15297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 (arg1)->SetStateMask(arg2);
15302
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15306 Py_INCREF(Py_None); resultobj = Py_None;
15307 return resultobj;
15308 fail:
15309 return NULL;
15310 }
15311
15312
15313 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15314 PyObject *resultobj;
15315 wxListItem *arg1 = (wxListItem *) 0 ;
15316 wxString *arg2 = 0 ;
15317 bool temp2 = False ;
15318 PyObject * obj0 = 0 ;
15319 PyObject * obj1 = 0 ;
15320 char *kwnames[] = {
15321 (char *) "self",(char *) "text", NULL
15322 };
15323
15324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15326 {
15327 arg2 = wxString_in_helper(obj1);
15328 if (arg2 == NULL) SWIG_fail;
15329 temp2 = True;
15330 }
15331 {
15332 PyThreadState* __tstate = wxPyBeginAllowThreads();
15333 (arg1)->SetText((wxString const &)*arg2);
15334
15335 wxPyEndAllowThreads(__tstate);
15336 if (PyErr_Occurred()) SWIG_fail;
15337 }
15338 Py_INCREF(Py_None); resultobj = Py_None;
15339 {
15340 if (temp2)
15341 delete arg2;
15342 }
15343 return resultobj;
15344 fail:
15345 {
15346 if (temp2)
15347 delete arg2;
15348 }
15349 return NULL;
15350 }
15351
15352
15353 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15354 PyObject *resultobj;
15355 wxListItem *arg1 = (wxListItem *) 0 ;
15356 int arg2 ;
15357 PyObject * obj0 = 0 ;
15358 char *kwnames[] = {
15359 (char *) "self",(char *) "image", NULL
15360 };
15361
15362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15364 {
15365 PyThreadState* __tstate = wxPyBeginAllowThreads();
15366 (arg1)->SetImage(arg2);
15367
15368 wxPyEndAllowThreads(__tstate);
15369 if (PyErr_Occurred()) SWIG_fail;
15370 }
15371 Py_INCREF(Py_None); resultobj = Py_None;
15372 return resultobj;
15373 fail:
15374 return NULL;
15375 }
15376
15377
15378 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15379 PyObject *resultobj;
15380 wxListItem *arg1 = (wxListItem *) 0 ;
15381 long arg2 ;
15382 PyObject * obj0 = 0 ;
15383 char *kwnames[] = {
15384 (char *) "self",(char *) "data", NULL
15385 };
15386
15387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15389 {
15390 PyThreadState* __tstate = wxPyBeginAllowThreads();
15391 (arg1)->SetData(arg2);
15392
15393 wxPyEndAllowThreads(__tstate);
15394 if (PyErr_Occurred()) SWIG_fail;
15395 }
15396 Py_INCREF(Py_None); resultobj = Py_None;
15397 return resultobj;
15398 fail:
15399 return NULL;
15400 }
15401
15402
15403 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15404 PyObject *resultobj;
15405 wxListItem *arg1 = (wxListItem *) 0 ;
15406 int arg2 ;
15407 PyObject * obj0 = 0 ;
15408 char *kwnames[] = {
15409 (char *) "self",(char *) "width", NULL
15410 };
15411
15412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
15413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15414 {
15415 PyThreadState* __tstate = wxPyBeginAllowThreads();
15416 (arg1)->SetWidth(arg2);
15417
15418 wxPyEndAllowThreads(__tstate);
15419 if (PyErr_Occurred()) SWIG_fail;
15420 }
15421 Py_INCREF(Py_None); resultobj = Py_None;
15422 return resultobj;
15423 fail:
15424 return NULL;
15425 }
15426
15427
15428 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15429 PyObject *resultobj;
15430 wxListItem *arg1 = (wxListItem *) 0 ;
15431 int arg2 ;
15432 PyObject * obj0 = 0 ;
15433 char *kwnames[] = {
15434 (char *) "self",(char *) "align", NULL
15435 };
15436
15437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15439 {
15440 PyThreadState* __tstate = wxPyBeginAllowThreads();
15441 (arg1)->SetAlign((wxListColumnFormat )arg2);
15442
15443 wxPyEndAllowThreads(__tstate);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
15446 Py_INCREF(Py_None); resultobj = Py_None;
15447 return resultobj;
15448 fail:
15449 return NULL;
15450 }
15451
15452
15453 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15454 PyObject *resultobj;
15455 wxListItem *arg1 = (wxListItem *) 0 ;
15456 wxColour *arg2 = 0 ;
15457 wxColour temp2 ;
15458 PyObject * obj0 = 0 ;
15459 PyObject * obj1 = 0 ;
15460 char *kwnames[] = {
15461 (char *) "self",(char *) "colText", NULL
15462 };
15463
15464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15466 {
15467 arg2 = &temp2;
15468 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15469 }
15470 {
15471 PyThreadState* __tstate = wxPyBeginAllowThreads();
15472 (arg1)->SetTextColour((wxColour const &)*arg2);
15473
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
15477 Py_INCREF(Py_None); resultobj = Py_None;
15478 return resultobj;
15479 fail:
15480 return NULL;
15481 }
15482
15483
15484 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15485 PyObject *resultobj;
15486 wxListItem *arg1 = (wxListItem *) 0 ;
15487 wxColour *arg2 = 0 ;
15488 wxColour temp2 ;
15489 PyObject * obj0 = 0 ;
15490 PyObject * obj1 = 0 ;
15491 char *kwnames[] = {
15492 (char *) "self",(char *) "colBack", NULL
15493 };
15494
15495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15497 {
15498 arg2 = &temp2;
15499 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15500 }
15501 {
15502 PyThreadState* __tstate = wxPyBeginAllowThreads();
15503 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15504
15505 wxPyEndAllowThreads(__tstate);
15506 if (PyErr_Occurred()) SWIG_fail;
15507 }
15508 Py_INCREF(Py_None); resultobj = Py_None;
15509 return resultobj;
15510 fail:
15511 return NULL;
15512 }
15513
15514
15515 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15516 PyObject *resultobj;
15517 wxListItem *arg1 = (wxListItem *) 0 ;
15518 wxFont *arg2 = 0 ;
15519 PyObject * obj0 = 0 ;
15520 PyObject * obj1 = 0 ;
15521 char *kwnames[] = {
15522 (char *) "self",(char *) "font", NULL
15523 };
15524
15525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15528 if (arg2 == NULL) {
15529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15530 }
15531 {
15532 PyThreadState* __tstate = wxPyBeginAllowThreads();
15533 (arg1)->SetFont((wxFont const &)*arg2);
15534
15535 wxPyEndAllowThreads(__tstate);
15536 if (PyErr_Occurred()) SWIG_fail;
15537 }
15538 Py_INCREF(Py_None); resultobj = Py_None;
15539 return resultobj;
15540 fail:
15541 return NULL;
15542 }
15543
15544
15545 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15546 PyObject *resultobj;
15547 wxListItem *arg1 = (wxListItem *) 0 ;
15548 long result;
15549 PyObject * obj0 = 0 ;
15550 char *kwnames[] = {
15551 (char *) "self", NULL
15552 };
15553
15554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15556 {
15557 PyThreadState* __tstate = wxPyBeginAllowThreads();
15558 result = (long)(arg1)->GetMask();
15559
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 resultobj = PyInt_FromLong((long)result);
15564 return resultobj;
15565 fail:
15566 return NULL;
15567 }
15568
15569
15570 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj;
15572 wxListItem *arg1 = (wxListItem *) 0 ;
15573 long result;
15574 PyObject * obj0 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15581 {
15582 PyThreadState* __tstate = wxPyBeginAllowThreads();
15583 result = (long)(arg1)->GetId();
15584
15585 wxPyEndAllowThreads(__tstate);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 resultobj = PyInt_FromLong((long)result);
15589 return resultobj;
15590 fail:
15591 return NULL;
15592 }
15593
15594
15595 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15596 PyObject *resultobj;
15597 wxListItem *arg1 = (wxListItem *) 0 ;
15598 int result;
15599 PyObject * obj0 = 0 ;
15600 char *kwnames[] = {
15601 (char *) "self", NULL
15602 };
15603
15604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15606 {
15607 PyThreadState* __tstate = wxPyBeginAllowThreads();
15608 result = (int)(arg1)->GetColumn();
15609
15610 wxPyEndAllowThreads(__tstate);
15611 if (PyErr_Occurred()) SWIG_fail;
15612 }
15613 resultobj = PyInt_FromLong((long)result);
15614 return resultobj;
15615 fail:
15616 return NULL;
15617 }
15618
15619
15620 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15621 PyObject *resultobj;
15622 wxListItem *arg1 = (wxListItem *) 0 ;
15623 long result;
15624 PyObject * obj0 = 0 ;
15625 char *kwnames[] = {
15626 (char *) "self", NULL
15627 };
15628
15629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15631 {
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 result = (long)(arg1)->GetState();
15634
15635 wxPyEndAllowThreads(__tstate);
15636 if (PyErr_Occurred()) SWIG_fail;
15637 }
15638 resultobj = PyInt_FromLong((long)result);
15639 return resultobj;
15640 fail:
15641 return NULL;
15642 }
15643
15644
15645 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15646 PyObject *resultobj;
15647 wxListItem *arg1 = (wxListItem *) 0 ;
15648 wxString *result;
15649 PyObject * obj0 = 0 ;
15650 char *kwnames[] = {
15651 (char *) "self", NULL
15652 };
15653
15654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15656 {
15657 PyThreadState* __tstate = wxPyBeginAllowThreads();
15658 {
15659 wxString const &_result_ref = (arg1)->GetText();
15660 result = (wxString *) &_result_ref;
15661 }
15662
15663 wxPyEndAllowThreads(__tstate);
15664 if (PyErr_Occurred()) SWIG_fail;
15665 }
15666 {
15667 #if wxUSE_UNICODE
15668 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15669 #else
15670 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15671 #endif
15672 }
15673 return resultobj;
15674 fail:
15675 return NULL;
15676 }
15677
15678
15679 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15680 PyObject *resultobj;
15681 wxListItem *arg1 = (wxListItem *) 0 ;
15682 int result;
15683 PyObject * obj0 = 0 ;
15684 char *kwnames[] = {
15685 (char *) "self", NULL
15686 };
15687
15688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15690 {
15691 PyThreadState* __tstate = wxPyBeginAllowThreads();
15692 result = (int)(arg1)->GetImage();
15693
15694 wxPyEndAllowThreads(__tstate);
15695 if (PyErr_Occurred()) SWIG_fail;
15696 }
15697 resultobj = PyInt_FromLong((long)result);
15698 return resultobj;
15699 fail:
15700 return NULL;
15701 }
15702
15703
15704 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15705 PyObject *resultobj;
15706 wxListItem *arg1 = (wxListItem *) 0 ;
15707 long result;
15708 PyObject * obj0 = 0 ;
15709 char *kwnames[] = {
15710 (char *) "self", NULL
15711 };
15712
15713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
15714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15715 {
15716 PyThreadState* __tstate = wxPyBeginAllowThreads();
15717 result = (long)(arg1)->GetData();
15718
15719 wxPyEndAllowThreads(__tstate);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 }
15722 resultobj = PyInt_FromLong((long)result);
15723 return resultobj;
15724 fail:
15725 return NULL;
15726 }
15727
15728
15729 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15730 PyObject *resultobj;
15731 wxListItem *arg1 = (wxListItem *) 0 ;
15732 int result;
15733 PyObject * obj0 = 0 ;
15734 char *kwnames[] = {
15735 (char *) "self", NULL
15736 };
15737
15738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
15739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15740 {
15741 PyThreadState* __tstate = wxPyBeginAllowThreads();
15742 result = (int)(arg1)->GetWidth();
15743
15744 wxPyEndAllowThreads(__tstate);
15745 if (PyErr_Occurred()) SWIG_fail;
15746 }
15747 resultobj = PyInt_FromLong((long)result);
15748 return resultobj;
15749 fail:
15750 return NULL;
15751 }
15752
15753
15754 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15755 PyObject *resultobj;
15756 wxListItem *arg1 = (wxListItem *) 0 ;
15757 int result;
15758 PyObject * obj0 = 0 ;
15759 char *kwnames[] = {
15760 (char *) "self", NULL
15761 };
15762
15763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
15764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15765 {
15766 PyThreadState* __tstate = wxPyBeginAllowThreads();
15767 result = (int)(arg1)->GetAlign();
15768
15769 wxPyEndAllowThreads(__tstate);
15770 if (PyErr_Occurred()) SWIG_fail;
15771 }
15772 resultobj = PyInt_FromLong((long)result);
15773 return resultobj;
15774 fail:
15775 return NULL;
15776 }
15777
15778
15779 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15780 PyObject *resultobj;
15781 wxListItem *arg1 = (wxListItem *) 0 ;
15782 wxListItemAttr *result;
15783 PyObject * obj0 = 0 ;
15784 char *kwnames[] = {
15785 (char *) "self", NULL
15786 };
15787
15788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
15789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15790 {
15791 PyThreadState* __tstate = wxPyBeginAllowThreads();
15792 result = (wxListItemAttr *)(arg1)->GetAttributes();
15793
15794 wxPyEndAllowThreads(__tstate);
15795 if (PyErr_Occurred()) SWIG_fail;
15796 }
15797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
15798 return resultobj;
15799 fail:
15800 return NULL;
15801 }
15802
15803
15804 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15805 PyObject *resultobj;
15806 wxListItem *arg1 = (wxListItem *) 0 ;
15807 bool result;
15808 PyObject * obj0 = 0 ;
15809 char *kwnames[] = {
15810 (char *) "self", NULL
15811 };
15812
15813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
15814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15815 {
15816 PyThreadState* __tstate = wxPyBeginAllowThreads();
15817 result = (bool)(arg1)->HasAttributes();
15818
15819 wxPyEndAllowThreads(__tstate);
15820 if (PyErr_Occurred()) SWIG_fail;
15821 }
15822 resultobj = PyInt_FromLong((long)result);
15823 return resultobj;
15824 fail:
15825 return NULL;
15826 }
15827
15828
15829 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15830 PyObject *resultobj;
15831 wxListItem *arg1 = (wxListItem *) 0 ;
15832 wxColour result;
15833 PyObject * obj0 = 0 ;
15834 char *kwnames[] = {
15835 (char *) "self", NULL
15836 };
15837
15838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
15839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15840 {
15841 PyThreadState* __tstate = wxPyBeginAllowThreads();
15842 result = ((wxListItem const *)arg1)->GetTextColour();
15843
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 {
15848 wxColour * resultptr;
15849 resultptr = new wxColour((wxColour &) result);
15850 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15851 }
15852 return resultobj;
15853 fail:
15854 return NULL;
15855 }
15856
15857
15858 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15859 PyObject *resultobj;
15860 wxListItem *arg1 = (wxListItem *) 0 ;
15861 wxColour result;
15862 PyObject * obj0 = 0 ;
15863 char *kwnames[] = {
15864 (char *) "self", NULL
15865 };
15866
15867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
15868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15869 {
15870 PyThreadState* __tstate = wxPyBeginAllowThreads();
15871 result = ((wxListItem const *)arg1)->GetBackgroundColour();
15872
15873 wxPyEndAllowThreads(__tstate);
15874 if (PyErr_Occurred()) SWIG_fail;
15875 }
15876 {
15877 wxColour * resultptr;
15878 resultptr = new wxColour((wxColour &) result);
15879 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15880 }
15881 return resultobj;
15882 fail:
15883 return NULL;
15884 }
15885
15886
15887 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15888 PyObject *resultobj;
15889 wxListItem *arg1 = (wxListItem *) 0 ;
15890 wxFont result;
15891 PyObject * obj0 = 0 ;
15892 char *kwnames[] = {
15893 (char *) "self", NULL
15894 };
15895
15896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
15897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15898 {
15899 PyThreadState* __tstate = wxPyBeginAllowThreads();
15900 result = ((wxListItem const *)arg1)->GetFont();
15901
15902 wxPyEndAllowThreads(__tstate);
15903 if (PyErr_Occurred()) SWIG_fail;
15904 }
15905 {
15906 wxFont * resultptr;
15907 resultptr = new wxFont((wxFont &) result);
15908 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15909 }
15910 return resultobj;
15911 fail:
15912 return NULL;
15913 }
15914
15915
15916 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15917 PyObject *resultobj;
15918 wxListItem *arg1 = (wxListItem *) 0 ;
15919 long arg2 ;
15920 PyObject * obj0 = 0 ;
15921 char *kwnames[] = {
15922 (char *) "self",(char *) "m_mask", NULL
15923 };
15924
15925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
15926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15927 if (arg1) (arg1)->m_mask = arg2;
15928
15929 Py_INCREF(Py_None); resultobj = Py_None;
15930 return resultobj;
15931 fail:
15932 return NULL;
15933 }
15934
15935
15936 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15937 PyObject *resultobj;
15938 wxListItem *arg1 = (wxListItem *) 0 ;
15939 long result;
15940 PyObject * obj0 = 0 ;
15941 char *kwnames[] = {
15942 (char *) "self", NULL
15943 };
15944
15945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
15946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15947 result = (long) ((arg1)->m_mask);
15948
15949 resultobj = PyInt_FromLong((long)result);
15950 return resultobj;
15951 fail:
15952 return NULL;
15953 }
15954
15955
15956 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15957 PyObject *resultobj;
15958 wxListItem *arg1 = (wxListItem *) 0 ;
15959 long arg2 ;
15960 PyObject * obj0 = 0 ;
15961 char *kwnames[] = {
15962 (char *) "self",(char *) "m_itemId", NULL
15963 };
15964
15965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
15966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15967 if (arg1) (arg1)->m_itemId = arg2;
15968
15969 Py_INCREF(Py_None); resultobj = Py_None;
15970 return resultobj;
15971 fail:
15972 return NULL;
15973 }
15974
15975
15976 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
15977 PyObject *resultobj;
15978 wxListItem *arg1 = (wxListItem *) 0 ;
15979 long result;
15980 PyObject * obj0 = 0 ;
15981 char *kwnames[] = {
15982 (char *) "self", NULL
15983 };
15984
15985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
15986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15987 result = (long) ((arg1)->m_itemId);
15988
15989 resultobj = PyInt_FromLong((long)result);
15990 return resultobj;
15991 fail:
15992 return NULL;
15993 }
15994
15995
15996 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
15997 PyObject *resultobj;
15998 wxListItem *arg1 = (wxListItem *) 0 ;
15999 int arg2 ;
16000 PyObject * obj0 = 0 ;
16001 char *kwnames[] = {
16002 (char *) "self",(char *) "m_col", NULL
16003 };
16004
16005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16007 if (arg1) (arg1)->m_col = arg2;
16008
16009 Py_INCREF(Py_None); resultobj = Py_None;
16010 return resultobj;
16011 fail:
16012 return NULL;
16013 }
16014
16015
16016 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16017 PyObject *resultobj;
16018 wxListItem *arg1 = (wxListItem *) 0 ;
16019 int result;
16020 PyObject * obj0 = 0 ;
16021 char *kwnames[] = {
16022 (char *) "self", NULL
16023 };
16024
16025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16027 result = (int) ((arg1)->m_col);
16028
16029 resultobj = PyInt_FromLong((long)result);
16030 return resultobj;
16031 fail:
16032 return NULL;
16033 }
16034
16035
16036 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16037 PyObject *resultobj;
16038 wxListItem *arg1 = (wxListItem *) 0 ;
16039 long arg2 ;
16040 PyObject * obj0 = 0 ;
16041 char *kwnames[] = {
16042 (char *) "self",(char *) "m_state", NULL
16043 };
16044
16045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16047 if (arg1) (arg1)->m_state = arg2;
16048
16049 Py_INCREF(Py_None); resultobj = Py_None;
16050 return resultobj;
16051 fail:
16052 return NULL;
16053 }
16054
16055
16056 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16057 PyObject *resultobj;
16058 wxListItem *arg1 = (wxListItem *) 0 ;
16059 long result;
16060 PyObject * obj0 = 0 ;
16061 char *kwnames[] = {
16062 (char *) "self", NULL
16063 };
16064
16065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16067 result = (long) ((arg1)->m_state);
16068
16069 resultobj = PyInt_FromLong((long)result);
16070 return resultobj;
16071 fail:
16072 return NULL;
16073 }
16074
16075
16076 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16077 PyObject *resultobj;
16078 wxListItem *arg1 = (wxListItem *) 0 ;
16079 long arg2 ;
16080 PyObject * obj0 = 0 ;
16081 char *kwnames[] = {
16082 (char *) "self",(char *) "m_stateMask", NULL
16083 };
16084
16085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16087 if (arg1) (arg1)->m_stateMask = arg2;
16088
16089 Py_INCREF(Py_None); resultobj = Py_None;
16090 return resultobj;
16091 fail:
16092 return NULL;
16093 }
16094
16095
16096 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16097 PyObject *resultobj;
16098 wxListItem *arg1 = (wxListItem *) 0 ;
16099 long result;
16100 PyObject * obj0 = 0 ;
16101 char *kwnames[] = {
16102 (char *) "self", NULL
16103 };
16104
16105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16107 result = (long) ((arg1)->m_stateMask);
16108
16109 resultobj = PyInt_FromLong((long)result);
16110 return resultobj;
16111 fail:
16112 return NULL;
16113 }
16114
16115
16116 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16117 PyObject *resultobj;
16118 wxListItem *arg1 = (wxListItem *) 0 ;
16119 wxString arg2 ;
16120 PyObject * obj0 = 0 ;
16121 PyObject * obj1 = 0 ;
16122 char *kwnames[] = {
16123 (char *) "self",(char *) "m_text", NULL
16124 };
16125
16126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16128 {
16129 wxString* sptr = wxString_in_helper(obj1);
16130 if (sptr == NULL) SWIG_fail;
16131 arg2 = *sptr;
16132 delete sptr;
16133 }
16134 if (arg1) (arg1)->m_text = arg2;
16135
16136 Py_INCREF(Py_None); resultobj = Py_None;
16137 return resultobj;
16138 fail:
16139 return NULL;
16140 }
16141
16142
16143 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16144 PyObject *resultobj;
16145 wxListItem *arg1 = (wxListItem *) 0 ;
16146 wxString result;
16147 PyObject * obj0 = 0 ;
16148 char *kwnames[] = {
16149 (char *) "self", NULL
16150 };
16151
16152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16154 result = ((arg1)->m_text);
16155
16156 {
16157 #if wxUSE_UNICODE
16158 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16159 #else
16160 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16161 #endif
16162 }
16163 return resultobj;
16164 fail:
16165 return NULL;
16166 }
16167
16168
16169 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16170 PyObject *resultobj;
16171 wxListItem *arg1 = (wxListItem *) 0 ;
16172 int arg2 ;
16173 PyObject * obj0 = 0 ;
16174 char *kwnames[] = {
16175 (char *) "self",(char *) "m_image", NULL
16176 };
16177
16178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16180 if (arg1) (arg1)->m_image = arg2;
16181
16182 Py_INCREF(Py_None); resultobj = Py_None;
16183 return resultobj;
16184 fail:
16185 return NULL;
16186 }
16187
16188
16189 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16190 PyObject *resultobj;
16191 wxListItem *arg1 = (wxListItem *) 0 ;
16192 int result;
16193 PyObject * obj0 = 0 ;
16194 char *kwnames[] = {
16195 (char *) "self", NULL
16196 };
16197
16198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16200 result = (int) ((arg1)->m_image);
16201
16202 resultobj = PyInt_FromLong((long)result);
16203 return resultobj;
16204 fail:
16205 return NULL;
16206 }
16207
16208
16209 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16210 PyObject *resultobj;
16211 wxListItem *arg1 = (wxListItem *) 0 ;
16212 long arg2 ;
16213 PyObject * obj0 = 0 ;
16214 char *kwnames[] = {
16215 (char *) "self",(char *) "m_data", NULL
16216 };
16217
16218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16220 if (arg1) (arg1)->m_data = arg2;
16221
16222 Py_INCREF(Py_None); resultobj = Py_None;
16223 return resultobj;
16224 fail:
16225 return NULL;
16226 }
16227
16228
16229 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16230 PyObject *resultobj;
16231 wxListItem *arg1 = (wxListItem *) 0 ;
16232 long result;
16233 PyObject * obj0 = 0 ;
16234 char *kwnames[] = {
16235 (char *) "self", NULL
16236 };
16237
16238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16240 result = (long) ((arg1)->m_data);
16241
16242 resultobj = PyInt_FromLong((long)result);
16243 return resultobj;
16244 fail:
16245 return NULL;
16246 }
16247
16248
16249 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16250 PyObject *resultobj;
16251 wxListItem *arg1 = (wxListItem *) 0 ;
16252 int arg2 ;
16253 PyObject * obj0 = 0 ;
16254 char *kwnames[] = {
16255 (char *) "self",(char *) "m_format", NULL
16256 };
16257
16258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16260 if (arg1) (arg1)->m_format = arg2;
16261
16262 Py_INCREF(Py_None); resultobj = Py_None;
16263 return resultobj;
16264 fail:
16265 return NULL;
16266 }
16267
16268
16269 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16270 PyObject *resultobj;
16271 wxListItem *arg1 = (wxListItem *) 0 ;
16272 int result;
16273 PyObject * obj0 = 0 ;
16274 char *kwnames[] = {
16275 (char *) "self", NULL
16276 };
16277
16278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16280 result = (int) ((arg1)->m_format);
16281
16282 resultobj = PyInt_FromLong((long)result);
16283 return resultobj;
16284 fail:
16285 return NULL;
16286 }
16287
16288
16289 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16290 PyObject *resultobj;
16291 wxListItem *arg1 = (wxListItem *) 0 ;
16292 int arg2 ;
16293 PyObject * obj0 = 0 ;
16294 char *kwnames[] = {
16295 (char *) "self",(char *) "m_width", NULL
16296 };
16297
16298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16300 if (arg1) (arg1)->m_width = arg2;
16301
16302 Py_INCREF(Py_None); resultobj = Py_None;
16303 return resultobj;
16304 fail:
16305 return NULL;
16306 }
16307
16308
16309 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16310 PyObject *resultobj;
16311 wxListItem *arg1 = (wxListItem *) 0 ;
16312 int result;
16313 PyObject * obj0 = 0 ;
16314 char *kwnames[] = {
16315 (char *) "self", NULL
16316 };
16317
16318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16320 result = (int) ((arg1)->m_width);
16321
16322 resultobj = PyInt_FromLong((long)result);
16323 return resultobj;
16324 fail:
16325 return NULL;
16326 }
16327
16328
16329 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16330 PyObject *obj;
16331 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16332 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16333 Py_INCREF(obj);
16334 return Py_BuildValue((char *)"");
16335 }
16336 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16337 PyObject *resultobj;
16338 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16339 int arg2 = (int) 0 ;
16340 wxListEvent *result;
16341 char *kwnames[] = {
16342 (char *) "commandType",(char *) "id", NULL
16343 };
16344
16345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16346 {
16347 PyThreadState* __tstate = wxPyBeginAllowThreads();
16348 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16349
16350 wxPyEndAllowThreads(__tstate);
16351 if (PyErr_Occurred()) SWIG_fail;
16352 }
16353 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16354 return resultobj;
16355 fail:
16356 return NULL;
16357 }
16358
16359
16360 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj;
16362 wxListEvent *arg1 = (wxListEvent *) 0 ;
16363 int arg2 ;
16364 PyObject * obj0 = 0 ;
16365 char *kwnames[] = {
16366 (char *) "self",(char *) "m_code", NULL
16367 };
16368
16369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16371 if (arg1) (arg1)->m_code = arg2;
16372
16373 Py_INCREF(Py_None); resultobj = Py_None;
16374 return resultobj;
16375 fail:
16376 return NULL;
16377 }
16378
16379
16380 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16381 PyObject *resultobj;
16382 wxListEvent *arg1 = (wxListEvent *) 0 ;
16383 int result;
16384 PyObject * obj0 = 0 ;
16385 char *kwnames[] = {
16386 (char *) "self", NULL
16387 };
16388
16389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16391 result = (int) ((arg1)->m_code);
16392
16393 resultobj = PyInt_FromLong((long)result);
16394 return resultobj;
16395 fail:
16396 return NULL;
16397 }
16398
16399
16400 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16401 PyObject *resultobj;
16402 wxListEvent *arg1 = (wxListEvent *) 0 ;
16403 long arg2 ;
16404 PyObject * obj0 = 0 ;
16405 char *kwnames[] = {
16406 (char *) "self",(char *) "m_oldItemIndex", NULL
16407 };
16408
16409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16411 if (arg1) (arg1)->m_oldItemIndex = arg2;
16412
16413 Py_INCREF(Py_None); resultobj = Py_None;
16414 return resultobj;
16415 fail:
16416 return NULL;
16417 }
16418
16419
16420 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16421 PyObject *resultobj;
16422 wxListEvent *arg1 = (wxListEvent *) 0 ;
16423 long result;
16424 PyObject * obj0 = 0 ;
16425 char *kwnames[] = {
16426 (char *) "self", NULL
16427 };
16428
16429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16431 result = (long) ((arg1)->m_oldItemIndex);
16432
16433 resultobj = PyInt_FromLong((long)result);
16434 return resultobj;
16435 fail:
16436 return NULL;
16437 }
16438
16439
16440 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16441 PyObject *resultobj;
16442 wxListEvent *arg1 = (wxListEvent *) 0 ;
16443 long arg2 ;
16444 PyObject * obj0 = 0 ;
16445 char *kwnames[] = {
16446 (char *) "self",(char *) "m_itemIndex", NULL
16447 };
16448
16449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16451 if (arg1) (arg1)->m_itemIndex = arg2;
16452
16453 Py_INCREF(Py_None); resultobj = Py_None;
16454 return resultobj;
16455 fail:
16456 return NULL;
16457 }
16458
16459
16460 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16461 PyObject *resultobj;
16462 wxListEvent *arg1 = (wxListEvent *) 0 ;
16463 long result;
16464 PyObject * obj0 = 0 ;
16465 char *kwnames[] = {
16466 (char *) "self", NULL
16467 };
16468
16469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16471 result = (long) ((arg1)->m_itemIndex);
16472
16473 resultobj = PyInt_FromLong((long)result);
16474 return resultobj;
16475 fail:
16476 return NULL;
16477 }
16478
16479
16480 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16481 PyObject *resultobj;
16482 wxListEvent *arg1 = (wxListEvent *) 0 ;
16483 int arg2 ;
16484 PyObject * obj0 = 0 ;
16485 char *kwnames[] = {
16486 (char *) "self",(char *) "m_col", NULL
16487 };
16488
16489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16491 if (arg1) (arg1)->m_col = arg2;
16492
16493 Py_INCREF(Py_None); resultobj = Py_None;
16494 return resultobj;
16495 fail:
16496 return NULL;
16497 }
16498
16499
16500 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16501 PyObject *resultobj;
16502 wxListEvent *arg1 = (wxListEvent *) 0 ;
16503 int result;
16504 PyObject * obj0 = 0 ;
16505 char *kwnames[] = {
16506 (char *) "self", NULL
16507 };
16508
16509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16511 result = (int) ((arg1)->m_col);
16512
16513 resultobj = PyInt_FromLong((long)result);
16514 return resultobj;
16515 fail:
16516 return NULL;
16517 }
16518
16519
16520 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16521 PyObject *resultobj;
16522 wxListEvent *arg1 = (wxListEvent *) 0 ;
16523 wxPoint *arg2 = (wxPoint *) 0 ;
16524 PyObject * obj0 = 0 ;
16525 PyObject * obj1 = 0 ;
16526 char *kwnames[] = {
16527 (char *) "self",(char *) "m_pointDrag", NULL
16528 };
16529
16530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16532 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16533 if (arg1) (arg1)->m_pointDrag = *arg2;
16534
16535 Py_INCREF(Py_None); resultobj = Py_None;
16536 return resultobj;
16537 fail:
16538 return NULL;
16539 }
16540
16541
16542 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16543 PyObject *resultobj;
16544 wxListEvent *arg1 = (wxListEvent *) 0 ;
16545 wxPoint *result;
16546 PyObject * obj0 = 0 ;
16547 char *kwnames[] = {
16548 (char *) "self", NULL
16549 };
16550
16551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16553 result = (wxPoint *)& ((arg1)->m_pointDrag);
16554
16555 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16556 return resultobj;
16557 fail:
16558 return NULL;
16559 }
16560
16561
16562 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16563 PyObject *resultobj;
16564 wxListEvent *arg1 = (wxListEvent *) 0 ;
16565 wxListItem *result;
16566 PyObject * obj0 = 0 ;
16567 char *kwnames[] = {
16568 (char *) "self", NULL
16569 };
16570
16571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16573 result = (wxListItem *)& ((arg1)->m_item);
16574
16575 {
16576 resultobj = wxPyMake_wxObject(result);
16577 }
16578 return resultobj;
16579 fail:
16580 return NULL;
16581 }
16582
16583
16584 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16585 PyObject *resultobj;
16586 wxListEvent *arg1 = (wxListEvent *) 0 ;
16587 int result;
16588 PyObject * obj0 = 0 ;
16589 char *kwnames[] = {
16590 (char *) "self", NULL
16591 };
16592
16593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16595 {
16596 PyThreadState* __tstate = wxPyBeginAllowThreads();
16597 result = (int)(arg1)->GetKeyCode();
16598
16599 wxPyEndAllowThreads(__tstate);
16600 if (PyErr_Occurred()) SWIG_fail;
16601 }
16602 resultobj = PyInt_FromLong((long)result);
16603 return resultobj;
16604 fail:
16605 return NULL;
16606 }
16607
16608
16609 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16610 PyObject *resultobj;
16611 wxListEvent *arg1 = (wxListEvent *) 0 ;
16612 long result;
16613 PyObject * obj0 = 0 ;
16614 char *kwnames[] = {
16615 (char *) "self", NULL
16616 };
16617
16618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16620 {
16621 PyThreadState* __tstate = wxPyBeginAllowThreads();
16622 result = (long)(arg1)->GetIndex();
16623
16624 wxPyEndAllowThreads(__tstate);
16625 if (PyErr_Occurred()) SWIG_fail;
16626 }
16627 resultobj = PyInt_FromLong((long)result);
16628 return resultobj;
16629 fail:
16630 return NULL;
16631 }
16632
16633
16634 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16635 PyObject *resultobj;
16636 wxListEvent *arg1 = (wxListEvent *) 0 ;
16637 int result;
16638 PyObject * obj0 = 0 ;
16639 char *kwnames[] = {
16640 (char *) "self", NULL
16641 };
16642
16643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
16644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16645 {
16646 PyThreadState* __tstate = wxPyBeginAllowThreads();
16647 result = (int)(arg1)->GetColumn();
16648
16649 wxPyEndAllowThreads(__tstate);
16650 if (PyErr_Occurred()) SWIG_fail;
16651 }
16652 resultobj = PyInt_FromLong((long)result);
16653 return resultobj;
16654 fail:
16655 return NULL;
16656 }
16657
16658
16659 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
16660 PyObject *resultobj;
16661 wxListEvent *arg1 = (wxListEvent *) 0 ;
16662 wxPoint result;
16663 PyObject * obj0 = 0 ;
16664 char *kwnames[] = {
16665 (char *) "self", NULL
16666 };
16667
16668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
16669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16670 {
16671 PyThreadState* __tstate = wxPyBeginAllowThreads();
16672 result = (arg1)->GetPoint();
16673
16674 wxPyEndAllowThreads(__tstate);
16675 if (PyErr_Occurred()) SWIG_fail;
16676 }
16677 {
16678 wxPoint * resultptr;
16679 resultptr = new wxPoint((wxPoint &) result);
16680 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16681 }
16682 return resultobj;
16683 fail:
16684 return NULL;
16685 }
16686
16687
16688 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16689 PyObject *resultobj;
16690 wxListEvent *arg1 = (wxListEvent *) 0 ;
16691 wxString *result;
16692 PyObject * obj0 = 0 ;
16693 char *kwnames[] = {
16694 (char *) "self", NULL
16695 };
16696
16697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
16698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16699 {
16700 PyThreadState* __tstate = wxPyBeginAllowThreads();
16701 {
16702 wxString const &_result_ref = (arg1)->GetLabel();
16703 result = (wxString *) &_result_ref;
16704 }
16705
16706 wxPyEndAllowThreads(__tstate);
16707 if (PyErr_Occurred()) SWIG_fail;
16708 }
16709 {
16710 #if wxUSE_UNICODE
16711 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16712 #else
16713 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16714 #endif
16715 }
16716 return resultobj;
16717 fail:
16718 return NULL;
16719 }
16720
16721
16722 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16723 PyObject *resultobj;
16724 wxListEvent *arg1 = (wxListEvent *) 0 ;
16725 wxString *result;
16726 PyObject * obj0 = 0 ;
16727 char *kwnames[] = {
16728 (char *) "self", NULL
16729 };
16730
16731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
16732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16733 {
16734 PyThreadState* __tstate = wxPyBeginAllowThreads();
16735 {
16736 wxString const &_result_ref = (arg1)->GetText();
16737 result = (wxString *) &_result_ref;
16738 }
16739
16740 wxPyEndAllowThreads(__tstate);
16741 if (PyErr_Occurred()) SWIG_fail;
16742 }
16743 {
16744 #if wxUSE_UNICODE
16745 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16746 #else
16747 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16748 #endif
16749 }
16750 return resultobj;
16751 fail:
16752 return NULL;
16753 }
16754
16755
16756 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16757 PyObject *resultobj;
16758 wxListEvent *arg1 = (wxListEvent *) 0 ;
16759 int result;
16760 PyObject * obj0 = 0 ;
16761 char *kwnames[] = {
16762 (char *) "self", NULL
16763 };
16764
16765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
16766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16767 {
16768 PyThreadState* __tstate = wxPyBeginAllowThreads();
16769 result = (int)(arg1)->GetImage();
16770
16771 wxPyEndAllowThreads(__tstate);
16772 if (PyErr_Occurred()) SWIG_fail;
16773 }
16774 resultobj = PyInt_FromLong((long)result);
16775 return resultobj;
16776 fail:
16777 return NULL;
16778 }
16779
16780
16781 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16782 PyObject *resultobj;
16783 wxListEvent *arg1 = (wxListEvent *) 0 ;
16784 long result;
16785 PyObject * obj0 = 0 ;
16786 char *kwnames[] = {
16787 (char *) "self", NULL
16788 };
16789
16790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
16791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16792 {
16793 PyThreadState* __tstate = wxPyBeginAllowThreads();
16794 result = (long)(arg1)->GetData();
16795
16796 wxPyEndAllowThreads(__tstate);
16797 if (PyErr_Occurred()) SWIG_fail;
16798 }
16799 resultobj = PyInt_FromLong((long)result);
16800 return resultobj;
16801 fail:
16802 return NULL;
16803 }
16804
16805
16806 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj;
16808 wxListEvent *arg1 = (wxListEvent *) 0 ;
16809 long result;
16810 PyObject * obj0 = 0 ;
16811 char *kwnames[] = {
16812 (char *) "self", NULL
16813 };
16814
16815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
16816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16817 {
16818 PyThreadState* __tstate = wxPyBeginAllowThreads();
16819 result = (long)(arg1)->GetMask();
16820
16821 wxPyEndAllowThreads(__tstate);
16822 if (PyErr_Occurred()) SWIG_fail;
16823 }
16824 resultobj = PyInt_FromLong((long)result);
16825 return resultobj;
16826 fail:
16827 return NULL;
16828 }
16829
16830
16831 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
16832 PyObject *resultobj;
16833 wxListEvent *arg1 = (wxListEvent *) 0 ;
16834 wxListItem *result;
16835 PyObject * obj0 = 0 ;
16836 char *kwnames[] = {
16837 (char *) "self", NULL
16838 };
16839
16840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
16841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16842 {
16843 PyThreadState* __tstate = wxPyBeginAllowThreads();
16844 {
16845 wxListItem const &_result_ref = (arg1)->GetItem();
16846 result = (wxListItem *) &_result_ref;
16847 }
16848
16849 wxPyEndAllowThreads(__tstate);
16850 if (PyErr_Occurred()) SWIG_fail;
16851 }
16852 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
16853 return resultobj;
16854 fail:
16855 return NULL;
16856 }
16857
16858
16859 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
16860 PyObject *resultobj;
16861 wxListEvent *arg1 = (wxListEvent *) 0 ;
16862 long result;
16863 PyObject * obj0 = 0 ;
16864 char *kwnames[] = {
16865 (char *) "self", NULL
16866 };
16867
16868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
16869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16870 {
16871 PyThreadState* __tstate = wxPyBeginAllowThreads();
16872 result = (long)(arg1)->GetCacheFrom();
16873
16874 wxPyEndAllowThreads(__tstate);
16875 if (PyErr_Occurred()) SWIG_fail;
16876 }
16877 resultobj = PyInt_FromLong((long)result);
16878 return resultobj;
16879 fail:
16880 return NULL;
16881 }
16882
16883
16884 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
16885 PyObject *resultobj;
16886 wxListEvent *arg1 = (wxListEvent *) 0 ;
16887 long result;
16888 PyObject * obj0 = 0 ;
16889 char *kwnames[] = {
16890 (char *) "self", NULL
16891 };
16892
16893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
16894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16895 {
16896 PyThreadState* __tstate = wxPyBeginAllowThreads();
16897 result = (long)(arg1)->GetCacheTo();
16898
16899 wxPyEndAllowThreads(__tstate);
16900 if (PyErr_Occurred()) SWIG_fail;
16901 }
16902 resultobj = PyInt_FromLong((long)result);
16903 return resultobj;
16904 fail:
16905 return NULL;
16906 }
16907
16908
16909 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
16910 PyObject *resultobj;
16911 wxListEvent *arg1 = (wxListEvent *) 0 ;
16912 bool result;
16913 PyObject * obj0 = 0 ;
16914 char *kwnames[] = {
16915 (char *) "self", NULL
16916 };
16917
16918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
16919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16920 {
16921 PyThreadState* __tstate = wxPyBeginAllowThreads();
16922 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
16923
16924 wxPyEndAllowThreads(__tstate);
16925 if (PyErr_Occurred()) SWIG_fail;
16926 }
16927 resultobj = PyInt_FromLong((long)result);
16928 return resultobj;
16929 fail:
16930 return NULL;
16931 }
16932
16933
16934 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
16935 PyObject *resultobj;
16936 wxListEvent *arg1 = (wxListEvent *) 0 ;
16937 bool arg2 ;
16938 PyObject * obj0 = 0 ;
16939 PyObject * obj1 = 0 ;
16940 char *kwnames[] = {
16941 (char *) "self",(char *) "editCancelled", NULL
16942 };
16943
16944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
16945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16946 arg2 = PyInt_AsLong(obj1) ? true : false;
16947 if (PyErr_Occurred()) SWIG_fail;
16948 {
16949 PyThreadState* __tstate = wxPyBeginAllowThreads();
16950 (arg1)->SetEditCanceled(arg2);
16951
16952 wxPyEndAllowThreads(__tstate);
16953 if (PyErr_Occurred()) SWIG_fail;
16954 }
16955 Py_INCREF(Py_None); resultobj = Py_None;
16956 return resultobj;
16957 fail:
16958 return NULL;
16959 }
16960
16961
16962 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
16963 PyObject *obj;
16964 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16965 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
16966 Py_INCREF(obj);
16967 return Py_BuildValue((char *)"");
16968 }
16969 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
16970 PyObject *resultobj;
16971 wxWindow *arg1 = (wxWindow *) 0 ;
16972 int arg2 = (int) -1 ;
16973 wxPoint const &arg3_defvalue = wxDefaultPosition ;
16974 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
16975 wxSize const &arg4_defvalue = wxDefaultSize ;
16976 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
16977 long arg5 = (long) wxLC_ICON ;
16978 wxValidator const &arg6_defvalue = wxDefaultValidator ;
16979 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
16980 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
16981 wxString *arg7 = (wxString *) &arg7_defvalue ;
16982 wxPyListCtrl *result;
16983 wxPoint temp3 ;
16984 wxSize temp4 ;
16985 bool temp7 = False ;
16986 PyObject * obj0 = 0 ;
16987 PyObject * obj2 = 0 ;
16988 PyObject * obj3 = 0 ;
16989 PyObject * obj5 = 0 ;
16990 PyObject * obj6 = 0 ;
16991 char *kwnames[] = {
16992 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
16993 };
16994
16995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
16996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16997 if (obj2) {
16998 {
16999 arg3 = &temp3;
17000 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17001 }
17002 }
17003 if (obj3) {
17004 {
17005 arg4 = &temp4;
17006 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17007 }
17008 }
17009 if (obj5) {
17010 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17011 if (arg6 == NULL) {
17012 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17013 }
17014 }
17015 if (obj6) {
17016 {
17017 arg7 = wxString_in_helper(obj6);
17018 if (arg7 == NULL) SWIG_fail;
17019 temp7 = True;
17020 }
17021 }
17022 {
17023 PyThreadState* __tstate = wxPyBeginAllowThreads();
17024 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17025
17026 wxPyEndAllowThreads(__tstate);
17027 if (PyErr_Occurred()) SWIG_fail;
17028 }
17029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17030 {
17031 if (temp7)
17032 delete arg7;
17033 }
17034 return resultobj;
17035 fail:
17036 {
17037 if (temp7)
17038 delete arg7;
17039 }
17040 return NULL;
17041 }
17042
17043
17044 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17045 PyObject *resultobj;
17046 wxPyListCtrl *result;
17047 char *kwnames[] = {
17048 NULL
17049 };
17050
17051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 result = (wxPyListCtrl *)new wxPyListCtrl();
17055
17056 wxPyEndAllowThreads(__tstate);
17057 if (PyErr_Occurred()) SWIG_fail;
17058 }
17059 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17060 return resultobj;
17061 fail:
17062 return NULL;
17063 }
17064
17065
17066 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17067 PyObject *resultobj;
17068 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17069 wxWindow *arg2 = (wxWindow *) 0 ;
17070 int arg3 = (int) -1 ;
17071 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17072 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17073 wxSize const &arg5_defvalue = wxDefaultSize ;
17074 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17075 long arg6 = (long) wxLC_ICON ;
17076 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17077 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17078 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17079 wxString *arg8 = (wxString *) &arg8_defvalue ;
17080 bool result;
17081 wxPoint temp4 ;
17082 wxSize temp5 ;
17083 bool temp8 = False ;
17084 PyObject * obj0 = 0 ;
17085 PyObject * obj1 = 0 ;
17086 PyObject * obj3 = 0 ;
17087 PyObject * obj4 = 0 ;
17088 PyObject * obj6 = 0 ;
17089 PyObject * obj7 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17097 if (obj3) {
17098 {
17099 arg4 = &temp4;
17100 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17101 }
17102 }
17103 if (obj4) {
17104 {
17105 arg5 = &temp5;
17106 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17107 }
17108 }
17109 if (obj6) {
17110 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17111 if (arg7 == NULL) {
17112 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17113 }
17114 }
17115 if (obj7) {
17116 {
17117 arg8 = wxString_in_helper(obj7);
17118 if (arg8 == NULL) SWIG_fail;
17119 temp8 = True;
17120 }
17121 }
17122 {
17123 PyThreadState* __tstate = wxPyBeginAllowThreads();
17124 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17125
17126 wxPyEndAllowThreads(__tstate);
17127 if (PyErr_Occurred()) SWIG_fail;
17128 }
17129 resultobj = PyInt_FromLong((long)result);
17130 {
17131 if (temp8)
17132 delete arg8;
17133 }
17134 return resultobj;
17135 fail:
17136 {
17137 if (temp8)
17138 delete arg8;
17139 }
17140 return NULL;
17141 }
17142
17143
17144 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17145 PyObject *resultobj;
17146 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17147 PyObject *arg2 = (PyObject *) 0 ;
17148 PyObject *arg3 = (PyObject *) 0 ;
17149 PyObject * obj0 = 0 ;
17150 PyObject * obj1 = 0 ;
17151 PyObject * obj2 = 0 ;
17152 char *kwnames[] = {
17153 (char *) "self",(char *) "self",(char *) "_class", NULL
17154 };
17155
17156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17158 arg2 = obj1;
17159 arg3 = obj2;
17160 {
17161 PyThreadState* __tstate = wxPyBeginAllowThreads();
17162 (arg1)->_setCallbackInfo(arg2,arg3);
17163
17164 wxPyEndAllowThreads(__tstate);
17165 if (PyErr_Occurred()) SWIG_fail;
17166 }
17167 Py_INCREF(Py_None); resultobj = Py_None;
17168 return resultobj;
17169 fail:
17170 return NULL;
17171 }
17172
17173
17174 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17175 PyObject *resultobj;
17176 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17177 wxColour *arg2 = 0 ;
17178 bool result;
17179 wxColour temp2 ;
17180 PyObject * obj0 = 0 ;
17181 PyObject * obj1 = 0 ;
17182 char *kwnames[] = {
17183 (char *) "self",(char *) "col", NULL
17184 };
17185
17186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17188 {
17189 arg2 = &temp2;
17190 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17191 }
17192 {
17193 PyThreadState* __tstate = wxPyBeginAllowThreads();
17194 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17195
17196 wxPyEndAllowThreads(__tstate);
17197 if (PyErr_Occurred()) SWIG_fail;
17198 }
17199 resultobj = PyInt_FromLong((long)result);
17200 return resultobj;
17201 fail:
17202 return NULL;
17203 }
17204
17205
17206 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17207 PyObject *resultobj;
17208 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17209 wxColour *arg2 = 0 ;
17210 bool result;
17211 wxColour temp2 ;
17212 PyObject * obj0 = 0 ;
17213 PyObject * obj1 = 0 ;
17214 char *kwnames[] = {
17215 (char *) "self",(char *) "col", NULL
17216 };
17217
17218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17220 {
17221 arg2 = &temp2;
17222 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17223 }
17224 {
17225 PyThreadState* __tstate = wxPyBeginAllowThreads();
17226 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17227
17228 wxPyEndAllowThreads(__tstate);
17229 if (PyErr_Occurred()) SWIG_fail;
17230 }
17231 resultobj = PyInt_FromLong((long)result);
17232 return resultobj;
17233 fail:
17234 return NULL;
17235 }
17236
17237
17238 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17239 PyObject *resultobj;
17240 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17241 int arg2 ;
17242 wxListItem *result;
17243 PyObject * obj0 = 0 ;
17244 char *kwnames[] = {
17245 (char *) "self",(char *) "col", NULL
17246 };
17247
17248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17250 {
17251 PyThreadState* __tstate = wxPyBeginAllowThreads();
17252 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17253
17254 wxPyEndAllowThreads(__tstate);
17255 if (PyErr_Occurred()) SWIG_fail;
17256 }
17257 {
17258 resultobj = wxPyMake_wxObject(result);
17259 }
17260 return resultobj;
17261 fail:
17262 return NULL;
17263 }
17264
17265
17266 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17267 PyObject *resultobj;
17268 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17269 int arg2 ;
17270 wxListItem *arg3 = 0 ;
17271 bool result;
17272 PyObject * obj0 = 0 ;
17273 PyObject * obj2 = 0 ;
17274 char *kwnames[] = {
17275 (char *) "self",(char *) "col",(char *) "item", NULL
17276 };
17277
17278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17280 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17281 if (arg3 == NULL) {
17282 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17283 }
17284 {
17285 PyThreadState* __tstate = wxPyBeginAllowThreads();
17286 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17287
17288 wxPyEndAllowThreads(__tstate);
17289 if (PyErr_Occurred()) SWIG_fail;
17290 }
17291 resultobj = PyInt_FromLong((long)result);
17292 return resultobj;
17293 fail:
17294 return NULL;
17295 }
17296
17297
17298 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17299 PyObject *resultobj;
17300 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17301 int arg2 ;
17302 int result;
17303 PyObject * obj0 = 0 ;
17304 char *kwnames[] = {
17305 (char *) "self",(char *) "col", NULL
17306 };
17307
17308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17310 {
17311 PyThreadState* __tstate = wxPyBeginAllowThreads();
17312 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17313
17314 wxPyEndAllowThreads(__tstate);
17315 if (PyErr_Occurred()) SWIG_fail;
17316 }
17317 resultobj = PyInt_FromLong((long)result);
17318 return resultobj;
17319 fail:
17320 return NULL;
17321 }
17322
17323
17324 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17325 PyObject *resultobj;
17326 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17327 int arg2 ;
17328 int arg3 ;
17329 bool result;
17330 PyObject * obj0 = 0 ;
17331 char *kwnames[] = {
17332 (char *) "self",(char *) "col",(char *) "width", NULL
17333 };
17334
17335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17337 {
17338 PyThreadState* __tstate = wxPyBeginAllowThreads();
17339 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17340
17341 wxPyEndAllowThreads(__tstate);
17342 if (PyErr_Occurred()) SWIG_fail;
17343 }
17344 resultobj = PyInt_FromLong((long)result);
17345 return resultobj;
17346 fail:
17347 return NULL;
17348 }
17349
17350
17351 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17352 PyObject *resultobj;
17353 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17354 int result;
17355 PyObject * obj0 = 0 ;
17356 char *kwnames[] = {
17357 (char *) "self", NULL
17358 };
17359
17360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17362 {
17363 PyThreadState* __tstate = wxPyBeginAllowThreads();
17364 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17365
17366 wxPyEndAllowThreads(__tstate);
17367 if (PyErr_Occurred()) SWIG_fail;
17368 }
17369 resultobj = PyInt_FromLong((long)result);
17370 return resultobj;
17371 fail:
17372 return NULL;
17373 }
17374
17375
17376 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17377 PyObject *resultobj;
17378 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17379 wxRect result;
17380 PyObject * obj0 = 0 ;
17381 char *kwnames[] = {
17382 (char *) "self", NULL
17383 };
17384
17385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17387 {
17388 PyThreadState* __tstate = wxPyBeginAllowThreads();
17389 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17390
17391 wxPyEndAllowThreads(__tstate);
17392 if (PyErr_Occurred()) SWIG_fail;
17393 }
17394 {
17395 wxRect * resultptr;
17396 resultptr = new wxRect((wxRect &) result);
17397 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17398 }
17399 return resultobj;
17400 fail:
17401 return NULL;
17402 }
17403
17404
17405 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17406 PyObject *resultobj;
17407 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17408 long arg2 ;
17409 int arg3 = (int) 0 ;
17410 wxListItem *result;
17411 PyObject * obj0 = 0 ;
17412 char *kwnames[] = {
17413 (char *) "self",(char *) "itemId",(char *) "col", NULL
17414 };
17415
17416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17418 {
17419 PyThreadState* __tstate = wxPyBeginAllowThreads();
17420 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17421
17422 wxPyEndAllowThreads(__tstate);
17423 if (PyErr_Occurred()) SWIG_fail;
17424 }
17425 {
17426 resultobj = wxPyMake_wxObject(result);
17427 }
17428 return resultobj;
17429 fail:
17430 return NULL;
17431 }
17432
17433
17434 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17435 PyObject *resultobj;
17436 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17437 wxListItem *arg2 = 0 ;
17438 bool result;
17439 PyObject * obj0 = 0 ;
17440 PyObject * obj1 = 0 ;
17441 char *kwnames[] = {
17442 (char *) "self",(char *) "info", NULL
17443 };
17444
17445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17447 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17448 if (arg2 == NULL) {
17449 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17450 }
17451 {
17452 PyThreadState* __tstate = wxPyBeginAllowThreads();
17453 result = (bool)(arg1)->SetItem(*arg2);
17454
17455 wxPyEndAllowThreads(__tstate);
17456 if (PyErr_Occurred()) SWIG_fail;
17457 }
17458 resultobj = PyInt_FromLong((long)result);
17459 return resultobj;
17460 fail:
17461 return NULL;
17462 }
17463
17464
17465 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17466 PyObject *resultobj;
17467 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17468 long arg2 ;
17469 int arg3 ;
17470 wxString *arg4 = 0 ;
17471 int arg5 = (int) -1 ;
17472 long result;
17473 bool temp4 = False ;
17474 PyObject * obj0 = 0 ;
17475 PyObject * obj3 = 0 ;
17476 char *kwnames[] = {
17477 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17478 };
17479
17480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17482 {
17483 arg4 = wxString_in_helper(obj3);
17484 if (arg4 == NULL) SWIG_fail;
17485 temp4 = True;
17486 }
17487 {
17488 PyThreadState* __tstate = wxPyBeginAllowThreads();
17489 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17490
17491 wxPyEndAllowThreads(__tstate);
17492 if (PyErr_Occurred()) SWIG_fail;
17493 }
17494 resultobj = PyInt_FromLong((long)result);
17495 {
17496 if (temp4)
17497 delete arg4;
17498 }
17499 return resultobj;
17500 fail:
17501 {
17502 if (temp4)
17503 delete arg4;
17504 }
17505 return NULL;
17506 }
17507
17508
17509 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17510 PyObject *resultobj;
17511 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17512 long arg2 ;
17513 long arg3 ;
17514 int result;
17515 PyObject * obj0 = 0 ;
17516 char *kwnames[] = {
17517 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17518 };
17519
17520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17522 {
17523 PyThreadState* __tstate = wxPyBeginAllowThreads();
17524 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17525
17526 wxPyEndAllowThreads(__tstate);
17527 if (PyErr_Occurred()) SWIG_fail;
17528 }
17529 resultobj = PyInt_FromLong((long)result);
17530 return resultobj;
17531 fail:
17532 return NULL;
17533 }
17534
17535
17536 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17537 PyObject *resultobj;
17538 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17539 long arg2 ;
17540 long arg3 ;
17541 long arg4 ;
17542 bool result;
17543 PyObject * obj0 = 0 ;
17544 char *kwnames[] = {
17545 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17546 };
17547
17548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17550 {
17551 PyThreadState* __tstate = wxPyBeginAllowThreads();
17552 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17553
17554 wxPyEndAllowThreads(__tstate);
17555 if (PyErr_Occurred()) SWIG_fail;
17556 }
17557 resultobj = PyInt_FromLong((long)result);
17558 return resultobj;
17559 fail:
17560 return NULL;
17561 }
17562
17563
17564 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17565 PyObject *resultobj;
17566 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17567 long arg2 ;
17568 int arg3 ;
17569 int arg4 ;
17570 bool result;
17571 PyObject * obj0 = 0 ;
17572 char *kwnames[] = {
17573 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17574 };
17575
17576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17581
17582 wxPyEndAllowThreads(__tstate);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 }
17585 resultobj = PyInt_FromLong((long)result);
17586 return resultobj;
17587 fail:
17588 return NULL;
17589 }
17590
17591
17592 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17593 PyObject *resultobj;
17594 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17595 long arg2 ;
17596 wxString result;
17597 PyObject * obj0 = 0 ;
17598 char *kwnames[] = {
17599 (char *) "self",(char *) "item", NULL
17600 };
17601
17602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) 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 = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17607
17608 wxPyEndAllowThreads(__tstate);
17609 if (PyErr_Occurred()) SWIG_fail;
17610 }
17611 {
17612 #if wxUSE_UNICODE
17613 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17614 #else
17615 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17616 #endif
17617 }
17618 return resultobj;
17619 fail:
17620 return NULL;
17621 }
17622
17623
17624 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17625 PyObject *resultobj;
17626 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17627 long arg2 ;
17628 wxString *arg3 = 0 ;
17629 bool temp3 = False ;
17630 PyObject * obj0 = 0 ;
17631 PyObject * obj2 = 0 ;
17632 char *kwnames[] = {
17633 (char *) "self",(char *) "item",(char *) "str", NULL
17634 };
17635
17636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
17637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17638 {
17639 arg3 = wxString_in_helper(obj2);
17640 if (arg3 == NULL) SWIG_fail;
17641 temp3 = True;
17642 }
17643 {
17644 PyThreadState* __tstate = wxPyBeginAllowThreads();
17645 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
17646
17647 wxPyEndAllowThreads(__tstate);
17648 if (PyErr_Occurred()) SWIG_fail;
17649 }
17650 Py_INCREF(Py_None); resultobj = Py_None;
17651 {
17652 if (temp3)
17653 delete arg3;
17654 }
17655 return resultobj;
17656 fail:
17657 {
17658 if (temp3)
17659 delete arg3;
17660 }
17661 return NULL;
17662 }
17663
17664
17665 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17666 PyObject *resultobj;
17667 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17668 long arg2 ;
17669 long result;
17670 PyObject * obj0 = 0 ;
17671 char *kwnames[] = {
17672 (char *) "self",(char *) "item", NULL
17673 };
17674
17675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
17676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17677 {
17678 PyThreadState* __tstate = wxPyBeginAllowThreads();
17679 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
17680
17681 wxPyEndAllowThreads(__tstate);
17682 if (PyErr_Occurred()) SWIG_fail;
17683 }
17684 resultobj = PyInt_FromLong((long)result);
17685 return resultobj;
17686 fail:
17687 return NULL;
17688 }
17689
17690
17691 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17692 PyObject *resultobj;
17693 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17694 long arg2 ;
17695 long arg3 ;
17696 bool result;
17697 PyObject * obj0 = 0 ;
17698 char *kwnames[] = {
17699 (char *) "self",(char *) "item",(char *) "data", NULL
17700 };
17701
17702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
17703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17704 {
17705 PyThreadState* __tstate = wxPyBeginAllowThreads();
17706 result = (bool)(arg1)->SetItemData(arg2,arg3);
17707
17708 wxPyEndAllowThreads(__tstate);
17709 if (PyErr_Occurred()) SWIG_fail;
17710 }
17711 resultobj = PyInt_FromLong((long)result);
17712 return resultobj;
17713 fail:
17714 return NULL;
17715 }
17716
17717
17718 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17719 PyObject *resultobj;
17720 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17721 long arg2 ;
17722 wxPoint result;
17723 PyObject * obj0 = 0 ;
17724 char *kwnames[] = {
17725 (char *) "self",(char *) "item", NULL
17726 };
17727
17728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
17729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
17733
17734 wxPyEndAllowThreads(__tstate);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 {
17738 wxPoint * resultptr;
17739 resultptr = new wxPoint((wxPoint &) result);
17740 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17741 }
17742 return resultobj;
17743 fail:
17744 return NULL;
17745 }
17746
17747
17748 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17749 PyObject *resultobj;
17750 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17751 long arg2 ;
17752 int arg3 = (int) wxLIST_RECT_BOUNDS ;
17753 wxRect result;
17754 PyObject * obj0 = 0 ;
17755 char *kwnames[] = {
17756 (char *) "self",(char *) "item",(char *) "code", NULL
17757 };
17758
17759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
17760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17761 {
17762 PyThreadState* __tstate = wxPyBeginAllowThreads();
17763 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
17764
17765 wxPyEndAllowThreads(__tstate);
17766 if (PyErr_Occurred()) SWIG_fail;
17767 }
17768 {
17769 wxRect * resultptr;
17770 resultptr = new wxRect((wxRect &) result);
17771 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17772 }
17773 return resultobj;
17774 fail:
17775 return NULL;
17776 }
17777
17778
17779 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17780 PyObject *resultobj;
17781 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17782 long arg2 ;
17783 wxPoint *arg3 = 0 ;
17784 bool result;
17785 wxPoint temp3 ;
17786 PyObject * obj0 = 0 ;
17787 PyObject * obj2 = 0 ;
17788 char *kwnames[] = {
17789 (char *) "self",(char *) "item",(char *) "pos", NULL
17790 };
17791
17792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
17793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17794 {
17795 arg3 = &temp3;
17796 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17797 }
17798 {
17799 PyThreadState* __tstate = wxPyBeginAllowThreads();
17800 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
17801
17802 wxPyEndAllowThreads(__tstate);
17803 if (PyErr_Occurred()) SWIG_fail;
17804 }
17805 resultobj = PyInt_FromLong((long)result);
17806 return resultobj;
17807 fail:
17808 return NULL;
17809 }
17810
17811
17812 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17813 PyObject *resultobj;
17814 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17815 int result;
17816 PyObject * obj0 = 0 ;
17817 char *kwnames[] = {
17818 (char *) "self", NULL
17819 };
17820
17821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
17822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 resultobj = PyInt_FromLong((long)result);
17831 return resultobj;
17832 fail:
17833 return NULL;
17834 }
17835
17836
17837 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17838 PyObject *resultobj;
17839 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17840 int result;
17841 PyObject * obj0 = 0 ;
17842 char *kwnames[] = {
17843 (char *) "self", NULL
17844 };
17845
17846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
17847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17848 {
17849 PyThreadState* __tstate = wxPyBeginAllowThreads();
17850 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
17851
17852 wxPyEndAllowThreads(__tstate);
17853 if (PyErr_Occurred()) SWIG_fail;
17854 }
17855 resultobj = PyInt_FromLong((long)result);
17856 return resultobj;
17857 fail:
17858 return NULL;
17859 }
17860
17861
17862 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17863 PyObject *resultobj;
17864 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17865 wxSize result;
17866 PyObject * obj0 = 0 ;
17867 char *kwnames[] = {
17868 (char *) "self", NULL
17869 };
17870
17871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
17872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17873 {
17874 PyThreadState* __tstate = wxPyBeginAllowThreads();
17875 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
17876
17877 wxPyEndAllowThreads(__tstate);
17878 if (PyErr_Occurred()) SWIG_fail;
17879 }
17880 {
17881 wxSize * resultptr;
17882 resultptr = new wxSize((wxSize &) result);
17883 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17884 }
17885 return resultobj;
17886 fail:
17887 return NULL;
17888 }
17889
17890
17891 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
17892 PyObject *resultobj;
17893 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17894 int arg2 ;
17895 bool arg3 = (bool) False ;
17896 PyObject * obj0 = 0 ;
17897 PyObject * obj2 = 0 ;
17898 char *kwnames[] = {
17899 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
17900 };
17901
17902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
17903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17904 if (obj2) {
17905 arg3 = PyInt_AsLong(obj2) ? true : false;
17906 if (PyErr_Occurred()) SWIG_fail;
17907 }
17908 {
17909 PyThreadState* __tstate = wxPyBeginAllowThreads();
17910 (arg1)->SetItemSpacing(arg2,arg3);
17911
17912 wxPyEndAllowThreads(__tstate);
17913 if (PyErr_Occurred()) SWIG_fail;
17914 }
17915 Py_INCREF(Py_None); resultobj = Py_None;
17916 return resultobj;
17917 fail:
17918 return NULL;
17919 }
17920
17921
17922 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
17923 PyObject *resultobj;
17924 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17925 int result;
17926 PyObject * obj0 = 0 ;
17927 char *kwnames[] = {
17928 (char *) "self", NULL
17929 };
17930
17931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
17932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17933 {
17934 PyThreadState* __tstate = wxPyBeginAllowThreads();
17935 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
17936
17937 wxPyEndAllowThreads(__tstate);
17938 if (PyErr_Occurred()) SWIG_fail;
17939 }
17940 resultobj = PyInt_FromLong((long)result);
17941 return resultobj;
17942 fail:
17943 return NULL;
17944 }
17945
17946
17947 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17948 PyObject *resultobj;
17949 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17950 wxColour result;
17951 PyObject * obj0 = 0 ;
17952 char *kwnames[] = {
17953 (char *) "self", NULL
17954 };
17955
17956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
17957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17958 {
17959 PyThreadState* __tstate = wxPyBeginAllowThreads();
17960 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
17961
17962 wxPyEndAllowThreads(__tstate);
17963 if (PyErr_Occurred()) SWIG_fail;
17964 }
17965 {
17966 wxColour * resultptr;
17967 resultptr = new wxColour((wxColour &) result);
17968 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
17969 }
17970 return resultobj;
17971 fail:
17972 return NULL;
17973 }
17974
17975
17976 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17977 PyObject *resultobj;
17978 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17979 wxColour *arg2 = 0 ;
17980 wxColour temp2 ;
17981 PyObject * obj0 = 0 ;
17982 PyObject * obj1 = 0 ;
17983 char *kwnames[] = {
17984 (char *) "self",(char *) "col", NULL
17985 };
17986
17987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
17988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17989 {
17990 arg2 = &temp2;
17991 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17992 }
17993 {
17994 PyThreadState* __tstate = wxPyBeginAllowThreads();
17995 (arg1)->SetTextColour((wxColour const &)*arg2);
17996
17997 wxPyEndAllowThreads(__tstate);
17998 if (PyErr_Occurred()) SWIG_fail;
17999 }
18000 Py_INCREF(Py_None); resultobj = Py_None;
18001 return resultobj;
18002 fail:
18003 return NULL;
18004 }
18005
18006
18007 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18008 PyObject *resultobj;
18009 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18010 long result;
18011 PyObject * obj0 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18018 {
18019 PyThreadState* __tstate = wxPyBeginAllowThreads();
18020 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18021
18022 wxPyEndAllowThreads(__tstate);
18023 if (PyErr_Occurred()) SWIG_fail;
18024 }
18025 resultobj = PyInt_FromLong((long)result);
18026 return resultobj;
18027 fail:
18028 return NULL;
18029 }
18030
18031
18032 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18033 PyObject *resultobj;
18034 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18035 long arg2 ;
18036 bool arg3 = (bool) True ;
18037 PyObject * obj0 = 0 ;
18038 PyObject * obj2 = 0 ;
18039 char *kwnames[] = {
18040 (char *) "self",(char *) "style",(char *) "add", NULL
18041 };
18042
18043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18045 if (obj2) {
18046 arg3 = PyInt_AsLong(obj2) ? true : false;
18047 if (PyErr_Occurred()) SWIG_fail;
18048 }
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 (arg1)->SetSingleStyle(arg2,arg3);
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
18056 Py_INCREF(Py_None); resultobj = Py_None;
18057 return resultobj;
18058 fail:
18059 return NULL;
18060 }
18061
18062
18063 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18064 PyObject *resultobj;
18065 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18066 long arg2 ;
18067 PyObject * obj0 = 0 ;
18068 char *kwnames[] = {
18069 (char *) "self",(char *) "style", NULL
18070 };
18071
18072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18074 {
18075 PyThreadState* __tstate = wxPyBeginAllowThreads();
18076 (arg1)->SetWindowStyleFlag(arg2);
18077
18078 wxPyEndAllowThreads(__tstate);
18079 if (PyErr_Occurred()) SWIG_fail;
18080 }
18081 Py_INCREF(Py_None); resultobj = Py_None;
18082 return resultobj;
18083 fail:
18084 return NULL;
18085 }
18086
18087
18088 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18089 PyObject *resultobj;
18090 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18091 long arg2 ;
18092 int arg3 = (int) wxLIST_NEXT_ALL ;
18093 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18094 long result;
18095 PyObject * obj0 = 0 ;
18096 char *kwnames[] = {
18097 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18098 };
18099
18100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18102 {
18103 PyThreadState* __tstate = wxPyBeginAllowThreads();
18104 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18105
18106 wxPyEndAllowThreads(__tstate);
18107 if (PyErr_Occurred()) SWIG_fail;
18108 }
18109 resultobj = PyInt_FromLong((long)result);
18110 return resultobj;
18111 fail:
18112 return NULL;
18113 }
18114
18115
18116 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18117 PyObject *resultobj;
18118 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18119 int arg2 ;
18120 wxImageList *result;
18121 PyObject * obj0 = 0 ;
18122 char *kwnames[] = {
18123 (char *) "self",(char *) "which", NULL
18124 };
18125
18126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18128 {
18129 PyThreadState* __tstate = wxPyBeginAllowThreads();
18130 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18131
18132 wxPyEndAllowThreads(__tstate);
18133 if (PyErr_Occurred()) SWIG_fail;
18134 }
18135 {
18136 resultobj = wxPyMake_wxObject(result);
18137 }
18138 return resultobj;
18139 fail:
18140 return NULL;
18141 }
18142
18143
18144 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18145 PyObject *resultobj;
18146 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18147 wxImageList *arg2 = (wxImageList *) 0 ;
18148 int arg3 ;
18149 PyObject * obj0 = 0 ;
18150 PyObject * obj1 = 0 ;
18151 char *kwnames[] = {
18152 (char *) "self",(char *) "imageList",(char *) "which", NULL
18153 };
18154
18155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18157 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18158 {
18159 PyThreadState* __tstate = wxPyBeginAllowThreads();
18160 (arg1)->SetImageList(arg2,arg3);
18161
18162 wxPyEndAllowThreads(__tstate);
18163 if (PyErr_Occurred()) SWIG_fail;
18164 }
18165 Py_INCREF(Py_None); resultobj = Py_None;
18166 return resultobj;
18167 fail:
18168 return NULL;
18169 }
18170
18171
18172 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18173 PyObject *resultobj;
18174 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18175 wxImageList *arg2 = (wxImageList *) 0 ;
18176 int arg3 ;
18177 PyObject * obj0 = 0 ;
18178 PyObject * obj1 = 0 ;
18179 char *kwnames[] = {
18180 (char *) "self",(char *) "imageList",(char *) "which", NULL
18181 };
18182
18183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18185 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18186 {
18187 PyThreadState* __tstate = wxPyBeginAllowThreads();
18188 (arg1)->AssignImageList(arg2,arg3);
18189
18190 wxPyEndAllowThreads(__tstate);
18191 if (PyErr_Occurred()) SWIG_fail;
18192 }
18193 Py_INCREF(Py_None); resultobj = Py_None;
18194 return resultobj;
18195 fail:
18196 return NULL;
18197 }
18198
18199
18200 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18201 PyObject *resultobj;
18202 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18203 bool result;
18204 PyObject * obj0 = 0 ;
18205 char *kwnames[] = {
18206 (char *) "self", NULL
18207 };
18208
18209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18211 {
18212 PyThreadState* __tstate = wxPyBeginAllowThreads();
18213 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18214
18215 wxPyEndAllowThreads(__tstate);
18216 if (PyErr_Occurred()) SWIG_fail;
18217 }
18218 resultobj = PyInt_FromLong((long)result);
18219 return resultobj;
18220 fail:
18221 return NULL;
18222 }
18223
18224
18225 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18226 PyObject *resultobj;
18227 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18228 long arg2 ;
18229 PyObject * obj0 = 0 ;
18230 char *kwnames[] = {
18231 (char *) "self",(char *) "item", NULL
18232 };
18233
18234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18236 {
18237 PyThreadState* __tstate = wxPyBeginAllowThreads();
18238 (arg1)->RefreshItem(arg2);
18239
18240 wxPyEndAllowThreads(__tstate);
18241 if (PyErr_Occurred()) SWIG_fail;
18242 }
18243 Py_INCREF(Py_None); resultobj = Py_None;
18244 return resultobj;
18245 fail:
18246 return NULL;
18247 }
18248
18249
18250 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18251 PyObject *resultobj;
18252 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18253 long arg2 ;
18254 long arg3 ;
18255 PyObject * obj0 = 0 ;
18256 char *kwnames[] = {
18257 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18258 };
18259
18260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18262 {
18263 PyThreadState* __tstate = wxPyBeginAllowThreads();
18264 (arg1)->RefreshItems(arg2,arg3);
18265
18266 wxPyEndAllowThreads(__tstate);
18267 if (PyErr_Occurred()) SWIG_fail;
18268 }
18269 Py_INCREF(Py_None); resultobj = Py_None;
18270 return resultobj;
18271 fail:
18272 return NULL;
18273 }
18274
18275
18276 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18277 PyObject *resultobj;
18278 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18279 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18280 bool result;
18281 PyObject * obj0 = 0 ;
18282 char *kwnames[] = {
18283 (char *) "self",(char *) "flag", NULL
18284 };
18285
18286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) 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 = (bool)(arg1)->Arrange(arg2);
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_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18303 PyObject *resultobj;
18304 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18305 long arg2 ;
18306 bool result;
18307 PyObject * obj0 = 0 ;
18308 char *kwnames[] = {
18309 (char *) "self",(char *) "item", NULL
18310 };
18311
18312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",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 = (bool)(arg1)->DeleteItem(arg2);
18317
18318 wxPyEndAllowThreads(__tstate);
18319 if (PyErr_Occurred()) SWIG_fail;
18320 }
18321 resultobj = PyInt_FromLong((long)result);
18322 return resultobj;
18323 fail:
18324 return NULL;
18325 }
18326
18327
18328 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18329 PyObject *resultobj;
18330 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18331 bool result;
18332 PyObject * obj0 = 0 ;
18333 char *kwnames[] = {
18334 (char *) "self", NULL
18335 };
18336
18337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18339 {
18340 PyThreadState* __tstate = wxPyBeginAllowThreads();
18341 result = (bool)(arg1)->DeleteAllItems();
18342
18343 wxPyEndAllowThreads(__tstate);
18344 if (PyErr_Occurred()) SWIG_fail;
18345 }
18346 resultobj = PyInt_FromLong((long)result);
18347 return resultobj;
18348 fail:
18349 return NULL;
18350 }
18351
18352
18353 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18354 PyObject *resultobj;
18355 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18356 int arg2 ;
18357 bool result;
18358 PyObject * obj0 = 0 ;
18359 char *kwnames[] = {
18360 (char *) "self",(char *) "col", NULL
18361 };
18362
18363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18365 {
18366 PyThreadState* __tstate = wxPyBeginAllowThreads();
18367 result = (bool)(arg1)->DeleteColumn(arg2);
18368
18369 wxPyEndAllowThreads(__tstate);
18370 if (PyErr_Occurred()) SWIG_fail;
18371 }
18372 resultobj = PyInt_FromLong((long)result);
18373 return resultobj;
18374 fail:
18375 return NULL;
18376 }
18377
18378
18379 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18380 PyObject *resultobj;
18381 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18382 bool result;
18383 PyObject * obj0 = 0 ;
18384 char *kwnames[] = {
18385 (char *) "self", NULL
18386 };
18387
18388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18390 {
18391 PyThreadState* __tstate = wxPyBeginAllowThreads();
18392 result = (bool)(arg1)->DeleteAllColumns();
18393
18394 wxPyEndAllowThreads(__tstate);
18395 if (PyErr_Occurred()) SWIG_fail;
18396 }
18397 resultobj = PyInt_FromLong((long)result);
18398 return resultobj;
18399 fail:
18400 return NULL;
18401 }
18402
18403
18404 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18405 PyObject *resultobj;
18406 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18407 PyObject * obj0 = 0 ;
18408 char *kwnames[] = {
18409 (char *) "self", NULL
18410 };
18411
18412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 (arg1)->ClearAll();
18417
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 Py_INCREF(Py_None); resultobj = Py_None;
18422 return resultobj;
18423 fail:
18424 return NULL;
18425 }
18426
18427
18428 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18429 PyObject *resultobj;
18430 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18431 long arg2 ;
18432 PyObject * obj0 = 0 ;
18433 char *kwnames[] = {
18434 (char *) "self",(char *) "item", NULL
18435 };
18436
18437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 (arg1)->EditLabel(arg2);
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 Py_INCREF(Py_None); resultobj = Py_None;
18447 return resultobj;
18448 fail:
18449 return NULL;
18450 }
18451
18452
18453 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj;
18455 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18456 long arg2 ;
18457 bool result;
18458 PyObject * obj0 = 0 ;
18459 char *kwnames[] = {
18460 (char *) "self",(char *) "item", NULL
18461 };
18462
18463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18465 {
18466 PyThreadState* __tstate = wxPyBeginAllowThreads();
18467 result = (bool)(arg1)->EnsureVisible(arg2);
18468
18469 wxPyEndAllowThreads(__tstate);
18470 if (PyErr_Occurred()) SWIG_fail;
18471 }
18472 resultobj = PyInt_FromLong((long)result);
18473 return resultobj;
18474 fail:
18475 return NULL;
18476 }
18477
18478
18479 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18480 PyObject *resultobj;
18481 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18482 long arg2 ;
18483 wxString *arg3 = 0 ;
18484 bool arg4 = (bool) False ;
18485 long result;
18486 bool temp3 = False ;
18487 PyObject * obj0 = 0 ;
18488 PyObject * obj2 = 0 ;
18489 PyObject * obj3 = 0 ;
18490 char *kwnames[] = {
18491 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18492 };
18493
18494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18496 {
18497 arg3 = wxString_in_helper(obj2);
18498 if (arg3 == NULL) SWIG_fail;
18499 temp3 = True;
18500 }
18501 if (obj3) {
18502 arg4 = PyInt_AsLong(obj3) ? true : false;
18503 if (PyErr_Occurred()) SWIG_fail;
18504 }
18505 {
18506 PyThreadState* __tstate = wxPyBeginAllowThreads();
18507 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18508
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
18512 resultobj = PyInt_FromLong((long)result);
18513 {
18514 if (temp3)
18515 delete arg3;
18516 }
18517 return resultobj;
18518 fail:
18519 {
18520 if (temp3)
18521 delete arg3;
18522 }
18523 return NULL;
18524 }
18525
18526
18527 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18528 PyObject *resultobj;
18529 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18530 long arg2 ;
18531 long arg3 ;
18532 long result;
18533 PyObject * obj0 = 0 ;
18534 char *kwnames[] = {
18535 (char *) "self",(char *) "start",(char *) "data", NULL
18536 };
18537
18538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18540 {
18541 PyThreadState* __tstate = wxPyBeginAllowThreads();
18542 result = (long)(arg1)->FindItem(arg2,arg3);
18543
18544 wxPyEndAllowThreads(__tstate);
18545 if (PyErr_Occurred()) SWIG_fail;
18546 }
18547 resultobj = PyInt_FromLong((long)result);
18548 return resultobj;
18549 fail:
18550 return NULL;
18551 }
18552
18553
18554 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18555 PyObject *resultobj;
18556 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18557 long arg2 ;
18558 wxPoint *arg3 = 0 ;
18559 int arg4 ;
18560 long result;
18561 wxPoint temp3 ;
18562 PyObject * obj0 = 0 ;
18563 PyObject * obj2 = 0 ;
18564 char *kwnames[] = {
18565 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18566 };
18567
18568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18570 {
18571 arg3 = &temp3;
18572 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18573 }
18574 {
18575 PyThreadState* __tstate = wxPyBeginAllowThreads();
18576 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18577
18578 wxPyEndAllowThreads(__tstate);
18579 if (PyErr_Occurred()) SWIG_fail;
18580 }
18581 resultobj = PyInt_FromLong((long)result);
18582 return resultobj;
18583 fail:
18584 return NULL;
18585 }
18586
18587
18588 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18589 PyObject *resultobj;
18590 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18591 wxPoint *arg2 = 0 ;
18592 int *arg3 = 0 ;
18593 long result;
18594 wxPoint temp2 ;
18595 int temp3 ;
18596 PyObject * obj0 = 0 ;
18597 PyObject * obj1 = 0 ;
18598 char *kwnames[] = {
18599 (char *) "self",(char *) "point", NULL
18600 };
18601
18602 arg3 = &temp3;
18603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18605 {
18606 arg2 = &temp2;
18607 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18608 }
18609 {
18610 PyThreadState* __tstate = wxPyBeginAllowThreads();
18611 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18612
18613 wxPyEndAllowThreads(__tstate);
18614 if (PyErr_Occurred()) SWIG_fail;
18615 }
18616 resultobj = PyInt_FromLong((long)result);
18617 {
18618 PyObject *o = PyInt_FromLong((long) (*arg3));
18619 resultobj = t_output_helper(resultobj,o);
18620 }
18621 return resultobj;
18622 fail:
18623 return NULL;
18624 }
18625
18626
18627 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18628 PyObject *resultobj;
18629 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18630 wxListItem *arg2 = 0 ;
18631 long result;
18632 PyObject * obj0 = 0 ;
18633 PyObject * obj1 = 0 ;
18634 char *kwnames[] = {
18635 (char *) "self",(char *) "info", NULL
18636 };
18637
18638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
18639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18640 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18641 if (arg2 == NULL) {
18642 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18643 }
18644 {
18645 PyThreadState* __tstate = wxPyBeginAllowThreads();
18646 result = (long)(arg1)->InsertItem(*arg2);
18647
18648 wxPyEndAllowThreads(__tstate);
18649 if (PyErr_Occurred()) SWIG_fail;
18650 }
18651 resultobj = PyInt_FromLong((long)result);
18652 return resultobj;
18653 fail:
18654 return NULL;
18655 }
18656
18657
18658 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18659 PyObject *resultobj;
18660 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18661 long arg2 ;
18662 wxString *arg3 = 0 ;
18663 long result;
18664 bool temp3 = False ;
18665 PyObject * obj0 = 0 ;
18666 PyObject * obj2 = 0 ;
18667 char *kwnames[] = {
18668 (char *) "self",(char *) "index",(char *) "label", NULL
18669 };
18670
18671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
18672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18673 {
18674 arg3 = wxString_in_helper(obj2);
18675 if (arg3 == NULL) SWIG_fail;
18676 temp3 = True;
18677 }
18678 {
18679 PyThreadState* __tstate = wxPyBeginAllowThreads();
18680 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
18681
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 resultobj = PyInt_FromLong((long)result);
18686 {
18687 if (temp3)
18688 delete arg3;
18689 }
18690 return resultobj;
18691 fail:
18692 {
18693 if (temp3)
18694 delete arg3;
18695 }
18696 return NULL;
18697 }
18698
18699
18700 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18701 PyObject *resultobj;
18702 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18703 long arg2 ;
18704 int arg3 ;
18705 long result;
18706 PyObject * obj0 = 0 ;
18707 char *kwnames[] = {
18708 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
18709 };
18710
18711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18713 {
18714 PyThreadState* __tstate = wxPyBeginAllowThreads();
18715 result = (long)(arg1)->InsertItem(arg2,arg3);
18716
18717 wxPyEndAllowThreads(__tstate);
18718 if (PyErr_Occurred()) SWIG_fail;
18719 }
18720 resultobj = PyInt_FromLong((long)result);
18721 return resultobj;
18722 fail:
18723 return NULL;
18724 }
18725
18726
18727 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18728 PyObject *resultobj;
18729 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18730 long arg2 ;
18731 wxString *arg3 = 0 ;
18732 int arg4 ;
18733 long result;
18734 bool temp3 = False ;
18735 PyObject * obj0 = 0 ;
18736 PyObject * obj2 = 0 ;
18737 char *kwnames[] = {
18738 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
18739 };
18740
18741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18743 {
18744 arg3 = wxString_in_helper(obj2);
18745 if (arg3 == NULL) SWIG_fail;
18746 temp3 = True;
18747 }
18748 {
18749 PyThreadState* __tstate = wxPyBeginAllowThreads();
18750 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
18751
18752 wxPyEndAllowThreads(__tstate);
18753 if (PyErr_Occurred()) SWIG_fail;
18754 }
18755 resultobj = PyInt_FromLong((long)result);
18756 {
18757 if (temp3)
18758 delete arg3;
18759 }
18760 return resultobj;
18761 fail:
18762 {
18763 if (temp3)
18764 delete arg3;
18765 }
18766 return NULL;
18767 }
18768
18769
18770 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18771 PyObject *resultobj;
18772 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18773 long arg2 ;
18774 wxListItem *arg3 = 0 ;
18775 long result;
18776 PyObject * obj0 = 0 ;
18777 PyObject * obj2 = 0 ;
18778 char *kwnames[] = {
18779 (char *) "self",(char *) "col",(char *) "info", NULL
18780 };
18781
18782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
18783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18784 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18785 if (arg3 == NULL) {
18786 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18787 }
18788 {
18789 PyThreadState* __tstate = wxPyBeginAllowThreads();
18790 result = (long)(arg1)->InsertColumn(arg2,*arg3);
18791
18792 wxPyEndAllowThreads(__tstate);
18793 if (PyErr_Occurred()) SWIG_fail;
18794 }
18795 resultobj = PyInt_FromLong((long)result);
18796 return resultobj;
18797 fail:
18798 return NULL;
18799 }
18800
18801
18802 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18803 PyObject *resultobj;
18804 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18805 long arg2 ;
18806 wxString *arg3 = 0 ;
18807 int arg4 = (int) wxLIST_FORMAT_LEFT ;
18808 int arg5 = (int) -1 ;
18809 long result;
18810 bool temp3 = False ;
18811 PyObject * obj0 = 0 ;
18812 PyObject * obj2 = 0 ;
18813 char *kwnames[] = {
18814 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
18815 };
18816
18817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
18818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18819 {
18820 arg3 = wxString_in_helper(obj2);
18821 if (arg3 == NULL) SWIG_fail;
18822 temp3 = True;
18823 }
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 resultobj = PyInt_FromLong((long)result);
18832 {
18833 if (temp3)
18834 delete arg3;
18835 }
18836 return resultobj;
18837 fail:
18838 {
18839 if (temp3)
18840 delete arg3;
18841 }
18842 return NULL;
18843 }
18844
18845
18846 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18847 PyObject *resultobj;
18848 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18849 long arg2 ;
18850 PyObject * obj0 = 0 ;
18851 char *kwnames[] = {
18852 (char *) "self",(char *) "count", NULL
18853 };
18854
18855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
18856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18857 {
18858 PyThreadState* __tstate = wxPyBeginAllowThreads();
18859 (arg1)->SetItemCount(arg2);
18860
18861 wxPyEndAllowThreads(__tstate);
18862 if (PyErr_Occurred()) SWIG_fail;
18863 }
18864 Py_INCREF(Py_None); resultobj = Py_None;
18865 return resultobj;
18866 fail:
18867 return NULL;
18868 }
18869
18870
18871 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
18872 PyObject *resultobj;
18873 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18874 int arg2 ;
18875 int arg3 ;
18876 bool result;
18877 PyObject * obj0 = 0 ;
18878 char *kwnames[] = {
18879 (char *) "self",(char *) "dx",(char *) "dy", NULL
18880 };
18881
18882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
18883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18884 {
18885 PyThreadState* __tstate = wxPyBeginAllowThreads();
18886 result = (bool)(arg1)->ScrollList(arg2,arg3);
18887
18888 wxPyEndAllowThreads(__tstate);
18889 if (PyErr_Occurred()) SWIG_fail;
18890 }
18891 resultobj = PyInt_FromLong((long)result);
18892 return resultobj;
18893 fail:
18894 return NULL;
18895 }
18896
18897
18898 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18899 PyObject *resultobj;
18900 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18901 long arg2 ;
18902 wxColour *arg3 = 0 ;
18903 wxColour temp3 ;
18904 PyObject * obj0 = 0 ;
18905 PyObject * obj2 = 0 ;
18906 char *kwnames[] = {
18907 (char *) "self",(char *) "item",(char *) "col", NULL
18908 };
18909
18910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
18911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18912 {
18913 arg3 = &temp3;
18914 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18915 }
18916 {
18917 PyThreadState* __tstate = wxPyBeginAllowThreads();
18918 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
18919
18920 wxPyEndAllowThreads(__tstate);
18921 if (PyErr_Occurred()) SWIG_fail;
18922 }
18923 Py_INCREF(Py_None); resultobj = Py_None;
18924 return resultobj;
18925 fail:
18926 return NULL;
18927 }
18928
18929
18930 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18931 PyObject *resultobj;
18932 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18933 long arg2 ;
18934 wxColour result;
18935 PyObject * obj0 = 0 ;
18936 char *kwnames[] = {
18937 (char *) "self",(char *) "item", NULL
18938 };
18939
18940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
18941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18942 {
18943 PyThreadState* __tstate = wxPyBeginAllowThreads();
18944 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
18945
18946 wxPyEndAllowThreads(__tstate);
18947 if (PyErr_Occurred()) SWIG_fail;
18948 }
18949 {
18950 wxColour * resultptr;
18951 resultptr = new wxColour((wxColour &) result);
18952 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18953 }
18954 return resultobj;
18955 fail:
18956 return NULL;
18957 }
18958
18959
18960 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18961 PyObject *resultobj;
18962 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18963 long arg2 ;
18964 wxColour *arg3 = 0 ;
18965 wxColour temp3 ;
18966 PyObject * obj0 = 0 ;
18967 PyObject * obj2 = 0 ;
18968 char *kwnames[] = {
18969 (char *) "self",(char *) "item",(char *) "col", NULL
18970 };
18971
18972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
18973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18974 {
18975 arg3 = &temp3;
18976 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
18977 }
18978 {
18979 PyThreadState* __tstate = wxPyBeginAllowThreads();
18980 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
18981
18982 wxPyEndAllowThreads(__tstate);
18983 if (PyErr_Occurred()) SWIG_fail;
18984 }
18985 Py_INCREF(Py_None); resultobj = Py_None;
18986 return resultobj;
18987 fail:
18988 return NULL;
18989 }
18990
18991
18992 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18993 PyObject *resultobj;
18994 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18995 long arg2 ;
18996 wxColour result;
18997 PyObject * obj0 = 0 ;
18998 char *kwnames[] = {
18999 (char *) "self",(char *) "item", NULL
19000 };
19001
19002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19004 {
19005 PyThreadState* __tstate = wxPyBeginAllowThreads();
19006 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19007
19008 wxPyEndAllowThreads(__tstate);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 {
19012 wxColour * resultptr;
19013 resultptr = new wxColour((wxColour &) result);
19014 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19015 }
19016 return resultobj;
19017 fail:
19018 return NULL;
19019 }
19020
19021
19022 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19023 PyObject *resultobj;
19024 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19025 PyObject *arg2 = (PyObject *) 0 ;
19026 bool result;
19027 PyObject * obj0 = 0 ;
19028 PyObject * obj1 = 0 ;
19029 char *kwnames[] = {
19030 (char *) "self",(char *) "func", NULL
19031 };
19032
19033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19035 arg2 = obj1;
19036 {
19037 PyThreadState* __tstate = wxPyBeginAllowThreads();
19038 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19039
19040 wxPyEndAllowThreads(__tstate);
19041 if (PyErr_Occurred()) SWIG_fail;
19042 }
19043 resultobj = PyInt_FromLong((long)result);
19044 return resultobj;
19045 fail:
19046 return NULL;
19047 }
19048
19049
19050 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19051 PyObject *resultobj;
19052 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19053 wxWindow *result;
19054 PyObject * obj0 = 0 ;
19055 char *kwnames[] = {
19056 (char *) "self", NULL
19057 };
19058
19059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19061 {
19062 PyThreadState* __tstate = wxPyBeginAllowThreads();
19063 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19064
19065 wxPyEndAllowThreads(__tstate);
19066 if (PyErr_Occurred()) SWIG_fail;
19067 }
19068 {
19069 resultobj = wxPyMake_wxObject(result);
19070 }
19071 return resultobj;
19072 fail:
19073 return NULL;
19074 }
19075
19076
19077 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19078 PyObject *obj;
19079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19080 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19081 Py_INCREF(obj);
19082 return Py_BuildValue((char *)"");
19083 }
19084 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19085 PyObject *resultobj;
19086 wxWindow *arg1 = (wxWindow *) 0 ;
19087 int arg2 = (int) -1 ;
19088 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19089 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19090 wxSize const &arg4_defvalue = wxDefaultSize ;
19091 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19092 long arg5 = (long) wxLC_REPORT ;
19093 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19094 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19095 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19096 wxString *arg7 = (wxString *) &arg7_defvalue ;
19097 wxListView *result;
19098 wxPoint temp3 ;
19099 wxSize temp4 ;
19100 bool temp7 = False ;
19101 PyObject * obj0 = 0 ;
19102 PyObject * obj2 = 0 ;
19103 PyObject * obj3 = 0 ;
19104 PyObject * obj5 = 0 ;
19105 PyObject * obj6 = 0 ;
19106 char *kwnames[] = {
19107 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19108 };
19109
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19112 if (obj2) {
19113 {
19114 arg3 = &temp3;
19115 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19116 }
19117 }
19118 if (obj3) {
19119 {
19120 arg4 = &temp4;
19121 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19122 }
19123 }
19124 if (obj5) {
19125 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19126 if (arg6 == NULL) {
19127 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19128 }
19129 }
19130 if (obj6) {
19131 {
19132 arg7 = wxString_in_helper(obj6);
19133 if (arg7 == NULL) SWIG_fail;
19134 temp7 = True;
19135 }
19136 }
19137 {
19138 PyThreadState* __tstate = wxPyBeginAllowThreads();
19139 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19140
19141 wxPyEndAllowThreads(__tstate);
19142 if (PyErr_Occurred()) SWIG_fail;
19143 }
19144 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19145 {
19146 if (temp7)
19147 delete arg7;
19148 }
19149 return resultobj;
19150 fail:
19151 {
19152 if (temp7)
19153 delete arg7;
19154 }
19155 return NULL;
19156 }
19157
19158
19159 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19160 PyObject *resultobj;
19161 wxListView *result;
19162 char *kwnames[] = {
19163 NULL
19164 };
19165
19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19167 {
19168 PyThreadState* __tstate = wxPyBeginAllowThreads();
19169 result = (wxListView *)new wxListView();
19170
19171 wxPyEndAllowThreads(__tstate);
19172 if (PyErr_Occurred()) SWIG_fail;
19173 }
19174 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19175 return resultobj;
19176 fail:
19177 return NULL;
19178 }
19179
19180
19181 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19182 PyObject *resultobj;
19183 wxListView *arg1 = (wxListView *) 0 ;
19184 wxWindow *arg2 = (wxWindow *) 0 ;
19185 int arg3 = (int) -1 ;
19186 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19187 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19188 wxSize const &arg5_defvalue = wxDefaultSize ;
19189 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19190 long arg6 = (long) wxLC_REPORT ;
19191 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19192 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19193 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19194 wxString *arg8 = (wxString *) &arg8_defvalue ;
19195 bool result;
19196 wxPoint temp4 ;
19197 wxSize temp5 ;
19198 bool temp8 = False ;
19199 PyObject * obj0 = 0 ;
19200 PyObject * obj1 = 0 ;
19201 PyObject * obj3 = 0 ;
19202 PyObject * obj4 = 0 ;
19203 PyObject * obj6 = 0 ;
19204 PyObject * obj7 = 0 ;
19205 char *kwnames[] = {
19206 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19207 };
19208
19209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19211 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19212 if (obj3) {
19213 {
19214 arg4 = &temp4;
19215 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19216 }
19217 }
19218 if (obj4) {
19219 {
19220 arg5 = &temp5;
19221 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19222 }
19223 }
19224 if (obj6) {
19225 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19226 if (arg7 == NULL) {
19227 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19228 }
19229 }
19230 if (obj7) {
19231 {
19232 arg8 = wxString_in_helper(obj7);
19233 if (arg8 == NULL) SWIG_fail;
19234 temp8 = True;
19235 }
19236 }
19237 {
19238 PyThreadState* __tstate = wxPyBeginAllowThreads();
19239 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19240
19241 wxPyEndAllowThreads(__tstate);
19242 if (PyErr_Occurred()) SWIG_fail;
19243 }
19244 resultobj = PyInt_FromLong((long)result);
19245 {
19246 if (temp8)
19247 delete arg8;
19248 }
19249 return resultobj;
19250 fail:
19251 {
19252 if (temp8)
19253 delete arg8;
19254 }
19255 return NULL;
19256 }
19257
19258
19259 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19260 PyObject *resultobj;
19261 wxListView *arg1 = (wxListView *) 0 ;
19262 long arg2 ;
19263 bool arg3 = (bool) True ;
19264 PyObject * obj0 = 0 ;
19265 PyObject * obj2 = 0 ;
19266 char *kwnames[] = {
19267 (char *) "self",(char *) "n",(char *) "on", NULL
19268 };
19269
19270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19272 if (obj2) {
19273 arg3 = PyInt_AsLong(obj2) ? true : false;
19274 if (PyErr_Occurred()) SWIG_fail;
19275 }
19276 {
19277 PyThreadState* __tstate = wxPyBeginAllowThreads();
19278 (arg1)->Select(arg2,arg3);
19279
19280 wxPyEndAllowThreads(__tstate);
19281 if (PyErr_Occurred()) SWIG_fail;
19282 }
19283 Py_INCREF(Py_None); resultobj = Py_None;
19284 return resultobj;
19285 fail:
19286 return NULL;
19287 }
19288
19289
19290 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19291 PyObject *resultobj;
19292 wxListView *arg1 = (wxListView *) 0 ;
19293 long arg2 ;
19294 PyObject * obj0 = 0 ;
19295 char *kwnames[] = {
19296 (char *) "self",(char *) "index", NULL
19297 };
19298
19299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19301 {
19302 PyThreadState* __tstate = wxPyBeginAllowThreads();
19303 (arg1)->Focus(arg2);
19304
19305 wxPyEndAllowThreads(__tstate);
19306 if (PyErr_Occurred()) SWIG_fail;
19307 }
19308 Py_INCREF(Py_None); resultobj = Py_None;
19309 return resultobj;
19310 fail:
19311 return NULL;
19312 }
19313
19314
19315 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxListView *arg1 = (wxListView *) 0 ;
19318 long result;
19319 PyObject * obj0 = 0 ;
19320 char *kwnames[] = {
19321 (char *) "self", NULL
19322 };
19323
19324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19326 {
19327 PyThreadState* __tstate = wxPyBeginAllowThreads();
19328 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19329
19330 wxPyEndAllowThreads(__tstate);
19331 if (PyErr_Occurred()) SWIG_fail;
19332 }
19333 resultobj = PyInt_FromLong((long)result);
19334 return resultobj;
19335 fail:
19336 return NULL;
19337 }
19338
19339
19340 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19341 PyObject *resultobj;
19342 wxListView *arg1 = (wxListView *) 0 ;
19343 long arg2 ;
19344 long result;
19345 PyObject * obj0 = 0 ;
19346 char *kwnames[] = {
19347 (char *) "self",(char *) "item", NULL
19348 };
19349
19350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19355
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 resultobj = PyInt_FromLong((long)result);
19360 return resultobj;
19361 fail:
19362 return NULL;
19363 }
19364
19365
19366 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19367 PyObject *resultobj;
19368 wxListView *arg1 = (wxListView *) 0 ;
19369 long result;
19370 PyObject * obj0 = 0 ;
19371 char *kwnames[] = {
19372 (char *) "self", NULL
19373 };
19374
19375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19377 {
19378 PyThreadState* __tstate = wxPyBeginAllowThreads();
19379 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19380
19381 wxPyEndAllowThreads(__tstate);
19382 if (PyErr_Occurred()) SWIG_fail;
19383 }
19384 resultobj = PyInt_FromLong((long)result);
19385 return resultobj;
19386 fail:
19387 return NULL;
19388 }
19389
19390
19391 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19392 PyObject *resultobj;
19393 wxListView *arg1 = (wxListView *) 0 ;
19394 long arg2 ;
19395 bool result;
19396 PyObject * obj0 = 0 ;
19397 char *kwnames[] = {
19398 (char *) "self",(char *) "index", NULL
19399 };
19400
19401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19403 {
19404 PyThreadState* __tstate = wxPyBeginAllowThreads();
19405 result = (bool)(arg1)->IsSelected(arg2);
19406
19407 wxPyEndAllowThreads(__tstate);
19408 if (PyErr_Occurred()) SWIG_fail;
19409 }
19410 resultobj = PyInt_FromLong((long)result);
19411 return resultobj;
19412 fail:
19413 return NULL;
19414 }
19415
19416
19417 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19418 PyObject *resultobj;
19419 wxListView *arg1 = (wxListView *) 0 ;
19420 int arg2 ;
19421 int arg3 ;
19422 PyObject * obj0 = 0 ;
19423 char *kwnames[] = {
19424 (char *) "self",(char *) "col",(char *) "image", NULL
19425 };
19426
19427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19429 {
19430 PyThreadState* __tstate = wxPyBeginAllowThreads();
19431 (arg1)->SetColumnImage(arg2,arg3);
19432
19433 wxPyEndAllowThreads(__tstate);
19434 if (PyErr_Occurred()) SWIG_fail;
19435 }
19436 Py_INCREF(Py_None); resultobj = Py_None;
19437 return resultobj;
19438 fail:
19439 return NULL;
19440 }
19441
19442
19443 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19444 PyObject *resultobj;
19445 wxListView *arg1 = (wxListView *) 0 ;
19446 int arg2 ;
19447 PyObject * obj0 = 0 ;
19448 char *kwnames[] = {
19449 (char *) "self",(char *) "col", NULL
19450 };
19451
19452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19454 {
19455 PyThreadState* __tstate = wxPyBeginAllowThreads();
19456 (arg1)->ClearColumnImage(arg2);
19457
19458 wxPyEndAllowThreads(__tstate);
19459 if (PyErr_Occurred()) SWIG_fail;
19460 }
19461 Py_INCREF(Py_None); resultobj = Py_None;
19462 return resultobj;
19463 fail:
19464 return NULL;
19465 }
19466
19467
19468 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19469 PyObject *obj;
19470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19471 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19472 Py_INCREF(obj);
19473 return Py_BuildValue((char *)"");
19474 }
19475 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19476 PyObject *resultobj;
19477 wxTreeItemId *result;
19478 char *kwnames[] = {
19479 NULL
19480 };
19481
19482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19483 {
19484 PyThreadState* __tstate = wxPyBeginAllowThreads();
19485 result = (wxTreeItemId *)new wxTreeItemId();
19486
19487 wxPyEndAllowThreads(__tstate);
19488 if (PyErr_Occurred()) SWIG_fail;
19489 }
19490 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19491 return resultobj;
19492 fail:
19493 return NULL;
19494 }
19495
19496
19497 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19498 PyObject *resultobj;
19499 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19500 PyObject * obj0 = 0 ;
19501 char *kwnames[] = {
19502 (char *) "self", NULL
19503 };
19504
19505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19507 {
19508 PyThreadState* __tstate = wxPyBeginAllowThreads();
19509 delete arg1;
19510
19511 wxPyEndAllowThreads(__tstate);
19512 if (PyErr_Occurred()) SWIG_fail;
19513 }
19514 Py_INCREF(Py_None); resultobj = Py_None;
19515 return resultobj;
19516 fail:
19517 return NULL;
19518 }
19519
19520
19521 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19522 PyObject *resultobj;
19523 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19524 bool result;
19525 PyObject * obj0 = 0 ;
19526 char *kwnames[] = {
19527 (char *) "self", NULL
19528 };
19529
19530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19532 {
19533 PyThreadState* __tstate = wxPyBeginAllowThreads();
19534 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19535
19536 wxPyEndAllowThreads(__tstate);
19537 if (PyErr_Occurred()) SWIG_fail;
19538 }
19539 resultobj = PyInt_FromLong((long)result);
19540 return resultobj;
19541 fail:
19542 return NULL;
19543 }
19544
19545
19546 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19547 PyObject *resultobj;
19548 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19549 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19550 bool result;
19551 PyObject * obj0 = 0 ;
19552 PyObject * obj1 = 0 ;
19553 char *kwnames[] = {
19554 (char *) "self",(char *) "other", NULL
19555 };
19556
19557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19559 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19560 {
19561 PyThreadState* __tstate = wxPyBeginAllowThreads();
19562 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19563
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
19567 resultobj = PyInt_FromLong((long)result);
19568 return resultobj;
19569 fail:
19570 return NULL;
19571 }
19572
19573
19574 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19575 PyObject *resultobj;
19576 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19577 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19578 bool result;
19579 PyObject * obj0 = 0 ;
19580 PyObject * obj1 = 0 ;
19581 char *kwnames[] = {
19582 (char *) "self",(char *) "other", NULL
19583 };
19584
19585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19587 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19588 {
19589 PyThreadState* __tstate = wxPyBeginAllowThreads();
19590 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19591
19592 wxPyEndAllowThreads(__tstate);
19593 if (PyErr_Occurred()) SWIG_fail;
19594 }
19595 resultobj = PyInt_FromLong((long)result);
19596 return resultobj;
19597 fail:
19598 return NULL;
19599 }
19600
19601
19602 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19603 PyObject *resultobj;
19604 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19605 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19606 PyObject * obj0 = 0 ;
19607 PyObject * obj1 = 0 ;
19608 char *kwnames[] = {
19609 (char *) "self",(char *) "m_pItem", NULL
19610 };
19611
19612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19614 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19615 if (arg1) (arg1)->m_pItem = arg2;
19616
19617 Py_INCREF(Py_None); resultobj = Py_None;
19618 return resultobj;
19619 fail:
19620 return NULL;
19621 }
19622
19623
19624 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19625 PyObject *resultobj;
19626 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19627 wxTreeItemIdValue result;
19628 PyObject * obj0 = 0 ;
19629 char *kwnames[] = {
19630 (char *) "self", NULL
19631 };
19632
19633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
19634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19635 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
19636
19637 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
19638 return resultobj;
19639 fail:
19640 return NULL;
19641 }
19642
19643
19644 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
19645 PyObject *obj;
19646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19647 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
19648 Py_INCREF(obj);
19649 return Py_BuildValue((char *)"");
19650 }
19651 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19652 PyObject *resultobj;
19653 PyObject *arg1 = (PyObject *) NULL ;
19654 wxPyTreeItemData *result;
19655 PyObject * obj0 = 0 ;
19656 char *kwnames[] = {
19657 (char *) "obj", NULL
19658 };
19659
19660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
19661 if (obj0) {
19662 arg1 = obj0;
19663 }
19664 {
19665 PyThreadState* __tstate = wxPyBeginAllowThreads();
19666 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
19667
19668 wxPyEndAllowThreads(__tstate);
19669 if (PyErr_Occurred()) SWIG_fail;
19670 }
19671 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
19672 return resultobj;
19673 fail:
19674 return NULL;
19675 }
19676
19677
19678 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19679 PyObject *resultobj;
19680 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19681 PyObject *result;
19682 PyObject * obj0 = 0 ;
19683 char *kwnames[] = {
19684 (char *) "self", NULL
19685 };
19686
19687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
19688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19689 {
19690 PyThreadState* __tstate = wxPyBeginAllowThreads();
19691 result = (PyObject *)(arg1)->GetData();
19692
19693 wxPyEndAllowThreads(__tstate);
19694 if (PyErr_Occurred()) SWIG_fail;
19695 }
19696 resultobj = result;
19697 return resultobj;
19698 fail:
19699 return NULL;
19700 }
19701
19702
19703 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19704 PyObject *resultobj;
19705 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19706 PyObject *arg2 = (PyObject *) 0 ;
19707 PyObject * obj0 = 0 ;
19708 PyObject * obj1 = 0 ;
19709 char *kwnames[] = {
19710 (char *) "self",(char *) "obj", NULL
19711 };
19712
19713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
19714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19715 arg2 = obj1;
19716 {
19717 PyThreadState* __tstate = wxPyBeginAllowThreads();
19718 (arg1)->SetData(arg2);
19719
19720 wxPyEndAllowThreads(__tstate);
19721 if (PyErr_Occurred()) SWIG_fail;
19722 }
19723 Py_INCREF(Py_None); resultobj = Py_None;
19724 return resultobj;
19725 fail:
19726 return NULL;
19727 }
19728
19729
19730 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19731 PyObject *resultobj;
19732 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19733 wxTreeItemId *result;
19734 PyObject * obj0 = 0 ;
19735 char *kwnames[] = {
19736 (char *) "self", NULL
19737 };
19738
19739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
19740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19741 {
19742 PyThreadState* __tstate = wxPyBeginAllowThreads();
19743 {
19744 wxTreeItemId const &_result_ref = (arg1)->GetId();
19745 result = (wxTreeItemId *) &_result_ref;
19746 }
19747
19748 wxPyEndAllowThreads(__tstate);
19749 if (PyErr_Occurred()) SWIG_fail;
19750 }
19751 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
19752 return resultobj;
19753 fail:
19754 return NULL;
19755 }
19756
19757
19758 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19759 PyObject *resultobj;
19760 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19761 wxTreeItemId *arg2 = 0 ;
19762 PyObject * obj0 = 0 ;
19763 PyObject * obj1 = 0 ;
19764 char *kwnames[] = {
19765 (char *) "self",(char *) "id", NULL
19766 };
19767
19768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
19769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19770 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19771 if (arg2 == NULL) {
19772 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19773 }
19774 {
19775 PyThreadState* __tstate = wxPyBeginAllowThreads();
19776 (arg1)->SetId((wxTreeItemId const &)*arg2);
19777
19778 wxPyEndAllowThreads(__tstate);
19779 if (PyErr_Occurred()) SWIG_fail;
19780 }
19781 Py_INCREF(Py_None); resultobj = Py_None;
19782 return resultobj;
19783 fail:
19784 return NULL;
19785 }
19786
19787
19788 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
19789 PyObject *resultobj;
19790 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19791 PyObject * obj0 = 0 ;
19792 char *kwnames[] = {
19793 (char *) "self", NULL
19794 };
19795
19796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
19797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19798 {
19799 PyThreadState* __tstate = wxPyBeginAllowThreads();
19800 wxPyTreeItemData_Destroy(arg1);
19801
19802 wxPyEndAllowThreads(__tstate);
19803 if (PyErr_Occurred()) SWIG_fail;
19804 }
19805 Py_INCREF(Py_None); resultobj = Py_None;
19806 return resultobj;
19807 fail:
19808 return NULL;
19809 }
19810
19811
19812 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
19813 PyObject *obj;
19814 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19815 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
19816 Py_INCREF(obj);
19817 return Py_BuildValue((char *)"");
19818 }
19819 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
19820 PyObject *resultobj;
19821 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
19822 int arg2 = (int) 0 ;
19823 wxTreeEvent *result;
19824 char *kwnames[] = {
19825 (char *) "commandType",(char *) "id", NULL
19826 };
19827
19828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
19829 {
19830 PyThreadState* __tstate = wxPyBeginAllowThreads();
19831 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
19832
19833 wxPyEndAllowThreads(__tstate);
19834 if (PyErr_Occurred()) SWIG_fail;
19835 }
19836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
19837 return resultobj;
19838 fail:
19839 return NULL;
19840 }
19841
19842
19843 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19844 PyObject *resultobj;
19845 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19846 wxTreeItemId result;
19847 PyObject * obj0 = 0 ;
19848 char *kwnames[] = {
19849 (char *) "self", NULL
19850 };
19851
19852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
19853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19854 {
19855 PyThreadState* __tstate = wxPyBeginAllowThreads();
19856 result = ((wxTreeEvent const *)arg1)->GetItem();
19857
19858 wxPyEndAllowThreads(__tstate);
19859 if (PyErr_Occurred()) SWIG_fail;
19860 }
19861 {
19862 wxTreeItemId * resultptr;
19863 resultptr = new wxTreeItemId((wxTreeItemId &) result);
19864 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
19865 }
19866 return resultobj;
19867 fail:
19868 return NULL;
19869 }
19870
19871
19872 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19873 PyObject *resultobj;
19874 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19875 wxTreeItemId *arg2 = 0 ;
19876 PyObject * obj0 = 0 ;
19877 PyObject * obj1 = 0 ;
19878 char *kwnames[] = {
19879 (char *) "self",(char *) "item", NULL
19880 };
19881
19882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
19883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19885 if (arg2 == NULL) {
19886 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19887 }
19888 {
19889 PyThreadState* __tstate = wxPyBeginAllowThreads();
19890 (arg1)->SetItem((wxTreeItemId const &)*arg2);
19891
19892 wxPyEndAllowThreads(__tstate);
19893 if (PyErr_Occurred()) SWIG_fail;
19894 }
19895 Py_INCREF(Py_None); resultobj = Py_None;
19896 return resultobj;
19897 fail:
19898 return NULL;
19899 }
19900
19901
19902 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19903 PyObject *resultobj;
19904 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19905 wxTreeItemId result;
19906 PyObject * obj0 = 0 ;
19907 char *kwnames[] = {
19908 (char *) "self", NULL
19909 };
19910
19911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
19912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19913 {
19914 PyThreadState* __tstate = wxPyBeginAllowThreads();
19915 result = ((wxTreeEvent const *)arg1)->GetOldItem();
19916
19917 wxPyEndAllowThreads(__tstate);
19918 if (PyErr_Occurred()) SWIG_fail;
19919 }
19920 {
19921 wxTreeItemId * resultptr;
19922 resultptr = new wxTreeItemId((wxTreeItemId &) result);
19923 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
19924 }
19925 return resultobj;
19926 fail:
19927 return NULL;
19928 }
19929
19930
19931 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19932 PyObject *resultobj;
19933 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19934 wxTreeItemId *arg2 = 0 ;
19935 PyObject * obj0 = 0 ;
19936 PyObject * obj1 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self",(char *) "item", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
19942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19943 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19944 if (arg2 == NULL) {
19945 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19946 }
19947 {
19948 PyThreadState* __tstate = wxPyBeginAllowThreads();
19949 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
19950
19951 wxPyEndAllowThreads(__tstate);
19952 if (PyErr_Occurred()) SWIG_fail;
19953 }
19954 Py_INCREF(Py_None); resultobj = Py_None;
19955 return resultobj;
19956 fail:
19957 return NULL;
19958 }
19959
19960
19961 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19962 PyObject *resultobj;
19963 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19964 wxPoint result;
19965 PyObject * obj0 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
19971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19972 {
19973 PyThreadState* __tstate = wxPyBeginAllowThreads();
19974 result = ((wxTreeEvent const *)arg1)->GetPoint();
19975
19976 wxPyEndAllowThreads(__tstate);
19977 if (PyErr_Occurred()) SWIG_fail;
19978 }
19979 {
19980 wxPoint * resultptr;
19981 resultptr = new wxPoint((wxPoint &) result);
19982 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
19983 }
19984 return resultobj;
19985 fail:
19986 return NULL;
19987 }
19988
19989
19990 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
19991 PyObject *resultobj;
19992 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
19993 wxPoint *arg2 = 0 ;
19994 wxPoint temp2 ;
19995 PyObject * obj0 = 0 ;
19996 PyObject * obj1 = 0 ;
19997 char *kwnames[] = {
19998 (char *) "self",(char *) "pt", NULL
19999 };
20000
20001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20003 {
20004 arg2 = &temp2;
20005 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20006 }
20007 {
20008 PyThreadState* __tstate = wxPyBeginAllowThreads();
20009 (arg1)->SetPoint((wxPoint const &)*arg2);
20010
20011 wxPyEndAllowThreads(__tstate);
20012 if (PyErr_Occurred()) SWIG_fail;
20013 }
20014 Py_INCREF(Py_None); resultobj = Py_None;
20015 return resultobj;
20016 fail:
20017 return NULL;
20018 }
20019
20020
20021 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20022 PyObject *resultobj;
20023 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20024 wxKeyEvent *result;
20025 PyObject * obj0 = 0 ;
20026 char *kwnames[] = {
20027 (char *) "self", NULL
20028 };
20029
20030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20032 {
20033 PyThreadState* __tstate = wxPyBeginAllowThreads();
20034 {
20035 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20036 result = (wxKeyEvent *) &_result_ref;
20037 }
20038
20039 wxPyEndAllowThreads(__tstate);
20040 if (PyErr_Occurred()) SWIG_fail;
20041 }
20042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20043 return resultobj;
20044 fail:
20045 return NULL;
20046 }
20047
20048
20049 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20050 PyObject *resultobj;
20051 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20052 int result;
20053 PyObject * obj0 = 0 ;
20054 char *kwnames[] = {
20055 (char *) "self", NULL
20056 };
20057
20058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20060 {
20061 PyThreadState* __tstate = wxPyBeginAllowThreads();
20062 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20063
20064 wxPyEndAllowThreads(__tstate);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
20067 resultobj = PyInt_FromLong((long)result);
20068 return resultobj;
20069 fail:
20070 return NULL;
20071 }
20072
20073
20074 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20075 PyObject *resultobj;
20076 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20077 wxKeyEvent *arg2 = 0 ;
20078 PyObject * obj0 = 0 ;
20079 PyObject * obj1 = 0 ;
20080 char *kwnames[] = {
20081 (char *) "self",(char *) "evt", NULL
20082 };
20083
20084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20086 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20087 if (arg2 == NULL) {
20088 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20089 }
20090 {
20091 PyThreadState* __tstate = wxPyBeginAllowThreads();
20092 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20093
20094 wxPyEndAllowThreads(__tstate);
20095 if (PyErr_Occurred()) SWIG_fail;
20096 }
20097 Py_INCREF(Py_None); resultobj = Py_None;
20098 return resultobj;
20099 fail:
20100 return NULL;
20101 }
20102
20103
20104 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20105 PyObject *resultobj;
20106 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20107 wxString *result;
20108 PyObject * obj0 = 0 ;
20109 char *kwnames[] = {
20110 (char *) "self", NULL
20111 };
20112
20113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20115 {
20116 PyThreadState* __tstate = wxPyBeginAllowThreads();
20117 {
20118 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20119 result = (wxString *) &_result_ref;
20120 }
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 {
20126 #if wxUSE_UNICODE
20127 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20128 #else
20129 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20130 #endif
20131 }
20132 return resultobj;
20133 fail:
20134 return NULL;
20135 }
20136
20137
20138 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20139 PyObject *resultobj;
20140 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20141 wxString *arg2 = 0 ;
20142 bool temp2 = False ;
20143 PyObject * obj0 = 0 ;
20144 PyObject * obj1 = 0 ;
20145 char *kwnames[] = {
20146 (char *) "self",(char *) "label", NULL
20147 };
20148
20149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20151 {
20152 arg2 = wxString_in_helper(obj1);
20153 if (arg2 == NULL) SWIG_fail;
20154 temp2 = True;
20155 }
20156 {
20157 PyThreadState* __tstate = wxPyBeginAllowThreads();
20158 (arg1)->SetLabel((wxString const &)*arg2);
20159
20160 wxPyEndAllowThreads(__tstate);
20161 if (PyErr_Occurred()) SWIG_fail;
20162 }
20163 Py_INCREF(Py_None); resultobj = Py_None;
20164 {
20165 if (temp2)
20166 delete arg2;
20167 }
20168 return resultobj;
20169 fail:
20170 {
20171 if (temp2)
20172 delete arg2;
20173 }
20174 return NULL;
20175 }
20176
20177
20178 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20179 PyObject *resultobj;
20180 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20181 bool result;
20182 PyObject * obj0 = 0 ;
20183 char *kwnames[] = {
20184 (char *) "self", NULL
20185 };
20186
20187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20189 {
20190 PyThreadState* __tstate = wxPyBeginAllowThreads();
20191 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20192
20193 wxPyEndAllowThreads(__tstate);
20194 if (PyErr_Occurred()) SWIG_fail;
20195 }
20196 resultobj = PyInt_FromLong((long)result);
20197 return resultobj;
20198 fail:
20199 return NULL;
20200 }
20201
20202
20203 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20204 PyObject *resultobj;
20205 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20206 bool arg2 ;
20207 PyObject * obj0 = 0 ;
20208 PyObject * obj1 = 0 ;
20209 char *kwnames[] = {
20210 (char *) "self",(char *) "editCancelled", NULL
20211 };
20212
20213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20215 arg2 = PyInt_AsLong(obj1) ? true : false;
20216 if (PyErr_Occurred()) SWIG_fail;
20217 {
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 (arg1)->SetEditCanceled(arg2);
20220
20221 wxPyEndAllowThreads(__tstate);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
20224 Py_INCREF(Py_None); resultobj = Py_None;
20225 return resultobj;
20226 fail:
20227 return NULL;
20228 }
20229
20230
20231 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
20232 PyObject *resultobj;
20233 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20234 wxString *arg2 = 0 ;
20235 bool temp2 = False ;
20236 PyObject * obj0 = 0 ;
20237 PyObject * obj1 = 0 ;
20238 char *kwnames[] = {
20239 (char *) "self",(char *) "toolTip", NULL
20240 };
20241
20242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
20243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20244 {
20245 arg2 = wxString_in_helper(obj1);
20246 if (arg2 == NULL) SWIG_fail;
20247 temp2 = True;
20248 }
20249 {
20250 PyThreadState* __tstate = wxPyBeginAllowThreads();
20251 (arg1)->SetToolTip((wxString const &)*arg2);
20252
20253 wxPyEndAllowThreads(__tstate);
20254 if (PyErr_Occurred()) SWIG_fail;
20255 }
20256 Py_INCREF(Py_None); resultobj = Py_None;
20257 {
20258 if (temp2)
20259 delete arg2;
20260 }
20261 return resultobj;
20262 fail:
20263 {
20264 if (temp2)
20265 delete arg2;
20266 }
20267 return NULL;
20268 }
20269
20270
20271 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20272 PyObject *obj;
20273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20274 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20275 Py_INCREF(obj);
20276 return Py_BuildValue((char *)"");
20277 }
20278 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20279 PyObject *resultobj;
20280 wxWindow *arg1 = (wxWindow *) 0 ;
20281 int arg2 = (int) -1 ;
20282 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20283 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20284 wxSize const &arg4_defvalue = wxDefaultSize ;
20285 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20286 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20287 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20288 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20289 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20290 wxString *arg7 = (wxString *) &arg7_defvalue ;
20291 wxPyTreeCtrl *result;
20292 wxPoint temp3 ;
20293 wxSize temp4 ;
20294 bool temp7 = False ;
20295 PyObject * obj0 = 0 ;
20296 PyObject * obj2 = 0 ;
20297 PyObject * obj3 = 0 ;
20298 PyObject * obj5 = 0 ;
20299 PyObject * obj6 = 0 ;
20300 char *kwnames[] = {
20301 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20302 };
20303
20304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20306 if (obj2) {
20307 {
20308 arg3 = &temp3;
20309 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20310 }
20311 }
20312 if (obj3) {
20313 {
20314 arg4 = &temp4;
20315 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20316 }
20317 }
20318 if (obj5) {
20319 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20320 if (arg6 == NULL) {
20321 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20322 }
20323 }
20324 if (obj6) {
20325 {
20326 arg7 = wxString_in_helper(obj6);
20327 if (arg7 == NULL) SWIG_fail;
20328 temp7 = True;
20329 }
20330 }
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20334
20335 wxPyEndAllowThreads(__tstate);
20336 if (PyErr_Occurred()) SWIG_fail;
20337 }
20338 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20339 {
20340 if (temp7)
20341 delete arg7;
20342 }
20343 return resultobj;
20344 fail:
20345 {
20346 if (temp7)
20347 delete arg7;
20348 }
20349 return NULL;
20350 }
20351
20352
20353 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20354 PyObject *resultobj;
20355 wxPyTreeCtrl *result;
20356 char *kwnames[] = {
20357 NULL
20358 };
20359
20360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20361 {
20362 PyThreadState* __tstate = wxPyBeginAllowThreads();
20363 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20364
20365 wxPyEndAllowThreads(__tstate);
20366 if (PyErr_Occurred()) SWIG_fail;
20367 }
20368 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20369 return resultobj;
20370 fail:
20371 return NULL;
20372 }
20373
20374
20375 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20376 PyObject *resultobj;
20377 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20378 wxWindow *arg2 = (wxWindow *) 0 ;
20379 int arg3 = (int) -1 ;
20380 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20381 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20382 wxSize const &arg5_defvalue = wxDefaultSize ;
20383 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20384 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20385 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20386 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20387 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20388 wxString *arg8 = (wxString *) &arg8_defvalue ;
20389 bool result;
20390 wxPoint temp4 ;
20391 wxSize temp5 ;
20392 bool temp8 = False ;
20393 PyObject * obj0 = 0 ;
20394 PyObject * obj1 = 0 ;
20395 PyObject * obj3 = 0 ;
20396 PyObject * obj4 = 0 ;
20397 PyObject * obj6 = 0 ;
20398 PyObject * obj7 = 0 ;
20399 char *kwnames[] = {
20400 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20401 };
20402
20403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20405 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20406 if (obj3) {
20407 {
20408 arg4 = &temp4;
20409 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20410 }
20411 }
20412 if (obj4) {
20413 {
20414 arg5 = &temp5;
20415 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20416 }
20417 }
20418 if (obj6) {
20419 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20420 if (arg7 == NULL) {
20421 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20422 }
20423 }
20424 if (obj7) {
20425 {
20426 arg8 = wxString_in_helper(obj7);
20427 if (arg8 == NULL) SWIG_fail;
20428 temp8 = True;
20429 }
20430 }
20431 {
20432 PyThreadState* __tstate = wxPyBeginAllowThreads();
20433 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20434
20435 wxPyEndAllowThreads(__tstate);
20436 if (PyErr_Occurred()) SWIG_fail;
20437 }
20438 resultobj = PyInt_FromLong((long)result);
20439 {
20440 if (temp8)
20441 delete arg8;
20442 }
20443 return resultobj;
20444 fail:
20445 {
20446 if (temp8)
20447 delete arg8;
20448 }
20449 return NULL;
20450 }
20451
20452
20453 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20454 PyObject *resultobj;
20455 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20456 PyObject *arg2 = (PyObject *) 0 ;
20457 PyObject *arg3 = (PyObject *) 0 ;
20458 PyObject * obj0 = 0 ;
20459 PyObject * obj1 = 0 ;
20460 PyObject * obj2 = 0 ;
20461 char *kwnames[] = {
20462 (char *) "self",(char *) "self",(char *) "_class", NULL
20463 };
20464
20465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20467 arg2 = obj1;
20468 arg3 = obj2;
20469 {
20470 PyThreadState* __tstate = wxPyBeginAllowThreads();
20471 (arg1)->_setCallbackInfo(arg2,arg3);
20472
20473 wxPyEndAllowThreads(__tstate);
20474 if (PyErr_Occurred()) SWIG_fail;
20475 }
20476 Py_INCREF(Py_None); resultobj = Py_None;
20477 return resultobj;
20478 fail:
20479 return NULL;
20480 }
20481
20482
20483 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20484 PyObject *resultobj;
20485 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20486 size_t result;
20487 PyObject * obj0 = 0 ;
20488 char *kwnames[] = {
20489 (char *) "self", NULL
20490 };
20491
20492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20494 {
20495 PyThreadState* __tstate = wxPyBeginAllowThreads();
20496 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20497
20498 wxPyEndAllowThreads(__tstate);
20499 if (PyErr_Occurred()) SWIG_fail;
20500 }
20501 resultobj = PyInt_FromLong((long)result);
20502 return resultobj;
20503 fail:
20504 return NULL;
20505 }
20506
20507
20508 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20509 PyObject *resultobj;
20510 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20511 unsigned int result;
20512 PyObject * obj0 = 0 ;
20513 char *kwnames[] = {
20514 (char *) "self", NULL
20515 };
20516
20517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20519 {
20520 PyThreadState* __tstate = wxPyBeginAllowThreads();
20521 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20522
20523 wxPyEndAllowThreads(__tstate);
20524 if (PyErr_Occurred()) SWIG_fail;
20525 }
20526 resultobj = PyInt_FromLong((long)result);
20527 return resultobj;
20528 fail:
20529 return NULL;
20530 }
20531
20532
20533 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20534 PyObject *resultobj;
20535 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20536 unsigned int arg2 ;
20537 PyObject * obj0 = 0 ;
20538 PyObject * obj1 = 0 ;
20539 char *kwnames[] = {
20540 (char *) "self",(char *) "indent", NULL
20541 };
20542
20543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20545 arg2 = (unsigned int) PyInt_AsLong(obj1);
20546 if (PyErr_Occurred()) SWIG_fail;
20547 {
20548 PyThreadState* __tstate = wxPyBeginAllowThreads();
20549 (arg1)->SetIndent(arg2);
20550
20551 wxPyEndAllowThreads(__tstate);
20552 if (PyErr_Occurred()) SWIG_fail;
20553 }
20554 Py_INCREF(Py_None); resultobj = Py_None;
20555 return resultobj;
20556 fail:
20557 return NULL;
20558 }
20559
20560
20561 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20562 PyObject *resultobj;
20563 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20564 unsigned int result;
20565 PyObject * obj0 = 0 ;
20566 char *kwnames[] = {
20567 (char *) "self", NULL
20568 };
20569
20570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20572 {
20573 PyThreadState* __tstate = wxPyBeginAllowThreads();
20574 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20575
20576 wxPyEndAllowThreads(__tstate);
20577 if (PyErr_Occurred()) SWIG_fail;
20578 }
20579 resultobj = PyInt_FromLong((long)result);
20580 return resultobj;
20581 fail:
20582 return NULL;
20583 }
20584
20585
20586 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20587 PyObject *resultobj;
20588 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20589 unsigned int arg2 ;
20590 PyObject * obj0 = 0 ;
20591 PyObject * obj1 = 0 ;
20592 char *kwnames[] = {
20593 (char *) "self",(char *) "spacing", NULL
20594 };
20595
20596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20598 arg2 = (unsigned int) PyInt_AsLong(obj1);
20599 if (PyErr_Occurred()) SWIG_fail;
20600 {
20601 PyThreadState* __tstate = wxPyBeginAllowThreads();
20602 (arg1)->SetSpacing(arg2);
20603
20604 wxPyEndAllowThreads(__tstate);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
20607 Py_INCREF(Py_None); resultobj = Py_None;
20608 return resultobj;
20609 fail:
20610 return NULL;
20611 }
20612
20613
20614 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20615 PyObject *resultobj;
20616 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20617 wxImageList *result;
20618 PyObject * obj0 = 0 ;
20619 char *kwnames[] = {
20620 (char *) "self", NULL
20621 };
20622
20623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20625 {
20626 PyThreadState* __tstate = wxPyBeginAllowThreads();
20627 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 {
20633 resultobj = wxPyMake_wxObject(result);
20634 }
20635 return resultobj;
20636 fail:
20637 return NULL;
20638 }
20639
20640
20641 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20642 PyObject *resultobj;
20643 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20644 wxImageList *result;
20645 PyObject * obj0 = 0 ;
20646 char *kwnames[] = {
20647 (char *) "self", NULL
20648 };
20649
20650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20652 {
20653 PyThreadState* __tstate = wxPyBeginAllowThreads();
20654 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
20655
20656 wxPyEndAllowThreads(__tstate);
20657 if (PyErr_Occurred()) SWIG_fail;
20658 }
20659 {
20660 resultobj = wxPyMake_wxObject(result);
20661 }
20662 return resultobj;
20663 fail:
20664 return NULL;
20665 }
20666
20667
20668 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20669 PyObject *resultobj;
20670 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20671 wxImageList *arg2 = (wxImageList *) 0 ;
20672 PyObject * obj0 = 0 ;
20673 PyObject * obj1 = 0 ;
20674 char *kwnames[] = {
20675 (char *) "self",(char *) "imageList", NULL
20676 };
20677
20678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
20679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20680 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20681 {
20682 PyThreadState* __tstate = wxPyBeginAllowThreads();
20683 (arg1)->SetImageList(arg2);
20684
20685 wxPyEndAllowThreads(__tstate);
20686 if (PyErr_Occurred()) SWIG_fail;
20687 }
20688 Py_INCREF(Py_None); resultobj = Py_None;
20689 return resultobj;
20690 fail:
20691 return NULL;
20692 }
20693
20694
20695 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20696 PyObject *resultobj;
20697 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20698 wxImageList *arg2 = (wxImageList *) 0 ;
20699 PyObject * obj0 = 0 ;
20700 PyObject * obj1 = 0 ;
20701 char *kwnames[] = {
20702 (char *) "self",(char *) "imageList", NULL
20703 };
20704
20705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
20706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20708 {
20709 PyThreadState* __tstate = wxPyBeginAllowThreads();
20710 (arg1)->SetStateImageList(arg2);
20711
20712 wxPyEndAllowThreads(__tstate);
20713 if (PyErr_Occurred()) SWIG_fail;
20714 }
20715 Py_INCREF(Py_None); resultobj = Py_None;
20716 return resultobj;
20717 fail:
20718 return NULL;
20719 }
20720
20721
20722 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20723 PyObject *resultobj;
20724 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20725 wxImageList *arg2 = (wxImageList *) 0 ;
20726 PyObject * obj0 = 0 ;
20727 PyObject * obj1 = 0 ;
20728 char *kwnames[] = {
20729 (char *) "self",(char *) "imageList", NULL
20730 };
20731
20732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
20733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20734 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20735 {
20736 PyThreadState* __tstate = wxPyBeginAllowThreads();
20737 (arg1)->AssignImageList(arg2);
20738
20739 wxPyEndAllowThreads(__tstate);
20740 if (PyErr_Occurred()) SWIG_fail;
20741 }
20742 Py_INCREF(Py_None); resultobj = Py_None;
20743 return resultobj;
20744 fail:
20745 return NULL;
20746 }
20747
20748
20749 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20750 PyObject *resultobj;
20751 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20752 wxImageList *arg2 = (wxImageList *) 0 ;
20753 PyObject * obj0 = 0 ;
20754 PyObject * obj1 = 0 ;
20755 char *kwnames[] = {
20756 (char *) "self",(char *) "imageList", NULL
20757 };
20758
20759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
20760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20761 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20762 {
20763 PyThreadState* __tstate = wxPyBeginAllowThreads();
20764 (arg1)->AssignStateImageList(arg2);
20765
20766 wxPyEndAllowThreads(__tstate);
20767 if (PyErr_Occurred()) SWIG_fail;
20768 }
20769 Py_INCREF(Py_None); resultobj = Py_None;
20770 return resultobj;
20771 fail:
20772 return NULL;
20773 }
20774
20775
20776 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20777 PyObject *resultobj;
20778 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20779 wxTreeItemId *arg2 = 0 ;
20780 wxString result;
20781 PyObject * obj0 = 0 ;
20782 PyObject * obj1 = 0 ;
20783 char *kwnames[] = {
20784 (char *) "self",(char *) "item", NULL
20785 };
20786
20787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20789 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20790 if (arg2 == NULL) {
20791 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20792 }
20793 {
20794 PyThreadState* __tstate = wxPyBeginAllowThreads();
20795 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
20796
20797 wxPyEndAllowThreads(__tstate);
20798 if (PyErr_Occurred()) SWIG_fail;
20799 }
20800 {
20801 #if wxUSE_UNICODE
20802 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20803 #else
20804 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20805 #endif
20806 }
20807 return resultobj;
20808 fail:
20809 return NULL;
20810 }
20811
20812
20813 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20814 PyObject *resultobj;
20815 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20816 wxTreeItemId *arg2 = 0 ;
20817 int arg3 = (int) wxTreeItemIcon_Normal ;
20818 int result;
20819 PyObject * obj0 = 0 ;
20820 PyObject * obj1 = 0 ;
20821 char *kwnames[] = {
20822 (char *) "self",(char *) "item",(char *) "which", NULL
20823 };
20824
20825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
20826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20827 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20828 if (arg2 == NULL) {
20829 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20830 }
20831 {
20832 PyThreadState* __tstate = wxPyBeginAllowThreads();
20833 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
20834
20835 wxPyEndAllowThreads(__tstate);
20836 if (PyErr_Occurred()) SWIG_fail;
20837 }
20838 resultobj = PyInt_FromLong((long)result);
20839 return resultobj;
20840 fail:
20841 return NULL;
20842 }
20843
20844
20845 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20846 PyObject *resultobj;
20847 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20848 wxTreeItemId *arg2 = 0 ;
20849 wxPyTreeItemData *result;
20850 PyObject * obj0 = 0 ;
20851 PyObject * obj1 = 0 ;
20852 char *kwnames[] = {
20853 (char *) "self",(char *) "item", NULL
20854 };
20855
20856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
20857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20858 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20859 if (arg2 == NULL) {
20860 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20861 }
20862 {
20863 PyThreadState* __tstate = wxPyBeginAllowThreads();
20864 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
20865
20866 wxPyEndAllowThreads(__tstate);
20867 if (PyErr_Occurred()) SWIG_fail;
20868 }
20869 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
20870 return resultobj;
20871 fail:
20872 return NULL;
20873 }
20874
20875
20876 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
20877 PyObject *resultobj;
20878 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20879 wxTreeItemId *arg2 = 0 ;
20880 PyObject *result;
20881 PyObject * obj0 = 0 ;
20882 PyObject * obj1 = 0 ;
20883 char *kwnames[] = {
20884 (char *) "self",(char *) "item", NULL
20885 };
20886
20887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
20888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20889 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20890 if (arg2 == NULL) {
20891 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20892 }
20893 {
20894 PyThreadState* __tstate = wxPyBeginAllowThreads();
20895 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
20896
20897 wxPyEndAllowThreads(__tstate);
20898 if (PyErr_Occurred()) SWIG_fail;
20899 }
20900 resultobj = result;
20901 return resultobj;
20902 fail:
20903 return NULL;
20904 }
20905
20906
20907 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20908 PyObject *resultobj;
20909 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20910 wxTreeItemId *arg2 = 0 ;
20911 wxColour result;
20912 PyObject * obj0 = 0 ;
20913 PyObject * obj1 = 0 ;
20914 char *kwnames[] = {
20915 (char *) "self",(char *) "item", NULL
20916 };
20917
20918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
20919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20920 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20921 if (arg2 == NULL) {
20922 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20923 }
20924 {
20925 PyThreadState* __tstate = wxPyBeginAllowThreads();
20926 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
20927
20928 wxPyEndAllowThreads(__tstate);
20929 if (PyErr_Occurred()) SWIG_fail;
20930 }
20931 {
20932 wxColour * resultptr;
20933 resultptr = new wxColour((wxColour &) result);
20934 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20935 }
20936 return resultobj;
20937 fail:
20938 return NULL;
20939 }
20940
20941
20942 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
20943 PyObject *resultobj;
20944 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20945 wxTreeItemId *arg2 = 0 ;
20946 wxColour result;
20947 PyObject * obj0 = 0 ;
20948 PyObject * obj1 = 0 ;
20949 char *kwnames[] = {
20950 (char *) "self",(char *) "item", NULL
20951 };
20952
20953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
20954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20955 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20956 if (arg2 == NULL) {
20957 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20958 }
20959 {
20960 PyThreadState* __tstate = wxPyBeginAllowThreads();
20961 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
20962
20963 wxPyEndAllowThreads(__tstate);
20964 if (PyErr_Occurred()) SWIG_fail;
20965 }
20966 {
20967 wxColour * resultptr;
20968 resultptr = new wxColour((wxColour &) result);
20969 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
20970 }
20971 return resultobj;
20972 fail:
20973 return NULL;
20974 }
20975
20976
20977 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
20978 PyObject *resultobj;
20979 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20980 wxTreeItemId *arg2 = 0 ;
20981 wxFont result;
20982 PyObject * obj0 = 0 ;
20983 PyObject * obj1 = 0 ;
20984 char *kwnames[] = {
20985 (char *) "self",(char *) "item", NULL
20986 };
20987
20988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
20989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20990 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20991 if (arg2 == NULL) {
20992 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20993 }
20994 {
20995 PyThreadState* __tstate = wxPyBeginAllowThreads();
20996 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
20997
20998 wxPyEndAllowThreads(__tstate);
20999 if (PyErr_Occurred()) SWIG_fail;
21000 }
21001 {
21002 wxFont * resultptr;
21003 resultptr = new wxFont((wxFont &) result);
21004 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21005 }
21006 return resultobj;
21007 fail:
21008 return NULL;
21009 }
21010
21011
21012 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21013 PyObject *resultobj;
21014 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21015 wxTreeItemId *arg2 = 0 ;
21016 wxString *arg3 = 0 ;
21017 bool temp3 = False ;
21018 PyObject * obj0 = 0 ;
21019 PyObject * obj1 = 0 ;
21020 PyObject * obj2 = 0 ;
21021 char *kwnames[] = {
21022 (char *) "self",(char *) "item",(char *) "text", NULL
21023 };
21024
21025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21027 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21028 if (arg2 == NULL) {
21029 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21030 }
21031 {
21032 arg3 = wxString_in_helper(obj2);
21033 if (arg3 == NULL) SWIG_fail;
21034 temp3 = True;
21035 }
21036 {
21037 PyThreadState* __tstate = wxPyBeginAllowThreads();
21038 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21039
21040 wxPyEndAllowThreads(__tstate);
21041 if (PyErr_Occurred()) SWIG_fail;
21042 }
21043 Py_INCREF(Py_None); resultobj = Py_None;
21044 {
21045 if (temp3)
21046 delete arg3;
21047 }
21048 return resultobj;
21049 fail:
21050 {
21051 if (temp3)
21052 delete arg3;
21053 }
21054 return NULL;
21055 }
21056
21057
21058 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21059 PyObject *resultobj;
21060 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21061 wxTreeItemId *arg2 = 0 ;
21062 int arg3 ;
21063 int arg4 = (int) wxTreeItemIcon_Normal ;
21064 PyObject * obj0 = 0 ;
21065 PyObject * obj1 = 0 ;
21066 char *kwnames[] = {
21067 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21068 };
21069
21070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21072 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21073 if (arg2 == NULL) {
21074 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21075 }
21076 {
21077 PyThreadState* __tstate = wxPyBeginAllowThreads();
21078 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21079
21080 wxPyEndAllowThreads(__tstate);
21081 if (PyErr_Occurred()) SWIG_fail;
21082 }
21083 Py_INCREF(Py_None); resultobj = Py_None;
21084 return resultobj;
21085 fail:
21086 return NULL;
21087 }
21088
21089
21090 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21091 PyObject *resultobj;
21092 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21093 wxTreeItemId *arg2 = 0 ;
21094 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21095 PyObject * obj0 = 0 ;
21096 PyObject * obj1 = 0 ;
21097 PyObject * obj2 = 0 ;
21098 char *kwnames[] = {
21099 (char *) "self",(char *) "item",(char *) "data", NULL
21100 };
21101
21102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21104 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21105 if (arg2 == NULL) {
21106 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21107 }
21108 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21109 {
21110 PyThreadState* __tstate = wxPyBeginAllowThreads();
21111 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21112
21113 wxPyEndAllowThreads(__tstate);
21114 if (PyErr_Occurred()) SWIG_fail;
21115 }
21116 Py_INCREF(Py_None); resultobj = Py_None;
21117 return resultobj;
21118 fail:
21119 return NULL;
21120 }
21121
21122
21123 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21124 PyObject *resultobj;
21125 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21126 wxTreeItemId *arg2 = 0 ;
21127 PyObject *arg3 = (PyObject *) 0 ;
21128 PyObject * obj0 = 0 ;
21129 PyObject * obj1 = 0 ;
21130 PyObject * obj2 = 0 ;
21131 char *kwnames[] = {
21132 (char *) "self",(char *) "item",(char *) "obj", NULL
21133 };
21134
21135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21137 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21138 if (arg2 == NULL) {
21139 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21140 }
21141 arg3 = obj2;
21142 {
21143 PyThreadState* __tstate = wxPyBeginAllowThreads();
21144 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21145
21146 wxPyEndAllowThreads(__tstate);
21147 if (PyErr_Occurred()) SWIG_fail;
21148 }
21149 Py_INCREF(Py_None); resultobj = Py_None;
21150 return resultobj;
21151 fail:
21152 return NULL;
21153 }
21154
21155
21156 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21157 PyObject *resultobj;
21158 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21159 wxTreeItemId *arg2 = 0 ;
21160 bool arg3 = (bool) True ;
21161 PyObject * obj0 = 0 ;
21162 PyObject * obj1 = 0 ;
21163 PyObject * obj2 = 0 ;
21164 char *kwnames[] = {
21165 (char *) "self",(char *) "item",(char *) "has", NULL
21166 };
21167
21168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21171 if (arg2 == NULL) {
21172 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21173 }
21174 if (obj2) {
21175 arg3 = PyInt_AsLong(obj2) ? true : false;
21176 if (PyErr_Occurred()) SWIG_fail;
21177 }
21178 {
21179 PyThreadState* __tstate = wxPyBeginAllowThreads();
21180 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21181
21182 wxPyEndAllowThreads(__tstate);
21183 if (PyErr_Occurred()) SWIG_fail;
21184 }
21185 Py_INCREF(Py_None); resultobj = Py_None;
21186 return resultobj;
21187 fail:
21188 return NULL;
21189 }
21190
21191
21192 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21193 PyObject *resultobj;
21194 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21195 wxTreeItemId *arg2 = 0 ;
21196 bool arg3 = (bool) True ;
21197 PyObject * obj0 = 0 ;
21198 PyObject * obj1 = 0 ;
21199 PyObject * obj2 = 0 ;
21200 char *kwnames[] = {
21201 (char *) "self",(char *) "item",(char *) "bold", NULL
21202 };
21203
21204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21207 if (arg2 == NULL) {
21208 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21209 }
21210 if (obj2) {
21211 arg3 = PyInt_AsLong(obj2) ? true : false;
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 {
21215 PyThreadState* __tstate = wxPyBeginAllowThreads();
21216 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21217
21218 wxPyEndAllowThreads(__tstate);
21219 if (PyErr_Occurred()) SWIG_fail;
21220 }
21221 Py_INCREF(Py_None); resultobj = Py_None;
21222 return resultobj;
21223 fail:
21224 return NULL;
21225 }
21226
21227
21228 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21229 PyObject *resultobj;
21230 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21231 wxTreeItemId *arg2 = 0 ;
21232 wxColour *arg3 = 0 ;
21233 wxColour temp3 ;
21234 PyObject * obj0 = 0 ;
21235 PyObject * obj1 = 0 ;
21236 PyObject * obj2 = 0 ;
21237 char *kwnames[] = {
21238 (char *) "self",(char *) "item",(char *) "col", NULL
21239 };
21240
21241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21244 if (arg2 == NULL) {
21245 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21246 }
21247 {
21248 arg3 = &temp3;
21249 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21250 }
21251 {
21252 PyThreadState* __tstate = wxPyBeginAllowThreads();
21253 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21254
21255 wxPyEndAllowThreads(__tstate);
21256 if (PyErr_Occurred()) SWIG_fail;
21257 }
21258 Py_INCREF(Py_None); resultobj = Py_None;
21259 return resultobj;
21260 fail:
21261 return NULL;
21262 }
21263
21264
21265 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21266 PyObject *resultobj;
21267 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21268 wxTreeItemId *arg2 = 0 ;
21269 wxColour *arg3 = 0 ;
21270 wxColour temp3 ;
21271 PyObject * obj0 = 0 ;
21272 PyObject * obj1 = 0 ;
21273 PyObject * obj2 = 0 ;
21274 char *kwnames[] = {
21275 (char *) "self",(char *) "item",(char *) "col", NULL
21276 };
21277
21278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21281 if (arg2 == NULL) {
21282 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21283 }
21284 {
21285 arg3 = &temp3;
21286 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21287 }
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 Py_INCREF(Py_None); resultobj = Py_None;
21296 return resultobj;
21297 fail:
21298 return NULL;
21299 }
21300
21301
21302 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21303 PyObject *resultobj;
21304 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21305 wxTreeItemId *arg2 = 0 ;
21306 wxFont *arg3 = 0 ;
21307 PyObject * obj0 = 0 ;
21308 PyObject * obj1 = 0 ;
21309 PyObject * obj2 = 0 ;
21310 char *kwnames[] = {
21311 (char *) "self",(char *) "item",(char *) "font", NULL
21312 };
21313
21314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21316 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21317 if (arg2 == NULL) {
21318 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21319 }
21320 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21321 if (arg3 == NULL) {
21322 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21323 }
21324 {
21325 PyThreadState* __tstate = wxPyBeginAllowThreads();
21326 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21327
21328 wxPyEndAllowThreads(__tstate);
21329 if (PyErr_Occurred()) SWIG_fail;
21330 }
21331 Py_INCREF(Py_None); resultobj = Py_None;
21332 return resultobj;
21333 fail:
21334 return NULL;
21335 }
21336
21337
21338 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21339 PyObject *resultobj;
21340 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21341 wxTreeItemId *arg2 = 0 ;
21342 bool result;
21343 PyObject * obj0 = 0 ;
21344 PyObject * obj1 = 0 ;
21345 char *kwnames[] = {
21346 (char *) "self",(char *) "item", NULL
21347 };
21348
21349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21351 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21352 if (arg2 == NULL) {
21353 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21354 }
21355 {
21356 PyThreadState* __tstate = wxPyBeginAllowThreads();
21357 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21358
21359 wxPyEndAllowThreads(__tstate);
21360 if (PyErr_Occurred()) SWIG_fail;
21361 }
21362 resultobj = PyInt_FromLong((long)result);
21363 return resultobj;
21364 fail:
21365 return NULL;
21366 }
21367
21368
21369 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21370 PyObject *resultobj;
21371 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21372 wxTreeItemId *arg2 = 0 ;
21373 bool result;
21374 PyObject * obj0 = 0 ;
21375 PyObject * obj1 = 0 ;
21376 char *kwnames[] = {
21377 (char *) "self",(char *) "item", NULL
21378 };
21379
21380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21382 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21383 if (arg2 == NULL) {
21384 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21385 }
21386 {
21387 PyThreadState* __tstate = wxPyBeginAllowThreads();
21388 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21389
21390 wxPyEndAllowThreads(__tstate);
21391 if (PyErr_Occurred()) SWIG_fail;
21392 }
21393 resultobj = PyInt_FromLong((long)result);
21394 return resultobj;
21395 fail:
21396 return NULL;
21397 }
21398
21399
21400 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21401 PyObject *resultobj;
21402 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21403 wxTreeItemId *arg2 = 0 ;
21404 bool result;
21405 PyObject * obj0 = 0 ;
21406 PyObject * obj1 = 0 ;
21407 char *kwnames[] = {
21408 (char *) "self",(char *) "item", NULL
21409 };
21410
21411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21413 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21414 if (arg2 == NULL) {
21415 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21416 }
21417 {
21418 PyThreadState* __tstate = wxPyBeginAllowThreads();
21419 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21420
21421 wxPyEndAllowThreads(__tstate);
21422 if (PyErr_Occurred()) SWIG_fail;
21423 }
21424 resultobj = PyInt_FromLong((long)result);
21425 return resultobj;
21426 fail:
21427 return NULL;
21428 }
21429
21430
21431 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21432 PyObject *resultobj;
21433 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21434 wxTreeItemId *arg2 = 0 ;
21435 bool result;
21436 PyObject * obj0 = 0 ;
21437 PyObject * obj1 = 0 ;
21438 char *kwnames[] = {
21439 (char *) "self",(char *) "item", NULL
21440 };
21441
21442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21444 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21445 if (arg2 == NULL) {
21446 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21447 }
21448 {
21449 PyThreadState* __tstate = wxPyBeginAllowThreads();
21450 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21451
21452 wxPyEndAllowThreads(__tstate);
21453 if (PyErr_Occurred()) SWIG_fail;
21454 }
21455 resultobj = PyInt_FromLong((long)result);
21456 return resultobj;
21457 fail:
21458 return NULL;
21459 }
21460
21461
21462 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21463 PyObject *resultobj;
21464 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21465 wxTreeItemId *arg2 = 0 ;
21466 bool result;
21467 PyObject * obj0 = 0 ;
21468 PyObject * obj1 = 0 ;
21469 char *kwnames[] = {
21470 (char *) "self",(char *) "item", NULL
21471 };
21472
21473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21475 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21476 if (arg2 == NULL) {
21477 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21478 }
21479 {
21480 PyThreadState* __tstate = wxPyBeginAllowThreads();
21481 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21482
21483 wxPyEndAllowThreads(__tstate);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 }
21486 resultobj = PyInt_FromLong((long)result);
21487 return resultobj;
21488 fail:
21489 return NULL;
21490 }
21491
21492
21493 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21494 PyObject *resultobj;
21495 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21496 wxTreeItemId *arg2 = 0 ;
21497 bool arg3 = (bool) True ;
21498 size_t result;
21499 PyObject * obj0 = 0 ;
21500 PyObject * obj1 = 0 ;
21501 PyObject * obj2 = 0 ;
21502 char *kwnames[] = {
21503 (char *) "self",(char *) "item",(char *) "recursively", NULL
21504 };
21505
21506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21508 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21509 if (arg2 == NULL) {
21510 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21511 }
21512 if (obj2) {
21513 arg3 = PyInt_AsLong(obj2) ? true : false;
21514 if (PyErr_Occurred()) SWIG_fail;
21515 }
21516 {
21517 PyThreadState* __tstate = wxPyBeginAllowThreads();
21518 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21519
21520 wxPyEndAllowThreads(__tstate);
21521 if (PyErr_Occurred()) SWIG_fail;
21522 }
21523 resultobj = PyInt_FromLong((long)result);
21524 return resultobj;
21525 fail:
21526 return NULL;
21527 }
21528
21529
21530 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21531 PyObject *resultobj;
21532 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21533 wxTreeItemId result;
21534 PyObject * obj0 = 0 ;
21535 char *kwnames[] = {
21536 (char *) "self", NULL
21537 };
21538
21539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21541 {
21542 PyThreadState* __tstate = wxPyBeginAllowThreads();
21543 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21544
21545 wxPyEndAllowThreads(__tstate);
21546 if (PyErr_Occurred()) SWIG_fail;
21547 }
21548 {
21549 wxTreeItemId * resultptr;
21550 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21551 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21552 }
21553 return resultobj;
21554 fail:
21555 return NULL;
21556 }
21557
21558
21559 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21560 PyObject *resultobj;
21561 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21562 wxTreeItemId result;
21563 PyObject * obj0 = 0 ;
21564 char *kwnames[] = {
21565 (char *) "self", NULL
21566 };
21567
21568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21570 {
21571 PyThreadState* __tstate = wxPyBeginAllowThreads();
21572 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21573
21574 wxPyEndAllowThreads(__tstate);
21575 if (PyErr_Occurred()) SWIG_fail;
21576 }
21577 {
21578 wxTreeItemId * resultptr;
21579 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21580 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21581 }
21582 return resultobj;
21583 fail:
21584 return NULL;
21585 }
21586
21587
21588 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21589 PyObject *resultobj;
21590 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21591 PyObject *result;
21592 PyObject * obj0 = 0 ;
21593 char *kwnames[] = {
21594 (char *) "self", NULL
21595 };
21596
21597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21599 {
21600 PyThreadState* __tstate = wxPyBeginAllowThreads();
21601 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21602
21603 wxPyEndAllowThreads(__tstate);
21604 if (PyErr_Occurred()) SWIG_fail;
21605 }
21606 resultobj = result;
21607 return resultobj;
21608 fail:
21609 return NULL;
21610 }
21611
21612
21613 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21614 PyObject *resultobj;
21615 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21616 wxTreeItemId *arg2 = 0 ;
21617 wxTreeItemId result;
21618 PyObject * obj0 = 0 ;
21619 PyObject * obj1 = 0 ;
21620 char *kwnames[] = {
21621 (char *) "self",(char *) "item", NULL
21622 };
21623
21624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
21625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21626 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21627 if (arg2 == NULL) {
21628 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21629 }
21630 {
21631 PyThreadState* __tstate = wxPyBeginAllowThreads();
21632 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
21633
21634 wxPyEndAllowThreads(__tstate);
21635 if (PyErr_Occurred()) SWIG_fail;
21636 }
21637 {
21638 wxTreeItemId * resultptr;
21639 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21640 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21641 }
21642 return resultobj;
21643 fail:
21644 return NULL;
21645 }
21646
21647
21648 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21649 PyObject *resultobj;
21650 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21651 wxTreeItemId *arg2 = 0 ;
21652 PyObject *result;
21653 PyObject * obj0 = 0 ;
21654 PyObject * obj1 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self",(char *) "item", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
21660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21662 if (arg2 == NULL) {
21663 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21664 }
21665 {
21666 PyThreadState* __tstate = wxPyBeginAllowThreads();
21667 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
21668
21669 wxPyEndAllowThreads(__tstate);
21670 if (PyErr_Occurred()) SWIG_fail;
21671 }
21672 resultobj = result;
21673 return resultobj;
21674 fail:
21675 return NULL;
21676 }
21677
21678
21679 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21680 PyObject *resultobj;
21681 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21682 wxTreeItemId *arg2 = 0 ;
21683 wxTreeItemIdValue *arg3 = 0 ;
21684 PyObject *result;
21685 PyObject * obj0 = 0 ;
21686 PyObject * obj1 = 0 ;
21687 PyObject * obj2 = 0 ;
21688 char *kwnames[] = {
21689 (char *) "self",(char *) "item",(char *) "cookie", NULL
21690 };
21691
21692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
21693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21694 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21695 if (arg2 == NULL) {
21696 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21697 }
21698 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21699 if (arg3 == NULL) {
21700 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21701 }
21702 {
21703 PyThreadState* __tstate = wxPyBeginAllowThreads();
21704 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
21705
21706 wxPyEndAllowThreads(__tstate);
21707 if (PyErr_Occurred()) SWIG_fail;
21708 }
21709 resultobj = result;
21710 return resultobj;
21711 fail:
21712 return NULL;
21713 }
21714
21715
21716 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21717 PyObject *resultobj;
21718 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21719 wxTreeItemId *arg2 = 0 ;
21720 wxTreeItemId result;
21721 PyObject * obj0 = 0 ;
21722 PyObject * obj1 = 0 ;
21723 char *kwnames[] = {
21724 (char *) "self",(char *) "item", NULL
21725 };
21726
21727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
21728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21729 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21730 if (arg2 == NULL) {
21731 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21732 }
21733 {
21734 PyThreadState* __tstate = wxPyBeginAllowThreads();
21735 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
21736
21737 wxPyEndAllowThreads(__tstate);
21738 if (PyErr_Occurred()) SWIG_fail;
21739 }
21740 {
21741 wxTreeItemId * resultptr;
21742 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21743 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21744 }
21745 return resultobj;
21746 fail:
21747 return NULL;
21748 }
21749
21750
21751 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21752 PyObject *resultobj;
21753 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21754 wxTreeItemId *arg2 = 0 ;
21755 wxTreeItemId result;
21756 PyObject * obj0 = 0 ;
21757 PyObject * obj1 = 0 ;
21758 char *kwnames[] = {
21759 (char *) "self",(char *) "item", NULL
21760 };
21761
21762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
21763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21765 if (arg2 == NULL) {
21766 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21767 }
21768 {
21769 PyThreadState* __tstate = wxPyBeginAllowThreads();
21770 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
21771
21772 wxPyEndAllowThreads(__tstate);
21773 if (PyErr_Occurred()) SWIG_fail;
21774 }
21775 {
21776 wxTreeItemId * resultptr;
21777 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21778 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21779 }
21780 return resultobj;
21781 fail:
21782 return NULL;
21783 }
21784
21785
21786 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21787 PyObject *resultobj;
21788 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21789 wxTreeItemId *arg2 = 0 ;
21790 wxTreeItemId result;
21791 PyObject * obj0 = 0 ;
21792 PyObject * obj1 = 0 ;
21793 char *kwnames[] = {
21794 (char *) "self",(char *) "item", NULL
21795 };
21796
21797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
21798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21799 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21800 if (arg2 == NULL) {
21801 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21802 }
21803 {
21804 PyThreadState* __tstate = wxPyBeginAllowThreads();
21805 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
21806
21807 wxPyEndAllowThreads(__tstate);
21808 if (PyErr_Occurred()) SWIG_fail;
21809 }
21810 {
21811 wxTreeItemId * resultptr;
21812 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21813 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21814 }
21815 return resultobj;
21816 fail:
21817 return NULL;
21818 }
21819
21820
21821 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21822 PyObject *resultobj;
21823 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21824 wxTreeItemId result;
21825 PyObject * obj0 = 0 ;
21826 char *kwnames[] = {
21827 (char *) "self", NULL
21828 };
21829
21830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
21831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21832 {
21833 PyThreadState* __tstate = wxPyBeginAllowThreads();
21834 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
21835
21836 wxPyEndAllowThreads(__tstate);
21837 if (PyErr_Occurred()) SWIG_fail;
21838 }
21839 {
21840 wxTreeItemId * resultptr;
21841 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21842 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21843 }
21844 return resultobj;
21845 fail:
21846 return NULL;
21847 }
21848
21849
21850 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21851 PyObject *resultobj;
21852 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21853 wxTreeItemId *arg2 = 0 ;
21854 wxTreeItemId result;
21855 PyObject * obj0 = 0 ;
21856 PyObject * obj1 = 0 ;
21857 char *kwnames[] = {
21858 (char *) "self",(char *) "item", NULL
21859 };
21860
21861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
21862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21863 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21864 if (arg2 == NULL) {
21865 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21866 }
21867 {
21868 PyThreadState* __tstate = wxPyBeginAllowThreads();
21869 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
21870
21871 wxPyEndAllowThreads(__tstate);
21872 if (PyErr_Occurred()) SWIG_fail;
21873 }
21874 {
21875 wxTreeItemId * resultptr;
21876 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21877 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21878 }
21879 return resultobj;
21880 fail:
21881 return NULL;
21882 }
21883
21884
21885 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21886 PyObject *resultobj;
21887 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21888 wxTreeItemId *arg2 = 0 ;
21889 wxTreeItemId result;
21890 PyObject * obj0 = 0 ;
21891 PyObject * obj1 = 0 ;
21892 char *kwnames[] = {
21893 (char *) "self",(char *) "item", NULL
21894 };
21895
21896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
21897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21898 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21899 if (arg2 == NULL) {
21900 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21901 }
21902 {
21903 PyThreadState* __tstate = wxPyBeginAllowThreads();
21904 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
21905
21906 wxPyEndAllowThreads(__tstate);
21907 if (PyErr_Occurred()) SWIG_fail;
21908 }
21909 {
21910 wxTreeItemId * resultptr;
21911 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21912 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21913 }
21914 return resultobj;
21915 fail:
21916 return NULL;
21917 }
21918
21919
21920 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
21921 PyObject *resultobj;
21922 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21923 wxString *arg2 = 0 ;
21924 int arg3 = (int) -1 ;
21925 int arg4 = (int) -1 ;
21926 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
21927 wxTreeItemId result;
21928 bool temp2 = False ;
21929 PyObject * obj0 = 0 ;
21930 PyObject * obj1 = 0 ;
21931 PyObject * obj4 = 0 ;
21932 char *kwnames[] = {
21933 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21934 };
21935
21936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
21937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21938 {
21939 arg2 = wxString_in_helper(obj1);
21940 if (arg2 == NULL) SWIG_fail;
21941 temp2 = True;
21942 }
21943 if (obj4) {
21944 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21945 }
21946 {
21947 PyThreadState* __tstate = wxPyBeginAllowThreads();
21948 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
21949
21950 wxPyEndAllowThreads(__tstate);
21951 if (PyErr_Occurred()) SWIG_fail;
21952 }
21953 {
21954 wxTreeItemId * resultptr;
21955 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21956 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21957 }
21958 {
21959 if (temp2)
21960 delete arg2;
21961 }
21962 return resultobj;
21963 fail:
21964 {
21965 if (temp2)
21966 delete arg2;
21967 }
21968 return NULL;
21969 }
21970
21971
21972 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21973 PyObject *resultobj;
21974 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21975 wxTreeItemId *arg2 = 0 ;
21976 wxString *arg3 = 0 ;
21977 int arg4 = (int) -1 ;
21978 int arg5 = (int) -1 ;
21979 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
21980 wxTreeItemId result;
21981 bool temp3 = False ;
21982 PyObject * obj0 = 0 ;
21983 PyObject * obj1 = 0 ;
21984 PyObject * obj2 = 0 ;
21985 PyObject * obj5 = 0 ;
21986 char *kwnames[] = {
21987 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
21988 };
21989
21990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
21991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21993 if (arg2 == NULL) {
21994 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21995 }
21996 {
21997 arg3 = wxString_in_helper(obj2);
21998 if (arg3 == NULL) SWIG_fail;
21999 temp3 = True;
22000 }
22001 if (obj5) {
22002 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22003 }
22004 {
22005 PyThreadState* __tstate = wxPyBeginAllowThreads();
22006 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22007
22008 wxPyEndAllowThreads(__tstate);
22009 if (PyErr_Occurred()) SWIG_fail;
22010 }
22011 {
22012 wxTreeItemId * resultptr;
22013 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22014 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22015 }
22016 {
22017 if (temp3)
22018 delete arg3;
22019 }
22020 return resultobj;
22021 fail:
22022 {
22023 if (temp3)
22024 delete arg3;
22025 }
22026 return NULL;
22027 }
22028
22029
22030 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22031 PyObject *resultobj;
22032 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22033 wxTreeItemId *arg2 = 0 ;
22034 wxTreeItemId *arg3 = 0 ;
22035 wxString *arg4 = 0 ;
22036 int arg5 = (int) -1 ;
22037 int arg6 = (int) -1 ;
22038 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22039 wxTreeItemId result;
22040 bool temp4 = False ;
22041 PyObject * obj0 = 0 ;
22042 PyObject * obj1 = 0 ;
22043 PyObject * obj2 = 0 ;
22044 PyObject * obj3 = 0 ;
22045 PyObject * obj6 = 0 ;
22046 char *kwnames[] = {
22047 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22048 };
22049
22050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22053 if (arg2 == NULL) {
22054 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22055 }
22056 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22057 if (arg3 == NULL) {
22058 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22059 }
22060 {
22061 arg4 = wxString_in_helper(obj3);
22062 if (arg4 == NULL) SWIG_fail;
22063 temp4 = True;
22064 }
22065 if (obj6) {
22066 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22067 }
22068 {
22069 PyThreadState* __tstate = wxPyBeginAllowThreads();
22070 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22071
22072 wxPyEndAllowThreads(__tstate);
22073 if (PyErr_Occurred()) SWIG_fail;
22074 }
22075 {
22076 wxTreeItemId * resultptr;
22077 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22078 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22079 }
22080 {
22081 if (temp4)
22082 delete arg4;
22083 }
22084 return resultobj;
22085 fail:
22086 {
22087 if (temp4)
22088 delete arg4;
22089 }
22090 return NULL;
22091 }
22092
22093
22094 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22095 PyObject *resultobj;
22096 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22097 wxTreeItemId *arg2 = 0 ;
22098 size_t arg3 ;
22099 wxString *arg4 = 0 ;
22100 int arg5 = (int) -1 ;
22101 int arg6 = (int) -1 ;
22102 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22103 wxTreeItemId result;
22104 bool temp4 = False ;
22105 PyObject * obj0 = 0 ;
22106 PyObject * obj1 = 0 ;
22107 PyObject * obj2 = 0 ;
22108 PyObject * obj3 = 0 ;
22109 PyObject * obj6 = 0 ;
22110 char *kwnames[] = {
22111 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22112 };
22113
22114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22117 if (arg2 == NULL) {
22118 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22119 }
22120 arg3 = (size_t) PyInt_AsLong(obj2);
22121 if (PyErr_Occurred()) SWIG_fail;
22122 {
22123 arg4 = wxString_in_helper(obj3);
22124 if (arg4 == NULL) SWIG_fail;
22125 temp4 = True;
22126 }
22127 if (obj6) {
22128 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22129 }
22130 {
22131 PyThreadState* __tstate = wxPyBeginAllowThreads();
22132 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22133
22134 wxPyEndAllowThreads(__tstate);
22135 if (PyErr_Occurred()) SWIG_fail;
22136 }
22137 {
22138 wxTreeItemId * resultptr;
22139 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22140 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22141 }
22142 {
22143 if (temp4)
22144 delete arg4;
22145 }
22146 return resultobj;
22147 fail:
22148 {
22149 if (temp4)
22150 delete arg4;
22151 }
22152 return NULL;
22153 }
22154
22155
22156 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22157 PyObject *resultobj;
22158 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22159 wxTreeItemId *arg2 = 0 ;
22160 wxString *arg3 = 0 ;
22161 int arg4 = (int) -1 ;
22162 int arg5 = (int) -1 ;
22163 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22164 wxTreeItemId result;
22165 bool temp3 = False ;
22166 PyObject * obj0 = 0 ;
22167 PyObject * obj1 = 0 ;
22168 PyObject * obj2 = 0 ;
22169 PyObject * obj5 = 0 ;
22170 char *kwnames[] = {
22171 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22172 };
22173
22174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22176 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22177 if (arg2 == NULL) {
22178 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22179 }
22180 {
22181 arg3 = wxString_in_helper(obj2);
22182 if (arg3 == NULL) SWIG_fail;
22183 temp3 = True;
22184 }
22185 if (obj5) {
22186 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22187 }
22188 {
22189 PyThreadState* __tstate = wxPyBeginAllowThreads();
22190 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22191
22192 wxPyEndAllowThreads(__tstate);
22193 if (PyErr_Occurred()) SWIG_fail;
22194 }
22195 {
22196 wxTreeItemId * resultptr;
22197 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22198 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22199 }
22200 {
22201 if (temp3)
22202 delete arg3;
22203 }
22204 return resultobj;
22205 fail:
22206 {
22207 if (temp3)
22208 delete arg3;
22209 }
22210 return NULL;
22211 }
22212
22213
22214 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22215 PyObject *resultobj;
22216 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22217 wxTreeItemId *arg2 = 0 ;
22218 PyObject * obj0 = 0 ;
22219 PyObject * obj1 = 0 ;
22220 char *kwnames[] = {
22221 (char *) "self",(char *) "item", NULL
22222 };
22223
22224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22226 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22227 if (arg2 == NULL) {
22228 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22229 }
22230 {
22231 PyThreadState* __tstate = wxPyBeginAllowThreads();
22232 (arg1)->Delete((wxTreeItemId const &)*arg2);
22233
22234 wxPyEndAllowThreads(__tstate);
22235 if (PyErr_Occurred()) SWIG_fail;
22236 }
22237 Py_INCREF(Py_None); resultobj = Py_None;
22238 return resultobj;
22239 fail:
22240 return NULL;
22241 }
22242
22243
22244 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22245 PyObject *resultobj;
22246 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22247 wxTreeItemId *arg2 = 0 ;
22248 PyObject * obj0 = 0 ;
22249 PyObject * obj1 = 0 ;
22250 char *kwnames[] = {
22251 (char *) "self",(char *) "item", NULL
22252 };
22253
22254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) 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 {
22261 PyThreadState* __tstate = wxPyBeginAllowThreads();
22262 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22263
22264 wxPyEndAllowThreads(__tstate);
22265 if (PyErr_Occurred()) SWIG_fail;
22266 }
22267 Py_INCREF(Py_None); resultobj = Py_None;
22268 return resultobj;
22269 fail:
22270 return NULL;
22271 }
22272
22273
22274 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22275 PyObject *resultobj;
22276 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22277 PyObject * obj0 = 0 ;
22278 char *kwnames[] = {
22279 (char *) "self", NULL
22280 };
22281
22282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22284 {
22285 PyThreadState* __tstate = wxPyBeginAllowThreads();
22286 (arg1)->DeleteAllItems();
22287
22288 wxPyEndAllowThreads(__tstate);
22289 if (PyErr_Occurred()) SWIG_fail;
22290 }
22291 Py_INCREF(Py_None); resultobj = Py_None;
22292 return resultobj;
22293 fail:
22294 return NULL;
22295 }
22296
22297
22298 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22299 PyObject *resultobj;
22300 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22301 wxTreeItemId *arg2 = 0 ;
22302 PyObject * obj0 = 0 ;
22303 PyObject * obj1 = 0 ;
22304 char *kwnames[] = {
22305 (char *) "self",(char *) "item", NULL
22306 };
22307
22308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22310 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22311 if (arg2 == NULL) {
22312 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22313 }
22314 {
22315 PyThreadState* __tstate = wxPyBeginAllowThreads();
22316 (arg1)->Expand((wxTreeItemId const &)*arg2);
22317
22318 wxPyEndAllowThreads(__tstate);
22319 if (PyErr_Occurred()) SWIG_fail;
22320 }
22321 Py_INCREF(Py_None); resultobj = Py_None;
22322 return resultobj;
22323 fail:
22324 return NULL;
22325 }
22326
22327
22328 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22329 PyObject *resultobj;
22330 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22331 wxTreeItemId *arg2 = 0 ;
22332 PyObject * obj0 = 0 ;
22333 PyObject * obj1 = 0 ;
22334 char *kwnames[] = {
22335 (char *) "self",(char *) "item", NULL
22336 };
22337
22338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22340 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22341 if (arg2 == NULL) {
22342 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22343 }
22344 {
22345 PyThreadState* __tstate = wxPyBeginAllowThreads();
22346 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22347
22348 wxPyEndAllowThreads(__tstate);
22349 if (PyErr_Occurred()) SWIG_fail;
22350 }
22351 Py_INCREF(Py_None); resultobj = Py_None;
22352 return resultobj;
22353 fail:
22354 return NULL;
22355 }
22356
22357
22358 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22359 PyObject *resultobj;
22360 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22361 wxTreeItemId *arg2 = 0 ;
22362 PyObject * obj0 = 0 ;
22363 PyObject * obj1 = 0 ;
22364 char *kwnames[] = {
22365 (char *) "self",(char *) "item", NULL
22366 };
22367
22368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22370 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22371 if (arg2 == NULL) {
22372 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22373 }
22374 {
22375 PyThreadState* __tstate = wxPyBeginAllowThreads();
22376 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22377
22378 wxPyEndAllowThreads(__tstate);
22379 if (PyErr_Occurred()) SWIG_fail;
22380 }
22381 Py_INCREF(Py_None); resultobj = Py_None;
22382 return resultobj;
22383 fail:
22384 return NULL;
22385 }
22386
22387
22388 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22389 PyObject *resultobj;
22390 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22391 wxTreeItemId *arg2 = 0 ;
22392 PyObject * obj0 = 0 ;
22393 PyObject * obj1 = 0 ;
22394 char *kwnames[] = {
22395 (char *) "self",(char *) "item", NULL
22396 };
22397
22398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22401 if (arg2 == NULL) {
22402 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22403 }
22404 {
22405 PyThreadState* __tstate = wxPyBeginAllowThreads();
22406 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22407
22408 wxPyEndAllowThreads(__tstate);
22409 if (PyErr_Occurred()) SWIG_fail;
22410 }
22411 Py_INCREF(Py_None); resultobj = Py_None;
22412 return resultobj;
22413 fail:
22414 return NULL;
22415 }
22416
22417
22418 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22419 PyObject *resultobj;
22420 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22421 PyObject * obj0 = 0 ;
22422 char *kwnames[] = {
22423 (char *) "self", NULL
22424 };
22425
22426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22428 {
22429 PyThreadState* __tstate = wxPyBeginAllowThreads();
22430 (arg1)->Unselect();
22431
22432 wxPyEndAllowThreads(__tstate);
22433 if (PyErr_Occurred()) SWIG_fail;
22434 }
22435 Py_INCREF(Py_None); resultobj = Py_None;
22436 return resultobj;
22437 fail:
22438 return NULL;
22439 }
22440
22441
22442 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22443 PyObject *resultobj;
22444 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22445 PyObject * obj0 = 0 ;
22446 char *kwnames[] = {
22447 (char *) "self", NULL
22448 };
22449
22450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22452 {
22453 PyThreadState* __tstate = wxPyBeginAllowThreads();
22454 (arg1)->UnselectAll();
22455
22456 wxPyEndAllowThreads(__tstate);
22457 if (PyErr_Occurred()) SWIG_fail;
22458 }
22459 Py_INCREF(Py_None); resultobj = Py_None;
22460 return resultobj;
22461 fail:
22462 return NULL;
22463 }
22464
22465
22466 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22467 PyObject *resultobj;
22468 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22469 wxTreeItemId *arg2 = 0 ;
22470 PyObject * obj0 = 0 ;
22471 PyObject * obj1 = 0 ;
22472 char *kwnames[] = {
22473 (char *) "self",(char *) "item", NULL
22474 };
22475
22476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22478 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22479 if (arg2 == NULL) {
22480 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22481 }
22482 {
22483 PyThreadState* __tstate = wxPyBeginAllowThreads();
22484 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22485
22486 wxPyEndAllowThreads(__tstate);
22487 if (PyErr_Occurred()) SWIG_fail;
22488 }
22489 Py_INCREF(Py_None); resultobj = Py_None;
22490 return resultobj;
22491 fail:
22492 return NULL;
22493 }
22494
22495
22496 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22497 PyObject *resultobj;
22498 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22499 wxTreeItemId *arg2 = 0 ;
22500 PyObject * obj0 = 0 ;
22501 PyObject * obj1 = 0 ;
22502 char *kwnames[] = {
22503 (char *) "self",(char *) "item", NULL
22504 };
22505
22506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22508 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22509 if (arg2 == NULL) {
22510 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22511 }
22512 {
22513 PyThreadState* __tstate = wxPyBeginAllowThreads();
22514 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22515
22516 wxPyEndAllowThreads(__tstate);
22517 if (PyErr_Occurred()) SWIG_fail;
22518 }
22519 Py_INCREF(Py_None); resultobj = Py_None;
22520 return resultobj;
22521 fail:
22522 return NULL;
22523 }
22524
22525
22526 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22527 PyObject *resultobj;
22528 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22529 wxTreeItemId *arg2 = 0 ;
22530 PyObject * obj0 = 0 ;
22531 PyObject * obj1 = 0 ;
22532 char *kwnames[] = {
22533 (char *) "self",(char *) "item", NULL
22534 };
22535
22536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22539 if (arg2 == NULL) {
22540 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22541 }
22542 {
22543 PyThreadState* __tstate = wxPyBeginAllowThreads();
22544 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22545
22546 wxPyEndAllowThreads(__tstate);
22547 if (PyErr_Occurred()) SWIG_fail;
22548 }
22549 Py_INCREF(Py_None); resultobj = Py_None;
22550 return resultobj;
22551 fail:
22552 return NULL;
22553 }
22554
22555
22556 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22557 PyObject *resultobj;
22558 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22559 wxTreeItemId *arg2 = 0 ;
22560 PyObject * obj0 = 0 ;
22561 PyObject * obj1 = 0 ;
22562 char *kwnames[] = {
22563 (char *) "self",(char *) "item", NULL
22564 };
22565
22566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22568 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22569 if (arg2 == NULL) {
22570 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22571 }
22572 {
22573 PyThreadState* __tstate = wxPyBeginAllowThreads();
22574 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22575
22576 wxPyEndAllowThreads(__tstate);
22577 if (PyErr_Occurred()) SWIG_fail;
22578 }
22579 Py_INCREF(Py_None); resultobj = Py_None;
22580 return resultobj;
22581 fail:
22582 return NULL;
22583 }
22584
22585
22586 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22587 PyObject *resultobj;
22588 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22589 wxTextCtrl *result;
22590 PyObject * obj0 = 0 ;
22591 char *kwnames[] = {
22592 (char *) "self", NULL
22593 };
22594
22595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22597 {
22598 PyThreadState* __tstate = wxPyBeginAllowThreads();
22599 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22600
22601 wxPyEndAllowThreads(__tstate);
22602 if (PyErr_Occurred()) SWIG_fail;
22603 }
22604 {
22605 resultobj = wxPyMake_wxObject(result);
22606 }
22607 return resultobj;
22608 fail:
22609 return NULL;
22610 }
22611
22612
22613 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22614 PyObject *resultobj;
22615 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22616 wxTreeItemId *arg2 = 0 ;
22617 PyObject * obj0 = 0 ;
22618 PyObject * obj1 = 0 ;
22619 char *kwnames[] = {
22620 (char *) "self",(char *) "item", NULL
22621 };
22622
22623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
22624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22626 if (arg2 == NULL) {
22627 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22628 }
22629 {
22630 PyThreadState* __tstate = wxPyBeginAllowThreads();
22631 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
22632
22633 wxPyEndAllowThreads(__tstate);
22634 if (PyErr_Occurred()) SWIG_fail;
22635 }
22636 Py_INCREF(Py_None); resultobj = Py_None;
22637 return resultobj;
22638 fail:
22639 return NULL;
22640 }
22641
22642
22643 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22644 PyObject *resultobj;
22645 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22646 wxPoint *arg2 = 0 ;
22647 int *arg3 = 0 ;
22648 wxTreeItemId result;
22649 wxPoint temp2 ;
22650 int temp3 ;
22651 PyObject * obj0 = 0 ;
22652 PyObject * obj1 = 0 ;
22653 char *kwnames[] = {
22654 (char *) "self",(char *) "point", NULL
22655 };
22656
22657 arg3 = &temp3;
22658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22660 {
22661 arg2 = &temp2;
22662 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22663 }
22664 {
22665 PyThreadState* __tstate = wxPyBeginAllowThreads();
22666 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22667
22668 wxPyEndAllowThreads(__tstate);
22669 if (PyErr_Occurred()) SWIG_fail;
22670 }
22671 {
22672 wxTreeItemId * resultptr;
22673 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22674 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22675 }
22676 {
22677 PyObject *o = PyInt_FromLong((long) (*arg3));
22678 resultobj = t_output_helper(resultobj,o);
22679 }
22680 return resultobj;
22681 fail:
22682 return NULL;
22683 }
22684
22685
22686 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22687 PyObject *resultobj;
22688 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22689 wxTreeItemId *arg2 = 0 ;
22690 bool arg3 = (bool) False ;
22691 PyObject *result;
22692 PyObject * obj0 = 0 ;
22693 PyObject * obj1 = 0 ;
22694 PyObject * obj2 = 0 ;
22695 char *kwnames[] = {
22696 (char *) "self",(char *) "item",(char *) "textOnly", NULL
22697 };
22698
22699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22701 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22702 if (arg2 == NULL) {
22703 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22704 }
22705 if (obj2) {
22706 arg3 = PyInt_AsLong(obj2) ? true : false;
22707 if (PyErr_Occurred()) SWIG_fail;
22708 }
22709 {
22710 PyThreadState* __tstate = wxPyBeginAllowThreads();
22711 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
22712
22713 wxPyEndAllowThreads(__tstate);
22714 if (PyErr_Occurred()) SWIG_fail;
22715 }
22716 resultobj = result;
22717 return resultobj;
22718 fail:
22719 return NULL;
22720 }
22721
22722
22723 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
22724 PyObject *obj;
22725 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22726 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
22727 Py_INCREF(obj);
22728 return Py_BuildValue((char *)"");
22729 }
22730 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22731 PyObject *resultobj;
22732 wxWindow *arg1 = (wxWindow *) 0 ;
22733 int arg2 = (int) (int)-1 ;
22734 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
22735 wxString *arg3 = (wxString *) &arg3_defvalue ;
22736 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22737 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22738 wxSize const &arg5_defvalue = wxDefaultSize ;
22739 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22740 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22741 wxString const &arg7_defvalue = wxPyEmptyString ;
22742 wxString *arg7 = (wxString *) &arg7_defvalue ;
22743 int arg8 = (int) 0 ;
22744 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
22745 wxString *arg9 = (wxString *) &arg9_defvalue ;
22746 wxGenericDirCtrl *result;
22747 bool temp3 = False ;
22748 wxPoint temp4 ;
22749 wxSize temp5 ;
22750 bool temp7 = False ;
22751 bool temp9 = False ;
22752 PyObject * obj0 = 0 ;
22753 PyObject * obj2 = 0 ;
22754 PyObject * obj3 = 0 ;
22755 PyObject * obj4 = 0 ;
22756 PyObject * obj6 = 0 ;
22757 PyObject * obj8 = 0 ;
22758 char *kwnames[] = {
22759 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22760 };
22761
22762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
22763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22764 if (obj2) {
22765 {
22766 arg3 = wxString_in_helper(obj2);
22767 if (arg3 == NULL) SWIG_fail;
22768 temp3 = True;
22769 }
22770 }
22771 if (obj3) {
22772 {
22773 arg4 = &temp4;
22774 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22775 }
22776 }
22777 if (obj4) {
22778 {
22779 arg5 = &temp5;
22780 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22781 }
22782 }
22783 if (obj6) {
22784 {
22785 arg7 = wxString_in_helper(obj6);
22786 if (arg7 == NULL) SWIG_fail;
22787 temp7 = True;
22788 }
22789 }
22790 if (obj8) {
22791 {
22792 arg9 = wxString_in_helper(obj8);
22793 if (arg9 == NULL) SWIG_fail;
22794 temp9 = True;
22795 }
22796 }
22797 {
22798 PyThreadState* __tstate = wxPyBeginAllowThreads();
22799 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
22800
22801 wxPyEndAllowThreads(__tstate);
22802 if (PyErr_Occurred()) SWIG_fail;
22803 }
22804 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22805 {
22806 if (temp3)
22807 delete arg3;
22808 }
22809 {
22810 if (temp7)
22811 delete arg7;
22812 }
22813 {
22814 if (temp9)
22815 delete arg9;
22816 }
22817 return resultobj;
22818 fail:
22819 {
22820 if (temp3)
22821 delete arg3;
22822 }
22823 {
22824 if (temp7)
22825 delete arg7;
22826 }
22827 {
22828 if (temp9)
22829 delete arg9;
22830 }
22831 return NULL;
22832 }
22833
22834
22835 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22836 PyObject *resultobj;
22837 wxGenericDirCtrl *result;
22838 char *kwnames[] = {
22839 NULL
22840 };
22841
22842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
22843 {
22844 PyThreadState* __tstate = wxPyBeginAllowThreads();
22845 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
22846
22847 wxPyEndAllowThreads(__tstate);
22848 if (PyErr_Occurred()) SWIG_fail;
22849 }
22850 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22851 return resultobj;
22852 fail:
22853 return NULL;
22854 }
22855
22856
22857 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
22858 PyObject *resultobj;
22859 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22860 wxWindow *arg2 = (wxWindow *) 0 ;
22861 int arg3 = (int) (int)-1 ;
22862 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
22863 wxString *arg4 = (wxString *) &arg4_defvalue ;
22864 wxPoint const &arg5_defvalue = wxDefaultPosition ;
22865 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
22866 wxSize const &arg6_defvalue = wxDefaultSize ;
22867 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
22868 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22869 wxString const &arg8_defvalue = wxPyEmptyString ;
22870 wxString *arg8 = (wxString *) &arg8_defvalue ;
22871 int arg9 = (int) 0 ;
22872 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
22873 wxString *arg10 = (wxString *) &arg10_defvalue ;
22874 bool result;
22875 bool temp4 = False ;
22876 wxPoint temp5 ;
22877 wxSize temp6 ;
22878 bool temp8 = False ;
22879 bool temp10 = False ;
22880 PyObject * obj0 = 0 ;
22881 PyObject * obj1 = 0 ;
22882 PyObject * obj3 = 0 ;
22883 PyObject * obj4 = 0 ;
22884 PyObject * obj5 = 0 ;
22885 PyObject * obj7 = 0 ;
22886 PyObject * obj9 = 0 ;
22887 char *kwnames[] = {
22888 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22889 };
22890
22891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
22892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22893 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22894 if (obj3) {
22895 {
22896 arg4 = wxString_in_helper(obj3);
22897 if (arg4 == NULL) SWIG_fail;
22898 temp4 = True;
22899 }
22900 }
22901 if (obj4) {
22902 {
22903 arg5 = &temp5;
22904 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
22905 }
22906 }
22907 if (obj5) {
22908 {
22909 arg6 = &temp6;
22910 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
22911 }
22912 }
22913 if (obj7) {
22914 {
22915 arg8 = wxString_in_helper(obj7);
22916 if (arg8 == NULL) SWIG_fail;
22917 temp8 = True;
22918 }
22919 }
22920 if (obj9) {
22921 {
22922 arg10 = wxString_in_helper(obj9);
22923 if (arg10 == NULL) SWIG_fail;
22924 temp10 = True;
22925 }
22926 }
22927 {
22928 PyThreadState* __tstate = wxPyBeginAllowThreads();
22929 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
22930
22931 wxPyEndAllowThreads(__tstate);
22932 if (PyErr_Occurred()) SWIG_fail;
22933 }
22934 resultobj = PyInt_FromLong((long)result);
22935 {
22936 if (temp4)
22937 delete arg4;
22938 }
22939 {
22940 if (temp8)
22941 delete arg8;
22942 }
22943 {
22944 if (temp10)
22945 delete arg10;
22946 }
22947 return resultobj;
22948 fail:
22949 {
22950 if (temp4)
22951 delete arg4;
22952 }
22953 {
22954 if (temp8)
22955 delete arg8;
22956 }
22957 {
22958 if (temp10)
22959 delete arg10;
22960 }
22961 return NULL;
22962 }
22963
22964
22965 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
22966 PyObject *resultobj;
22967 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
22968 wxString *arg2 = 0 ;
22969 bool result;
22970 bool temp2 = False ;
22971 PyObject * obj0 = 0 ;
22972 PyObject * obj1 = 0 ;
22973 char *kwnames[] = {
22974 (char *) "self",(char *) "path", NULL
22975 };
22976
22977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
22978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22979 {
22980 arg2 = wxString_in_helper(obj1);
22981 if (arg2 == NULL) SWIG_fail;
22982 temp2 = True;
22983 }
22984 {
22985 PyThreadState* __tstate = wxPyBeginAllowThreads();
22986 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
22987
22988 wxPyEndAllowThreads(__tstate);
22989 if (PyErr_Occurred()) SWIG_fail;
22990 }
22991 resultobj = PyInt_FromLong((long)result);
22992 {
22993 if (temp2)
22994 delete arg2;
22995 }
22996 return resultobj;
22997 fail:
22998 {
22999 if (temp2)
23000 delete arg2;
23001 }
23002 return NULL;
23003 }
23004
23005
23006 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23007 PyObject *resultobj;
23008 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23009 wxString result;
23010 PyObject * obj0 = 0 ;
23011 char *kwnames[] = {
23012 (char *) "self", NULL
23013 };
23014
23015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23017 {
23018 PyThreadState* __tstate = wxPyBeginAllowThreads();
23019 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23020
23021 wxPyEndAllowThreads(__tstate);
23022 if (PyErr_Occurred()) SWIG_fail;
23023 }
23024 {
23025 #if wxUSE_UNICODE
23026 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23027 #else
23028 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23029 #endif
23030 }
23031 return resultobj;
23032 fail:
23033 return NULL;
23034 }
23035
23036
23037 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23038 PyObject *resultobj;
23039 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23040 wxString *arg2 = 0 ;
23041 bool temp2 = False ;
23042 PyObject * obj0 = 0 ;
23043 PyObject * obj1 = 0 ;
23044 char *kwnames[] = {
23045 (char *) "self",(char *) "path", NULL
23046 };
23047
23048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23050 {
23051 arg2 = wxString_in_helper(obj1);
23052 if (arg2 == NULL) SWIG_fail;
23053 temp2 = True;
23054 }
23055 {
23056 PyThreadState* __tstate = wxPyBeginAllowThreads();
23057 (arg1)->SetDefaultPath((wxString const &)*arg2);
23058
23059 wxPyEndAllowThreads(__tstate);
23060 if (PyErr_Occurred()) SWIG_fail;
23061 }
23062 Py_INCREF(Py_None); resultobj = Py_None;
23063 {
23064 if (temp2)
23065 delete arg2;
23066 }
23067 return resultobj;
23068 fail:
23069 {
23070 if (temp2)
23071 delete arg2;
23072 }
23073 return NULL;
23074 }
23075
23076
23077 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23078 PyObject *resultobj;
23079 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23080 wxString result;
23081 PyObject * obj0 = 0 ;
23082 char *kwnames[] = {
23083 (char *) "self", NULL
23084 };
23085
23086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23088 {
23089 PyThreadState* __tstate = wxPyBeginAllowThreads();
23090 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23091
23092 wxPyEndAllowThreads(__tstate);
23093 if (PyErr_Occurred()) SWIG_fail;
23094 }
23095 {
23096 #if wxUSE_UNICODE
23097 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23098 #else
23099 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23100 #endif
23101 }
23102 return resultobj;
23103 fail:
23104 return NULL;
23105 }
23106
23107
23108 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23109 PyObject *resultobj;
23110 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23111 wxString result;
23112 PyObject * obj0 = 0 ;
23113 char *kwnames[] = {
23114 (char *) "self", NULL
23115 };
23116
23117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23119 {
23120 PyThreadState* __tstate = wxPyBeginAllowThreads();
23121 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23122
23123 wxPyEndAllowThreads(__tstate);
23124 if (PyErr_Occurred()) SWIG_fail;
23125 }
23126 {
23127 #if wxUSE_UNICODE
23128 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23129 #else
23130 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23131 #endif
23132 }
23133 return resultobj;
23134 fail:
23135 return NULL;
23136 }
23137
23138
23139 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23140 PyObject *resultobj;
23141 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23142 wxString *arg2 = 0 ;
23143 bool temp2 = False ;
23144 PyObject * obj0 = 0 ;
23145 PyObject * obj1 = 0 ;
23146 char *kwnames[] = {
23147 (char *) "self",(char *) "path", NULL
23148 };
23149
23150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23152 {
23153 arg2 = wxString_in_helper(obj1);
23154 if (arg2 == NULL) SWIG_fail;
23155 temp2 = True;
23156 }
23157 {
23158 PyThreadState* __tstate = wxPyBeginAllowThreads();
23159 (arg1)->SetPath((wxString const &)*arg2);
23160
23161 wxPyEndAllowThreads(__tstate);
23162 if (PyErr_Occurred()) SWIG_fail;
23163 }
23164 Py_INCREF(Py_None); resultobj = Py_None;
23165 {
23166 if (temp2)
23167 delete arg2;
23168 }
23169 return resultobj;
23170 fail:
23171 {
23172 if (temp2)
23173 delete arg2;
23174 }
23175 return NULL;
23176 }
23177
23178
23179 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23180 PyObject *resultobj;
23181 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23182 bool arg2 ;
23183 PyObject * obj0 = 0 ;
23184 PyObject * obj1 = 0 ;
23185 char *kwnames[] = {
23186 (char *) "self",(char *) "show", NULL
23187 };
23188
23189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23191 arg2 = PyInt_AsLong(obj1) ? true : false;
23192 if (PyErr_Occurred()) SWIG_fail;
23193 {
23194 PyThreadState* __tstate = wxPyBeginAllowThreads();
23195 (arg1)->ShowHidden(arg2);
23196
23197 wxPyEndAllowThreads(__tstate);
23198 if (PyErr_Occurred()) SWIG_fail;
23199 }
23200 Py_INCREF(Py_None); resultobj = Py_None;
23201 return resultobj;
23202 fail:
23203 return NULL;
23204 }
23205
23206
23207 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23208 PyObject *resultobj;
23209 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23210 bool result;
23211 PyObject * obj0 = 0 ;
23212 char *kwnames[] = {
23213 (char *) "self", NULL
23214 };
23215
23216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23218 {
23219 PyThreadState* __tstate = wxPyBeginAllowThreads();
23220 result = (bool)(arg1)->GetShowHidden();
23221
23222 wxPyEndAllowThreads(__tstate);
23223 if (PyErr_Occurred()) SWIG_fail;
23224 }
23225 resultobj = PyInt_FromLong((long)result);
23226 return resultobj;
23227 fail:
23228 return NULL;
23229 }
23230
23231
23232 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23233 PyObject *resultobj;
23234 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23235 wxString result;
23236 PyObject * obj0 = 0 ;
23237 char *kwnames[] = {
23238 (char *) "self", NULL
23239 };
23240
23241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23243 {
23244 PyThreadState* __tstate = wxPyBeginAllowThreads();
23245 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23246
23247 wxPyEndAllowThreads(__tstate);
23248 if (PyErr_Occurred()) SWIG_fail;
23249 }
23250 {
23251 #if wxUSE_UNICODE
23252 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23253 #else
23254 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23255 #endif
23256 }
23257 return resultobj;
23258 fail:
23259 return NULL;
23260 }
23261
23262
23263 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23264 PyObject *resultobj;
23265 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23266 wxString *arg2 = 0 ;
23267 bool temp2 = False ;
23268 PyObject * obj0 = 0 ;
23269 PyObject * obj1 = 0 ;
23270 char *kwnames[] = {
23271 (char *) "self",(char *) "filter", NULL
23272 };
23273
23274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23276 {
23277 arg2 = wxString_in_helper(obj1);
23278 if (arg2 == NULL) SWIG_fail;
23279 temp2 = True;
23280 }
23281 {
23282 PyThreadState* __tstate = wxPyBeginAllowThreads();
23283 (arg1)->SetFilter((wxString const &)*arg2);
23284
23285 wxPyEndAllowThreads(__tstate);
23286 if (PyErr_Occurred()) SWIG_fail;
23287 }
23288 Py_INCREF(Py_None); resultobj = Py_None;
23289 {
23290 if (temp2)
23291 delete arg2;
23292 }
23293 return resultobj;
23294 fail:
23295 {
23296 if (temp2)
23297 delete arg2;
23298 }
23299 return NULL;
23300 }
23301
23302
23303 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23304 PyObject *resultobj;
23305 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23306 int result;
23307 PyObject * obj0 = 0 ;
23308 char *kwnames[] = {
23309 (char *) "self", NULL
23310 };
23311
23312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23314 {
23315 PyThreadState* __tstate = wxPyBeginAllowThreads();
23316 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23317
23318 wxPyEndAllowThreads(__tstate);
23319 if (PyErr_Occurred()) SWIG_fail;
23320 }
23321 resultobj = PyInt_FromLong((long)result);
23322 return resultobj;
23323 fail:
23324 return NULL;
23325 }
23326
23327
23328 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23329 PyObject *resultobj;
23330 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23331 int arg2 ;
23332 PyObject * obj0 = 0 ;
23333 char *kwnames[] = {
23334 (char *) "self",(char *) "n", NULL
23335 };
23336
23337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23339 {
23340 PyThreadState* __tstate = wxPyBeginAllowThreads();
23341 (arg1)->SetFilterIndex(arg2);
23342
23343 wxPyEndAllowThreads(__tstate);
23344 if (PyErr_Occurred()) SWIG_fail;
23345 }
23346 Py_INCREF(Py_None); resultobj = Py_None;
23347 return resultobj;
23348 fail:
23349 return NULL;
23350 }
23351
23352
23353 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23354 PyObject *resultobj;
23355 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23356 wxTreeItemId result;
23357 PyObject * obj0 = 0 ;
23358 char *kwnames[] = {
23359 (char *) "self", NULL
23360 };
23361
23362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23364 {
23365 PyThreadState* __tstate = wxPyBeginAllowThreads();
23366 result = (arg1)->GetRootId();
23367
23368 wxPyEndAllowThreads(__tstate);
23369 if (PyErr_Occurred()) SWIG_fail;
23370 }
23371 {
23372 wxTreeItemId * resultptr;
23373 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23374 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23375 }
23376 return resultobj;
23377 fail:
23378 return NULL;
23379 }
23380
23381
23382 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23383 PyObject *resultobj;
23384 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23385 wxTreeCtrl *result;
23386 PyObject * obj0 = 0 ;
23387 char *kwnames[] = {
23388 (char *) "self", NULL
23389 };
23390
23391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23393 {
23394 PyThreadState* __tstate = wxPyBeginAllowThreads();
23395 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23396
23397 wxPyEndAllowThreads(__tstate);
23398 if (PyErr_Occurred()) SWIG_fail;
23399 }
23400 {
23401 resultobj = wxPyMake_wxObject(result);
23402 }
23403 return resultobj;
23404 fail:
23405 return NULL;
23406 }
23407
23408
23409 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23410 PyObject *resultobj;
23411 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23412 wxDirFilterListCtrl *result;
23413 PyObject * obj0 = 0 ;
23414 char *kwnames[] = {
23415 (char *) "self", NULL
23416 };
23417
23418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23420 {
23421 PyThreadState* __tstate = wxPyBeginAllowThreads();
23422 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23423
23424 wxPyEndAllowThreads(__tstate);
23425 if (PyErr_Occurred()) SWIG_fail;
23426 }
23427 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23428 return resultobj;
23429 fail:
23430 return NULL;
23431 }
23432
23433
23434 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23435 PyObject *resultobj;
23436 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23437 wxTreeItemId arg2 ;
23438 wxString *arg3 = 0 ;
23439 bool *arg4 = 0 ;
23440 wxTreeItemId result;
23441 wxTreeItemId *argp2 ;
23442 bool temp3 = False ;
23443 bool temp4 ;
23444 PyObject * obj0 = 0 ;
23445 PyObject * obj1 = 0 ;
23446 PyObject * obj2 = 0 ;
23447 char *kwnames[] = {
23448 (char *) "self",(char *) "parentId",(char *) "path", NULL
23449 };
23450
23451 arg4 = &temp4;
23452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23454 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23455 arg2 = *argp2;
23456 {
23457 arg3 = wxString_in_helper(obj2);
23458 if (arg3 == NULL) SWIG_fail;
23459 temp3 = True;
23460 }
23461 {
23462 PyThreadState* __tstate = wxPyBeginAllowThreads();
23463 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23464
23465 wxPyEndAllowThreads(__tstate);
23466 if (PyErr_Occurred()) SWIG_fail;
23467 }
23468 {
23469 wxTreeItemId * resultptr;
23470 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23471 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23472 }
23473 {
23474 PyObject *o = PyInt_FromLong((long) (*arg4));
23475 resultobj = t_output_helper(resultobj,o);
23476 }
23477 {
23478 if (temp3)
23479 delete arg3;
23480 }
23481 return resultobj;
23482 fail:
23483 {
23484 if (temp3)
23485 delete arg3;
23486 }
23487 return NULL;
23488 }
23489
23490
23491 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23492 PyObject *resultobj;
23493 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23494 PyObject * obj0 = 0 ;
23495 char *kwnames[] = {
23496 (char *) "self", NULL
23497 };
23498
23499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23501 {
23502 PyThreadState* __tstate = wxPyBeginAllowThreads();
23503 (arg1)->DoResize();
23504
23505 wxPyEndAllowThreads(__tstate);
23506 if (PyErr_Occurred()) SWIG_fail;
23507 }
23508 Py_INCREF(Py_None); resultobj = Py_None;
23509 return resultobj;
23510 fail:
23511 return NULL;
23512 }
23513
23514
23515 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23516 PyObject *resultobj;
23517 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23518 PyObject * obj0 = 0 ;
23519 char *kwnames[] = {
23520 (char *) "self", NULL
23521 };
23522
23523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23525 {
23526 PyThreadState* __tstate = wxPyBeginAllowThreads();
23527 (arg1)->ReCreateTree();
23528
23529 wxPyEndAllowThreads(__tstate);
23530 if (PyErr_Occurred()) SWIG_fail;
23531 }
23532 Py_INCREF(Py_None); resultobj = Py_None;
23533 return resultobj;
23534 fail:
23535 return NULL;
23536 }
23537
23538
23539 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23540 PyObject *obj;
23541 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23542 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23543 Py_INCREF(obj);
23544 return Py_BuildValue((char *)"");
23545 }
23546 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23547 PyObject *resultobj;
23548 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23549 int arg2 = (int) (int)-1 ;
23550 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23551 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23552 wxSize const &arg4_defvalue = wxDefaultSize ;
23553 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23554 long arg5 = (long) 0 ;
23555 wxDirFilterListCtrl *result;
23556 wxPoint temp3 ;
23557 wxSize temp4 ;
23558 PyObject * obj0 = 0 ;
23559 PyObject * obj2 = 0 ;
23560 PyObject * obj3 = 0 ;
23561 char *kwnames[] = {
23562 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23563 };
23564
23565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23567 if (obj2) {
23568 {
23569 arg3 = &temp3;
23570 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23571 }
23572 }
23573 if (obj3) {
23574 {
23575 arg4 = &temp4;
23576 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23577 }
23578 }
23579 {
23580 PyThreadState* __tstate = wxPyBeginAllowThreads();
23581 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23582
23583 wxPyEndAllowThreads(__tstate);
23584 if (PyErr_Occurred()) SWIG_fail;
23585 }
23586 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23587 return resultobj;
23588 fail:
23589 return NULL;
23590 }
23591
23592
23593 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23594 PyObject *resultobj;
23595 wxDirFilterListCtrl *result;
23596 char *kwnames[] = {
23597 NULL
23598 };
23599
23600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
23601 {
23602 PyThreadState* __tstate = wxPyBeginAllowThreads();
23603 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
23604
23605 wxPyEndAllowThreads(__tstate);
23606 if (PyErr_Occurred()) SWIG_fail;
23607 }
23608 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23609 return resultobj;
23610 fail:
23611 return NULL;
23612 }
23613
23614
23615 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23616 PyObject *resultobj;
23617 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23618 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
23619 int arg3 = (int) (int)-1 ;
23620 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23621 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23622 wxSize const &arg5_defvalue = wxDefaultSize ;
23623 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23624 long arg6 = (long) 0 ;
23625 bool result;
23626 wxPoint temp4 ;
23627 wxSize temp5 ;
23628 PyObject * obj0 = 0 ;
23629 PyObject * obj1 = 0 ;
23630 PyObject * obj3 = 0 ;
23631 PyObject * obj4 = 0 ;
23632 char *kwnames[] = {
23633 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23634 };
23635
23636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
23637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23639 if (obj3) {
23640 {
23641 arg4 = &temp4;
23642 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23643 }
23644 }
23645 if (obj4) {
23646 {
23647 arg5 = &temp5;
23648 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23649 }
23650 }
23651 {
23652 PyThreadState* __tstate = wxPyBeginAllowThreads();
23653 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
23654
23655 wxPyEndAllowThreads(__tstate);
23656 if (PyErr_Occurred()) SWIG_fail;
23657 }
23658 resultobj = PyInt_FromLong((long)result);
23659 return resultobj;
23660 fail:
23661 return NULL;
23662 }
23663
23664
23665 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
23666 PyObject *resultobj;
23667 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23668 wxString *arg2 = 0 ;
23669 int arg3 ;
23670 bool temp2 = False ;
23671 PyObject * obj0 = 0 ;
23672 PyObject * obj1 = 0 ;
23673 char *kwnames[] = {
23674 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23675 };
23676
23677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
23678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23679 {
23680 arg2 = wxString_in_helper(obj1);
23681 if (arg2 == NULL) SWIG_fail;
23682 temp2 = True;
23683 }
23684 {
23685 PyThreadState* __tstate = wxPyBeginAllowThreads();
23686 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
23687
23688 wxPyEndAllowThreads(__tstate);
23689 if (PyErr_Occurred()) SWIG_fail;
23690 }
23691 Py_INCREF(Py_None); resultobj = Py_None;
23692 {
23693 if (temp2)
23694 delete arg2;
23695 }
23696 return resultobj;
23697 fail:
23698 {
23699 if (temp2)
23700 delete arg2;
23701 }
23702 return NULL;
23703 }
23704
23705
23706 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
23707 PyObject *obj;
23708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23709 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
23710 Py_INCREF(obj);
23711 return Py_BuildValue((char *)"");
23712 }
23713 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23714 PyObject *resultobj;
23715 wxWindow *arg1 = (wxWindow *) 0 ;
23716 int arg2 ;
23717 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23718 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23719 wxSize const &arg4_defvalue = wxDefaultSize ;
23720 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23721 long arg5 = (long) 0 ;
23722 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23723 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23724 wxString const &arg7_defvalue = wxPyControlNameStr ;
23725 wxString *arg7 = (wxString *) &arg7_defvalue ;
23726 wxPyControl *result;
23727 wxPoint temp3 ;
23728 wxSize temp4 ;
23729 bool temp7 = False ;
23730 PyObject * obj0 = 0 ;
23731 PyObject * obj2 = 0 ;
23732 PyObject * obj3 = 0 ;
23733 PyObject * obj5 = 0 ;
23734 PyObject * obj6 = 0 ;
23735 char *kwnames[] = {
23736 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23737 };
23738
23739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
23740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23741 if (obj2) {
23742 {
23743 arg3 = &temp3;
23744 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23745 }
23746 }
23747 if (obj3) {
23748 {
23749 arg4 = &temp4;
23750 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23751 }
23752 }
23753 if (obj5) {
23754 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23755 if (arg6 == NULL) {
23756 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23757 }
23758 }
23759 if (obj6) {
23760 {
23761 arg7 = wxString_in_helper(obj6);
23762 if (arg7 == NULL) SWIG_fail;
23763 temp7 = True;
23764 }
23765 }
23766 {
23767 PyThreadState* __tstate = wxPyBeginAllowThreads();
23768 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23769
23770 wxPyEndAllowThreads(__tstate);
23771 if (PyErr_Occurred()) SWIG_fail;
23772 }
23773 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
23774 {
23775 if (temp7)
23776 delete arg7;
23777 }
23778 return resultobj;
23779 fail:
23780 {
23781 if (temp7)
23782 delete arg7;
23783 }
23784 return NULL;
23785 }
23786
23787
23788 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23789 PyObject *resultobj;
23790 wxPyControl *arg1 = (wxPyControl *) 0 ;
23791 PyObject *arg2 = (PyObject *) 0 ;
23792 PyObject *arg3 = (PyObject *) 0 ;
23793 PyObject * obj0 = 0 ;
23794 PyObject * obj1 = 0 ;
23795 PyObject * obj2 = 0 ;
23796 char *kwnames[] = {
23797 (char *) "self",(char *) "self",(char *) "_class", NULL
23798 };
23799
23800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23802 arg2 = obj1;
23803 arg3 = obj2;
23804 {
23805 PyThreadState* __tstate = wxPyBeginAllowThreads();
23806 (arg1)->_setCallbackInfo(arg2,arg3);
23807
23808 wxPyEndAllowThreads(__tstate);
23809 if (PyErr_Occurred()) SWIG_fail;
23810 }
23811 Py_INCREF(Py_None); resultobj = Py_None;
23812 return resultobj;
23813 fail:
23814 return NULL;
23815 }
23816
23817
23818 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23819 PyObject *resultobj;
23820 wxPyControl *arg1 = (wxPyControl *) 0 ;
23821 int arg2 ;
23822 int arg3 ;
23823 int arg4 ;
23824 int arg5 ;
23825 PyObject * obj0 = 0 ;
23826 char *kwnames[] = {
23827 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23828 };
23829
23830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
23831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23832 {
23833 PyThreadState* __tstate = wxPyBeginAllowThreads();
23834 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
23835
23836 wxPyEndAllowThreads(__tstate);
23837 if (PyErr_Occurred()) SWIG_fail;
23838 }
23839 Py_INCREF(Py_None); resultobj = Py_None;
23840 return resultobj;
23841 fail:
23842 return NULL;
23843 }
23844
23845
23846 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23847 PyObject *resultobj;
23848 wxPyControl *arg1 = (wxPyControl *) 0 ;
23849 int arg2 ;
23850 int arg3 ;
23851 int arg4 ;
23852 int arg5 ;
23853 int arg6 = (int) wxSIZE_AUTO ;
23854 PyObject * obj0 = 0 ;
23855 char *kwnames[] = {
23856 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23857 };
23858
23859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
23860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23861 {
23862 PyThreadState* __tstate = wxPyBeginAllowThreads();
23863 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
23864
23865 wxPyEndAllowThreads(__tstate);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
23868 Py_INCREF(Py_None); resultobj = Py_None;
23869 return resultobj;
23870 fail:
23871 return NULL;
23872 }
23873
23874
23875 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23876 PyObject *resultobj;
23877 wxPyControl *arg1 = (wxPyControl *) 0 ;
23878 int arg2 ;
23879 int arg3 ;
23880 PyObject * obj0 = 0 ;
23881 char *kwnames[] = {
23882 (char *) "self",(char *) "width",(char *) "height", NULL
23883 };
23884
23885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23887 {
23888 PyThreadState* __tstate = wxPyBeginAllowThreads();
23889 (arg1)->base_DoSetClientSize(arg2,arg3);
23890
23891 wxPyEndAllowThreads(__tstate);
23892 if (PyErr_Occurred()) SWIG_fail;
23893 }
23894 Py_INCREF(Py_None); resultobj = Py_None;
23895 return resultobj;
23896 fail:
23897 return NULL;
23898 }
23899
23900
23901 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23902 PyObject *resultobj;
23903 wxPyControl *arg1 = (wxPyControl *) 0 ;
23904 int arg2 ;
23905 int arg3 ;
23906 PyObject * obj0 = 0 ;
23907 char *kwnames[] = {
23908 (char *) "self",(char *) "x",(char *) "y", NULL
23909 };
23910
23911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
23912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23913 {
23914 PyThreadState* __tstate = wxPyBeginAllowThreads();
23915 (arg1)->base_DoSetVirtualSize(arg2,arg3);
23916
23917 wxPyEndAllowThreads(__tstate);
23918 if (PyErr_Occurred()) SWIG_fail;
23919 }
23920 Py_INCREF(Py_None); resultobj = Py_None;
23921 return resultobj;
23922 fail:
23923 return NULL;
23924 }
23925
23926
23927 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23928 PyObject *resultobj;
23929 wxPyControl *arg1 = (wxPyControl *) 0 ;
23930 int *arg2 = (int *) 0 ;
23931 int *arg3 = (int *) 0 ;
23932 int temp2 ;
23933 int temp3 ;
23934 PyObject * obj0 = 0 ;
23935 char *kwnames[] = {
23936 (char *) "self", NULL
23937 };
23938
23939 arg2 = &temp2;
23940 arg3 = &temp3;
23941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
23942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23943 {
23944 PyThreadState* __tstate = wxPyBeginAllowThreads();
23945 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
23946
23947 wxPyEndAllowThreads(__tstate);
23948 if (PyErr_Occurred()) SWIG_fail;
23949 }
23950 Py_INCREF(Py_None); resultobj = Py_None;
23951 {
23952 PyObject *o = PyInt_FromLong((long) (*arg2));
23953 resultobj = t_output_helper(resultobj,o);
23954 }
23955 {
23956 PyObject *o = PyInt_FromLong((long) (*arg3));
23957 resultobj = t_output_helper(resultobj,o);
23958 }
23959 return resultobj;
23960 fail:
23961 return NULL;
23962 }
23963
23964
23965 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
23966 PyObject *resultobj;
23967 wxPyControl *arg1 = (wxPyControl *) 0 ;
23968 int *arg2 = (int *) 0 ;
23969 int *arg3 = (int *) 0 ;
23970 int temp2 ;
23971 int temp3 ;
23972 PyObject * obj0 = 0 ;
23973 char *kwnames[] = {
23974 (char *) "self", NULL
23975 };
23976
23977 arg2 = &temp2;
23978 arg3 = &temp3;
23979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
23980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23981 {
23982 PyThreadState* __tstate = wxPyBeginAllowThreads();
23983 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
23984
23985 wxPyEndAllowThreads(__tstate);
23986 if (PyErr_Occurred()) SWIG_fail;
23987 }
23988 Py_INCREF(Py_None); resultobj = Py_None;
23989 {
23990 PyObject *o = PyInt_FromLong((long) (*arg2));
23991 resultobj = t_output_helper(resultobj,o);
23992 }
23993 {
23994 PyObject *o = PyInt_FromLong((long) (*arg3));
23995 resultobj = t_output_helper(resultobj,o);
23996 }
23997 return resultobj;
23998 fail:
23999 return NULL;
24000 }
24001
24002
24003 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24004 PyObject *resultobj;
24005 wxPyControl *arg1 = (wxPyControl *) 0 ;
24006 int *arg2 = (int *) 0 ;
24007 int *arg3 = (int *) 0 ;
24008 int temp2 ;
24009 int temp3 ;
24010 PyObject * obj0 = 0 ;
24011 char *kwnames[] = {
24012 (char *) "self", NULL
24013 };
24014
24015 arg2 = &temp2;
24016 arg3 = &temp3;
24017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24019 {
24020 PyThreadState* __tstate = wxPyBeginAllowThreads();
24021 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24022
24023 wxPyEndAllowThreads(__tstate);
24024 if (PyErr_Occurred()) SWIG_fail;
24025 }
24026 Py_INCREF(Py_None); resultobj = Py_None;
24027 {
24028 PyObject *o = PyInt_FromLong((long) (*arg2));
24029 resultobj = t_output_helper(resultobj,o);
24030 }
24031 {
24032 PyObject *o = PyInt_FromLong((long) (*arg3));
24033 resultobj = t_output_helper(resultobj,o);
24034 }
24035 return resultobj;
24036 fail:
24037 return NULL;
24038 }
24039
24040
24041 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24042 PyObject *resultobj;
24043 wxPyControl *arg1 = (wxPyControl *) 0 ;
24044 wxSize result;
24045 PyObject * obj0 = 0 ;
24046 char *kwnames[] = {
24047 (char *) "self", NULL
24048 };
24049
24050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24052 {
24053 PyThreadState* __tstate = wxPyBeginAllowThreads();
24054 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24055
24056 wxPyEndAllowThreads(__tstate);
24057 if (PyErr_Occurred()) SWIG_fail;
24058 }
24059 {
24060 wxSize * resultptr;
24061 resultptr = new wxSize((wxSize &) result);
24062 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24063 }
24064 return resultobj;
24065 fail:
24066 return NULL;
24067 }
24068
24069
24070 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24071 PyObject *resultobj;
24072 wxPyControl *arg1 = (wxPyControl *) 0 ;
24073 wxSize result;
24074 PyObject * obj0 = 0 ;
24075 char *kwnames[] = {
24076 (char *) "self", NULL
24077 };
24078
24079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24081 {
24082 PyThreadState* __tstate = wxPyBeginAllowThreads();
24083 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24084
24085 wxPyEndAllowThreads(__tstate);
24086 if (PyErr_Occurred()) SWIG_fail;
24087 }
24088 {
24089 wxSize * resultptr;
24090 resultptr = new wxSize((wxSize &) result);
24091 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24092 }
24093 return resultobj;
24094 fail:
24095 return NULL;
24096 }
24097
24098
24099 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24100 PyObject *resultobj;
24101 wxPyControl *arg1 = (wxPyControl *) 0 ;
24102 PyObject * obj0 = 0 ;
24103 char *kwnames[] = {
24104 (char *) "self", NULL
24105 };
24106
24107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24109 {
24110 PyThreadState* __tstate = wxPyBeginAllowThreads();
24111 (arg1)->base_InitDialog();
24112
24113 wxPyEndAllowThreads(__tstate);
24114 if (PyErr_Occurred()) SWIG_fail;
24115 }
24116 Py_INCREF(Py_None); resultobj = Py_None;
24117 return resultobj;
24118 fail:
24119 return NULL;
24120 }
24121
24122
24123 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24124 PyObject *resultobj;
24125 wxPyControl *arg1 = (wxPyControl *) 0 ;
24126 bool result;
24127 PyObject * obj0 = 0 ;
24128 char *kwnames[] = {
24129 (char *) "self", NULL
24130 };
24131
24132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24134 {
24135 PyThreadState* __tstate = wxPyBeginAllowThreads();
24136 result = (bool)(arg1)->base_TransferDataToWindow();
24137
24138 wxPyEndAllowThreads(__tstate);
24139 if (PyErr_Occurred()) SWIG_fail;
24140 }
24141 resultobj = PyInt_FromLong((long)result);
24142 return resultobj;
24143 fail:
24144 return NULL;
24145 }
24146
24147
24148 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24149 PyObject *resultobj;
24150 wxPyControl *arg1 = (wxPyControl *) 0 ;
24151 bool result;
24152 PyObject * obj0 = 0 ;
24153 char *kwnames[] = {
24154 (char *) "self", NULL
24155 };
24156
24157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",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 result = (bool)(arg1)->base_TransferDataFromWindow();
24162
24163 wxPyEndAllowThreads(__tstate);
24164 if (PyErr_Occurred()) SWIG_fail;
24165 }
24166 resultobj = PyInt_FromLong((long)result);
24167 return resultobj;
24168 fail:
24169 return NULL;
24170 }
24171
24172
24173 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24174 PyObject *resultobj;
24175 wxPyControl *arg1 = (wxPyControl *) 0 ;
24176 bool result;
24177 PyObject * obj0 = 0 ;
24178 char *kwnames[] = {
24179 (char *) "self", NULL
24180 };
24181
24182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24184 {
24185 PyThreadState* __tstate = wxPyBeginAllowThreads();
24186 result = (bool)(arg1)->base_Validate();
24187
24188 wxPyEndAllowThreads(__tstate);
24189 if (PyErr_Occurred()) SWIG_fail;
24190 }
24191 resultobj = PyInt_FromLong((long)result);
24192 return resultobj;
24193 fail:
24194 return NULL;
24195 }
24196
24197
24198 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24199 PyObject *resultobj;
24200 wxPyControl *arg1 = (wxPyControl *) 0 ;
24201 bool result;
24202 PyObject * obj0 = 0 ;
24203 char *kwnames[] = {
24204 (char *) "self", NULL
24205 };
24206
24207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24209 {
24210 PyThreadState* __tstate = wxPyBeginAllowThreads();
24211 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24212
24213 wxPyEndAllowThreads(__tstate);
24214 if (PyErr_Occurred()) SWIG_fail;
24215 }
24216 resultobj = PyInt_FromLong((long)result);
24217 return resultobj;
24218 fail:
24219 return NULL;
24220 }
24221
24222
24223 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24224 PyObject *resultobj;
24225 wxPyControl *arg1 = (wxPyControl *) 0 ;
24226 bool result;
24227 PyObject * obj0 = 0 ;
24228 char *kwnames[] = {
24229 (char *) "self", NULL
24230 };
24231
24232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24234 {
24235 PyThreadState* __tstate = wxPyBeginAllowThreads();
24236 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24237
24238 wxPyEndAllowThreads(__tstate);
24239 if (PyErr_Occurred()) SWIG_fail;
24240 }
24241 resultobj = PyInt_FromLong((long)result);
24242 return resultobj;
24243 fail:
24244 return NULL;
24245 }
24246
24247
24248 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24249 PyObject *resultobj;
24250 wxPyControl *arg1 = (wxPyControl *) 0 ;
24251 wxSize result;
24252 PyObject * obj0 = 0 ;
24253 char *kwnames[] = {
24254 (char *) "self", NULL
24255 };
24256
24257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24259 {
24260 PyThreadState* __tstate = wxPyBeginAllowThreads();
24261 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24262
24263 wxPyEndAllowThreads(__tstate);
24264 if (PyErr_Occurred()) SWIG_fail;
24265 }
24266 {
24267 wxSize * resultptr;
24268 resultptr = new wxSize((wxSize &) result);
24269 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24270 }
24271 return resultobj;
24272 fail:
24273 return NULL;
24274 }
24275
24276
24277 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24278 PyObject *resultobj;
24279 wxPyControl *arg1 = (wxPyControl *) 0 ;
24280 wxWindow *arg2 = (wxWindow *) 0 ;
24281 PyObject * obj0 = 0 ;
24282 PyObject * obj1 = 0 ;
24283 char *kwnames[] = {
24284 (char *) "self",(char *) "child", NULL
24285 };
24286
24287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24289 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24290 {
24291 PyThreadState* __tstate = wxPyBeginAllowThreads();
24292 (arg1)->base_AddChild(arg2);
24293
24294 wxPyEndAllowThreads(__tstate);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 }
24297 Py_INCREF(Py_None); resultobj = Py_None;
24298 return resultobj;
24299 fail:
24300 return NULL;
24301 }
24302
24303
24304 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24305 PyObject *resultobj;
24306 wxPyControl *arg1 = (wxPyControl *) 0 ;
24307 wxWindow *arg2 = (wxWindow *) 0 ;
24308 PyObject * obj0 = 0 ;
24309 PyObject * obj1 = 0 ;
24310 char *kwnames[] = {
24311 (char *) "self",(char *) "child", NULL
24312 };
24313
24314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24316 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24317 {
24318 PyThreadState* __tstate = wxPyBeginAllowThreads();
24319 (arg1)->base_RemoveChild(arg2);
24320
24321 wxPyEndAllowThreads(__tstate);
24322 if (PyErr_Occurred()) SWIG_fail;
24323 }
24324 Py_INCREF(Py_None); resultobj = Py_None;
24325 return resultobj;
24326 fail:
24327 return NULL;
24328 }
24329
24330
24331 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24332 PyObject *obj;
24333 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24334 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24335 Py_INCREF(obj);
24336 return Py_BuildValue((char *)"");
24337 }
24338 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24339 PyObject *resultobj;
24340 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24341 int arg2 = (int) 0 ;
24342 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24343 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24344 wxHelpEvent *result;
24345 wxPoint temp3 ;
24346 PyObject * obj2 = 0 ;
24347 char *kwnames[] = {
24348 (char *) "type",(char *) "winid",(char *) "pt", NULL
24349 };
24350
24351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24352 if (obj2) {
24353 {
24354 arg3 = &temp3;
24355 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24356 }
24357 }
24358 {
24359 PyThreadState* __tstate = wxPyBeginAllowThreads();
24360 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24361
24362 wxPyEndAllowThreads(__tstate);
24363 if (PyErr_Occurred()) SWIG_fail;
24364 }
24365 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24366 return resultobj;
24367 fail:
24368 return NULL;
24369 }
24370
24371
24372 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24373 PyObject *resultobj;
24374 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24375 wxPoint *result;
24376 PyObject * obj0 = 0 ;
24377 char *kwnames[] = {
24378 (char *) "self", NULL
24379 };
24380
24381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24383 {
24384 PyThreadState* __tstate = wxPyBeginAllowThreads();
24385 {
24386 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24387 result = (wxPoint *) &_result_ref;
24388 }
24389
24390 wxPyEndAllowThreads(__tstate);
24391 if (PyErr_Occurred()) SWIG_fail;
24392 }
24393 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24394 return resultobj;
24395 fail:
24396 return NULL;
24397 }
24398
24399
24400 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24401 PyObject *resultobj;
24402 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24403 wxPoint *arg2 = 0 ;
24404 wxPoint temp2 ;
24405 PyObject * obj0 = 0 ;
24406 PyObject * obj1 = 0 ;
24407 char *kwnames[] = {
24408 (char *) "self",(char *) "pos", NULL
24409 };
24410
24411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24413 {
24414 arg2 = &temp2;
24415 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24416 }
24417 {
24418 PyThreadState* __tstate = wxPyBeginAllowThreads();
24419 (arg1)->SetPosition((wxPoint const &)*arg2);
24420
24421 wxPyEndAllowThreads(__tstate);
24422 if (PyErr_Occurred()) SWIG_fail;
24423 }
24424 Py_INCREF(Py_None); resultobj = Py_None;
24425 return resultobj;
24426 fail:
24427 return NULL;
24428 }
24429
24430
24431 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24432 PyObject *resultobj;
24433 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24434 wxString *result;
24435 PyObject * obj0 = 0 ;
24436 char *kwnames[] = {
24437 (char *) "self", NULL
24438 };
24439
24440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24442 {
24443 PyThreadState* __tstate = wxPyBeginAllowThreads();
24444 {
24445 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24446 result = (wxString *) &_result_ref;
24447 }
24448
24449 wxPyEndAllowThreads(__tstate);
24450 if (PyErr_Occurred()) SWIG_fail;
24451 }
24452 {
24453 #if wxUSE_UNICODE
24454 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24455 #else
24456 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24457 #endif
24458 }
24459 return resultobj;
24460 fail:
24461 return NULL;
24462 }
24463
24464
24465 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24466 PyObject *resultobj;
24467 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24468 wxString *arg2 = 0 ;
24469 bool temp2 = False ;
24470 PyObject * obj0 = 0 ;
24471 PyObject * obj1 = 0 ;
24472 char *kwnames[] = {
24473 (char *) "self",(char *) "link", NULL
24474 };
24475
24476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24478 {
24479 arg2 = wxString_in_helper(obj1);
24480 if (arg2 == NULL) SWIG_fail;
24481 temp2 = True;
24482 }
24483 {
24484 PyThreadState* __tstate = wxPyBeginAllowThreads();
24485 (arg1)->SetLink((wxString const &)*arg2);
24486
24487 wxPyEndAllowThreads(__tstate);
24488 if (PyErr_Occurred()) SWIG_fail;
24489 }
24490 Py_INCREF(Py_None); resultobj = Py_None;
24491 {
24492 if (temp2)
24493 delete arg2;
24494 }
24495 return resultobj;
24496 fail:
24497 {
24498 if (temp2)
24499 delete arg2;
24500 }
24501 return NULL;
24502 }
24503
24504
24505 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24506 PyObject *resultobj;
24507 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24508 wxString *result;
24509 PyObject * obj0 = 0 ;
24510 char *kwnames[] = {
24511 (char *) "self", NULL
24512 };
24513
24514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24516 {
24517 PyThreadState* __tstate = wxPyBeginAllowThreads();
24518 {
24519 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24520 result = (wxString *) &_result_ref;
24521 }
24522
24523 wxPyEndAllowThreads(__tstate);
24524 if (PyErr_Occurred()) SWIG_fail;
24525 }
24526 {
24527 #if wxUSE_UNICODE
24528 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24529 #else
24530 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24531 #endif
24532 }
24533 return resultobj;
24534 fail:
24535 return NULL;
24536 }
24537
24538
24539 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24540 PyObject *resultobj;
24541 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24542 wxString *arg2 = 0 ;
24543 bool temp2 = False ;
24544 PyObject * obj0 = 0 ;
24545 PyObject * obj1 = 0 ;
24546 char *kwnames[] = {
24547 (char *) "self",(char *) "target", NULL
24548 };
24549
24550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24552 {
24553 arg2 = wxString_in_helper(obj1);
24554 if (arg2 == NULL) SWIG_fail;
24555 temp2 = True;
24556 }
24557 {
24558 PyThreadState* __tstate = wxPyBeginAllowThreads();
24559 (arg1)->SetTarget((wxString const &)*arg2);
24560
24561 wxPyEndAllowThreads(__tstate);
24562 if (PyErr_Occurred()) SWIG_fail;
24563 }
24564 Py_INCREF(Py_None); resultobj = Py_None;
24565 {
24566 if (temp2)
24567 delete arg2;
24568 }
24569 return resultobj;
24570 fail:
24571 {
24572 if (temp2)
24573 delete arg2;
24574 }
24575 return NULL;
24576 }
24577
24578
24579 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24580 PyObject *obj;
24581 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24582 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
24583 Py_INCREF(obj);
24584 return Py_BuildValue((char *)"");
24585 }
24586 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24587 PyObject *resultobj;
24588 wxWindow *arg1 = (wxWindow *) NULL ;
24589 bool arg2 = (bool) True ;
24590 wxContextHelp *result;
24591 PyObject * obj0 = 0 ;
24592 PyObject * obj1 = 0 ;
24593 char *kwnames[] = {
24594 (char *) "window",(char *) "doNow", NULL
24595 };
24596
24597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
24598 if (obj0) {
24599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24600 }
24601 if (obj1) {
24602 arg2 = PyInt_AsLong(obj1) ? true : false;
24603 if (PyErr_Occurred()) SWIG_fail;
24604 }
24605 {
24606 PyThreadState* __tstate = wxPyBeginAllowThreads();
24607 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
24608
24609 wxPyEndAllowThreads(__tstate);
24610 if (PyErr_Occurred()) SWIG_fail;
24611 }
24612 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
24613 return resultobj;
24614 fail:
24615 return NULL;
24616 }
24617
24618
24619 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24620 PyObject *resultobj;
24621 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24622 PyObject * obj0 = 0 ;
24623 char *kwnames[] = {
24624 (char *) "self", NULL
24625 };
24626
24627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
24628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24629 {
24630 PyThreadState* __tstate = wxPyBeginAllowThreads();
24631 delete arg1;
24632
24633 wxPyEndAllowThreads(__tstate);
24634 if (PyErr_Occurred()) SWIG_fail;
24635 }
24636 Py_INCREF(Py_None); resultobj = Py_None;
24637 return resultobj;
24638 fail:
24639 return NULL;
24640 }
24641
24642
24643 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24644 PyObject *resultobj;
24645 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24646 wxWindow *arg2 = (wxWindow *) NULL ;
24647 bool result;
24648 PyObject * obj0 = 0 ;
24649 PyObject * obj1 = 0 ;
24650 char *kwnames[] = {
24651 (char *) "self",(char *) "window", NULL
24652 };
24653
24654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
24655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24656 if (obj1) {
24657 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24658 }
24659 {
24660 PyThreadState* __tstate = wxPyBeginAllowThreads();
24661 result = (bool)(arg1)->BeginContextHelp(arg2);
24662
24663 wxPyEndAllowThreads(__tstate);
24664 if (PyErr_Occurred()) SWIG_fail;
24665 }
24666 resultobj = PyInt_FromLong((long)result);
24667 return resultobj;
24668 fail:
24669 return NULL;
24670 }
24671
24672
24673 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24674 PyObject *resultobj;
24675 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24676 bool result;
24677 PyObject * obj0 = 0 ;
24678 char *kwnames[] = {
24679 (char *) "self", NULL
24680 };
24681
24682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
24683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24684 {
24685 PyThreadState* __tstate = wxPyBeginAllowThreads();
24686 result = (bool)(arg1)->EndContextHelp();
24687
24688 wxPyEndAllowThreads(__tstate);
24689 if (PyErr_Occurred()) SWIG_fail;
24690 }
24691 resultobj = PyInt_FromLong((long)result);
24692 return resultobj;
24693 fail:
24694 return NULL;
24695 }
24696
24697
24698 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
24699 PyObject *obj;
24700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24701 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
24702 Py_INCREF(obj);
24703 return Py_BuildValue((char *)"");
24704 }
24705 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
24706 PyObject *resultobj;
24707 wxWindow *arg1 = (wxWindow *) 0 ;
24708 int arg2 = (int) wxID_CONTEXT_HELP ;
24709 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24710 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24711 wxSize const &arg4_defvalue = wxDefaultSize ;
24712 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24713 long arg5 = (long) wxBU_AUTODRAW ;
24714 wxContextHelpButton *result;
24715 wxPoint temp3 ;
24716 wxSize temp4 ;
24717 PyObject * obj0 = 0 ;
24718 PyObject * obj2 = 0 ;
24719 PyObject * obj3 = 0 ;
24720 char *kwnames[] = {
24721 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24722 };
24723
24724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24726 if (obj2) {
24727 {
24728 arg3 = &temp3;
24729 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24730 }
24731 }
24732 if (obj3) {
24733 {
24734 arg4 = &temp4;
24735 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24736 }
24737 }
24738 {
24739 PyThreadState* __tstate = wxPyBeginAllowThreads();
24740 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24741
24742 wxPyEndAllowThreads(__tstate);
24743 if (PyErr_Occurred()) SWIG_fail;
24744 }
24745 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
24746 return resultobj;
24747 fail:
24748 return NULL;
24749 }
24750
24751
24752 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
24753 PyObject *obj;
24754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24755 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
24756 Py_INCREF(obj);
24757 return Py_BuildValue((char *)"");
24758 }
24759 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
24760 PyObject *resultobj;
24761 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24762 wxHelpProvider *result;
24763 PyObject * obj0 = 0 ;
24764 char *kwnames[] = {
24765 (char *) "helpProvider", NULL
24766 };
24767
24768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
24769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24770 {
24771 PyThreadState* __tstate = wxPyBeginAllowThreads();
24772 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
24773
24774 wxPyEndAllowThreads(__tstate);
24775 if (PyErr_Occurred()) SWIG_fail;
24776 }
24777 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24778 return resultobj;
24779 fail:
24780 return NULL;
24781 }
24782
24783
24784 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
24785 PyObject *resultobj;
24786 wxHelpProvider *result;
24787 char *kwnames[] = {
24788 NULL
24789 };
24790
24791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
24792 {
24793 PyThreadState* __tstate = wxPyBeginAllowThreads();
24794 result = (wxHelpProvider *)wxHelpProvider::Get();
24795
24796 wxPyEndAllowThreads(__tstate);
24797 if (PyErr_Occurred()) SWIG_fail;
24798 }
24799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24800 return resultobj;
24801 fail:
24802 return NULL;
24803 }
24804
24805
24806 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24807 PyObject *resultobj;
24808 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24809 wxWindow *arg2 = (wxWindow *) 0 ;
24810 wxString result;
24811 PyObject * obj0 = 0 ;
24812 PyObject * obj1 = 0 ;
24813 char *kwnames[] = {
24814 (char *) "self",(char *) "window", NULL
24815 };
24816
24817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
24818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24819 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24820 {
24821 PyThreadState* __tstate = wxPyBeginAllowThreads();
24822 result = (arg1)->GetHelp((wxWindow const *)arg2);
24823
24824 wxPyEndAllowThreads(__tstate);
24825 if (PyErr_Occurred()) SWIG_fail;
24826 }
24827 {
24828 #if wxUSE_UNICODE
24829 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
24830 #else
24831 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
24832 #endif
24833 }
24834 return resultobj;
24835 fail:
24836 return NULL;
24837 }
24838
24839
24840 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24841 PyObject *resultobj;
24842 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24843 wxWindow *arg2 = (wxWindow *) 0 ;
24844 bool result;
24845 PyObject * obj0 = 0 ;
24846 PyObject * obj1 = 0 ;
24847 char *kwnames[] = {
24848 (char *) "self",(char *) "window", NULL
24849 };
24850
24851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
24852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24853 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24854 {
24855 PyThreadState* __tstate = wxPyBeginAllowThreads();
24856 result = (bool)(arg1)->ShowHelp(arg2);
24857
24858 wxPyEndAllowThreads(__tstate);
24859 if (PyErr_Occurred()) SWIG_fail;
24860 }
24861 resultobj = PyInt_FromLong((long)result);
24862 return resultobj;
24863 fail:
24864 return NULL;
24865 }
24866
24867
24868 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24869 PyObject *resultobj;
24870 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24871 wxWindow *arg2 = (wxWindow *) 0 ;
24872 wxString *arg3 = 0 ;
24873 bool temp3 = False ;
24874 PyObject * obj0 = 0 ;
24875 PyObject * obj1 = 0 ;
24876 PyObject * obj2 = 0 ;
24877 char *kwnames[] = {
24878 (char *) "self",(char *) "window",(char *) "text", NULL
24879 };
24880
24881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
24882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24883 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24884 {
24885 arg3 = wxString_in_helper(obj2);
24886 if (arg3 == NULL) SWIG_fail;
24887 temp3 = True;
24888 }
24889 {
24890 PyThreadState* __tstate = wxPyBeginAllowThreads();
24891 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
24892
24893 wxPyEndAllowThreads(__tstate);
24894 if (PyErr_Occurred()) SWIG_fail;
24895 }
24896 Py_INCREF(Py_None); resultobj = Py_None;
24897 {
24898 if (temp3)
24899 delete arg3;
24900 }
24901 return resultobj;
24902 fail:
24903 {
24904 if (temp3)
24905 delete arg3;
24906 }
24907 return NULL;
24908 }
24909
24910
24911 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
24912 PyObject *resultobj;
24913 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24914 int arg2 ;
24915 wxString *arg3 = 0 ;
24916 bool temp3 = False ;
24917 PyObject * obj0 = 0 ;
24918 PyObject * obj2 = 0 ;
24919 char *kwnames[] = {
24920 (char *) "self",(char *) "id",(char *) "text", NULL
24921 };
24922
24923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
24924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24925 {
24926 arg3 = wxString_in_helper(obj2);
24927 if (arg3 == NULL) SWIG_fail;
24928 temp3 = True;
24929 }
24930 {
24931 PyThreadState* __tstate = wxPyBeginAllowThreads();
24932 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
24933
24934 wxPyEndAllowThreads(__tstate);
24935 if (PyErr_Occurred()) SWIG_fail;
24936 }
24937 Py_INCREF(Py_None); resultobj = Py_None;
24938 {
24939 if (temp3)
24940 delete arg3;
24941 }
24942 return resultobj;
24943 fail:
24944 {
24945 if (temp3)
24946 delete arg3;
24947 }
24948 return NULL;
24949 }
24950
24951
24952 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
24953 PyObject *resultobj;
24954 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24955 PyObject * obj0 = 0 ;
24956 char *kwnames[] = {
24957 (char *) "self", NULL
24958 };
24959
24960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
24961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24962 {
24963 PyThreadState* __tstate = wxPyBeginAllowThreads();
24964 wxHelpProvider_Destroy(arg1);
24965
24966 wxPyEndAllowThreads(__tstate);
24967 if (PyErr_Occurred()) SWIG_fail;
24968 }
24969 Py_INCREF(Py_None); resultobj = Py_None;
24970 return resultobj;
24971 fail:
24972 return NULL;
24973 }
24974
24975
24976 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
24977 PyObject *obj;
24978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24979 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
24980 Py_INCREF(obj);
24981 return Py_BuildValue((char *)"");
24982 }
24983 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
24984 PyObject *resultobj;
24985 wxSimpleHelpProvider *result;
24986 char *kwnames[] = {
24987 NULL
24988 };
24989
24990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
24991 {
24992 PyThreadState* __tstate = wxPyBeginAllowThreads();
24993 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
24994
24995 wxPyEndAllowThreads(__tstate);
24996 if (PyErr_Occurred()) SWIG_fail;
24997 }
24998 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
24999 return resultobj;
25000 fail:
25001 return NULL;
25002 }
25003
25004
25005 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25006 PyObject *obj;
25007 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25008 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25009 Py_INCREF(obj);
25010 return Py_BuildValue((char *)"");
25011 }
25012 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25013 PyObject *resultobj;
25014 wxBitmap *arg1 = 0 ;
25015 wxCursor const &arg2_defvalue = wxNullCursor ;
25016 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25017 wxGenericDragImage *result;
25018 PyObject * obj0 = 0 ;
25019 PyObject * obj1 = 0 ;
25020 char *kwnames[] = {
25021 (char *) "image",(char *) "cursor", NULL
25022 };
25023
25024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25026 if (arg1 == NULL) {
25027 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25028 }
25029 if (obj1) {
25030 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25031 if (arg2 == NULL) {
25032 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25033 }
25034 }
25035 {
25036 PyThreadState* __tstate = wxPyBeginAllowThreads();
25037 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25038
25039 wxPyEndAllowThreads(__tstate);
25040 if (PyErr_Occurred()) SWIG_fail;
25041 }
25042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25043 return resultobj;
25044 fail:
25045 return NULL;
25046 }
25047
25048
25049 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25050 PyObject *resultobj;
25051 wxIcon *arg1 = 0 ;
25052 wxCursor const &arg2_defvalue = wxNullCursor ;
25053 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25054 wxGenericDragImage *result;
25055 PyObject * obj0 = 0 ;
25056 PyObject * obj1 = 0 ;
25057 char *kwnames[] = {
25058 (char *) "image",(char *) "cursor", NULL
25059 };
25060
25061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25063 if (arg1 == NULL) {
25064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25065 }
25066 if (obj1) {
25067 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25068 if (arg2 == NULL) {
25069 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25070 }
25071 }
25072 {
25073 PyThreadState* __tstate = wxPyBeginAllowThreads();
25074 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25075
25076 wxPyEndAllowThreads(__tstate);
25077 if (PyErr_Occurred()) SWIG_fail;
25078 }
25079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25080 return resultobj;
25081 fail:
25082 return NULL;
25083 }
25084
25085
25086 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25087 PyObject *resultobj;
25088 wxString *arg1 = 0 ;
25089 wxCursor const &arg2_defvalue = wxNullCursor ;
25090 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25091 wxGenericDragImage *result;
25092 bool temp1 = False ;
25093 PyObject * obj0 = 0 ;
25094 PyObject * obj1 = 0 ;
25095 char *kwnames[] = {
25096 (char *) "str",(char *) "cursor", NULL
25097 };
25098
25099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25100 {
25101 arg1 = wxString_in_helper(obj0);
25102 if (arg1 == NULL) SWIG_fail;
25103 temp1 = True;
25104 }
25105 if (obj1) {
25106 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25107 if (arg2 == NULL) {
25108 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25109 }
25110 }
25111 {
25112 PyThreadState* __tstate = wxPyBeginAllowThreads();
25113 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25114
25115 wxPyEndAllowThreads(__tstate);
25116 if (PyErr_Occurred()) SWIG_fail;
25117 }
25118 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25119 {
25120 if (temp1)
25121 delete arg1;
25122 }
25123 return resultobj;
25124 fail:
25125 {
25126 if (temp1)
25127 delete arg1;
25128 }
25129 return NULL;
25130 }
25131
25132
25133 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25134 PyObject *resultobj;
25135 wxPyTreeCtrl *arg1 = 0 ;
25136 wxTreeItemId *arg2 = 0 ;
25137 wxGenericDragImage *result;
25138 PyObject * obj0 = 0 ;
25139 PyObject * obj1 = 0 ;
25140 char *kwnames[] = {
25141 (char *) "treeCtrl",(char *) "id", NULL
25142 };
25143
25144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25146 if (arg1 == NULL) {
25147 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25148 }
25149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25150 if (arg2 == NULL) {
25151 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25152 }
25153 {
25154 PyThreadState* __tstate = wxPyBeginAllowThreads();
25155 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25156
25157 wxPyEndAllowThreads(__tstate);
25158 if (PyErr_Occurred()) SWIG_fail;
25159 }
25160 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25161 return resultobj;
25162 fail:
25163 return NULL;
25164 }
25165
25166
25167 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25168 PyObject *resultobj;
25169 wxPyListCtrl *arg1 = 0 ;
25170 long arg2 ;
25171 wxGenericDragImage *result;
25172 PyObject * obj0 = 0 ;
25173 char *kwnames[] = {
25174 (char *) "listCtrl",(char *) "id", NULL
25175 };
25176
25177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25179 if (arg1 == NULL) {
25180 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25181 }
25182 {
25183 PyThreadState* __tstate = wxPyBeginAllowThreads();
25184 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25185
25186 wxPyEndAllowThreads(__tstate);
25187 if (PyErr_Occurred()) SWIG_fail;
25188 }
25189 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25190 return resultobj;
25191 fail:
25192 return NULL;
25193 }
25194
25195
25196 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25197 PyObject *resultobj;
25198 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25199 PyObject * obj0 = 0 ;
25200 char *kwnames[] = {
25201 (char *) "self", NULL
25202 };
25203
25204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25206 {
25207 PyThreadState* __tstate = wxPyBeginAllowThreads();
25208 delete arg1;
25209
25210 wxPyEndAllowThreads(__tstate);
25211 if (PyErr_Occurred()) SWIG_fail;
25212 }
25213 Py_INCREF(Py_None); resultobj = Py_None;
25214 return resultobj;
25215 fail:
25216 return NULL;
25217 }
25218
25219
25220 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25221 PyObject *resultobj;
25222 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25223 wxBitmap *arg2 = (wxBitmap *) 0 ;
25224 PyObject * obj0 = 0 ;
25225 PyObject * obj1 = 0 ;
25226 char *kwnames[] = {
25227 (char *) "self",(char *) "bitmap", NULL
25228 };
25229
25230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25232 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25233 {
25234 PyThreadState* __tstate = wxPyBeginAllowThreads();
25235 (arg1)->SetBackingBitmap(arg2);
25236
25237 wxPyEndAllowThreads(__tstate);
25238 if (PyErr_Occurred()) SWIG_fail;
25239 }
25240 Py_INCREF(Py_None); resultobj = Py_None;
25241 return resultobj;
25242 fail:
25243 return NULL;
25244 }
25245
25246
25247 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25248 PyObject *resultobj;
25249 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25250 wxPoint *arg2 = 0 ;
25251 wxWindow *arg3 = (wxWindow *) 0 ;
25252 bool arg4 = (bool) False ;
25253 wxRect *arg5 = (wxRect *) NULL ;
25254 bool result;
25255 wxPoint temp2 ;
25256 PyObject * obj0 = 0 ;
25257 PyObject * obj1 = 0 ;
25258 PyObject * obj2 = 0 ;
25259 PyObject * obj3 = 0 ;
25260 PyObject * obj4 = 0 ;
25261 char *kwnames[] = {
25262 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25263 };
25264
25265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25267 {
25268 arg2 = &temp2;
25269 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25270 }
25271 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25272 if (obj3) {
25273 arg4 = PyInt_AsLong(obj3) ? true : false;
25274 if (PyErr_Occurred()) SWIG_fail;
25275 }
25276 if (obj4) {
25277 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25278 }
25279 {
25280 PyThreadState* __tstate = wxPyBeginAllowThreads();
25281 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25282
25283 wxPyEndAllowThreads(__tstate);
25284 if (PyErr_Occurred()) SWIG_fail;
25285 }
25286 resultobj = PyInt_FromLong((long)result);
25287 return resultobj;
25288 fail:
25289 return NULL;
25290 }
25291
25292
25293 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25294 PyObject *resultobj;
25295 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25296 wxPoint *arg2 = 0 ;
25297 wxWindow *arg3 = (wxWindow *) 0 ;
25298 wxWindow *arg4 = (wxWindow *) 0 ;
25299 bool result;
25300 wxPoint temp2 ;
25301 PyObject * obj0 = 0 ;
25302 PyObject * obj1 = 0 ;
25303 PyObject * obj2 = 0 ;
25304 PyObject * obj3 = 0 ;
25305 char *kwnames[] = {
25306 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25307 };
25308
25309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25311 {
25312 arg2 = &temp2;
25313 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25314 }
25315 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25316 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25317 {
25318 PyThreadState* __tstate = wxPyBeginAllowThreads();
25319 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
25320
25321 wxPyEndAllowThreads(__tstate);
25322 if (PyErr_Occurred()) SWIG_fail;
25323 }
25324 resultobj = PyInt_FromLong((long)result);
25325 return resultobj;
25326 fail:
25327 return NULL;
25328 }
25329
25330
25331 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25332 PyObject *resultobj;
25333 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25334 bool result;
25335 PyObject * obj0 = 0 ;
25336 char *kwnames[] = {
25337 (char *) "self", NULL
25338 };
25339
25340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
25341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25342 {
25343 PyThreadState* __tstate = wxPyBeginAllowThreads();
25344 result = (bool)(arg1)->EndDrag();
25345
25346 wxPyEndAllowThreads(__tstate);
25347 if (PyErr_Occurred()) SWIG_fail;
25348 }
25349 resultobj = PyInt_FromLong((long)result);
25350 return resultobj;
25351 fail:
25352 return NULL;
25353 }
25354
25355
25356 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
25357 PyObject *resultobj;
25358 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25359 wxPoint *arg2 = 0 ;
25360 bool result;
25361 wxPoint temp2 ;
25362 PyObject * obj0 = 0 ;
25363 PyObject * obj1 = 0 ;
25364 char *kwnames[] = {
25365 (char *) "self",(char *) "pt", NULL
25366 };
25367
25368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
25369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25370 {
25371 arg2 = &temp2;
25372 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25373 }
25374 {
25375 PyThreadState* __tstate = wxPyBeginAllowThreads();
25376 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
25377
25378 wxPyEndAllowThreads(__tstate);
25379 if (PyErr_Occurred()) SWIG_fail;
25380 }
25381 resultobj = PyInt_FromLong((long)result);
25382 return resultobj;
25383 fail:
25384 return NULL;
25385 }
25386
25387
25388 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
25389 PyObject *resultobj;
25390 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25391 bool result;
25392 PyObject * obj0 = 0 ;
25393 char *kwnames[] = {
25394 (char *) "self", NULL
25395 };
25396
25397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
25398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25399 {
25400 PyThreadState* __tstate = wxPyBeginAllowThreads();
25401 result = (bool)(arg1)->Show();
25402
25403 wxPyEndAllowThreads(__tstate);
25404 if (PyErr_Occurred()) SWIG_fail;
25405 }
25406 resultobj = PyInt_FromLong((long)result);
25407 return resultobj;
25408 fail:
25409 return NULL;
25410 }
25411
25412
25413 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
25414 PyObject *resultobj;
25415 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25416 bool result;
25417 PyObject * obj0 = 0 ;
25418 char *kwnames[] = {
25419 (char *) "self", NULL
25420 };
25421
25422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
25423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25424 {
25425 PyThreadState* __tstate = wxPyBeginAllowThreads();
25426 result = (bool)(arg1)->Hide();
25427
25428 wxPyEndAllowThreads(__tstate);
25429 if (PyErr_Occurred()) SWIG_fail;
25430 }
25431 resultobj = PyInt_FromLong((long)result);
25432 return resultobj;
25433 fail:
25434 return NULL;
25435 }
25436
25437
25438 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25439 PyObject *resultobj;
25440 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25441 wxPoint *arg2 = 0 ;
25442 wxRect result;
25443 wxPoint temp2 ;
25444 PyObject * obj0 = 0 ;
25445 PyObject * obj1 = 0 ;
25446 char *kwnames[] = {
25447 (char *) "self",(char *) "pos", NULL
25448 };
25449
25450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
25451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25452 {
25453 arg2 = &temp2;
25454 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25455 }
25456 {
25457 PyThreadState* __tstate = wxPyBeginAllowThreads();
25458 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
25459
25460 wxPyEndAllowThreads(__tstate);
25461 if (PyErr_Occurred()) SWIG_fail;
25462 }
25463 {
25464 wxRect * resultptr;
25465 resultptr = new wxRect((wxRect &) result);
25466 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
25467 }
25468 return resultobj;
25469 fail:
25470 return NULL;
25471 }
25472
25473
25474 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25475 PyObject *resultobj;
25476 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25477 wxDC *arg2 = 0 ;
25478 wxPoint *arg3 = 0 ;
25479 bool result;
25480 wxPoint temp3 ;
25481 PyObject * obj0 = 0 ;
25482 PyObject * obj1 = 0 ;
25483 PyObject * obj2 = 0 ;
25484 char *kwnames[] = {
25485 (char *) "self",(char *) "dc",(char *) "pos", NULL
25486 };
25487
25488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25490 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25491 if (arg2 == NULL) {
25492 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25493 }
25494 {
25495 arg3 = &temp3;
25496 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25497 }
25498 {
25499 PyThreadState* __tstate = wxPyBeginAllowThreads();
25500 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
25501
25502 wxPyEndAllowThreads(__tstate);
25503 if (PyErr_Occurred()) SWIG_fail;
25504 }
25505 resultobj = PyInt_FromLong((long)result);
25506 return resultobj;
25507 fail:
25508 return NULL;
25509 }
25510
25511
25512 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25513 PyObject *resultobj;
25514 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25515 wxDC *arg2 = 0 ;
25516 wxMemoryDC *arg3 = 0 ;
25517 wxRect *arg4 = 0 ;
25518 wxRect *arg5 = 0 ;
25519 bool result;
25520 wxRect temp4 ;
25521 wxRect temp5 ;
25522 PyObject * obj0 = 0 ;
25523 PyObject * obj1 = 0 ;
25524 PyObject * obj2 = 0 ;
25525 PyObject * obj3 = 0 ;
25526 PyObject * obj4 = 0 ;
25527 char *kwnames[] = {
25528 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25529 };
25530
25531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25533 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25534 if (arg2 == NULL) {
25535 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25536 }
25537 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25538 if (arg3 == NULL) {
25539 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25540 }
25541 {
25542 arg4 = &temp4;
25543 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
25544 }
25545 {
25546 arg5 = &temp5;
25547 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
25548 }
25549 {
25550 PyThreadState* __tstate = wxPyBeginAllowThreads();
25551 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
25552
25553 wxPyEndAllowThreads(__tstate);
25554 if (PyErr_Occurred()) SWIG_fail;
25555 }
25556 resultobj = PyInt_FromLong((long)result);
25557 return resultobj;
25558 fail:
25559 return NULL;
25560 }
25561
25562
25563 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25564 PyObject *resultobj;
25565 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25566 wxPoint *arg2 = 0 ;
25567 wxPoint *arg3 = 0 ;
25568 bool arg4 ;
25569 bool arg5 ;
25570 bool result;
25571 wxPoint temp2 ;
25572 wxPoint temp3 ;
25573 PyObject * obj0 = 0 ;
25574 PyObject * obj1 = 0 ;
25575 PyObject * obj2 = 0 ;
25576 PyObject * obj3 = 0 ;
25577 PyObject * obj4 = 0 ;
25578 char *kwnames[] = {
25579 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25580 };
25581
25582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25584 {
25585 arg2 = &temp2;
25586 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25587 }
25588 {
25589 arg3 = &temp3;
25590 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25591 }
25592 arg4 = PyInt_AsLong(obj3) ? true : false;
25593 if (PyErr_Occurred()) SWIG_fail;
25594 arg5 = PyInt_AsLong(obj4) ? true : false;
25595 if (PyErr_Occurred()) SWIG_fail;
25596 {
25597 PyThreadState* __tstate = wxPyBeginAllowThreads();
25598 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
25599
25600 wxPyEndAllowThreads(__tstate);
25601 if (PyErr_Occurred()) SWIG_fail;
25602 }
25603 resultobj = PyInt_FromLong((long)result);
25604 return resultobj;
25605 fail:
25606 return NULL;
25607 }
25608
25609
25610 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
25611 PyObject *obj;
25612 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25613 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
25614 Py_INCREF(obj);
25615 return Py_BuildValue((char *)"");
25616 }
25617 static PyMethodDef SwigMethods[] = {
25618 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
25619 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
25620 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
25621 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
25622 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25623 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
25624 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
25625 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
25626 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
25627 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25628 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25629 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25630 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25631 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25632 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25633 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25634 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25635 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
25636 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
25637 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
25638 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
25639 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
25640 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
25641 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
25642 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25643 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25644 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25645 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
25646 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
25647 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
25648 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
25649 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
25650 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
25651 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
25652 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
25653 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
25654 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
25655 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
25656 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25657 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
25658 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
25659 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
25660 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
25661 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
25662 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25663 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25664 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
25665 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
25666 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
25667 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25668 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25669 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25670 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
25671 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25672 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
25673 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
25674 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25675 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
25676 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
25677 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
25678 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
25679 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
25680 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
25681 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
25682 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
25683 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
25684 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
25685 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25686 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25687 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
25688 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
25689 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
25690 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
25691 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
25692 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
25693 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
25694 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
25695 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
25696 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
25697 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
25698 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25699 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
25700 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
25701 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
25702 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
25703 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
25704 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
25705 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
25706 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
25707 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25708 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25709 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
25710 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
25711 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
25712 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
25713 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
25714 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
25715 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
25716 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
25717 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25718 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25719 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
25720 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
25721 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25722 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25723 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
25724 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
25725 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
25726 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25727 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
25728 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
25729 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
25730 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
25731 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
25732 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
25733 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25734 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
25735 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
25736 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
25737 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
25738 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
25739 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
25740 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25741 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25742 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25743 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25744 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
25745 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25746 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
25747 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
25748 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25749 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25750 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25751 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
25752 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
25753 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
25754 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
25755 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
25756 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25757 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25758 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25759 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25760 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
25761 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25762 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
25763 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
25764 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
25765 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
25766 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
25767 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
25768 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
25769 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25770 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25771 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25772 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
25773 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
25774 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
25775 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
25776 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
25777 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
25778 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
25779 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
25780 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25781 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25782 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
25783 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
25784 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
25785 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
25786 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
25787 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
25788 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
25789 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
25790 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
25791 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
25792 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
25793 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
25794 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
25795 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25796 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25797 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
25798 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
25799 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
25800 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
25801 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
25802 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
25803 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
25804 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
25805 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
25806 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
25807 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
25808 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
25809 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
25810 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25811 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25812 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25813 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25814 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25815 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
25816 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
25817 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
25818 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
25819 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
25820 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
25821 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
25822 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
25823 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
25824 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
25825 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
25826 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
25827 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
25828 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25829 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
25830 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25831 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
25832 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
25833 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
25834 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
25835 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
25836 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
25837 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
25838 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
25839 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25840 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
25841 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
25842 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25843 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
25844 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
25845 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
25846 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
25847 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
25848 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
25849 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
25850 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25851 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25852 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25853 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
25854 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
25855 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
25856 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
25857 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25858 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
25859 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
25860 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
25861 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
25862 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25863 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
25864 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25865 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25866 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
25867 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
25868 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
25869 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
25870 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
25871 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
25872 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
25873 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
25874 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
25875 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
25876 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
25877 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
25878 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
25879 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
25880 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
25881 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
25882 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
25883 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
25884 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
25885 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
25886 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
25887 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
25888 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
25889 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
25890 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
25891 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
25892 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
25893 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
25894 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
25895 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
25896 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
25897 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
25898 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
25899 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
25900 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
25901 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
25902 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
25903 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
25904 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
25905 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
25906 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
25907 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
25908 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
25909 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
25910 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
25911 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
25912 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25913 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
25914 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
25915 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
25916 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
25917 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
25918 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
25919 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
25920 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
25921 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
25922 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
25923 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
25924 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
25925 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
25926 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
25927 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25928 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
25929 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
25930 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
25931 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
25932 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
25933 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
25934 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
25935 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
25936 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
25937 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
25938 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
25939 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
25940 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
25941 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
25942 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
25943 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
25944 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
25945 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
25946 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
25947 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
25948 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
25949 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
25950 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
25951 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
25952 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
25953 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
25954 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
25955 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
25956 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
25957 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
25958 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
25959 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
25960 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
25961 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
25962 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
25963 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
25964 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
25965 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
25966 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
25967 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
25968 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
25969 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
25970 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
25971 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
25972 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
25973 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
25974 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
25975 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
25976 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
25977 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25978 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
25979 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
25980 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
25981 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
25982 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
25983 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
25984 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
25985 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
25986 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
25987 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
25988 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
25989 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
25990 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
25991 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
25992 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
25993 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
25994 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
25995 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
25996 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
25997 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
25998 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
25999 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26000 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26001 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26002 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26003 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26004 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26005 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26006 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26007 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26008 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26009 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26010 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26012 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26013 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26014 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26015 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26020 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26024 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26025 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26029 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26034 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26035 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26036 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26041 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26043 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26049 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26053 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26054 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26058 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26062 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26064 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26068 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26077 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26084 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26091 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26094 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26105 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26130 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26132 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26158 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26169 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26187 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26201 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26213 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26221 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26228 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26244 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26275 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26301 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26307 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26316 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26317 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26338 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26343 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26345 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26364 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26370 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26372 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26377 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26379 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26387 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
26389 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
26407 { NULL, NULL }
26408 };
26409
26410
26411 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26412
26413 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26414 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26415 }
26416 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26417 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26418 }
26419 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26420 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26421 }
26422 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26423 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26424 }
26425 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26426 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26427 }
26428 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26429 return (void *)((wxSizer *) ((wxGridSizer *) x));
26430 }
26431 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26432 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26433 }
26434 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26435 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26436 }
26437 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26438 return (void *)((wxSizer *) ((wxPySizer *) x));
26439 }
26440 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26441 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26442 }
26443 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26444 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26445 }
26446 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26447 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26448 }
26449 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26450 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26451 }
26452 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26453 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26454 }
26455 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26456 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26457 }
26458 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26459 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26460 }
26461 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26462 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26463 }
26464 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26465 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26466 }
26467 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26468 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26469 }
26470 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26471 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26472 }
26473 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26474 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26475 }
26476 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26477 return (void *)((wxEvent *) ((wxPyEvent *) x));
26478 }
26479 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26480 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26481 }
26482 static void *_p_wxListEventTo_p_wxEvent(void *x) {
26483 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26484 }
26485 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26486 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26487 }
26488 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26489 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26490 }
26491 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26492 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26493 }
26494 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26495 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26496 }
26497 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26498 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26499 }
26500 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26501 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26502 }
26503 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26504 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26505 }
26506 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26507 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26508 }
26509 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26510 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26511 }
26512 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26513 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26514 }
26515 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26516 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26517 }
26518 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26519 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26520 }
26521 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26522 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26523 }
26524 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26525 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26526 }
26527 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26528 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26529 }
26530 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26531 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26532 }
26533 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26534 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26535 }
26536 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26537 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26538 }
26539 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26540 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26541 }
26542 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26543 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26544 }
26545 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26546 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26547 }
26548 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26549 return (void *)((wxEvent *) ((wxShowEvent *) x));
26550 }
26551 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26552 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26553 }
26554 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26555 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26556 }
26557 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26558 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26559 }
26560 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26561 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26562 }
26563 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26564 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26565 }
26566 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26567 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26568 }
26569 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
26570 return (void *)((wxItemContainer *) ((wxComboBox *) x));
26571 }
26572 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
26573 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26574 }
26575 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
26576 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
26577 }
26578 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
26579 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
26580 }
26581 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
26582 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
26583 }
26584 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
26585 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26586 }
26587 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
26588 return (void *)((wxPyListCtrl *) ((wxListView *) x));
26589 }
26590 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
26591 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26592 }
26593 static void *_p_wxListBoxTo_p_wxControl(void *x) {
26594 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
26595 }
26596 static void *_p_wxChoiceTo_p_wxControl(void *x) {
26597 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
26598 }
26599 static void *_p_wxToolBarTo_p_wxControl(void *x) {
26600 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
26601 }
26602 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
26603 return (void *)((wxControl *) ((wxStaticBitmap *) x));
26604 }
26605 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
26606 return (void *)((wxControl *) ((wxComboBox *) x));
26607 }
26608 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
26609 return (void *)((wxControl *) ((wxSpinCtrl *) x));
26610 }
26611 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
26612 return (void *)((wxControl *) ((wxStaticBox *) x));
26613 }
26614 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
26615 return (void *)((wxControl *) ((wxPyListCtrl *) x));
26616 }
26617 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
26618 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
26619 }
26620 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
26621 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26622 }
26623 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
26624 return (void *)((wxControl *) ((wxScrollBar *) x));
26625 }
26626 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
26627 return (void *)((wxControl *) ((wxBookCtrl *) x));
26628 }
26629 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
26630 return (void *)((wxControl *) ((wxRadioButton *) x));
26631 }
26632 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
26633 return (void *)((wxControl *) ((wxToggleButton *) x));
26634 }
26635 static void *_p_wxGaugeTo_p_wxControl(void *x) {
26636 return (void *)((wxControl *) ((wxGauge *) x));
26637 }
26638 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
26639 return (void *)((wxControl *) ((wxToolBarBase *) x));
26640 }
26641 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
26642 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
26643 }
26644 static void *_p_wxButtonTo_p_wxControl(void *x) {
26645 return (void *)((wxControl *) ((wxButton *) x));
26646 }
26647 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
26648 return (void *)((wxControl *) ((wxSpinButton *) x));
26649 }
26650 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
26651 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26652 }
26653 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
26654 return (void *)((wxControl *) ((wxControlWithItems *) x));
26655 }
26656 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
26657 return (void *)((wxControl *) ((wxRadioBox *) x));
26658 }
26659 static void *_p_wxNotebookTo_p_wxControl(void *x) {
26660 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
26661 }
26662 static void *_p_wxListbookTo_p_wxControl(void *x) {
26663 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
26664 }
26665 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
26666 return (void *)((wxControl *) ((wxCheckBox *) x));
26667 }
26668 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
26669 return (void *)((wxControl *) ((wxTextCtrl *) x));
26670 }
26671 static void *_p_wxListViewTo_p_wxControl(void *x) {
26672 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
26673 }
26674 static void *_p_wxSliderTo_p_wxControl(void *x) {
26675 return (void *)((wxControl *) ((wxSlider *) x));
26676 }
26677 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
26678 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
26679 }
26680 static void *_p_wxPyControlTo_p_wxControl(void *x) {
26681 return (void *)((wxControl *) ((wxPyControl *) x));
26682 }
26683 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
26684 return (void *)((wxControl *) ((wxStaticLine *) x));
26685 }
26686 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
26687 return (void *)((wxControl *) ((wxStaticText *) x));
26688 }
26689 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
26690 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
26691 }
26692 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
26693 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
26694 }
26695 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
26696 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
26697 }
26698 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
26699 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26700 }
26701 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
26702 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
26703 }
26704 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
26705 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26706 }
26707 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
26708 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
26709 }
26710 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
26711 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
26712 }
26713 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26714 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26715 }
26716 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26717 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26718 }
26719 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26720 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26721 }
26722 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
26723 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26724 }
26725 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26726 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26727 }
26728 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
26729 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
26730 }
26731 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
26732 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
26733 }
26734 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26735 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26736 }
26737 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26738 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26739 }
26740 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
26741 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26742 }
26743 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
26744 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26745 }
26746 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
26747 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
26748 }
26749 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
26750 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26751 }
26752 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
26753 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
26754 }
26755 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26756 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26757 }
26758 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
26759 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26760 }
26761 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
26762 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
26763 }
26764 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26765 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26766 }
26767 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
26768 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
26769 }
26770 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
26771 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
26772 }
26773 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
26774 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26775 }
26776 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
26777 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26778 }
26779 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
26780 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
26781 }
26782 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
26783 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
26784 }
26785 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
26786 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26787 }
26788 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
26789 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26790 }
26791 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
26792 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26793 }
26794 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
26795 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26796 }
26797 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
26798 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26799 }
26800 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
26801 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26802 }
26803 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
26804 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
26805 }
26806 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
26807 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
26808 }
26809 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
26810 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
26811 }
26812 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
26813 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
26814 }
26815 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
26816 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
26817 }
26818 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
26819 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
26820 }
26821 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
26822 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
26823 }
26824 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
26825 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26826 }
26827 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
26828 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26829 }
26830 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
26831 return (void *)((wxListBox *) ((wxCheckListBox *) x));
26832 }
26833 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
26834 return (void *)((wxBookCtrl *) ((wxListbook *) x));
26835 }
26836 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
26837 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
26838 }
26839 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
26840 return (void *)((wxButton *) ((wxBitmapButton *) x));
26841 }
26842 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
26843 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
26844 }
26845 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
26846 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
26847 }
26848 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
26849 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
26850 }
26851 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
26852 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
26853 }
26854 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
26855 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
26856 }
26857 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
26858 return (void *)((wxObject *) ((wxSizerItem *) x));
26859 }
26860 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
26861 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
26862 }
26863 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
26864 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
26865 }
26866 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
26867 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
26868 }
26869 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
26870 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26871 }
26872 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
26873 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
26874 }
26875 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
26876 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
26877 }
26878 static void *_p_wxSizerTo_p_wxObject(void *x) {
26879 return (void *)((wxObject *) ((wxSizer *) x));
26880 }
26881 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
26882 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26883 }
26884 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
26885 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
26886 }
26887 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
26888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26889 }
26890 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
26891 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
26892 }
26893 static void *_p_wxEventTo_p_wxObject(void *x) {
26894 return (void *)((wxObject *) ((wxEvent *) x));
26895 }
26896 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
26897 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
26898 }
26899 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
26900 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
26901 }
26902 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
26903 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
26904 }
26905 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
26906 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26907 }
26908 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
26909 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26910 }
26911 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
26912 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26913 }
26914 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
26915 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
26916 }
26917 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
26918 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
26919 }
26920 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
26921 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
26922 }
26923 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
26924 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
26925 }
26926 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
26927 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26928 }
26929 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
26930 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
26931 }
26932 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
26933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
26934 }
26935 static void *_p_wxControlTo_p_wxObject(void *x) {
26936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
26937 }
26938 static void *_p_wxPyControlTo_p_wxObject(void *x) {
26939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
26940 }
26941 static void *_p_wxGaugeTo_p_wxObject(void *x) {
26942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
26943 }
26944 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
26945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
26946 }
26947 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
26948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
26949 }
26950 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
26951 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26952 }
26953 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
26954 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
26955 }
26956 static void *_p_wxChoiceTo_p_wxObject(void *x) {
26957 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26958 }
26959 static void *_p_wxFSFileTo_p_wxObject(void *x) {
26960 return (void *)((wxObject *) ((wxFSFile *) x));
26961 }
26962 static void *_p_wxPySizerTo_p_wxObject(void *x) {
26963 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
26964 }
26965 static void *_p_wxListViewTo_p_wxObject(void *x) {
26966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26967 }
26968 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
26969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
26970 }
26971 static void *_p_wxNotebookTo_p_wxObject(void *x) {
26972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26973 }
26974 static void *_p_wxPyEventTo_p_wxObject(void *x) {
26975 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
26976 }
26977 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
26978 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
26979 }
26980 static void *_p_wxListbookTo_p_wxObject(void *x) {
26981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26982 }
26983 static void *_p_wxShowEventTo_p_wxObject(void *x) {
26984 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
26985 }
26986 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
26987 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26988 }
26989 static void *_p_wxSliderTo_p_wxObject(void *x) {
26990 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
26991 }
26992 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
26993 return (void *)((wxObject *) ((wxMenuItem *) x));
26994 }
26995 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
26996 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
26997 }
26998 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
26999 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27000 }
27001 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27002 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27003 }
27004 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27005 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27006 }
27007 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27008 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27009 }
27010 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27011 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27012 }
27013 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27014 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27015 }
27016 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27017 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27018 }
27019 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27021 }
27022 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27023 return (void *)((wxObject *) ((wxContextHelp *) x));
27024 }
27025 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27026 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27027 }
27028 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27029 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27030 }
27031 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27032 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27033 }
27034 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27035 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27036 }
27037 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27038 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27039 }
27040 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27041 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27042 }
27043 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27044 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27045 }
27046 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27047 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27048 }
27049 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27050 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27051 }
27052 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27053 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27054 }
27055 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27056 return (void *)((wxObject *) ((wxImageHandler *) x));
27057 }
27058 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27059 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27060 }
27061 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27062 return (void *)((wxObject *) ((wxEvtHandler *) x));
27063 }
27064 static void *_p_wxListEventTo_p_wxObject(void *x) {
27065 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27066 }
27067 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27069 }
27070 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27072 }
27073 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27075 }
27076 static void *_p_wxButtonTo_p_wxObject(void *x) {
27077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27078 }
27079 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27080 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27081 }
27082 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27083 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27084 }
27085 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27087 }
27088 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27089 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27090 }
27091 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27093 }
27094 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27095 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27096 }
27097 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27098 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
27099 }
27100 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27101 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27102 }
27103 static void *_p_wxListItemTo_p_wxObject(void *x) {
27104 return (void *)((wxObject *) ((wxListItem *) x));
27105 }
27106 static void *_p_wxImageTo_p_wxObject(void *x) {
27107 return (void *)((wxObject *) ((wxImage *) x));
27108 }
27109 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27110 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27111 }
27112 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27113 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27114 }
27115 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27116 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27117 }
27118 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27120 }
27121 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27122 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27123 }
27124 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27125 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27126 }
27127 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27128 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27129 }
27130 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27131 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27132 }
27133 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27134 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27135 }
27136 static void *_p_wxWindowTo_p_wxObject(void *x) {
27137 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27138 }
27139 static void *_p_wxMenuTo_p_wxObject(void *x) {
27140 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27141 }
27142 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27143 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27144 }
27145 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27146 return (void *)((wxObject *) ((wxFileSystem *) x));
27147 }
27148 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27149 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27150 }
27151 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27152 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27153 }
27154 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27155 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27156 }
27157 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27158 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27159 }
27160 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27161 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27162 }
27163 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27164 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27165 }
27166 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27167 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27168 }
27169 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27170 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27171 }
27172 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27173 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27174 }
27175 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27177 }
27178 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27179 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27180 }
27181 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27182 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27183 }
27184 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27185 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27186 }
27187 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27189 }
27190 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27191 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27192 }
27193 static void *_p_wxToolBarTo_p_wxObject(void *x) {
27194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27195 }
27196 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27197 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27198 }
27199 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27200 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27201 }
27202 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27203 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27204 }
27205 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27206 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27207 }
27208 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27209 return (void *)((wxWindow *) ((wxMenuBar *) x));
27210 }
27211 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27212 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27213 }
27214 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27215 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27216 }
27217 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27218 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27219 }
27220 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27221 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27222 }
27223 static void *_p_wxControlTo_p_wxWindow(void *x) {
27224 return (void *)((wxWindow *) ((wxControl *) x));
27225 }
27226 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27227 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27228 }
27229 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27230 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27231 }
27232 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27233 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27234 }
27235 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27236 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
27237 }
27238 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27239 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27240 }
27241 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27242 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27243 }
27244 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27245 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27246 }
27247 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27248 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27249 }
27250 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27251 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27252 }
27253 static void *_p_wxListbookTo_p_wxWindow(void *x) {
27254 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27255 }
27256 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27257 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27258 }
27259 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27260 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27261 }
27262 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27263 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27264 }
27265 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27266 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27267 }
27268 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27269 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27270 }
27271 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27272 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27273 }
27274 static void *_p_wxListViewTo_p_wxWindow(void *x) {
27275 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27276 }
27277 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27278 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27279 }
27280 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27281 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27282 }
27283 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27284 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27285 }
27286 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27287 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27288 }
27289 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27290 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27291 }
27292 static void *_p_wxSliderTo_p_wxWindow(void *x) {
27293 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27294 }
27295 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27296 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27297 }
27298 static void *_p_wxButtonTo_p_wxWindow(void *x) {
27299 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27300 }
27301 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27302 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27303 }
27304 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27305 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27306 }
27307 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27308 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27309 }
27310 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27311 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27312 }
27313 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27314 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27315 }
27316 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27317 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27318 }
27319 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27320 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27321 }
27322 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27323 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27324 }
27325 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27326 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27327 }
27328 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27329 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27330 }
27331 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27332 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27333 }
27334 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27335 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27336 }
27337 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27338 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27339 }
27340 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27341 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27342 }
27343 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27344 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27345 }
27346 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27347 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27348 }
27349 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27350 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27351 }
27352 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27353 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27354 }
27355 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27356 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27357 }
27358 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27359 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27360 }
27361 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27362 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27363 }
27364 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27365 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27366 }
27367 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27368 return (void *)((wxValidator *) ((wxPyValidator *) x));
27369 }
27370 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27371 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}};
27372 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}};
27373 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27374 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27375 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27376 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27377 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}};
27378 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27379 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27380 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27381 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}};
27382 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27383 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27384 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27385 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}};
27386 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27387 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27388 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27389 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27390 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27391 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27392 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
27393 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27394 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27395 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27396 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27397 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27398 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27399 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27400 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27401 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27402 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}};
27403 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27404 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27405 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27406 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27407 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27408 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27409 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27410 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27411 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}};
27412 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27413 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27414 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27415 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}};
27416 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27417 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}};
27418 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27419 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27420 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27421 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27422 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27423 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27424 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27425 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27426 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27427 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27428 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27429 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27430 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27431 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27432 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27433 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27434 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27435 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27436 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27437 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_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
27438 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27439 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27440 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}};
27441 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27442 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27443 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27444 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27445 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}};
27446 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27447 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}};
27448 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27449 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27450 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27451 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27452 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27453
27454 static swig_type_info *swig_types_initial[] = {
27455 _swigt__p_wxTextUrlEvent,
27456 _swigt__p_wxBookCtrlEvent,
27457 _swigt__p_wxSizer,
27458 _swigt__p_wxTreeItemIdValue,
27459 _swigt__wxTreeItemIdValue,
27460 _swigt__p_wxCheckBox,
27461 _swigt__p_wxPyTreeCtrl,
27462 _swigt__p_wxEvent,
27463 _swigt__p_wxGenericDirCtrl,
27464 _swigt__p_bool,
27465 _swigt__p_wxPyTreeItemData,
27466 _swigt__p_wxItemContainer,
27467 _swigt__p_wxDirFilterListCtrl,
27468 _swigt__p_wxPyListCtrl,
27469 _swigt__p_wxStaticLine,
27470 _swigt__p_wxControl,
27471 _swigt__p_wxPyControl,
27472 _swigt__p_wxGauge,
27473 _swigt__p_wxToolBarBase,
27474 _swigt__p_wxFont,
27475 _swigt__p_wxToggleButton,
27476 _swigt__p_wxRadioButton,
27477 _swigt__p_wxChoice,
27478 _swigt__p_wxMemoryDC,
27479 _swigt__p_wxListItemAttr,
27480 _swigt__p_int,
27481 _swigt__p_wxSize,
27482 _swigt__p_wxDC,
27483 _swigt__p_wxListView,
27484 _swigt__p_wxIcon,
27485 _swigt__p_wxTextCtrl,
27486 _swigt__p_wxNotebook,
27487 _swigt__p_wxNotifyEvent,
27488 _swigt__p_wxArrayString,
27489 _swigt__p_wxListbook,
27490 _swigt__p_wxStaticBitmap,
27491 _swigt__p_wxSlider,
27492 _swigt__p_wxStaticBox,
27493 _swigt__p_wxArrayInt,
27494 _swigt__p_wxContextHelp,
27495 _swigt__p_long,
27496 _swigt__p_wxEvtHandler,
27497 _swigt__p_wxListEvent,
27498 _swigt__p_wxListBox,
27499 _swigt__p_wxCheckListBox,
27500 _swigt__p_wxBookCtrl,
27501 _swigt__p_wxSpinButton,
27502 _swigt__p_wxButton,
27503 _swigt__p_wxBitmapButton,
27504 _swigt__p_wxRect,
27505 _swigt__p_wxContextHelpButton,
27506 _swigt__p_wxRadioBox,
27507 _swigt__p_wxScrollBar,
27508 _swigt__p_wxTreeItemId,
27509 _swigt__p_wxComboBox,
27510 _swigt__p_wxHelpEvent,
27511 _swigt__p_wxListItem,
27512 _swigt__p_wxNotebookSizer,
27513 _swigt__p_wxGenericDragImage,
27514 _swigt__p_wxSpinCtrl,
27515 _swigt__p_wxImageList,
27516 _swigt__p_wxHelpProvider,
27517 _swigt__p_wxTextAttr,
27518 _swigt__p_wxSimpleHelpProvider,
27519 _swigt__p_wxPoint,
27520 _swigt__p_wxListbookEvent,
27521 _swigt__p_wxNotebookEvent,
27522 _swigt__p_wxObject,
27523 _swigt__p_wxCursor,
27524 _swigt__p_wxKeyEvent,
27525 _swigt__p_wxWindow,
27526 _swigt__p_wxString,
27527 _swigt__p_wxBitmap,
27528 _swigt__p_wxTreeEvent,
27529 _swigt__p_wxMouseEvent,
27530 _swigt__p_wxCommandEvent,
27531 _swigt__p_wxStaticText,
27532 _swigt__p_wxControlWithItems,
27533 _swigt__p_wxToolBarToolBase,
27534 _swigt__p_wxColour,
27535 _swigt__p_wxToolBar,
27536 _swigt__p_wxBookCtrlSizer,
27537 _swigt__p_wxValidator,
27538 0
27539 };
27540
27541
27542 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27543
27544 static swig_const_info swig_const_table[] = {
27545 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
27546 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
27547 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
27548 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
27549 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
27550 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
27551 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
27552 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
27553 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
27554 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
27555 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
27556 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
27557 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
27558 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
27559 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
27560 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
27561 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
27562 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
27563 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
27564 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
27565 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
27566 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
27567 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
27568 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
27569 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
27570 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
27571 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
27572 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
27573 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
27574 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
27575 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
27576 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
27577 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
27578 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
27579 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
27580 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
27581 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
27582 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
27583 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
27584 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
27585 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
27586 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
27587 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
27588 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
27589 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
27590 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
27591 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
27592 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
27593 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
27594 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
27595 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
27596 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
27597 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
27598 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
27599 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
27600 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
27601 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
27602 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
27603 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
27604 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
27605 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
27606 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
27607 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
27608 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
27609 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
27610 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
27611 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
27612 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
27613 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
27614 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
27615 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
27616 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
27617 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
27618 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
27619 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
27620 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
27621 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
27622 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
27623 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
27624 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
27625 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
27626 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
27627 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
27628 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
27629 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
27630 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
27631 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
27632 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
27633 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
27634 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
27635 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
27636 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
27637 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
27638 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
27639 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
27640 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
27641 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
27642 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
27643 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
27644 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
27645 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
27646 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
27647 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
27648 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
27649 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
27650 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
27651 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
27652 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
27653 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
27654 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
27655 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
27656 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
27657 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
27658 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
27659 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
27660 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
27661 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
27662 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
27663 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
27664 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
27665 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
27666 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
27667 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
27668 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
27669 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
27670 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
27671 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
27672 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
27673 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
27674 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
27675 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
27676 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
27677 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
27678 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
27679 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
27680 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
27681 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
27682 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
27683 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27684 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
27685 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
27686 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
27687 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
27688 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
27689 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
27690 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
27691 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
27692 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
27693 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
27694 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
27695 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
27696 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
27697 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
27698 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
27699 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
27700 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
27701 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
27702 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
27703 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
27704 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
27705 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
27706 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
27707 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
27708 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
27709 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
27710 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
27711 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
27712 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
27713 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
27714 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
27715 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
27716 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
27717 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
27718 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
27719 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
27720 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
27721 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
27722 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
27723 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
27724 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
27725 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
27726 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
27727 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
27728 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
27729 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
27730 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
27731 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
27732 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
27733 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
27734 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
27735 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
27736 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
27737 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
27738 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
27739 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
27740 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
27741 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
27742 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
27743 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
27744 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
27745 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
27746 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
27747 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
27748 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
27749 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
27750 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
27751 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
27752 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
27753 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
27754 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
27755 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
27756 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
27757 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
27758 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
27759 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
27760 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27761 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
27762 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
27763 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
27764 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
27765 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
27766 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
27767 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
27768 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
27769 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
27770 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
27771 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
27772 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
27773 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
27774 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
27775 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
27776 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
27777 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
27778 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
27779 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
27780 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
27781 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
27782 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
27783 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
27784 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
27785 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
27786 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
27787 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
27788 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
27789 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
27790 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
27791 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
27792 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
27793 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
27794 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
27795 {0}};
27796
27797 #ifdef __cplusplus
27798 }
27799 #endif
27800
27801 #ifdef __cplusplus
27802 extern "C"
27803 #endif
27804 SWIGEXPORT(void) SWIG_init(void) {
27805 static PyObject *SWIG_globals = 0;
27806 static int typeinit = 0;
27807 PyObject *m, *d;
27808 int i;
27809 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27810 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27811 d = PyModule_GetDict(m);
27812
27813 if (!typeinit) {
27814 for (i = 0; swig_types_initial[i]; i++) {
27815 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27816 }
27817 typeinit = 1;
27818 }
27819 SWIG_InstallConstants(d,swig_const_table);
27820
27821 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
27822 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
27823 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
27824 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
27825 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
27826 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
27827 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
27828 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
27829 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
27830 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
27831 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
27832 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
27833 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
27834 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
27835 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
27836 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
27837 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
27838 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
27839 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
27840 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
27841 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
27842 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
27843 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
27844 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
27845 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
27846 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
27847 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
27848 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
27849 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
27850 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
27851 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
27852 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
27853
27854 // Map renamed classes back to their common name for OOR
27855 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
27856
27857 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
27858 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
27859 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
27860 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
27861 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
27862 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
27863 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
27864 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
27865 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
27866 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
27867 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
27868 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
27869 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
27870 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
27871 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
27872 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
27873 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
27874 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
27875 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
27876 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
27877
27878 // Map renamed classes back to their common name for OOR
27879 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
27880 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
27881
27882 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
27883 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
27884
27885 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
27886
27887 }
27888