]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/controls_wrap.cpp
Cosmetic cleanup (-1 -> wxID_ANY, TRUE->true).
[wxWidgets.git] / wxPython / src / msw / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121
122 #endif
123
124 /***********************************************************************
125 * pyrun.swg for wxPython
126 *
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
130 * anyway.
131 *
132 ************************************************************************/
133
134
135 #include "Python.h"
136
137 #ifdef __cplusplus
138 extern "C" {
139 #endif
140
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
146
147 /* Flags for pointer conversion */
148
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
151
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
154
155 /* Constant information structure */
156 typedef struct swig_const_info {
157 int type;
158 char *name;
159 long lvalue;
160 double dvalue;
161 void *pvalue;
162 swig_type_info **ptype;
163 } swig_const_info;
164
165
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
190
191
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205 /* Contract support */
206
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
208
209
210 #ifdef __cplusplus
211 }
212 #endif
213
214
215
216 /* -------- TYPES TABLE (BEGIN) -------- */
217
218 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
219 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
220 #define SWIGTYPE_p_wxSizer swig_types[2]
221 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
222 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
223 #define SWIGTYPE_p_wxCheckBox swig_types[5]
224 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
225 #define SWIGTYPE_p_wxEvent swig_types[7]
226 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
227 #define SWIGTYPE_p_bool swig_types[9]
228 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
229 #define SWIGTYPE_p_wxItemContainer swig_types[11]
230 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
231 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
232 #define SWIGTYPE_p_wxStaticLine swig_types[14]
233 #define SWIGTYPE_p_wxControl swig_types[15]
234 #define SWIGTYPE_p_wxPyControl swig_types[16]
235 #define SWIGTYPE_p_wxGauge swig_types[17]
236 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
237 #define SWIGTYPE_p_wxFont swig_types[19]
238 #define SWIGTYPE_p_wxToggleButton swig_types[20]
239 #define SWIGTYPE_p_wxRadioButton swig_types[21]
240 #define SWIGTYPE_p_wxChoice swig_types[22]
241 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
242 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
243 #define SWIGTYPE_p_int swig_types[25]
244 #define SWIGTYPE_p_wxSize swig_types[26]
245 #define SWIGTYPE_p_wxDC swig_types[27]
246 #define SWIGTYPE_p_wxListView swig_types[28]
247 #define SWIGTYPE_p_wxIcon swig_types[29]
248 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
249 #define SWIGTYPE_p_wxNotebook swig_types[31]
250 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
251 #define SWIGTYPE_p_wxArrayString swig_types[33]
252 #define SWIGTYPE_p_wxListbook swig_types[34]
253 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
254 #define SWIGTYPE_p_wxSlider swig_types[36]
255 #define SWIGTYPE_p_wxStaticBox swig_types[37]
256 #define SWIGTYPE_p_wxArrayInt swig_types[38]
257 #define SWIGTYPE_p_wxContextHelp swig_types[39]
258 #define SWIGTYPE_p_long swig_types[40]
259 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
260 #define SWIGTYPE_p_wxListEvent swig_types[42]
261 #define SWIGTYPE_p_wxListBox swig_types[43]
262 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
263 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
264 #define SWIGTYPE_p_wxSpinButton swig_types[46]
265 #define SWIGTYPE_p_wxButton swig_types[47]
266 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
267 #define SWIGTYPE_p_wxRect swig_types[49]
268 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
269 #define SWIGTYPE_p_wxRadioBox swig_types[51]
270 #define SWIGTYPE_p_wxScrollBar swig_types[52]
271 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
272 #define SWIGTYPE_p_wxComboBox swig_types[54]
273 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
274 #define SWIGTYPE_p_wxListItem swig_types[56]
275 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
276 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
277 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
278 #define SWIGTYPE_p_wxImageList swig_types[60]
279 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
280 #define SWIGTYPE_p_wxTextAttr swig_types[62]
281 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
282 #define SWIGTYPE_p_wxPoint swig_types[64]
283 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
284 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
285 #define SWIGTYPE_p_wxObject swig_types[67]
286 #define SWIGTYPE_p_wxCursor swig_types[68]
287 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
288 #define SWIGTYPE_p_wxWindow swig_types[70]
289 #define SWIGTYPE_p_wxString swig_types[71]
290 #define SWIGTYPE_p_wxBitmap swig_types[72]
291 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
292 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
293 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
294 #define SWIGTYPE_p_wxStaticText swig_types[76]
295 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
296 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
297 #define SWIGTYPE_p_wxColour swig_types[79]
298 #define SWIGTYPE_p_wxToolBar swig_types[80]
299 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
300 #define SWIGTYPE_p_wxValidator swig_types[82]
301 static swig_type_info *swig_types[84];
302
303 /* -------- TYPES TABLE (END) -------- */
304
305
306 /*-----------------------------------------------
307 @(target):= _controls.so
308 ------------------------------------------------*/
309 #define SWIG_init init_controls
310
311 #define SWIG_name "_controls"
312
313 #include "wx/wxPython/wxPython.h"
314 #include "wx/wxPython/pyclasses.h"
315
316 DECLARE_DEF_STRING(PanelNameStr);
317 DECLARE_DEF_STRING(EmptyString);
318 DECLARE_DEF_STRING(ControlNameStr);
319
320
321
322 DECLARE_DEF_STRING(ButtonNameStr);
323
324
325 DECLARE_DEF_STRING(CheckBoxNameStr);
326
327
328 DECLARE_DEF_STRING(ChoiceNameStr);
329
330
331 DECLARE_DEF_STRING(ComboBoxNameStr);
332
333
334 DECLARE_DEF_STRING(GaugeNameStr);
335
336
337 DECLARE_DEF_STRING(StaticBitmapNameStr);
338 DECLARE_DEF_STRING(StaticBoxNameStr);
339 DECLARE_DEF_STRING(StaticTextNameStr);
340
341
342 #include <wx/checklst.h>
343
344 DECLARE_DEF_STRING(ListBoxNameStr);
345
346 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
347 if (clientData) {
348 wxPyClientData* data = new wxPyClientData(clientData);
349 self->Insert(item, pos, data);
350 } else
351 self->Insert(item, pos);
352 }
353 PyObject *wxListBox_GetSelections(wxListBox *self){
354 wxArrayInt lst;
355 self->GetSelections(lst);
356 PyObject *tup = PyTuple_New(lst.GetCount());
357 for(size_t i=0; i<lst.GetCount(); i++) {
358 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
359 }
360 return tup;
361 }
362
363 DECLARE_DEF_STRING(TextCtrlNameStr);
364
365
366 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
367 PyObject* o2;
368 PyObject* o3;
369
370 if (!target) {
371 target = o;
372 } else if (target == Py_None) {
373 Py_DECREF(Py_None);
374 target = o;
375 } else {
376 if (!PyTuple_Check(target)) {
377 o2 = target;
378 target = PyTuple_New(1);
379 PyTuple_SetItem(target, 0, o2);
380 }
381 o3 = PyTuple_New(1);
382 PyTuple_SetItem(o3, 0, o);
383
384 o2 = target;
385 target = PySequence_Concat(o2, o3);
386 Py_DECREF(o2);
387 Py_DECREF(o3);
388 }
389 return target;
390 }
391
392 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
393 self->AppendText(text);
394 }
395 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
396 return self->GetValue().Mid(from, to - from);
397 }
398
399 DECLARE_DEF_STRING(ScrollBarNameStr);
400
401
402 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
403 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
404 DECLARE_DEF_STRING(SpinCtrlNameStr);
405
406
407 DECLARE_DEF_STRING(RadioBoxNameStr);
408 DECLARE_DEF_STRING(RadioButtonNameStr);
409
410
411 #include <wx/slider.h>
412
413 DECLARE_DEF_STRING(SliderNameStr);
414
415
416 wxChar* wxToggleButtonNameStr = _T("wxToggleButton");
417 DECLARE_DEF_STRING(ToggleButtonNameStr);
418
419
420 #ifdef __WXMAC__
421 // implement dummy classes and such for wxMac
422
423 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
424
425 class wxToggleButton : public wxControl
426 {
427 public:
428 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
429 const wxPoint&, const wxSize&, long,
430 const wxValidator&, const wxString&)
431 { PyErr_SetNone(PyExc_NotImplementedError); }
432
433 wxToggleButton()
434 { PyErr_SetNone(PyExc_NotImplementedError); }
435 };
436 #endif
437
438
439 DECLARE_DEF_STRING(NOTEBOOK_NAME);
440
441
442 DECLARE_DEF_STRING(ToolBarNameStr);
443
444 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
445 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
446 if (udata) {
447 Py_INCREF(udata->m_obj);
448 return udata->m_obj;
449 } else {
450 Py_INCREF(Py_None);
451 return Py_None;
452 }
453 }
454 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
455 self->SetClientData(new wxPyUserData(clientData));
456 }
457 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){
458 wxPyUserData* udata = NULL;
459 if (clientData && clientData != Py_None)
460 udata = new wxPyUserData(clientData);
461 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
462 shortHelp, longHelp, udata);
463 }
464 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){
465 wxPyUserData* udata = NULL;
466 if (clientData && clientData != Py_None)
467 udata = new wxPyUserData(clientData);
468 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
469 shortHelp, longHelp, udata);
470 }
471 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
472 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
473 if (udata) {
474 Py_INCREF(udata->m_obj);
475 return udata->m_obj;
476 } else {
477 Py_INCREF(Py_None);
478 return Py_None;
479 }
480 }
481 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
482 self->SetToolClientData(id, new wxPyUserData(clientData));
483 }
484
485 #include <wx/listctrl.h>
486
487 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
488 DECLARE_DEF_STRING(ListCtrlNameStr);
489
490 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
491 // Python aware sorting function for wxPyListCtrl
492 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
493 int retval = 0;
494 PyObject* func = (PyObject*)funcPtr;
495 wxPyBeginBlockThreads();
496
497 PyObject* args = Py_BuildValue("(ii)", item1, item2);
498 PyObject* result = PyEval_CallObject(func, args);
499 Py_DECREF(args);
500 if (result) {
501 retval = PyInt_AsLong(result);
502 Py_DECREF(result);
503 }
504
505 wxPyEndBlockThreads();
506 return retval;
507 }
508
509 // C++ Version of a Python aware class
510 class wxPyListCtrl : public wxListCtrl {
511 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
512 public:
513 wxPyListCtrl() : wxListCtrl() {}
514 wxPyListCtrl(wxWindow* parent, wxWindowID id,
515 const wxPoint& pos,
516 const wxSize& size,
517 long style,
518 const wxValidator& validator,
519 const wxString& name) :
520 wxListCtrl(parent, id, pos, size, style, validator, name) {}
521
522 bool Create(wxWindow* parent, wxWindowID id,
523 const wxPoint& pos,
524 const wxSize& size,
525 long style,
526 const wxValidator& validator,
527 const wxString& name) {
528 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
529 }
530
531 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
532 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
533 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
534
535 PYPRIVATE;
536 };
537
538 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
539
540 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
541 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
542 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
543
544 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
545 wxListItem item;
546 item.SetMask( wxLIST_MASK_STATE |
547 wxLIST_MASK_TEXT |
548 wxLIST_MASK_IMAGE |
549 wxLIST_MASK_DATA |
550 wxLIST_SET_ITEM |
551 wxLIST_MASK_WIDTH |
552 wxLIST_MASK_FORMAT
553 );
554 if (self->GetColumn(col, item))
555 return new wxListItem(item);
556 else
557 return NULL;
558 }
559 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
560 wxListItem* info = new wxListItem;
561 info->m_itemId = itemId;
562 info->m_col = col;
563 info->m_mask = 0xFFFF;
564 self->GetItem(*info);
565 return info;
566 }
567 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
568 wxPoint pos;
569 self->GetItemPosition(item, pos);
570 return pos;
571 }
572 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
573 wxRect rect;
574 self->GetItemRect(item, rect, code);
575 return rect;
576 }
577 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
578 if (!PyCallable_Check(func))
579 return False;
580 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
581 }
582 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
583
584 return self;
585
586
587
588 }
589
590 #include <wx/treectrl.h>
591 #include "wx/wxPython/pytree.h"
592
593 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
594 DECLARE_DEF_STRING(_TreeCtrlNameStr);
595
596 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
597 if (!other) return False;
598 return *self == *other;
599 }
600 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
601 if (!other) return True;
602 return *self != *other;
603 }
604 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
605 // C++ version of Python aware wxTreeCtrl
606 class wxPyTreeCtrl : public wxTreeCtrl {
607 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
608 public:
609 wxPyTreeCtrl() : wxTreeCtrl() {}
610 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
611 const wxPoint& pos,
612 const wxSize& size,
613 long style,
614 const wxValidator& validator,
615 const wxString& name) :
616 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
617
618 bool Create(wxWindow *parent, wxWindowID id,
619 const wxPoint& pos,
620 const wxSize& size,
621 long style,
622 const wxValidator& validator,
623 const wxString& name) {
624 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
625 }
626
627
628 int OnCompareItems(const wxTreeItemId& item1,
629 const wxTreeItemId& item2) {
630 int rval = 0;
631 bool found;
632 wxPyBeginBlockThreads();
633 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
634 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
635 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
636 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
637 Py_DECREF(o1);
638 Py_DECREF(o2);
639 }
640 wxPyEndBlockThreads();
641 if (! found)
642 rval = wxTreeCtrl::OnCompareItems(item1, item2);
643 return rval;
644 }
645 PYPRIVATE;
646 };
647
648 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
649
650
651 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
652 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
653 if (data == NULL) {
654 data = new wxPyTreeItemData();
655 data->SetId(item); // set the id
656 self->SetItemData(item, data);
657 }
658 return data;
659 }
660 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
661 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
662 if (data == NULL) {
663 data = new wxPyTreeItemData();
664 data->SetId(item); // set the id
665 self->SetItemData(item, data);
666 }
667 return data->GetData();
668 }
669 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
670 data->SetId(item); // set the id
671 self->SetItemData(item, data);
672 }
673 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
674 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
675 if (data == NULL) {
676 data = new wxPyTreeItemData(obj);
677 data->SetId(item); // set the id
678 self->SetItemData(item, data);
679 } else
680 data->SetData(obj);
681 }
682 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
683 wxPyBeginBlockThreads();
684 PyObject* rval = PyList_New(0);
685 wxArrayTreeItemIds array;
686 size_t num, x;
687 num = self->GetSelections(array);
688 for (x=0; x < num; x++) {
689 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
690 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
691 PyList_Append(rval, item);
692 }
693 wxPyEndBlockThreads();
694 return rval;
695 }
696 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
697 wxTreeItemIdValue cookie = 0;
698 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
699 wxPyBeginBlockThreads();
700 PyObject* tup = PyTuple_New(2);
701 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
702 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
703 wxPyEndBlockThreads();
704 return tup;
705 }
706 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
707 wxTreeItemId ritem = self->GetNextChild(item, cookie);
708 wxPyBeginBlockThreads();
709 PyObject* tup = PyTuple_New(2);
710 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
711 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
712 wxPyEndBlockThreads();
713 return tup;
714 }
715 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
716 wxRect rect;
717 if (self->GetBoundingRect(item, rect, textOnly)) {
718 wxPyBeginBlockThreads();
719 wxRect* r = new wxRect(rect);
720 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
721 wxPyEndBlockThreads();
722 return val;
723 }
724 else
725 RETURN_NONE();
726 }
727
728 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
729
730 // C++ version of Python aware wxControl
731 class wxPyControl : public wxControl
732 {
733 DECLARE_DYNAMIC_CLASS(wxPyControl)
734 public:
735 wxPyControl() : wxControl() {}
736 wxPyControl(wxWindow* parent, const wxWindowID id,
737 const wxPoint& pos = wxDefaultPosition,
738 const wxSize& size = wxDefaultSize,
739 long style = 0,
740 const wxValidator& validator=wxDefaultValidator,
741 const wxString& name = wxPyControlNameStr)
742 : wxControl(parent, id, pos, size, style, validator, name) {}
743
744
745 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
746 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
747 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
748 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
749
750 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
751 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
752 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
753
754 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
755 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
756
757 DEC_PYCALLBACK__(InitDialog);
758 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
759 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
760 DEC_PYCALLBACK_BOOL_(Validate);
761
762 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
763 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
764 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
765
766 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
767 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
768
769 PYPRIVATE;
770 };
771
772 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
773
774 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
775 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
776 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
777 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
778
779 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
780 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
781 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
782
783 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
784 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
785
786 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
787 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
788 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
789 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
790
791 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
792 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
793 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
794
795 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
796 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
797
798
799
800
801 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
802
803 #include <wx/generic/dragimgg.h>
804
805 #ifdef __cplusplus
806 extern "C" {
807 #endif
808 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
809 PyObject *resultobj;
810 wxWindow *arg1 = (wxWindow *) 0 ;
811 int arg2 ;
812 wxString *arg3 = 0 ;
813 wxPoint const &arg4_defvalue = wxDefaultPosition ;
814 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
815 wxSize const &arg5_defvalue = wxDefaultSize ;
816 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
817 long arg6 = (long) 0 ;
818 wxValidator const &arg7_defvalue = wxDefaultValidator ;
819 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
820 wxString const &arg8_defvalue = wxPyButtonNameStr ;
821 wxString *arg8 = (wxString *) &arg8_defvalue ;
822 wxButton *result;
823 bool temp3 = False ;
824 wxPoint temp4 ;
825 wxSize temp5 ;
826 bool temp8 = False ;
827 PyObject * obj0 = 0 ;
828 PyObject * obj2 = 0 ;
829 PyObject * obj3 = 0 ;
830 PyObject * obj4 = 0 ;
831 PyObject * obj6 = 0 ;
832 PyObject * obj7 = 0 ;
833 char *kwnames[] = {
834 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
835 };
836
837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
839 {
840 arg3 = wxString_in_helper(obj2);
841 if (arg3 == NULL) SWIG_fail;
842 temp3 = True;
843 }
844 if (obj3) {
845 {
846 arg4 = &temp4;
847 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
848 }
849 }
850 if (obj4) {
851 {
852 arg5 = &temp5;
853 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
854 }
855 }
856 if (obj6) {
857 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
858 if (arg7 == NULL) {
859 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
860 }
861 }
862 if (obj7) {
863 {
864 arg8 = wxString_in_helper(obj7);
865 if (arg8 == NULL) SWIG_fail;
866 temp8 = True;
867 }
868 }
869 {
870 PyThreadState* __tstate = wxPyBeginAllowThreads();
871 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
872
873 wxPyEndAllowThreads(__tstate);
874 if (PyErr_Occurred()) SWIG_fail;
875 }
876 {
877 resultobj = wxPyMake_wxObject(result);
878 }
879 {
880 if (temp3)
881 delete arg3;
882 }
883 {
884 if (temp8)
885 delete arg8;
886 }
887 return resultobj;
888 fail:
889 {
890 if (temp3)
891 delete arg3;
892 }
893 {
894 if (temp8)
895 delete arg8;
896 }
897 return NULL;
898 }
899
900
901 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
902 PyObject *resultobj;
903 wxButton *result;
904 char *kwnames[] = {
905 NULL
906 };
907
908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
909 {
910 PyThreadState* __tstate = wxPyBeginAllowThreads();
911 result = (wxButton *)new wxButton();
912
913 wxPyEndAllowThreads(__tstate);
914 if (PyErr_Occurred()) SWIG_fail;
915 }
916 {
917 resultobj = wxPyMake_wxObject(result);
918 }
919 return resultobj;
920 fail:
921 return NULL;
922 }
923
924
925 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
926 PyObject *resultobj;
927 wxButton *arg1 = (wxButton *) 0 ;
928 wxWindow *arg2 = (wxWindow *) 0 ;
929 int arg3 ;
930 wxString *arg4 = 0 ;
931 wxPoint const &arg5_defvalue = wxDefaultPosition ;
932 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
933 wxSize const &arg6_defvalue = wxDefaultSize ;
934 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
935 long arg7 = (long) 0 ;
936 wxValidator const &arg8_defvalue = wxDefaultValidator ;
937 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
938 wxString const &arg9_defvalue = wxPyButtonNameStr ;
939 wxString *arg9 = (wxString *) &arg9_defvalue ;
940 bool result;
941 bool temp4 = False ;
942 wxPoint temp5 ;
943 wxSize temp6 ;
944 bool temp9 = False ;
945 PyObject * obj0 = 0 ;
946 PyObject * obj1 = 0 ;
947 PyObject * obj3 = 0 ;
948 PyObject * obj4 = 0 ;
949 PyObject * obj5 = 0 ;
950 PyObject * obj7 = 0 ;
951 PyObject * obj8 = 0 ;
952 char *kwnames[] = {
953 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
954 };
955
956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
958 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
959 {
960 arg4 = wxString_in_helper(obj3);
961 if (arg4 == NULL) SWIG_fail;
962 temp4 = True;
963 }
964 if (obj4) {
965 {
966 arg5 = &temp5;
967 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
968 }
969 }
970 if (obj5) {
971 {
972 arg6 = &temp6;
973 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
974 }
975 }
976 if (obj7) {
977 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
978 if (arg8 == NULL) {
979 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
980 }
981 }
982 if (obj8) {
983 {
984 arg9 = wxString_in_helper(obj8);
985 if (arg9 == NULL) SWIG_fail;
986 temp9 = True;
987 }
988 }
989 {
990 PyThreadState* __tstate = wxPyBeginAllowThreads();
991 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
992
993 wxPyEndAllowThreads(__tstate);
994 if (PyErr_Occurred()) SWIG_fail;
995 }
996 resultobj = PyInt_FromLong((long)result);
997 {
998 if (temp4)
999 delete arg4;
1000 }
1001 {
1002 if (temp9)
1003 delete arg9;
1004 }
1005 return resultobj;
1006 fail:
1007 {
1008 if (temp4)
1009 delete arg4;
1010 }
1011 {
1012 if (temp9)
1013 delete arg9;
1014 }
1015 return NULL;
1016 }
1017
1018
1019 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1020 PyObject *resultobj;
1021 wxButton *arg1 = (wxButton *) 0 ;
1022 PyObject * obj0 = 0 ;
1023 char *kwnames[] = {
1024 (char *) "self", NULL
1025 };
1026
1027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1029 {
1030 PyThreadState* __tstate = wxPyBeginAllowThreads();
1031 (arg1)->SetDefault();
1032
1033 wxPyEndAllowThreads(__tstate);
1034 if (PyErr_Occurred()) SWIG_fail;
1035 }
1036 Py_INCREF(Py_None); resultobj = Py_None;
1037 return resultobj;
1038 fail:
1039 return NULL;
1040 }
1041
1042
1043 static PyObject *_wrap_Button_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1044 PyObject *resultobj;
1045 wxButton *arg1 = (wxButton *) 0 ;
1046 wxBitmap *arg2 = 0 ;
1047 PyObject * obj0 = 0 ;
1048 PyObject * obj1 = 0 ;
1049 char *kwnames[] = {
1050 (char *) "self",(char *) "bitmap", NULL
1051 };
1052
1053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Button_SetImageLabel",kwnames,&obj0,&obj1)) goto fail;
1054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1056 if (arg2 == NULL) {
1057 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1058 }
1059 {
1060 PyThreadState* __tstate = wxPyBeginAllowThreads();
1061 (arg1)->SetImageLabel((wxBitmap const &)*arg2);
1062
1063 wxPyEndAllowThreads(__tstate);
1064 if (PyErr_Occurred()) SWIG_fail;
1065 }
1066 Py_INCREF(Py_None); resultobj = Py_None;
1067 return resultobj;
1068 fail:
1069 return NULL;
1070 }
1071
1072
1073 static PyObject *_wrap_Button_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1074 PyObject *resultobj;
1075 wxButton *arg1 = (wxButton *) 0 ;
1076 int arg2 ;
1077 int arg3 ;
1078 PyObject * obj0 = 0 ;
1079 char *kwnames[] = {
1080 (char *) "self",(char *) "x",(char *) "y", NULL
1081 };
1082
1083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Button_SetImageMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1085 {
1086 PyThreadState* __tstate = wxPyBeginAllowThreads();
1087 (arg1)->SetImageMargins(arg2,arg3);
1088
1089 wxPyEndAllowThreads(__tstate);
1090 if (PyErr_Occurred()) SWIG_fail;
1091 }
1092 Py_INCREF(Py_None); resultobj = Py_None;
1093 return resultobj;
1094 fail:
1095 return NULL;
1096 }
1097
1098
1099 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1100 PyObject *resultobj;
1101 wxSize result;
1102 char *kwnames[] = {
1103 NULL
1104 };
1105
1106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1107 {
1108 PyThreadState* __tstate = wxPyBeginAllowThreads();
1109 result = wxButton::GetDefaultSize();
1110
1111 wxPyEndAllowThreads(__tstate);
1112 if (PyErr_Occurred()) SWIG_fail;
1113 }
1114 {
1115 wxSize * resultptr;
1116 resultptr = new wxSize((wxSize &) result);
1117 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1118 }
1119 return resultobj;
1120 fail:
1121 return NULL;
1122 }
1123
1124
1125 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1126 PyObject *obj;
1127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1128 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1129 Py_INCREF(obj);
1130 return Py_BuildValue((char *)"");
1131 }
1132 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1133 PyObject *resultobj;
1134 wxWindow *arg1 = (wxWindow *) 0 ;
1135 int arg2 ;
1136 wxBitmap *arg3 = 0 ;
1137 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1138 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1139 wxSize const &arg5_defvalue = wxDefaultSize ;
1140 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1141 long arg6 = (long) wxBU_AUTODRAW ;
1142 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1143 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1144 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1145 wxString *arg8 = (wxString *) &arg8_defvalue ;
1146 wxBitmapButton *result;
1147 wxPoint temp4 ;
1148 wxSize temp5 ;
1149 bool temp8 = False ;
1150 PyObject * obj0 = 0 ;
1151 PyObject * obj2 = 0 ;
1152 PyObject * obj3 = 0 ;
1153 PyObject * obj4 = 0 ;
1154 PyObject * obj6 = 0 ;
1155 PyObject * obj7 = 0 ;
1156 char *kwnames[] = {
1157 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1158 };
1159
1160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1162 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1163 if (arg3 == NULL) {
1164 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1165 }
1166 if (obj3) {
1167 {
1168 arg4 = &temp4;
1169 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1170 }
1171 }
1172 if (obj4) {
1173 {
1174 arg5 = &temp5;
1175 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1176 }
1177 }
1178 if (obj6) {
1179 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1180 if (arg7 == NULL) {
1181 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1182 }
1183 }
1184 if (obj7) {
1185 {
1186 arg8 = wxString_in_helper(obj7);
1187 if (arg8 == NULL) SWIG_fail;
1188 temp8 = True;
1189 }
1190 }
1191 {
1192 PyThreadState* __tstate = wxPyBeginAllowThreads();
1193 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1194
1195 wxPyEndAllowThreads(__tstate);
1196 if (PyErr_Occurred()) SWIG_fail;
1197 }
1198 {
1199 resultobj = wxPyMake_wxObject(result);
1200 }
1201 {
1202 if (temp8)
1203 delete arg8;
1204 }
1205 return resultobj;
1206 fail:
1207 {
1208 if (temp8)
1209 delete arg8;
1210 }
1211 return NULL;
1212 }
1213
1214
1215 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1216 PyObject *resultobj;
1217 wxBitmapButton *result;
1218 char *kwnames[] = {
1219 NULL
1220 };
1221
1222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1223 {
1224 PyThreadState* __tstate = wxPyBeginAllowThreads();
1225 result = (wxBitmapButton *)new wxBitmapButton();
1226
1227 wxPyEndAllowThreads(__tstate);
1228 if (PyErr_Occurred()) SWIG_fail;
1229 }
1230 {
1231 resultobj = wxPyMake_wxObject(result);
1232 }
1233 return resultobj;
1234 fail:
1235 return NULL;
1236 }
1237
1238
1239 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1240 PyObject *resultobj;
1241 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1242 wxWindow *arg2 = (wxWindow *) 0 ;
1243 int arg3 ;
1244 wxBitmap *arg4 = 0 ;
1245 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1246 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1247 wxSize const &arg6_defvalue = wxDefaultSize ;
1248 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1249 long arg7 = (long) wxBU_AUTODRAW ;
1250 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1251 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1252 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1253 wxString *arg9 = (wxString *) &arg9_defvalue ;
1254 bool result;
1255 wxPoint temp5 ;
1256 wxSize temp6 ;
1257 bool temp9 = False ;
1258 PyObject * obj0 = 0 ;
1259 PyObject * obj1 = 0 ;
1260 PyObject * obj3 = 0 ;
1261 PyObject * obj4 = 0 ;
1262 PyObject * obj5 = 0 ;
1263 PyObject * obj7 = 0 ;
1264 PyObject * obj8 = 0 ;
1265 char *kwnames[] = {
1266 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1267 };
1268
1269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1272 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1273 if (arg4 == NULL) {
1274 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1275 }
1276 if (obj4) {
1277 {
1278 arg5 = &temp5;
1279 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1280 }
1281 }
1282 if (obj5) {
1283 {
1284 arg6 = &temp6;
1285 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1286 }
1287 }
1288 if (obj7) {
1289 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1290 if (arg8 == NULL) {
1291 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1292 }
1293 }
1294 if (obj8) {
1295 {
1296 arg9 = wxString_in_helper(obj8);
1297 if (arg9 == NULL) SWIG_fail;
1298 temp9 = True;
1299 }
1300 }
1301 {
1302 PyThreadState* __tstate = wxPyBeginAllowThreads();
1303 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1304
1305 wxPyEndAllowThreads(__tstate);
1306 if (PyErr_Occurred()) SWIG_fail;
1307 }
1308 resultobj = PyInt_FromLong((long)result);
1309 {
1310 if (temp9)
1311 delete arg9;
1312 }
1313 return resultobj;
1314 fail:
1315 {
1316 if (temp9)
1317 delete arg9;
1318 }
1319 return NULL;
1320 }
1321
1322
1323 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1324 PyObject *resultobj;
1325 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1326 wxBitmap result;
1327 PyObject * obj0 = 0 ;
1328 char *kwnames[] = {
1329 (char *) "self", NULL
1330 };
1331
1332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1334 {
1335 PyThreadState* __tstate = wxPyBeginAllowThreads();
1336 result = (arg1)->GetBitmapLabel();
1337
1338 wxPyEndAllowThreads(__tstate);
1339 if (PyErr_Occurred()) SWIG_fail;
1340 }
1341 {
1342 wxBitmap * resultptr;
1343 resultptr = new wxBitmap((wxBitmap &) result);
1344 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1345 }
1346 return resultobj;
1347 fail:
1348 return NULL;
1349 }
1350
1351
1352 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1353 PyObject *resultobj;
1354 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1355 wxBitmap result;
1356 PyObject * obj0 = 0 ;
1357 char *kwnames[] = {
1358 (char *) "self", NULL
1359 };
1360
1361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1363 {
1364 PyThreadState* __tstate = wxPyBeginAllowThreads();
1365 result = (arg1)->GetBitmapDisabled();
1366
1367 wxPyEndAllowThreads(__tstate);
1368 if (PyErr_Occurred()) SWIG_fail;
1369 }
1370 {
1371 wxBitmap * resultptr;
1372 resultptr = new wxBitmap((wxBitmap &) result);
1373 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1374 }
1375 return resultobj;
1376 fail:
1377 return NULL;
1378 }
1379
1380
1381 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1382 PyObject *resultobj;
1383 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1384 wxBitmap result;
1385 PyObject * obj0 = 0 ;
1386 char *kwnames[] = {
1387 (char *) "self", NULL
1388 };
1389
1390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1392 {
1393 PyThreadState* __tstate = wxPyBeginAllowThreads();
1394 result = (arg1)->GetBitmapFocus();
1395
1396 wxPyEndAllowThreads(__tstate);
1397 if (PyErr_Occurred()) SWIG_fail;
1398 }
1399 {
1400 wxBitmap * resultptr;
1401 resultptr = new wxBitmap((wxBitmap &) result);
1402 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1403 }
1404 return resultobj;
1405 fail:
1406 return NULL;
1407 }
1408
1409
1410 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1411 PyObject *resultobj;
1412 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1413 wxBitmap result;
1414 PyObject * obj0 = 0 ;
1415 char *kwnames[] = {
1416 (char *) "self", NULL
1417 };
1418
1419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1421 {
1422 PyThreadState* __tstate = wxPyBeginAllowThreads();
1423 result = (arg1)->GetBitmapSelected();
1424
1425 wxPyEndAllowThreads(__tstate);
1426 if (PyErr_Occurred()) SWIG_fail;
1427 }
1428 {
1429 wxBitmap * resultptr;
1430 resultptr = new wxBitmap((wxBitmap &) result);
1431 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1432 }
1433 return resultobj;
1434 fail:
1435 return NULL;
1436 }
1437
1438
1439 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1440 PyObject *resultobj;
1441 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1442 wxBitmap *arg2 = 0 ;
1443 PyObject * obj0 = 0 ;
1444 PyObject * obj1 = 0 ;
1445 char *kwnames[] = {
1446 (char *) "self",(char *) "bitmap", NULL
1447 };
1448
1449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1451 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1452 if (arg2 == NULL) {
1453 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1454 }
1455 {
1456 PyThreadState* __tstate = wxPyBeginAllowThreads();
1457 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1458
1459 wxPyEndAllowThreads(__tstate);
1460 if (PyErr_Occurred()) SWIG_fail;
1461 }
1462 Py_INCREF(Py_None); resultobj = Py_None;
1463 return resultobj;
1464 fail:
1465 return NULL;
1466 }
1467
1468
1469 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1470 PyObject *resultobj;
1471 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1472 wxBitmap *arg2 = 0 ;
1473 PyObject * obj0 = 0 ;
1474 PyObject * obj1 = 0 ;
1475 char *kwnames[] = {
1476 (char *) "self",(char *) "bitmap", NULL
1477 };
1478
1479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1482 if (arg2 == NULL) {
1483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1484 }
1485 {
1486 PyThreadState* __tstate = wxPyBeginAllowThreads();
1487 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1488
1489 wxPyEndAllowThreads(__tstate);
1490 if (PyErr_Occurred()) SWIG_fail;
1491 }
1492 Py_INCREF(Py_None); resultobj = Py_None;
1493 return resultobj;
1494 fail:
1495 return NULL;
1496 }
1497
1498
1499 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1500 PyObject *resultobj;
1501 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1502 wxBitmap *arg2 = 0 ;
1503 PyObject * obj0 = 0 ;
1504 PyObject * obj1 = 0 ;
1505 char *kwnames[] = {
1506 (char *) "self",(char *) "bitmap", NULL
1507 };
1508
1509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1512 if (arg2 == NULL) {
1513 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1514 }
1515 {
1516 PyThreadState* __tstate = wxPyBeginAllowThreads();
1517 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1518
1519 wxPyEndAllowThreads(__tstate);
1520 if (PyErr_Occurred()) SWIG_fail;
1521 }
1522 Py_INCREF(Py_None); resultobj = Py_None;
1523 return resultobj;
1524 fail:
1525 return NULL;
1526 }
1527
1528
1529 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1530 PyObject *resultobj;
1531 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1532 wxBitmap *arg2 = 0 ;
1533 PyObject * obj0 = 0 ;
1534 PyObject * obj1 = 0 ;
1535 char *kwnames[] = {
1536 (char *) "self",(char *) "bitmap", NULL
1537 };
1538
1539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1542 if (arg2 == NULL) {
1543 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1544 }
1545 {
1546 PyThreadState* __tstate = wxPyBeginAllowThreads();
1547 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1548
1549 wxPyEndAllowThreads(__tstate);
1550 if (PyErr_Occurred()) SWIG_fail;
1551 }
1552 Py_INCREF(Py_None); resultobj = Py_None;
1553 return resultobj;
1554 fail:
1555 return NULL;
1556 }
1557
1558
1559 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1560 PyObject *resultobj;
1561 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1562 int arg2 ;
1563 int arg3 ;
1564 PyObject * obj0 = 0 ;
1565 char *kwnames[] = {
1566 (char *) "self",(char *) "x",(char *) "y", NULL
1567 };
1568
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1571 {
1572 PyThreadState* __tstate = wxPyBeginAllowThreads();
1573 (arg1)->SetMargins(arg2,arg3);
1574
1575 wxPyEndAllowThreads(__tstate);
1576 if (PyErr_Occurred()) SWIG_fail;
1577 }
1578 Py_INCREF(Py_None); resultobj = Py_None;
1579 return resultobj;
1580 fail:
1581 return NULL;
1582 }
1583
1584
1585 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject *resultobj;
1587 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1588 int result;
1589 PyObject * obj0 = 0 ;
1590 char *kwnames[] = {
1591 (char *) "self", NULL
1592 };
1593
1594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1596 {
1597 PyThreadState* __tstate = wxPyBeginAllowThreads();
1598 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1599
1600 wxPyEndAllowThreads(__tstate);
1601 if (PyErr_Occurred()) SWIG_fail;
1602 }
1603 resultobj = PyInt_FromLong((long)result);
1604 return resultobj;
1605 fail:
1606 return NULL;
1607 }
1608
1609
1610 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1611 PyObject *resultobj;
1612 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1613 int result;
1614 PyObject * obj0 = 0 ;
1615 char *kwnames[] = {
1616 (char *) "self", NULL
1617 };
1618
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1621 {
1622 PyThreadState* __tstate = wxPyBeginAllowThreads();
1623 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1624
1625 wxPyEndAllowThreads(__tstate);
1626 if (PyErr_Occurred()) SWIG_fail;
1627 }
1628 resultobj = PyInt_FromLong((long)result);
1629 return resultobj;
1630 fail:
1631 return NULL;
1632 }
1633
1634
1635 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1636 PyObject *obj;
1637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1638 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1639 Py_INCREF(obj);
1640 return Py_BuildValue((char *)"");
1641 }
1642 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1643 PyObject *resultobj;
1644 wxWindow *arg1 = (wxWindow *) 0 ;
1645 int arg2 ;
1646 wxString *arg3 = 0 ;
1647 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1648 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1649 wxSize const &arg5_defvalue = wxDefaultSize ;
1650 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1651 long arg6 = (long) 0 ;
1652 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1653 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1654 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1655 wxString *arg8 = (wxString *) &arg8_defvalue ;
1656 wxCheckBox *result;
1657 bool temp3 = False ;
1658 wxPoint temp4 ;
1659 wxSize temp5 ;
1660 bool temp8 = False ;
1661 PyObject * obj0 = 0 ;
1662 PyObject * obj2 = 0 ;
1663 PyObject * obj3 = 0 ;
1664 PyObject * obj4 = 0 ;
1665 PyObject * obj6 = 0 ;
1666 PyObject * obj7 = 0 ;
1667 char *kwnames[] = {
1668 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1669 };
1670
1671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1673 {
1674 arg3 = wxString_in_helper(obj2);
1675 if (arg3 == NULL) SWIG_fail;
1676 temp3 = True;
1677 }
1678 if (obj3) {
1679 {
1680 arg4 = &temp4;
1681 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1682 }
1683 }
1684 if (obj4) {
1685 {
1686 arg5 = &temp5;
1687 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1688 }
1689 }
1690 if (obj6) {
1691 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1692 if (arg7 == NULL) {
1693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1694 }
1695 }
1696 if (obj7) {
1697 {
1698 arg8 = wxString_in_helper(obj7);
1699 if (arg8 == NULL) SWIG_fail;
1700 temp8 = True;
1701 }
1702 }
1703 {
1704 PyThreadState* __tstate = wxPyBeginAllowThreads();
1705 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1706
1707 wxPyEndAllowThreads(__tstate);
1708 if (PyErr_Occurred()) SWIG_fail;
1709 }
1710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1711 {
1712 if (temp3)
1713 delete arg3;
1714 }
1715 {
1716 if (temp8)
1717 delete arg8;
1718 }
1719 return resultobj;
1720 fail:
1721 {
1722 if (temp3)
1723 delete arg3;
1724 }
1725 {
1726 if (temp8)
1727 delete arg8;
1728 }
1729 return NULL;
1730 }
1731
1732
1733 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1734 PyObject *resultobj;
1735 wxCheckBox *result;
1736 char *kwnames[] = {
1737 NULL
1738 };
1739
1740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1741 {
1742 PyThreadState* __tstate = wxPyBeginAllowThreads();
1743 result = (wxCheckBox *)new wxCheckBox();
1744
1745 wxPyEndAllowThreads(__tstate);
1746 if (PyErr_Occurred()) SWIG_fail;
1747 }
1748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1749 return resultobj;
1750 fail:
1751 return NULL;
1752 }
1753
1754
1755 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1756 PyObject *resultobj;
1757 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1758 wxWindow *arg2 = (wxWindow *) 0 ;
1759 int arg3 ;
1760 wxString *arg4 = 0 ;
1761 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1762 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1763 wxSize const &arg6_defvalue = wxDefaultSize ;
1764 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1765 long arg7 = (long) 0 ;
1766 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1767 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1768 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1769 wxString *arg9 = (wxString *) &arg9_defvalue ;
1770 bool result;
1771 bool temp4 = False ;
1772 wxPoint temp5 ;
1773 wxSize temp6 ;
1774 bool temp9 = False ;
1775 PyObject * obj0 = 0 ;
1776 PyObject * obj1 = 0 ;
1777 PyObject * obj3 = 0 ;
1778 PyObject * obj4 = 0 ;
1779 PyObject * obj5 = 0 ;
1780 PyObject * obj7 = 0 ;
1781 PyObject * obj8 = 0 ;
1782 char *kwnames[] = {
1783 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1784 };
1785
1786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1789 {
1790 arg4 = wxString_in_helper(obj3);
1791 if (arg4 == NULL) SWIG_fail;
1792 temp4 = True;
1793 }
1794 if (obj4) {
1795 {
1796 arg5 = &temp5;
1797 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1798 }
1799 }
1800 if (obj5) {
1801 {
1802 arg6 = &temp6;
1803 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1804 }
1805 }
1806 if (obj7) {
1807 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1808 if (arg8 == NULL) {
1809 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1810 }
1811 }
1812 if (obj8) {
1813 {
1814 arg9 = wxString_in_helper(obj8);
1815 if (arg9 == NULL) SWIG_fail;
1816 temp9 = True;
1817 }
1818 }
1819 {
1820 PyThreadState* __tstate = wxPyBeginAllowThreads();
1821 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1822
1823 wxPyEndAllowThreads(__tstate);
1824 if (PyErr_Occurred()) SWIG_fail;
1825 }
1826 resultobj = PyInt_FromLong((long)result);
1827 {
1828 if (temp4)
1829 delete arg4;
1830 }
1831 {
1832 if (temp9)
1833 delete arg9;
1834 }
1835 return resultobj;
1836 fail:
1837 {
1838 if (temp4)
1839 delete arg4;
1840 }
1841 {
1842 if (temp9)
1843 delete arg9;
1844 }
1845 return NULL;
1846 }
1847
1848
1849 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1850 PyObject *resultobj;
1851 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1852 bool result;
1853 PyObject * obj0 = 0 ;
1854 char *kwnames[] = {
1855 (char *) "self", NULL
1856 };
1857
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1860 {
1861 PyThreadState* __tstate = wxPyBeginAllowThreads();
1862 result = (bool)(arg1)->GetValue();
1863
1864 wxPyEndAllowThreads(__tstate);
1865 if (PyErr_Occurred()) SWIG_fail;
1866 }
1867 resultobj = PyInt_FromLong((long)result);
1868 return resultobj;
1869 fail:
1870 return NULL;
1871 }
1872
1873
1874 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1875 PyObject *resultobj;
1876 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1877 bool result;
1878 PyObject * obj0 = 0 ;
1879 char *kwnames[] = {
1880 (char *) "self", NULL
1881 };
1882
1883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1885 {
1886 PyThreadState* __tstate = wxPyBeginAllowThreads();
1887 result = (bool)(arg1)->IsChecked();
1888
1889 wxPyEndAllowThreads(__tstate);
1890 if (PyErr_Occurred()) SWIG_fail;
1891 }
1892 resultobj = PyInt_FromLong((long)result);
1893 return resultobj;
1894 fail:
1895 return NULL;
1896 }
1897
1898
1899 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1900 PyObject *resultobj;
1901 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1902 bool arg2 ;
1903 PyObject * obj0 = 0 ;
1904 PyObject * obj1 = 0 ;
1905 char *kwnames[] = {
1906 (char *) "self",(char *) "state", NULL
1907 };
1908
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1911 arg2 = PyInt_AsLong(obj1) ? true : false;
1912 if (PyErr_Occurred()) SWIG_fail;
1913 {
1914 PyThreadState* __tstate = wxPyBeginAllowThreads();
1915 (arg1)->SetValue(arg2);
1916
1917 wxPyEndAllowThreads(__tstate);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 }
1920 Py_INCREF(Py_None); resultobj = Py_None;
1921 return resultobj;
1922 fail:
1923 return NULL;
1924 }
1925
1926
1927 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1928 PyObject *resultobj;
1929 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1930 int result;
1931 PyObject * obj0 = 0 ;
1932 char *kwnames[] = {
1933 (char *) "self", NULL
1934 };
1935
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1938 {
1939 PyThreadState* __tstate = wxPyBeginAllowThreads();
1940 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1941
1942 wxPyEndAllowThreads(__tstate);
1943 if (PyErr_Occurred()) SWIG_fail;
1944 }
1945 resultobj = PyInt_FromLong((long)result);
1946 return resultobj;
1947 fail:
1948 return NULL;
1949 }
1950
1951
1952 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1953 PyObject *resultobj;
1954 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1955 int arg2 ;
1956 PyObject * obj0 = 0 ;
1957 char *kwnames[] = {
1958 (char *) "self",(char *) "state", NULL
1959 };
1960
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1963 {
1964 PyThreadState* __tstate = wxPyBeginAllowThreads();
1965 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1966
1967 wxPyEndAllowThreads(__tstate);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 }
1970 Py_INCREF(Py_None); resultobj = Py_None;
1971 return resultobj;
1972 fail:
1973 return NULL;
1974 }
1975
1976
1977 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1980 bool result;
1981 PyObject * obj0 = 0 ;
1982 char *kwnames[] = {
1983 (char *) "self", NULL
1984 };
1985
1986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1988 {
1989 PyThreadState* __tstate = wxPyBeginAllowThreads();
1990 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1991
1992 wxPyEndAllowThreads(__tstate);
1993 if (PyErr_Occurred()) SWIG_fail;
1994 }
1995 resultobj = PyInt_FromLong((long)result);
1996 return resultobj;
1997 fail:
1998 return NULL;
1999 }
2000
2001
2002 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2003 PyObject *resultobj;
2004 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2005 bool result;
2006 PyObject * obj0 = 0 ;
2007 char *kwnames[] = {
2008 (char *) "self", NULL
2009 };
2010
2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2013 {
2014 PyThreadState* __tstate = wxPyBeginAllowThreads();
2015 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2016
2017 wxPyEndAllowThreads(__tstate);
2018 if (PyErr_Occurred()) SWIG_fail;
2019 }
2020 resultobj = PyInt_FromLong((long)result);
2021 return resultobj;
2022 fail:
2023 return NULL;
2024 }
2025
2026
2027 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2028 PyObject *obj;
2029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2030 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2031 Py_INCREF(obj);
2032 return Py_BuildValue((char *)"");
2033 }
2034 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2035 PyObject *resultobj;
2036 wxWindow *arg1 = (wxWindow *) 0 ;
2037 int arg2 ;
2038 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2039 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2040 wxSize const &arg4_defvalue = wxDefaultSize ;
2041 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2042 int arg5 = (int) 0 ;
2043 wxString *arg6 = (wxString *) NULL ;
2044 long arg7 = (long) 0 ;
2045 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2046 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2047 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2048 wxString *arg9 = (wxString *) &arg9_defvalue ;
2049 wxChoice *result;
2050 wxPoint temp3 ;
2051 wxSize temp4 ;
2052 bool temp8 = False ;
2053 PyObject * obj0 = 0 ;
2054 PyObject * obj2 = 0 ;
2055 PyObject * obj3 = 0 ;
2056 PyObject * obj4 = 0 ;
2057 PyObject * obj6 = 0 ;
2058 PyObject * obj7 = 0 ;
2059 char *kwnames[] = {
2060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2061 };
2062
2063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2065 if (obj2) {
2066 {
2067 arg3 = &temp3;
2068 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2069 }
2070 }
2071 if (obj3) {
2072 {
2073 arg4 = &temp4;
2074 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2075 }
2076 }
2077 if (obj4) {
2078 {
2079 arg5 = PyList_Size(obj4);
2080 arg6 = wxString_LIST_helper(obj4);
2081 if (arg6 == NULL) SWIG_fail;
2082 }
2083 }
2084 if (obj6) {
2085 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2086 if (arg8 == NULL) {
2087 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2088 }
2089 }
2090 if (obj7) {
2091 {
2092 arg9 = wxString_in_helper(obj7);
2093 if (arg9 == NULL) SWIG_fail;
2094 temp8 = True;
2095 }
2096 }
2097 {
2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
2099 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2100
2101 wxPyEndAllowThreads(__tstate);
2102 if (PyErr_Occurred()) SWIG_fail;
2103 }
2104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2105 {
2106 if (arg6) delete [] arg6;
2107 }
2108 {
2109 if (temp8)
2110 delete arg9;
2111 }
2112 return resultobj;
2113 fail:
2114 {
2115 if (arg6) delete [] arg6;
2116 }
2117 {
2118 if (temp8)
2119 delete arg9;
2120 }
2121 return NULL;
2122 }
2123
2124
2125 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2126 PyObject *resultobj;
2127 wxChoice *result;
2128 char *kwnames[] = {
2129 NULL
2130 };
2131
2132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2133 {
2134 PyThreadState* __tstate = wxPyBeginAllowThreads();
2135 result = (wxChoice *)new wxChoice();
2136
2137 wxPyEndAllowThreads(__tstate);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 }
2140 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2141 return resultobj;
2142 fail:
2143 return NULL;
2144 }
2145
2146
2147 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2148 PyObject *resultobj;
2149 wxChoice *arg1 = (wxChoice *) 0 ;
2150 wxWindow *arg2 = (wxWindow *) 0 ;
2151 int arg3 ;
2152 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2153 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2154 wxSize const &arg5_defvalue = wxDefaultSize ;
2155 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2156 int arg6 = (int) 0 ;
2157 wxString *arg7 = (wxString *) NULL ;
2158 long arg8 = (long) 0 ;
2159 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2160 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2161 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2162 wxString *arg10 = (wxString *) &arg10_defvalue ;
2163 bool result;
2164 wxPoint temp4 ;
2165 wxSize temp5 ;
2166 bool temp9 = False ;
2167 PyObject * obj0 = 0 ;
2168 PyObject * obj1 = 0 ;
2169 PyObject * obj3 = 0 ;
2170 PyObject * obj4 = 0 ;
2171 PyObject * obj5 = 0 ;
2172 PyObject * obj7 = 0 ;
2173 PyObject * obj8 = 0 ;
2174 char *kwnames[] = {
2175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2176 };
2177
2178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2180 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2181 if (obj3) {
2182 {
2183 arg4 = &temp4;
2184 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2185 }
2186 }
2187 if (obj4) {
2188 {
2189 arg5 = &temp5;
2190 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2191 }
2192 }
2193 if (obj5) {
2194 {
2195 arg6 = PyList_Size(obj5);
2196 arg7 = wxString_LIST_helper(obj5);
2197 if (arg7 == NULL) SWIG_fail;
2198 }
2199 }
2200 if (obj7) {
2201 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2202 if (arg9 == NULL) {
2203 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2204 }
2205 }
2206 if (obj8) {
2207 {
2208 arg10 = wxString_in_helper(obj8);
2209 if (arg10 == NULL) SWIG_fail;
2210 temp9 = True;
2211 }
2212 }
2213 {
2214 PyThreadState* __tstate = wxPyBeginAllowThreads();
2215 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2216
2217 wxPyEndAllowThreads(__tstate);
2218 if (PyErr_Occurred()) SWIG_fail;
2219 }
2220 resultobj = PyInt_FromLong((long)result);
2221 {
2222 if (arg7) delete [] arg7;
2223 }
2224 {
2225 if (temp9)
2226 delete arg10;
2227 }
2228 return resultobj;
2229 fail:
2230 {
2231 if (arg7) delete [] arg7;
2232 }
2233 {
2234 if (temp9)
2235 delete arg10;
2236 }
2237 return NULL;
2238 }
2239
2240
2241 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2242 PyObject *resultobj;
2243 wxChoice *arg1 = (wxChoice *) 0 ;
2244 int result;
2245 PyObject * obj0 = 0 ;
2246 char *kwnames[] = {
2247 (char *) "self", NULL
2248 };
2249
2250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2252 {
2253 PyThreadState* __tstate = wxPyBeginAllowThreads();
2254 result = (int)(arg1)->GetColumns();
2255
2256 wxPyEndAllowThreads(__tstate);
2257 if (PyErr_Occurred()) SWIG_fail;
2258 }
2259 resultobj = PyInt_FromLong((long)result);
2260 return resultobj;
2261 fail:
2262 return NULL;
2263 }
2264
2265
2266 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2267 PyObject *resultobj;
2268 wxChoice *arg1 = (wxChoice *) 0 ;
2269 int arg2 = (int) (int)1 ;
2270 PyObject * obj0 = 0 ;
2271 char *kwnames[] = {
2272 (char *) "self",(char *) "n", NULL
2273 };
2274
2275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 (arg1)->SetColumns(arg2);
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 Py_INCREF(Py_None); resultobj = Py_None;
2285 return resultobj;
2286 fail:
2287 return NULL;
2288 }
2289
2290
2291 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2292 PyObject *resultobj;
2293 wxChoice *arg1 = (wxChoice *) 0 ;
2294 int arg2 ;
2295 PyObject * obj0 = 0 ;
2296 char *kwnames[] = {
2297 (char *) "self",(char *) "n", NULL
2298 };
2299
2300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 (arg1)->SetSelection(arg2);
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) SWIG_fail;
2308 }
2309 Py_INCREF(Py_None); resultobj = Py_None;
2310 return resultobj;
2311 fail:
2312 return NULL;
2313 }
2314
2315
2316 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2317 PyObject *resultobj;
2318 wxChoice *arg1 = (wxChoice *) 0 ;
2319 wxString *arg2 = 0 ;
2320 bool temp2 = False ;
2321 PyObject * obj0 = 0 ;
2322 PyObject * obj1 = 0 ;
2323 char *kwnames[] = {
2324 (char *) "self",(char *) "string", NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2329 {
2330 arg2 = wxString_in_helper(obj1);
2331 if (arg2 == NULL) SWIG_fail;
2332 temp2 = True;
2333 }
2334 {
2335 PyThreadState* __tstate = wxPyBeginAllowThreads();
2336 (arg1)->SetStringSelection((wxString const &)*arg2);
2337
2338 wxPyEndAllowThreads(__tstate);
2339 if (PyErr_Occurred()) SWIG_fail;
2340 }
2341 Py_INCREF(Py_None); resultobj = Py_None;
2342 {
2343 if (temp2)
2344 delete arg2;
2345 }
2346 return resultobj;
2347 fail:
2348 {
2349 if (temp2)
2350 delete arg2;
2351 }
2352 return NULL;
2353 }
2354
2355
2356 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2357 PyObject *resultobj;
2358 wxChoice *arg1 = (wxChoice *) 0 ;
2359 int arg2 ;
2360 wxString *arg3 = 0 ;
2361 bool temp3 = False ;
2362 PyObject * obj0 = 0 ;
2363 PyObject * obj2 = 0 ;
2364 char *kwnames[] = {
2365 (char *) "self",(char *) "n",(char *) "s", NULL
2366 };
2367
2368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2370 {
2371 arg3 = wxString_in_helper(obj2);
2372 if (arg3 == NULL) SWIG_fail;
2373 temp3 = True;
2374 }
2375 {
2376 PyThreadState* __tstate = wxPyBeginAllowThreads();
2377 (arg1)->SetString(arg2,(wxString const &)*arg3);
2378
2379 wxPyEndAllowThreads(__tstate);
2380 if (PyErr_Occurred()) SWIG_fail;
2381 }
2382 Py_INCREF(Py_None); resultobj = Py_None;
2383 {
2384 if (temp3)
2385 delete arg3;
2386 }
2387 return resultobj;
2388 fail:
2389 {
2390 if (temp3)
2391 delete arg3;
2392 }
2393 return NULL;
2394 }
2395
2396
2397 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2398 PyObject *obj;
2399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2400 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2401 Py_INCREF(obj);
2402 return Py_BuildValue((char *)"");
2403 }
2404 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2405 PyObject *resultobj;
2406 wxWindow *arg1 = (wxWindow *) 0 ;
2407 int arg2 ;
2408 wxString const &arg3_defvalue = wxPyEmptyString ;
2409 wxString *arg3 = (wxString *) &arg3_defvalue ;
2410 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2411 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2412 wxSize const &arg5_defvalue = wxDefaultSize ;
2413 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2414 int arg6 = (int) 0 ;
2415 wxString *arg7 = (wxString *) NULL ;
2416 long arg8 = (long) 0 ;
2417 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2418 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2419 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2420 wxString *arg10 = (wxString *) &arg10_defvalue ;
2421 wxComboBox *result;
2422 bool temp3 = False ;
2423 wxPoint temp4 ;
2424 wxSize temp5 ;
2425 bool temp9 = False ;
2426 PyObject * obj0 = 0 ;
2427 PyObject * obj2 = 0 ;
2428 PyObject * obj3 = 0 ;
2429 PyObject * obj4 = 0 ;
2430 PyObject * obj5 = 0 ;
2431 PyObject * obj7 = 0 ;
2432 PyObject * obj8 = 0 ;
2433 char *kwnames[] = {
2434 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2435 };
2436
2437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2439 if (obj2) {
2440 {
2441 arg3 = wxString_in_helper(obj2);
2442 if (arg3 == NULL) SWIG_fail;
2443 temp3 = True;
2444 }
2445 }
2446 if (obj3) {
2447 {
2448 arg4 = &temp4;
2449 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2450 }
2451 }
2452 if (obj4) {
2453 {
2454 arg5 = &temp5;
2455 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2456 }
2457 }
2458 if (obj5) {
2459 {
2460 arg6 = PyList_Size(obj5);
2461 arg7 = wxString_LIST_helper(obj5);
2462 if (arg7 == NULL) SWIG_fail;
2463 }
2464 }
2465 if (obj7) {
2466 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2467 if (arg9 == NULL) {
2468 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2469 }
2470 }
2471 if (obj8) {
2472 {
2473 arg10 = wxString_in_helper(obj8);
2474 if (arg10 == NULL) SWIG_fail;
2475 temp9 = True;
2476 }
2477 }
2478 {
2479 PyThreadState* __tstate = wxPyBeginAllowThreads();
2480 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2481
2482 wxPyEndAllowThreads(__tstate);
2483 if (PyErr_Occurred()) SWIG_fail;
2484 }
2485 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2486 {
2487 if (temp3)
2488 delete arg3;
2489 }
2490 {
2491 if (arg7) delete [] arg7;
2492 }
2493 {
2494 if (temp9)
2495 delete arg10;
2496 }
2497 return resultobj;
2498 fail:
2499 {
2500 if (temp3)
2501 delete arg3;
2502 }
2503 {
2504 if (arg7) delete [] arg7;
2505 }
2506 {
2507 if (temp9)
2508 delete arg10;
2509 }
2510 return NULL;
2511 }
2512
2513
2514 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2515 PyObject *resultobj;
2516 wxComboBox *result;
2517 char *kwnames[] = {
2518 NULL
2519 };
2520
2521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2522 {
2523 PyThreadState* __tstate = wxPyBeginAllowThreads();
2524 result = (wxComboBox *)new wxComboBox();
2525
2526 wxPyEndAllowThreads(__tstate);
2527 if (PyErr_Occurred()) SWIG_fail;
2528 }
2529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2530 return resultobj;
2531 fail:
2532 return NULL;
2533 }
2534
2535
2536 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2537 PyObject *resultobj;
2538 wxComboBox *arg1 = (wxComboBox *) 0 ;
2539 wxWindow *arg2 = (wxWindow *) 0 ;
2540 int arg3 ;
2541 wxString const &arg4_defvalue = wxPyEmptyString ;
2542 wxString *arg4 = (wxString *) &arg4_defvalue ;
2543 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2544 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2545 wxSize const &arg6_defvalue = wxDefaultSize ;
2546 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2547 int arg7 = (int) 0 ;
2548 wxString *arg8 = (wxString *) NULL ;
2549 long arg9 = (long) 0 ;
2550 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2551 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2552 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2553 wxString *arg11 = (wxString *) &arg11_defvalue ;
2554 bool result;
2555 bool temp4 = False ;
2556 wxPoint temp5 ;
2557 wxSize temp6 ;
2558 bool temp10 = False ;
2559 PyObject * obj0 = 0 ;
2560 PyObject * obj1 = 0 ;
2561 PyObject * obj3 = 0 ;
2562 PyObject * obj4 = 0 ;
2563 PyObject * obj5 = 0 ;
2564 PyObject * obj6 = 0 ;
2565 PyObject * obj8 = 0 ;
2566 PyObject * obj9 = 0 ;
2567 char *kwnames[] = {
2568 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2569 };
2570
2571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2573 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2574 if (obj3) {
2575 {
2576 arg4 = wxString_in_helper(obj3);
2577 if (arg4 == NULL) SWIG_fail;
2578 temp4 = True;
2579 }
2580 }
2581 if (obj4) {
2582 {
2583 arg5 = &temp5;
2584 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2585 }
2586 }
2587 if (obj5) {
2588 {
2589 arg6 = &temp6;
2590 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2591 }
2592 }
2593 if (obj6) {
2594 {
2595 arg7 = PyList_Size(obj6);
2596 arg8 = wxString_LIST_helper(obj6);
2597 if (arg8 == NULL) SWIG_fail;
2598 }
2599 }
2600 if (obj8) {
2601 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2602 if (arg10 == NULL) {
2603 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2604 }
2605 }
2606 if (obj9) {
2607 {
2608 arg11 = wxString_in_helper(obj9);
2609 if (arg11 == NULL) SWIG_fail;
2610 temp10 = True;
2611 }
2612 }
2613 {
2614 PyThreadState* __tstate = wxPyBeginAllowThreads();
2615 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2616
2617 wxPyEndAllowThreads(__tstate);
2618 if (PyErr_Occurred()) SWIG_fail;
2619 }
2620 resultobj = PyInt_FromLong((long)result);
2621 {
2622 if (temp4)
2623 delete arg4;
2624 }
2625 {
2626 if (arg8) delete [] arg8;
2627 }
2628 {
2629 if (temp10)
2630 delete arg11;
2631 }
2632 return resultobj;
2633 fail:
2634 {
2635 if (temp4)
2636 delete arg4;
2637 }
2638 {
2639 if (arg8) delete [] arg8;
2640 }
2641 {
2642 if (temp10)
2643 delete arg11;
2644 }
2645 return NULL;
2646 }
2647
2648
2649 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2650 PyObject *resultobj;
2651 wxComboBox *arg1 = (wxComboBox *) 0 ;
2652 wxString result;
2653 PyObject * obj0 = 0 ;
2654 char *kwnames[] = {
2655 (char *) "self", NULL
2656 };
2657
2658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2660 {
2661 PyThreadState* __tstate = wxPyBeginAllowThreads();
2662 result = ((wxComboBox const *)arg1)->GetValue();
2663
2664 wxPyEndAllowThreads(__tstate);
2665 if (PyErr_Occurred()) SWIG_fail;
2666 }
2667 {
2668 #if wxUSE_UNICODE
2669 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2670 #else
2671 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2672 #endif
2673 }
2674 return resultobj;
2675 fail:
2676 return NULL;
2677 }
2678
2679
2680 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2681 PyObject *resultobj;
2682 wxComboBox *arg1 = (wxComboBox *) 0 ;
2683 wxString *arg2 = 0 ;
2684 bool temp2 = False ;
2685 PyObject * obj0 = 0 ;
2686 PyObject * obj1 = 0 ;
2687 char *kwnames[] = {
2688 (char *) "self",(char *) "value", NULL
2689 };
2690
2691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2693 {
2694 arg2 = wxString_in_helper(obj1);
2695 if (arg2 == NULL) SWIG_fail;
2696 temp2 = True;
2697 }
2698 {
2699 PyThreadState* __tstate = wxPyBeginAllowThreads();
2700 (arg1)->SetValue((wxString const &)*arg2);
2701
2702 wxPyEndAllowThreads(__tstate);
2703 if (PyErr_Occurred()) SWIG_fail;
2704 }
2705 Py_INCREF(Py_None); resultobj = Py_None;
2706 {
2707 if (temp2)
2708 delete arg2;
2709 }
2710 return resultobj;
2711 fail:
2712 {
2713 if (temp2)
2714 delete arg2;
2715 }
2716 return NULL;
2717 }
2718
2719
2720 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2721 PyObject *resultobj;
2722 wxComboBox *arg1 = (wxComboBox *) 0 ;
2723 PyObject * obj0 = 0 ;
2724 char *kwnames[] = {
2725 (char *) "self", NULL
2726 };
2727
2728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2730 {
2731 PyThreadState* __tstate = wxPyBeginAllowThreads();
2732 (arg1)->Copy();
2733
2734 wxPyEndAllowThreads(__tstate);
2735 if (PyErr_Occurred()) SWIG_fail;
2736 }
2737 Py_INCREF(Py_None); resultobj = Py_None;
2738 return resultobj;
2739 fail:
2740 return NULL;
2741 }
2742
2743
2744 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2745 PyObject *resultobj;
2746 wxComboBox *arg1 = (wxComboBox *) 0 ;
2747 PyObject * obj0 = 0 ;
2748 char *kwnames[] = {
2749 (char *) "self", NULL
2750 };
2751
2752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2754 {
2755 PyThreadState* __tstate = wxPyBeginAllowThreads();
2756 (arg1)->Cut();
2757
2758 wxPyEndAllowThreads(__tstate);
2759 if (PyErr_Occurred()) SWIG_fail;
2760 }
2761 Py_INCREF(Py_None); resultobj = Py_None;
2762 return resultobj;
2763 fail:
2764 return NULL;
2765 }
2766
2767
2768 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2769 PyObject *resultobj;
2770 wxComboBox *arg1 = (wxComboBox *) 0 ;
2771 PyObject * obj0 = 0 ;
2772 char *kwnames[] = {
2773 (char *) "self", NULL
2774 };
2775
2776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2778 {
2779 PyThreadState* __tstate = wxPyBeginAllowThreads();
2780 (arg1)->Paste();
2781
2782 wxPyEndAllowThreads(__tstate);
2783 if (PyErr_Occurred()) SWIG_fail;
2784 }
2785 Py_INCREF(Py_None); resultobj = Py_None;
2786 return resultobj;
2787 fail:
2788 return NULL;
2789 }
2790
2791
2792 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2793 PyObject *resultobj;
2794 wxComboBox *arg1 = (wxComboBox *) 0 ;
2795 long arg2 ;
2796 PyObject * obj0 = 0 ;
2797 char *kwnames[] = {
2798 (char *) "self",(char *) "pos", NULL
2799 };
2800
2801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2803 {
2804 PyThreadState* __tstate = wxPyBeginAllowThreads();
2805 (arg1)->SetInsertionPoint(arg2);
2806
2807 wxPyEndAllowThreads(__tstate);
2808 if (PyErr_Occurred()) SWIG_fail;
2809 }
2810 Py_INCREF(Py_None); resultobj = Py_None;
2811 return resultobj;
2812 fail:
2813 return NULL;
2814 }
2815
2816
2817 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2818 PyObject *resultobj;
2819 wxComboBox *arg1 = (wxComboBox *) 0 ;
2820 long result;
2821 PyObject * obj0 = 0 ;
2822 char *kwnames[] = {
2823 (char *) "self", NULL
2824 };
2825
2826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2828 {
2829 PyThreadState* __tstate = wxPyBeginAllowThreads();
2830 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2831
2832 wxPyEndAllowThreads(__tstate);
2833 if (PyErr_Occurred()) SWIG_fail;
2834 }
2835 resultobj = PyInt_FromLong((long)result);
2836 return resultobj;
2837 fail:
2838 return NULL;
2839 }
2840
2841
2842 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2843 PyObject *resultobj;
2844 wxComboBox *arg1 = (wxComboBox *) 0 ;
2845 long result;
2846 PyObject * obj0 = 0 ;
2847 char *kwnames[] = {
2848 (char *) "self", NULL
2849 };
2850
2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2853 {
2854 PyThreadState* __tstate = wxPyBeginAllowThreads();
2855 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2856
2857 wxPyEndAllowThreads(__tstate);
2858 if (PyErr_Occurred()) SWIG_fail;
2859 }
2860 resultobj = PyInt_FromLong((long)result);
2861 return resultobj;
2862 fail:
2863 return NULL;
2864 }
2865
2866
2867 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2868 PyObject *resultobj;
2869 wxComboBox *arg1 = (wxComboBox *) 0 ;
2870 long arg2 ;
2871 long arg3 ;
2872 wxString *arg4 = 0 ;
2873 bool temp4 = False ;
2874 PyObject * obj0 = 0 ;
2875 PyObject * obj3 = 0 ;
2876 char *kwnames[] = {
2877 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2878 };
2879
2880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2882 {
2883 arg4 = wxString_in_helper(obj3);
2884 if (arg4 == NULL) SWIG_fail;
2885 temp4 = True;
2886 }
2887 {
2888 PyThreadState* __tstate = wxPyBeginAllowThreads();
2889 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2890
2891 wxPyEndAllowThreads(__tstate);
2892 if (PyErr_Occurred()) SWIG_fail;
2893 }
2894 Py_INCREF(Py_None); resultobj = Py_None;
2895 {
2896 if (temp4)
2897 delete arg4;
2898 }
2899 return resultobj;
2900 fail:
2901 {
2902 if (temp4)
2903 delete arg4;
2904 }
2905 return NULL;
2906 }
2907
2908
2909 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2910 PyObject *resultobj;
2911 wxComboBox *arg1 = (wxComboBox *) 0 ;
2912 long arg2 ;
2913 long arg3 ;
2914 PyObject * obj0 = 0 ;
2915 char *kwnames[] = {
2916 (char *) "self",(char *) "from",(char *) "to", NULL
2917 };
2918
2919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2921 {
2922 PyThreadState* __tstate = wxPyBeginAllowThreads();
2923 (arg1)->SetSelection(arg2,arg3);
2924
2925 wxPyEndAllowThreads(__tstate);
2926 if (PyErr_Occurred()) SWIG_fail;
2927 }
2928 Py_INCREF(Py_None); resultobj = Py_None;
2929 return resultobj;
2930 fail:
2931 return NULL;
2932 }
2933
2934
2935 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2936 PyObject *resultobj;
2937 wxComboBox *arg1 = (wxComboBox *) 0 ;
2938 bool arg2 ;
2939 PyObject * obj0 = 0 ;
2940 PyObject * obj1 = 0 ;
2941 char *kwnames[] = {
2942 (char *) "self",(char *) "editable", NULL
2943 };
2944
2945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2947 arg2 = PyInt_AsLong(obj1) ? true : false;
2948 if (PyErr_Occurred()) SWIG_fail;
2949 {
2950 PyThreadState* __tstate = wxPyBeginAllowThreads();
2951 (arg1)->SetEditable(arg2);
2952
2953 wxPyEndAllowThreads(__tstate);
2954 if (PyErr_Occurred()) SWIG_fail;
2955 }
2956 Py_INCREF(Py_None); resultobj = Py_None;
2957 return resultobj;
2958 fail:
2959 return NULL;
2960 }
2961
2962
2963 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2964 PyObject *resultobj;
2965 wxComboBox *arg1 = (wxComboBox *) 0 ;
2966 PyObject * obj0 = 0 ;
2967 char *kwnames[] = {
2968 (char *) "self", NULL
2969 };
2970
2971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2973 {
2974 PyThreadState* __tstate = wxPyBeginAllowThreads();
2975 (arg1)->SetInsertionPointEnd();
2976
2977 wxPyEndAllowThreads(__tstate);
2978 if (PyErr_Occurred()) SWIG_fail;
2979 }
2980 Py_INCREF(Py_None); resultobj = Py_None;
2981 return resultobj;
2982 fail:
2983 return NULL;
2984 }
2985
2986
2987 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
2988 PyObject *resultobj;
2989 wxComboBox *arg1 = (wxComboBox *) 0 ;
2990 long arg2 ;
2991 long arg3 ;
2992 PyObject * obj0 = 0 ;
2993 char *kwnames[] = {
2994 (char *) "self",(char *) "from",(char *) "to", NULL
2995 };
2996
2997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
2998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2999 {
3000 PyThreadState* __tstate = wxPyBeginAllowThreads();
3001 (arg1)->Remove(arg2,arg3);
3002
3003 wxPyEndAllowThreads(__tstate);
3004 if (PyErr_Occurred()) SWIG_fail;
3005 }
3006 Py_INCREF(Py_None); resultobj = Py_None;
3007 return resultobj;
3008 fail:
3009 return NULL;
3010 }
3011
3012
3013 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3014 PyObject *obj;
3015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3016 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3017 Py_INCREF(obj);
3018 return Py_BuildValue((char *)"");
3019 }
3020 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3021 PyObject *resultobj;
3022 wxWindow *arg1 = (wxWindow *) 0 ;
3023 int arg2 ;
3024 int arg3 ;
3025 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3026 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3027 wxSize const &arg5_defvalue = wxDefaultSize ;
3028 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3029 long arg6 = (long) wxGA_HORIZONTAL ;
3030 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3031 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3032 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3033 wxString *arg8 = (wxString *) &arg8_defvalue ;
3034 wxGauge *result;
3035 wxPoint temp4 ;
3036 wxSize temp5 ;
3037 bool temp8 = False ;
3038 PyObject * obj0 = 0 ;
3039 PyObject * obj3 = 0 ;
3040 PyObject * obj4 = 0 ;
3041 PyObject * obj6 = 0 ;
3042 PyObject * obj7 = 0 ;
3043 char *kwnames[] = {
3044 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3045 };
3046
3047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3049 if (obj3) {
3050 {
3051 arg4 = &temp4;
3052 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3053 }
3054 }
3055 if (obj4) {
3056 {
3057 arg5 = &temp5;
3058 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3059 }
3060 }
3061 if (obj6) {
3062 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3063 if (arg7 == NULL) {
3064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3065 }
3066 }
3067 if (obj7) {
3068 {
3069 arg8 = wxString_in_helper(obj7);
3070 if (arg8 == NULL) SWIG_fail;
3071 temp8 = True;
3072 }
3073 }
3074 {
3075 PyThreadState* __tstate = wxPyBeginAllowThreads();
3076 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3077
3078 wxPyEndAllowThreads(__tstate);
3079 if (PyErr_Occurred()) SWIG_fail;
3080 }
3081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3082 {
3083 if (temp8)
3084 delete arg8;
3085 }
3086 return resultobj;
3087 fail:
3088 {
3089 if (temp8)
3090 delete arg8;
3091 }
3092 return NULL;
3093 }
3094
3095
3096 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3097 PyObject *resultobj;
3098 wxGauge *result;
3099 char *kwnames[] = {
3100 NULL
3101 };
3102
3103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3104 {
3105 PyThreadState* __tstate = wxPyBeginAllowThreads();
3106 result = (wxGauge *)new wxGauge();
3107
3108 wxPyEndAllowThreads(__tstate);
3109 if (PyErr_Occurred()) SWIG_fail;
3110 }
3111 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3112 return resultobj;
3113 fail:
3114 return NULL;
3115 }
3116
3117
3118 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3119 PyObject *resultobj;
3120 wxGauge *arg1 = (wxGauge *) 0 ;
3121 wxWindow *arg2 = (wxWindow *) 0 ;
3122 int arg3 ;
3123 int arg4 ;
3124 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3125 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3126 wxSize const &arg6_defvalue = wxDefaultSize ;
3127 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3128 long arg7 = (long) wxGA_HORIZONTAL ;
3129 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3130 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3131 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3132 wxString *arg9 = (wxString *) &arg9_defvalue ;
3133 bool result;
3134 wxPoint temp5 ;
3135 wxSize temp6 ;
3136 bool temp9 = False ;
3137 PyObject * obj0 = 0 ;
3138 PyObject * obj1 = 0 ;
3139 PyObject * obj4 = 0 ;
3140 PyObject * obj5 = 0 ;
3141 PyObject * obj7 = 0 ;
3142 PyObject * obj8 = 0 ;
3143 char *kwnames[] = {
3144 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3145 };
3146
3147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3150 if (obj4) {
3151 {
3152 arg5 = &temp5;
3153 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3154 }
3155 }
3156 if (obj5) {
3157 {
3158 arg6 = &temp6;
3159 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3160 }
3161 }
3162 if (obj7) {
3163 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3164 if (arg8 == NULL) {
3165 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3166 }
3167 }
3168 if (obj8) {
3169 {
3170 arg9 = wxString_in_helper(obj8);
3171 if (arg9 == NULL) SWIG_fail;
3172 temp9 = True;
3173 }
3174 }
3175 {
3176 PyThreadState* __tstate = wxPyBeginAllowThreads();
3177 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3178
3179 wxPyEndAllowThreads(__tstate);
3180 if (PyErr_Occurred()) SWIG_fail;
3181 }
3182 resultobj = PyInt_FromLong((long)result);
3183 {
3184 if (temp9)
3185 delete arg9;
3186 }
3187 return resultobj;
3188 fail:
3189 {
3190 if (temp9)
3191 delete arg9;
3192 }
3193 return NULL;
3194 }
3195
3196
3197 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3198 PyObject *resultobj;
3199 wxGauge *arg1 = (wxGauge *) 0 ;
3200 int arg2 ;
3201 PyObject * obj0 = 0 ;
3202 char *kwnames[] = {
3203 (char *) "self",(char *) "range", NULL
3204 };
3205
3206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3208 {
3209 PyThreadState* __tstate = wxPyBeginAllowThreads();
3210 (arg1)->SetRange(arg2);
3211
3212 wxPyEndAllowThreads(__tstate);
3213 if (PyErr_Occurred()) SWIG_fail;
3214 }
3215 Py_INCREF(Py_None); resultobj = Py_None;
3216 return resultobj;
3217 fail:
3218 return NULL;
3219 }
3220
3221
3222 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3223 PyObject *resultobj;
3224 wxGauge *arg1 = (wxGauge *) 0 ;
3225 int result;
3226 PyObject * obj0 = 0 ;
3227 char *kwnames[] = {
3228 (char *) "self", NULL
3229 };
3230
3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3233 {
3234 PyThreadState* __tstate = wxPyBeginAllowThreads();
3235 result = (int)((wxGauge const *)arg1)->GetRange();
3236
3237 wxPyEndAllowThreads(__tstate);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 }
3240 resultobj = PyInt_FromLong((long)result);
3241 return resultobj;
3242 fail:
3243 return NULL;
3244 }
3245
3246
3247 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3248 PyObject *resultobj;
3249 wxGauge *arg1 = (wxGauge *) 0 ;
3250 int arg2 ;
3251 PyObject * obj0 = 0 ;
3252 char *kwnames[] = {
3253 (char *) "self",(char *) "pos", NULL
3254 };
3255
3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3258 {
3259 PyThreadState* __tstate = wxPyBeginAllowThreads();
3260 (arg1)->SetValue(arg2);
3261
3262 wxPyEndAllowThreads(__tstate);
3263 if (PyErr_Occurred()) SWIG_fail;
3264 }
3265 Py_INCREF(Py_None); resultobj = Py_None;
3266 return resultobj;
3267 fail:
3268 return NULL;
3269 }
3270
3271
3272 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3273 PyObject *resultobj;
3274 wxGauge *arg1 = (wxGauge *) 0 ;
3275 int result;
3276 PyObject * obj0 = 0 ;
3277 char *kwnames[] = {
3278 (char *) "self", NULL
3279 };
3280
3281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3283 {
3284 PyThreadState* __tstate = wxPyBeginAllowThreads();
3285 result = (int)((wxGauge const *)arg1)->GetValue();
3286
3287 wxPyEndAllowThreads(__tstate);
3288 if (PyErr_Occurred()) SWIG_fail;
3289 }
3290 resultobj = PyInt_FromLong((long)result);
3291 return resultobj;
3292 fail:
3293 return NULL;
3294 }
3295
3296
3297 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3298 PyObject *resultobj;
3299 wxGauge *arg1 = (wxGauge *) 0 ;
3300 bool result;
3301 PyObject * obj0 = 0 ;
3302 char *kwnames[] = {
3303 (char *) "self", NULL
3304 };
3305
3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3308 {
3309 PyThreadState* __tstate = wxPyBeginAllowThreads();
3310 result = (bool)((wxGauge const *)arg1)->IsVertical();
3311
3312 wxPyEndAllowThreads(__tstate);
3313 if (PyErr_Occurred()) SWIG_fail;
3314 }
3315 resultobj = PyInt_FromLong((long)result);
3316 return resultobj;
3317 fail:
3318 return NULL;
3319 }
3320
3321
3322 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3323 PyObject *resultobj;
3324 wxGauge *arg1 = (wxGauge *) 0 ;
3325 int arg2 ;
3326 PyObject * obj0 = 0 ;
3327 char *kwnames[] = {
3328 (char *) "self",(char *) "w", NULL
3329 };
3330
3331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3333 {
3334 PyThreadState* __tstate = wxPyBeginAllowThreads();
3335 (arg1)->SetShadowWidth(arg2);
3336
3337 wxPyEndAllowThreads(__tstate);
3338 if (PyErr_Occurred()) SWIG_fail;
3339 }
3340 Py_INCREF(Py_None); resultobj = Py_None;
3341 return resultobj;
3342 fail:
3343 return NULL;
3344 }
3345
3346
3347 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3348 PyObject *resultobj;
3349 wxGauge *arg1 = (wxGauge *) 0 ;
3350 int result;
3351 PyObject * obj0 = 0 ;
3352 char *kwnames[] = {
3353 (char *) "self", NULL
3354 };
3355
3356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3361
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 resultobj = PyInt_FromLong((long)result);
3366 return resultobj;
3367 fail:
3368 return NULL;
3369 }
3370
3371
3372 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3373 PyObject *resultobj;
3374 wxGauge *arg1 = (wxGauge *) 0 ;
3375 int arg2 ;
3376 PyObject * obj0 = 0 ;
3377 char *kwnames[] = {
3378 (char *) "self",(char *) "w", NULL
3379 };
3380
3381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3383 {
3384 PyThreadState* __tstate = wxPyBeginAllowThreads();
3385 (arg1)->SetBezelFace(arg2);
3386
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 }
3390 Py_INCREF(Py_None); resultobj = Py_None;
3391 return resultobj;
3392 fail:
3393 return NULL;
3394 }
3395
3396
3397 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3398 PyObject *resultobj;
3399 wxGauge *arg1 = (wxGauge *) 0 ;
3400 int result;
3401 PyObject * obj0 = 0 ;
3402 char *kwnames[] = {
3403 (char *) "self", NULL
3404 };
3405
3406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3408 {
3409 PyThreadState* __tstate = wxPyBeginAllowThreads();
3410 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3411
3412 wxPyEndAllowThreads(__tstate);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 }
3415 resultobj = PyInt_FromLong((long)result);
3416 return resultobj;
3417 fail:
3418 return NULL;
3419 }
3420
3421
3422 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3423 PyObject *obj;
3424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3425 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3426 Py_INCREF(obj);
3427 return Py_BuildValue((char *)"");
3428 }
3429 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3430 PyObject *resultobj;
3431 wxWindow *arg1 = (wxWindow *) 0 ;
3432 int arg2 ;
3433 wxString *arg3 = 0 ;
3434 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3435 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3436 wxSize const &arg5_defvalue = wxDefaultSize ;
3437 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3438 long arg6 = (long) 0 ;
3439 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3440 wxString *arg7 = (wxString *) &arg7_defvalue ;
3441 wxStaticBox *result;
3442 bool temp3 = False ;
3443 wxPoint temp4 ;
3444 wxSize temp5 ;
3445 bool temp7 = False ;
3446 PyObject * obj0 = 0 ;
3447 PyObject * obj2 = 0 ;
3448 PyObject * obj3 = 0 ;
3449 PyObject * obj4 = 0 ;
3450 PyObject * obj6 = 0 ;
3451 char *kwnames[] = {
3452 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3453 };
3454
3455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3457 {
3458 arg3 = wxString_in_helper(obj2);
3459 if (arg3 == NULL) SWIG_fail;
3460 temp3 = True;
3461 }
3462 if (obj3) {
3463 {
3464 arg4 = &temp4;
3465 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3466 }
3467 }
3468 if (obj4) {
3469 {
3470 arg5 = &temp5;
3471 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3472 }
3473 }
3474 if (obj6) {
3475 {
3476 arg7 = wxString_in_helper(obj6);
3477 if (arg7 == NULL) SWIG_fail;
3478 temp7 = True;
3479 }
3480 }
3481 {
3482 PyThreadState* __tstate = wxPyBeginAllowThreads();
3483 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3484
3485 wxPyEndAllowThreads(__tstate);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
3488 {
3489 resultobj = wxPyMake_wxObject(result);
3490 }
3491 {
3492 if (temp3)
3493 delete arg3;
3494 }
3495 {
3496 if (temp7)
3497 delete arg7;
3498 }
3499 return resultobj;
3500 fail:
3501 {
3502 if (temp3)
3503 delete arg3;
3504 }
3505 {
3506 if (temp7)
3507 delete arg7;
3508 }
3509 return NULL;
3510 }
3511
3512
3513 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3514 PyObject *resultobj;
3515 wxStaticBox *result;
3516 char *kwnames[] = {
3517 NULL
3518 };
3519
3520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3521 {
3522 PyThreadState* __tstate = wxPyBeginAllowThreads();
3523 result = (wxStaticBox *)new wxStaticBox();
3524
3525 wxPyEndAllowThreads(__tstate);
3526 if (PyErr_Occurred()) SWIG_fail;
3527 }
3528 {
3529 resultobj = wxPyMake_wxObject(result);
3530 }
3531 return resultobj;
3532 fail:
3533 return NULL;
3534 }
3535
3536
3537 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3538 PyObject *resultobj;
3539 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3540 wxWindow *arg2 = (wxWindow *) 0 ;
3541 int arg3 ;
3542 wxString *arg4 = 0 ;
3543 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3544 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3545 wxSize const &arg6_defvalue = wxDefaultSize ;
3546 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3547 long arg7 = (long) 0 ;
3548 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3549 wxString *arg8 = (wxString *) &arg8_defvalue ;
3550 bool result;
3551 bool temp4 = False ;
3552 wxPoint temp5 ;
3553 wxSize temp6 ;
3554 bool temp8 = False ;
3555 PyObject * obj0 = 0 ;
3556 PyObject * obj1 = 0 ;
3557 PyObject * obj3 = 0 ;
3558 PyObject * obj4 = 0 ;
3559 PyObject * obj5 = 0 ;
3560 PyObject * obj7 = 0 ;
3561 char *kwnames[] = {
3562 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3563 };
3564
3565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3568 {
3569 arg4 = wxString_in_helper(obj3);
3570 if (arg4 == NULL) SWIG_fail;
3571 temp4 = True;
3572 }
3573 if (obj4) {
3574 {
3575 arg5 = &temp5;
3576 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3577 }
3578 }
3579 if (obj5) {
3580 {
3581 arg6 = &temp6;
3582 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3583 }
3584 }
3585 if (obj7) {
3586 {
3587 arg8 = wxString_in_helper(obj7);
3588 if (arg8 == NULL) SWIG_fail;
3589 temp8 = True;
3590 }
3591 }
3592 {
3593 PyThreadState* __tstate = wxPyBeginAllowThreads();
3594 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3595
3596 wxPyEndAllowThreads(__tstate);
3597 if (PyErr_Occurred()) SWIG_fail;
3598 }
3599 resultobj = PyInt_FromLong((long)result);
3600 {
3601 if (temp4)
3602 delete arg4;
3603 }
3604 {
3605 if (temp8)
3606 delete arg8;
3607 }
3608 return resultobj;
3609 fail:
3610 {
3611 if (temp4)
3612 delete arg4;
3613 }
3614 {
3615 if (temp8)
3616 delete arg8;
3617 }
3618 return NULL;
3619 }
3620
3621
3622 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3623 PyObject *obj;
3624 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3625 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3626 Py_INCREF(obj);
3627 return Py_BuildValue((char *)"");
3628 }
3629 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3630 PyObject *resultobj;
3631 wxWindow *arg1 = (wxWindow *) 0 ;
3632 int arg2 ;
3633 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3634 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3635 wxSize const &arg4_defvalue = wxDefaultSize ;
3636 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3637 long arg5 = (long) wxLI_HORIZONTAL ;
3638 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3639 wxString *arg6 = (wxString *) &arg6_defvalue ;
3640 wxStaticLine *result;
3641 wxPoint temp3 ;
3642 wxSize temp4 ;
3643 bool temp6 = False ;
3644 PyObject * obj0 = 0 ;
3645 PyObject * obj2 = 0 ;
3646 PyObject * obj3 = 0 ;
3647 PyObject * obj5 = 0 ;
3648 char *kwnames[] = {
3649 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3650 };
3651
3652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3654 if (obj2) {
3655 {
3656 arg3 = &temp3;
3657 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3658 }
3659 }
3660 if (obj3) {
3661 {
3662 arg4 = &temp4;
3663 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3664 }
3665 }
3666 if (obj5) {
3667 {
3668 arg6 = wxString_in_helper(obj5);
3669 if (arg6 == NULL) SWIG_fail;
3670 temp6 = True;
3671 }
3672 }
3673 {
3674 PyThreadState* __tstate = wxPyBeginAllowThreads();
3675 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3676
3677 wxPyEndAllowThreads(__tstate);
3678 if (PyErr_Occurred()) SWIG_fail;
3679 }
3680 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3681 {
3682 if (temp6)
3683 delete arg6;
3684 }
3685 return resultobj;
3686 fail:
3687 {
3688 if (temp6)
3689 delete arg6;
3690 }
3691 return NULL;
3692 }
3693
3694
3695 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3696 PyObject *resultobj;
3697 wxStaticLine *result;
3698 char *kwnames[] = {
3699 NULL
3700 };
3701
3702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3703 {
3704 PyThreadState* __tstate = wxPyBeginAllowThreads();
3705 result = (wxStaticLine *)new wxStaticLine();
3706
3707 wxPyEndAllowThreads(__tstate);
3708 if (PyErr_Occurred()) SWIG_fail;
3709 }
3710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3711 return resultobj;
3712 fail:
3713 return NULL;
3714 }
3715
3716
3717 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3718 PyObject *resultobj;
3719 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3720 wxWindow *arg2 = (wxWindow *) 0 ;
3721 int arg3 ;
3722 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3723 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3724 wxSize const &arg5_defvalue = wxDefaultSize ;
3725 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3726 long arg6 = (long) wxLI_HORIZONTAL ;
3727 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3728 wxString *arg7 = (wxString *) &arg7_defvalue ;
3729 bool result;
3730 wxPoint temp4 ;
3731 wxSize temp5 ;
3732 bool temp7 = False ;
3733 PyObject * obj0 = 0 ;
3734 PyObject * obj1 = 0 ;
3735 PyObject * obj3 = 0 ;
3736 PyObject * obj4 = 0 ;
3737 PyObject * obj6 = 0 ;
3738 char *kwnames[] = {
3739 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3740 };
3741
3742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3745 if (obj3) {
3746 {
3747 arg4 = &temp4;
3748 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3749 }
3750 }
3751 if (obj4) {
3752 {
3753 arg5 = &temp5;
3754 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3755 }
3756 }
3757 if (obj6) {
3758 {
3759 arg7 = wxString_in_helper(obj6);
3760 if (arg7 == NULL) SWIG_fail;
3761 temp7 = True;
3762 }
3763 }
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3767
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
3771 resultobj = PyInt_FromLong((long)result);
3772 {
3773 if (temp7)
3774 delete arg7;
3775 }
3776 return resultobj;
3777 fail:
3778 {
3779 if (temp7)
3780 delete arg7;
3781 }
3782 return NULL;
3783 }
3784
3785
3786 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3787 PyObject *resultobj;
3788 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3789 bool result;
3790 PyObject * obj0 = 0 ;
3791 char *kwnames[] = {
3792 (char *) "self", NULL
3793 };
3794
3795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3797 {
3798 PyThreadState* __tstate = wxPyBeginAllowThreads();
3799 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3800
3801 wxPyEndAllowThreads(__tstate);
3802 if (PyErr_Occurred()) SWIG_fail;
3803 }
3804 resultobj = PyInt_FromLong((long)result);
3805 return resultobj;
3806 fail:
3807 return NULL;
3808 }
3809
3810
3811 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3812 PyObject *resultobj;
3813 int result;
3814 char *kwnames[] = {
3815 NULL
3816 };
3817
3818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3819 {
3820 PyThreadState* __tstate = wxPyBeginAllowThreads();
3821 result = (int)wxStaticLine::GetDefaultSize();
3822
3823 wxPyEndAllowThreads(__tstate);
3824 if (PyErr_Occurred()) SWIG_fail;
3825 }
3826 resultobj = PyInt_FromLong((long)result);
3827 return resultobj;
3828 fail:
3829 return NULL;
3830 }
3831
3832
3833 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3834 PyObject *obj;
3835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3836 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3837 Py_INCREF(obj);
3838 return Py_BuildValue((char *)"");
3839 }
3840 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3841 PyObject *resultobj;
3842 wxWindow *arg1 = (wxWindow *) 0 ;
3843 int arg2 ;
3844 wxString *arg3 = 0 ;
3845 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3846 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3847 wxSize const &arg5_defvalue = wxDefaultSize ;
3848 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3849 long arg6 = (long) 0 ;
3850 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3851 wxString *arg7 = (wxString *) &arg7_defvalue ;
3852 wxStaticText *result;
3853 bool temp3 = False ;
3854 wxPoint temp4 ;
3855 wxSize temp5 ;
3856 bool temp7 = False ;
3857 PyObject * obj0 = 0 ;
3858 PyObject * obj2 = 0 ;
3859 PyObject * obj3 = 0 ;
3860 PyObject * obj4 = 0 ;
3861 PyObject * obj6 = 0 ;
3862 char *kwnames[] = {
3863 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3864 };
3865
3866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3868 {
3869 arg3 = wxString_in_helper(obj2);
3870 if (arg3 == NULL) SWIG_fail;
3871 temp3 = True;
3872 }
3873 if (obj3) {
3874 {
3875 arg4 = &temp4;
3876 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3877 }
3878 }
3879 if (obj4) {
3880 {
3881 arg5 = &temp5;
3882 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3883 }
3884 }
3885 if (obj6) {
3886 {
3887 arg7 = wxString_in_helper(obj6);
3888 if (arg7 == NULL) SWIG_fail;
3889 temp7 = True;
3890 }
3891 }
3892 {
3893 PyThreadState* __tstate = wxPyBeginAllowThreads();
3894 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3895
3896 wxPyEndAllowThreads(__tstate);
3897 if (PyErr_Occurred()) SWIG_fail;
3898 }
3899 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3900 {
3901 if (temp3)
3902 delete arg3;
3903 }
3904 {
3905 if (temp7)
3906 delete arg7;
3907 }
3908 return resultobj;
3909 fail:
3910 {
3911 if (temp3)
3912 delete arg3;
3913 }
3914 {
3915 if (temp7)
3916 delete arg7;
3917 }
3918 return NULL;
3919 }
3920
3921
3922 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3923 PyObject *resultobj;
3924 wxStaticText *result;
3925 char *kwnames[] = {
3926 NULL
3927 };
3928
3929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3930 {
3931 PyThreadState* __tstate = wxPyBeginAllowThreads();
3932 result = (wxStaticText *)new wxStaticText();
3933
3934 wxPyEndAllowThreads(__tstate);
3935 if (PyErr_Occurred()) SWIG_fail;
3936 }
3937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3938 return resultobj;
3939 fail:
3940 return NULL;
3941 }
3942
3943
3944 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3945 PyObject *resultobj;
3946 wxStaticText *arg1 = (wxStaticText *) 0 ;
3947 wxWindow *arg2 = (wxWindow *) 0 ;
3948 int arg3 ;
3949 wxString *arg4 = 0 ;
3950 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3951 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3952 wxSize const &arg6_defvalue = wxDefaultSize ;
3953 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3954 long arg7 = (long) 0 ;
3955 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3956 wxString *arg8 = (wxString *) &arg8_defvalue ;
3957 bool result;
3958 bool temp4 = False ;
3959 wxPoint temp5 ;
3960 wxSize temp6 ;
3961 bool temp8 = False ;
3962 PyObject * obj0 = 0 ;
3963 PyObject * obj1 = 0 ;
3964 PyObject * obj3 = 0 ;
3965 PyObject * obj4 = 0 ;
3966 PyObject * obj5 = 0 ;
3967 PyObject * obj7 = 0 ;
3968 char *kwnames[] = {
3969 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3970 };
3971
3972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3975 {
3976 arg4 = wxString_in_helper(obj3);
3977 if (arg4 == NULL) SWIG_fail;
3978 temp4 = True;
3979 }
3980 if (obj4) {
3981 {
3982 arg5 = &temp5;
3983 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3984 }
3985 }
3986 if (obj5) {
3987 {
3988 arg6 = &temp6;
3989 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3990 }
3991 }
3992 if (obj7) {
3993 {
3994 arg8 = wxString_in_helper(obj7);
3995 if (arg8 == NULL) SWIG_fail;
3996 temp8 = True;
3997 }
3998 }
3999 {
4000 PyThreadState* __tstate = wxPyBeginAllowThreads();
4001 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4002
4003 wxPyEndAllowThreads(__tstate);
4004 if (PyErr_Occurred()) SWIG_fail;
4005 }
4006 resultobj = PyInt_FromLong((long)result);
4007 {
4008 if (temp4)
4009 delete arg4;
4010 }
4011 {
4012 if (temp8)
4013 delete arg8;
4014 }
4015 return resultobj;
4016 fail:
4017 {
4018 if (temp4)
4019 delete arg4;
4020 }
4021 {
4022 if (temp8)
4023 delete arg8;
4024 }
4025 return NULL;
4026 }
4027
4028
4029 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4030 PyObject *obj;
4031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4032 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4033 Py_INCREF(obj);
4034 return Py_BuildValue((char *)"");
4035 }
4036 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4037 PyObject *resultobj;
4038 wxWindow *arg1 = (wxWindow *) 0 ;
4039 int arg2 ;
4040 wxBitmap *arg3 = 0 ;
4041 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4042 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4043 wxSize const &arg5_defvalue = wxDefaultSize ;
4044 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4045 long arg6 = (long) 0 ;
4046 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4047 wxString *arg7 = (wxString *) &arg7_defvalue ;
4048 wxStaticBitmap *result;
4049 wxPoint temp4 ;
4050 wxSize temp5 ;
4051 bool temp7 = False ;
4052 PyObject * obj0 = 0 ;
4053 PyObject * obj2 = 0 ;
4054 PyObject * obj3 = 0 ;
4055 PyObject * obj4 = 0 ;
4056 PyObject * obj6 = 0 ;
4057 char *kwnames[] = {
4058 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4059 };
4060
4061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4063 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4064 if (arg3 == NULL) {
4065 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4066 }
4067 if (obj3) {
4068 {
4069 arg4 = &temp4;
4070 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4071 }
4072 }
4073 if (obj4) {
4074 {
4075 arg5 = &temp5;
4076 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4077 }
4078 }
4079 if (obj6) {
4080 {
4081 arg7 = wxString_in_helper(obj6);
4082 if (arg7 == NULL) SWIG_fail;
4083 temp7 = True;
4084 }
4085 }
4086 {
4087 PyThreadState* __tstate = wxPyBeginAllowThreads();
4088 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4089
4090 wxPyEndAllowThreads(__tstate);
4091 if (PyErr_Occurred()) SWIG_fail;
4092 }
4093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4094 {
4095 if (temp7)
4096 delete arg7;
4097 }
4098 return resultobj;
4099 fail:
4100 {
4101 if (temp7)
4102 delete arg7;
4103 }
4104 return NULL;
4105 }
4106
4107
4108 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4109 PyObject *resultobj;
4110 wxStaticBitmap *result;
4111 char *kwnames[] = {
4112 NULL
4113 };
4114
4115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4116 {
4117 PyThreadState* __tstate = wxPyBeginAllowThreads();
4118 result = (wxStaticBitmap *)new wxStaticBitmap();
4119
4120 wxPyEndAllowThreads(__tstate);
4121 if (PyErr_Occurred()) SWIG_fail;
4122 }
4123 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4124 return resultobj;
4125 fail:
4126 return NULL;
4127 }
4128
4129
4130 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4131 PyObject *resultobj;
4132 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4133 wxWindow *arg2 = (wxWindow *) 0 ;
4134 int arg3 ;
4135 wxBitmap *arg4 = 0 ;
4136 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4137 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4138 wxSize const &arg6_defvalue = wxDefaultSize ;
4139 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4140 long arg7 = (long) 0 ;
4141 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4142 wxString *arg8 = (wxString *) &arg8_defvalue ;
4143 bool result;
4144 wxPoint temp5 ;
4145 wxSize temp6 ;
4146 bool temp8 = False ;
4147 PyObject * obj0 = 0 ;
4148 PyObject * obj1 = 0 ;
4149 PyObject * obj3 = 0 ;
4150 PyObject * obj4 = 0 ;
4151 PyObject * obj5 = 0 ;
4152 PyObject * obj7 = 0 ;
4153 char *kwnames[] = {
4154 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4155 };
4156
4157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4159 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4160 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4161 if (arg4 == NULL) {
4162 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4163 }
4164 if (obj4) {
4165 {
4166 arg5 = &temp5;
4167 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4168 }
4169 }
4170 if (obj5) {
4171 {
4172 arg6 = &temp6;
4173 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4174 }
4175 }
4176 if (obj7) {
4177 {
4178 arg8 = wxString_in_helper(obj7);
4179 if (arg8 == NULL) SWIG_fail;
4180 temp8 = True;
4181 }
4182 }
4183 {
4184 PyThreadState* __tstate = wxPyBeginAllowThreads();
4185 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4186
4187 wxPyEndAllowThreads(__tstate);
4188 if (PyErr_Occurred()) SWIG_fail;
4189 }
4190 resultobj = PyInt_FromLong((long)result);
4191 {
4192 if (temp8)
4193 delete arg8;
4194 }
4195 return resultobj;
4196 fail:
4197 {
4198 if (temp8)
4199 delete arg8;
4200 }
4201 return NULL;
4202 }
4203
4204
4205 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4206 PyObject *resultobj;
4207 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4208 wxBitmap result;
4209 PyObject * obj0 = 0 ;
4210 char *kwnames[] = {
4211 (char *) "self", NULL
4212 };
4213
4214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4216 {
4217 PyThreadState* __tstate = wxPyBeginAllowThreads();
4218 result = (arg1)->GetBitmap();
4219
4220 wxPyEndAllowThreads(__tstate);
4221 if (PyErr_Occurred()) SWIG_fail;
4222 }
4223 {
4224 wxBitmap * resultptr;
4225 resultptr = new wxBitmap((wxBitmap &) result);
4226 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4227 }
4228 return resultobj;
4229 fail:
4230 return NULL;
4231 }
4232
4233
4234 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4235 PyObject *resultobj;
4236 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4237 wxBitmap *arg2 = 0 ;
4238 PyObject * obj0 = 0 ;
4239 PyObject * obj1 = 0 ;
4240 char *kwnames[] = {
4241 (char *) "self",(char *) "bitmap", NULL
4242 };
4243
4244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4247 if (arg2 == NULL) {
4248 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4249 }
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
4257 Py_INCREF(Py_None); resultobj = Py_None;
4258 return resultobj;
4259 fail:
4260 return NULL;
4261 }
4262
4263
4264 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4265 PyObject *resultobj;
4266 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4267 wxIcon *arg2 = 0 ;
4268 PyObject * obj0 = 0 ;
4269 PyObject * obj1 = 0 ;
4270 char *kwnames[] = {
4271 (char *) "self",(char *) "icon", NULL
4272 };
4273
4274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4276 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4277 if (arg2 == NULL) {
4278 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4279 }
4280 {
4281 PyThreadState* __tstate = wxPyBeginAllowThreads();
4282 (arg1)->SetIcon((wxIcon const &)*arg2);
4283
4284 wxPyEndAllowThreads(__tstate);
4285 if (PyErr_Occurred()) SWIG_fail;
4286 }
4287 Py_INCREF(Py_None); resultobj = Py_None;
4288 return resultobj;
4289 fail:
4290 return NULL;
4291 }
4292
4293
4294 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4295 PyObject *obj;
4296 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4297 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4298 Py_INCREF(obj);
4299 return Py_BuildValue((char *)"");
4300 }
4301 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4302 PyObject *resultobj;
4303 wxWindow *arg1 = (wxWindow *) 0 ;
4304 int arg2 ;
4305 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4306 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4307 wxSize const &arg4_defvalue = wxDefaultSize ;
4308 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4309 int arg5 = (int) 0 ;
4310 wxString *arg6 = (wxString *) NULL ;
4311 long arg7 = (long) 0 ;
4312 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4313 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4314 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4315 wxString *arg9 = (wxString *) &arg9_defvalue ;
4316 wxListBox *result;
4317 wxPoint temp3 ;
4318 wxSize temp4 ;
4319 bool temp8 = False ;
4320 PyObject * obj0 = 0 ;
4321 PyObject * obj2 = 0 ;
4322 PyObject * obj3 = 0 ;
4323 PyObject * obj4 = 0 ;
4324 PyObject * obj6 = 0 ;
4325 PyObject * obj7 = 0 ;
4326 char *kwnames[] = {
4327 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4328 };
4329
4330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4332 if (obj2) {
4333 {
4334 arg3 = &temp3;
4335 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4336 }
4337 }
4338 if (obj3) {
4339 {
4340 arg4 = &temp4;
4341 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4342 }
4343 }
4344 if (obj4) {
4345 {
4346 arg5 = PyList_Size(obj4);
4347 arg6 = wxString_LIST_helper(obj4);
4348 if (arg6 == NULL) SWIG_fail;
4349 }
4350 }
4351 if (obj6) {
4352 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4353 if (arg8 == NULL) {
4354 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4355 }
4356 }
4357 if (obj7) {
4358 {
4359 arg9 = wxString_in_helper(obj7);
4360 if (arg9 == NULL) SWIG_fail;
4361 temp8 = True;
4362 }
4363 }
4364 {
4365 PyThreadState* __tstate = wxPyBeginAllowThreads();
4366 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4367
4368 wxPyEndAllowThreads(__tstate);
4369 if (PyErr_Occurred()) SWIG_fail;
4370 }
4371 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4372 {
4373 if (arg6) delete [] arg6;
4374 }
4375 {
4376 if (temp8)
4377 delete arg9;
4378 }
4379 return resultobj;
4380 fail:
4381 {
4382 if (arg6) delete [] arg6;
4383 }
4384 {
4385 if (temp8)
4386 delete arg9;
4387 }
4388 return NULL;
4389 }
4390
4391
4392 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4393 PyObject *resultobj;
4394 wxListBox *result;
4395 char *kwnames[] = {
4396 NULL
4397 };
4398
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4400 {
4401 PyThreadState* __tstate = wxPyBeginAllowThreads();
4402 result = (wxListBox *)new wxListBox();
4403
4404 wxPyEndAllowThreads(__tstate);
4405 if (PyErr_Occurred()) SWIG_fail;
4406 }
4407 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4408 return resultobj;
4409 fail:
4410 return NULL;
4411 }
4412
4413
4414 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4415 PyObject *resultobj;
4416 wxListBox *arg1 = (wxListBox *) 0 ;
4417 wxWindow *arg2 = (wxWindow *) 0 ;
4418 int arg3 ;
4419 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4420 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4421 wxSize const &arg5_defvalue = wxDefaultSize ;
4422 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4423 int arg6 = (int) 0 ;
4424 wxString *arg7 = (wxString *) NULL ;
4425 long arg8 = (long) 0 ;
4426 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4427 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4428 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4429 wxString *arg10 = (wxString *) &arg10_defvalue ;
4430 bool result;
4431 wxPoint temp4 ;
4432 wxSize temp5 ;
4433 bool temp9 = False ;
4434 PyObject * obj0 = 0 ;
4435 PyObject * obj1 = 0 ;
4436 PyObject * obj3 = 0 ;
4437 PyObject * obj4 = 0 ;
4438 PyObject * obj5 = 0 ;
4439 PyObject * obj7 = 0 ;
4440 PyObject * obj8 = 0 ;
4441 char *kwnames[] = {
4442 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4443 };
4444
4445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4447 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4448 if (obj3) {
4449 {
4450 arg4 = &temp4;
4451 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4452 }
4453 }
4454 if (obj4) {
4455 {
4456 arg5 = &temp5;
4457 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4458 }
4459 }
4460 if (obj5) {
4461 {
4462 arg6 = PyList_Size(obj5);
4463 arg7 = wxString_LIST_helper(obj5);
4464 if (arg7 == NULL) SWIG_fail;
4465 }
4466 }
4467 if (obj7) {
4468 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4469 if (arg9 == NULL) {
4470 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4471 }
4472 }
4473 if (obj8) {
4474 {
4475 arg10 = wxString_in_helper(obj8);
4476 if (arg10 == NULL) SWIG_fail;
4477 temp9 = True;
4478 }
4479 }
4480 {
4481 PyThreadState* __tstate = wxPyBeginAllowThreads();
4482 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4483
4484 wxPyEndAllowThreads(__tstate);
4485 if (PyErr_Occurred()) SWIG_fail;
4486 }
4487 resultobj = PyInt_FromLong((long)result);
4488 {
4489 if (arg7) delete [] arg7;
4490 }
4491 {
4492 if (temp9)
4493 delete arg10;
4494 }
4495 return resultobj;
4496 fail:
4497 {
4498 if (arg7) delete [] arg7;
4499 }
4500 {
4501 if (temp9)
4502 delete arg10;
4503 }
4504 return NULL;
4505 }
4506
4507
4508 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4509 PyObject *resultobj;
4510 wxListBox *arg1 = (wxListBox *) 0 ;
4511 wxString *arg2 = 0 ;
4512 int arg3 ;
4513 PyObject *arg4 = (PyObject *) NULL ;
4514 bool temp2 = False ;
4515 PyObject * obj0 = 0 ;
4516 PyObject * obj1 = 0 ;
4517 PyObject * obj3 = 0 ;
4518 char *kwnames[] = {
4519 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4520 };
4521
4522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4524 {
4525 arg2 = wxString_in_helper(obj1);
4526 if (arg2 == NULL) SWIG_fail;
4527 temp2 = True;
4528 }
4529 if (obj3) {
4530 arg4 = obj3;
4531 }
4532 {
4533 PyThreadState* __tstate = wxPyBeginAllowThreads();
4534 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4535
4536 wxPyEndAllowThreads(__tstate);
4537 if (PyErr_Occurred()) SWIG_fail;
4538 }
4539 Py_INCREF(Py_None); resultobj = Py_None;
4540 {
4541 if (temp2)
4542 delete arg2;
4543 }
4544 return resultobj;
4545 fail:
4546 {
4547 if (temp2)
4548 delete arg2;
4549 }
4550 return NULL;
4551 }
4552
4553
4554 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4555 PyObject *resultobj;
4556 wxListBox *arg1 = (wxListBox *) 0 ;
4557 wxArrayString *arg2 = 0 ;
4558 int arg3 ;
4559 PyObject * obj0 = 0 ;
4560 PyObject * obj1 = 0 ;
4561 char *kwnames[] = {
4562 (char *) "self",(char *) "items",(char *) "pos", NULL
4563 };
4564
4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4567 {
4568 if (! PySequence_Check(obj1)) {
4569 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4570 SWIG_fail;
4571 }
4572 arg2 = new wxArrayString;
4573 int i, len=PySequence_Length(obj1);
4574 for (i=0; i<len; i++) {
4575 PyObject* item = PySequence_GetItem(obj1, i);
4576 #if wxUSE_UNICODE
4577 PyObject* str = PyObject_Unicode(item);
4578 #else
4579 PyObject* str = PyObject_Str(item);
4580 #endif
4581 arg2->Add(Py2wxString(str));
4582 Py_DECREF(item);
4583 Py_DECREF(str);
4584 }
4585 }
4586 {
4587 PyThreadState* __tstate = wxPyBeginAllowThreads();
4588 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4589
4590 wxPyEndAllowThreads(__tstate);
4591 if (PyErr_Occurred()) SWIG_fail;
4592 }
4593 Py_INCREF(Py_None); resultobj = Py_None;
4594 {
4595 if (arg2) delete arg2;
4596 }
4597 return resultobj;
4598 fail:
4599 {
4600 if (arg2) delete arg2;
4601 }
4602 return NULL;
4603 }
4604
4605
4606 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4607 PyObject *resultobj;
4608 wxListBox *arg1 = (wxListBox *) 0 ;
4609 wxArrayString *arg2 = 0 ;
4610 PyObject * obj0 = 0 ;
4611 PyObject * obj1 = 0 ;
4612 char *kwnames[] = {
4613 (char *) "self",(char *) "items", NULL
4614 };
4615
4616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4618 {
4619 if (! PySequence_Check(obj1)) {
4620 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4621 SWIG_fail;
4622 }
4623 arg2 = new wxArrayString;
4624 int i, len=PySequence_Length(obj1);
4625 for (i=0; i<len; i++) {
4626 PyObject* item = PySequence_GetItem(obj1, i);
4627 #if wxUSE_UNICODE
4628 PyObject* str = PyObject_Unicode(item);
4629 #else
4630 PyObject* str = PyObject_Str(item);
4631 #endif
4632 arg2->Add(Py2wxString(str));
4633 Py_DECREF(item);
4634 Py_DECREF(str);
4635 }
4636 }
4637 {
4638 PyThreadState* __tstate = wxPyBeginAllowThreads();
4639 (arg1)->Set((wxArrayString const &)*arg2);
4640
4641 wxPyEndAllowThreads(__tstate);
4642 if (PyErr_Occurred()) SWIG_fail;
4643 }
4644 Py_INCREF(Py_None); resultobj = Py_None;
4645 {
4646 if (arg2) delete arg2;
4647 }
4648 return resultobj;
4649 fail:
4650 {
4651 if (arg2) delete arg2;
4652 }
4653 return NULL;
4654 }
4655
4656
4657 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4658 PyObject *resultobj;
4659 wxListBox *arg1 = (wxListBox *) 0 ;
4660 int arg2 ;
4661 bool result;
4662 PyObject * obj0 = 0 ;
4663 char *kwnames[] = {
4664 (char *) "self",(char *) "n", NULL
4665 };
4666
4667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4669 {
4670 PyThreadState* __tstate = wxPyBeginAllowThreads();
4671 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4672
4673 wxPyEndAllowThreads(__tstate);
4674 if (PyErr_Occurred()) SWIG_fail;
4675 }
4676 resultobj = PyInt_FromLong((long)result);
4677 return resultobj;
4678 fail:
4679 return NULL;
4680 }
4681
4682
4683 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4684 PyObject *resultobj;
4685 wxListBox *arg1 = (wxListBox *) 0 ;
4686 int arg2 ;
4687 bool arg3 = (bool) True ;
4688 PyObject * obj0 = 0 ;
4689 PyObject * obj2 = 0 ;
4690 char *kwnames[] = {
4691 (char *) "self",(char *) "n",(char *) "select", NULL
4692 };
4693
4694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4696 if (obj2) {
4697 arg3 = PyInt_AsLong(obj2) ? true : false;
4698 if (PyErr_Occurred()) SWIG_fail;
4699 }
4700 {
4701 PyThreadState* __tstate = wxPyBeginAllowThreads();
4702 (arg1)->SetSelection(arg2,arg3);
4703
4704 wxPyEndAllowThreads(__tstate);
4705 if (PyErr_Occurred()) SWIG_fail;
4706 }
4707 Py_INCREF(Py_None); resultobj = Py_None;
4708 return resultobj;
4709 fail:
4710 return NULL;
4711 }
4712
4713
4714 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4715 PyObject *resultobj;
4716 wxListBox *arg1 = (wxListBox *) 0 ;
4717 int arg2 ;
4718 PyObject * obj0 = 0 ;
4719 char *kwnames[] = {
4720 (char *) "self",(char *) "n", NULL
4721 };
4722
4723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4725 {
4726 PyThreadState* __tstate = wxPyBeginAllowThreads();
4727 (arg1)->Select(arg2);
4728
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 Py_INCREF(Py_None); resultobj = Py_None;
4733 return resultobj;
4734 fail:
4735 return NULL;
4736 }
4737
4738
4739 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject *resultobj;
4741 wxListBox *arg1 = (wxListBox *) 0 ;
4742 int arg2 ;
4743 PyObject * obj0 = 0 ;
4744 char *kwnames[] = {
4745 (char *) "self",(char *) "n", NULL
4746 };
4747
4748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4750 {
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 (arg1)->Deselect(arg2);
4753
4754 wxPyEndAllowThreads(__tstate);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 Py_INCREF(Py_None); resultobj = Py_None;
4758 return resultobj;
4759 fail:
4760 return NULL;
4761 }
4762
4763
4764 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4765 PyObject *resultobj;
4766 wxListBox *arg1 = (wxListBox *) 0 ;
4767 int arg2 = (int) -1 ;
4768 PyObject * obj0 = 0 ;
4769 char *kwnames[] = {
4770 (char *) "self",(char *) "itemToLeaveSelected", NULL
4771 };
4772
4773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4775 {
4776 PyThreadState* __tstate = wxPyBeginAllowThreads();
4777 (arg1)->DeselectAll(arg2);
4778
4779 wxPyEndAllowThreads(__tstate);
4780 if (PyErr_Occurred()) SWIG_fail;
4781 }
4782 Py_INCREF(Py_None); resultobj = Py_None;
4783 return resultobj;
4784 fail:
4785 return NULL;
4786 }
4787
4788
4789 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4790 PyObject *resultobj;
4791 wxListBox *arg1 = (wxListBox *) 0 ;
4792 wxString *arg2 = 0 ;
4793 bool arg3 = (bool) True ;
4794 bool result;
4795 bool temp2 = False ;
4796 PyObject * obj0 = 0 ;
4797 PyObject * obj1 = 0 ;
4798 PyObject * obj2 = 0 ;
4799 char *kwnames[] = {
4800 (char *) "self",(char *) "s",(char *) "select", NULL
4801 };
4802
4803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4805 {
4806 arg2 = wxString_in_helper(obj1);
4807 if (arg2 == NULL) SWIG_fail;
4808 temp2 = True;
4809 }
4810 if (obj2) {
4811 arg3 = PyInt_AsLong(obj2) ? true : false;
4812 if (PyErr_Occurred()) SWIG_fail;
4813 }
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4817
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 resultobj = PyInt_FromLong((long)result);
4822 {
4823 if (temp2)
4824 delete arg2;
4825 }
4826 return resultobj;
4827 fail:
4828 {
4829 if (temp2)
4830 delete arg2;
4831 }
4832 return NULL;
4833 }
4834
4835
4836 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4837 PyObject *resultobj;
4838 wxListBox *arg1 = (wxListBox *) 0 ;
4839 PyObject *result;
4840 PyObject * obj0 = 0 ;
4841 char *kwnames[] = {
4842 (char *) "self", NULL
4843 };
4844
4845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4847 {
4848 PyThreadState* __tstate = wxPyBeginAllowThreads();
4849 result = (PyObject *)wxListBox_GetSelections(arg1);
4850
4851 wxPyEndAllowThreads(__tstate);
4852 if (PyErr_Occurred()) SWIG_fail;
4853 }
4854 resultobj = result;
4855 return resultobj;
4856 fail:
4857 return NULL;
4858 }
4859
4860
4861 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4862 PyObject *resultobj;
4863 wxListBox *arg1 = (wxListBox *) 0 ;
4864 int arg2 ;
4865 PyObject * obj0 = 0 ;
4866 char *kwnames[] = {
4867 (char *) "self",(char *) "n", NULL
4868 };
4869
4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4872 {
4873 PyThreadState* __tstate = wxPyBeginAllowThreads();
4874 (arg1)->SetFirstItem(arg2);
4875
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 Py_INCREF(Py_None); resultobj = Py_None;
4880 return resultobj;
4881 fail:
4882 return NULL;
4883 }
4884
4885
4886 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject *resultobj;
4888 wxListBox *arg1 = (wxListBox *) 0 ;
4889 wxString *arg2 = 0 ;
4890 bool temp2 = False ;
4891 PyObject * obj0 = 0 ;
4892 PyObject * obj1 = 0 ;
4893 char *kwnames[] = {
4894 (char *) "self",(char *) "s", NULL
4895 };
4896
4897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4899 {
4900 arg2 = wxString_in_helper(obj1);
4901 if (arg2 == NULL) SWIG_fail;
4902 temp2 = True;
4903 }
4904 {
4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
4906 (arg1)->SetFirstItem((wxString const &)*arg2);
4907
4908 wxPyEndAllowThreads(__tstate);
4909 if (PyErr_Occurred()) SWIG_fail;
4910 }
4911 Py_INCREF(Py_None); resultobj = Py_None;
4912 {
4913 if (temp2)
4914 delete arg2;
4915 }
4916 return resultobj;
4917 fail:
4918 {
4919 if (temp2)
4920 delete arg2;
4921 }
4922 return NULL;
4923 }
4924
4925
4926 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4927 PyObject *resultobj;
4928 wxListBox *arg1 = (wxListBox *) 0 ;
4929 int arg2 ;
4930 PyObject * obj0 = 0 ;
4931 char *kwnames[] = {
4932 (char *) "self",(char *) "n", NULL
4933 };
4934
4935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4937 {
4938 PyThreadState* __tstate = wxPyBeginAllowThreads();
4939 (arg1)->EnsureVisible(arg2);
4940
4941 wxPyEndAllowThreads(__tstate);
4942 if (PyErr_Occurred()) SWIG_fail;
4943 }
4944 Py_INCREF(Py_None); resultobj = Py_None;
4945 return resultobj;
4946 fail:
4947 return NULL;
4948 }
4949
4950
4951 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4952 PyObject *resultobj;
4953 wxListBox *arg1 = (wxListBox *) 0 ;
4954 wxString *arg2 = 0 ;
4955 bool temp2 = False ;
4956 PyObject * obj0 = 0 ;
4957 PyObject * obj1 = 0 ;
4958 char *kwnames[] = {
4959 (char *) "self",(char *) "s", NULL
4960 };
4961
4962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4964 {
4965 arg2 = wxString_in_helper(obj1);
4966 if (arg2 == NULL) SWIG_fail;
4967 temp2 = True;
4968 }
4969 {
4970 PyThreadState* __tstate = wxPyBeginAllowThreads();
4971 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4972
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) SWIG_fail;
4975 }
4976 Py_INCREF(Py_None); resultobj = Py_None;
4977 {
4978 if (temp2)
4979 delete arg2;
4980 }
4981 return resultobj;
4982 fail:
4983 {
4984 if (temp2)
4985 delete arg2;
4986 }
4987 return NULL;
4988 }
4989
4990
4991 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
4992 PyObject *resultobj;
4993 wxListBox *arg1 = (wxListBox *) 0 ;
4994 bool result;
4995 PyObject * obj0 = 0 ;
4996 char *kwnames[] = {
4997 (char *) "self", NULL
4998 };
4999
5000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5002 {
5003 PyThreadState* __tstate = wxPyBeginAllowThreads();
5004 result = (bool)((wxListBox const *)arg1)->IsSorted();
5005
5006 wxPyEndAllowThreads(__tstate);
5007 if (PyErr_Occurred()) SWIG_fail;
5008 }
5009 resultobj = PyInt_FromLong((long)result);
5010 return resultobj;
5011 fail:
5012 return NULL;
5013 }
5014
5015
5016 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5017 PyObject *obj;
5018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5019 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5020 Py_INCREF(obj);
5021 return Py_BuildValue((char *)"");
5022 }
5023 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5024 PyObject *resultobj;
5025 wxWindow *arg1 = (wxWindow *) 0 ;
5026 int arg2 ;
5027 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5028 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5029 wxSize const &arg4_defvalue = wxDefaultSize ;
5030 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5031 int arg5 = (int) 0 ;
5032 wxString *arg6 = (wxString *) NULL ;
5033 long arg7 = (long) 0 ;
5034 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5035 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5036 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5037 wxString *arg9 = (wxString *) &arg9_defvalue ;
5038 wxCheckListBox *result;
5039 wxPoint temp3 ;
5040 wxSize temp4 ;
5041 bool temp8 = False ;
5042 PyObject * obj0 = 0 ;
5043 PyObject * obj2 = 0 ;
5044 PyObject * obj3 = 0 ;
5045 PyObject * obj4 = 0 ;
5046 PyObject * obj6 = 0 ;
5047 PyObject * obj7 = 0 ;
5048 char *kwnames[] = {
5049 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5050 };
5051
5052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5054 if (obj2) {
5055 {
5056 arg3 = &temp3;
5057 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5058 }
5059 }
5060 if (obj3) {
5061 {
5062 arg4 = &temp4;
5063 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5064 }
5065 }
5066 if (obj4) {
5067 {
5068 arg5 = PyList_Size(obj4);
5069 arg6 = wxString_LIST_helper(obj4);
5070 if (arg6 == NULL) SWIG_fail;
5071 }
5072 }
5073 if (obj6) {
5074 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5075 if (arg8 == NULL) {
5076 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5077 }
5078 }
5079 if (obj7) {
5080 {
5081 arg9 = wxString_in_helper(obj7);
5082 if (arg9 == NULL) SWIG_fail;
5083 temp8 = True;
5084 }
5085 }
5086 {
5087 PyThreadState* __tstate = wxPyBeginAllowThreads();
5088 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5089
5090 wxPyEndAllowThreads(__tstate);
5091 if (PyErr_Occurred()) SWIG_fail;
5092 }
5093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5094 {
5095 if (arg6) delete [] arg6;
5096 }
5097 {
5098 if (temp8)
5099 delete arg9;
5100 }
5101 return resultobj;
5102 fail:
5103 {
5104 if (arg6) delete [] arg6;
5105 }
5106 {
5107 if (temp8)
5108 delete arg9;
5109 }
5110 return NULL;
5111 }
5112
5113
5114 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5115 PyObject *resultobj;
5116 wxCheckListBox *result;
5117 char *kwnames[] = {
5118 NULL
5119 };
5120
5121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5122 {
5123 PyThreadState* __tstate = wxPyBeginAllowThreads();
5124 result = (wxCheckListBox *)new wxCheckListBox();
5125
5126 wxPyEndAllowThreads(__tstate);
5127 if (PyErr_Occurred()) SWIG_fail;
5128 }
5129 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5130 return resultobj;
5131 fail:
5132 return NULL;
5133 }
5134
5135
5136 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5137 PyObject *resultobj;
5138 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5139 wxWindow *arg2 = (wxWindow *) 0 ;
5140 int arg3 ;
5141 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5142 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5143 wxSize const &arg5_defvalue = wxDefaultSize ;
5144 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5145 int arg6 = (int) 0 ;
5146 wxString *arg7 = (wxString *) NULL ;
5147 long arg8 = (long) 0 ;
5148 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5149 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5150 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5151 wxString *arg10 = (wxString *) &arg10_defvalue ;
5152 bool result;
5153 wxPoint temp4 ;
5154 wxSize temp5 ;
5155 bool temp9 = False ;
5156 PyObject * obj0 = 0 ;
5157 PyObject * obj1 = 0 ;
5158 PyObject * obj3 = 0 ;
5159 PyObject * obj4 = 0 ;
5160 PyObject * obj5 = 0 ;
5161 PyObject * obj7 = 0 ;
5162 PyObject * obj8 = 0 ;
5163 char *kwnames[] = {
5164 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5165 };
5166
5167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5169 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5170 if (obj3) {
5171 {
5172 arg4 = &temp4;
5173 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5174 }
5175 }
5176 if (obj4) {
5177 {
5178 arg5 = &temp5;
5179 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5180 }
5181 }
5182 if (obj5) {
5183 {
5184 arg6 = PyList_Size(obj5);
5185 arg7 = wxString_LIST_helper(obj5);
5186 if (arg7 == NULL) SWIG_fail;
5187 }
5188 }
5189 if (obj7) {
5190 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5191 if (arg9 == NULL) {
5192 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5193 }
5194 }
5195 if (obj8) {
5196 {
5197 arg10 = wxString_in_helper(obj8);
5198 if (arg10 == NULL) SWIG_fail;
5199 temp9 = True;
5200 }
5201 }
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5205
5206 wxPyEndAllowThreads(__tstate);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
5209 resultobj = PyInt_FromLong((long)result);
5210 {
5211 if (arg7) delete [] arg7;
5212 }
5213 {
5214 if (temp9)
5215 delete arg10;
5216 }
5217 return resultobj;
5218 fail:
5219 {
5220 if (arg7) delete [] arg7;
5221 }
5222 {
5223 if (temp9)
5224 delete arg10;
5225 }
5226 return NULL;
5227 }
5228
5229
5230 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5231 PyObject *resultobj;
5232 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5233 int arg2 ;
5234 bool result;
5235 PyObject * obj0 = 0 ;
5236 char *kwnames[] = {
5237 (char *) "self",(char *) "index", NULL
5238 };
5239
5240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5242 {
5243 PyThreadState* __tstate = wxPyBeginAllowThreads();
5244 result = (bool)(arg1)->IsChecked(arg2);
5245
5246 wxPyEndAllowThreads(__tstate);
5247 if (PyErr_Occurred()) SWIG_fail;
5248 }
5249 resultobj = PyInt_FromLong((long)result);
5250 return resultobj;
5251 fail:
5252 return NULL;
5253 }
5254
5255
5256 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5257 PyObject *resultobj;
5258 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5259 int arg2 ;
5260 int arg3 = (int) True ;
5261 PyObject * obj0 = 0 ;
5262 char *kwnames[] = {
5263 (char *) "self",(char *) "index",(char *) "check", NULL
5264 };
5265
5266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5268 {
5269 PyThreadState* __tstate = wxPyBeginAllowThreads();
5270 (arg1)->Check(arg2,arg3);
5271
5272 wxPyEndAllowThreads(__tstate);
5273 if (PyErr_Occurred()) SWIG_fail;
5274 }
5275 Py_INCREF(Py_None); resultobj = Py_None;
5276 return resultobj;
5277 fail:
5278 return NULL;
5279 }
5280
5281
5282 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5283 PyObject *resultobj;
5284 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5285 int result;
5286 PyObject * obj0 = 0 ;
5287 char *kwnames[] = {
5288 (char *) "self", NULL
5289 };
5290
5291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 result = (int)(arg1)->GetItemHeight();
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 resultobj = PyInt_FromLong((long)result);
5301 return resultobj;
5302 fail:
5303 return NULL;
5304 }
5305
5306
5307 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5308 PyObject *resultobj;
5309 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5310 wxPoint *arg2 = 0 ;
5311 int result;
5312 wxPoint temp2 ;
5313 PyObject * obj0 = 0 ;
5314 PyObject * obj1 = 0 ;
5315 char *kwnames[] = {
5316 (char *) "self",(char *) "pt", NULL
5317 };
5318
5319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5321 {
5322 arg2 = &temp2;
5323 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5324 }
5325 {
5326 PyThreadState* __tstate = wxPyBeginAllowThreads();
5327 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5328
5329 wxPyEndAllowThreads(__tstate);
5330 if (PyErr_Occurred()) SWIG_fail;
5331 }
5332 resultobj = PyInt_FromLong((long)result);
5333 return resultobj;
5334 fail:
5335 return NULL;
5336 }
5337
5338
5339 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5340 PyObject *resultobj;
5341 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5342 int arg2 ;
5343 int arg3 ;
5344 int result;
5345 PyObject * obj0 = 0 ;
5346 char *kwnames[] = {
5347 (char *) "self",(char *) "x",(char *) "y", NULL
5348 };
5349
5350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5352 {
5353 PyThreadState* __tstate = wxPyBeginAllowThreads();
5354 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5355
5356 wxPyEndAllowThreads(__tstate);
5357 if (PyErr_Occurred()) SWIG_fail;
5358 }
5359 resultobj = PyInt_FromLong((long)result);
5360 return resultobj;
5361 fail:
5362 return NULL;
5363 }
5364
5365
5366 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5367 PyObject *obj;
5368 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5369 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5370 Py_INCREF(obj);
5371 return Py_BuildValue((char *)"");
5372 }
5373 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5374 PyObject *resultobj;
5375 wxTextAttr *result;
5376
5377 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5378 {
5379 PyThreadState* __tstate = wxPyBeginAllowThreads();
5380 result = (wxTextAttr *)new wxTextAttr();
5381
5382 wxPyEndAllowThreads(__tstate);
5383 if (PyErr_Occurred()) SWIG_fail;
5384 }
5385 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5386 return resultobj;
5387 fail:
5388 return NULL;
5389 }
5390
5391
5392 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5393 PyObject *resultobj;
5394 wxColour *arg1 = 0 ;
5395 wxColour const &arg2_defvalue = wxNullColour ;
5396 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5397 wxFont const &arg3_defvalue = wxNullFont ;
5398 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5399 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5400 wxTextAttr *result;
5401 wxColour temp1 ;
5402 wxColour temp2 ;
5403 PyObject * obj0 = 0 ;
5404 PyObject * obj1 = 0 ;
5405 PyObject * obj2 = 0 ;
5406
5407 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5408 {
5409 arg1 = &temp1;
5410 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5411 }
5412 if (obj1) {
5413 {
5414 arg2 = &temp2;
5415 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5416 }
5417 }
5418 if (obj2) {
5419 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5420 if (arg3 == NULL) {
5421 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5422 }
5423 }
5424 {
5425 PyThreadState* __tstate = wxPyBeginAllowThreads();
5426 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5427
5428 wxPyEndAllowThreads(__tstate);
5429 if (PyErr_Occurred()) SWIG_fail;
5430 }
5431 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5432 return resultobj;
5433 fail:
5434 return NULL;
5435 }
5436
5437
5438 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5439 int argc;
5440 PyObject *argv[5];
5441 int ii;
5442
5443 argc = PyObject_Length(args);
5444 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5445 argv[ii] = PyTuple_GetItem(args,ii);
5446 }
5447 if (argc == 0) {
5448 return _wrap_new_TextAttr__SWIG_0(self,args);
5449 }
5450 if ((argc >= 1) && (argc <= 4)) {
5451 int _v;
5452 {
5453 _v = wxColour_typecheck(argv[0]);
5454 }
5455 if (_v) {
5456 if (argc <= 1) {
5457 return _wrap_new_TextAttr__SWIG_1(self,args);
5458 }
5459 {
5460 _v = wxColour_typecheck(argv[1]);
5461 }
5462 if (_v) {
5463 if (argc <= 2) {
5464 return _wrap_new_TextAttr__SWIG_1(self,args);
5465 }
5466 {
5467 void *ptr;
5468 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5469 _v = 0;
5470 PyErr_Clear();
5471 } else {
5472 _v = 1;
5473 }
5474 }
5475 if (_v) {
5476 if (argc <= 3) {
5477 return _wrap_new_TextAttr__SWIG_1(self,args);
5478 }
5479 {
5480 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5481 }
5482 if (_v) {
5483 return _wrap_new_TextAttr__SWIG_1(self,args);
5484 }
5485 }
5486 }
5487 }
5488 }
5489
5490 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5491 return NULL;
5492 }
5493
5494
5495 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5496 PyObject *resultobj;
5497 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5498 PyObject * obj0 = 0 ;
5499 char *kwnames[] = {
5500 (char *) "self", NULL
5501 };
5502
5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5505 {
5506 PyThreadState* __tstate = wxPyBeginAllowThreads();
5507 (arg1)->Init();
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_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5520 PyObject *resultobj;
5521 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5522 wxColour *arg2 = 0 ;
5523 wxColour temp2 ;
5524 PyObject * obj0 = 0 ;
5525 PyObject * obj1 = 0 ;
5526 char *kwnames[] = {
5527 (char *) "self",(char *) "colText", NULL
5528 };
5529
5530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5532 {
5533 arg2 = &temp2;
5534 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5535 }
5536 {
5537 PyThreadState* __tstate = wxPyBeginAllowThreads();
5538 (arg1)->SetTextColour((wxColour const &)*arg2);
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_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5551 PyObject *resultobj;
5552 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5553 wxColour *arg2 = 0 ;
5554 wxColour temp2 ;
5555 PyObject * obj0 = 0 ;
5556 PyObject * obj1 = 0 ;
5557 char *kwnames[] = {
5558 (char *) "self",(char *) "colBack", NULL
5559 };
5560
5561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5563 {
5564 arg2 = &temp2;
5565 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5566 }
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 Py_INCREF(Py_None); resultobj = Py_None;
5575 return resultobj;
5576 fail:
5577 return NULL;
5578 }
5579
5580
5581 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5582 PyObject *resultobj;
5583 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5584 wxFont *arg2 = 0 ;
5585 long arg3 = (long) wxTEXT_ATTR_FONT ;
5586 PyObject * obj0 = 0 ;
5587 PyObject * obj1 = 0 ;
5588 char *kwnames[] = {
5589 (char *) "self",(char *) "font",(char *) "flags", NULL
5590 };
5591
5592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5594 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5595 if (arg2 == NULL) {
5596 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5597 }
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5601
5602 wxPyEndAllowThreads(__tstate);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
5605 Py_INCREF(Py_None); resultobj = Py_None;
5606 return resultobj;
5607 fail:
5608 return NULL;
5609 }
5610
5611
5612 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5613 PyObject *resultobj;
5614 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5615 int arg2 ;
5616 PyObject * obj0 = 0 ;
5617 char *kwnames[] = {
5618 (char *) "self",(char *) "alignment", NULL
5619 };
5620
5621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5626
5627 wxPyEndAllowThreads(__tstate);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 }
5630 Py_INCREF(Py_None); resultobj = Py_None;
5631 return resultobj;
5632 fail:
5633 return NULL;
5634 }
5635
5636
5637 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5638 PyObject *resultobj;
5639 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5640 wxArrayInt *arg2 = 0 ;
5641 PyObject * obj0 = 0 ;
5642 PyObject * obj1 = 0 ;
5643 char *kwnames[] = {
5644 (char *) "self",(char *) "tabs", NULL
5645 };
5646
5647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5649 {
5650 if (! PySequence_Check(obj1)) {
5651 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5652 SWIG_fail;
5653 }
5654 arg2 = new wxArrayInt;
5655 int i, len=PySequence_Length(obj1);
5656 for (i=0; i<len; i++) {
5657 PyObject* item = PySequence_GetItem(obj1, i);
5658 PyObject* number = PyNumber_Int(item);
5659 arg2->Add(PyInt_AS_LONG(number));
5660 Py_DECREF(item);
5661 Py_DECREF(number);
5662 }
5663 }
5664 {
5665 PyThreadState* __tstate = wxPyBeginAllowThreads();
5666 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5667
5668 wxPyEndAllowThreads(__tstate);
5669 if (PyErr_Occurred()) SWIG_fail;
5670 }
5671 Py_INCREF(Py_None); resultobj = Py_None;
5672 {
5673 if (arg2) delete arg2;
5674 }
5675 return resultobj;
5676 fail:
5677 {
5678 if (arg2) delete arg2;
5679 }
5680 return NULL;
5681 }
5682
5683
5684 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5685 PyObject *resultobj;
5686 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5687 int arg2 ;
5688 PyObject * obj0 = 0 ;
5689 char *kwnames[] = {
5690 (char *) "self",(char *) "indent", NULL
5691 };
5692
5693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5695 {
5696 PyThreadState* __tstate = wxPyBeginAllowThreads();
5697 (arg1)->SetLeftIndent(arg2);
5698
5699 wxPyEndAllowThreads(__tstate);
5700 if (PyErr_Occurred()) SWIG_fail;
5701 }
5702 Py_INCREF(Py_None); resultobj = Py_None;
5703 return resultobj;
5704 fail:
5705 return NULL;
5706 }
5707
5708
5709 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5710 PyObject *resultobj;
5711 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5712 int arg2 ;
5713 PyObject * obj0 = 0 ;
5714 char *kwnames[] = {
5715 (char *) "self",(char *) "indent", NULL
5716 };
5717
5718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5720 {
5721 PyThreadState* __tstate = wxPyBeginAllowThreads();
5722 (arg1)->SetRightIndent(arg2);
5723
5724 wxPyEndAllowThreads(__tstate);
5725 if (PyErr_Occurred()) SWIG_fail;
5726 }
5727 Py_INCREF(Py_None); resultobj = Py_None;
5728 return resultobj;
5729 fail:
5730 return NULL;
5731 }
5732
5733
5734 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5735 PyObject *resultobj;
5736 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5737 long arg2 ;
5738 PyObject * obj0 = 0 ;
5739 char *kwnames[] = {
5740 (char *) "self",(char *) "flags", NULL
5741 };
5742
5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 (arg1)->SetFlags(arg2);
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 Py_INCREF(Py_None); resultobj = Py_None;
5753 return resultobj;
5754 fail:
5755 return NULL;
5756 }
5757
5758
5759 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5760 PyObject *resultobj;
5761 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5762 bool result;
5763 PyObject * obj0 = 0 ;
5764 char *kwnames[] = {
5765 (char *) "self", NULL
5766 };
5767
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5770 {
5771 PyThreadState* __tstate = wxPyBeginAllowThreads();
5772 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5773
5774 wxPyEndAllowThreads(__tstate);
5775 if (PyErr_Occurred()) SWIG_fail;
5776 }
5777 resultobj = PyInt_FromLong((long)result);
5778 return resultobj;
5779 fail:
5780 return NULL;
5781 }
5782
5783
5784 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5785 PyObject *resultobj;
5786 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5787 bool result;
5788 PyObject * obj0 = 0 ;
5789 char *kwnames[] = {
5790 (char *) "self", NULL
5791 };
5792
5793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5795 {
5796 PyThreadState* __tstate = wxPyBeginAllowThreads();
5797 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5798
5799 wxPyEndAllowThreads(__tstate);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
5802 resultobj = PyInt_FromLong((long)result);
5803 return resultobj;
5804 fail:
5805 return NULL;
5806 }
5807
5808
5809 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5810 PyObject *resultobj;
5811 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5812 bool result;
5813 PyObject * obj0 = 0 ;
5814 char *kwnames[] = {
5815 (char *) "self", NULL
5816 };
5817
5818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5823
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 resultobj = PyInt_FromLong((long)result);
5828 return resultobj;
5829 fail:
5830 return NULL;
5831 }
5832
5833
5834 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5835 PyObject *resultobj;
5836 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5837 bool result;
5838 PyObject * obj0 = 0 ;
5839 char *kwnames[] = {
5840 (char *) "self", NULL
5841 };
5842
5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5845 {
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5848
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) SWIG_fail;
5851 }
5852 resultobj = PyInt_FromLong((long)result);
5853 return resultobj;
5854 fail:
5855 return NULL;
5856 }
5857
5858
5859 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5860 PyObject *resultobj;
5861 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5862 bool result;
5863 PyObject * obj0 = 0 ;
5864 char *kwnames[] = {
5865 (char *) "self", NULL
5866 };
5867
5868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5873
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
5877 resultobj = PyInt_FromLong((long)result);
5878 return resultobj;
5879 fail:
5880 return NULL;
5881 }
5882
5883
5884 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5885 PyObject *resultobj;
5886 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5887 bool result;
5888 PyObject * obj0 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 resultobj = PyInt_FromLong((long)result);
5903 return resultobj;
5904 fail:
5905 return NULL;
5906 }
5907
5908
5909 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5910 PyObject *resultobj;
5911 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5912 bool result;
5913 PyObject * obj0 = 0 ;
5914 char *kwnames[] = {
5915 (char *) "self", NULL
5916 };
5917
5918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
5927 resultobj = PyInt_FromLong((long)result);
5928 return resultobj;
5929 fail:
5930 return NULL;
5931 }
5932
5933
5934 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj;
5936 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5937 long arg2 ;
5938 bool result;
5939 PyObject * obj0 = 0 ;
5940 char *kwnames[] = {
5941 (char *) "self",(char *) "flag", NULL
5942 };
5943
5944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
5945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5946 {
5947 PyThreadState* __tstate = wxPyBeginAllowThreads();
5948 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5949
5950 wxPyEndAllowThreads(__tstate);
5951 if (PyErr_Occurred()) SWIG_fail;
5952 }
5953 resultobj = PyInt_FromLong((long)result);
5954 return resultobj;
5955 fail:
5956 return NULL;
5957 }
5958
5959
5960 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5961 PyObject *resultobj;
5962 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5963 wxColour *result;
5964 PyObject * obj0 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "self", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5971 {
5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5973 {
5974 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
5975 result = (wxColour *) &_result_ref;
5976 }
5977
5978 wxPyEndAllowThreads(__tstate);
5979 if (PyErr_Occurred()) SWIG_fail;
5980 }
5981 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5982 return resultobj;
5983 fail:
5984 return NULL;
5985 }
5986
5987
5988 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5989 PyObject *resultobj;
5990 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5991 wxColour *result;
5992 PyObject * obj0 = 0 ;
5993 char *kwnames[] = {
5994 (char *) "self", NULL
5995 };
5996
5997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
5998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5999 {
6000 PyThreadState* __tstate = wxPyBeginAllowThreads();
6001 {
6002 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6003 result = (wxColour *) &_result_ref;
6004 }
6005
6006 wxPyEndAllowThreads(__tstate);
6007 if (PyErr_Occurred()) SWIG_fail;
6008 }
6009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6010 return resultobj;
6011 fail:
6012 return NULL;
6013 }
6014
6015
6016 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6017 PyObject *resultobj;
6018 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6019 wxFont *result;
6020 PyObject * obj0 = 0 ;
6021 char *kwnames[] = {
6022 (char *) "self", NULL
6023 };
6024
6025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6027 {
6028 PyThreadState* __tstate = wxPyBeginAllowThreads();
6029 {
6030 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6031 result = (wxFont *) &_result_ref;
6032 }
6033
6034 wxPyEndAllowThreads(__tstate);
6035 if (PyErr_Occurred()) SWIG_fail;
6036 }
6037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6038 return resultobj;
6039 fail:
6040 return NULL;
6041 }
6042
6043
6044 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6045 PyObject *resultobj;
6046 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6047 int result;
6048 PyObject * obj0 = 0 ;
6049 char *kwnames[] = {
6050 (char *) "self", NULL
6051 };
6052
6053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6055 {
6056 PyThreadState* __tstate = wxPyBeginAllowThreads();
6057 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 resultobj = PyInt_FromLong((long)result);
6063 return resultobj;
6064 fail:
6065 return NULL;
6066 }
6067
6068
6069 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6070 PyObject *resultobj;
6071 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6072 wxArrayInt *result;
6073 PyObject * obj0 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6080 {
6081 PyThreadState* __tstate = wxPyBeginAllowThreads();
6082 {
6083 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6084 result = (wxArrayInt *) &_result_ref;
6085 }
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) SWIG_fail;
6089 }
6090 {
6091 resultobj = PyList_New(0);
6092 size_t idx;
6093 for (idx = 0; idx < result->GetCount(); idx += 1) {
6094 PyObject* val = PyInt_FromLong( result->Item(idx) );
6095 PyList_Append(resultobj, val);
6096 Py_DECREF(val);
6097 }
6098 }
6099 return resultobj;
6100 fail:
6101 return NULL;
6102 }
6103
6104
6105 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6106 PyObject *resultobj;
6107 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6108 long result;
6109 PyObject * obj0 = 0 ;
6110 char *kwnames[] = {
6111 (char *) "self", NULL
6112 };
6113
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6116 {
6117 PyThreadState* __tstate = wxPyBeginAllowThreads();
6118 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6119
6120 wxPyEndAllowThreads(__tstate);
6121 if (PyErr_Occurred()) SWIG_fail;
6122 }
6123 resultobj = PyInt_FromLong((long)result);
6124 return resultobj;
6125 fail:
6126 return NULL;
6127 }
6128
6129
6130 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6131 PyObject *resultobj;
6132 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6133 long result;
6134 PyObject * obj0 = 0 ;
6135 char *kwnames[] = {
6136 (char *) "self", NULL
6137 };
6138
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6141 {
6142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6143 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6144
6145 wxPyEndAllowThreads(__tstate);
6146 if (PyErr_Occurred()) SWIG_fail;
6147 }
6148 resultobj = PyInt_FromLong((long)result);
6149 return resultobj;
6150 fail:
6151 return NULL;
6152 }
6153
6154
6155 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject *resultobj;
6157 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6158 long result;
6159 PyObject * obj0 = 0 ;
6160 char *kwnames[] = {
6161 (char *) "self", NULL
6162 };
6163
6164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6166 {
6167 PyThreadState* __tstate = wxPyBeginAllowThreads();
6168 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6169
6170 wxPyEndAllowThreads(__tstate);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 }
6173 resultobj = PyInt_FromLong((long)result);
6174 return resultobj;
6175 fail:
6176 return NULL;
6177 }
6178
6179
6180 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6181 PyObject *resultobj;
6182 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6183 bool result;
6184 PyObject * obj0 = 0 ;
6185 char *kwnames[] = {
6186 (char *) "self", NULL
6187 };
6188
6189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6194
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 resultobj = PyInt_FromLong((long)result);
6199 return resultobj;
6200 fail:
6201 return NULL;
6202 }
6203
6204
6205 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6206 PyObject *resultobj;
6207 wxTextAttr *arg1 = 0 ;
6208 wxTextAttr *arg2 = 0 ;
6209 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6210 wxTextAttr result;
6211 PyObject * obj0 = 0 ;
6212 PyObject * obj1 = 0 ;
6213 PyObject * obj2 = 0 ;
6214 char *kwnames[] = {
6215 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6216 };
6217
6218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6220 if (arg1 == NULL) {
6221 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6222 }
6223 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6224 if (arg2 == NULL) {
6225 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6226 }
6227 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6228 {
6229 PyThreadState* __tstate = wxPyBeginAllowThreads();
6230 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6231
6232 wxPyEndAllowThreads(__tstate);
6233 if (PyErr_Occurred()) SWIG_fail;
6234 }
6235 {
6236 wxTextAttr * resultptr;
6237 resultptr = new wxTextAttr((wxTextAttr &) result);
6238 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6239 }
6240 return resultobj;
6241 fail:
6242 return NULL;
6243 }
6244
6245
6246 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6247 PyObject *obj;
6248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6249 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6250 Py_INCREF(obj);
6251 return Py_BuildValue((char *)"");
6252 }
6253 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6254 PyObject *resultobj;
6255 wxWindow *arg1 = (wxWindow *) 0 ;
6256 int arg2 ;
6257 wxString const &arg3_defvalue = wxPyEmptyString ;
6258 wxString *arg3 = (wxString *) &arg3_defvalue ;
6259 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6260 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6261 wxSize const &arg5_defvalue = wxDefaultSize ;
6262 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6263 long arg6 = (long) 0 ;
6264 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6265 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6266 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6267 wxString *arg8 = (wxString *) &arg8_defvalue ;
6268 wxTextCtrl *result;
6269 bool temp3 = False ;
6270 wxPoint temp4 ;
6271 wxSize temp5 ;
6272 bool temp8 = False ;
6273 PyObject * obj0 = 0 ;
6274 PyObject * obj2 = 0 ;
6275 PyObject * obj3 = 0 ;
6276 PyObject * obj4 = 0 ;
6277 PyObject * obj6 = 0 ;
6278 PyObject * obj7 = 0 ;
6279 char *kwnames[] = {
6280 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6281 };
6282
6283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6285 if (obj2) {
6286 {
6287 arg3 = wxString_in_helper(obj2);
6288 if (arg3 == NULL) SWIG_fail;
6289 temp3 = True;
6290 }
6291 }
6292 if (obj3) {
6293 {
6294 arg4 = &temp4;
6295 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6296 }
6297 }
6298 if (obj4) {
6299 {
6300 arg5 = &temp5;
6301 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6302 }
6303 }
6304 if (obj6) {
6305 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6306 if (arg7 == NULL) {
6307 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6308 }
6309 }
6310 if (obj7) {
6311 {
6312 arg8 = wxString_in_helper(obj7);
6313 if (arg8 == NULL) SWIG_fail;
6314 temp8 = True;
6315 }
6316 }
6317 {
6318 PyThreadState* __tstate = wxPyBeginAllowThreads();
6319 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6320
6321 wxPyEndAllowThreads(__tstate);
6322 if (PyErr_Occurred()) SWIG_fail;
6323 }
6324 {
6325 resultobj = wxPyMake_wxObject(result);
6326 }
6327 {
6328 if (temp3)
6329 delete arg3;
6330 }
6331 {
6332 if (temp8)
6333 delete arg8;
6334 }
6335 return resultobj;
6336 fail:
6337 {
6338 if (temp3)
6339 delete arg3;
6340 }
6341 {
6342 if (temp8)
6343 delete arg8;
6344 }
6345 return NULL;
6346 }
6347
6348
6349 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6350 PyObject *resultobj;
6351 wxTextCtrl *result;
6352 char *kwnames[] = {
6353 NULL
6354 };
6355
6356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6357 {
6358 PyThreadState* __tstate = wxPyBeginAllowThreads();
6359 result = (wxTextCtrl *)new wxTextCtrl();
6360
6361 wxPyEndAllowThreads(__tstate);
6362 if (PyErr_Occurred()) SWIG_fail;
6363 }
6364 {
6365 resultobj = wxPyMake_wxObject(result);
6366 }
6367 return resultobj;
6368 fail:
6369 return NULL;
6370 }
6371
6372
6373 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6374 PyObject *resultobj;
6375 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6376 wxWindow *arg2 = (wxWindow *) 0 ;
6377 int arg3 ;
6378 wxString const &arg4_defvalue = wxPyEmptyString ;
6379 wxString *arg4 = (wxString *) &arg4_defvalue ;
6380 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6381 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6382 wxSize const &arg6_defvalue = wxDefaultSize ;
6383 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6384 long arg7 = (long) 0 ;
6385 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6386 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6387 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6388 wxString *arg9 = (wxString *) &arg9_defvalue ;
6389 bool result;
6390 bool temp4 = False ;
6391 wxPoint temp5 ;
6392 wxSize temp6 ;
6393 bool temp9 = False ;
6394 PyObject * obj0 = 0 ;
6395 PyObject * obj1 = 0 ;
6396 PyObject * obj3 = 0 ;
6397 PyObject * obj4 = 0 ;
6398 PyObject * obj5 = 0 ;
6399 PyObject * obj7 = 0 ;
6400 PyObject * obj8 = 0 ;
6401 char *kwnames[] = {
6402 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6403 };
6404
6405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6408 if (obj3) {
6409 {
6410 arg4 = wxString_in_helper(obj3);
6411 if (arg4 == NULL) SWIG_fail;
6412 temp4 = True;
6413 }
6414 }
6415 if (obj4) {
6416 {
6417 arg5 = &temp5;
6418 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6419 }
6420 }
6421 if (obj5) {
6422 {
6423 arg6 = &temp6;
6424 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6425 }
6426 }
6427 if (obj7) {
6428 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6429 if (arg8 == NULL) {
6430 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6431 }
6432 }
6433 if (obj8) {
6434 {
6435 arg9 = wxString_in_helper(obj8);
6436 if (arg9 == NULL) SWIG_fail;
6437 temp9 = True;
6438 }
6439 }
6440 {
6441 PyThreadState* __tstate = wxPyBeginAllowThreads();
6442 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6443
6444 wxPyEndAllowThreads(__tstate);
6445 if (PyErr_Occurred()) SWIG_fail;
6446 }
6447 resultobj = PyInt_FromLong((long)result);
6448 {
6449 if (temp4)
6450 delete arg4;
6451 }
6452 {
6453 if (temp9)
6454 delete arg9;
6455 }
6456 return resultobj;
6457 fail:
6458 {
6459 if (temp4)
6460 delete arg4;
6461 }
6462 {
6463 if (temp9)
6464 delete arg9;
6465 }
6466 return NULL;
6467 }
6468
6469
6470 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6471 PyObject *resultobj;
6472 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6473 wxString result;
6474 PyObject * obj0 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "self", NULL
6477 };
6478
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 result = ((wxTextCtrl const *)arg1)->GetValue();
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 {
6489 #if wxUSE_UNICODE
6490 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6491 #else
6492 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6493 #endif
6494 }
6495 return resultobj;
6496 fail:
6497 return NULL;
6498 }
6499
6500
6501 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6502 PyObject *resultobj;
6503 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6504 wxString *arg2 = 0 ;
6505 bool temp2 = False ;
6506 PyObject * obj0 = 0 ;
6507 PyObject * obj1 = 0 ;
6508 char *kwnames[] = {
6509 (char *) "self",(char *) "value", NULL
6510 };
6511
6512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6514 {
6515 arg2 = wxString_in_helper(obj1);
6516 if (arg2 == NULL) SWIG_fail;
6517 temp2 = True;
6518 }
6519 {
6520 PyThreadState* __tstate = wxPyBeginAllowThreads();
6521 (arg1)->SetValue((wxString const &)*arg2);
6522
6523 wxPyEndAllowThreads(__tstate);
6524 if (PyErr_Occurred()) SWIG_fail;
6525 }
6526 Py_INCREF(Py_None); resultobj = Py_None;
6527 {
6528 if (temp2)
6529 delete arg2;
6530 }
6531 return resultobj;
6532 fail:
6533 {
6534 if (temp2)
6535 delete arg2;
6536 }
6537 return NULL;
6538 }
6539
6540
6541 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6542 PyObject *resultobj;
6543 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6544 long arg2 ;
6545 long arg3 ;
6546 wxString result;
6547 PyObject * obj0 = 0 ;
6548 char *kwnames[] = {
6549 (char *) "self",(char *) "from",(char *) "to", NULL
6550 };
6551
6552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6554 {
6555 PyThreadState* __tstate = wxPyBeginAllowThreads();
6556 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6557
6558 wxPyEndAllowThreads(__tstate);
6559 if (PyErr_Occurred()) SWIG_fail;
6560 }
6561 {
6562 #if wxUSE_UNICODE
6563 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6564 #else
6565 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6566 #endif
6567 }
6568 return resultobj;
6569 fail:
6570 return NULL;
6571 }
6572
6573
6574 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6575 PyObject *resultobj;
6576 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6577 long arg2 ;
6578 int result;
6579 PyObject * obj0 = 0 ;
6580 char *kwnames[] = {
6581 (char *) "self",(char *) "lineNo", NULL
6582 };
6583
6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 resultobj = PyInt_FromLong((long)result);
6594 return resultobj;
6595 fail:
6596 return NULL;
6597 }
6598
6599
6600 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj;
6602 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6603 long arg2 ;
6604 wxString result;
6605 PyObject * obj0 = 0 ;
6606 char *kwnames[] = {
6607 (char *) "self",(char *) "lineNo", NULL
6608 };
6609
6610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6612 {
6613 PyThreadState* __tstate = wxPyBeginAllowThreads();
6614 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6615
6616 wxPyEndAllowThreads(__tstate);
6617 if (PyErr_Occurred()) SWIG_fail;
6618 }
6619 {
6620 #if wxUSE_UNICODE
6621 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6622 #else
6623 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6624 #endif
6625 }
6626 return resultobj;
6627 fail:
6628 return NULL;
6629 }
6630
6631
6632 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6633 PyObject *resultobj;
6634 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6635 int result;
6636 PyObject * obj0 = 0 ;
6637 char *kwnames[] = {
6638 (char *) "self", NULL
6639 };
6640
6641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6643 {
6644 PyThreadState* __tstate = wxPyBeginAllowThreads();
6645 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6646
6647 wxPyEndAllowThreads(__tstate);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
6650 resultobj = PyInt_FromLong((long)result);
6651 return resultobj;
6652 fail:
6653 return NULL;
6654 }
6655
6656
6657 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6658 PyObject *resultobj;
6659 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6660 bool result;
6661 PyObject * obj0 = 0 ;
6662 char *kwnames[] = {
6663 (char *) "self", NULL
6664 };
6665
6666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6668 {
6669 PyThreadState* __tstate = wxPyBeginAllowThreads();
6670 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6671
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 }
6675 resultobj = PyInt_FromLong((long)result);
6676 return resultobj;
6677 fail:
6678 return NULL;
6679 }
6680
6681
6682 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6683 PyObject *resultobj;
6684 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6685 bool result;
6686 PyObject * obj0 = 0 ;
6687 char *kwnames[] = {
6688 (char *) "self", NULL
6689 };
6690
6691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6693 {
6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
6695 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6696
6697 wxPyEndAllowThreads(__tstate);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 }
6700 resultobj = PyInt_FromLong((long)result);
6701 return resultobj;
6702 fail:
6703 return NULL;
6704 }
6705
6706
6707 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6708 PyObject *resultobj;
6709 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6710 bool result;
6711 PyObject * obj0 = 0 ;
6712 char *kwnames[] = {
6713 (char *) "self", NULL
6714 };
6715
6716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6721
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 resultobj = PyInt_FromLong((long)result);
6726 return resultobj;
6727 fail:
6728 return NULL;
6729 }
6730
6731
6732 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj;
6734 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6735 bool result;
6736 PyObject * obj0 = 0 ;
6737 char *kwnames[] = {
6738 (char *) "self", NULL
6739 };
6740
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6743 {
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6746
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 resultobj = PyInt_FromLong((long)result);
6751 return resultobj;
6752 fail:
6753 return NULL;
6754 }
6755
6756
6757 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6758 PyObject *resultobj;
6759 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6760 long *arg2 = (long *) 0 ;
6761 long *arg3 = (long *) 0 ;
6762 long temp2 ;
6763 long temp3 ;
6764 PyObject * obj0 = 0 ;
6765 char *kwnames[] = {
6766 (char *) "self", NULL
6767 };
6768
6769 arg2 = &temp2;
6770 arg3 = &temp3;
6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6776
6777 wxPyEndAllowThreads(__tstate);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 }
6780 Py_INCREF(Py_None); resultobj = Py_None;
6781 {
6782 PyObject *o = PyInt_FromLong((long) (*arg2));
6783 resultobj = t_output_helper(resultobj,o);
6784 }
6785 {
6786 PyObject *o = PyInt_FromLong((long) (*arg3));
6787 resultobj = t_output_helper(resultobj,o);
6788 }
6789 return resultobj;
6790 fail:
6791 return NULL;
6792 }
6793
6794
6795 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6796 PyObject *resultobj;
6797 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6798 wxString result;
6799 PyObject * obj0 = 0 ;
6800 char *kwnames[] = {
6801 (char *) "self", NULL
6802 };
6803
6804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6806 {
6807 PyThreadState* __tstate = wxPyBeginAllowThreads();
6808 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6809
6810 wxPyEndAllowThreads(__tstate);
6811 if (PyErr_Occurred()) SWIG_fail;
6812 }
6813 {
6814 #if wxUSE_UNICODE
6815 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6816 #else
6817 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6818 #endif
6819 }
6820 return resultobj;
6821 fail:
6822 return NULL;
6823 }
6824
6825
6826 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6827 PyObject *resultobj;
6828 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6829 PyObject * obj0 = 0 ;
6830 char *kwnames[] = {
6831 (char *) "self", NULL
6832 };
6833
6834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6836 {
6837 PyThreadState* __tstate = wxPyBeginAllowThreads();
6838 (arg1)->Clear();
6839
6840 wxPyEndAllowThreads(__tstate);
6841 if (PyErr_Occurred()) SWIG_fail;
6842 }
6843 Py_INCREF(Py_None); resultobj = Py_None;
6844 return resultobj;
6845 fail:
6846 return NULL;
6847 }
6848
6849
6850 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6851 PyObject *resultobj;
6852 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6853 long arg2 ;
6854 long arg3 ;
6855 wxString *arg4 = 0 ;
6856 bool temp4 = False ;
6857 PyObject * obj0 = 0 ;
6858 PyObject * obj3 = 0 ;
6859 char *kwnames[] = {
6860 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6861 };
6862
6863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6865 {
6866 arg4 = wxString_in_helper(obj3);
6867 if (arg4 == NULL) SWIG_fail;
6868 temp4 = True;
6869 }
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
6877 Py_INCREF(Py_None); resultobj = Py_None;
6878 {
6879 if (temp4)
6880 delete arg4;
6881 }
6882 return resultobj;
6883 fail:
6884 {
6885 if (temp4)
6886 delete arg4;
6887 }
6888 return NULL;
6889 }
6890
6891
6892 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6893 PyObject *resultobj;
6894 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6895 long arg2 ;
6896 long arg3 ;
6897 PyObject * obj0 = 0 ;
6898 char *kwnames[] = {
6899 (char *) "self",(char *) "from",(char *) "to", NULL
6900 };
6901
6902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 (arg1)->Remove(arg2,arg3);
6907
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 Py_INCREF(Py_None); resultobj = Py_None;
6912 return resultobj;
6913 fail:
6914 return NULL;
6915 }
6916
6917
6918 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6919 PyObject *resultobj;
6920 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6921 wxString *arg2 = 0 ;
6922 bool result;
6923 bool temp2 = False ;
6924 PyObject * obj0 = 0 ;
6925 PyObject * obj1 = 0 ;
6926 char *kwnames[] = {
6927 (char *) "self",(char *) "file", NULL
6928 };
6929
6930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6932 {
6933 arg2 = wxString_in_helper(obj1);
6934 if (arg2 == NULL) SWIG_fail;
6935 temp2 = True;
6936 }
6937 {
6938 PyThreadState* __tstate = wxPyBeginAllowThreads();
6939 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6940
6941 wxPyEndAllowThreads(__tstate);
6942 if (PyErr_Occurred()) SWIG_fail;
6943 }
6944 resultobj = PyInt_FromLong((long)result);
6945 {
6946 if (temp2)
6947 delete arg2;
6948 }
6949 return resultobj;
6950 fail:
6951 {
6952 if (temp2)
6953 delete arg2;
6954 }
6955 return NULL;
6956 }
6957
6958
6959 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6960 PyObject *resultobj;
6961 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6962 wxString const &arg2_defvalue = wxPyEmptyString ;
6963 wxString *arg2 = (wxString *) &arg2_defvalue ;
6964 bool result;
6965 bool temp2 = False ;
6966 PyObject * obj0 = 0 ;
6967 PyObject * obj1 = 0 ;
6968 char *kwnames[] = {
6969 (char *) "self",(char *) "file", NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6974 if (obj1) {
6975 {
6976 arg2 = wxString_in_helper(obj1);
6977 if (arg2 == NULL) SWIG_fail;
6978 temp2 = True;
6979 }
6980 }
6981 {
6982 PyThreadState* __tstate = wxPyBeginAllowThreads();
6983 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
6984
6985 wxPyEndAllowThreads(__tstate);
6986 if (PyErr_Occurred()) SWIG_fail;
6987 }
6988 resultobj = PyInt_FromLong((long)result);
6989 {
6990 if (temp2)
6991 delete arg2;
6992 }
6993 return resultobj;
6994 fail:
6995 {
6996 if (temp2)
6997 delete arg2;
6998 }
6999 return NULL;
7000 }
7001
7002
7003 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7004 PyObject *resultobj;
7005 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7006 PyObject * obj0 = 0 ;
7007 char *kwnames[] = {
7008 (char *) "self", NULL
7009 };
7010
7011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7013 {
7014 PyThreadState* __tstate = wxPyBeginAllowThreads();
7015 (arg1)->MarkDirty();
7016
7017 wxPyEndAllowThreads(__tstate);
7018 if (PyErr_Occurred()) SWIG_fail;
7019 }
7020 Py_INCREF(Py_None); resultobj = Py_None;
7021 return resultobj;
7022 fail:
7023 return NULL;
7024 }
7025
7026
7027 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7028 PyObject *resultobj;
7029 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7030 PyObject * obj0 = 0 ;
7031 char *kwnames[] = {
7032 (char *) "self", NULL
7033 };
7034
7035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7037 {
7038 PyThreadState* __tstate = wxPyBeginAllowThreads();
7039 (arg1)->DiscardEdits();
7040
7041 wxPyEndAllowThreads(__tstate);
7042 if (PyErr_Occurred()) SWIG_fail;
7043 }
7044 Py_INCREF(Py_None); resultobj = Py_None;
7045 return resultobj;
7046 fail:
7047 return NULL;
7048 }
7049
7050
7051 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7052 PyObject *resultobj;
7053 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7054 unsigned long arg2 ;
7055 PyObject * obj0 = 0 ;
7056 PyObject * obj1 = 0 ;
7057 char *kwnames[] = {
7058 (char *) "self",(char *) "len", NULL
7059 };
7060
7061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7063 arg2 = (unsigned long) PyInt_AsLong(obj1);
7064 if (PyErr_Occurred()) SWIG_fail;
7065 {
7066 PyThreadState* __tstate = wxPyBeginAllowThreads();
7067 (arg1)->SetMaxLength(arg2);
7068
7069 wxPyEndAllowThreads(__tstate);
7070 if (PyErr_Occurred()) SWIG_fail;
7071 }
7072 Py_INCREF(Py_None); resultobj = Py_None;
7073 return resultobj;
7074 fail:
7075 return NULL;
7076 }
7077
7078
7079 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7080 PyObject *resultobj;
7081 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7082 wxString *arg2 = 0 ;
7083 bool temp2 = False ;
7084 PyObject * obj0 = 0 ;
7085 PyObject * obj1 = 0 ;
7086 char *kwnames[] = {
7087 (char *) "self",(char *) "text", NULL
7088 };
7089
7090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7092 {
7093 arg2 = wxString_in_helper(obj1);
7094 if (arg2 == NULL) SWIG_fail;
7095 temp2 = True;
7096 }
7097 {
7098 PyThreadState* __tstate = wxPyBeginAllowThreads();
7099 (arg1)->WriteText((wxString const &)*arg2);
7100
7101 wxPyEndAllowThreads(__tstate);
7102 if (PyErr_Occurred()) SWIG_fail;
7103 }
7104 Py_INCREF(Py_None); resultobj = Py_None;
7105 {
7106 if (temp2)
7107 delete arg2;
7108 }
7109 return resultobj;
7110 fail:
7111 {
7112 if (temp2)
7113 delete arg2;
7114 }
7115 return NULL;
7116 }
7117
7118
7119 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7120 PyObject *resultobj;
7121 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7122 wxString *arg2 = 0 ;
7123 bool temp2 = False ;
7124 PyObject * obj0 = 0 ;
7125 PyObject * obj1 = 0 ;
7126 char *kwnames[] = {
7127 (char *) "self",(char *) "text", NULL
7128 };
7129
7130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7132 {
7133 arg2 = wxString_in_helper(obj1);
7134 if (arg2 == NULL) SWIG_fail;
7135 temp2 = True;
7136 }
7137 {
7138 PyThreadState* __tstate = wxPyBeginAllowThreads();
7139 (arg1)->AppendText((wxString const &)*arg2);
7140
7141 wxPyEndAllowThreads(__tstate);
7142 if (PyErr_Occurred()) SWIG_fail;
7143 }
7144 Py_INCREF(Py_None); resultobj = Py_None;
7145 {
7146 if (temp2)
7147 delete arg2;
7148 }
7149 return resultobj;
7150 fail:
7151 {
7152 if (temp2)
7153 delete arg2;
7154 }
7155 return NULL;
7156 }
7157
7158
7159 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7160 PyObject *resultobj;
7161 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7162 wxKeyEvent *arg2 = 0 ;
7163 bool result;
7164 PyObject * obj0 = 0 ;
7165 PyObject * obj1 = 0 ;
7166 char *kwnames[] = {
7167 (char *) "self",(char *) "event", NULL
7168 };
7169
7170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7172 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7173 if (arg2 == NULL) {
7174 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7175 }
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 resultobj = PyInt_FromLong((long)result);
7184 return resultobj;
7185 fail:
7186 return NULL;
7187 }
7188
7189
7190 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj;
7192 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7193 long arg2 ;
7194 long arg3 ;
7195 wxTextAttr *arg4 = 0 ;
7196 bool result;
7197 PyObject * obj0 = 0 ;
7198 PyObject * obj3 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7206 if (arg4 == NULL) {
7207 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7208 }
7209 {
7210 PyThreadState* __tstate = wxPyBeginAllowThreads();
7211 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7212
7213 wxPyEndAllowThreads(__tstate);
7214 if (PyErr_Occurred()) SWIG_fail;
7215 }
7216 resultobj = PyInt_FromLong((long)result);
7217 return resultobj;
7218 fail:
7219 return NULL;
7220 }
7221
7222
7223 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7224 PyObject *resultobj;
7225 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7226 long arg2 ;
7227 wxTextAttr *arg3 = 0 ;
7228 bool result;
7229 PyObject * obj0 = 0 ;
7230 PyObject * obj2 = 0 ;
7231 char *kwnames[] = {
7232 (char *) "self",(char *) "position",(char *) "style", NULL
7233 };
7234
7235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7237 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7238 if (arg3 == NULL) {
7239 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7240 }
7241 {
7242 PyThreadState* __tstate = wxPyBeginAllowThreads();
7243 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7244
7245 wxPyEndAllowThreads(__tstate);
7246 if (PyErr_Occurred()) SWIG_fail;
7247 }
7248 resultobj = PyInt_FromLong((long)result);
7249 return resultobj;
7250 fail:
7251 return NULL;
7252 }
7253
7254
7255 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7256 PyObject *resultobj;
7257 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7258 wxTextAttr *arg2 = 0 ;
7259 bool result;
7260 PyObject * obj0 = 0 ;
7261 PyObject * obj1 = 0 ;
7262 char *kwnames[] = {
7263 (char *) "self",(char *) "style", NULL
7264 };
7265
7266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7269 if (arg2 == NULL) {
7270 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7271 }
7272 {
7273 PyThreadState* __tstate = wxPyBeginAllowThreads();
7274 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7275
7276 wxPyEndAllowThreads(__tstate);
7277 if (PyErr_Occurred()) SWIG_fail;
7278 }
7279 resultobj = PyInt_FromLong((long)result);
7280 return resultobj;
7281 fail:
7282 return NULL;
7283 }
7284
7285
7286 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7287 PyObject *resultobj;
7288 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7289 wxTextAttr *result;
7290 PyObject * obj0 = 0 ;
7291 char *kwnames[] = {
7292 (char *) "self", NULL
7293 };
7294
7295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7297 {
7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
7299 {
7300 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7301 result = (wxTextAttr *) &_result_ref;
7302 }
7303
7304 wxPyEndAllowThreads(__tstate);
7305 if (PyErr_Occurred()) SWIG_fail;
7306 }
7307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7308 return resultobj;
7309 fail:
7310 return NULL;
7311 }
7312
7313
7314 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7315 PyObject *resultobj;
7316 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7317 long arg2 ;
7318 long arg3 ;
7319 long result;
7320 PyObject * obj0 = 0 ;
7321 char *kwnames[] = {
7322 (char *) "self",(char *) "x",(char *) "y", NULL
7323 };
7324
7325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7327 {
7328 PyThreadState* __tstate = wxPyBeginAllowThreads();
7329 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7330
7331 wxPyEndAllowThreads(__tstate);
7332 if (PyErr_Occurred()) SWIG_fail;
7333 }
7334 resultobj = PyInt_FromLong((long)result);
7335 return resultobj;
7336 fail:
7337 return NULL;
7338 }
7339
7340
7341 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7342 PyObject *resultobj;
7343 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7344 long arg2 ;
7345 long *arg3 = (long *) 0 ;
7346 long *arg4 = (long *) 0 ;
7347 long temp3 ;
7348 long temp4 ;
7349 PyObject * obj0 = 0 ;
7350 char *kwnames[] = {
7351 (char *) "self",(char *) "pos", NULL
7352 };
7353
7354 arg3 = &temp3;
7355 arg4 = &temp4;
7356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7361
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
7365 Py_INCREF(Py_None); resultobj = Py_None;
7366 {
7367 PyObject *o = PyInt_FromLong((long) (*arg3));
7368 resultobj = t_output_helper(resultobj,o);
7369 }
7370 {
7371 PyObject *o = PyInt_FromLong((long) (*arg4));
7372 resultobj = t_output_helper(resultobj,o);
7373 }
7374 return resultobj;
7375 fail:
7376 return NULL;
7377 }
7378
7379
7380 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7381 PyObject *resultobj;
7382 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7383 long arg2 ;
7384 PyObject * obj0 = 0 ;
7385 char *kwnames[] = {
7386 (char *) "self",(char *) "pos", NULL
7387 };
7388
7389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7391 {
7392 PyThreadState* __tstate = wxPyBeginAllowThreads();
7393 (arg1)->ShowPosition(arg2);
7394
7395 wxPyEndAllowThreads(__tstate);
7396 if (PyErr_Occurred()) SWIG_fail;
7397 }
7398 Py_INCREF(Py_None); resultobj = Py_None;
7399 return resultobj;
7400 fail:
7401 return NULL;
7402 }
7403
7404
7405 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7406 PyObject *resultobj;
7407 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7408 PyObject * obj0 = 0 ;
7409 char *kwnames[] = {
7410 (char *) "self", NULL
7411 };
7412
7413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7415 {
7416 PyThreadState* __tstate = wxPyBeginAllowThreads();
7417 (arg1)->Copy();
7418
7419 wxPyEndAllowThreads(__tstate);
7420 if (PyErr_Occurred()) SWIG_fail;
7421 }
7422 Py_INCREF(Py_None); resultobj = Py_None;
7423 return resultobj;
7424 fail:
7425 return NULL;
7426 }
7427
7428
7429 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7430 PyObject *resultobj;
7431 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7432 PyObject * obj0 = 0 ;
7433 char *kwnames[] = {
7434 (char *) "self", NULL
7435 };
7436
7437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7439 {
7440 PyThreadState* __tstate = wxPyBeginAllowThreads();
7441 (arg1)->Cut();
7442
7443 wxPyEndAllowThreads(__tstate);
7444 if (PyErr_Occurred()) SWIG_fail;
7445 }
7446 Py_INCREF(Py_None); resultobj = Py_None;
7447 return resultobj;
7448 fail:
7449 return NULL;
7450 }
7451
7452
7453 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7454 PyObject *resultobj;
7455 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7456 PyObject * obj0 = 0 ;
7457 char *kwnames[] = {
7458 (char *) "self", NULL
7459 };
7460
7461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7463 {
7464 PyThreadState* __tstate = wxPyBeginAllowThreads();
7465 (arg1)->Paste();
7466
7467 wxPyEndAllowThreads(__tstate);
7468 if (PyErr_Occurred()) SWIG_fail;
7469 }
7470 Py_INCREF(Py_None); resultobj = Py_None;
7471 return resultobj;
7472 fail:
7473 return NULL;
7474 }
7475
7476
7477 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7478 PyObject *resultobj;
7479 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7480 bool result;
7481 PyObject * obj0 = 0 ;
7482 char *kwnames[] = {
7483 (char *) "self", NULL
7484 };
7485
7486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7488 {
7489 PyThreadState* __tstate = wxPyBeginAllowThreads();
7490 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7491
7492 wxPyEndAllowThreads(__tstate);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 }
7495 resultobj = PyInt_FromLong((long)result);
7496 return resultobj;
7497 fail:
7498 return NULL;
7499 }
7500
7501
7502 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7503 PyObject *resultobj;
7504 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7505 bool result;
7506 PyObject * obj0 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "self", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 resultobj = PyInt_FromLong((long)result);
7521 return resultobj;
7522 fail:
7523 return NULL;
7524 }
7525
7526
7527 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7528 PyObject *resultobj;
7529 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7530 bool result;
7531 PyObject * obj0 = 0 ;
7532 char *kwnames[] = {
7533 (char *) "self", NULL
7534 };
7535
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 resultobj = PyInt_FromLong((long)result);
7546 return resultobj;
7547 fail:
7548 return NULL;
7549 }
7550
7551
7552 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj;
7554 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7555 PyObject * obj0 = 0 ;
7556 char *kwnames[] = {
7557 (char *) "self", NULL
7558 };
7559
7560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7562 {
7563 PyThreadState* __tstate = wxPyBeginAllowThreads();
7564 (arg1)->Undo();
7565
7566 wxPyEndAllowThreads(__tstate);
7567 if (PyErr_Occurred()) SWIG_fail;
7568 }
7569 Py_INCREF(Py_None); resultobj = Py_None;
7570 return resultobj;
7571 fail:
7572 return NULL;
7573 }
7574
7575
7576 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7577 PyObject *resultobj;
7578 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7579 PyObject * obj0 = 0 ;
7580 char *kwnames[] = {
7581 (char *) "self", NULL
7582 };
7583
7584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7586 {
7587 PyThreadState* __tstate = wxPyBeginAllowThreads();
7588 (arg1)->Redo();
7589
7590 wxPyEndAllowThreads(__tstate);
7591 if (PyErr_Occurred()) SWIG_fail;
7592 }
7593 Py_INCREF(Py_None); resultobj = Py_None;
7594 return resultobj;
7595 fail:
7596 return NULL;
7597 }
7598
7599
7600 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7601 PyObject *resultobj;
7602 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7603 bool result;
7604 PyObject * obj0 = 0 ;
7605 char *kwnames[] = {
7606 (char *) "self", NULL
7607 };
7608
7609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7611 {
7612 PyThreadState* __tstate = wxPyBeginAllowThreads();
7613 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7614
7615 wxPyEndAllowThreads(__tstate);
7616 if (PyErr_Occurred()) SWIG_fail;
7617 }
7618 resultobj = PyInt_FromLong((long)result);
7619 return resultobj;
7620 fail:
7621 return NULL;
7622 }
7623
7624
7625 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7626 PyObject *resultobj;
7627 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7628 bool result;
7629 PyObject * obj0 = 0 ;
7630 char *kwnames[] = {
7631 (char *) "self", NULL
7632 };
7633
7634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7636 {
7637 PyThreadState* __tstate = wxPyBeginAllowThreads();
7638 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7639
7640 wxPyEndAllowThreads(__tstate);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 }
7643 resultobj = PyInt_FromLong((long)result);
7644 return resultobj;
7645 fail:
7646 return NULL;
7647 }
7648
7649
7650 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7651 PyObject *resultobj;
7652 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7653 long arg2 ;
7654 PyObject * obj0 = 0 ;
7655 char *kwnames[] = {
7656 (char *) "self",(char *) "pos", NULL
7657 };
7658
7659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7661 {
7662 PyThreadState* __tstate = wxPyBeginAllowThreads();
7663 (arg1)->SetInsertionPoint(arg2);
7664
7665 wxPyEndAllowThreads(__tstate);
7666 if (PyErr_Occurred()) SWIG_fail;
7667 }
7668 Py_INCREF(Py_None); resultobj = Py_None;
7669 return resultobj;
7670 fail:
7671 return NULL;
7672 }
7673
7674
7675 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7676 PyObject *resultobj;
7677 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7678 PyObject * obj0 = 0 ;
7679 char *kwnames[] = {
7680 (char *) "self", NULL
7681 };
7682
7683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7685 {
7686 PyThreadState* __tstate = wxPyBeginAllowThreads();
7687 (arg1)->SetInsertionPointEnd();
7688
7689 wxPyEndAllowThreads(__tstate);
7690 if (PyErr_Occurred()) SWIG_fail;
7691 }
7692 Py_INCREF(Py_None); resultobj = Py_None;
7693 return resultobj;
7694 fail:
7695 return NULL;
7696 }
7697
7698
7699 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7700 PyObject *resultobj;
7701 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7702 long result;
7703 PyObject * obj0 = 0 ;
7704 char *kwnames[] = {
7705 (char *) "self", NULL
7706 };
7707
7708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7710 {
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7713
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
7717 resultobj = PyInt_FromLong((long)result);
7718 return resultobj;
7719 fail:
7720 return NULL;
7721 }
7722
7723
7724 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7725 PyObject *resultobj;
7726 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7727 long result;
7728 PyObject * obj0 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "self", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7735 {
7736 PyThreadState* __tstate = wxPyBeginAllowThreads();
7737 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7738
7739 wxPyEndAllowThreads(__tstate);
7740 if (PyErr_Occurred()) SWIG_fail;
7741 }
7742 resultobj = PyInt_FromLong((long)result);
7743 return resultobj;
7744 fail:
7745 return NULL;
7746 }
7747
7748
7749 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj;
7751 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7752 long arg2 ;
7753 long arg3 ;
7754 PyObject * obj0 = 0 ;
7755 char *kwnames[] = {
7756 (char *) "self",(char *) "from",(char *) "to", NULL
7757 };
7758
7759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7761 {
7762 PyThreadState* __tstate = wxPyBeginAllowThreads();
7763 (arg1)->SetSelection(arg2,arg3);
7764
7765 wxPyEndAllowThreads(__tstate);
7766 if (PyErr_Occurred()) SWIG_fail;
7767 }
7768 Py_INCREF(Py_None); resultobj = Py_None;
7769 return resultobj;
7770 fail:
7771 return NULL;
7772 }
7773
7774
7775 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7776 PyObject *resultobj;
7777 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7778 PyObject * obj0 = 0 ;
7779 char *kwnames[] = {
7780 (char *) "self", NULL
7781 };
7782
7783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7785 {
7786 PyThreadState* __tstate = wxPyBeginAllowThreads();
7787 (arg1)->SelectAll();
7788
7789 wxPyEndAllowThreads(__tstate);
7790 if (PyErr_Occurred()) SWIG_fail;
7791 }
7792 Py_INCREF(Py_None); resultobj = Py_None;
7793 return resultobj;
7794 fail:
7795 return NULL;
7796 }
7797
7798
7799 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7800 PyObject *resultobj;
7801 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7802 bool arg2 ;
7803 PyObject * obj0 = 0 ;
7804 PyObject * obj1 = 0 ;
7805 char *kwnames[] = {
7806 (char *) "self",(char *) "editable", NULL
7807 };
7808
7809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7811 arg2 = PyInt_AsLong(obj1) ? true : false;
7812 if (PyErr_Occurred()) SWIG_fail;
7813 {
7814 PyThreadState* __tstate = wxPyBeginAllowThreads();
7815 (arg1)->SetEditable(arg2);
7816
7817 wxPyEndAllowThreads(__tstate);
7818 if (PyErr_Occurred()) SWIG_fail;
7819 }
7820 Py_INCREF(Py_None); resultobj = Py_None;
7821 return resultobj;
7822 fail:
7823 return NULL;
7824 }
7825
7826
7827 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
7828 PyObject *resultobj;
7829 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7830 bool arg2 = (bool) True ;
7831 bool result;
7832 PyObject * obj0 = 0 ;
7833 PyObject * obj1 = 0 ;
7834 char *kwnames[] = {
7835 (char *) "self",(char *) "show", NULL
7836 };
7837
7838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
7839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7840 if (obj1) {
7841 arg2 = PyInt_AsLong(obj1) ? true : false;
7842 if (PyErr_Occurred()) SWIG_fail;
7843 }
7844 {
7845 PyThreadState* __tstate = wxPyBeginAllowThreads();
7846 result = (bool)(arg1)->ShowNativeCaret(arg2);
7847
7848 wxPyEndAllowThreads(__tstate);
7849 if (PyErr_Occurred()) SWIG_fail;
7850 }
7851 resultobj = PyInt_FromLong((long)result);
7852 return resultobj;
7853 fail:
7854 return NULL;
7855 }
7856
7857
7858 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
7859 PyObject *resultobj;
7860 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7861 bool result;
7862 PyObject * obj0 = 0 ;
7863 char *kwnames[] = {
7864 (char *) "self", NULL
7865 };
7866
7867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
7868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7869 {
7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
7871 result = (bool)(arg1)->HideNativeCaret();
7872
7873 wxPyEndAllowThreads(__tstate);
7874 if (PyErr_Occurred()) SWIG_fail;
7875 }
7876 resultobj = PyInt_FromLong((long)result);
7877 return resultobj;
7878 fail:
7879 return NULL;
7880 }
7881
7882
7883 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7884 PyObject *resultobj;
7885 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7886 wxString *arg2 = 0 ;
7887 bool temp2 = False ;
7888 PyObject * obj0 = 0 ;
7889 PyObject * obj1 = 0 ;
7890 char *kwnames[] = {
7891 (char *) "self",(char *) "text", NULL
7892 };
7893
7894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7896 {
7897 arg2 = wxString_in_helper(obj1);
7898 if (arg2 == NULL) SWIG_fail;
7899 temp2 = True;
7900 }
7901 {
7902 PyThreadState* __tstate = wxPyBeginAllowThreads();
7903 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7904
7905 wxPyEndAllowThreads(__tstate);
7906 if (PyErr_Occurred()) SWIG_fail;
7907 }
7908 Py_INCREF(Py_None); resultobj = Py_None;
7909 {
7910 if (temp2)
7911 delete arg2;
7912 }
7913 return resultobj;
7914 fail:
7915 {
7916 if (temp2)
7917 delete arg2;
7918 }
7919 return NULL;
7920 }
7921
7922
7923 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7924 PyObject *resultobj;
7925 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7926 long arg2 ;
7927 long arg3 ;
7928 wxString result;
7929 PyObject * obj0 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self",(char *) "from",(char *) "to", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
7938 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7939
7940 wxPyEndAllowThreads(__tstate);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 {
7944 #if wxUSE_UNICODE
7945 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7946 #else
7947 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7948 #endif
7949 }
7950 return resultobj;
7951 fail:
7952 return NULL;
7953 }
7954
7955
7956 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7957 PyObject *obj;
7958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7959 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7960 Py_INCREF(obj);
7961 return Py_BuildValue((char *)"");
7962 }
7963 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 int arg1 ;
7966 wxMouseEvent *arg2 = 0 ;
7967 long arg3 ;
7968 long arg4 ;
7969 wxTextUrlEvent *result;
7970 PyObject * obj1 = 0 ;
7971 char *kwnames[] = {
7972 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7973 };
7974
7975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
7976 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7977 if (arg2 == NULL) {
7978 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7979 }
7980 {
7981 PyThreadState* __tstate = wxPyBeginAllowThreads();
7982 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
7983
7984 wxPyEndAllowThreads(__tstate);
7985 if (PyErr_Occurred()) SWIG_fail;
7986 }
7987 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
7988 return resultobj;
7989 fail:
7990 return NULL;
7991 }
7992
7993
7994 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7995 PyObject *resultobj;
7996 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7997 wxMouseEvent *result;
7998 PyObject * obj0 = 0 ;
7999 char *kwnames[] = {
8000 (char *) "self", NULL
8001 };
8002
8003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8005 {
8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
8007 {
8008 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8009 result = (wxMouseEvent *) &_result_ref;
8010 }
8011
8012 wxPyEndAllowThreads(__tstate);
8013 if (PyErr_Occurred()) SWIG_fail;
8014 }
8015 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8016 return resultobj;
8017 fail:
8018 return NULL;
8019 }
8020
8021
8022 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8023 PyObject *resultobj;
8024 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8025 long result;
8026 PyObject * obj0 = 0 ;
8027 char *kwnames[] = {
8028 (char *) "self", NULL
8029 };
8030
8031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8033 {
8034 PyThreadState* __tstate = wxPyBeginAllowThreads();
8035 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 resultobj = PyInt_FromLong((long)result);
8041 return resultobj;
8042 fail:
8043 return NULL;
8044 }
8045
8046
8047 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8048 PyObject *resultobj;
8049 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8050 long result;
8051 PyObject * obj0 = 0 ;
8052 char *kwnames[] = {
8053 (char *) "self", NULL
8054 };
8055
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 resultobj = PyInt_FromLong((long)result);
8066 return resultobj;
8067 fail:
8068 return NULL;
8069 }
8070
8071
8072 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8073 PyObject *obj;
8074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8075 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8076 Py_INCREF(obj);
8077 return Py_BuildValue((char *)"");
8078 }
8079 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8080 PyObject *resultobj;
8081 wxWindow *arg1 = (wxWindow *) 0 ;
8082 int arg2 = (int) -1 ;
8083 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8084 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8085 wxSize const &arg4_defvalue = wxDefaultSize ;
8086 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8087 long arg5 = (long) wxSB_HORIZONTAL ;
8088 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8089 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8090 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8091 wxString *arg7 = (wxString *) &arg7_defvalue ;
8092 wxScrollBar *result;
8093 wxPoint temp3 ;
8094 wxSize temp4 ;
8095 bool temp7 = False ;
8096 PyObject * obj0 = 0 ;
8097 PyObject * obj2 = 0 ;
8098 PyObject * obj3 = 0 ;
8099 PyObject * obj5 = 0 ;
8100 PyObject * obj6 = 0 ;
8101 char *kwnames[] = {
8102 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8103 };
8104
8105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8107 if (obj2) {
8108 {
8109 arg3 = &temp3;
8110 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8111 }
8112 }
8113 if (obj3) {
8114 {
8115 arg4 = &temp4;
8116 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8117 }
8118 }
8119 if (obj5) {
8120 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8121 if (arg6 == NULL) {
8122 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8123 }
8124 }
8125 if (obj6) {
8126 {
8127 arg7 = wxString_in_helper(obj6);
8128 if (arg7 == NULL) SWIG_fail;
8129 temp7 = True;
8130 }
8131 }
8132 {
8133 PyThreadState* __tstate = wxPyBeginAllowThreads();
8134 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8135
8136 wxPyEndAllowThreads(__tstate);
8137 if (PyErr_Occurred()) SWIG_fail;
8138 }
8139 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8140 {
8141 if (temp7)
8142 delete arg7;
8143 }
8144 return resultobj;
8145 fail:
8146 {
8147 if (temp7)
8148 delete arg7;
8149 }
8150 return NULL;
8151 }
8152
8153
8154 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8155 PyObject *resultobj;
8156 wxScrollBar *result;
8157 char *kwnames[] = {
8158 NULL
8159 };
8160
8161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8162 {
8163 PyThreadState* __tstate = wxPyBeginAllowThreads();
8164 result = (wxScrollBar *)new wxScrollBar();
8165
8166 wxPyEndAllowThreads(__tstate);
8167 if (PyErr_Occurred()) SWIG_fail;
8168 }
8169 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8170 return resultobj;
8171 fail:
8172 return NULL;
8173 }
8174
8175
8176 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8177 PyObject *resultobj;
8178 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8179 wxWindow *arg2 = (wxWindow *) 0 ;
8180 int arg3 = (int) -1 ;
8181 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8182 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8183 wxSize const &arg5_defvalue = wxDefaultSize ;
8184 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8185 long arg6 = (long) wxSB_HORIZONTAL ;
8186 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8187 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8188 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8189 wxString *arg8 = (wxString *) &arg8_defvalue ;
8190 bool result;
8191 wxPoint temp4 ;
8192 wxSize temp5 ;
8193 bool temp8 = False ;
8194 PyObject * obj0 = 0 ;
8195 PyObject * obj1 = 0 ;
8196 PyObject * obj3 = 0 ;
8197 PyObject * obj4 = 0 ;
8198 PyObject * obj6 = 0 ;
8199 PyObject * obj7 = 0 ;
8200 char *kwnames[] = {
8201 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8202 };
8203
8204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8207 if (obj3) {
8208 {
8209 arg4 = &temp4;
8210 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8211 }
8212 }
8213 if (obj4) {
8214 {
8215 arg5 = &temp5;
8216 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8217 }
8218 }
8219 if (obj6) {
8220 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8221 if (arg7 == NULL) {
8222 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8223 }
8224 }
8225 if (obj7) {
8226 {
8227 arg8 = wxString_in_helper(obj7);
8228 if (arg8 == NULL) SWIG_fail;
8229 temp8 = True;
8230 }
8231 }
8232 {
8233 PyThreadState* __tstate = wxPyBeginAllowThreads();
8234 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8235
8236 wxPyEndAllowThreads(__tstate);
8237 if (PyErr_Occurred()) SWIG_fail;
8238 }
8239 resultobj = PyInt_FromLong((long)result);
8240 {
8241 if (temp8)
8242 delete arg8;
8243 }
8244 return resultobj;
8245 fail:
8246 {
8247 if (temp8)
8248 delete arg8;
8249 }
8250 return NULL;
8251 }
8252
8253
8254 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8255 PyObject *resultobj;
8256 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8257 int result;
8258 PyObject * obj0 = 0 ;
8259 char *kwnames[] = {
8260 (char *) "self", NULL
8261 };
8262
8263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8265 {
8266 PyThreadState* __tstate = wxPyBeginAllowThreads();
8267 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8268
8269 wxPyEndAllowThreads(__tstate);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 }
8272 resultobj = PyInt_FromLong((long)result);
8273 return resultobj;
8274 fail:
8275 return NULL;
8276 }
8277
8278
8279 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj;
8281 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8282 int result;
8283 PyObject * obj0 = 0 ;
8284 char *kwnames[] = {
8285 (char *) "self", NULL
8286 };
8287
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8290 {
8291 PyThreadState* __tstate = wxPyBeginAllowThreads();
8292 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8293
8294 wxPyEndAllowThreads(__tstate);
8295 if (PyErr_Occurred()) SWIG_fail;
8296 }
8297 resultobj = PyInt_FromLong((long)result);
8298 return resultobj;
8299 fail:
8300 return NULL;
8301 }
8302
8303
8304 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8305 PyObject *resultobj;
8306 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8307 int result;
8308 PyObject * obj0 = 0 ;
8309 char *kwnames[] = {
8310 (char *) "self", NULL
8311 };
8312
8313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8318
8319 wxPyEndAllowThreads(__tstate);
8320 if (PyErr_Occurred()) SWIG_fail;
8321 }
8322 resultobj = PyInt_FromLong((long)result);
8323 return resultobj;
8324 fail:
8325 return NULL;
8326 }
8327
8328
8329 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8330 PyObject *resultobj;
8331 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8332 int result;
8333 PyObject * obj0 = 0 ;
8334 char *kwnames[] = {
8335 (char *) "self", NULL
8336 };
8337
8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8340 {
8341 PyThreadState* __tstate = wxPyBeginAllowThreads();
8342 result = (int)((wxScrollBar const *)arg1)->GetRange();
8343
8344 wxPyEndAllowThreads(__tstate);
8345 if (PyErr_Occurred()) SWIG_fail;
8346 }
8347 resultobj = PyInt_FromLong((long)result);
8348 return resultobj;
8349 fail:
8350 return NULL;
8351 }
8352
8353
8354 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8355 PyObject *resultobj;
8356 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8357 bool result;
8358 PyObject * obj0 = 0 ;
8359 char *kwnames[] = {
8360 (char *) "self", NULL
8361 };
8362
8363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 resultobj = PyInt_FromLong((long)result);
8373 return resultobj;
8374 fail:
8375 return NULL;
8376 }
8377
8378
8379 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8380 PyObject *resultobj;
8381 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8382 int arg2 ;
8383 PyObject * obj0 = 0 ;
8384 char *kwnames[] = {
8385 (char *) "self",(char *) "viewStart", NULL
8386 };
8387
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 (arg1)->SetThumbPosition(arg2);
8393
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 Py_INCREF(Py_None); resultobj = Py_None;
8398 return resultobj;
8399 fail:
8400 return NULL;
8401 }
8402
8403
8404 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8405 PyObject *resultobj;
8406 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8407 int arg2 ;
8408 int arg3 ;
8409 int arg4 ;
8410 int arg5 ;
8411 bool arg6 = (bool) True ;
8412 PyObject * obj0 = 0 ;
8413 PyObject * obj5 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8420 if (obj5) {
8421 arg6 = PyInt_AsLong(obj5) ? true : false;
8422 if (PyErr_Occurred()) SWIG_fail;
8423 }
8424 {
8425 PyThreadState* __tstate = wxPyBeginAllowThreads();
8426 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8427
8428 wxPyEndAllowThreads(__tstate);
8429 if (PyErr_Occurred()) SWIG_fail;
8430 }
8431 Py_INCREF(Py_None); resultobj = Py_None;
8432 return resultobj;
8433 fail:
8434 return NULL;
8435 }
8436
8437
8438 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8439 PyObject *obj;
8440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8441 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8442 Py_INCREF(obj);
8443 return Py_BuildValue((char *)"");
8444 }
8445 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8446 PyObject *resultobj;
8447 wxWindow *arg1 = (wxWindow *) 0 ;
8448 int arg2 = (int) -1 ;
8449 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8450 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8451 wxSize const &arg4_defvalue = wxDefaultSize ;
8452 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8453 long arg5 = (long) wxSP_HORIZONTAL ;
8454 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8455 wxString *arg6 = (wxString *) &arg6_defvalue ;
8456 wxSpinButton *result;
8457 wxPoint temp3 ;
8458 wxSize temp4 ;
8459 bool temp6 = False ;
8460 PyObject * obj0 = 0 ;
8461 PyObject * obj2 = 0 ;
8462 PyObject * obj3 = 0 ;
8463 PyObject * obj5 = 0 ;
8464 char *kwnames[] = {
8465 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8466 };
8467
8468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8470 if (obj2) {
8471 {
8472 arg3 = &temp3;
8473 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8474 }
8475 }
8476 if (obj3) {
8477 {
8478 arg4 = &temp4;
8479 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8480 }
8481 }
8482 if (obj5) {
8483 {
8484 arg6 = wxString_in_helper(obj5);
8485 if (arg6 == NULL) SWIG_fail;
8486 temp6 = True;
8487 }
8488 }
8489 {
8490 PyThreadState* __tstate = wxPyBeginAllowThreads();
8491 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8492
8493 wxPyEndAllowThreads(__tstate);
8494 if (PyErr_Occurred()) SWIG_fail;
8495 }
8496 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8497 {
8498 if (temp6)
8499 delete arg6;
8500 }
8501 return resultobj;
8502 fail:
8503 {
8504 if (temp6)
8505 delete arg6;
8506 }
8507 return NULL;
8508 }
8509
8510
8511 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8512 PyObject *resultobj;
8513 wxSpinButton *result;
8514 char *kwnames[] = {
8515 NULL
8516 };
8517
8518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8519 {
8520 PyThreadState* __tstate = wxPyBeginAllowThreads();
8521 result = (wxSpinButton *)new wxSpinButton();
8522
8523 wxPyEndAllowThreads(__tstate);
8524 if (PyErr_Occurred()) SWIG_fail;
8525 }
8526 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8527 return resultobj;
8528 fail:
8529 return NULL;
8530 }
8531
8532
8533 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8534 PyObject *resultobj;
8535 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8536 wxWindow *arg2 = (wxWindow *) 0 ;
8537 int arg3 = (int) -1 ;
8538 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8539 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8540 wxSize const &arg5_defvalue = wxDefaultSize ;
8541 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8542 long arg6 = (long) wxSP_HORIZONTAL ;
8543 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8544 wxString *arg7 = (wxString *) &arg7_defvalue ;
8545 bool result;
8546 wxPoint temp4 ;
8547 wxSize temp5 ;
8548 bool temp7 = False ;
8549 PyObject * obj0 = 0 ;
8550 PyObject * obj1 = 0 ;
8551 PyObject * obj3 = 0 ;
8552 PyObject * obj4 = 0 ;
8553 PyObject * obj6 = 0 ;
8554 char *kwnames[] = {
8555 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8556 };
8557
8558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8561 if (obj3) {
8562 {
8563 arg4 = &temp4;
8564 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8565 }
8566 }
8567 if (obj4) {
8568 {
8569 arg5 = &temp5;
8570 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8571 }
8572 }
8573 if (obj6) {
8574 {
8575 arg7 = wxString_in_helper(obj6);
8576 if (arg7 == NULL) SWIG_fail;
8577 temp7 = True;
8578 }
8579 }
8580 {
8581 PyThreadState* __tstate = wxPyBeginAllowThreads();
8582 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8583
8584 wxPyEndAllowThreads(__tstate);
8585 if (PyErr_Occurred()) SWIG_fail;
8586 }
8587 resultobj = PyInt_FromLong((long)result);
8588 {
8589 if (temp7)
8590 delete arg7;
8591 }
8592 return resultobj;
8593 fail:
8594 {
8595 if (temp7)
8596 delete arg7;
8597 }
8598 return NULL;
8599 }
8600
8601
8602 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8603 PyObject *resultobj;
8604 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8605 int result;
8606 PyObject * obj0 = 0 ;
8607 char *kwnames[] = {
8608 (char *) "self", NULL
8609 };
8610
8611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8613 {
8614 PyThreadState* __tstate = wxPyBeginAllowThreads();
8615 result = (int)((wxSpinButton const *)arg1)->GetValue();
8616
8617 wxPyEndAllowThreads(__tstate);
8618 if (PyErr_Occurred()) SWIG_fail;
8619 }
8620 resultobj = PyInt_FromLong((long)result);
8621 return resultobj;
8622 fail:
8623 return NULL;
8624 }
8625
8626
8627 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8628 PyObject *resultobj;
8629 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8630 int result;
8631 PyObject * obj0 = 0 ;
8632 char *kwnames[] = {
8633 (char *) "self", NULL
8634 };
8635
8636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8638 {
8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
8640 result = (int)((wxSpinButton const *)arg1)->GetMin();
8641
8642 wxPyEndAllowThreads(__tstate);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 }
8645 resultobj = PyInt_FromLong((long)result);
8646 return resultobj;
8647 fail:
8648 return NULL;
8649 }
8650
8651
8652 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8653 PyObject *resultobj;
8654 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8655 int result;
8656 PyObject * obj0 = 0 ;
8657 char *kwnames[] = {
8658 (char *) "self", NULL
8659 };
8660
8661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8663 {
8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
8665 result = (int)((wxSpinButton const *)arg1)->GetMax();
8666
8667 wxPyEndAllowThreads(__tstate);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 }
8670 resultobj = PyInt_FromLong((long)result);
8671 return resultobj;
8672 fail:
8673 return NULL;
8674 }
8675
8676
8677 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8678 PyObject *resultobj;
8679 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8680 int arg2 ;
8681 PyObject * obj0 = 0 ;
8682 char *kwnames[] = {
8683 (char *) "self",(char *) "val", NULL
8684 };
8685
8686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 (arg1)->SetValue(arg2);
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 Py_INCREF(Py_None); resultobj = Py_None;
8696 return resultobj;
8697 fail:
8698 return NULL;
8699 }
8700
8701
8702 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8703 PyObject *resultobj;
8704 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8705 int arg2 ;
8706 PyObject * obj0 = 0 ;
8707 char *kwnames[] = {
8708 (char *) "self",(char *) "minVal", NULL
8709 };
8710
8711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 (arg1)->SetMin(arg2);
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 Py_INCREF(Py_None); resultobj = Py_None;
8721 return resultobj;
8722 fail:
8723 return NULL;
8724 }
8725
8726
8727 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj;
8729 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8730 int arg2 ;
8731 PyObject * obj0 = 0 ;
8732 char *kwnames[] = {
8733 (char *) "self",(char *) "maxVal", NULL
8734 };
8735
8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8738 {
8739 PyThreadState* __tstate = wxPyBeginAllowThreads();
8740 (arg1)->SetMax(arg2);
8741
8742 wxPyEndAllowThreads(__tstate);
8743 if (PyErr_Occurred()) SWIG_fail;
8744 }
8745 Py_INCREF(Py_None); resultobj = Py_None;
8746 return resultobj;
8747 fail:
8748 return NULL;
8749 }
8750
8751
8752 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8753 PyObject *resultobj;
8754 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8755 int arg2 ;
8756 int arg3 ;
8757 PyObject * obj0 = 0 ;
8758 char *kwnames[] = {
8759 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8760 };
8761
8762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8764 {
8765 PyThreadState* __tstate = wxPyBeginAllowThreads();
8766 (arg1)->SetRange(arg2,arg3);
8767
8768 wxPyEndAllowThreads(__tstate);
8769 if (PyErr_Occurred()) SWIG_fail;
8770 }
8771 Py_INCREF(Py_None); resultobj = Py_None;
8772 return resultobj;
8773 fail:
8774 return NULL;
8775 }
8776
8777
8778 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8779 PyObject *resultobj;
8780 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8781 bool result;
8782 PyObject * obj0 = 0 ;
8783 char *kwnames[] = {
8784 (char *) "self", NULL
8785 };
8786
8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8789 {
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8792
8793 wxPyEndAllowThreads(__tstate);
8794 if (PyErr_Occurred()) SWIG_fail;
8795 }
8796 resultobj = PyInt_FromLong((long)result);
8797 return resultobj;
8798 fail:
8799 return NULL;
8800 }
8801
8802
8803 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8804 PyObject *obj;
8805 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8806 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8807 Py_INCREF(obj);
8808 return Py_BuildValue((char *)"");
8809 }
8810 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxWindow *arg1 = (wxWindow *) 0 ;
8813 int arg2 = (int) -1 ;
8814 wxString const &arg3_defvalue = wxPyEmptyString ;
8815 wxString *arg3 = (wxString *) &arg3_defvalue ;
8816 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8817 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8818 wxSize const &arg5_defvalue = wxDefaultSize ;
8819 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8820 long arg6 = (long) wxSP_ARROW_KEYS ;
8821 int arg7 = (int) 0 ;
8822 int arg8 = (int) 100 ;
8823 int arg9 = (int) 0 ;
8824 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8825 wxString *arg10 = (wxString *) &arg10_defvalue ;
8826 wxSpinCtrl *result;
8827 bool temp3 = False ;
8828 wxPoint temp4 ;
8829 wxSize temp5 ;
8830 bool temp10 = False ;
8831 PyObject * obj0 = 0 ;
8832 PyObject * obj2 = 0 ;
8833 PyObject * obj3 = 0 ;
8834 PyObject * obj4 = 0 ;
8835 PyObject * obj9 = 0 ;
8836 char *kwnames[] = {
8837 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8838 };
8839
8840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8842 if (obj2) {
8843 {
8844 arg3 = wxString_in_helper(obj2);
8845 if (arg3 == NULL) SWIG_fail;
8846 temp3 = True;
8847 }
8848 }
8849 if (obj3) {
8850 {
8851 arg4 = &temp4;
8852 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8853 }
8854 }
8855 if (obj4) {
8856 {
8857 arg5 = &temp5;
8858 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8859 }
8860 }
8861 if (obj9) {
8862 {
8863 arg10 = wxString_in_helper(obj9);
8864 if (arg10 == NULL) SWIG_fail;
8865 temp10 = True;
8866 }
8867 }
8868 {
8869 PyThreadState* __tstate = wxPyBeginAllowThreads();
8870 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8871
8872 wxPyEndAllowThreads(__tstate);
8873 if (PyErr_Occurred()) SWIG_fail;
8874 }
8875 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8876 {
8877 if (temp3)
8878 delete arg3;
8879 }
8880 {
8881 if (temp10)
8882 delete arg10;
8883 }
8884 return resultobj;
8885 fail:
8886 {
8887 if (temp3)
8888 delete arg3;
8889 }
8890 {
8891 if (temp10)
8892 delete arg10;
8893 }
8894 return NULL;
8895 }
8896
8897
8898 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8899 PyObject *resultobj;
8900 wxSpinCtrl *result;
8901 char *kwnames[] = {
8902 NULL
8903 };
8904
8905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8906 {
8907 PyThreadState* __tstate = wxPyBeginAllowThreads();
8908 result = (wxSpinCtrl *)new wxSpinCtrl();
8909
8910 wxPyEndAllowThreads(__tstate);
8911 if (PyErr_Occurred()) SWIG_fail;
8912 }
8913 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8914 return resultobj;
8915 fail:
8916 return NULL;
8917 }
8918
8919
8920 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8921 PyObject *resultobj;
8922 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8923 wxWindow *arg2 = (wxWindow *) 0 ;
8924 int arg3 = (int) -1 ;
8925 wxString const &arg4_defvalue = wxPyEmptyString ;
8926 wxString *arg4 = (wxString *) &arg4_defvalue ;
8927 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8928 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8929 wxSize const &arg6_defvalue = wxDefaultSize ;
8930 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8931 long arg7 = (long) wxSP_ARROW_KEYS ;
8932 int arg8 = (int) 0 ;
8933 int arg9 = (int) 100 ;
8934 int arg10 = (int) 0 ;
8935 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8936 wxString *arg11 = (wxString *) &arg11_defvalue ;
8937 bool result;
8938 bool temp4 = False ;
8939 wxPoint temp5 ;
8940 wxSize temp6 ;
8941 bool temp11 = False ;
8942 PyObject * obj0 = 0 ;
8943 PyObject * obj1 = 0 ;
8944 PyObject * obj3 = 0 ;
8945 PyObject * obj4 = 0 ;
8946 PyObject * obj5 = 0 ;
8947 PyObject * obj10 = 0 ;
8948 char *kwnames[] = {
8949 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8950 };
8951
8952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8955 if (obj3) {
8956 {
8957 arg4 = wxString_in_helper(obj3);
8958 if (arg4 == NULL) SWIG_fail;
8959 temp4 = True;
8960 }
8961 }
8962 if (obj4) {
8963 {
8964 arg5 = &temp5;
8965 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8966 }
8967 }
8968 if (obj5) {
8969 {
8970 arg6 = &temp6;
8971 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8972 }
8973 }
8974 if (obj10) {
8975 {
8976 arg11 = wxString_in_helper(obj10);
8977 if (arg11 == NULL) SWIG_fail;
8978 temp11 = True;
8979 }
8980 }
8981 {
8982 PyThreadState* __tstate = wxPyBeginAllowThreads();
8983 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
8984
8985 wxPyEndAllowThreads(__tstate);
8986 if (PyErr_Occurred()) SWIG_fail;
8987 }
8988 resultobj = PyInt_FromLong((long)result);
8989 {
8990 if (temp4)
8991 delete arg4;
8992 }
8993 {
8994 if (temp11)
8995 delete arg11;
8996 }
8997 return resultobj;
8998 fail:
8999 {
9000 if (temp4)
9001 delete arg4;
9002 }
9003 {
9004 if (temp11)
9005 delete arg11;
9006 }
9007 return NULL;
9008 }
9009
9010
9011 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9012 PyObject *resultobj;
9013 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9014 int result;
9015 PyObject * obj0 = 0 ;
9016 char *kwnames[] = {
9017 (char *) "self", NULL
9018 };
9019
9020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 resultobj = PyInt_FromLong((long)result);
9030 return resultobj;
9031 fail:
9032 return NULL;
9033 }
9034
9035
9036 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9039 int arg2 ;
9040 PyObject * obj0 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self",(char *) "value", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 (arg1)->SetValue(arg2);
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 Py_INCREF(Py_None); resultobj = Py_None;
9055 return resultobj;
9056 fail:
9057 return NULL;
9058 }
9059
9060
9061 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9062 PyObject *resultobj;
9063 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9064 wxString *arg2 = 0 ;
9065 bool temp2 = False ;
9066 PyObject * obj0 = 0 ;
9067 PyObject * obj1 = 0 ;
9068 char *kwnames[] = {
9069 (char *) "self",(char *) "text", NULL
9070 };
9071
9072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9074 {
9075 arg2 = wxString_in_helper(obj1);
9076 if (arg2 == NULL) SWIG_fail;
9077 temp2 = True;
9078 }
9079 {
9080 PyThreadState* __tstate = wxPyBeginAllowThreads();
9081 (arg1)->SetValue((wxString const &)*arg2);
9082
9083 wxPyEndAllowThreads(__tstate);
9084 if (PyErr_Occurred()) SWIG_fail;
9085 }
9086 Py_INCREF(Py_None); resultobj = Py_None;
9087 {
9088 if (temp2)
9089 delete arg2;
9090 }
9091 return resultobj;
9092 fail:
9093 {
9094 if (temp2)
9095 delete arg2;
9096 }
9097 return NULL;
9098 }
9099
9100
9101 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9102 PyObject *resultobj;
9103 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9104 int arg2 ;
9105 int arg3 ;
9106 PyObject * obj0 = 0 ;
9107 char *kwnames[] = {
9108 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9109 };
9110
9111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9113 {
9114 PyThreadState* __tstate = wxPyBeginAllowThreads();
9115 (arg1)->SetRange(arg2,arg3);
9116
9117 wxPyEndAllowThreads(__tstate);
9118 if (PyErr_Occurred()) SWIG_fail;
9119 }
9120 Py_INCREF(Py_None); resultobj = Py_None;
9121 return resultobj;
9122 fail:
9123 return NULL;
9124 }
9125
9126
9127 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9128 PyObject *resultobj;
9129 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9130 int result;
9131 PyObject * obj0 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "self", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9141
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 resultobj = PyInt_FromLong((long)result);
9146 return resultobj;
9147 fail:
9148 return NULL;
9149 }
9150
9151
9152 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9153 PyObject *resultobj;
9154 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9155 int result;
9156 PyObject * obj0 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self", NULL
9159 };
9160
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 resultobj = PyInt_FromLong((long)result);
9171 return resultobj;
9172 fail:
9173 return NULL;
9174 }
9175
9176
9177 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9178 PyObject *resultobj;
9179 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9180 long arg2 ;
9181 long arg3 ;
9182 PyObject * obj0 = 0 ;
9183 char *kwnames[] = {
9184 (char *) "self",(char *) "from",(char *) "to", NULL
9185 };
9186
9187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9189 {
9190 PyThreadState* __tstate = wxPyBeginAllowThreads();
9191 (arg1)->SetSelection(arg2,arg3);
9192
9193 wxPyEndAllowThreads(__tstate);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 }
9196 Py_INCREF(Py_None); resultobj = Py_None;
9197 return resultobj;
9198 fail:
9199 return NULL;
9200 }
9201
9202
9203 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9204 PyObject *obj;
9205 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9206 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9207 Py_INCREF(obj);
9208 return Py_BuildValue((char *)"");
9209 }
9210 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9211 PyObject *resultobj;
9212 wxWindow *arg1 = (wxWindow *) 0 ;
9213 int arg2 ;
9214 wxString *arg3 = 0 ;
9215 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9216 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9217 wxSize const &arg5_defvalue = wxDefaultSize ;
9218 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9219 int arg6 = (int) 0 ;
9220 wxString *arg7 = (wxString *) NULL ;
9221 int arg8 = (int) 0 ;
9222 long arg9 = (long) wxRA_HORIZONTAL ;
9223 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9224 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9225 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9226 wxString *arg11 = (wxString *) &arg11_defvalue ;
9227 wxRadioBox *result;
9228 bool temp3 = False ;
9229 wxPoint temp4 ;
9230 wxSize temp5 ;
9231 bool temp10 = False ;
9232 PyObject * obj0 = 0 ;
9233 PyObject * obj2 = 0 ;
9234 PyObject * obj3 = 0 ;
9235 PyObject * obj4 = 0 ;
9236 PyObject * obj5 = 0 ;
9237 PyObject * obj8 = 0 ;
9238 PyObject * obj9 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9245 {
9246 arg3 = wxString_in_helper(obj2);
9247 if (arg3 == NULL) SWIG_fail;
9248 temp3 = True;
9249 }
9250 if (obj3) {
9251 {
9252 arg4 = &temp4;
9253 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9254 }
9255 }
9256 if (obj4) {
9257 {
9258 arg5 = &temp5;
9259 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9260 }
9261 }
9262 if (obj5) {
9263 {
9264 arg6 = PyList_Size(obj5);
9265 arg7 = wxString_LIST_helper(obj5);
9266 if (arg7 == NULL) SWIG_fail;
9267 }
9268 }
9269 if (obj8) {
9270 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9271 if (arg10 == NULL) {
9272 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9273 }
9274 }
9275 if (obj9) {
9276 {
9277 arg11 = wxString_in_helper(obj9);
9278 if (arg11 == NULL) SWIG_fail;
9279 temp10 = True;
9280 }
9281 }
9282 {
9283 PyThreadState* __tstate = wxPyBeginAllowThreads();
9284 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);
9285
9286 wxPyEndAllowThreads(__tstate);
9287 if (PyErr_Occurred()) SWIG_fail;
9288 }
9289 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9290 {
9291 if (temp3)
9292 delete arg3;
9293 }
9294 {
9295 if (arg7) delete [] arg7;
9296 }
9297 {
9298 if (temp10)
9299 delete arg11;
9300 }
9301 return resultobj;
9302 fail:
9303 {
9304 if (temp3)
9305 delete arg3;
9306 }
9307 {
9308 if (arg7) delete [] arg7;
9309 }
9310 {
9311 if (temp10)
9312 delete arg11;
9313 }
9314 return NULL;
9315 }
9316
9317
9318 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9319 PyObject *resultobj;
9320 wxRadioBox *result;
9321 char *kwnames[] = {
9322 NULL
9323 };
9324
9325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9326 {
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 result = (wxRadioBox *)new wxRadioBox();
9329
9330 wxPyEndAllowThreads(__tstate);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 }
9333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9334 return resultobj;
9335 fail:
9336 return NULL;
9337 }
9338
9339
9340 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9341 PyObject *resultobj;
9342 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9343 wxWindow *arg2 = (wxWindow *) 0 ;
9344 int arg3 ;
9345 wxString *arg4 = 0 ;
9346 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9347 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9348 wxSize const &arg6_defvalue = wxDefaultSize ;
9349 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9350 int arg7 = (int) 0 ;
9351 wxString *arg8 = (wxString *) NULL ;
9352 int arg9 = (int) 0 ;
9353 long arg10 = (long) wxRA_HORIZONTAL ;
9354 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9355 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9356 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9357 wxString *arg12 = (wxString *) &arg12_defvalue ;
9358 bool result;
9359 bool temp4 = False ;
9360 wxPoint temp5 ;
9361 wxSize temp6 ;
9362 bool temp11 = False ;
9363 PyObject * obj0 = 0 ;
9364 PyObject * obj1 = 0 ;
9365 PyObject * obj3 = 0 ;
9366 PyObject * obj4 = 0 ;
9367 PyObject * obj5 = 0 ;
9368 PyObject * obj6 = 0 ;
9369 PyObject * obj9 = 0 ;
9370 PyObject * obj10 = 0 ;
9371 char *kwnames[] = {
9372 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9373 };
9374
9375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9377 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9378 {
9379 arg4 = wxString_in_helper(obj3);
9380 if (arg4 == NULL) SWIG_fail;
9381 temp4 = True;
9382 }
9383 if (obj4) {
9384 {
9385 arg5 = &temp5;
9386 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9387 }
9388 }
9389 if (obj5) {
9390 {
9391 arg6 = &temp6;
9392 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9393 }
9394 }
9395 if (obj6) {
9396 {
9397 arg7 = PyList_Size(obj6);
9398 arg8 = wxString_LIST_helper(obj6);
9399 if (arg8 == NULL) SWIG_fail;
9400 }
9401 }
9402 if (obj9) {
9403 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9404 if (arg11 == NULL) {
9405 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9406 }
9407 }
9408 if (obj10) {
9409 {
9410 arg12 = wxString_in_helper(obj10);
9411 if (arg12 == NULL) SWIG_fail;
9412 temp11 = True;
9413 }
9414 }
9415 {
9416 PyThreadState* __tstate = wxPyBeginAllowThreads();
9417 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);
9418
9419 wxPyEndAllowThreads(__tstate);
9420 if (PyErr_Occurred()) SWIG_fail;
9421 }
9422 resultobj = PyInt_FromLong((long)result);
9423 {
9424 if (temp4)
9425 delete arg4;
9426 }
9427 {
9428 if (arg8) delete [] arg8;
9429 }
9430 {
9431 if (temp11)
9432 delete arg12;
9433 }
9434 return resultobj;
9435 fail:
9436 {
9437 if (temp4)
9438 delete arg4;
9439 }
9440 {
9441 if (arg8) delete [] arg8;
9442 }
9443 {
9444 if (temp11)
9445 delete arg12;
9446 }
9447 return NULL;
9448 }
9449
9450
9451 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9452 PyObject *resultobj;
9453 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9454 int arg2 ;
9455 PyObject * obj0 = 0 ;
9456 char *kwnames[] = {
9457 (char *) "self",(char *) "n", NULL
9458 };
9459
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9462 {
9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
9464 (arg1)->SetSelection(arg2);
9465
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 Py_INCREF(Py_None); resultobj = Py_None;
9470 return resultobj;
9471 fail:
9472 return NULL;
9473 }
9474
9475
9476 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9477 PyObject *resultobj;
9478 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9479 int result;
9480 PyObject * obj0 = 0 ;
9481 char *kwnames[] = {
9482 (char *) "self", NULL
9483 };
9484
9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9487 {
9488 PyThreadState* __tstate = wxPyBeginAllowThreads();
9489 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9490
9491 wxPyEndAllowThreads(__tstate);
9492 if (PyErr_Occurred()) SWIG_fail;
9493 }
9494 resultobj = PyInt_FromLong((long)result);
9495 return resultobj;
9496 fail:
9497 return NULL;
9498 }
9499
9500
9501 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9502 PyObject *resultobj;
9503 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9504 wxString result;
9505 PyObject * obj0 = 0 ;
9506 char *kwnames[] = {
9507 (char *) "self", NULL
9508 };
9509
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9512 {
9513 PyThreadState* __tstate = wxPyBeginAllowThreads();
9514 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9515
9516 wxPyEndAllowThreads(__tstate);
9517 if (PyErr_Occurred()) SWIG_fail;
9518 }
9519 {
9520 #if wxUSE_UNICODE
9521 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9522 #else
9523 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9524 #endif
9525 }
9526 return resultobj;
9527 fail:
9528 return NULL;
9529 }
9530
9531
9532 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9533 PyObject *resultobj;
9534 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9535 wxString *arg2 = 0 ;
9536 bool result;
9537 bool temp2 = False ;
9538 PyObject * obj0 = 0 ;
9539 PyObject * obj1 = 0 ;
9540 char *kwnames[] = {
9541 (char *) "self",(char *) "s", NULL
9542 };
9543
9544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9546 {
9547 arg2 = wxString_in_helper(obj1);
9548 if (arg2 == NULL) SWIG_fail;
9549 temp2 = True;
9550 }
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9554
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
9558 resultobj = PyInt_FromLong((long)result);
9559 {
9560 if (temp2)
9561 delete arg2;
9562 }
9563 return resultobj;
9564 fail:
9565 {
9566 if (temp2)
9567 delete arg2;
9568 }
9569 return NULL;
9570 }
9571
9572
9573 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9574 PyObject *resultobj;
9575 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9576 int result;
9577 PyObject * obj0 = 0 ;
9578 char *kwnames[] = {
9579 (char *) "self", NULL
9580 };
9581
9582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9584 {
9585 PyThreadState* __tstate = wxPyBeginAllowThreads();
9586 result = (int)((wxRadioBox const *)arg1)->GetCount();
9587
9588 wxPyEndAllowThreads(__tstate);
9589 if (PyErr_Occurred()) SWIG_fail;
9590 }
9591 resultobj = PyInt_FromLong((long)result);
9592 return resultobj;
9593 fail:
9594 return NULL;
9595 }
9596
9597
9598 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9599 PyObject *resultobj;
9600 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9601 wxString *arg2 = 0 ;
9602 int result;
9603 bool temp2 = False ;
9604 PyObject * obj0 = 0 ;
9605 PyObject * obj1 = 0 ;
9606 char *kwnames[] = {
9607 (char *) "self",(char *) "s", NULL
9608 };
9609
9610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9612 {
9613 arg2 = wxString_in_helper(obj1);
9614 if (arg2 == NULL) SWIG_fail;
9615 temp2 = True;
9616 }
9617 {
9618 PyThreadState* __tstate = wxPyBeginAllowThreads();
9619 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9620
9621 wxPyEndAllowThreads(__tstate);
9622 if (PyErr_Occurred()) SWIG_fail;
9623 }
9624 resultobj = PyInt_FromLong((long)result);
9625 {
9626 if (temp2)
9627 delete arg2;
9628 }
9629 return resultobj;
9630 fail:
9631 {
9632 if (temp2)
9633 delete arg2;
9634 }
9635 return NULL;
9636 }
9637
9638
9639 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9640 PyObject *resultobj;
9641 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9642 int arg2 ;
9643 wxString result;
9644 PyObject * obj0 = 0 ;
9645 char *kwnames[] = {
9646 (char *) "self",(char *) "n", NULL
9647 };
9648
9649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9651 {
9652 PyThreadState* __tstate = wxPyBeginAllowThreads();
9653 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9654
9655 wxPyEndAllowThreads(__tstate);
9656 if (PyErr_Occurred()) SWIG_fail;
9657 }
9658 {
9659 #if wxUSE_UNICODE
9660 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9661 #else
9662 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9663 #endif
9664 }
9665 return resultobj;
9666 fail:
9667 return NULL;
9668 }
9669
9670
9671 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9672 PyObject *resultobj;
9673 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9674 int arg2 ;
9675 wxString *arg3 = 0 ;
9676 bool temp3 = False ;
9677 PyObject * obj0 = 0 ;
9678 PyObject * obj2 = 0 ;
9679 char *kwnames[] = {
9680 (char *) "self",(char *) "n",(char *) "label", NULL
9681 };
9682
9683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9685 {
9686 arg3 = wxString_in_helper(obj2);
9687 if (arg3 == NULL) SWIG_fail;
9688 temp3 = True;
9689 }
9690 {
9691 PyThreadState* __tstate = wxPyBeginAllowThreads();
9692 (arg1)->SetString(arg2,(wxString const &)*arg3);
9693
9694 wxPyEndAllowThreads(__tstate);
9695 if (PyErr_Occurred()) SWIG_fail;
9696 }
9697 Py_INCREF(Py_None); resultobj = Py_None;
9698 {
9699 if (temp3)
9700 delete arg3;
9701 }
9702 return resultobj;
9703 fail:
9704 {
9705 if (temp3)
9706 delete arg3;
9707 }
9708 return NULL;
9709 }
9710
9711
9712 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9713 PyObject *resultobj;
9714 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9715 int arg2 ;
9716 bool arg3 = (bool) True ;
9717 PyObject * obj0 = 0 ;
9718 PyObject * obj2 = 0 ;
9719 char *kwnames[] = {
9720 (char *) "self",(char *) "n",(char *) "enable", NULL
9721 };
9722
9723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9725 if (obj2) {
9726 arg3 = PyInt_AsLong(obj2) ? true : false;
9727 if (PyErr_Occurred()) SWIG_fail;
9728 }
9729 {
9730 PyThreadState* __tstate = wxPyBeginAllowThreads();
9731 (arg1)->Enable(arg2,arg3);
9732
9733 wxPyEndAllowThreads(__tstate);
9734 if (PyErr_Occurred()) SWIG_fail;
9735 }
9736 Py_INCREF(Py_None); resultobj = Py_None;
9737 return resultobj;
9738 fail:
9739 return NULL;
9740 }
9741
9742
9743 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9744 PyObject *resultobj;
9745 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9746 int arg2 ;
9747 bool arg3 = (bool) True ;
9748 PyObject * obj0 = 0 ;
9749 PyObject * obj2 = 0 ;
9750 char *kwnames[] = {
9751 (char *) "self",(char *) "n",(char *) "show", NULL
9752 };
9753
9754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9756 if (obj2) {
9757 arg3 = PyInt_AsLong(obj2) ? true : false;
9758 if (PyErr_Occurred()) SWIG_fail;
9759 }
9760 {
9761 PyThreadState* __tstate = wxPyBeginAllowThreads();
9762 (arg1)->Show(arg2,arg3);
9763
9764 wxPyEndAllowThreads(__tstate);
9765 if (PyErr_Occurred()) SWIG_fail;
9766 }
9767 Py_INCREF(Py_None); resultobj = Py_None;
9768 return resultobj;
9769 fail:
9770 return NULL;
9771 }
9772
9773
9774 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9775 PyObject *resultobj;
9776 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9777 int result;
9778 PyObject * obj0 = 0 ;
9779 char *kwnames[] = {
9780 (char *) "self", NULL
9781 };
9782
9783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9785 {
9786 PyThreadState* __tstate = wxPyBeginAllowThreads();
9787 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
9788
9789 wxPyEndAllowThreads(__tstate);
9790 if (PyErr_Occurred()) SWIG_fail;
9791 }
9792 resultobj = PyInt_FromLong((long)result);
9793 return resultobj;
9794 fail:
9795 return NULL;
9796 }
9797
9798
9799 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9800 PyObject *resultobj;
9801 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9802 int result;
9803 PyObject * obj0 = 0 ;
9804 char *kwnames[] = {
9805 (char *) "self", NULL
9806 };
9807
9808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9810 {
9811 PyThreadState* __tstate = wxPyBeginAllowThreads();
9812 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
9813
9814 wxPyEndAllowThreads(__tstate);
9815 if (PyErr_Occurred()) SWIG_fail;
9816 }
9817 resultobj = PyInt_FromLong((long)result);
9818 return resultobj;
9819 fail:
9820 return NULL;
9821 }
9822
9823
9824 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9825 PyObject *resultobj;
9826 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9827 int arg2 ;
9828 int arg3 ;
9829 long arg4 ;
9830 int result;
9831 PyObject * obj0 = 0 ;
9832 char *kwnames[] = {
9833 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9834 };
9835
9836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9838 {
9839 PyThreadState* __tstate = wxPyBeginAllowThreads();
9840 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
9841
9842 wxPyEndAllowThreads(__tstate);
9843 if (PyErr_Occurred()) SWIG_fail;
9844 }
9845 resultobj = PyInt_FromLong((long)result);
9846 return resultobj;
9847 fail:
9848 return NULL;
9849 }
9850
9851
9852 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9853 PyObject *obj;
9854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9855 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9856 Py_INCREF(obj);
9857 return Py_BuildValue((char *)"");
9858 }
9859 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9860 PyObject *resultobj;
9861 wxWindow *arg1 = (wxWindow *) 0 ;
9862 int arg2 ;
9863 wxString *arg3 = 0 ;
9864 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9865 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9866 wxSize const &arg5_defvalue = wxDefaultSize ;
9867 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9868 long arg6 = (long) 0 ;
9869 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9870 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9871 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9872 wxString *arg8 = (wxString *) &arg8_defvalue ;
9873 wxRadioButton *result;
9874 bool temp3 = False ;
9875 wxPoint temp4 ;
9876 wxSize temp5 ;
9877 bool temp8 = False ;
9878 PyObject * obj0 = 0 ;
9879 PyObject * obj2 = 0 ;
9880 PyObject * obj3 = 0 ;
9881 PyObject * obj4 = 0 ;
9882 PyObject * obj6 = 0 ;
9883 PyObject * obj7 = 0 ;
9884 char *kwnames[] = {
9885 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9886 };
9887
9888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9890 {
9891 arg3 = wxString_in_helper(obj2);
9892 if (arg3 == NULL) SWIG_fail;
9893 temp3 = True;
9894 }
9895 if (obj3) {
9896 {
9897 arg4 = &temp4;
9898 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9899 }
9900 }
9901 if (obj4) {
9902 {
9903 arg5 = &temp5;
9904 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9905 }
9906 }
9907 if (obj6) {
9908 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9909 if (arg7 == NULL) {
9910 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9911 }
9912 }
9913 if (obj7) {
9914 {
9915 arg8 = wxString_in_helper(obj7);
9916 if (arg8 == NULL) SWIG_fail;
9917 temp8 = True;
9918 }
9919 }
9920 {
9921 PyThreadState* __tstate = wxPyBeginAllowThreads();
9922 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9923
9924 wxPyEndAllowThreads(__tstate);
9925 if (PyErr_Occurred()) SWIG_fail;
9926 }
9927 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9928 {
9929 if (temp3)
9930 delete arg3;
9931 }
9932 {
9933 if (temp8)
9934 delete arg8;
9935 }
9936 return resultobj;
9937 fail:
9938 {
9939 if (temp3)
9940 delete arg3;
9941 }
9942 {
9943 if (temp8)
9944 delete arg8;
9945 }
9946 return NULL;
9947 }
9948
9949
9950 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9951 PyObject *resultobj;
9952 wxRadioButton *result;
9953 char *kwnames[] = {
9954 NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9958 {
9959 PyThreadState* __tstate = wxPyBeginAllowThreads();
9960 result = (wxRadioButton *)new wxRadioButton();
9961
9962 wxPyEndAllowThreads(__tstate);
9963 if (PyErr_Occurred()) SWIG_fail;
9964 }
9965 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9966 return resultobj;
9967 fail:
9968 return NULL;
9969 }
9970
9971
9972 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9973 PyObject *resultobj;
9974 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9975 wxWindow *arg2 = (wxWindow *) 0 ;
9976 int arg3 ;
9977 wxString *arg4 = 0 ;
9978 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9979 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9980 wxSize const &arg6_defvalue = wxDefaultSize ;
9981 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9982 long arg7 = (long) 0 ;
9983 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9984 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9985 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
9986 wxString *arg9 = (wxString *) &arg9_defvalue ;
9987 bool result;
9988 bool temp4 = False ;
9989 wxPoint temp5 ;
9990 wxSize temp6 ;
9991 bool temp9 = False ;
9992 PyObject * obj0 = 0 ;
9993 PyObject * obj1 = 0 ;
9994 PyObject * obj3 = 0 ;
9995 PyObject * obj4 = 0 ;
9996 PyObject * obj5 = 0 ;
9997 PyObject * obj7 = 0 ;
9998 PyObject * obj8 = 0 ;
9999 char *kwnames[] = {
10000 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10001 };
10002
10003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10006 {
10007 arg4 = wxString_in_helper(obj3);
10008 if (arg4 == NULL) SWIG_fail;
10009 temp4 = True;
10010 }
10011 if (obj4) {
10012 {
10013 arg5 = &temp5;
10014 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10015 }
10016 }
10017 if (obj5) {
10018 {
10019 arg6 = &temp6;
10020 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10021 }
10022 }
10023 if (obj7) {
10024 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10025 if (arg8 == NULL) {
10026 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10027 }
10028 }
10029 if (obj8) {
10030 {
10031 arg9 = wxString_in_helper(obj8);
10032 if (arg9 == NULL) SWIG_fail;
10033 temp9 = True;
10034 }
10035 }
10036 {
10037 PyThreadState* __tstate = wxPyBeginAllowThreads();
10038 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10039
10040 wxPyEndAllowThreads(__tstate);
10041 if (PyErr_Occurred()) SWIG_fail;
10042 }
10043 resultobj = PyInt_FromLong((long)result);
10044 {
10045 if (temp4)
10046 delete arg4;
10047 }
10048 {
10049 if (temp9)
10050 delete arg9;
10051 }
10052 return resultobj;
10053 fail:
10054 {
10055 if (temp4)
10056 delete arg4;
10057 }
10058 {
10059 if (temp9)
10060 delete arg9;
10061 }
10062 return NULL;
10063 }
10064
10065
10066 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10067 PyObject *resultobj;
10068 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10069 bool result;
10070 PyObject * obj0 = 0 ;
10071 char *kwnames[] = {
10072 (char *) "self", NULL
10073 };
10074
10075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10077 {
10078 PyThreadState* __tstate = wxPyBeginAllowThreads();
10079 result = (bool)(arg1)->GetValue();
10080
10081 wxPyEndAllowThreads(__tstate);
10082 if (PyErr_Occurred()) SWIG_fail;
10083 }
10084 resultobj = PyInt_FromLong((long)result);
10085 return resultobj;
10086 fail:
10087 return NULL;
10088 }
10089
10090
10091 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10094 bool arg2 ;
10095 PyObject * obj0 = 0 ;
10096 PyObject * obj1 = 0 ;
10097 char *kwnames[] = {
10098 (char *) "self",(char *) "value", NULL
10099 };
10100
10101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10103 arg2 = PyInt_AsLong(obj1) ? true : false;
10104 if (PyErr_Occurred()) SWIG_fail;
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 (arg1)->SetValue(arg2);
10108
10109 wxPyEndAllowThreads(__tstate);
10110 if (PyErr_Occurred()) SWIG_fail;
10111 }
10112 Py_INCREF(Py_None); resultobj = Py_None;
10113 return resultobj;
10114 fail:
10115 return NULL;
10116 }
10117
10118
10119 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10120 PyObject *obj;
10121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10122 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10123 Py_INCREF(obj);
10124 return Py_BuildValue((char *)"");
10125 }
10126 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10127 PyObject *resultobj;
10128 wxWindow *arg1 = (wxWindow *) 0 ;
10129 int arg2 ;
10130 int arg3 ;
10131 int arg4 ;
10132 int arg5 ;
10133 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10134 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10135 wxSize const &arg7_defvalue = wxDefaultSize ;
10136 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10137 long arg8 = (long) wxSL_HORIZONTAL ;
10138 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10139 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10140 wxString const &arg10_defvalue = wxPySliderNameStr ;
10141 wxString *arg10 = (wxString *) &arg10_defvalue ;
10142 wxSlider *result;
10143 wxPoint temp6 ;
10144 wxSize temp7 ;
10145 bool temp10 = False ;
10146 PyObject * obj0 = 0 ;
10147 PyObject * obj5 = 0 ;
10148 PyObject * obj6 = 0 ;
10149 PyObject * obj8 = 0 ;
10150 PyObject * obj9 = 0 ;
10151 char *kwnames[] = {
10152 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10153 };
10154
10155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10157 if (obj5) {
10158 {
10159 arg6 = &temp6;
10160 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10161 }
10162 }
10163 if (obj6) {
10164 {
10165 arg7 = &temp7;
10166 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10167 }
10168 }
10169 if (obj8) {
10170 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10171 if (arg9 == NULL) {
10172 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10173 }
10174 }
10175 if (obj9) {
10176 {
10177 arg10 = wxString_in_helper(obj9);
10178 if (arg10 == NULL) SWIG_fail;
10179 temp10 = True;
10180 }
10181 }
10182 {
10183 PyThreadState* __tstate = wxPyBeginAllowThreads();
10184 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10185
10186 wxPyEndAllowThreads(__tstate);
10187 if (PyErr_Occurred()) SWIG_fail;
10188 }
10189 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10190 {
10191 if (temp10)
10192 delete arg10;
10193 }
10194 return resultobj;
10195 fail:
10196 {
10197 if (temp10)
10198 delete arg10;
10199 }
10200 return NULL;
10201 }
10202
10203
10204 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10205 PyObject *resultobj;
10206 wxSlider *result;
10207 char *kwnames[] = {
10208 NULL
10209 };
10210
10211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10212 {
10213 PyThreadState* __tstate = wxPyBeginAllowThreads();
10214 result = (wxSlider *)new wxSlider();
10215
10216 wxPyEndAllowThreads(__tstate);
10217 if (PyErr_Occurred()) SWIG_fail;
10218 }
10219 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10220 return resultobj;
10221 fail:
10222 return NULL;
10223 }
10224
10225
10226 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10227 PyObject *resultobj;
10228 wxSlider *arg1 = (wxSlider *) 0 ;
10229 wxWindow *arg2 = (wxWindow *) 0 ;
10230 int arg3 ;
10231 int arg4 ;
10232 int arg5 ;
10233 int arg6 ;
10234 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10235 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10236 wxSize const &arg8_defvalue = wxDefaultSize ;
10237 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10238 long arg9 = (long) wxSL_HORIZONTAL ;
10239 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10240 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10241 wxString const &arg11_defvalue = wxPySliderNameStr ;
10242 wxString *arg11 = (wxString *) &arg11_defvalue ;
10243 bool result;
10244 wxPoint temp7 ;
10245 wxSize temp8 ;
10246 bool temp11 = False ;
10247 PyObject * obj0 = 0 ;
10248 PyObject * obj1 = 0 ;
10249 PyObject * obj6 = 0 ;
10250 PyObject * obj7 = 0 ;
10251 PyObject * obj9 = 0 ;
10252 PyObject * obj10 = 0 ;
10253 char *kwnames[] = {
10254 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10255 };
10256
10257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10260 if (obj6) {
10261 {
10262 arg7 = &temp7;
10263 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10264 }
10265 }
10266 if (obj7) {
10267 {
10268 arg8 = &temp8;
10269 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10270 }
10271 }
10272 if (obj9) {
10273 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10274 if (arg10 == NULL) {
10275 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10276 }
10277 }
10278 if (obj10) {
10279 {
10280 arg11 = wxString_in_helper(obj10);
10281 if (arg11 == NULL) SWIG_fail;
10282 temp11 = True;
10283 }
10284 }
10285 {
10286 PyThreadState* __tstate = wxPyBeginAllowThreads();
10287 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10288
10289 wxPyEndAllowThreads(__tstate);
10290 if (PyErr_Occurred()) SWIG_fail;
10291 }
10292 resultobj = PyInt_FromLong((long)result);
10293 {
10294 if (temp11)
10295 delete arg11;
10296 }
10297 return resultobj;
10298 fail:
10299 {
10300 if (temp11)
10301 delete arg11;
10302 }
10303 return NULL;
10304 }
10305
10306
10307 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10308 PyObject *resultobj;
10309 wxSlider *arg1 = (wxSlider *) 0 ;
10310 int result;
10311 PyObject * obj0 = 0 ;
10312 char *kwnames[] = {
10313 (char *) "self", NULL
10314 };
10315
10316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10318 {
10319 PyThreadState* __tstate = wxPyBeginAllowThreads();
10320 result = (int)((wxSlider const *)arg1)->GetValue();
10321
10322 wxPyEndAllowThreads(__tstate);
10323 if (PyErr_Occurred()) SWIG_fail;
10324 }
10325 resultobj = PyInt_FromLong((long)result);
10326 return resultobj;
10327 fail:
10328 return NULL;
10329 }
10330
10331
10332 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10333 PyObject *resultobj;
10334 wxSlider *arg1 = (wxSlider *) 0 ;
10335 int arg2 ;
10336 PyObject * obj0 = 0 ;
10337 char *kwnames[] = {
10338 (char *) "self",(char *) "value", NULL
10339 };
10340
10341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10343 {
10344 PyThreadState* __tstate = wxPyBeginAllowThreads();
10345 (arg1)->SetValue(arg2);
10346
10347 wxPyEndAllowThreads(__tstate);
10348 if (PyErr_Occurred()) SWIG_fail;
10349 }
10350 Py_INCREF(Py_None); resultobj = Py_None;
10351 return resultobj;
10352 fail:
10353 return NULL;
10354 }
10355
10356
10357 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10358 PyObject *resultobj;
10359 wxSlider *arg1 = (wxSlider *) 0 ;
10360 int arg2 ;
10361 int arg3 ;
10362 PyObject * obj0 = 0 ;
10363 char *kwnames[] = {
10364 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10365 };
10366
10367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10369 {
10370 PyThreadState* __tstate = wxPyBeginAllowThreads();
10371 (arg1)->SetRange(arg2,arg3);
10372
10373 wxPyEndAllowThreads(__tstate);
10374 if (PyErr_Occurred()) SWIG_fail;
10375 }
10376 Py_INCREF(Py_None); resultobj = Py_None;
10377 return resultobj;
10378 fail:
10379 return NULL;
10380 }
10381
10382
10383 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10384 PyObject *resultobj;
10385 wxSlider *arg1 = (wxSlider *) 0 ;
10386 int result;
10387 PyObject * obj0 = 0 ;
10388 char *kwnames[] = {
10389 (char *) "self", NULL
10390 };
10391
10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10394 {
10395 PyThreadState* __tstate = wxPyBeginAllowThreads();
10396 result = (int)((wxSlider const *)arg1)->GetMin();
10397
10398 wxPyEndAllowThreads(__tstate);
10399 if (PyErr_Occurred()) SWIG_fail;
10400 }
10401 resultobj = PyInt_FromLong((long)result);
10402 return resultobj;
10403 fail:
10404 return NULL;
10405 }
10406
10407
10408 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10409 PyObject *resultobj;
10410 wxSlider *arg1 = (wxSlider *) 0 ;
10411 int result;
10412 PyObject * obj0 = 0 ;
10413 char *kwnames[] = {
10414 (char *) "self", NULL
10415 };
10416
10417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10419 {
10420 PyThreadState* __tstate = wxPyBeginAllowThreads();
10421 result = (int)((wxSlider const *)arg1)->GetMax();
10422
10423 wxPyEndAllowThreads(__tstate);
10424 if (PyErr_Occurred()) SWIG_fail;
10425 }
10426 resultobj = PyInt_FromLong((long)result);
10427 return resultobj;
10428 fail:
10429 return NULL;
10430 }
10431
10432
10433 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10434 PyObject *resultobj;
10435 wxSlider *arg1 = (wxSlider *) 0 ;
10436 int arg2 ;
10437 PyObject * obj0 = 0 ;
10438 char *kwnames[] = {
10439 (char *) "self",(char *) "minValue", NULL
10440 };
10441
10442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 (arg1)->SetMin(arg2);
10447
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 Py_INCREF(Py_None); resultobj = Py_None;
10452 return resultobj;
10453 fail:
10454 return NULL;
10455 }
10456
10457
10458 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj;
10460 wxSlider *arg1 = (wxSlider *) 0 ;
10461 int arg2 ;
10462 PyObject * obj0 = 0 ;
10463 char *kwnames[] = {
10464 (char *) "self",(char *) "maxValue", NULL
10465 };
10466
10467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 (arg1)->SetMax(arg2);
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 Py_INCREF(Py_None); resultobj = Py_None;
10477 return resultobj;
10478 fail:
10479 return NULL;
10480 }
10481
10482
10483 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxSlider *arg1 = (wxSlider *) 0 ;
10486 int arg2 ;
10487 PyObject * obj0 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self",(char *) "lineSize", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10494 {
10495 PyThreadState* __tstate = wxPyBeginAllowThreads();
10496 (arg1)->SetLineSize(arg2);
10497
10498 wxPyEndAllowThreads(__tstate);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 }
10501 Py_INCREF(Py_None); resultobj = Py_None;
10502 return resultobj;
10503 fail:
10504 return NULL;
10505 }
10506
10507
10508 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10509 PyObject *resultobj;
10510 wxSlider *arg1 = (wxSlider *) 0 ;
10511 int arg2 ;
10512 PyObject * obj0 = 0 ;
10513 char *kwnames[] = {
10514 (char *) "self",(char *) "pageSize", NULL
10515 };
10516
10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10519 {
10520 PyThreadState* __tstate = wxPyBeginAllowThreads();
10521 (arg1)->SetPageSize(arg2);
10522
10523 wxPyEndAllowThreads(__tstate);
10524 if (PyErr_Occurred()) SWIG_fail;
10525 }
10526 Py_INCREF(Py_None); resultobj = Py_None;
10527 return resultobj;
10528 fail:
10529 return NULL;
10530 }
10531
10532
10533 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10534 PyObject *resultobj;
10535 wxSlider *arg1 = (wxSlider *) 0 ;
10536 int result;
10537 PyObject * obj0 = 0 ;
10538 char *kwnames[] = {
10539 (char *) "self", NULL
10540 };
10541
10542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 result = (int)((wxSlider const *)arg1)->GetLineSize();
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 resultobj = PyInt_FromLong((long)result);
10552 return resultobj;
10553 fail:
10554 return NULL;
10555 }
10556
10557
10558 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10559 PyObject *resultobj;
10560 wxSlider *arg1 = (wxSlider *) 0 ;
10561 int result;
10562 PyObject * obj0 = 0 ;
10563 char *kwnames[] = {
10564 (char *) "self", NULL
10565 };
10566
10567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10569 {
10570 PyThreadState* __tstate = wxPyBeginAllowThreads();
10571 result = (int)((wxSlider const *)arg1)->GetPageSize();
10572
10573 wxPyEndAllowThreads(__tstate);
10574 if (PyErr_Occurred()) SWIG_fail;
10575 }
10576 resultobj = PyInt_FromLong((long)result);
10577 return resultobj;
10578 fail:
10579 return NULL;
10580 }
10581
10582
10583 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10584 PyObject *resultobj;
10585 wxSlider *arg1 = (wxSlider *) 0 ;
10586 int arg2 ;
10587 PyObject * obj0 = 0 ;
10588 char *kwnames[] = {
10589 (char *) "self",(char *) "lenPixels", NULL
10590 };
10591
10592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10594 {
10595 PyThreadState* __tstate = wxPyBeginAllowThreads();
10596 (arg1)->SetThumbLength(arg2);
10597
10598 wxPyEndAllowThreads(__tstate);
10599 if (PyErr_Occurred()) SWIG_fail;
10600 }
10601 Py_INCREF(Py_None); resultobj = Py_None;
10602 return resultobj;
10603 fail:
10604 return NULL;
10605 }
10606
10607
10608 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10609 PyObject *resultobj;
10610 wxSlider *arg1 = (wxSlider *) 0 ;
10611 int result;
10612 PyObject * obj0 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "self", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10619 {
10620 PyThreadState* __tstate = wxPyBeginAllowThreads();
10621 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10622
10623 wxPyEndAllowThreads(__tstate);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 resultobj = PyInt_FromLong((long)result);
10627 return resultobj;
10628 fail:
10629 return NULL;
10630 }
10631
10632
10633 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10634 PyObject *resultobj;
10635 wxSlider *arg1 = (wxSlider *) 0 ;
10636 int arg2 ;
10637 int arg3 ;
10638 PyObject * obj0 = 0 ;
10639 char *kwnames[] = {
10640 (char *) "self",(char *) "n",(char *) "pos", NULL
10641 };
10642
10643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 (arg1)->SetTickFreq(arg2,arg3);
10648
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 Py_INCREF(Py_None); resultobj = Py_None;
10653 return resultobj;
10654 fail:
10655 return NULL;
10656 }
10657
10658
10659 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10660 PyObject *resultobj;
10661 wxSlider *arg1 = (wxSlider *) 0 ;
10662 int result;
10663 PyObject * obj0 = 0 ;
10664 char *kwnames[] = {
10665 (char *) "self", NULL
10666 };
10667
10668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10670 {
10671 PyThreadState* __tstate = wxPyBeginAllowThreads();
10672 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10673
10674 wxPyEndAllowThreads(__tstate);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 }
10677 resultobj = PyInt_FromLong((long)result);
10678 return resultobj;
10679 fail:
10680 return NULL;
10681 }
10682
10683
10684 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10685 PyObject *resultobj;
10686 wxSlider *arg1 = (wxSlider *) 0 ;
10687 PyObject * obj0 = 0 ;
10688 char *kwnames[] = {
10689 (char *) "self", NULL
10690 };
10691
10692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10694 {
10695 PyThreadState* __tstate = wxPyBeginAllowThreads();
10696 (arg1)->ClearTicks();
10697
10698 wxPyEndAllowThreads(__tstate);
10699 if (PyErr_Occurred()) SWIG_fail;
10700 }
10701 Py_INCREF(Py_None); resultobj = Py_None;
10702 return resultobj;
10703 fail:
10704 return NULL;
10705 }
10706
10707
10708 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10709 PyObject *resultobj;
10710 wxSlider *arg1 = (wxSlider *) 0 ;
10711 int arg2 ;
10712 PyObject * obj0 = 0 ;
10713 char *kwnames[] = {
10714 (char *) "self",(char *) "tickPos", NULL
10715 };
10716
10717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10719 {
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 (arg1)->SetTick(arg2);
10722
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 Py_INCREF(Py_None); resultobj = Py_None;
10727 return resultobj;
10728 fail:
10729 return NULL;
10730 }
10731
10732
10733 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10734 PyObject *resultobj;
10735 wxSlider *arg1 = (wxSlider *) 0 ;
10736 PyObject * obj0 = 0 ;
10737 char *kwnames[] = {
10738 (char *) "self", NULL
10739 };
10740
10741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10743 {
10744 PyThreadState* __tstate = wxPyBeginAllowThreads();
10745 (arg1)->ClearSel();
10746
10747 wxPyEndAllowThreads(__tstate);
10748 if (PyErr_Occurred()) SWIG_fail;
10749 }
10750 Py_INCREF(Py_None); resultobj = Py_None;
10751 return resultobj;
10752 fail:
10753 return NULL;
10754 }
10755
10756
10757 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10758 PyObject *resultobj;
10759 wxSlider *arg1 = (wxSlider *) 0 ;
10760 int result;
10761 PyObject * obj0 = 0 ;
10762 char *kwnames[] = {
10763 (char *) "self", NULL
10764 };
10765
10766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10768 {
10769 PyThreadState* __tstate = wxPyBeginAllowThreads();
10770 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10771
10772 wxPyEndAllowThreads(__tstate);
10773 if (PyErr_Occurred()) SWIG_fail;
10774 }
10775 resultobj = PyInt_FromLong((long)result);
10776 return resultobj;
10777 fail:
10778 return NULL;
10779 }
10780
10781
10782 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10783 PyObject *resultobj;
10784 wxSlider *arg1 = (wxSlider *) 0 ;
10785 int result;
10786 PyObject * obj0 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "self", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10793 {
10794 PyThreadState* __tstate = wxPyBeginAllowThreads();
10795 result = (int)((wxSlider const *)arg1)->GetSelStart();
10796
10797 wxPyEndAllowThreads(__tstate);
10798 if (PyErr_Occurred()) SWIG_fail;
10799 }
10800 resultobj = PyInt_FromLong((long)result);
10801 return resultobj;
10802 fail:
10803 return NULL;
10804 }
10805
10806
10807 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10808 PyObject *resultobj;
10809 wxSlider *arg1 = (wxSlider *) 0 ;
10810 int arg2 ;
10811 int arg3 ;
10812 PyObject * obj0 = 0 ;
10813 char *kwnames[] = {
10814 (char *) "self",(char *) "min",(char *) "max", NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 (arg1)->SetSelection(arg2,arg3);
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 Py_INCREF(Py_None); resultobj = Py_None;
10827 return resultobj;
10828 fail:
10829 return NULL;
10830 }
10831
10832
10833 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10834 PyObject *obj;
10835 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10836 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10837 Py_INCREF(obj);
10838 return Py_BuildValue((char *)"");
10839 }
10840 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10841 PyObject *resultobj;
10842 wxWindow *arg1 = (wxWindow *) 0 ;
10843 int arg2 ;
10844 wxString *arg3 = 0 ;
10845 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10846 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10847 wxSize const &arg5_defvalue = wxDefaultSize ;
10848 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10849 long arg6 = (long) 0 ;
10850 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10851 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10852 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10853 wxString *arg8 = (wxString *) &arg8_defvalue ;
10854 wxToggleButton *result;
10855 bool temp3 = False ;
10856 wxPoint temp4 ;
10857 wxSize temp5 ;
10858 bool temp8 = False ;
10859 PyObject * obj0 = 0 ;
10860 PyObject * obj2 = 0 ;
10861 PyObject * obj3 = 0 ;
10862 PyObject * obj4 = 0 ;
10863 PyObject * obj6 = 0 ;
10864 PyObject * obj7 = 0 ;
10865 char *kwnames[] = {
10866 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10867 };
10868
10869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10871 {
10872 arg3 = wxString_in_helper(obj2);
10873 if (arg3 == NULL) SWIG_fail;
10874 temp3 = True;
10875 }
10876 if (obj3) {
10877 {
10878 arg4 = &temp4;
10879 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10880 }
10881 }
10882 if (obj4) {
10883 {
10884 arg5 = &temp5;
10885 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10886 }
10887 }
10888 if (obj6) {
10889 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10890 if (arg7 == NULL) {
10891 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10892 }
10893 }
10894 if (obj7) {
10895 {
10896 arg8 = wxString_in_helper(obj7);
10897 if (arg8 == NULL) SWIG_fail;
10898 temp8 = True;
10899 }
10900 }
10901 {
10902 PyThreadState* __tstate = wxPyBeginAllowThreads();
10903 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10904
10905 wxPyEndAllowThreads(__tstate);
10906 if (PyErr_Occurred()) SWIG_fail;
10907 }
10908 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10909 {
10910 if (temp3)
10911 delete arg3;
10912 }
10913 {
10914 if (temp8)
10915 delete arg8;
10916 }
10917 return resultobj;
10918 fail:
10919 {
10920 if (temp3)
10921 delete arg3;
10922 }
10923 {
10924 if (temp8)
10925 delete arg8;
10926 }
10927 return NULL;
10928 }
10929
10930
10931 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10932 PyObject *resultobj;
10933 wxToggleButton *result;
10934 char *kwnames[] = {
10935 NULL
10936 };
10937
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10939 {
10940 PyThreadState* __tstate = wxPyBeginAllowThreads();
10941 result = (wxToggleButton *)new wxToggleButton();
10942
10943 wxPyEndAllowThreads(__tstate);
10944 if (PyErr_Occurred()) SWIG_fail;
10945 }
10946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10947 return resultobj;
10948 fail:
10949 return NULL;
10950 }
10951
10952
10953 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10954 PyObject *resultobj;
10955 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10956 wxWindow *arg2 = (wxWindow *) 0 ;
10957 int arg3 ;
10958 wxString *arg4 = 0 ;
10959 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10960 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10961 wxSize const &arg6_defvalue = wxDefaultSize ;
10962 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10963 long arg7 = (long) 0 ;
10964 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10965 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10966 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
10967 wxString *arg9 = (wxString *) &arg9_defvalue ;
10968 bool result;
10969 bool temp4 = False ;
10970 wxPoint temp5 ;
10971 wxSize temp6 ;
10972 bool temp9 = False ;
10973 PyObject * obj0 = 0 ;
10974 PyObject * obj1 = 0 ;
10975 PyObject * obj3 = 0 ;
10976 PyObject * obj4 = 0 ;
10977 PyObject * obj5 = 0 ;
10978 PyObject * obj7 = 0 ;
10979 PyObject * obj8 = 0 ;
10980 char *kwnames[] = {
10981 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10982 };
10983
10984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10986 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10987 {
10988 arg4 = wxString_in_helper(obj3);
10989 if (arg4 == NULL) SWIG_fail;
10990 temp4 = True;
10991 }
10992 if (obj4) {
10993 {
10994 arg5 = &temp5;
10995 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10996 }
10997 }
10998 if (obj5) {
10999 {
11000 arg6 = &temp6;
11001 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11002 }
11003 }
11004 if (obj7) {
11005 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11006 if (arg8 == NULL) {
11007 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11008 }
11009 }
11010 if (obj8) {
11011 {
11012 arg9 = wxString_in_helper(obj8);
11013 if (arg9 == NULL) SWIG_fail;
11014 temp9 = True;
11015 }
11016 }
11017 {
11018 PyThreadState* __tstate = wxPyBeginAllowThreads();
11019 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11020
11021 wxPyEndAllowThreads(__tstate);
11022 if (PyErr_Occurred()) SWIG_fail;
11023 }
11024 resultobj = PyInt_FromLong((long)result);
11025 {
11026 if (temp4)
11027 delete arg4;
11028 }
11029 {
11030 if (temp9)
11031 delete arg9;
11032 }
11033 return resultobj;
11034 fail:
11035 {
11036 if (temp4)
11037 delete arg4;
11038 }
11039 {
11040 if (temp9)
11041 delete arg9;
11042 }
11043 return NULL;
11044 }
11045
11046
11047 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11048 PyObject *resultobj;
11049 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11050 bool arg2 ;
11051 PyObject * obj0 = 0 ;
11052 PyObject * obj1 = 0 ;
11053 char *kwnames[] = {
11054 (char *) "self",(char *) "value", NULL
11055 };
11056
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11059 arg2 = PyInt_AsLong(obj1) ? true : false;
11060 if (PyErr_Occurred()) SWIG_fail;
11061 {
11062 PyThreadState* __tstate = wxPyBeginAllowThreads();
11063 (arg1)->SetValue(arg2);
11064
11065 wxPyEndAllowThreads(__tstate);
11066 if (PyErr_Occurred()) SWIG_fail;
11067 }
11068 Py_INCREF(Py_None); resultobj = Py_None;
11069 return resultobj;
11070 fail:
11071 return NULL;
11072 }
11073
11074
11075 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11076 PyObject *resultobj;
11077 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11078 bool result;
11079 PyObject * obj0 = 0 ;
11080 char *kwnames[] = {
11081 (char *) "self", NULL
11082 };
11083
11084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
11085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11086 {
11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
11088 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11089
11090 wxPyEndAllowThreads(__tstate);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 resultobj = PyInt_FromLong((long)result);
11094 return resultobj;
11095 fail:
11096 return NULL;
11097 }
11098
11099
11100 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11101 PyObject *resultobj;
11102 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11103 wxString *arg2 = 0 ;
11104 bool temp2 = False ;
11105 PyObject * obj0 = 0 ;
11106 PyObject * obj1 = 0 ;
11107 char *kwnames[] = {
11108 (char *) "self",(char *) "label", NULL
11109 };
11110
11111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11113 {
11114 arg2 = wxString_in_helper(obj1);
11115 if (arg2 == NULL) SWIG_fail;
11116 temp2 = True;
11117 }
11118 {
11119 PyThreadState* __tstate = wxPyBeginAllowThreads();
11120 (arg1)->SetLabel((wxString const &)*arg2);
11121
11122 wxPyEndAllowThreads(__tstate);
11123 if (PyErr_Occurred()) SWIG_fail;
11124 }
11125 Py_INCREF(Py_None); resultobj = Py_None;
11126 {
11127 if (temp2)
11128 delete arg2;
11129 }
11130 return resultobj;
11131 fail:
11132 {
11133 if (temp2)
11134 delete arg2;
11135 }
11136 return NULL;
11137 }
11138
11139
11140 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11141 PyObject *obj;
11142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11143 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11144 Py_INCREF(obj);
11145 return Py_BuildValue((char *)"");
11146 }
11147 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11148 PyObject *resultobj;
11149 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11150 size_t result;
11151 PyObject * obj0 = 0 ;
11152 char *kwnames[] = {
11153 (char *) "self", NULL
11154 };
11155
11156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11158 {
11159 PyThreadState* __tstate = wxPyBeginAllowThreads();
11160 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11161
11162 wxPyEndAllowThreads(__tstate);
11163 if (PyErr_Occurred()) SWIG_fail;
11164 }
11165 resultobj = PyInt_FromLong((long)result);
11166 return resultobj;
11167 fail:
11168 return NULL;
11169 }
11170
11171
11172 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11173 PyObject *resultobj;
11174 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11175 size_t arg2 ;
11176 wxWindow *result;
11177 PyObject * obj0 = 0 ;
11178 PyObject * obj1 = 0 ;
11179 char *kwnames[] = {
11180 (char *) "self",(char *) "n", NULL
11181 };
11182
11183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11185 arg2 = (size_t) PyInt_AsLong(obj1);
11186 if (PyErr_Occurred()) SWIG_fail;
11187 {
11188 PyThreadState* __tstate = wxPyBeginAllowThreads();
11189 result = (wxWindow *)(arg1)->GetPage(arg2);
11190
11191 wxPyEndAllowThreads(__tstate);
11192 if (PyErr_Occurred()) SWIG_fail;
11193 }
11194 {
11195 resultobj = wxPyMake_wxObject(result);
11196 }
11197 return resultobj;
11198 fail:
11199 return NULL;
11200 }
11201
11202
11203 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11204 PyObject *resultobj;
11205 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11206 int result;
11207 PyObject * obj0 = 0 ;
11208 char *kwnames[] = {
11209 (char *) "self", NULL
11210 };
11211
11212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11214 {
11215 PyThreadState* __tstate = wxPyBeginAllowThreads();
11216 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11217
11218 wxPyEndAllowThreads(__tstate);
11219 if (PyErr_Occurred()) SWIG_fail;
11220 }
11221 resultobj = PyInt_FromLong((long)result);
11222 return resultobj;
11223 fail:
11224 return NULL;
11225 }
11226
11227
11228 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11229 PyObject *resultobj;
11230 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11231 size_t arg2 ;
11232 wxString *arg3 = 0 ;
11233 bool result;
11234 bool temp3 = False ;
11235 PyObject * obj0 = 0 ;
11236 PyObject * obj1 = 0 ;
11237 PyObject * obj2 = 0 ;
11238 char *kwnames[] = {
11239 (char *) "self",(char *) "n",(char *) "strText", NULL
11240 };
11241
11242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11244 arg2 = (size_t) PyInt_AsLong(obj1);
11245 if (PyErr_Occurred()) SWIG_fail;
11246 {
11247 arg3 = wxString_in_helper(obj2);
11248 if (arg3 == NULL) SWIG_fail;
11249 temp3 = True;
11250 }
11251 {
11252 PyThreadState* __tstate = wxPyBeginAllowThreads();
11253 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11254
11255 wxPyEndAllowThreads(__tstate);
11256 if (PyErr_Occurred()) SWIG_fail;
11257 }
11258 resultobj = PyInt_FromLong((long)result);
11259 {
11260 if (temp3)
11261 delete arg3;
11262 }
11263 return resultobj;
11264 fail:
11265 {
11266 if (temp3)
11267 delete arg3;
11268 }
11269 return NULL;
11270 }
11271
11272
11273 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11274 PyObject *resultobj;
11275 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11276 size_t arg2 ;
11277 wxString result;
11278 PyObject * obj0 = 0 ;
11279 PyObject * obj1 = 0 ;
11280 char *kwnames[] = {
11281 (char *) "self",(char *) "n", NULL
11282 };
11283
11284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11286 arg2 = (size_t) PyInt_AsLong(obj1);
11287 if (PyErr_Occurred()) SWIG_fail;
11288 {
11289 PyThreadState* __tstate = wxPyBeginAllowThreads();
11290 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11291
11292 wxPyEndAllowThreads(__tstate);
11293 if (PyErr_Occurred()) SWIG_fail;
11294 }
11295 {
11296 #if wxUSE_UNICODE
11297 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11298 #else
11299 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11300 #endif
11301 }
11302 return resultobj;
11303 fail:
11304 return NULL;
11305 }
11306
11307
11308 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11309 PyObject *resultobj;
11310 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11311 wxImageList *arg2 = (wxImageList *) 0 ;
11312 PyObject * obj0 = 0 ;
11313 PyObject * obj1 = 0 ;
11314 char *kwnames[] = {
11315 (char *) "self",(char *) "imageList", NULL
11316 };
11317
11318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11320 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11321 {
11322 PyThreadState* __tstate = wxPyBeginAllowThreads();
11323 (arg1)->SetImageList(arg2);
11324
11325 wxPyEndAllowThreads(__tstate);
11326 if (PyErr_Occurred()) SWIG_fail;
11327 }
11328 Py_INCREF(Py_None); resultobj = Py_None;
11329 return resultobj;
11330 fail:
11331 return NULL;
11332 }
11333
11334
11335 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11336 PyObject *resultobj;
11337 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11338 wxImageList *arg2 = (wxImageList *) 0 ;
11339 PyObject * obj0 = 0 ;
11340 PyObject * obj1 = 0 ;
11341 char *kwnames[] = {
11342 (char *) "self",(char *) "imageList", NULL
11343 };
11344
11345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11347 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11348 {
11349 PyThreadState* __tstate = wxPyBeginAllowThreads();
11350 (arg1)->AssignImageList(arg2);
11351
11352 wxPyEndAllowThreads(__tstate);
11353 if (PyErr_Occurred()) SWIG_fail;
11354 }
11355 Py_INCREF(Py_None); resultobj = Py_None;
11356 return resultobj;
11357 fail:
11358 return NULL;
11359 }
11360
11361
11362 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11363 PyObject *resultobj;
11364 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11365 wxImageList *result;
11366 PyObject * obj0 = 0 ;
11367 char *kwnames[] = {
11368 (char *) "self", NULL
11369 };
11370
11371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11373 {
11374 PyThreadState* __tstate = wxPyBeginAllowThreads();
11375 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11376
11377 wxPyEndAllowThreads(__tstate);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 }
11380 {
11381 resultobj = wxPyMake_wxObject(result);
11382 }
11383 return resultobj;
11384 fail:
11385 return NULL;
11386 }
11387
11388
11389 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11390 PyObject *resultobj;
11391 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11392 size_t arg2 ;
11393 int result;
11394 PyObject * obj0 = 0 ;
11395 PyObject * obj1 = 0 ;
11396 char *kwnames[] = {
11397 (char *) "self",(char *) "n", NULL
11398 };
11399
11400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11402 arg2 = (size_t) PyInt_AsLong(obj1);
11403 if (PyErr_Occurred()) SWIG_fail;
11404 {
11405 PyThreadState* __tstate = wxPyBeginAllowThreads();
11406 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11407
11408 wxPyEndAllowThreads(__tstate);
11409 if (PyErr_Occurred()) SWIG_fail;
11410 }
11411 resultobj = PyInt_FromLong((long)result);
11412 return resultobj;
11413 fail:
11414 return NULL;
11415 }
11416
11417
11418 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11419 PyObject *resultobj;
11420 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11421 size_t arg2 ;
11422 int arg3 ;
11423 bool result;
11424 PyObject * obj0 = 0 ;
11425 PyObject * obj1 = 0 ;
11426 char *kwnames[] = {
11427 (char *) "self",(char *) "n",(char *) "imageId", NULL
11428 };
11429
11430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11432 arg2 = (size_t) PyInt_AsLong(obj1);
11433 if (PyErr_Occurred()) SWIG_fail;
11434 {
11435 PyThreadState* __tstate = wxPyBeginAllowThreads();
11436 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11437
11438 wxPyEndAllowThreads(__tstate);
11439 if (PyErr_Occurred()) SWIG_fail;
11440 }
11441 resultobj = PyInt_FromLong((long)result);
11442 return resultobj;
11443 fail:
11444 return NULL;
11445 }
11446
11447
11448 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11449 PyObject *resultobj;
11450 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11451 wxSize *arg2 = 0 ;
11452 wxSize temp2 ;
11453 PyObject * obj0 = 0 ;
11454 PyObject * obj1 = 0 ;
11455 char *kwnames[] = {
11456 (char *) "self",(char *) "size", NULL
11457 };
11458
11459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11461 {
11462 arg2 = &temp2;
11463 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11464 }
11465 {
11466 PyThreadState* __tstate = wxPyBeginAllowThreads();
11467 (arg1)->SetPageSize((wxSize const &)*arg2);
11468
11469 wxPyEndAllowThreads(__tstate);
11470 if (PyErr_Occurred()) SWIG_fail;
11471 }
11472 Py_INCREF(Py_None); resultobj = Py_None;
11473 return resultobj;
11474 fail:
11475 return NULL;
11476 }
11477
11478
11479 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11480 PyObject *resultobj;
11481 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11482 wxSize *arg2 = 0 ;
11483 wxSize result;
11484 wxSize temp2 ;
11485 PyObject * obj0 = 0 ;
11486 PyObject * obj1 = 0 ;
11487 char *kwnames[] = {
11488 (char *) "self",(char *) "sizePage", NULL
11489 };
11490
11491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11493 {
11494 arg2 = &temp2;
11495 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11496 }
11497 {
11498 PyThreadState* __tstate = wxPyBeginAllowThreads();
11499 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11500
11501 wxPyEndAllowThreads(__tstate);
11502 if (PyErr_Occurred()) SWIG_fail;
11503 }
11504 {
11505 wxSize * resultptr;
11506 resultptr = new wxSize((wxSize &) result);
11507 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11508 }
11509 return resultobj;
11510 fail:
11511 return NULL;
11512 }
11513
11514
11515 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11516 PyObject *resultobj;
11517 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11518 size_t arg2 ;
11519 bool result;
11520 PyObject * obj0 = 0 ;
11521 PyObject * obj1 = 0 ;
11522 char *kwnames[] = {
11523 (char *) "self",(char *) "n", NULL
11524 };
11525
11526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11528 arg2 = (size_t) PyInt_AsLong(obj1);
11529 if (PyErr_Occurred()) SWIG_fail;
11530 {
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 result = (bool)(arg1)->DeletePage(arg2);
11533
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 resultobj = PyInt_FromLong((long)result);
11538 return resultobj;
11539 fail:
11540 return NULL;
11541 }
11542
11543
11544 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11545 PyObject *resultobj;
11546 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11547 size_t arg2 ;
11548 bool result;
11549 PyObject * obj0 = 0 ;
11550 PyObject * obj1 = 0 ;
11551 char *kwnames[] = {
11552 (char *) "self",(char *) "n", NULL
11553 };
11554
11555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11557 arg2 = (size_t) PyInt_AsLong(obj1);
11558 if (PyErr_Occurred()) SWIG_fail;
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
11561 result = (bool)(arg1)->RemovePage(arg2);
11562
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
11566 resultobj = PyInt_FromLong((long)result);
11567 return resultobj;
11568 fail:
11569 return NULL;
11570 }
11571
11572
11573 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11574 PyObject *resultobj;
11575 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11576 bool result;
11577 PyObject * obj0 = 0 ;
11578 char *kwnames[] = {
11579 (char *) "self", NULL
11580 };
11581
11582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11584 {
11585 PyThreadState* __tstate = wxPyBeginAllowThreads();
11586 result = (bool)(arg1)->DeleteAllPages();
11587
11588 wxPyEndAllowThreads(__tstate);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 }
11591 resultobj = PyInt_FromLong((long)result);
11592 return resultobj;
11593 fail:
11594 return NULL;
11595 }
11596
11597
11598 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11599 PyObject *resultobj;
11600 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11601 wxWindow *arg2 = (wxWindow *) 0 ;
11602 wxString *arg3 = 0 ;
11603 bool arg4 = (bool) False ;
11604 int arg5 = (int) -1 ;
11605 bool result;
11606 bool temp3 = False ;
11607 PyObject * obj0 = 0 ;
11608 PyObject * obj1 = 0 ;
11609 PyObject * obj2 = 0 ;
11610 PyObject * obj3 = 0 ;
11611 char *kwnames[] = {
11612 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11613 };
11614
11615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11617 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11618 {
11619 arg3 = wxString_in_helper(obj2);
11620 if (arg3 == NULL) SWIG_fail;
11621 temp3 = True;
11622 }
11623 if (obj3) {
11624 arg4 = PyInt_AsLong(obj3) ? true : false;
11625 if (PyErr_Occurred()) SWIG_fail;
11626 }
11627 {
11628 PyThreadState* __tstate = wxPyBeginAllowThreads();
11629 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11630
11631 wxPyEndAllowThreads(__tstate);
11632 if (PyErr_Occurred()) SWIG_fail;
11633 }
11634 resultobj = PyInt_FromLong((long)result);
11635 {
11636 if (temp3)
11637 delete arg3;
11638 }
11639 return resultobj;
11640 fail:
11641 {
11642 if (temp3)
11643 delete arg3;
11644 }
11645 return NULL;
11646 }
11647
11648
11649 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11650 PyObject *resultobj;
11651 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11652 size_t arg2 ;
11653 wxWindow *arg3 = (wxWindow *) 0 ;
11654 wxString *arg4 = 0 ;
11655 bool arg5 = (bool) False ;
11656 int arg6 = (int) -1 ;
11657 bool result;
11658 bool temp4 = False ;
11659 PyObject * obj0 = 0 ;
11660 PyObject * obj1 = 0 ;
11661 PyObject * obj2 = 0 ;
11662 PyObject * obj3 = 0 ;
11663 PyObject * obj4 = 0 ;
11664 char *kwnames[] = {
11665 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11666 };
11667
11668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11670 arg2 = (size_t) PyInt_AsLong(obj1);
11671 if (PyErr_Occurred()) SWIG_fail;
11672 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11673 {
11674 arg4 = wxString_in_helper(obj3);
11675 if (arg4 == NULL) SWIG_fail;
11676 temp4 = True;
11677 }
11678 if (obj4) {
11679 arg5 = PyInt_AsLong(obj4) ? true : false;
11680 if (PyErr_Occurred()) SWIG_fail;
11681 }
11682 {
11683 PyThreadState* __tstate = wxPyBeginAllowThreads();
11684 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11685
11686 wxPyEndAllowThreads(__tstate);
11687 if (PyErr_Occurred()) SWIG_fail;
11688 }
11689 resultobj = PyInt_FromLong((long)result);
11690 {
11691 if (temp4)
11692 delete arg4;
11693 }
11694 return resultobj;
11695 fail:
11696 {
11697 if (temp4)
11698 delete arg4;
11699 }
11700 return NULL;
11701 }
11702
11703
11704 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11705 PyObject *resultobj;
11706 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11707 size_t arg2 ;
11708 int result;
11709 PyObject * obj0 = 0 ;
11710 PyObject * obj1 = 0 ;
11711 char *kwnames[] = {
11712 (char *) "self",(char *) "n", NULL
11713 };
11714
11715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11717 arg2 = (size_t) PyInt_AsLong(obj1);
11718 if (PyErr_Occurred()) SWIG_fail;
11719 {
11720 PyThreadState* __tstate = wxPyBeginAllowThreads();
11721 result = (int)(arg1)->SetSelection(arg2);
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
11726 resultobj = PyInt_FromLong((long)result);
11727 return resultobj;
11728 fail:
11729 return NULL;
11730 }
11731
11732
11733 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11734 PyObject *resultobj;
11735 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11736 bool arg2 = (bool) True ;
11737 PyObject * obj0 = 0 ;
11738 PyObject * obj1 = 0 ;
11739 char *kwnames[] = {
11740 (char *) "self",(char *) "forward", NULL
11741 };
11742
11743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11745 if (obj1) {
11746 arg2 = PyInt_AsLong(obj1) ? true : false;
11747 if (PyErr_Occurred()) SWIG_fail;
11748 }
11749 {
11750 PyThreadState* __tstate = wxPyBeginAllowThreads();
11751 (arg1)->AdvanceSelection(arg2);
11752
11753 wxPyEndAllowThreads(__tstate);
11754 if (PyErr_Occurred()) SWIG_fail;
11755 }
11756 Py_INCREF(Py_None); resultobj = Py_None;
11757 return resultobj;
11758 fail:
11759 return NULL;
11760 }
11761
11762
11763 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11764 PyObject *obj;
11765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11766 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11767 Py_INCREF(obj);
11768 return Py_BuildValue((char *)"");
11769 }
11770 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11771 PyObject *resultobj;
11772 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11773 int arg2 = (int) 0 ;
11774 int arg3 = (int) -1 ;
11775 int arg4 = (int) -1 ;
11776 wxBookCtrlEvent *result;
11777 char *kwnames[] = {
11778 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11779 };
11780
11781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11782 {
11783 PyThreadState* __tstate = wxPyBeginAllowThreads();
11784 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11785
11786 wxPyEndAllowThreads(__tstate);
11787 if (PyErr_Occurred()) SWIG_fail;
11788 }
11789 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11790 return resultobj;
11791 fail:
11792 return NULL;
11793 }
11794
11795
11796 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11797 PyObject *resultobj;
11798 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11799 int result;
11800 PyObject * obj0 = 0 ;
11801 char *kwnames[] = {
11802 (char *) "self", NULL
11803 };
11804
11805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 resultobj = PyInt_FromLong((long)result);
11815 return resultobj;
11816 fail:
11817 return NULL;
11818 }
11819
11820
11821 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11822 PyObject *resultobj;
11823 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11824 int arg2 ;
11825 PyObject * obj0 = 0 ;
11826 char *kwnames[] = {
11827 (char *) "self",(char *) "nSel", NULL
11828 };
11829
11830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11832 {
11833 PyThreadState* __tstate = wxPyBeginAllowThreads();
11834 (arg1)->SetSelection(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_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11847 PyObject *resultobj;
11848 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11849 int result;
11850 PyObject * obj0 = 0 ;
11851 char *kwnames[] = {
11852 (char *) "self", NULL
11853 };
11854
11855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11857 {
11858 PyThreadState* __tstate = wxPyBeginAllowThreads();
11859 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11860
11861 wxPyEndAllowThreads(__tstate);
11862 if (PyErr_Occurred()) SWIG_fail;
11863 }
11864 resultobj = PyInt_FromLong((long)result);
11865 return resultobj;
11866 fail:
11867 return NULL;
11868 }
11869
11870
11871 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11872 PyObject *resultobj;
11873 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11874 int arg2 ;
11875 PyObject * obj0 = 0 ;
11876 char *kwnames[] = {
11877 (char *) "self",(char *) "nOldSel", NULL
11878 };
11879
11880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11882 {
11883 PyThreadState* __tstate = wxPyBeginAllowThreads();
11884 (arg1)->SetOldSelection(arg2);
11885
11886 wxPyEndAllowThreads(__tstate);
11887 if (PyErr_Occurred()) SWIG_fail;
11888 }
11889 Py_INCREF(Py_None); resultobj = Py_None;
11890 return resultobj;
11891 fail:
11892 return NULL;
11893 }
11894
11895
11896 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11897 PyObject *obj;
11898 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11899 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11900 Py_INCREF(obj);
11901 return Py_BuildValue((char *)"");
11902 }
11903 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11904 PyObject *resultobj;
11905 wxWindow *arg1 = (wxWindow *) 0 ;
11906 int arg2 ;
11907 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11908 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11909 wxSize const &arg4_defvalue = wxDefaultSize ;
11910 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11911 long arg5 = (long) 0 ;
11912 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11913 wxString *arg6 = (wxString *) &arg6_defvalue ;
11914 wxNotebook *result;
11915 wxPoint temp3 ;
11916 wxSize temp4 ;
11917 bool temp6 = False ;
11918 PyObject * obj0 = 0 ;
11919 PyObject * obj2 = 0 ;
11920 PyObject * obj3 = 0 ;
11921 PyObject * obj5 = 0 ;
11922 char *kwnames[] = {
11923 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11924 };
11925
11926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11928 if (obj2) {
11929 {
11930 arg3 = &temp3;
11931 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11932 }
11933 }
11934 if (obj3) {
11935 {
11936 arg4 = &temp4;
11937 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11938 }
11939 }
11940 if (obj5) {
11941 {
11942 arg6 = wxString_in_helper(obj5);
11943 if (arg6 == NULL) SWIG_fail;
11944 temp6 = True;
11945 }
11946 }
11947 {
11948 PyThreadState* __tstate = wxPyBeginAllowThreads();
11949 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11950
11951 wxPyEndAllowThreads(__tstate);
11952 if (PyErr_Occurred()) SWIG_fail;
11953 }
11954 {
11955 resultobj = wxPyMake_wxObject(result);
11956 }
11957 {
11958 if (temp6)
11959 delete arg6;
11960 }
11961 return resultobj;
11962 fail:
11963 {
11964 if (temp6)
11965 delete arg6;
11966 }
11967 return NULL;
11968 }
11969
11970
11971 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11972 PyObject *resultobj;
11973 wxNotebook *result;
11974 char *kwnames[] = {
11975 NULL
11976 };
11977
11978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11979 {
11980 PyThreadState* __tstate = wxPyBeginAllowThreads();
11981 result = (wxNotebook *)new wxNotebook();
11982
11983 wxPyEndAllowThreads(__tstate);
11984 if (PyErr_Occurred()) SWIG_fail;
11985 }
11986 {
11987 resultobj = wxPyMake_wxObject(result);
11988 }
11989 return resultobj;
11990 fail:
11991 return NULL;
11992 }
11993
11994
11995 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11996 PyObject *resultobj;
11997 wxNotebook *arg1 = (wxNotebook *) 0 ;
11998 wxWindow *arg2 = (wxWindow *) 0 ;
11999 int arg3 ;
12000 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12001 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12002 wxSize const &arg5_defvalue = wxDefaultSize ;
12003 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12004 long arg6 = (long) 0 ;
12005 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12006 wxString *arg7 = (wxString *) &arg7_defvalue ;
12007 bool result;
12008 wxPoint temp4 ;
12009 wxSize temp5 ;
12010 bool temp7 = False ;
12011 PyObject * obj0 = 0 ;
12012 PyObject * obj1 = 0 ;
12013 PyObject * obj3 = 0 ;
12014 PyObject * obj4 = 0 ;
12015 PyObject * obj6 = 0 ;
12016 char *kwnames[] = {
12017 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12018 };
12019
12020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12022 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12023 if (obj3) {
12024 {
12025 arg4 = &temp4;
12026 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12027 }
12028 }
12029 if (obj4) {
12030 {
12031 arg5 = &temp5;
12032 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12033 }
12034 }
12035 if (obj6) {
12036 {
12037 arg7 = wxString_in_helper(obj6);
12038 if (arg7 == NULL) SWIG_fail;
12039 temp7 = True;
12040 }
12041 }
12042 {
12043 PyThreadState* __tstate = wxPyBeginAllowThreads();
12044 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12045
12046 wxPyEndAllowThreads(__tstate);
12047 if (PyErr_Occurred()) SWIG_fail;
12048 }
12049 resultobj = PyInt_FromLong((long)result);
12050 {
12051 if (temp7)
12052 delete arg7;
12053 }
12054 return resultobj;
12055 fail:
12056 {
12057 if (temp7)
12058 delete arg7;
12059 }
12060 return NULL;
12061 }
12062
12063
12064 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12065 PyObject *resultobj;
12066 wxNotebook *arg1 = (wxNotebook *) 0 ;
12067 int result;
12068 PyObject * obj0 = 0 ;
12069 char *kwnames[] = {
12070 (char *) "self", NULL
12071 };
12072
12073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12075 {
12076 PyThreadState* __tstate = wxPyBeginAllowThreads();
12077 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12078
12079 wxPyEndAllowThreads(__tstate);
12080 if (PyErr_Occurred()) SWIG_fail;
12081 }
12082 resultobj = PyInt_FromLong((long)result);
12083 return resultobj;
12084 fail:
12085 return NULL;
12086 }
12087
12088
12089 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12090 PyObject *resultobj;
12091 wxNotebook *arg1 = (wxNotebook *) 0 ;
12092 wxSize *arg2 = 0 ;
12093 wxSize temp2 ;
12094 PyObject * obj0 = 0 ;
12095 PyObject * obj1 = 0 ;
12096 char *kwnames[] = {
12097 (char *) "self",(char *) "padding", NULL
12098 };
12099
12100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12102 {
12103 arg2 = &temp2;
12104 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12105 }
12106 {
12107 PyThreadState* __tstate = wxPyBeginAllowThreads();
12108 (arg1)->SetPadding((wxSize const &)*arg2);
12109
12110 wxPyEndAllowThreads(__tstate);
12111 if (PyErr_Occurred()) SWIG_fail;
12112 }
12113 Py_INCREF(Py_None); resultobj = Py_None;
12114 return resultobj;
12115 fail:
12116 return NULL;
12117 }
12118
12119
12120 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12121 PyObject *resultobj;
12122 wxNotebook *arg1 = (wxNotebook *) 0 ;
12123 wxSize *arg2 = 0 ;
12124 wxSize temp2 ;
12125 PyObject * obj0 = 0 ;
12126 PyObject * obj1 = 0 ;
12127 char *kwnames[] = {
12128 (char *) "self",(char *) "sz", NULL
12129 };
12130
12131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12133 {
12134 arg2 = &temp2;
12135 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12136 }
12137 {
12138 PyThreadState* __tstate = wxPyBeginAllowThreads();
12139 (arg1)->SetTabSize((wxSize const &)*arg2);
12140
12141 wxPyEndAllowThreads(__tstate);
12142 if (PyErr_Occurred()) SWIG_fail;
12143 }
12144 Py_INCREF(Py_None); resultobj = Py_None;
12145 return resultobj;
12146 fail:
12147 return NULL;
12148 }
12149
12150
12151 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12152 PyObject *resultobj;
12153 wxNotebook *arg1 = (wxNotebook *) 0 ;
12154 wxPoint *arg2 = 0 ;
12155 long *arg3 = (long *) 0 ;
12156 int result;
12157 wxPoint temp2 ;
12158 long temp3 ;
12159 PyObject * obj0 = 0 ;
12160 PyObject * obj1 = 0 ;
12161 char *kwnames[] = {
12162 (char *) "self",(char *) "pt", NULL
12163 };
12164
12165 arg3 = &temp3;
12166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12168 {
12169 arg2 = &temp2;
12170 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12171 }
12172 {
12173 PyThreadState* __tstate = wxPyBeginAllowThreads();
12174 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12175
12176 wxPyEndAllowThreads(__tstate);
12177 if (PyErr_Occurred()) SWIG_fail;
12178 }
12179 resultobj = PyInt_FromLong((long)result);
12180 {
12181 PyObject *o = PyInt_FromLong((long) (*arg3));
12182 resultobj = t_output_helper(resultobj,o);
12183 }
12184 return resultobj;
12185 fail:
12186 return NULL;
12187 }
12188
12189
12190 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12191 PyObject *resultobj;
12192 wxNotebook *arg1 = (wxNotebook *) 0 ;
12193 wxSize *arg2 = 0 ;
12194 wxSize result;
12195 wxSize temp2 ;
12196 PyObject * obj0 = 0 ;
12197 PyObject * obj1 = 0 ;
12198 char *kwnames[] = {
12199 (char *) "self",(char *) "sizePage", NULL
12200 };
12201
12202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12204 {
12205 arg2 = &temp2;
12206 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12207 }
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12211
12212 wxPyEndAllowThreads(__tstate);
12213 if (PyErr_Occurred()) SWIG_fail;
12214 }
12215 {
12216 wxSize * resultptr;
12217 resultptr = new wxSize((wxSize &) result);
12218 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12219 }
12220 return resultobj;
12221 fail:
12222 return NULL;
12223 }
12224
12225
12226 static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12227 PyObject *resultobj;
12228 wxNotebook *arg1 = (wxNotebook *) 0 ;
12229 wxWindow *arg2 = (wxWindow *) 0 ;
12230 wxColour *arg3 = 0 ;
12231 wxColour temp3 ;
12232 PyObject * obj0 = 0 ;
12233 PyObject * obj1 = 0 ;
12234 PyObject * obj2 = 0 ;
12235 char *kwnames[] = {
12236 (char *) "self",(char *) "window",(char *) "colour", NULL
12237 };
12238
12239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
12240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12242 {
12243 arg3 = &temp3;
12244 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12245 }
12246 {
12247 PyThreadState* __tstate = wxPyBeginAllowThreads();
12248 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
12249
12250 wxPyEndAllowThreads(__tstate);
12251 if (PyErr_Occurred()) SWIG_fail;
12252 }
12253 Py_INCREF(Py_None); resultobj = Py_None;
12254 return resultobj;
12255 fail:
12256 return NULL;
12257 }
12258
12259
12260 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12261 PyObject *obj;
12262 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12263 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12264 Py_INCREF(obj);
12265 return Py_BuildValue((char *)"");
12266 }
12267 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12268 PyObject *resultobj;
12269 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12270 int arg2 = (int) 0 ;
12271 int arg3 = (int) -1 ;
12272 int arg4 = (int) -1 ;
12273 wxNotebookEvent *result;
12274 char *kwnames[] = {
12275 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12276 };
12277
12278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12279 {
12280 PyThreadState* __tstate = wxPyBeginAllowThreads();
12281 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12282
12283 wxPyEndAllowThreads(__tstate);
12284 if (PyErr_Occurred()) SWIG_fail;
12285 }
12286 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12287 return resultobj;
12288 fail:
12289 return NULL;
12290 }
12291
12292
12293 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12294 PyObject *obj;
12295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12296 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12297 Py_INCREF(obj);
12298 return Py_BuildValue((char *)"");
12299 }
12300 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12301 PyObject *resultobj;
12302 wxWindow *arg1 = (wxWindow *) 0 ;
12303 int arg2 ;
12304 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12305 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12306 wxSize const &arg4_defvalue = wxDefaultSize ;
12307 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12308 long arg5 = (long) 0 ;
12309 wxString const &arg6_defvalue = wxPyEmptyString ;
12310 wxString *arg6 = (wxString *) &arg6_defvalue ;
12311 wxListbook *result;
12312 wxPoint temp3 ;
12313 wxSize temp4 ;
12314 bool temp6 = False ;
12315 PyObject * obj0 = 0 ;
12316 PyObject * obj2 = 0 ;
12317 PyObject * obj3 = 0 ;
12318 PyObject * obj5 = 0 ;
12319 char *kwnames[] = {
12320 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12321 };
12322
12323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12325 if (obj2) {
12326 {
12327 arg3 = &temp3;
12328 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12329 }
12330 }
12331 if (obj3) {
12332 {
12333 arg4 = &temp4;
12334 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12335 }
12336 }
12337 if (obj5) {
12338 {
12339 arg6 = wxString_in_helper(obj5);
12340 if (arg6 == NULL) SWIG_fail;
12341 temp6 = True;
12342 }
12343 }
12344 {
12345 PyThreadState* __tstate = wxPyBeginAllowThreads();
12346 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12347
12348 wxPyEndAllowThreads(__tstate);
12349 if (PyErr_Occurred()) SWIG_fail;
12350 }
12351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12352 {
12353 if (temp6)
12354 delete arg6;
12355 }
12356 return resultobj;
12357 fail:
12358 {
12359 if (temp6)
12360 delete arg6;
12361 }
12362 return NULL;
12363 }
12364
12365
12366 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12367 PyObject *resultobj;
12368 wxListbook *result;
12369 char *kwnames[] = {
12370 NULL
12371 };
12372
12373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12374 {
12375 PyThreadState* __tstate = wxPyBeginAllowThreads();
12376 result = (wxListbook *)new wxListbook();
12377
12378 wxPyEndAllowThreads(__tstate);
12379 if (PyErr_Occurred()) SWIG_fail;
12380 }
12381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12382 return resultobj;
12383 fail:
12384 return NULL;
12385 }
12386
12387
12388 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12389 PyObject *resultobj;
12390 wxListbook *arg1 = (wxListbook *) 0 ;
12391 wxWindow *arg2 = (wxWindow *) 0 ;
12392 int arg3 ;
12393 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12394 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12395 wxSize const &arg5_defvalue = wxDefaultSize ;
12396 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12397 long arg6 = (long) 0 ;
12398 wxString const &arg7_defvalue = wxPyEmptyString ;
12399 wxString *arg7 = (wxString *) &arg7_defvalue ;
12400 bool result;
12401 wxPoint temp4 ;
12402 wxSize temp5 ;
12403 bool temp7 = False ;
12404 PyObject * obj0 = 0 ;
12405 PyObject * obj1 = 0 ;
12406 PyObject * obj3 = 0 ;
12407 PyObject * obj4 = 0 ;
12408 PyObject * obj6 = 0 ;
12409 char *kwnames[] = {
12410 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12411 };
12412
12413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12416 if (obj3) {
12417 {
12418 arg4 = &temp4;
12419 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12420 }
12421 }
12422 if (obj4) {
12423 {
12424 arg5 = &temp5;
12425 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12426 }
12427 }
12428 if (obj6) {
12429 {
12430 arg7 = wxString_in_helper(obj6);
12431 if (arg7 == NULL) SWIG_fail;
12432 temp7 = True;
12433 }
12434 }
12435 {
12436 PyThreadState* __tstate = wxPyBeginAllowThreads();
12437 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12438
12439 wxPyEndAllowThreads(__tstate);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 }
12442 resultobj = PyInt_FromLong((long)result);
12443 {
12444 if (temp7)
12445 delete arg7;
12446 }
12447 return resultobj;
12448 fail:
12449 {
12450 if (temp7)
12451 delete arg7;
12452 }
12453 return NULL;
12454 }
12455
12456
12457 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12458 PyObject *resultobj;
12459 wxListbook *arg1 = (wxListbook *) 0 ;
12460 bool result;
12461 PyObject * obj0 = 0 ;
12462 char *kwnames[] = {
12463 (char *) "self", NULL
12464 };
12465
12466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12468 {
12469 PyThreadState* __tstate = wxPyBeginAllowThreads();
12470 result = (bool)((wxListbook const *)arg1)->IsVertical();
12471
12472 wxPyEndAllowThreads(__tstate);
12473 if (PyErr_Occurred()) SWIG_fail;
12474 }
12475 resultobj = PyInt_FromLong((long)result);
12476 return resultobj;
12477 fail:
12478 return NULL;
12479 }
12480
12481
12482 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12483 PyObject *obj;
12484 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12485 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12486 Py_INCREF(obj);
12487 return Py_BuildValue((char *)"");
12488 }
12489 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12490 PyObject *resultobj;
12491 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12492 int arg2 = (int) 0 ;
12493 int arg3 = (int) -1 ;
12494 int arg4 = (int) -1 ;
12495 wxListbookEvent *result;
12496 char *kwnames[] = {
12497 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12498 };
12499
12500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12501 {
12502 PyThreadState* __tstate = wxPyBeginAllowThreads();
12503 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12504
12505 wxPyEndAllowThreads(__tstate);
12506 if (PyErr_Occurred()) SWIG_fail;
12507 }
12508 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12509 return resultobj;
12510 fail:
12511 return NULL;
12512 }
12513
12514
12515 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12516 PyObject *obj;
12517 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12518 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12519 Py_INCREF(obj);
12520 return Py_BuildValue((char *)"");
12521 }
12522 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12523 PyObject *resultobj;
12524 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12525 wxBookCtrlSizer *result;
12526 PyObject * obj0 = 0 ;
12527 char *kwnames[] = {
12528 (char *) "nb", NULL
12529 };
12530
12531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12533 {
12534 PyThreadState* __tstate = wxPyBeginAllowThreads();
12535 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12536
12537 wxPyEndAllowThreads(__tstate);
12538 if (PyErr_Occurred()) SWIG_fail;
12539 }
12540 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12541 return resultobj;
12542 fail:
12543 return NULL;
12544 }
12545
12546
12547 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12548 PyObject *resultobj;
12549 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12550 PyObject * obj0 = 0 ;
12551 char *kwnames[] = {
12552 (char *) "self", NULL
12553 };
12554
12555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12557 {
12558 PyThreadState* __tstate = wxPyBeginAllowThreads();
12559 (arg1)->RecalcSizes();
12560
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 Py_INCREF(Py_None); resultobj = Py_None;
12565 return resultobj;
12566 fail:
12567 return NULL;
12568 }
12569
12570
12571 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12572 PyObject *resultobj;
12573 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12574 wxSize result;
12575 PyObject * obj0 = 0 ;
12576 char *kwnames[] = {
12577 (char *) "self", NULL
12578 };
12579
12580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12582 {
12583 PyThreadState* __tstate = wxPyBeginAllowThreads();
12584 result = (arg1)->CalcMin();
12585
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 {
12590 wxSize * resultptr;
12591 resultptr = new wxSize((wxSize &) result);
12592 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12593 }
12594 return resultobj;
12595 fail:
12596 return NULL;
12597 }
12598
12599
12600 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12601 PyObject *resultobj;
12602 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12603 wxBookCtrl *result;
12604 PyObject * obj0 = 0 ;
12605 char *kwnames[] = {
12606 (char *) "self", NULL
12607 };
12608
12609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12611 {
12612 PyThreadState* __tstate = wxPyBeginAllowThreads();
12613 result = (wxBookCtrl *)(arg1)->GetControl();
12614
12615 wxPyEndAllowThreads(__tstate);
12616 if (PyErr_Occurred()) SWIG_fail;
12617 }
12618 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12619 return resultobj;
12620 fail:
12621 return NULL;
12622 }
12623
12624
12625 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12626 PyObject *obj;
12627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12628 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12629 Py_INCREF(obj);
12630 return Py_BuildValue((char *)"");
12631 }
12632 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12633 PyObject *resultobj;
12634 wxNotebook *arg1 = (wxNotebook *) 0 ;
12635 wxNotebookSizer *result;
12636 PyObject * obj0 = 0 ;
12637 char *kwnames[] = {
12638 (char *) "nb", NULL
12639 };
12640
12641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12643 {
12644 PyThreadState* __tstate = wxPyBeginAllowThreads();
12645 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12646
12647 wxPyEndAllowThreads(__tstate);
12648 if (PyErr_Occurred()) SWIG_fail;
12649 }
12650 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12651 return resultobj;
12652 fail:
12653 return NULL;
12654 }
12655
12656
12657 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12658 PyObject *resultobj;
12659 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12660 PyObject * obj0 = 0 ;
12661 char *kwnames[] = {
12662 (char *) "self", NULL
12663 };
12664
12665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12667 {
12668 PyThreadState* __tstate = wxPyBeginAllowThreads();
12669 (arg1)->RecalcSizes();
12670
12671 wxPyEndAllowThreads(__tstate);
12672 if (PyErr_Occurred()) SWIG_fail;
12673 }
12674 Py_INCREF(Py_None); resultobj = Py_None;
12675 return resultobj;
12676 fail:
12677 return NULL;
12678 }
12679
12680
12681 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12682 PyObject *resultobj;
12683 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12684 wxSize result;
12685 PyObject * obj0 = 0 ;
12686 char *kwnames[] = {
12687 (char *) "self", NULL
12688 };
12689
12690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 result = (arg1)->CalcMin();
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 {
12700 wxSize * resultptr;
12701 resultptr = new wxSize((wxSize &) result);
12702 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12703 }
12704 return resultobj;
12705 fail:
12706 return NULL;
12707 }
12708
12709
12710 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12711 PyObject *resultobj;
12712 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12713 wxNotebook *result;
12714 PyObject * obj0 = 0 ;
12715 char *kwnames[] = {
12716 (char *) "self", NULL
12717 };
12718
12719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12721 {
12722 PyThreadState* __tstate = wxPyBeginAllowThreads();
12723 result = (wxNotebook *)(arg1)->GetNotebook();
12724
12725 wxPyEndAllowThreads(__tstate);
12726 if (PyErr_Occurred()) SWIG_fail;
12727 }
12728 {
12729 resultobj = wxPyMake_wxObject(result);
12730 }
12731 return resultobj;
12732 fail:
12733 return NULL;
12734 }
12735
12736
12737 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12738 PyObject *obj;
12739 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12740 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12741 Py_INCREF(obj);
12742 return Py_BuildValue((char *)"");
12743 }
12744 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12745 PyObject *resultobj;
12746 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12747 int result;
12748 PyObject * obj0 = 0 ;
12749 char *kwnames[] = {
12750 (char *) "self", NULL
12751 };
12752
12753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12755 {
12756 PyThreadState* __tstate = wxPyBeginAllowThreads();
12757 result = (int)(arg1)->GetId();
12758
12759 wxPyEndAllowThreads(__tstate);
12760 if (PyErr_Occurred()) SWIG_fail;
12761 }
12762 resultobj = PyInt_FromLong((long)result);
12763 return resultobj;
12764 fail:
12765 return NULL;
12766 }
12767
12768
12769 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12772 wxControl *result;
12773 PyObject * obj0 = 0 ;
12774 char *kwnames[] = {
12775 (char *) "self", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",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 = (wxControl *)(arg1)->GetControl();
12783
12784 wxPyEndAllowThreads(__tstate);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
12787 {
12788 resultobj = wxPyMake_wxObject(result);
12789 }
12790 return resultobj;
12791 fail:
12792 return NULL;
12793 }
12794
12795
12796 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12797 PyObject *resultobj;
12798 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12799 wxToolBarBase *result;
12800 PyObject * obj0 = 0 ;
12801 char *kwnames[] = {
12802 (char *) "self", NULL
12803 };
12804
12805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12807 {
12808 PyThreadState* __tstate = wxPyBeginAllowThreads();
12809 result = (wxToolBarBase *)(arg1)->GetToolBar();
12810
12811 wxPyEndAllowThreads(__tstate);
12812 if (PyErr_Occurred()) SWIG_fail;
12813 }
12814 {
12815 resultobj = wxPyMake_wxObject(result);
12816 }
12817 return resultobj;
12818 fail:
12819 return NULL;
12820 }
12821
12822
12823 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12824 PyObject *resultobj;
12825 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12826 int result;
12827 PyObject * obj0 = 0 ;
12828 char *kwnames[] = {
12829 (char *) "self", NULL
12830 };
12831
12832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12834 {
12835 PyThreadState* __tstate = wxPyBeginAllowThreads();
12836 result = (int)(arg1)->IsButton();
12837
12838 wxPyEndAllowThreads(__tstate);
12839 if (PyErr_Occurred()) SWIG_fail;
12840 }
12841 resultobj = PyInt_FromLong((long)result);
12842 return resultobj;
12843 fail:
12844 return NULL;
12845 }
12846
12847
12848 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12849 PyObject *resultobj;
12850 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12851 int result;
12852 PyObject * obj0 = 0 ;
12853 char *kwnames[] = {
12854 (char *) "self", NULL
12855 };
12856
12857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 result = (int)(arg1)->IsControl();
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 resultobj = PyInt_FromLong((long)result);
12867 return resultobj;
12868 fail:
12869 return NULL;
12870 }
12871
12872
12873 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12874 PyObject *resultobj;
12875 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12876 int result;
12877 PyObject * obj0 = 0 ;
12878 char *kwnames[] = {
12879 (char *) "self", NULL
12880 };
12881
12882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 result = (int)(arg1)->IsSeparator();
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 resultobj = PyInt_FromLong((long)result);
12892 return resultobj;
12893 fail:
12894 return NULL;
12895 }
12896
12897
12898 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12901 int result;
12902 PyObject * obj0 = 0 ;
12903 char *kwnames[] = {
12904 (char *) "self", NULL
12905 };
12906
12907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12909 {
12910 PyThreadState* __tstate = wxPyBeginAllowThreads();
12911 result = (int)(arg1)->GetStyle();
12912
12913 wxPyEndAllowThreads(__tstate);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 }
12916 resultobj = PyInt_FromLong((long)result);
12917 return resultobj;
12918 fail:
12919 return NULL;
12920 }
12921
12922
12923 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12924 PyObject *resultobj;
12925 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12926 int result;
12927 PyObject * obj0 = 0 ;
12928 char *kwnames[] = {
12929 (char *) "self", NULL
12930 };
12931
12932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12934 {
12935 PyThreadState* __tstate = wxPyBeginAllowThreads();
12936 result = (int)(arg1)->GetKind();
12937
12938 wxPyEndAllowThreads(__tstate);
12939 if (PyErr_Occurred()) SWIG_fail;
12940 }
12941 resultobj = PyInt_FromLong((long)result);
12942 return resultobj;
12943 fail:
12944 return NULL;
12945 }
12946
12947
12948 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12949 PyObject *resultobj;
12950 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12951 bool result;
12952 PyObject * obj0 = 0 ;
12953 char *kwnames[] = {
12954 (char *) "self", NULL
12955 };
12956
12957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
12958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12959 {
12960 PyThreadState* __tstate = wxPyBeginAllowThreads();
12961 result = (bool)(arg1)->IsEnabled();
12962
12963 wxPyEndAllowThreads(__tstate);
12964 if (PyErr_Occurred()) SWIG_fail;
12965 }
12966 resultobj = PyInt_FromLong((long)result);
12967 return resultobj;
12968 fail:
12969 return NULL;
12970 }
12971
12972
12973 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12974 PyObject *resultobj;
12975 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12976 bool result;
12977 PyObject * obj0 = 0 ;
12978 char *kwnames[] = {
12979 (char *) "self", NULL
12980 };
12981
12982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
12983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 result = (bool)(arg1)->IsToggled();
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 resultobj = PyInt_FromLong((long)result);
12992 return resultobj;
12993 fail:
12994 return NULL;
12995 }
12996
12997
12998 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj;
13000 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13001 bool result;
13002 PyObject * obj0 = 0 ;
13003 char *kwnames[] = {
13004 (char *) "self", NULL
13005 };
13006
13007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 result = (bool)(arg1)->CanBeToggled();
13012
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 resultobj = PyInt_FromLong((long)result);
13017 return resultobj;
13018 fail:
13019 return NULL;
13020 }
13021
13022
13023 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13024 PyObject *resultobj;
13025 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13026 wxBitmap *result;
13027 PyObject * obj0 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "self", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13034 {
13035 PyThreadState* __tstate = wxPyBeginAllowThreads();
13036 {
13037 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13038 result = (wxBitmap *) &_result_ref;
13039 }
13040
13041 wxPyEndAllowThreads(__tstate);
13042 if (PyErr_Occurred()) SWIG_fail;
13043 }
13044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13045 return resultobj;
13046 fail:
13047 return NULL;
13048 }
13049
13050
13051 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13052 PyObject *resultobj;
13053 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13054 wxBitmap *result;
13055 PyObject * obj0 = 0 ;
13056 char *kwnames[] = {
13057 (char *) "self", NULL
13058 };
13059
13060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13062 {
13063 PyThreadState* __tstate = wxPyBeginAllowThreads();
13064 {
13065 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13066 result = (wxBitmap *) &_result_ref;
13067 }
13068
13069 wxPyEndAllowThreads(__tstate);
13070 if (PyErr_Occurred()) SWIG_fail;
13071 }
13072 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13073 return resultobj;
13074 fail:
13075 return NULL;
13076 }
13077
13078
13079 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13080 PyObject *resultobj;
13081 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13082 wxBitmap result;
13083 PyObject * obj0 = 0 ;
13084 char *kwnames[] = {
13085 (char *) "self", NULL
13086 };
13087
13088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13090 {
13091 PyThreadState* __tstate = wxPyBeginAllowThreads();
13092 result = (arg1)->GetBitmap();
13093
13094 wxPyEndAllowThreads(__tstate);
13095 if (PyErr_Occurred()) SWIG_fail;
13096 }
13097 {
13098 wxBitmap * resultptr;
13099 resultptr = new wxBitmap((wxBitmap &) result);
13100 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13101 }
13102 return resultobj;
13103 fail:
13104 return NULL;
13105 }
13106
13107
13108 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13109 PyObject *resultobj;
13110 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13111 wxString result;
13112 PyObject * obj0 = 0 ;
13113 char *kwnames[] = {
13114 (char *) "self", NULL
13115 };
13116
13117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13119 {
13120 PyThreadState* __tstate = wxPyBeginAllowThreads();
13121 result = (arg1)->GetLabel();
13122
13123 wxPyEndAllowThreads(__tstate);
13124 if (PyErr_Occurred()) SWIG_fail;
13125 }
13126 {
13127 #if wxUSE_UNICODE
13128 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13129 #else
13130 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13131 #endif
13132 }
13133 return resultobj;
13134 fail:
13135 return NULL;
13136 }
13137
13138
13139 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13140 PyObject *resultobj;
13141 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13142 wxString result;
13143 PyObject * obj0 = 0 ;
13144 char *kwnames[] = {
13145 (char *) "self", NULL
13146 };
13147
13148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13150 {
13151 PyThreadState* __tstate = wxPyBeginAllowThreads();
13152 result = (arg1)->GetShortHelp();
13153
13154 wxPyEndAllowThreads(__tstate);
13155 if (PyErr_Occurred()) SWIG_fail;
13156 }
13157 {
13158 #if wxUSE_UNICODE
13159 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13160 #else
13161 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13162 #endif
13163 }
13164 return resultobj;
13165 fail:
13166 return NULL;
13167 }
13168
13169
13170 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13171 PyObject *resultobj;
13172 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13173 wxString result;
13174 PyObject * obj0 = 0 ;
13175 char *kwnames[] = {
13176 (char *) "self", NULL
13177 };
13178
13179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13181 {
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 result = (arg1)->GetLongHelp();
13184
13185 wxPyEndAllowThreads(__tstate);
13186 if (PyErr_Occurred()) SWIG_fail;
13187 }
13188 {
13189 #if wxUSE_UNICODE
13190 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13191 #else
13192 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13193 #endif
13194 }
13195 return resultobj;
13196 fail:
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj;
13203 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13204 bool arg2 ;
13205 bool result;
13206 PyObject * obj0 = 0 ;
13207 PyObject * obj1 = 0 ;
13208 char *kwnames[] = {
13209 (char *) "self",(char *) "enable", NULL
13210 };
13211
13212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13214 arg2 = PyInt_AsLong(obj1) ? true : false;
13215 if (PyErr_Occurred()) SWIG_fail;
13216 {
13217 PyThreadState* __tstate = wxPyBeginAllowThreads();
13218 result = (bool)(arg1)->Enable(arg2);
13219
13220 wxPyEndAllowThreads(__tstate);
13221 if (PyErr_Occurred()) SWIG_fail;
13222 }
13223 resultobj = PyInt_FromLong((long)result);
13224 return resultobj;
13225 fail:
13226 return NULL;
13227 }
13228
13229
13230 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13231 PyObject *resultobj;
13232 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13233 PyObject * obj0 = 0 ;
13234 char *kwnames[] = {
13235 (char *) "self", NULL
13236 };
13237
13238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13240 {
13241 PyThreadState* __tstate = wxPyBeginAllowThreads();
13242 (arg1)->Toggle();
13243
13244 wxPyEndAllowThreads(__tstate);
13245 if (PyErr_Occurred()) SWIG_fail;
13246 }
13247 Py_INCREF(Py_None); resultobj = Py_None;
13248 return resultobj;
13249 fail:
13250 return NULL;
13251 }
13252
13253
13254 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13255 PyObject *resultobj;
13256 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13257 bool arg2 ;
13258 bool result;
13259 PyObject * obj0 = 0 ;
13260 PyObject * obj1 = 0 ;
13261 char *kwnames[] = {
13262 (char *) "self",(char *) "toggle", NULL
13263 };
13264
13265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13267 arg2 = PyInt_AsLong(obj1) ? true : false;
13268 if (PyErr_Occurred()) SWIG_fail;
13269 {
13270 PyThreadState* __tstate = wxPyBeginAllowThreads();
13271 result = (bool)(arg1)->SetToggle(arg2);
13272
13273 wxPyEndAllowThreads(__tstate);
13274 if (PyErr_Occurred()) SWIG_fail;
13275 }
13276 resultobj = PyInt_FromLong((long)result);
13277 return resultobj;
13278 fail:
13279 return NULL;
13280 }
13281
13282
13283 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13284 PyObject *resultobj;
13285 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13286 wxString *arg2 = 0 ;
13287 bool result;
13288 bool temp2 = False ;
13289 PyObject * obj0 = 0 ;
13290 PyObject * obj1 = 0 ;
13291 char *kwnames[] = {
13292 (char *) "self",(char *) "help", NULL
13293 };
13294
13295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13297 {
13298 arg2 = wxString_in_helper(obj1);
13299 if (arg2 == NULL) SWIG_fail;
13300 temp2 = True;
13301 }
13302 {
13303 PyThreadState* __tstate = wxPyBeginAllowThreads();
13304 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13305
13306 wxPyEndAllowThreads(__tstate);
13307 if (PyErr_Occurred()) SWIG_fail;
13308 }
13309 resultobj = PyInt_FromLong((long)result);
13310 {
13311 if (temp2)
13312 delete arg2;
13313 }
13314 return resultobj;
13315 fail:
13316 {
13317 if (temp2)
13318 delete arg2;
13319 }
13320 return NULL;
13321 }
13322
13323
13324 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13325 PyObject *resultobj;
13326 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13327 wxString *arg2 = 0 ;
13328 bool result;
13329 bool temp2 = False ;
13330 PyObject * obj0 = 0 ;
13331 PyObject * obj1 = 0 ;
13332 char *kwnames[] = {
13333 (char *) "self",(char *) "help", NULL
13334 };
13335
13336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13338 {
13339 arg2 = wxString_in_helper(obj1);
13340 if (arg2 == NULL) SWIG_fail;
13341 temp2 = True;
13342 }
13343 {
13344 PyThreadState* __tstate = wxPyBeginAllowThreads();
13345 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13346
13347 wxPyEndAllowThreads(__tstate);
13348 if (PyErr_Occurred()) SWIG_fail;
13349 }
13350 resultobj = PyInt_FromLong((long)result);
13351 {
13352 if (temp2)
13353 delete arg2;
13354 }
13355 return resultobj;
13356 fail:
13357 {
13358 if (temp2)
13359 delete arg2;
13360 }
13361 return NULL;
13362 }
13363
13364
13365 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13366 PyObject *resultobj;
13367 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13368 wxBitmap *arg2 = 0 ;
13369 PyObject * obj0 = 0 ;
13370 PyObject * obj1 = 0 ;
13371 char *kwnames[] = {
13372 (char *) "self",(char *) "bmp", NULL
13373 };
13374
13375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13377 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13378 if (arg2 == NULL) {
13379 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13380 }
13381 {
13382 PyThreadState* __tstate = wxPyBeginAllowThreads();
13383 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13384
13385 wxPyEndAllowThreads(__tstate);
13386 if (PyErr_Occurred()) SWIG_fail;
13387 }
13388 Py_INCREF(Py_None); resultobj = Py_None;
13389 return resultobj;
13390 fail:
13391 return NULL;
13392 }
13393
13394
13395 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13396 PyObject *resultobj;
13397 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13398 wxBitmap *arg2 = 0 ;
13399 PyObject * obj0 = 0 ;
13400 PyObject * obj1 = 0 ;
13401 char *kwnames[] = {
13402 (char *) "self",(char *) "bmp", NULL
13403 };
13404
13405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13408 if (arg2 == NULL) {
13409 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13410 }
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 Py_INCREF(Py_None); resultobj = Py_None;
13419 return resultobj;
13420 fail:
13421 return NULL;
13422 }
13423
13424
13425 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13426 PyObject *resultobj;
13427 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13428 wxString *arg2 = 0 ;
13429 bool temp2 = False ;
13430 PyObject * obj0 = 0 ;
13431 PyObject * obj1 = 0 ;
13432 char *kwnames[] = {
13433 (char *) "self",(char *) "label", NULL
13434 };
13435
13436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13438 {
13439 arg2 = wxString_in_helper(obj1);
13440 if (arg2 == NULL) SWIG_fail;
13441 temp2 = True;
13442 }
13443 {
13444 PyThreadState* __tstate = wxPyBeginAllowThreads();
13445 (arg1)->SetLabel((wxString const &)*arg2);
13446
13447 wxPyEndAllowThreads(__tstate);
13448 if (PyErr_Occurred()) SWIG_fail;
13449 }
13450 Py_INCREF(Py_None); resultobj = Py_None;
13451 {
13452 if (temp2)
13453 delete arg2;
13454 }
13455 return resultobj;
13456 fail:
13457 {
13458 if (temp2)
13459 delete arg2;
13460 }
13461 return NULL;
13462 }
13463
13464
13465 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13466 PyObject *resultobj;
13467 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13468 PyObject * obj0 = 0 ;
13469 char *kwnames[] = {
13470 (char *) "self", NULL
13471 };
13472
13473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13475 {
13476 PyThreadState* __tstate = wxPyBeginAllowThreads();
13477 (arg1)->Detach();
13478
13479 wxPyEndAllowThreads(__tstate);
13480 if (PyErr_Occurred()) SWIG_fail;
13481 }
13482 Py_INCREF(Py_None); resultobj = Py_None;
13483 return resultobj;
13484 fail:
13485 return NULL;
13486 }
13487
13488
13489 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13490 PyObject *resultobj;
13491 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13492 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13493 PyObject * obj0 = 0 ;
13494 PyObject * obj1 = 0 ;
13495 char *kwnames[] = {
13496 (char *) "self",(char *) "tbar", NULL
13497 };
13498
13499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13501 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13502 {
13503 PyThreadState* __tstate = wxPyBeginAllowThreads();
13504 (arg1)->Attach(arg2);
13505
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 Py_INCREF(Py_None); resultobj = Py_None;
13510 return resultobj;
13511 fail:
13512 return NULL;
13513 }
13514
13515
13516 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13517 PyObject *resultobj;
13518 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13519 PyObject *result;
13520 PyObject * obj0 = 0 ;
13521 char *kwnames[] = {
13522 (char *) "self", NULL
13523 };
13524
13525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13527 {
13528 PyThreadState* __tstate = wxPyBeginAllowThreads();
13529 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13530
13531 wxPyEndAllowThreads(__tstate);
13532 if (PyErr_Occurred()) SWIG_fail;
13533 }
13534 resultobj = result;
13535 return resultobj;
13536 fail:
13537 return NULL;
13538 }
13539
13540
13541 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13542 PyObject *resultobj;
13543 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13544 PyObject *arg2 = (PyObject *) 0 ;
13545 PyObject * obj0 = 0 ;
13546 PyObject * obj1 = 0 ;
13547 char *kwnames[] = {
13548 (char *) "self",(char *) "clientData", NULL
13549 };
13550
13551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13553 arg2 = obj1;
13554 {
13555 PyThreadState* __tstate = wxPyBeginAllowThreads();
13556 wxToolBarToolBase_SetClientData(arg1,arg2);
13557
13558 wxPyEndAllowThreads(__tstate);
13559 if (PyErr_Occurred()) SWIG_fail;
13560 }
13561 Py_INCREF(Py_None); resultobj = Py_None;
13562 return resultobj;
13563 fail:
13564 return NULL;
13565 }
13566
13567
13568 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13569 PyObject *obj;
13570 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13571 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13572 Py_INCREF(obj);
13573 return Py_BuildValue((char *)"");
13574 }
13575 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13576 PyObject *resultobj;
13577 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13578 int arg2 ;
13579 wxString *arg3 = 0 ;
13580 wxBitmap *arg4 = 0 ;
13581 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13582 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13583 int arg6 = (int) wxITEM_NORMAL ;
13584 wxString const &arg7_defvalue = wxPyEmptyString ;
13585 wxString *arg7 = (wxString *) &arg7_defvalue ;
13586 wxString const &arg8_defvalue = wxPyEmptyString ;
13587 wxString *arg8 = (wxString *) &arg8_defvalue ;
13588 PyObject *arg9 = (PyObject *) NULL ;
13589 wxToolBarToolBase *result;
13590 bool temp3 = False ;
13591 bool temp7 = False ;
13592 bool temp8 = False ;
13593 PyObject * obj0 = 0 ;
13594 PyObject * obj2 = 0 ;
13595 PyObject * obj3 = 0 ;
13596 PyObject * obj4 = 0 ;
13597 PyObject * obj6 = 0 ;
13598 PyObject * obj7 = 0 ;
13599 PyObject * obj8 = 0 ;
13600 char *kwnames[] = {
13601 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13602 };
13603
13604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13606 {
13607 arg3 = wxString_in_helper(obj2);
13608 if (arg3 == NULL) SWIG_fail;
13609 temp3 = True;
13610 }
13611 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13612 if (arg4 == NULL) {
13613 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13614 }
13615 if (obj4) {
13616 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13617 if (arg5 == NULL) {
13618 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13619 }
13620 }
13621 if (obj6) {
13622 {
13623 arg7 = wxString_in_helper(obj6);
13624 if (arg7 == NULL) SWIG_fail;
13625 temp7 = True;
13626 }
13627 }
13628 if (obj7) {
13629 {
13630 arg8 = wxString_in_helper(obj7);
13631 if (arg8 == NULL) SWIG_fail;
13632 temp8 = True;
13633 }
13634 }
13635 if (obj8) {
13636 arg9 = obj8;
13637 }
13638 {
13639 PyThreadState* __tstate = wxPyBeginAllowThreads();
13640 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13641
13642 wxPyEndAllowThreads(__tstate);
13643 if (PyErr_Occurred()) SWIG_fail;
13644 }
13645 {
13646 resultobj = wxPyMake_wxObject(result);
13647 }
13648 {
13649 if (temp3)
13650 delete arg3;
13651 }
13652 {
13653 if (temp7)
13654 delete arg7;
13655 }
13656 {
13657 if (temp8)
13658 delete arg8;
13659 }
13660 return resultobj;
13661 fail:
13662 {
13663 if (temp3)
13664 delete arg3;
13665 }
13666 {
13667 if (temp7)
13668 delete arg7;
13669 }
13670 {
13671 if (temp8)
13672 delete arg8;
13673 }
13674 return NULL;
13675 }
13676
13677
13678 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13679 PyObject *resultobj;
13680 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13681 size_t arg2 ;
13682 int arg3 ;
13683 wxString *arg4 = 0 ;
13684 wxBitmap *arg5 = 0 ;
13685 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13686 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13687 int arg7 = (int) wxITEM_NORMAL ;
13688 wxString const &arg8_defvalue = wxPyEmptyString ;
13689 wxString *arg8 = (wxString *) &arg8_defvalue ;
13690 wxString const &arg9_defvalue = wxPyEmptyString ;
13691 wxString *arg9 = (wxString *) &arg9_defvalue ;
13692 PyObject *arg10 = (PyObject *) NULL ;
13693 wxToolBarToolBase *result;
13694 bool temp4 = False ;
13695 bool temp8 = False ;
13696 bool temp9 = False ;
13697 PyObject * obj0 = 0 ;
13698 PyObject * obj1 = 0 ;
13699 PyObject * obj3 = 0 ;
13700 PyObject * obj4 = 0 ;
13701 PyObject * obj5 = 0 ;
13702 PyObject * obj7 = 0 ;
13703 PyObject * obj8 = 0 ;
13704 PyObject * obj9 = 0 ;
13705 char *kwnames[] = {
13706 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13707 };
13708
13709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13711 arg2 = (size_t) PyInt_AsLong(obj1);
13712 if (PyErr_Occurred()) SWIG_fail;
13713 {
13714 arg4 = wxString_in_helper(obj3);
13715 if (arg4 == NULL) SWIG_fail;
13716 temp4 = True;
13717 }
13718 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13719 if (arg5 == NULL) {
13720 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13721 }
13722 if (obj5) {
13723 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13724 if (arg6 == NULL) {
13725 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13726 }
13727 }
13728 if (obj7) {
13729 {
13730 arg8 = wxString_in_helper(obj7);
13731 if (arg8 == NULL) SWIG_fail;
13732 temp8 = True;
13733 }
13734 }
13735 if (obj8) {
13736 {
13737 arg9 = wxString_in_helper(obj8);
13738 if (arg9 == NULL) SWIG_fail;
13739 temp9 = True;
13740 }
13741 }
13742 if (obj9) {
13743 arg10 = obj9;
13744 }
13745 {
13746 PyThreadState* __tstate = wxPyBeginAllowThreads();
13747 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);
13748
13749 wxPyEndAllowThreads(__tstate);
13750 if (PyErr_Occurred()) SWIG_fail;
13751 }
13752 {
13753 resultobj = wxPyMake_wxObject(result);
13754 }
13755 {
13756 if (temp4)
13757 delete arg4;
13758 }
13759 {
13760 if (temp8)
13761 delete arg8;
13762 }
13763 {
13764 if (temp9)
13765 delete arg9;
13766 }
13767 return resultobj;
13768 fail:
13769 {
13770 if (temp4)
13771 delete arg4;
13772 }
13773 {
13774 if (temp8)
13775 delete arg8;
13776 }
13777 {
13778 if (temp9)
13779 delete arg9;
13780 }
13781 return NULL;
13782 }
13783
13784
13785 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13786 PyObject *resultobj;
13787 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13788 wxControl *arg2 = (wxControl *) 0 ;
13789 wxToolBarToolBase *result;
13790 PyObject * obj0 = 0 ;
13791 PyObject * obj1 = 0 ;
13792 char *kwnames[] = {
13793 (char *) "self",(char *) "control", NULL
13794 };
13795
13796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13798 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13799 {
13800 PyThreadState* __tstate = wxPyBeginAllowThreads();
13801 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13802
13803 wxPyEndAllowThreads(__tstate);
13804 if (PyErr_Occurred()) SWIG_fail;
13805 }
13806 {
13807 resultobj = wxPyMake_wxObject(result);
13808 }
13809 return resultobj;
13810 fail:
13811 return NULL;
13812 }
13813
13814
13815 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13816 PyObject *resultobj;
13817 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13818 size_t arg2 ;
13819 wxControl *arg3 = (wxControl *) 0 ;
13820 wxToolBarToolBase *result;
13821 PyObject * obj0 = 0 ;
13822 PyObject * obj1 = 0 ;
13823 PyObject * obj2 = 0 ;
13824 char *kwnames[] = {
13825 (char *) "self",(char *) "pos",(char *) "control", NULL
13826 };
13827
13828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13830 arg2 = (size_t) PyInt_AsLong(obj1);
13831 if (PyErr_Occurred()) SWIG_fail;
13832 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13833 {
13834 PyThreadState* __tstate = wxPyBeginAllowThreads();
13835 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13836
13837 wxPyEndAllowThreads(__tstate);
13838 if (PyErr_Occurred()) SWIG_fail;
13839 }
13840 {
13841 resultobj = wxPyMake_wxObject(result);
13842 }
13843 return resultobj;
13844 fail:
13845 return NULL;
13846 }
13847
13848
13849 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13850 PyObject *resultobj;
13851 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13852 int arg2 ;
13853 wxControl *result;
13854 PyObject * obj0 = 0 ;
13855 char *kwnames[] = {
13856 (char *) "self",(char *) "id", NULL
13857 };
13858
13859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13861 {
13862 PyThreadState* __tstate = wxPyBeginAllowThreads();
13863 result = (wxControl *)(arg1)->FindControl(arg2);
13864
13865 wxPyEndAllowThreads(__tstate);
13866 if (PyErr_Occurred()) SWIG_fail;
13867 }
13868 {
13869 resultobj = wxPyMake_wxObject(result);
13870 }
13871 return resultobj;
13872 fail:
13873 return NULL;
13874 }
13875
13876
13877 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13878 PyObject *resultobj;
13879 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13880 wxToolBarToolBase *result;
13881 PyObject * obj0 = 0 ;
13882 char *kwnames[] = {
13883 (char *) "self", NULL
13884 };
13885
13886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13888 {
13889 PyThreadState* __tstate = wxPyBeginAllowThreads();
13890 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13891
13892 wxPyEndAllowThreads(__tstate);
13893 if (PyErr_Occurred()) SWIG_fail;
13894 }
13895 {
13896 resultobj = wxPyMake_wxObject(result);
13897 }
13898 return resultobj;
13899 fail:
13900 return NULL;
13901 }
13902
13903
13904 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13905 PyObject *resultobj;
13906 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13907 size_t arg2 ;
13908 wxToolBarToolBase *result;
13909 PyObject * obj0 = 0 ;
13910 PyObject * obj1 = 0 ;
13911 char *kwnames[] = {
13912 (char *) "self",(char *) "pos", NULL
13913 };
13914
13915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13917 arg2 = (size_t) PyInt_AsLong(obj1);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 {
13920 PyThreadState* __tstate = wxPyBeginAllowThreads();
13921 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13922
13923 wxPyEndAllowThreads(__tstate);
13924 if (PyErr_Occurred()) SWIG_fail;
13925 }
13926 {
13927 resultobj = wxPyMake_wxObject(result);
13928 }
13929 return resultobj;
13930 fail:
13931 return NULL;
13932 }
13933
13934
13935 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13936 PyObject *resultobj;
13937 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13938 int arg2 ;
13939 wxToolBarToolBase *result;
13940 PyObject * obj0 = 0 ;
13941 char *kwnames[] = {
13942 (char *) "self",(char *) "id", NULL
13943 };
13944
13945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13947 {
13948 PyThreadState* __tstate = wxPyBeginAllowThreads();
13949 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13950
13951 wxPyEndAllowThreads(__tstate);
13952 if (PyErr_Occurred()) SWIG_fail;
13953 }
13954 {
13955 resultobj = wxPyMake_wxObject(result);
13956 }
13957 return resultobj;
13958 fail:
13959 return NULL;
13960 }
13961
13962
13963 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13964 PyObject *resultobj;
13965 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13966 size_t arg2 ;
13967 bool result;
13968 PyObject * obj0 = 0 ;
13969 PyObject * obj1 = 0 ;
13970 char *kwnames[] = {
13971 (char *) "self",(char *) "pos", NULL
13972 };
13973
13974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13976 arg2 = (size_t) PyInt_AsLong(obj1);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 {
13979 PyThreadState* __tstate = wxPyBeginAllowThreads();
13980 result = (bool)(arg1)->DeleteToolByPos(arg2);
13981
13982 wxPyEndAllowThreads(__tstate);
13983 if (PyErr_Occurred()) SWIG_fail;
13984 }
13985 resultobj = PyInt_FromLong((long)result);
13986 return resultobj;
13987 fail:
13988 return NULL;
13989 }
13990
13991
13992 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13993 PyObject *resultobj;
13994 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13995 int arg2 ;
13996 bool result;
13997 PyObject * obj0 = 0 ;
13998 char *kwnames[] = {
13999 (char *) "self",(char *) "id", NULL
14000 };
14001
14002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14004 {
14005 PyThreadState* __tstate = wxPyBeginAllowThreads();
14006 result = (bool)(arg1)->DeleteTool(arg2);
14007
14008 wxPyEndAllowThreads(__tstate);
14009 if (PyErr_Occurred()) SWIG_fail;
14010 }
14011 resultobj = PyInt_FromLong((long)result);
14012 return resultobj;
14013 fail:
14014 return NULL;
14015 }
14016
14017
14018 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14019 PyObject *resultobj;
14020 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14021 PyObject * obj0 = 0 ;
14022 char *kwnames[] = {
14023 (char *) "self", NULL
14024 };
14025
14026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14028 {
14029 PyThreadState* __tstate = wxPyBeginAllowThreads();
14030 (arg1)->ClearTools();
14031
14032 wxPyEndAllowThreads(__tstate);
14033 if (PyErr_Occurred()) SWIG_fail;
14034 }
14035 Py_INCREF(Py_None); resultobj = Py_None;
14036 return resultobj;
14037 fail:
14038 return NULL;
14039 }
14040
14041
14042 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14043 PyObject *resultobj;
14044 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14045 bool result;
14046 PyObject * obj0 = 0 ;
14047 char *kwnames[] = {
14048 (char *) "self", NULL
14049 };
14050
14051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14053 {
14054 PyThreadState* __tstate = wxPyBeginAllowThreads();
14055 result = (bool)(arg1)->Realize();
14056
14057 wxPyEndAllowThreads(__tstate);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 resultobj = PyInt_FromLong((long)result);
14061 return resultobj;
14062 fail:
14063 return NULL;
14064 }
14065
14066
14067 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14068 PyObject *resultobj;
14069 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14070 int arg2 ;
14071 bool arg3 ;
14072 PyObject * obj0 = 0 ;
14073 PyObject * obj2 = 0 ;
14074 char *kwnames[] = {
14075 (char *) "self",(char *) "id",(char *) "enable", NULL
14076 };
14077
14078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14080 arg3 = PyInt_AsLong(obj2) ? true : false;
14081 if (PyErr_Occurred()) SWIG_fail;
14082 {
14083 PyThreadState* __tstate = wxPyBeginAllowThreads();
14084 (arg1)->EnableTool(arg2,arg3);
14085
14086 wxPyEndAllowThreads(__tstate);
14087 if (PyErr_Occurred()) SWIG_fail;
14088 }
14089 Py_INCREF(Py_None); resultobj = Py_None;
14090 return resultobj;
14091 fail:
14092 return NULL;
14093 }
14094
14095
14096 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14097 PyObject *resultobj;
14098 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14099 int arg2 ;
14100 bool arg3 ;
14101 PyObject * obj0 = 0 ;
14102 PyObject * obj2 = 0 ;
14103 char *kwnames[] = {
14104 (char *) "self",(char *) "id",(char *) "toggle", NULL
14105 };
14106
14107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14109 arg3 = PyInt_AsLong(obj2) ? true : false;
14110 if (PyErr_Occurred()) SWIG_fail;
14111 {
14112 PyThreadState* __tstate = wxPyBeginAllowThreads();
14113 (arg1)->ToggleTool(arg2,arg3);
14114
14115 wxPyEndAllowThreads(__tstate);
14116 if (PyErr_Occurred()) SWIG_fail;
14117 }
14118 Py_INCREF(Py_None); resultobj = Py_None;
14119 return resultobj;
14120 fail:
14121 return NULL;
14122 }
14123
14124
14125 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14126 PyObject *resultobj;
14127 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14128 int arg2 ;
14129 bool arg3 ;
14130 PyObject * obj0 = 0 ;
14131 PyObject * obj2 = 0 ;
14132 char *kwnames[] = {
14133 (char *) "self",(char *) "id",(char *) "toggle", NULL
14134 };
14135
14136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14138 arg3 = PyInt_AsLong(obj2) ? true : false;
14139 if (PyErr_Occurred()) SWIG_fail;
14140 {
14141 PyThreadState* __tstate = wxPyBeginAllowThreads();
14142 (arg1)->SetToggle(arg2,arg3);
14143
14144 wxPyEndAllowThreads(__tstate);
14145 if (PyErr_Occurred()) SWIG_fail;
14146 }
14147 Py_INCREF(Py_None); resultobj = Py_None;
14148 return resultobj;
14149 fail:
14150 return NULL;
14151 }
14152
14153
14154 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14155 PyObject *resultobj;
14156 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14157 int arg2 ;
14158 PyObject *result;
14159 PyObject * obj0 = 0 ;
14160 char *kwnames[] = {
14161 (char *) "self",(char *) "id", NULL
14162 };
14163
14164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14166 {
14167 PyThreadState* __tstate = wxPyBeginAllowThreads();
14168 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14169
14170 wxPyEndAllowThreads(__tstate);
14171 if (PyErr_Occurred()) SWIG_fail;
14172 }
14173 resultobj = result;
14174 return resultobj;
14175 fail:
14176 return NULL;
14177 }
14178
14179
14180 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14181 PyObject *resultobj;
14182 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14183 int arg2 ;
14184 PyObject *arg3 = (PyObject *) 0 ;
14185 PyObject * obj0 = 0 ;
14186 PyObject * obj2 = 0 ;
14187 char *kwnames[] = {
14188 (char *) "self",(char *) "id",(char *) "clientData", NULL
14189 };
14190
14191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14193 arg3 = obj2;
14194 {
14195 PyThreadState* __tstate = wxPyBeginAllowThreads();
14196 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14197
14198 wxPyEndAllowThreads(__tstate);
14199 if (PyErr_Occurred()) SWIG_fail;
14200 }
14201 Py_INCREF(Py_None); resultobj = Py_None;
14202 return resultobj;
14203 fail:
14204 return NULL;
14205 }
14206
14207
14208 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14209 PyObject *resultobj;
14210 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14211 int arg2 ;
14212 int result;
14213 PyObject * obj0 = 0 ;
14214 char *kwnames[] = {
14215 (char *) "self",(char *) "id", NULL
14216 };
14217
14218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14220 {
14221 PyThreadState* __tstate = wxPyBeginAllowThreads();
14222 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14223
14224 wxPyEndAllowThreads(__tstate);
14225 if (PyErr_Occurred()) SWIG_fail;
14226 }
14227 resultobj = PyInt_FromLong((long)result);
14228 return resultobj;
14229 fail:
14230 return NULL;
14231 }
14232
14233
14234 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14235 PyObject *resultobj;
14236 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14237 int arg2 ;
14238 bool result;
14239 PyObject * obj0 = 0 ;
14240 char *kwnames[] = {
14241 (char *) "self",(char *) "id", NULL
14242 };
14243
14244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 result = (bool)(arg1)->GetToolState(arg2);
14249
14250 wxPyEndAllowThreads(__tstate);
14251 if (PyErr_Occurred()) SWIG_fail;
14252 }
14253 resultobj = PyInt_FromLong((long)result);
14254 return resultobj;
14255 fail:
14256 return NULL;
14257 }
14258
14259
14260 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14261 PyObject *resultobj;
14262 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14263 int arg2 ;
14264 bool result;
14265 PyObject * obj0 = 0 ;
14266 char *kwnames[] = {
14267 (char *) "self",(char *) "id", NULL
14268 };
14269
14270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14272 {
14273 PyThreadState* __tstate = wxPyBeginAllowThreads();
14274 result = (bool)(arg1)->GetToolEnabled(arg2);
14275
14276 wxPyEndAllowThreads(__tstate);
14277 if (PyErr_Occurred()) SWIG_fail;
14278 }
14279 resultobj = PyInt_FromLong((long)result);
14280 return resultobj;
14281 fail:
14282 return NULL;
14283 }
14284
14285
14286 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14287 PyObject *resultobj;
14288 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14289 int arg2 ;
14290 wxString *arg3 = 0 ;
14291 bool temp3 = False ;
14292 PyObject * obj0 = 0 ;
14293 PyObject * obj2 = 0 ;
14294 char *kwnames[] = {
14295 (char *) "self",(char *) "id",(char *) "helpString", NULL
14296 };
14297
14298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14300 {
14301 arg3 = wxString_in_helper(obj2);
14302 if (arg3 == NULL) SWIG_fail;
14303 temp3 = True;
14304 }
14305 {
14306 PyThreadState* __tstate = wxPyBeginAllowThreads();
14307 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14308
14309 wxPyEndAllowThreads(__tstate);
14310 if (PyErr_Occurred()) SWIG_fail;
14311 }
14312 Py_INCREF(Py_None); resultobj = Py_None;
14313 {
14314 if (temp3)
14315 delete arg3;
14316 }
14317 return resultobj;
14318 fail:
14319 {
14320 if (temp3)
14321 delete arg3;
14322 }
14323 return NULL;
14324 }
14325
14326
14327 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14328 PyObject *resultobj;
14329 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14330 int arg2 ;
14331 wxString result;
14332 PyObject * obj0 = 0 ;
14333 char *kwnames[] = {
14334 (char *) "self",(char *) "id", NULL
14335 };
14336
14337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14339 {
14340 PyThreadState* __tstate = wxPyBeginAllowThreads();
14341 result = (arg1)->GetToolShortHelp(arg2);
14342
14343 wxPyEndAllowThreads(__tstate);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 {
14347 #if wxUSE_UNICODE
14348 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14349 #else
14350 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14351 #endif
14352 }
14353 return resultobj;
14354 fail:
14355 return NULL;
14356 }
14357
14358
14359 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14360 PyObject *resultobj;
14361 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14362 int arg2 ;
14363 wxString *arg3 = 0 ;
14364 bool temp3 = False ;
14365 PyObject * obj0 = 0 ;
14366 PyObject * obj2 = 0 ;
14367 char *kwnames[] = {
14368 (char *) "self",(char *) "id",(char *) "helpString", NULL
14369 };
14370
14371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14373 {
14374 arg3 = wxString_in_helper(obj2);
14375 if (arg3 == NULL) SWIG_fail;
14376 temp3 = True;
14377 }
14378 {
14379 PyThreadState* __tstate = wxPyBeginAllowThreads();
14380 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14381
14382 wxPyEndAllowThreads(__tstate);
14383 if (PyErr_Occurred()) SWIG_fail;
14384 }
14385 Py_INCREF(Py_None); resultobj = Py_None;
14386 {
14387 if (temp3)
14388 delete arg3;
14389 }
14390 return resultobj;
14391 fail:
14392 {
14393 if (temp3)
14394 delete arg3;
14395 }
14396 return NULL;
14397 }
14398
14399
14400 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14401 PyObject *resultobj;
14402 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14403 int arg2 ;
14404 wxString result;
14405 PyObject * obj0 = 0 ;
14406 char *kwnames[] = {
14407 (char *) "self",(char *) "id", NULL
14408 };
14409
14410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14412 {
14413 PyThreadState* __tstate = wxPyBeginAllowThreads();
14414 result = (arg1)->GetToolLongHelp(arg2);
14415
14416 wxPyEndAllowThreads(__tstate);
14417 if (PyErr_Occurred()) SWIG_fail;
14418 }
14419 {
14420 #if wxUSE_UNICODE
14421 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14422 #else
14423 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14424 #endif
14425 }
14426 return resultobj;
14427 fail:
14428 return NULL;
14429 }
14430
14431
14432 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14433 PyObject *resultobj;
14434 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14435 int arg2 ;
14436 int arg3 ;
14437 PyObject * obj0 = 0 ;
14438 char *kwnames[] = {
14439 (char *) "self",(char *) "x",(char *) "y", NULL
14440 };
14441
14442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14444 {
14445 PyThreadState* __tstate = wxPyBeginAllowThreads();
14446 (arg1)->SetMargins(arg2,arg3);
14447
14448 wxPyEndAllowThreads(__tstate);
14449 if (PyErr_Occurred()) SWIG_fail;
14450 }
14451 Py_INCREF(Py_None); resultobj = Py_None;
14452 return resultobj;
14453 fail:
14454 return NULL;
14455 }
14456
14457
14458 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14459 PyObject *resultobj;
14460 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14461 wxSize *arg2 = 0 ;
14462 wxSize temp2 ;
14463 PyObject * obj0 = 0 ;
14464 PyObject * obj1 = 0 ;
14465 char *kwnames[] = {
14466 (char *) "self",(char *) "size", NULL
14467 };
14468
14469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14471 {
14472 arg2 = &temp2;
14473 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14474 }
14475 {
14476 PyThreadState* __tstate = wxPyBeginAllowThreads();
14477 (arg1)->SetMargins((wxSize const &)*arg2);
14478
14479 wxPyEndAllowThreads(__tstate);
14480 if (PyErr_Occurred()) SWIG_fail;
14481 }
14482 Py_INCREF(Py_None); resultobj = Py_None;
14483 return resultobj;
14484 fail:
14485 return NULL;
14486 }
14487
14488
14489 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14490 PyObject *resultobj;
14491 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14492 int arg2 ;
14493 PyObject * obj0 = 0 ;
14494 char *kwnames[] = {
14495 (char *) "self",(char *) "packing", NULL
14496 };
14497
14498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14500 {
14501 PyThreadState* __tstate = wxPyBeginAllowThreads();
14502 (arg1)->SetToolPacking(arg2);
14503
14504 wxPyEndAllowThreads(__tstate);
14505 if (PyErr_Occurred()) SWIG_fail;
14506 }
14507 Py_INCREF(Py_None); resultobj = Py_None;
14508 return resultobj;
14509 fail:
14510 return NULL;
14511 }
14512
14513
14514 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14515 PyObject *resultobj;
14516 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14517 int arg2 ;
14518 PyObject * obj0 = 0 ;
14519 char *kwnames[] = {
14520 (char *) "self",(char *) "separation", NULL
14521 };
14522
14523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14525 {
14526 PyThreadState* __tstate = wxPyBeginAllowThreads();
14527 (arg1)->SetToolSeparation(arg2);
14528
14529 wxPyEndAllowThreads(__tstate);
14530 if (PyErr_Occurred()) SWIG_fail;
14531 }
14532 Py_INCREF(Py_None); resultobj = Py_None;
14533 return resultobj;
14534 fail:
14535 return NULL;
14536 }
14537
14538
14539 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14540 PyObject *resultobj;
14541 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14542 wxSize result;
14543 PyObject * obj0 = 0 ;
14544 char *kwnames[] = {
14545 (char *) "self", NULL
14546 };
14547
14548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14550 {
14551 PyThreadState* __tstate = wxPyBeginAllowThreads();
14552 result = (arg1)->GetToolMargins();
14553
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 {
14558 wxSize * resultptr;
14559 resultptr = new wxSize((wxSize &) result);
14560 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14561 }
14562 return resultobj;
14563 fail:
14564 return NULL;
14565 }
14566
14567
14568 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14569 PyObject *resultobj;
14570 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14571 wxSize result;
14572 PyObject * obj0 = 0 ;
14573 char *kwnames[] = {
14574 (char *) "self", NULL
14575 };
14576
14577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14579 {
14580 PyThreadState* __tstate = wxPyBeginAllowThreads();
14581 result = (arg1)->GetMargins();
14582
14583 wxPyEndAllowThreads(__tstate);
14584 if (PyErr_Occurred()) SWIG_fail;
14585 }
14586 {
14587 wxSize * resultptr;
14588 resultptr = new wxSize((wxSize &) result);
14589 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14590 }
14591 return resultobj;
14592 fail:
14593 return NULL;
14594 }
14595
14596
14597 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14598 PyObject *resultobj;
14599 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14600 int result;
14601 PyObject * obj0 = 0 ;
14602 char *kwnames[] = {
14603 (char *) "self", NULL
14604 };
14605
14606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14608 {
14609 PyThreadState* __tstate = wxPyBeginAllowThreads();
14610 result = (int)(arg1)->GetToolPacking();
14611
14612 wxPyEndAllowThreads(__tstate);
14613 if (PyErr_Occurred()) SWIG_fail;
14614 }
14615 resultobj = PyInt_FromLong((long)result);
14616 return resultobj;
14617 fail:
14618 return NULL;
14619 }
14620
14621
14622 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14623 PyObject *resultobj;
14624 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14625 int result;
14626 PyObject * obj0 = 0 ;
14627 char *kwnames[] = {
14628 (char *) "self", NULL
14629 };
14630
14631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14633 {
14634 PyThreadState* __tstate = wxPyBeginAllowThreads();
14635 result = (int)(arg1)->GetToolSeparation();
14636
14637 wxPyEndAllowThreads(__tstate);
14638 if (PyErr_Occurred()) SWIG_fail;
14639 }
14640 resultobj = PyInt_FromLong((long)result);
14641 return resultobj;
14642 fail:
14643 return NULL;
14644 }
14645
14646
14647 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14648 PyObject *resultobj;
14649 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14650 int arg2 ;
14651 PyObject * obj0 = 0 ;
14652 char *kwnames[] = {
14653 (char *) "self",(char *) "nRows", NULL
14654 };
14655
14656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
14660 (arg1)->SetRows(arg2);
14661
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 Py_INCREF(Py_None); resultobj = Py_None;
14666 return resultobj;
14667 fail:
14668 return NULL;
14669 }
14670
14671
14672 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14673 PyObject *resultobj;
14674 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14675 int arg2 ;
14676 int arg3 ;
14677 PyObject * obj0 = 0 ;
14678 char *kwnames[] = {
14679 (char *) "self",(char *) "rows",(char *) "cols", NULL
14680 };
14681
14682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14684 {
14685 PyThreadState* __tstate = wxPyBeginAllowThreads();
14686 (arg1)->SetMaxRowsCols(arg2,arg3);
14687
14688 wxPyEndAllowThreads(__tstate);
14689 if (PyErr_Occurred()) SWIG_fail;
14690 }
14691 Py_INCREF(Py_None); resultobj = Py_None;
14692 return resultobj;
14693 fail:
14694 return NULL;
14695 }
14696
14697
14698 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14699 PyObject *resultobj;
14700 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14701 int result;
14702 PyObject * obj0 = 0 ;
14703 char *kwnames[] = {
14704 (char *) "self", NULL
14705 };
14706
14707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14709 {
14710 PyThreadState* __tstate = wxPyBeginAllowThreads();
14711 result = (int)(arg1)->GetMaxRows();
14712
14713 wxPyEndAllowThreads(__tstate);
14714 if (PyErr_Occurred()) SWIG_fail;
14715 }
14716 resultobj = PyInt_FromLong((long)result);
14717 return resultobj;
14718 fail:
14719 return NULL;
14720 }
14721
14722
14723 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14724 PyObject *resultobj;
14725 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14726 int result;
14727 PyObject * obj0 = 0 ;
14728 char *kwnames[] = {
14729 (char *) "self", NULL
14730 };
14731
14732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14734 {
14735 PyThreadState* __tstate = wxPyBeginAllowThreads();
14736 result = (int)(arg1)->GetMaxCols();
14737
14738 wxPyEndAllowThreads(__tstate);
14739 if (PyErr_Occurred()) SWIG_fail;
14740 }
14741 resultobj = PyInt_FromLong((long)result);
14742 return resultobj;
14743 fail:
14744 return NULL;
14745 }
14746
14747
14748 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14749 PyObject *resultobj;
14750 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14751 wxSize *arg2 = 0 ;
14752 wxSize temp2 ;
14753 PyObject * obj0 = 0 ;
14754 PyObject * obj1 = 0 ;
14755 char *kwnames[] = {
14756 (char *) "self",(char *) "size", NULL
14757 };
14758
14759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14761 {
14762 arg2 = &temp2;
14763 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14764 }
14765 {
14766 PyThreadState* __tstate = wxPyBeginAllowThreads();
14767 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14768
14769 wxPyEndAllowThreads(__tstate);
14770 if (PyErr_Occurred()) SWIG_fail;
14771 }
14772 Py_INCREF(Py_None); resultobj = Py_None;
14773 return resultobj;
14774 fail:
14775 return NULL;
14776 }
14777
14778
14779 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj;
14781 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14782 wxSize result;
14783 PyObject * obj0 = 0 ;
14784 char *kwnames[] = {
14785 (char *) "self", NULL
14786 };
14787
14788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14790 {
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 result = (arg1)->GetToolBitmapSize();
14793
14794 wxPyEndAllowThreads(__tstate);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 {
14798 wxSize * resultptr;
14799 resultptr = new wxSize((wxSize &) result);
14800 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14801 }
14802 return resultobj;
14803 fail:
14804 return NULL;
14805 }
14806
14807
14808 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14809 PyObject *resultobj;
14810 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14811 wxSize result;
14812 PyObject * obj0 = 0 ;
14813 char *kwnames[] = {
14814 (char *) "self", NULL
14815 };
14816
14817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14819 {
14820 PyThreadState* __tstate = wxPyBeginAllowThreads();
14821 result = (arg1)->GetToolSize();
14822
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 {
14827 wxSize * resultptr;
14828 resultptr = new wxSize((wxSize &) result);
14829 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14830 }
14831 return resultobj;
14832 fail:
14833 return NULL;
14834 }
14835
14836
14837 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14838 PyObject *resultobj;
14839 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14840 int arg2 ;
14841 int arg3 ;
14842 wxToolBarToolBase *result;
14843 PyObject * obj0 = 0 ;
14844 char *kwnames[] = {
14845 (char *) "self",(char *) "x",(char *) "y", NULL
14846 };
14847
14848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14850 {
14851 PyThreadState* __tstate = wxPyBeginAllowThreads();
14852 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14853
14854 wxPyEndAllowThreads(__tstate);
14855 if (PyErr_Occurred()) SWIG_fail;
14856 }
14857 {
14858 resultobj = wxPyMake_wxObject(result);
14859 }
14860 return resultobj;
14861 fail:
14862 return NULL;
14863 }
14864
14865
14866 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14867 PyObject *resultobj;
14868 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14869 bool result;
14870 PyObject * obj0 = 0 ;
14871 char *kwnames[] = {
14872 (char *) "self", NULL
14873 };
14874
14875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14877 {
14878 PyThreadState* __tstate = wxPyBeginAllowThreads();
14879 result = (bool)(arg1)->IsVertical();
14880
14881 wxPyEndAllowThreads(__tstate);
14882 if (PyErr_Occurred()) SWIG_fail;
14883 }
14884 resultobj = PyInt_FromLong((long)result);
14885 return resultobj;
14886 fail:
14887 return NULL;
14888 }
14889
14890
14891 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14892 PyObject *obj;
14893 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14894 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14895 Py_INCREF(obj);
14896 return Py_BuildValue((char *)"");
14897 }
14898 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj;
14900 wxWindow *arg1 = (wxWindow *) 0 ;
14901 int arg2 ;
14902 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14903 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14904 wxSize const &arg4_defvalue = wxDefaultSize ;
14905 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14906 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14907 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14908 wxString *arg6 = (wxString *) &arg6_defvalue ;
14909 wxToolBar *result;
14910 wxPoint temp3 ;
14911 wxSize temp4 ;
14912 bool temp6 = False ;
14913 PyObject * obj0 = 0 ;
14914 PyObject * obj2 = 0 ;
14915 PyObject * obj3 = 0 ;
14916 PyObject * obj5 = 0 ;
14917 char *kwnames[] = {
14918 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14919 };
14920
14921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14923 if (obj2) {
14924 {
14925 arg3 = &temp3;
14926 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14927 }
14928 }
14929 if (obj3) {
14930 {
14931 arg4 = &temp4;
14932 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14933 }
14934 }
14935 if (obj5) {
14936 {
14937 arg6 = wxString_in_helper(obj5);
14938 if (arg6 == NULL) SWIG_fail;
14939 temp6 = True;
14940 }
14941 }
14942 {
14943 PyThreadState* __tstate = wxPyBeginAllowThreads();
14944 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14945
14946 wxPyEndAllowThreads(__tstate);
14947 if (PyErr_Occurred()) SWIG_fail;
14948 }
14949 {
14950 resultobj = wxPyMake_wxObject(result);
14951 }
14952 {
14953 if (temp6)
14954 delete arg6;
14955 }
14956 return resultobj;
14957 fail:
14958 {
14959 if (temp6)
14960 delete arg6;
14961 }
14962 return NULL;
14963 }
14964
14965
14966 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14967 PyObject *resultobj;
14968 wxToolBar *result;
14969 char *kwnames[] = {
14970 NULL
14971 };
14972
14973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14974 {
14975 PyThreadState* __tstate = wxPyBeginAllowThreads();
14976 result = (wxToolBar *)new wxToolBar();
14977
14978 wxPyEndAllowThreads(__tstate);
14979 if (PyErr_Occurred()) SWIG_fail;
14980 }
14981 {
14982 resultobj = wxPyMake_wxObject(result);
14983 }
14984 return resultobj;
14985 fail:
14986 return NULL;
14987 }
14988
14989
14990 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14991 PyObject *resultobj;
14992 wxToolBar *arg1 = (wxToolBar *) 0 ;
14993 wxWindow *arg2 = (wxWindow *) 0 ;
14994 int arg3 ;
14995 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14996 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14997 wxSize const &arg5_defvalue = wxDefaultSize ;
14998 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14999 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15000 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15001 wxString *arg7 = (wxString *) &arg7_defvalue ;
15002 bool result;
15003 wxPoint temp4 ;
15004 wxSize temp5 ;
15005 bool temp7 = False ;
15006 PyObject * obj0 = 0 ;
15007 PyObject * obj1 = 0 ;
15008 PyObject * obj3 = 0 ;
15009 PyObject * obj4 = 0 ;
15010 PyObject * obj6 = 0 ;
15011 char *kwnames[] = {
15012 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15013 };
15014
15015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15017 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15018 if (obj3) {
15019 {
15020 arg4 = &temp4;
15021 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15022 }
15023 }
15024 if (obj4) {
15025 {
15026 arg5 = &temp5;
15027 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15028 }
15029 }
15030 if (obj6) {
15031 {
15032 arg7 = wxString_in_helper(obj6);
15033 if (arg7 == NULL) SWIG_fail;
15034 temp7 = True;
15035 }
15036 }
15037 {
15038 PyThreadState* __tstate = wxPyBeginAllowThreads();
15039 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15040
15041 wxPyEndAllowThreads(__tstate);
15042 if (PyErr_Occurred()) SWIG_fail;
15043 }
15044 resultobj = PyInt_FromLong((long)result);
15045 {
15046 if (temp7)
15047 delete arg7;
15048 }
15049 return resultobj;
15050 fail:
15051 {
15052 if (temp7)
15053 delete arg7;
15054 }
15055 return NULL;
15056 }
15057
15058
15059 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15060 PyObject *resultobj;
15061 wxToolBar *arg1 = (wxToolBar *) 0 ;
15062 int arg2 ;
15063 int arg3 ;
15064 wxToolBarToolBase *result;
15065 PyObject * obj0 = 0 ;
15066 char *kwnames[] = {
15067 (char *) "self",(char *) "x",(char *) "y", NULL
15068 };
15069
15070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15072 {
15073 PyThreadState* __tstate = wxPyBeginAllowThreads();
15074 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15075
15076 wxPyEndAllowThreads(__tstate);
15077 if (PyErr_Occurred()) SWIG_fail;
15078 }
15079 {
15080 resultobj = wxPyMake_wxObject(result);
15081 }
15082 return resultobj;
15083 fail:
15084 return NULL;
15085 }
15086
15087
15088 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15089 PyObject *obj;
15090 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15091 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15092 Py_INCREF(obj);
15093 return Py_BuildValue((char *)"");
15094 }
15095 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15096 PyObject *resultobj;
15097 wxColour const &arg1_defvalue = wxNullColour ;
15098 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15099 wxColour const &arg2_defvalue = wxNullColour ;
15100 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15101 wxFont const &arg3_defvalue = wxNullFont ;
15102 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15103 wxListItemAttr *result;
15104 wxColour temp1 ;
15105 wxColour temp2 ;
15106 PyObject * obj0 = 0 ;
15107 PyObject * obj1 = 0 ;
15108 PyObject * obj2 = 0 ;
15109 char *kwnames[] = {
15110 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15111 };
15112
15113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15114 if (obj0) {
15115 {
15116 arg1 = &temp1;
15117 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15118 }
15119 }
15120 if (obj1) {
15121 {
15122 arg2 = &temp2;
15123 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15124 }
15125 }
15126 if (obj2) {
15127 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15128 if (arg3 == NULL) {
15129 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15130 }
15131 }
15132 {
15133 PyThreadState* __tstate = wxPyBeginAllowThreads();
15134 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15135
15136 wxPyEndAllowThreads(__tstate);
15137 if (PyErr_Occurred()) SWIG_fail;
15138 }
15139 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15140 return resultobj;
15141 fail:
15142 return NULL;
15143 }
15144
15145
15146 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15147 PyObject *resultobj;
15148 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15149 wxColour *arg2 = 0 ;
15150 wxColour temp2 ;
15151 PyObject * obj0 = 0 ;
15152 PyObject * obj1 = 0 ;
15153 char *kwnames[] = {
15154 (char *) "self",(char *) "colText", NULL
15155 };
15156
15157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15159 {
15160 arg2 = &temp2;
15161 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15162 }
15163 {
15164 PyThreadState* __tstate = wxPyBeginAllowThreads();
15165 (arg1)->SetTextColour((wxColour const &)*arg2);
15166
15167 wxPyEndAllowThreads(__tstate);
15168 if (PyErr_Occurred()) SWIG_fail;
15169 }
15170 Py_INCREF(Py_None); resultobj = Py_None;
15171 return resultobj;
15172 fail:
15173 return NULL;
15174 }
15175
15176
15177 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15178 PyObject *resultobj;
15179 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15180 wxColour *arg2 = 0 ;
15181 wxColour temp2 ;
15182 PyObject * obj0 = 0 ;
15183 PyObject * obj1 = 0 ;
15184 char *kwnames[] = {
15185 (char *) "self",(char *) "colBack", NULL
15186 };
15187
15188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15190 {
15191 arg2 = &temp2;
15192 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15193 }
15194 {
15195 PyThreadState* __tstate = wxPyBeginAllowThreads();
15196 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15197
15198 wxPyEndAllowThreads(__tstate);
15199 if (PyErr_Occurred()) SWIG_fail;
15200 }
15201 Py_INCREF(Py_None); resultobj = Py_None;
15202 return resultobj;
15203 fail:
15204 return NULL;
15205 }
15206
15207
15208 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15209 PyObject *resultobj;
15210 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15211 wxFont *arg2 = 0 ;
15212 PyObject * obj0 = 0 ;
15213 PyObject * obj1 = 0 ;
15214 char *kwnames[] = {
15215 (char *) "self",(char *) "font", NULL
15216 };
15217
15218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15220 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15221 if (arg2 == NULL) {
15222 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15223 }
15224 {
15225 PyThreadState* __tstate = wxPyBeginAllowThreads();
15226 (arg1)->SetFont((wxFont const &)*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_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15239 PyObject *resultobj;
15240 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15241 bool result;
15242 PyObject * obj0 = 0 ;
15243 char *kwnames[] = {
15244 (char *) "self", NULL
15245 };
15246
15247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15249 {
15250 PyThreadState* __tstate = wxPyBeginAllowThreads();
15251 result = (bool)(arg1)->HasTextColour();
15252
15253 wxPyEndAllowThreads(__tstate);
15254 if (PyErr_Occurred()) SWIG_fail;
15255 }
15256 resultobj = PyInt_FromLong((long)result);
15257 return resultobj;
15258 fail:
15259 return NULL;
15260 }
15261
15262
15263 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15264 PyObject *resultobj;
15265 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15266 bool result;
15267 PyObject * obj0 = 0 ;
15268 char *kwnames[] = {
15269 (char *) "self", NULL
15270 };
15271
15272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 result = (bool)(arg1)->HasBackgroundColour();
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 resultobj = PyInt_FromLong((long)result);
15282 return resultobj;
15283 fail:
15284 return NULL;
15285 }
15286
15287
15288 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15289 PyObject *resultobj;
15290 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15291 bool result;
15292 PyObject * obj0 = 0 ;
15293 char *kwnames[] = {
15294 (char *) "self", NULL
15295 };
15296
15297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 result = (bool)(arg1)->HasFont();
15302
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15306 resultobj = PyInt_FromLong((long)result);
15307 return resultobj;
15308 fail:
15309 return NULL;
15310 }
15311
15312
15313 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15314 PyObject *resultobj;
15315 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15316 wxColour result;
15317 PyObject * obj0 = 0 ;
15318 char *kwnames[] = {
15319 (char *) "self", NULL
15320 };
15321
15322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15324 {
15325 PyThreadState* __tstate = wxPyBeginAllowThreads();
15326 result = (arg1)->GetTextColour();
15327
15328 wxPyEndAllowThreads(__tstate);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 }
15331 {
15332 wxColour * resultptr;
15333 resultptr = new wxColour((wxColour &) result);
15334 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15335 }
15336 return resultobj;
15337 fail:
15338 return NULL;
15339 }
15340
15341
15342 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15343 PyObject *resultobj;
15344 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15345 wxColour result;
15346 PyObject * obj0 = 0 ;
15347 char *kwnames[] = {
15348 (char *) "self", NULL
15349 };
15350
15351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15353 {
15354 PyThreadState* __tstate = wxPyBeginAllowThreads();
15355 result = (arg1)->GetBackgroundColour();
15356
15357 wxPyEndAllowThreads(__tstate);
15358 if (PyErr_Occurred()) SWIG_fail;
15359 }
15360 {
15361 wxColour * resultptr;
15362 resultptr = new wxColour((wxColour &) result);
15363 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15364 }
15365 return resultobj;
15366 fail:
15367 return NULL;
15368 }
15369
15370
15371 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15372 PyObject *resultobj;
15373 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15374 wxFont result;
15375 PyObject * obj0 = 0 ;
15376 char *kwnames[] = {
15377 (char *) "self", NULL
15378 };
15379
15380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15382 {
15383 PyThreadState* __tstate = wxPyBeginAllowThreads();
15384 result = (arg1)->GetFont();
15385
15386 wxPyEndAllowThreads(__tstate);
15387 if (PyErr_Occurred()) SWIG_fail;
15388 }
15389 {
15390 wxFont * resultptr;
15391 resultptr = new wxFont((wxFont &) result);
15392 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15393 }
15394 return resultobj;
15395 fail:
15396 return NULL;
15397 }
15398
15399
15400 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj;
15402 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15403 PyObject * obj0 = 0 ;
15404 char *kwnames[] = {
15405 (char *) "self", NULL
15406 };
15407
15408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15410 {
15411 PyThreadState* __tstate = wxPyBeginAllowThreads();
15412 wxListItemAttr_Destroy(arg1);
15413
15414 wxPyEndAllowThreads(__tstate);
15415 if (PyErr_Occurred()) SWIG_fail;
15416 }
15417 Py_INCREF(Py_None); resultobj = Py_None;
15418 return resultobj;
15419 fail:
15420 return NULL;
15421 }
15422
15423
15424 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15425 PyObject *obj;
15426 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15427 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15428 Py_INCREF(obj);
15429 return Py_BuildValue((char *)"");
15430 }
15431 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15432 PyObject *resultobj;
15433 wxListItem *result;
15434 char *kwnames[] = {
15435 NULL
15436 };
15437
15438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15439 {
15440 PyThreadState* __tstate = wxPyBeginAllowThreads();
15441 result = (wxListItem *)new wxListItem();
15442
15443 wxPyEndAllowThreads(__tstate);
15444 if (PyErr_Occurred()) SWIG_fail;
15445 }
15446 {
15447 resultobj = wxPyMake_wxObject(result);
15448 }
15449 return resultobj;
15450 fail:
15451 return NULL;
15452 }
15453
15454
15455 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15456 PyObject *resultobj;
15457 wxListItem *arg1 = (wxListItem *) 0 ;
15458 PyObject * obj0 = 0 ;
15459 char *kwnames[] = {
15460 (char *) "self", NULL
15461 };
15462
15463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15465 {
15466 PyThreadState* __tstate = wxPyBeginAllowThreads();
15467 delete arg1;
15468
15469 wxPyEndAllowThreads(__tstate);
15470 if (PyErr_Occurred()) SWIG_fail;
15471 }
15472 Py_INCREF(Py_None); resultobj = Py_None;
15473 return resultobj;
15474 fail:
15475 return NULL;
15476 }
15477
15478
15479 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15480 PyObject *resultobj;
15481 wxListItem *arg1 = (wxListItem *) 0 ;
15482 PyObject * obj0 = 0 ;
15483 char *kwnames[] = {
15484 (char *) "self", NULL
15485 };
15486
15487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15489 {
15490 PyThreadState* __tstate = wxPyBeginAllowThreads();
15491 (arg1)->Clear();
15492
15493 wxPyEndAllowThreads(__tstate);
15494 if (PyErr_Occurred()) SWIG_fail;
15495 }
15496 Py_INCREF(Py_None); resultobj = Py_None;
15497 return resultobj;
15498 fail:
15499 return NULL;
15500 }
15501
15502
15503 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15504 PyObject *resultobj;
15505 wxListItem *arg1 = (wxListItem *) 0 ;
15506 PyObject * obj0 = 0 ;
15507 char *kwnames[] = {
15508 (char *) "self", NULL
15509 };
15510
15511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15513 {
15514 PyThreadState* __tstate = wxPyBeginAllowThreads();
15515 (arg1)->ClearAttributes();
15516
15517 wxPyEndAllowThreads(__tstate);
15518 if (PyErr_Occurred()) SWIG_fail;
15519 }
15520 Py_INCREF(Py_None); resultobj = Py_None;
15521 return resultobj;
15522 fail:
15523 return NULL;
15524 }
15525
15526
15527 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15528 PyObject *resultobj;
15529 wxListItem *arg1 = (wxListItem *) 0 ;
15530 long arg2 ;
15531 PyObject * obj0 = 0 ;
15532 char *kwnames[] = {
15533 (char *) "self",(char *) "mask", NULL
15534 };
15535
15536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15538 {
15539 PyThreadState* __tstate = wxPyBeginAllowThreads();
15540 (arg1)->SetMask(arg2);
15541
15542 wxPyEndAllowThreads(__tstate);
15543 if (PyErr_Occurred()) SWIG_fail;
15544 }
15545 Py_INCREF(Py_None); resultobj = Py_None;
15546 return resultobj;
15547 fail:
15548 return NULL;
15549 }
15550
15551
15552 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15553 PyObject *resultobj;
15554 wxListItem *arg1 = (wxListItem *) 0 ;
15555 long arg2 ;
15556 PyObject * obj0 = 0 ;
15557 char *kwnames[] = {
15558 (char *) "self",(char *) "id", NULL
15559 };
15560
15561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15563 {
15564 PyThreadState* __tstate = wxPyBeginAllowThreads();
15565 (arg1)->SetId(arg2);
15566
15567 wxPyEndAllowThreads(__tstate);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 }
15570 Py_INCREF(Py_None); resultobj = Py_None;
15571 return resultobj;
15572 fail:
15573 return NULL;
15574 }
15575
15576
15577 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15578 PyObject *resultobj;
15579 wxListItem *arg1 = (wxListItem *) 0 ;
15580 int arg2 ;
15581 PyObject * obj0 = 0 ;
15582 char *kwnames[] = {
15583 (char *) "self",(char *) "col", NULL
15584 };
15585
15586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 (arg1)->SetColumn(arg2);
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 Py_INCREF(Py_None); resultobj = Py_None;
15596 return resultobj;
15597 fail:
15598 return NULL;
15599 }
15600
15601
15602 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15603 PyObject *resultobj;
15604 wxListItem *arg1 = (wxListItem *) 0 ;
15605 long arg2 ;
15606 PyObject * obj0 = 0 ;
15607 char *kwnames[] = {
15608 (char *) "self",(char *) "state", NULL
15609 };
15610
15611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15613 {
15614 PyThreadState* __tstate = wxPyBeginAllowThreads();
15615 (arg1)->SetState(arg2);
15616
15617 wxPyEndAllowThreads(__tstate);
15618 if (PyErr_Occurred()) SWIG_fail;
15619 }
15620 Py_INCREF(Py_None); resultobj = Py_None;
15621 return resultobj;
15622 fail:
15623 return NULL;
15624 }
15625
15626
15627 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15628 PyObject *resultobj;
15629 wxListItem *arg1 = (wxListItem *) 0 ;
15630 long arg2 ;
15631 PyObject * obj0 = 0 ;
15632 char *kwnames[] = {
15633 (char *) "self",(char *) "stateMask", NULL
15634 };
15635
15636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15638 {
15639 PyThreadState* __tstate = wxPyBeginAllowThreads();
15640 (arg1)->SetStateMask(arg2);
15641
15642 wxPyEndAllowThreads(__tstate);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 }
15645 Py_INCREF(Py_None); resultobj = Py_None;
15646 return resultobj;
15647 fail:
15648 return NULL;
15649 }
15650
15651
15652 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15653 PyObject *resultobj;
15654 wxListItem *arg1 = (wxListItem *) 0 ;
15655 wxString *arg2 = 0 ;
15656 bool temp2 = False ;
15657 PyObject * obj0 = 0 ;
15658 PyObject * obj1 = 0 ;
15659 char *kwnames[] = {
15660 (char *) "self",(char *) "text", NULL
15661 };
15662
15663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15665 {
15666 arg2 = wxString_in_helper(obj1);
15667 if (arg2 == NULL) SWIG_fail;
15668 temp2 = True;
15669 }
15670 {
15671 PyThreadState* __tstate = wxPyBeginAllowThreads();
15672 (arg1)->SetText((wxString const &)*arg2);
15673
15674 wxPyEndAllowThreads(__tstate);
15675 if (PyErr_Occurred()) SWIG_fail;
15676 }
15677 Py_INCREF(Py_None); resultobj = Py_None;
15678 {
15679 if (temp2)
15680 delete arg2;
15681 }
15682 return resultobj;
15683 fail:
15684 {
15685 if (temp2)
15686 delete arg2;
15687 }
15688 return NULL;
15689 }
15690
15691
15692 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15693 PyObject *resultobj;
15694 wxListItem *arg1 = (wxListItem *) 0 ;
15695 int arg2 ;
15696 PyObject * obj0 = 0 ;
15697 char *kwnames[] = {
15698 (char *) "self",(char *) "image", NULL
15699 };
15700
15701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15703 {
15704 PyThreadState* __tstate = wxPyBeginAllowThreads();
15705 (arg1)->SetImage(arg2);
15706
15707 wxPyEndAllowThreads(__tstate);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
15710 Py_INCREF(Py_None); resultobj = Py_None;
15711 return resultobj;
15712 fail:
15713 return NULL;
15714 }
15715
15716
15717 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15718 PyObject *resultobj;
15719 wxListItem *arg1 = (wxListItem *) 0 ;
15720 long arg2 ;
15721 PyObject * obj0 = 0 ;
15722 char *kwnames[] = {
15723 (char *) "self",(char *) "data", NULL
15724 };
15725
15726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15728 {
15729 PyThreadState* __tstate = wxPyBeginAllowThreads();
15730 (arg1)->SetData(arg2);
15731
15732 wxPyEndAllowThreads(__tstate);
15733 if (PyErr_Occurred()) SWIG_fail;
15734 }
15735 Py_INCREF(Py_None); resultobj = Py_None;
15736 return resultobj;
15737 fail:
15738 return NULL;
15739 }
15740
15741
15742 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15743 PyObject *resultobj;
15744 wxListItem *arg1 = (wxListItem *) 0 ;
15745 int arg2 ;
15746 PyObject * obj0 = 0 ;
15747 char *kwnames[] = {
15748 (char *) "self",(char *) "width", NULL
15749 };
15750
15751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
15752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15753 {
15754 PyThreadState* __tstate = wxPyBeginAllowThreads();
15755 (arg1)->SetWidth(arg2);
15756
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 Py_INCREF(Py_None); resultobj = Py_None;
15761 return resultobj;
15762 fail:
15763 return NULL;
15764 }
15765
15766
15767 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15768 PyObject *resultobj;
15769 wxListItem *arg1 = (wxListItem *) 0 ;
15770 int arg2 ;
15771 PyObject * obj0 = 0 ;
15772 char *kwnames[] = {
15773 (char *) "self",(char *) "align", NULL
15774 };
15775
15776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15778 {
15779 PyThreadState* __tstate = wxPyBeginAllowThreads();
15780 (arg1)->SetAlign((wxListColumnFormat )arg2);
15781
15782 wxPyEndAllowThreads(__tstate);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 }
15785 Py_INCREF(Py_None); resultobj = Py_None;
15786 return resultobj;
15787 fail:
15788 return NULL;
15789 }
15790
15791
15792 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15793 PyObject *resultobj;
15794 wxListItem *arg1 = (wxListItem *) 0 ;
15795 wxColour *arg2 = 0 ;
15796 wxColour temp2 ;
15797 PyObject * obj0 = 0 ;
15798 PyObject * obj1 = 0 ;
15799 char *kwnames[] = {
15800 (char *) "self",(char *) "colText", NULL
15801 };
15802
15803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15805 {
15806 arg2 = &temp2;
15807 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15808 }
15809 {
15810 PyThreadState* __tstate = wxPyBeginAllowThreads();
15811 (arg1)->SetTextColour((wxColour const &)*arg2);
15812
15813 wxPyEndAllowThreads(__tstate);
15814 if (PyErr_Occurred()) SWIG_fail;
15815 }
15816 Py_INCREF(Py_None); resultobj = Py_None;
15817 return resultobj;
15818 fail:
15819 return NULL;
15820 }
15821
15822
15823 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15824 PyObject *resultobj;
15825 wxListItem *arg1 = (wxListItem *) 0 ;
15826 wxColour *arg2 = 0 ;
15827 wxColour temp2 ;
15828 PyObject * obj0 = 0 ;
15829 PyObject * obj1 = 0 ;
15830 char *kwnames[] = {
15831 (char *) "self",(char *) "colBack", NULL
15832 };
15833
15834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15836 {
15837 arg2 = &temp2;
15838 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15839 }
15840 {
15841 PyThreadState* __tstate = wxPyBeginAllowThreads();
15842 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15843
15844 wxPyEndAllowThreads(__tstate);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 Py_INCREF(Py_None); resultobj = Py_None;
15848 return resultobj;
15849 fail:
15850 return NULL;
15851 }
15852
15853
15854 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15855 PyObject *resultobj;
15856 wxListItem *arg1 = (wxListItem *) 0 ;
15857 wxFont *arg2 = 0 ;
15858 PyObject * obj0 = 0 ;
15859 PyObject * obj1 = 0 ;
15860 char *kwnames[] = {
15861 (char *) "self",(char *) "font", NULL
15862 };
15863
15864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15866 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15867 if (arg2 == NULL) {
15868 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15869 }
15870 {
15871 PyThreadState* __tstate = wxPyBeginAllowThreads();
15872 (arg1)->SetFont((wxFont const &)*arg2);
15873
15874 wxPyEndAllowThreads(__tstate);
15875 if (PyErr_Occurred()) SWIG_fail;
15876 }
15877 Py_INCREF(Py_None); resultobj = Py_None;
15878 return resultobj;
15879 fail:
15880 return NULL;
15881 }
15882
15883
15884 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15885 PyObject *resultobj;
15886 wxListItem *arg1 = (wxListItem *) 0 ;
15887 long result;
15888 PyObject * obj0 = 0 ;
15889 char *kwnames[] = {
15890 (char *) "self", NULL
15891 };
15892
15893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 result = (long)(arg1)->GetMask();
15898
15899 wxPyEndAllowThreads(__tstate);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 }
15902 resultobj = PyInt_FromLong((long)result);
15903 return resultobj;
15904 fail:
15905 return NULL;
15906 }
15907
15908
15909 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15910 PyObject *resultobj;
15911 wxListItem *arg1 = (wxListItem *) 0 ;
15912 long result;
15913 PyObject * obj0 = 0 ;
15914 char *kwnames[] = {
15915 (char *) "self", NULL
15916 };
15917
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15920 {
15921 PyThreadState* __tstate = wxPyBeginAllowThreads();
15922 result = (long)(arg1)->GetId();
15923
15924 wxPyEndAllowThreads(__tstate);
15925 if (PyErr_Occurred()) SWIG_fail;
15926 }
15927 resultobj = PyInt_FromLong((long)result);
15928 return resultobj;
15929 fail:
15930 return NULL;
15931 }
15932
15933
15934 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15935 PyObject *resultobj;
15936 wxListItem *arg1 = (wxListItem *) 0 ;
15937 int result;
15938 PyObject * obj0 = 0 ;
15939 char *kwnames[] = {
15940 (char *) "self", NULL
15941 };
15942
15943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15945 {
15946 PyThreadState* __tstate = wxPyBeginAllowThreads();
15947 result = (int)(arg1)->GetColumn();
15948
15949 wxPyEndAllowThreads(__tstate);
15950 if (PyErr_Occurred()) SWIG_fail;
15951 }
15952 resultobj = PyInt_FromLong((long)result);
15953 return resultobj;
15954 fail:
15955 return NULL;
15956 }
15957
15958
15959 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15960 PyObject *resultobj;
15961 wxListItem *arg1 = (wxListItem *) 0 ;
15962 long result;
15963 PyObject * obj0 = 0 ;
15964 char *kwnames[] = {
15965 (char *) "self", NULL
15966 };
15967
15968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15970 {
15971 PyThreadState* __tstate = wxPyBeginAllowThreads();
15972 result = (long)(arg1)->GetState();
15973
15974 wxPyEndAllowThreads(__tstate);
15975 if (PyErr_Occurred()) SWIG_fail;
15976 }
15977 resultobj = PyInt_FromLong((long)result);
15978 return resultobj;
15979 fail:
15980 return NULL;
15981 }
15982
15983
15984 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15985 PyObject *resultobj;
15986 wxListItem *arg1 = (wxListItem *) 0 ;
15987 wxString *result;
15988 PyObject * obj0 = 0 ;
15989 char *kwnames[] = {
15990 (char *) "self", NULL
15991 };
15992
15993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15995 {
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 {
15998 wxString const &_result_ref = (arg1)->GetText();
15999 result = (wxString *) &_result_ref;
16000 }
16001
16002 wxPyEndAllowThreads(__tstate);
16003 if (PyErr_Occurred()) SWIG_fail;
16004 }
16005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
16006 return resultobj;
16007 fail:
16008 return NULL;
16009 }
16010
16011
16012 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16013 PyObject *resultobj;
16014 wxListItem *arg1 = (wxListItem *) 0 ;
16015 int result;
16016 PyObject * obj0 = 0 ;
16017 char *kwnames[] = {
16018 (char *) "self", NULL
16019 };
16020
16021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16023 {
16024 PyThreadState* __tstate = wxPyBeginAllowThreads();
16025 result = (int)(arg1)->GetImage();
16026
16027 wxPyEndAllowThreads(__tstate);
16028 if (PyErr_Occurred()) SWIG_fail;
16029 }
16030 resultobj = PyInt_FromLong((long)result);
16031 return resultobj;
16032 fail:
16033 return NULL;
16034 }
16035
16036
16037 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16038 PyObject *resultobj;
16039 wxListItem *arg1 = (wxListItem *) 0 ;
16040 long result;
16041 PyObject * obj0 = 0 ;
16042 char *kwnames[] = {
16043 (char *) "self", NULL
16044 };
16045
16046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16048 {
16049 PyThreadState* __tstate = wxPyBeginAllowThreads();
16050 result = (long)(arg1)->GetData();
16051
16052 wxPyEndAllowThreads(__tstate);
16053 if (PyErr_Occurred()) SWIG_fail;
16054 }
16055 resultobj = PyInt_FromLong((long)result);
16056 return resultobj;
16057 fail:
16058 return NULL;
16059 }
16060
16061
16062 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16063 PyObject *resultobj;
16064 wxListItem *arg1 = (wxListItem *) 0 ;
16065 int result;
16066 PyObject * obj0 = 0 ;
16067 char *kwnames[] = {
16068 (char *) "self", NULL
16069 };
16070
16071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16073 {
16074 PyThreadState* __tstate = wxPyBeginAllowThreads();
16075 result = (int)(arg1)->GetWidth();
16076
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 resultobj = PyInt_FromLong((long)result);
16081 return resultobj;
16082 fail:
16083 return NULL;
16084 }
16085
16086
16087 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16088 PyObject *resultobj;
16089 wxListItem *arg1 = (wxListItem *) 0 ;
16090 int result;
16091 PyObject * obj0 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "self", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16098 {
16099 PyThreadState* __tstate = wxPyBeginAllowThreads();
16100 result = (int)(arg1)->GetAlign();
16101
16102 wxPyEndAllowThreads(__tstate);
16103 if (PyErr_Occurred()) SWIG_fail;
16104 }
16105 resultobj = PyInt_FromLong((long)result);
16106 return resultobj;
16107 fail:
16108 return NULL;
16109 }
16110
16111
16112 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16113 PyObject *resultobj;
16114 wxListItem *arg1 = (wxListItem *) 0 ;
16115 wxListItemAttr *result;
16116 PyObject * obj0 = 0 ;
16117 char *kwnames[] = {
16118 (char *) "self", NULL
16119 };
16120
16121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16123 {
16124 PyThreadState* __tstate = wxPyBeginAllowThreads();
16125 result = (wxListItemAttr *)(arg1)->GetAttributes();
16126
16127 wxPyEndAllowThreads(__tstate);
16128 if (PyErr_Occurred()) SWIG_fail;
16129 }
16130 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16131 return resultobj;
16132 fail:
16133 return NULL;
16134 }
16135
16136
16137 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16138 PyObject *resultobj;
16139 wxListItem *arg1 = (wxListItem *) 0 ;
16140 bool result;
16141 PyObject * obj0 = 0 ;
16142 char *kwnames[] = {
16143 (char *) "self", NULL
16144 };
16145
16146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16148 {
16149 PyThreadState* __tstate = wxPyBeginAllowThreads();
16150 result = (bool)(arg1)->HasAttributes();
16151
16152 wxPyEndAllowThreads(__tstate);
16153 if (PyErr_Occurred()) SWIG_fail;
16154 }
16155 resultobj = PyInt_FromLong((long)result);
16156 return resultobj;
16157 fail:
16158 return NULL;
16159 }
16160
16161
16162 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16163 PyObject *resultobj;
16164 wxListItem *arg1 = (wxListItem *) 0 ;
16165 wxColour result;
16166 PyObject * obj0 = 0 ;
16167 char *kwnames[] = {
16168 (char *) "self", NULL
16169 };
16170
16171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 result = ((wxListItem const *)arg1)->GetTextColour();
16176
16177 wxPyEndAllowThreads(__tstate);
16178 if (PyErr_Occurred()) SWIG_fail;
16179 }
16180 {
16181 wxColour * resultptr;
16182 resultptr = new wxColour((wxColour &) result);
16183 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16184 }
16185 return resultobj;
16186 fail:
16187 return NULL;
16188 }
16189
16190
16191 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16192 PyObject *resultobj;
16193 wxListItem *arg1 = (wxListItem *) 0 ;
16194 wxColour result;
16195 PyObject * obj0 = 0 ;
16196 char *kwnames[] = {
16197 (char *) "self", NULL
16198 };
16199
16200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16202 {
16203 PyThreadState* __tstate = wxPyBeginAllowThreads();
16204 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16205
16206 wxPyEndAllowThreads(__tstate);
16207 if (PyErr_Occurred()) SWIG_fail;
16208 }
16209 {
16210 wxColour * resultptr;
16211 resultptr = new wxColour((wxColour &) result);
16212 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16213 }
16214 return resultobj;
16215 fail:
16216 return NULL;
16217 }
16218
16219
16220 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16221 PyObject *resultobj;
16222 wxListItem *arg1 = (wxListItem *) 0 ;
16223 wxFont result;
16224 PyObject * obj0 = 0 ;
16225 char *kwnames[] = {
16226 (char *) "self", NULL
16227 };
16228
16229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16231 {
16232 PyThreadState* __tstate = wxPyBeginAllowThreads();
16233 result = ((wxListItem const *)arg1)->GetFont();
16234
16235 wxPyEndAllowThreads(__tstate);
16236 if (PyErr_Occurred()) SWIG_fail;
16237 }
16238 {
16239 wxFont * resultptr;
16240 resultptr = new wxFont((wxFont &) result);
16241 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16242 }
16243 return resultobj;
16244 fail:
16245 return NULL;
16246 }
16247
16248
16249 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16250 PyObject *resultobj;
16251 wxListItem *arg1 = (wxListItem *) 0 ;
16252 long arg2 ;
16253 PyObject * obj0 = 0 ;
16254 char *kwnames[] = {
16255 (char *) "self",(char *) "m_mask", NULL
16256 };
16257
16258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_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_mask = 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_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16270 PyObject *resultobj;
16271 wxListItem *arg1 = (wxListItem *) 0 ;
16272 long result;
16273 PyObject * obj0 = 0 ;
16274 char *kwnames[] = {
16275 (char *) "self", NULL
16276 };
16277
16278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16280 result = (long) ((arg1)->m_mask);
16281
16282 resultobj = PyInt_FromLong((long)result);
16283 return resultobj;
16284 fail:
16285 return NULL;
16286 }
16287
16288
16289 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16290 PyObject *resultobj;
16291 wxListItem *arg1 = (wxListItem *) 0 ;
16292 long arg2 ;
16293 PyObject * obj0 = 0 ;
16294 char *kwnames[] = {
16295 (char *) "self",(char *) "m_itemId", NULL
16296 };
16297
16298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_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_itemId = 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_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16310 PyObject *resultobj;
16311 wxListItem *arg1 = (wxListItem *) 0 ;
16312 long result;
16313 PyObject * obj0 = 0 ;
16314 char *kwnames[] = {
16315 (char *) "self", NULL
16316 };
16317
16318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16320 result = (long) ((arg1)->m_itemId);
16321
16322 resultobj = PyInt_FromLong((long)result);
16323 return resultobj;
16324 fail:
16325 return NULL;
16326 }
16327
16328
16329 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16330 PyObject *resultobj;
16331 wxListItem *arg1 = (wxListItem *) 0 ;
16332 int arg2 ;
16333 PyObject * obj0 = 0 ;
16334 char *kwnames[] = {
16335 (char *) "self",(char *) "m_col", NULL
16336 };
16337
16338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16340 if (arg1) (arg1)->m_col = arg2;
16341
16342 Py_INCREF(Py_None); resultobj = Py_None;
16343 return resultobj;
16344 fail:
16345 return NULL;
16346 }
16347
16348
16349 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16350 PyObject *resultobj;
16351 wxListItem *arg1 = (wxListItem *) 0 ;
16352 int result;
16353 PyObject * obj0 = 0 ;
16354 char *kwnames[] = {
16355 (char *) "self", NULL
16356 };
16357
16358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16360 result = (int) ((arg1)->m_col);
16361
16362 resultobj = PyInt_FromLong((long)result);
16363 return resultobj;
16364 fail:
16365 return NULL;
16366 }
16367
16368
16369 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16370 PyObject *resultobj;
16371 wxListItem *arg1 = (wxListItem *) 0 ;
16372 long arg2 ;
16373 PyObject * obj0 = 0 ;
16374 char *kwnames[] = {
16375 (char *) "self",(char *) "m_state", NULL
16376 };
16377
16378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16380 if (arg1) (arg1)->m_state = arg2;
16381
16382 Py_INCREF(Py_None); resultobj = Py_None;
16383 return resultobj;
16384 fail:
16385 return NULL;
16386 }
16387
16388
16389 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16390 PyObject *resultobj;
16391 wxListItem *arg1 = (wxListItem *) 0 ;
16392 long result;
16393 PyObject * obj0 = 0 ;
16394 char *kwnames[] = {
16395 (char *) "self", NULL
16396 };
16397
16398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16400 result = (long) ((arg1)->m_state);
16401
16402 resultobj = PyInt_FromLong((long)result);
16403 return resultobj;
16404 fail:
16405 return NULL;
16406 }
16407
16408
16409 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16410 PyObject *resultobj;
16411 wxListItem *arg1 = (wxListItem *) 0 ;
16412 long arg2 ;
16413 PyObject * obj0 = 0 ;
16414 char *kwnames[] = {
16415 (char *) "self",(char *) "m_stateMask", NULL
16416 };
16417
16418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16420 if (arg1) (arg1)->m_stateMask = arg2;
16421
16422 Py_INCREF(Py_None); resultobj = Py_None;
16423 return resultobj;
16424 fail:
16425 return NULL;
16426 }
16427
16428
16429 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16430 PyObject *resultobj;
16431 wxListItem *arg1 = (wxListItem *) 0 ;
16432 long result;
16433 PyObject * obj0 = 0 ;
16434 char *kwnames[] = {
16435 (char *) "self", NULL
16436 };
16437
16438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16440 result = (long) ((arg1)->m_stateMask);
16441
16442 resultobj = PyInt_FromLong((long)result);
16443 return resultobj;
16444 fail:
16445 return NULL;
16446 }
16447
16448
16449 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16450 PyObject *resultobj;
16451 wxListItem *arg1 = (wxListItem *) 0 ;
16452 wxString arg2 ;
16453 PyObject * obj0 = 0 ;
16454 PyObject * obj1 = 0 ;
16455 char *kwnames[] = {
16456 (char *) "self",(char *) "m_text", NULL
16457 };
16458
16459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16461 {
16462 wxString* sptr = wxString_in_helper(obj1);
16463 if (sptr == NULL) SWIG_fail;
16464 arg2 = *sptr;
16465 delete sptr;
16466 }
16467 if (arg1) (arg1)->m_text = arg2;
16468
16469 Py_INCREF(Py_None); resultobj = Py_None;
16470 return resultobj;
16471 fail:
16472 return NULL;
16473 }
16474
16475
16476 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj;
16478 wxListItem *arg1 = (wxListItem *) 0 ;
16479 wxString result;
16480 PyObject * obj0 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16487 result = ((arg1)->m_text);
16488
16489 {
16490 #if wxUSE_UNICODE
16491 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16492 #else
16493 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16494 #endif
16495 }
16496 return resultobj;
16497 fail:
16498 return NULL;
16499 }
16500
16501
16502 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16503 PyObject *resultobj;
16504 wxListItem *arg1 = (wxListItem *) 0 ;
16505 int arg2 ;
16506 PyObject * obj0 = 0 ;
16507 char *kwnames[] = {
16508 (char *) "self",(char *) "m_image", NULL
16509 };
16510
16511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16513 if (arg1) (arg1)->m_image = arg2;
16514
16515 Py_INCREF(Py_None); resultobj = Py_None;
16516 return resultobj;
16517 fail:
16518 return NULL;
16519 }
16520
16521
16522 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16523 PyObject *resultobj;
16524 wxListItem *arg1 = (wxListItem *) 0 ;
16525 int result;
16526 PyObject * obj0 = 0 ;
16527 char *kwnames[] = {
16528 (char *) "self", NULL
16529 };
16530
16531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16533 result = (int) ((arg1)->m_image);
16534
16535 resultobj = PyInt_FromLong((long)result);
16536 return resultobj;
16537 fail:
16538 return NULL;
16539 }
16540
16541
16542 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16543 PyObject *resultobj;
16544 wxListItem *arg1 = (wxListItem *) 0 ;
16545 long arg2 ;
16546 PyObject * obj0 = 0 ;
16547 char *kwnames[] = {
16548 (char *) "self",(char *) "m_data", NULL
16549 };
16550
16551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16553 if (arg1) (arg1)->m_data = arg2;
16554
16555 Py_INCREF(Py_None); resultobj = Py_None;
16556 return resultobj;
16557 fail:
16558 return NULL;
16559 }
16560
16561
16562 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16563 PyObject *resultobj;
16564 wxListItem *arg1 = (wxListItem *) 0 ;
16565 long result;
16566 PyObject * obj0 = 0 ;
16567 char *kwnames[] = {
16568 (char *) "self", NULL
16569 };
16570
16571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16573 result = (long) ((arg1)->m_data);
16574
16575 resultobj = PyInt_FromLong((long)result);
16576 return resultobj;
16577 fail:
16578 return NULL;
16579 }
16580
16581
16582 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16583 PyObject *resultobj;
16584 wxListItem *arg1 = (wxListItem *) 0 ;
16585 int arg2 ;
16586 PyObject * obj0 = 0 ;
16587 char *kwnames[] = {
16588 (char *) "self",(char *) "m_format", NULL
16589 };
16590
16591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16593 if (arg1) (arg1)->m_format = arg2;
16594
16595 Py_INCREF(Py_None); resultobj = Py_None;
16596 return resultobj;
16597 fail:
16598 return NULL;
16599 }
16600
16601
16602 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16603 PyObject *resultobj;
16604 wxListItem *arg1 = (wxListItem *) 0 ;
16605 int result;
16606 PyObject * obj0 = 0 ;
16607 char *kwnames[] = {
16608 (char *) "self", NULL
16609 };
16610
16611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16613 result = (int) ((arg1)->m_format);
16614
16615 resultobj = PyInt_FromLong((long)result);
16616 return resultobj;
16617 fail:
16618 return NULL;
16619 }
16620
16621
16622 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16623 PyObject *resultobj;
16624 wxListItem *arg1 = (wxListItem *) 0 ;
16625 int arg2 ;
16626 PyObject * obj0 = 0 ;
16627 char *kwnames[] = {
16628 (char *) "self",(char *) "m_width", NULL
16629 };
16630
16631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16633 if (arg1) (arg1)->m_width = arg2;
16634
16635 Py_INCREF(Py_None); resultobj = Py_None;
16636 return resultobj;
16637 fail:
16638 return NULL;
16639 }
16640
16641
16642 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16643 PyObject *resultobj;
16644 wxListItem *arg1 = (wxListItem *) 0 ;
16645 int result;
16646 PyObject * obj0 = 0 ;
16647 char *kwnames[] = {
16648 (char *) "self", NULL
16649 };
16650
16651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16653 result = (int) ((arg1)->m_width);
16654
16655 resultobj = PyInt_FromLong((long)result);
16656 return resultobj;
16657 fail:
16658 return NULL;
16659 }
16660
16661
16662 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16663 PyObject *obj;
16664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16665 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16666 Py_INCREF(obj);
16667 return Py_BuildValue((char *)"");
16668 }
16669 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16670 PyObject *resultobj;
16671 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16672 int arg2 = (int) 0 ;
16673 wxListEvent *result;
16674 char *kwnames[] = {
16675 (char *) "commandType",(char *) "id", NULL
16676 };
16677
16678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
16686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16687 return resultobj;
16688 fail:
16689 return NULL;
16690 }
16691
16692
16693 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16694 PyObject *resultobj;
16695 wxListEvent *arg1 = (wxListEvent *) 0 ;
16696 int arg2 ;
16697 PyObject * obj0 = 0 ;
16698 char *kwnames[] = {
16699 (char *) "self",(char *) "m_code", NULL
16700 };
16701
16702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16704 if (arg1) (arg1)->m_code = arg2;
16705
16706 Py_INCREF(Py_None); resultobj = Py_None;
16707 return resultobj;
16708 fail:
16709 return NULL;
16710 }
16711
16712
16713 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16714 PyObject *resultobj;
16715 wxListEvent *arg1 = (wxListEvent *) 0 ;
16716 int result;
16717 PyObject * obj0 = 0 ;
16718 char *kwnames[] = {
16719 (char *) "self", NULL
16720 };
16721
16722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16724 result = (int) ((arg1)->m_code);
16725
16726 resultobj = PyInt_FromLong((long)result);
16727 return resultobj;
16728 fail:
16729 return NULL;
16730 }
16731
16732
16733 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16734 PyObject *resultobj;
16735 wxListEvent *arg1 = (wxListEvent *) 0 ;
16736 long arg2 ;
16737 PyObject * obj0 = 0 ;
16738 char *kwnames[] = {
16739 (char *) "self",(char *) "m_oldItemIndex", NULL
16740 };
16741
16742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16744 if (arg1) (arg1)->m_oldItemIndex = arg2;
16745
16746 Py_INCREF(Py_None); resultobj = Py_None;
16747 return resultobj;
16748 fail:
16749 return NULL;
16750 }
16751
16752
16753 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16754 PyObject *resultobj;
16755 wxListEvent *arg1 = (wxListEvent *) 0 ;
16756 long result;
16757 PyObject * obj0 = 0 ;
16758 char *kwnames[] = {
16759 (char *) "self", NULL
16760 };
16761
16762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16764 result = (long) ((arg1)->m_oldItemIndex);
16765
16766 resultobj = PyInt_FromLong((long)result);
16767 return resultobj;
16768 fail:
16769 return NULL;
16770 }
16771
16772
16773 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16774 PyObject *resultobj;
16775 wxListEvent *arg1 = (wxListEvent *) 0 ;
16776 long arg2 ;
16777 PyObject * obj0 = 0 ;
16778 char *kwnames[] = {
16779 (char *) "self",(char *) "m_itemIndex", NULL
16780 };
16781
16782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16784 if (arg1) (arg1)->m_itemIndex = arg2;
16785
16786 Py_INCREF(Py_None); resultobj = Py_None;
16787 return resultobj;
16788 fail:
16789 return NULL;
16790 }
16791
16792
16793 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16794 PyObject *resultobj;
16795 wxListEvent *arg1 = (wxListEvent *) 0 ;
16796 long result;
16797 PyObject * obj0 = 0 ;
16798 char *kwnames[] = {
16799 (char *) "self", NULL
16800 };
16801
16802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16804 result = (long) ((arg1)->m_itemIndex);
16805
16806 resultobj = PyInt_FromLong((long)result);
16807 return resultobj;
16808 fail:
16809 return NULL;
16810 }
16811
16812
16813 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16814 PyObject *resultobj;
16815 wxListEvent *arg1 = (wxListEvent *) 0 ;
16816 int arg2 ;
16817 PyObject * obj0 = 0 ;
16818 char *kwnames[] = {
16819 (char *) "self",(char *) "m_col", NULL
16820 };
16821
16822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16824 if (arg1) (arg1)->m_col = arg2;
16825
16826 Py_INCREF(Py_None); resultobj = Py_None;
16827 return resultobj;
16828 fail:
16829 return NULL;
16830 }
16831
16832
16833 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16834 PyObject *resultobj;
16835 wxListEvent *arg1 = (wxListEvent *) 0 ;
16836 int result;
16837 PyObject * obj0 = 0 ;
16838 char *kwnames[] = {
16839 (char *) "self", NULL
16840 };
16841
16842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16844 result = (int) ((arg1)->m_col);
16845
16846 resultobj = PyInt_FromLong((long)result);
16847 return resultobj;
16848 fail:
16849 return NULL;
16850 }
16851
16852
16853 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16854 PyObject *resultobj;
16855 wxListEvent *arg1 = (wxListEvent *) 0 ;
16856 wxPoint *arg2 = (wxPoint *) 0 ;
16857 PyObject * obj0 = 0 ;
16858 PyObject * obj1 = 0 ;
16859 char *kwnames[] = {
16860 (char *) "self",(char *) "m_pointDrag", NULL
16861 };
16862
16863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16865 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16866 if (arg1) (arg1)->m_pointDrag = *arg2;
16867
16868 Py_INCREF(Py_None); resultobj = Py_None;
16869 return resultobj;
16870 fail:
16871 return NULL;
16872 }
16873
16874
16875 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16876 PyObject *resultobj;
16877 wxListEvent *arg1 = (wxListEvent *) 0 ;
16878 wxPoint *result;
16879 PyObject * obj0 = 0 ;
16880 char *kwnames[] = {
16881 (char *) "self", NULL
16882 };
16883
16884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16886 result = (wxPoint *)& ((arg1)->m_pointDrag);
16887
16888 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16889 return resultobj;
16890 fail:
16891 return NULL;
16892 }
16893
16894
16895 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16896 PyObject *resultobj;
16897 wxListEvent *arg1 = (wxListEvent *) 0 ;
16898 wxListItem *result;
16899 PyObject * obj0 = 0 ;
16900 char *kwnames[] = {
16901 (char *) "self", NULL
16902 };
16903
16904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16906 result = (wxListItem *)& ((arg1)->m_item);
16907
16908 {
16909 resultobj = wxPyMake_wxObject(result);
16910 }
16911 return resultobj;
16912 fail:
16913 return NULL;
16914 }
16915
16916
16917 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16918 PyObject *resultobj;
16919 wxListEvent *arg1 = (wxListEvent *) 0 ;
16920 int result;
16921 PyObject * obj0 = 0 ;
16922 char *kwnames[] = {
16923 (char *) "self", NULL
16924 };
16925
16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16928 {
16929 PyThreadState* __tstate = wxPyBeginAllowThreads();
16930 result = (int)(arg1)->GetKeyCode();
16931
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 resultobj = PyInt_FromLong((long)result);
16936 return resultobj;
16937 fail:
16938 return NULL;
16939 }
16940
16941
16942 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16943 PyObject *resultobj;
16944 wxListEvent *arg1 = (wxListEvent *) 0 ;
16945 long result;
16946 PyObject * obj0 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "self", NULL
16949 };
16950
16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16953 {
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 result = (long)(arg1)->GetIndex();
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 resultobj = PyInt_FromLong((long)result);
16961 return resultobj;
16962 fail:
16963 return NULL;
16964 }
16965
16966
16967 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16968 PyObject *resultobj;
16969 wxListEvent *arg1 = (wxListEvent *) 0 ;
16970 int result;
16971 PyObject * obj0 = 0 ;
16972 char *kwnames[] = {
16973 (char *) "self", NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
16977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16978 {
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 result = (int)(arg1)->GetColumn();
16981
16982 wxPyEndAllowThreads(__tstate);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 }
16985 resultobj = PyInt_FromLong((long)result);
16986 return resultobj;
16987 fail:
16988 return NULL;
16989 }
16990
16991
16992 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
16993 PyObject *resultobj;
16994 wxListEvent *arg1 = (wxListEvent *) 0 ;
16995 wxPoint result;
16996 PyObject * obj0 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "self", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 result = (arg1)->GetPoint();
17006
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
17010 {
17011 wxPoint * resultptr;
17012 resultptr = new wxPoint((wxPoint &) result);
17013 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17014 }
17015 return resultobj;
17016 fail:
17017 return NULL;
17018 }
17019
17020
17021 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17022 PyObject *resultobj;
17023 wxListEvent *arg1 = (wxListEvent *) 0 ;
17024 wxString *result;
17025 PyObject * obj0 = 0 ;
17026 char *kwnames[] = {
17027 (char *) "self", NULL
17028 };
17029
17030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17032 {
17033 PyThreadState* __tstate = wxPyBeginAllowThreads();
17034 {
17035 wxString const &_result_ref = (arg1)->GetLabel();
17036 result = (wxString *) &_result_ref;
17037 }
17038
17039 wxPyEndAllowThreads(__tstate);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 }
17042 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
17043 return resultobj;
17044 fail:
17045 return NULL;
17046 }
17047
17048
17049 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17050 PyObject *resultobj;
17051 wxListEvent *arg1 = (wxListEvent *) 0 ;
17052 wxString *result;
17053 PyObject * obj0 = 0 ;
17054 char *kwnames[] = {
17055 (char *) "self", NULL
17056 };
17057
17058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17060 {
17061 PyThreadState* __tstate = wxPyBeginAllowThreads();
17062 {
17063 wxString const &_result_ref = (arg1)->GetText();
17064 result = (wxString *) &_result_ref;
17065 }
17066
17067 wxPyEndAllowThreads(__tstate);
17068 if (PyErr_Occurred()) SWIG_fail;
17069 }
17070 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
17071 return resultobj;
17072 fail:
17073 return NULL;
17074 }
17075
17076
17077 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17078 PyObject *resultobj;
17079 wxListEvent *arg1 = (wxListEvent *) 0 ;
17080 int result;
17081 PyObject * obj0 = 0 ;
17082 char *kwnames[] = {
17083 (char *) "self", NULL
17084 };
17085
17086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17088 {
17089 PyThreadState* __tstate = wxPyBeginAllowThreads();
17090 result = (int)(arg1)->GetImage();
17091
17092 wxPyEndAllowThreads(__tstate);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 resultobj = PyInt_FromLong((long)result);
17096 return resultobj;
17097 fail:
17098 return NULL;
17099 }
17100
17101
17102 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17103 PyObject *resultobj;
17104 wxListEvent *arg1 = (wxListEvent *) 0 ;
17105 long result;
17106 PyObject * obj0 = 0 ;
17107 char *kwnames[] = {
17108 (char *) "self", NULL
17109 };
17110
17111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17113 {
17114 PyThreadState* __tstate = wxPyBeginAllowThreads();
17115 result = (long)(arg1)->GetData();
17116
17117 wxPyEndAllowThreads(__tstate);
17118 if (PyErr_Occurred()) SWIG_fail;
17119 }
17120 resultobj = PyInt_FromLong((long)result);
17121 return resultobj;
17122 fail:
17123 return NULL;
17124 }
17125
17126
17127 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17128 PyObject *resultobj;
17129 wxListEvent *arg1 = (wxListEvent *) 0 ;
17130 long result;
17131 PyObject * obj0 = 0 ;
17132 char *kwnames[] = {
17133 (char *) "self", NULL
17134 };
17135
17136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17138 {
17139 PyThreadState* __tstate = wxPyBeginAllowThreads();
17140 result = (long)(arg1)->GetMask();
17141
17142 wxPyEndAllowThreads(__tstate);
17143 if (PyErr_Occurred()) SWIG_fail;
17144 }
17145 resultobj = PyInt_FromLong((long)result);
17146 return resultobj;
17147 fail:
17148 return NULL;
17149 }
17150
17151
17152 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17153 PyObject *resultobj;
17154 wxListEvent *arg1 = (wxListEvent *) 0 ;
17155 wxListItem *result;
17156 PyObject * obj0 = 0 ;
17157 char *kwnames[] = {
17158 (char *) "self", NULL
17159 };
17160
17161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17163 {
17164 PyThreadState* __tstate = wxPyBeginAllowThreads();
17165 {
17166 wxListItem const &_result_ref = (arg1)->GetItem();
17167 result = (wxListItem *) &_result_ref;
17168 }
17169
17170 wxPyEndAllowThreads(__tstate);
17171 if (PyErr_Occurred()) SWIG_fail;
17172 }
17173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17174 return resultobj;
17175 fail:
17176 return NULL;
17177 }
17178
17179
17180 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17181 PyObject *resultobj;
17182 wxListEvent *arg1 = (wxListEvent *) 0 ;
17183 long result;
17184 PyObject * obj0 = 0 ;
17185 char *kwnames[] = {
17186 (char *) "self", NULL
17187 };
17188
17189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17191 {
17192 PyThreadState* __tstate = wxPyBeginAllowThreads();
17193 result = (long)(arg1)->GetCacheFrom();
17194
17195 wxPyEndAllowThreads(__tstate);
17196 if (PyErr_Occurred()) SWIG_fail;
17197 }
17198 resultobj = PyInt_FromLong((long)result);
17199 return resultobj;
17200 fail:
17201 return NULL;
17202 }
17203
17204
17205 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17206 PyObject *resultobj;
17207 wxListEvent *arg1 = (wxListEvent *) 0 ;
17208 long result;
17209 PyObject * obj0 = 0 ;
17210 char *kwnames[] = {
17211 (char *) "self", NULL
17212 };
17213
17214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17216 {
17217 PyThreadState* __tstate = wxPyBeginAllowThreads();
17218 result = (long)(arg1)->GetCacheTo();
17219
17220 wxPyEndAllowThreads(__tstate);
17221 if (PyErr_Occurred()) SWIG_fail;
17222 }
17223 resultobj = PyInt_FromLong((long)result);
17224 return resultobj;
17225 fail:
17226 return NULL;
17227 }
17228
17229
17230 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17231 PyObject *resultobj;
17232 wxListEvent *arg1 = (wxListEvent *) 0 ;
17233 bool result;
17234 PyObject * obj0 = 0 ;
17235 char *kwnames[] = {
17236 (char *) "self", NULL
17237 };
17238
17239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17241 {
17242 PyThreadState* __tstate = wxPyBeginAllowThreads();
17243 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17244
17245 wxPyEndAllowThreads(__tstate);
17246 if (PyErr_Occurred()) SWIG_fail;
17247 }
17248 resultobj = PyInt_FromLong((long)result);
17249 return resultobj;
17250 fail:
17251 return NULL;
17252 }
17253
17254
17255 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17256 PyObject *resultobj;
17257 wxListEvent *arg1 = (wxListEvent *) 0 ;
17258 bool arg2 ;
17259 PyObject * obj0 = 0 ;
17260 PyObject * obj1 = 0 ;
17261 char *kwnames[] = {
17262 (char *) "self",(char *) "editCancelled", NULL
17263 };
17264
17265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17267 arg2 = PyInt_AsLong(obj1) ? true : false;
17268 if (PyErr_Occurred()) SWIG_fail;
17269 {
17270 PyThreadState* __tstate = wxPyBeginAllowThreads();
17271 (arg1)->SetEditCanceled(arg2);
17272
17273 wxPyEndAllowThreads(__tstate);
17274 if (PyErr_Occurred()) SWIG_fail;
17275 }
17276 Py_INCREF(Py_None); resultobj = Py_None;
17277 return resultobj;
17278 fail:
17279 return NULL;
17280 }
17281
17282
17283 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17284 PyObject *obj;
17285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17286 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17287 Py_INCREF(obj);
17288 return Py_BuildValue((char *)"");
17289 }
17290 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17291 PyObject *resultobj;
17292 wxWindow *arg1 = (wxWindow *) 0 ;
17293 int arg2 = (int) -1 ;
17294 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17295 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17296 wxSize const &arg4_defvalue = wxDefaultSize ;
17297 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17298 long arg5 = (long) wxLC_ICON ;
17299 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17300 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17301 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17302 wxString *arg7 = (wxString *) &arg7_defvalue ;
17303 wxPyListCtrl *result;
17304 wxPoint temp3 ;
17305 wxSize temp4 ;
17306 bool temp7 = False ;
17307 PyObject * obj0 = 0 ;
17308 PyObject * obj2 = 0 ;
17309 PyObject * obj3 = 0 ;
17310 PyObject * obj5 = 0 ;
17311 PyObject * obj6 = 0 ;
17312 char *kwnames[] = {
17313 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17314 };
17315
17316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17318 if (obj2) {
17319 {
17320 arg3 = &temp3;
17321 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17322 }
17323 }
17324 if (obj3) {
17325 {
17326 arg4 = &temp4;
17327 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17328 }
17329 }
17330 if (obj5) {
17331 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17332 if (arg6 == NULL) {
17333 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17334 }
17335 }
17336 if (obj6) {
17337 {
17338 arg7 = wxString_in_helper(obj6);
17339 if (arg7 == NULL) SWIG_fail;
17340 temp7 = True;
17341 }
17342 }
17343 {
17344 PyThreadState* __tstate = wxPyBeginAllowThreads();
17345 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17346
17347 wxPyEndAllowThreads(__tstate);
17348 if (PyErr_Occurred()) SWIG_fail;
17349 }
17350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17351 {
17352 if (temp7)
17353 delete arg7;
17354 }
17355 return resultobj;
17356 fail:
17357 {
17358 if (temp7)
17359 delete arg7;
17360 }
17361 return NULL;
17362 }
17363
17364
17365 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17366 PyObject *resultobj;
17367 wxPyListCtrl *result;
17368 char *kwnames[] = {
17369 NULL
17370 };
17371
17372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17373 {
17374 PyThreadState* __tstate = wxPyBeginAllowThreads();
17375 result = (wxPyListCtrl *)new wxPyListCtrl();
17376
17377 wxPyEndAllowThreads(__tstate);
17378 if (PyErr_Occurred()) SWIG_fail;
17379 }
17380 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17381 return resultobj;
17382 fail:
17383 return NULL;
17384 }
17385
17386
17387 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17388 PyObject *resultobj;
17389 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17390 wxWindow *arg2 = (wxWindow *) 0 ;
17391 int arg3 = (int) -1 ;
17392 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17393 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17394 wxSize const &arg5_defvalue = wxDefaultSize ;
17395 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17396 long arg6 = (long) wxLC_ICON ;
17397 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17398 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17399 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17400 wxString *arg8 = (wxString *) &arg8_defvalue ;
17401 bool result;
17402 wxPoint temp4 ;
17403 wxSize temp5 ;
17404 bool temp8 = False ;
17405 PyObject * obj0 = 0 ;
17406 PyObject * obj1 = 0 ;
17407 PyObject * obj3 = 0 ;
17408 PyObject * obj4 = 0 ;
17409 PyObject * obj6 = 0 ;
17410 PyObject * obj7 = 0 ;
17411 char *kwnames[] = {
17412 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17413 };
17414
17415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17417 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17418 if (obj3) {
17419 {
17420 arg4 = &temp4;
17421 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17422 }
17423 }
17424 if (obj4) {
17425 {
17426 arg5 = &temp5;
17427 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17428 }
17429 }
17430 if (obj6) {
17431 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17432 if (arg7 == NULL) {
17433 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17434 }
17435 }
17436 if (obj7) {
17437 {
17438 arg8 = wxString_in_helper(obj7);
17439 if (arg8 == NULL) SWIG_fail;
17440 temp8 = True;
17441 }
17442 }
17443 {
17444 PyThreadState* __tstate = wxPyBeginAllowThreads();
17445 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17446
17447 wxPyEndAllowThreads(__tstate);
17448 if (PyErr_Occurred()) SWIG_fail;
17449 }
17450 resultobj = PyInt_FromLong((long)result);
17451 {
17452 if (temp8)
17453 delete arg8;
17454 }
17455 return resultobj;
17456 fail:
17457 {
17458 if (temp8)
17459 delete arg8;
17460 }
17461 return NULL;
17462 }
17463
17464
17465 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17466 PyObject *resultobj;
17467 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17468 PyObject *arg2 = (PyObject *) 0 ;
17469 PyObject *arg3 = (PyObject *) 0 ;
17470 PyObject * obj0 = 0 ;
17471 PyObject * obj1 = 0 ;
17472 PyObject * obj2 = 0 ;
17473 char *kwnames[] = {
17474 (char *) "self",(char *) "self",(char *) "_class", NULL
17475 };
17476
17477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17479 arg2 = obj1;
17480 arg3 = obj2;
17481 {
17482 PyThreadState* __tstate = wxPyBeginAllowThreads();
17483 (arg1)->_setCallbackInfo(arg2,arg3);
17484
17485 wxPyEndAllowThreads(__tstate);
17486 if (PyErr_Occurred()) SWIG_fail;
17487 }
17488 Py_INCREF(Py_None); resultobj = Py_None;
17489 return resultobj;
17490 fail:
17491 return NULL;
17492 }
17493
17494
17495 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17496 PyObject *resultobj;
17497 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17498 wxColour *arg2 = 0 ;
17499 bool result;
17500 wxColour temp2 ;
17501 PyObject * obj0 = 0 ;
17502 PyObject * obj1 = 0 ;
17503 char *kwnames[] = {
17504 (char *) "self",(char *) "col", NULL
17505 };
17506
17507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17509 {
17510 arg2 = &temp2;
17511 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17512 }
17513 {
17514 PyThreadState* __tstate = wxPyBeginAllowThreads();
17515 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17516
17517 wxPyEndAllowThreads(__tstate);
17518 if (PyErr_Occurred()) SWIG_fail;
17519 }
17520 resultobj = PyInt_FromLong((long)result);
17521 return resultobj;
17522 fail:
17523 return NULL;
17524 }
17525
17526
17527 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17528 PyObject *resultobj;
17529 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17530 wxColour *arg2 = 0 ;
17531 bool result;
17532 wxColour temp2 ;
17533 PyObject * obj0 = 0 ;
17534 PyObject * obj1 = 0 ;
17535 char *kwnames[] = {
17536 (char *) "self",(char *) "col", NULL
17537 };
17538
17539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17541 {
17542 arg2 = &temp2;
17543 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17544 }
17545 {
17546 PyThreadState* __tstate = wxPyBeginAllowThreads();
17547 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17548
17549 wxPyEndAllowThreads(__tstate);
17550 if (PyErr_Occurred()) SWIG_fail;
17551 }
17552 resultobj = PyInt_FromLong((long)result);
17553 return resultobj;
17554 fail:
17555 return NULL;
17556 }
17557
17558
17559 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17560 PyObject *resultobj;
17561 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17562 int arg2 ;
17563 wxListItem *result;
17564 PyObject * obj0 = 0 ;
17565 char *kwnames[] = {
17566 (char *) "self",(char *) "col", NULL
17567 };
17568
17569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17571 {
17572 PyThreadState* __tstate = wxPyBeginAllowThreads();
17573 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17574
17575 wxPyEndAllowThreads(__tstate);
17576 if (PyErr_Occurred()) SWIG_fail;
17577 }
17578 {
17579 resultobj = wxPyMake_wxObject(result);
17580 }
17581 return resultobj;
17582 fail:
17583 return NULL;
17584 }
17585
17586
17587 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17588 PyObject *resultobj;
17589 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17590 int arg2 ;
17591 wxListItem *arg3 = 0 ;
17592 bool result;
17593 PyObject * obj0 = 0 ;
17594 PyObject * obj2 = 0 ;
17595 char *kwnames[] = {
17596 (char *) "self",(char *) "col",(char *) "item", NULL
17597 };
17598
17599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17601 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17602 if (arg3 == NULL) {
17603 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17604 }
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17608
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
17612 resultobj = PyInt_FromLong((long)result);
17613 return resultobj;
17614 fail:
17615 return NULL;
17616 }
17617
17618
17619 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17620 PyObject *resultobj;
17621 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17622 int arg2 ;
17623 int result;
17624 PyObject * obj0 = 0 ;
17625 char *kwnames[] = {
17626 (char *) "self",(char *) "col", NULL
17627 };
17628
17629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17631 {
17632 PyThreadState* __tstate = wxPyBeginAllowThreads();
17633 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17634
17635 wxPyEndAllowThreads(__tstate);
17636 if (PyErr_Occurred()) SWIG_fail;
17637 }
17638 resultobj = PyInt_FromLong((long)result);
17639 return resultobj;
17640 fail:
17641 return NULL;
17642 }
17643
17644
17645 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17646 PyObject *resultobj;
17647 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17648 int arg2 ;
17649 int arg3 ;
17650 bool result;
17651 PyObject * obj0 = 0 ;
17652 char *kwnames[] = {
17653 (char *) "self",(char *) "col",(char *) "width", NULL
17654 };
17655
17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17658 {
17659 PyThreadState* __tstate = wxPyBeginAllowThreads();
17660 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17661
17662 wxPyEndAllowThreads(__tstate);
17663 if (PyErr_Occurred()) SWIG_fail;
17664 }
17665 resultobj = PyInt_FromLong((long)result);
17666 return resultobj;
17667 fail:
17668 return NULL;
17669 }
17670
17671
17672 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17673 PyObject *resultobj;
17674 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17675 int result;
17676 PyObject * obj0 = 0 ;
17677 char *kwnames[] = {
17678 (char *) "self", NULL
17679 };
17680
17681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17683 {
17684 PyThreadState* __tstate = wxPyBeginAllowThreads();
17685 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17686
17687 wxPyEndAllowThreads(__tstate);
17688 if (PyErr_Occurred()) SWIG_fail;
17689 }
17690 resultobj = PyInt_FromLong((long)result);
17691 return resultobj;
17692 fail:
17693 return NULL;
17694 }
17695
17696
17697 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17698 PyObject *resultobj;
17699 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17700 wxRect result;
17701 PyObject * obj0 = 0 ;
17702 char *kwnames[] = {
17703 (char *) "self", NULL
17704 };
17705
17706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17711
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 {
17716 wxRect * resultptr;
17717 resultptr = new wxRect((wxRect &) result);
17718 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17719 }
17720 return resultobj;
17721 fail:
17722 return NULL;
17723 }
17724
17725
17726 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17727 PyObject *resultobj;
17728 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17729 wxTextCtrl *result;
17730 PyObject * obj0 = 0 ;
17731 char *kwnames[] = {
17732 (char *) "self", NULL
17733 };
17734
17735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
17736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17737 {
17738 PyThreadState* __tstate = wxPyBeginAllowThreads();
17739 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
17740
17741 wxPyEndAllowThreads(__tstate);
17742 if (PyErr_Occurred()) SWIG_fail;
17743 }
17744 {
17745 resultobj = wxPyMake_wxObject(result);
17746 }
17747 return resultobj;
17748 fail:
17749 return NULL;
17750 }
17751
17752
17753 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17754 PyObject *resultobj;
17755 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17756 long arg2 ;
17757 int arg3 = (int) 0 ;
17758 wxListItem *result;
17759 PyObject * obj0 = 0 ;
17760 char *kwnames[] = {
17761 (char *) "self",(char *) "itemId",(char *) "col", NULL
17762 };
17763
17764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17766 {
17767 PyThreadState* __tstate = wxPyBeginAllowThreads();
17768 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17769
17770 wxPyEndAllowThreads(__tstate);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 }
17773 {
17774 resultobj = wxPyMake_wxObject(result);
17775 }
17776 return resultobj;
17777 fail:
17778 return NULL;
17779 }
17780
17781
17782 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17783 PyObject *resultobj;
17784 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17785 wxListItem *arg2 = 0 ;
17786 bool result;
17787 PyObject * obj0 = 0 ;
17788 PyObject * obj1 = 0 ;
17789 char *kwnames[] = {
17790 (char *) "self",(char *) "info", NULL
17791 };
17792
17793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17795 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17796 if (arg2 == NULL) {
17797 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17798 }
17799 {
17800 PyThreadState* __tstate = wxPyBeginAllowThreads();
17801 result = (bool)(arg1)->SetItem(*arg2);
17802
17803 wxPyEndAllowThreads(__tstate);
17804 if (PyErr_Occurred()) SWIG_fail;
17805 }
17806 resultobj = PyInt_FromLong((long)result);
17807 return resultobj;
17808 fail:
17809 return NULL;
17810 }
17811
17812
17813 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17814 PyObject *resultobj;
17815 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17816 long arg2 ;
17817 int arg3 ;
17818 wxString *arg4 = 0 ;
17819 int arg5 = (int) -1 ;
17820 long result;
17821 bool temp4 = False ;
17822 PyObject * obj0 = 0 ;
17823 PyObject * obj3 = 0 ;
17824 char *kwnames[] = {
17825 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17826 };
17827
17828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17830 {
17831 arg4 = wxString_in_helper(obj3);
17832 if (arg4 == NULL) SWIG_fail;
17833 temp4 = True;
17834 }
17835 {
17836 PyThreadState* __tstate = wxPyBeginAllowThreads();
17837 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17838
17839 wxPyEndAllowThreads(__tstate);
17840 if (PyErr_Occurred()) SWIG_fail;
17841 }
17842 resultobj = PyInt_FromLong((long)result);
17843 {
17844 if (temp4)
17845 delete arg4;
17846 }
17847 return resultobj;
17848 fail:
17849 {
17850 if (temp4)
17851 delete arg4;
17852 }
17853 return NULL;
17854 }
17855
17856
17857 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17858 PyObject *resultobj;
17859 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17860 long arg2 ;
17861 long arg3 ;
17862 int result;
17863 PyObject * obj0 = 0 ;
17864 char *kwnames[] = {
17865 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17866 };
17867
17868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17870 {
17871 PyThreadState* __tstate = wxPyBeginAllowThreads();
17872 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17873
17874 wxPyEndAllowThreads(__tstate);
17875 if (PyErr_Occurred()) SWIG_fail;
17876 }
17877 resultobj = PyInt_FromLong((long)result);
17878 return resultobj;
17879 fail:
17880 return NULL;
17881 }
17882
17883
17884 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17885 PyObject *resultobj;
17886 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17887 long arg2 ;
17888 long arg3 ;
17889 long arg4 ;
17890 bool result;
17891 PyObject * obj0 = 0 ;
17892 char *kwnames[] = {
17893 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17894 };
17895
17896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17898 {
17899 PyThreadState* __tstate = wxPyBeginAllowThreads();
17900 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17901
17902 wxPyEndAllowThreads(__tstate);
17903 if (PyErr_Occurred()) SWIG_fail;
17904 }
17905 resultobj = PyInt_FromLong((long)result);
17906 return resultobj;
17907 fail:
17908 return NULL;
17909 }
17910
17911
17912 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17913 PyObject *resultobj;
17914 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17915 long arg2 ;
17916 int arg3 ;
17917 int arg4 ;
17918 bool result;
17919 PyObject * obj0 = 0 ;
17920 char *kwnames[] = {
17921 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17922 };
17923
17924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17926 {
17927 PyThreadState* __tstate = wxPyBeginAllowThreads();
17928 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17929
17930 wxPyEndAllowThreads(__tstate);
17931 if (PyErr_Occurred()) SWIG_fail;
17932 }
17933 resultobj = PyInt_FromLong((long)result);
17934 return resultobj;
17935 fail:
17936 return NULL;
17937 }
17938
17939
17940 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17941 PyObject *resultobj;
17942 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17943 long arg2 ;
17944 wxString result;
17945 PyObject * obj0 = 0 ;
17946 char *kwnames[] = {
17947 (char *) "self",(char *) "item", NULL
17948 };
17949
17950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17952 {
17953 PyThreadState* __tstate = wxPyBeginAllowThreads();
17954 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17955
17956 wxPyEndAllowThreads(__tstate);
17957 if (PyErr_Occurred()) SWIG_fail;
17958 }
17959 {
17960 #if wxUSE_UNICODE
17961 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17962 #else
17963 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17964 #endif
17965 }
17966 return resultobj;
17967 fail:
17968 return NULL;
17969 }
17970
17971
17972 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17973 PyObject *resultobj;
17974 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17975 long arg2 ;
17976 wxString *arg3 = 0 ;
17977 bool temp3 = False ;
17978 PyObject * obj0 = 0 ;
17979 PyObject * obj2 = 0 ;
17980 char *kwnames[] = {
17981 (char *) "self",(char *) "item",(char *) "str", NULL
17982 };
17983
17984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
17985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17986 {
17987 arg3 = wxString_in_helper(obj2);
17988 if (arg3 == NULL) SWIG_fail;
17989 temp3 = True;
17990 }
17991 {
17992 PyThreadState* __tstate = wxPyBeginAllowThreads();
17993 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
17998 Py_INCREF(Py_None); resultobj = Py_None;
17999 {
18000 if (temp3)
18001 delete arg3;
18002 }
18003 return resultobj;
18004 fail:
18005 {
18006 if (temp3)
18007 delete arg3;
18008 }
18009 return NULL;
18010 }
18011
18012
18013 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18014 PyObject *resultobj;
18015 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18016 long arg2 ;
18017 long result;
18018 PyObject * obj0 = 0 ;
18019 char *kwnames[] = {
18020 (char *) "self",(char *) "item", NULL
18021 };
18022
18023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18025 {
18026 PyThreadState* __tstate = wxPyBeginAllowThreads();
18027 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18028
18029 wxPyEndAllowThreads(__tstate);
18030 if (PyErr_Occurred()) SWIG_fail;
18031 }
18032 resultobj = PyInt_FromLong((long)result);
18033 return resultobj;
18034 fail:
18035 return NULL;
18036 }
18037
18038
18039 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18040 PyObject *resultobj;
18041 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18042 long arg2 ;
18043 long arg3 ;
18044 bool result;
18045 PyObject * obj0 = 0 ;
18046 char *kwnames[] = {
18047 (char *) "self",(char *) "item",(char *) "data", NULL
18048 };
18049
18050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18052 {
18053 PyThreadState* __tstate = wxPyBeginAllowThreads();
18054 result = (bool)(arg1)->SetItemData(arg2,arg3);
18055
18056 wxPyEndAllowThreads(__tstate);
18057 if (PyErr_Occurred()) SWIG_fail;
18058 }
18059 resultobj = PyInt_FromLong((long)result);
18060 return resultobj;
18061 fail:
18062 return NULL;
18063 }
18064
18065
18066 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18067 PyObject *resultobj;
18068 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18069 long arg2 ;
18070 wxPoint result;
18071 PyObject * obj0 = 0 ;
18072 char *kwnames[] = {
18073 (char *) "self",(char *) "item", NULL
18074 };
18075
18076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18078 {
18079 PyThreadState* __tstate = wxPyBeginAllowThreads();
18080 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18081
18082 wxPyEndAllowThreads(__tstate);
18083 if (PyErr_Occurred()) SWIG_fail;
18084 }
18085 {
18086 wxPoint * resultptr;
18087 resultptr = new wxPoint((wxPoint &) result);
18088 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18089 }
18090 return resultobj;
18091 fail:
18092 return NULL;
18093 }
18094
18095
18096 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18097 PyObject *resultobj;
18098 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18099 long arg2 ;
18100 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18101 wxRect result;
18102 PyObject * obj0 = 0 ;
18103 char *kwnames[] = {
18104 (char *) "self",(char *) "item",(char *) "code", NULL
18105 };
18106
18107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18109 {
18110 PyThreadState* __tstate = wxPyBeginAllowThreads();
18111 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18112
18113 wxPyEndAllowThreads(__tstate);
18114 if (PyErr_Occurred()) SWIG_fail;
18115 }
18116 {
18117 wxRect * resultptr;
18118 resultptr = new wxRect((wxRect &) result);
18119 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18120 }
18121 return resultobj;
18122 fail:
18123 return NULL;
18124 }
18125
18126
18127 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18128 PyObject *resultobj;
18129 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18130 long arg2 ;
18131 wxPoint *arg3 = 0 ;
18132 bool result;
18133 wxPoint temp3 ;
18134 PyObject * obj0 = 0 ;
18135 PyObject * obj2 = 0 ;
18136 char *kwnames[] = {
18137 (char *) "self",(char *) "item",(char *) "pos", NULL
18138 };
18139
18140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18142 {
18143 arg3 = &temp3;
18144 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18145 }
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 resultobj = PyInt_FromLong((long)result);
18154 return resultobj;
18155 fail:
18156 return NULL;
18157 }
18158
18159
18160 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18161 PyObject *resultobj;
18162 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18163 int result;
18164 PyObject * obj0 = 0 ;
18165 char *kwnames[] = {
18166 (char *) "self", NULL
18167 };
18168
18169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18171 {
18172 PyThreadState* __tstate = wxPyBeginAllowThreads();
18173 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18174
18175 wxPyEndAllowThreads(__tstate);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 }
18178 resultobj = PyInt_FromLong((long)result);
18179 return resultobj;
18180 fail:
18181 return NULL;
18182 }
18183
18184
18185 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18186 PyObject *resultobj;
18187 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18188 int result;
18189 PyObject * obj0 = 0 ;
18190 char *kwnames[] = {
18191 (char *) "self", NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18196 {
18197 PyThreadState* __tstate = wxPyBeginAllowThreads();
18198 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18199
18200 wxPyEndAllowThreads(__tstate);
18201 if (PyErr_Occurred()) SWIG_fail;
18202 }
18203 resultobj = PyInt_FromLong((long)result);
18204 return resultobj;
18205 fail:
18206 return NULL;
18207 }
18208
18209
18210 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18211 PyObject *resultobj;
18212 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18213 wxSize result;
18214 PyObject * obj0 = 0 ;
18215 char *kwnames[] = {
18216 (char *) "self", NULL
18217 };
18218
18219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18221 {
18222 PyThreadState* __tstate = wxPyBeginAllowThreads();
18223 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18224
18225 wxPyEndAllowThreads(__tstate);
18226 if (PyErr_Occurred()) SWIG_fail;
18227 }
18228 {
18229 wxSize * resultptr;
18230 resultptr = new wxSize((wxSize &) result);
18231 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18232 }
18233 return resultobj;
18234 fail:
18235 return NULL;
18236 }
18237
18238
18239 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18240 PyObject *resultobj;
18241 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18242 int result;
18243 PyObject * obj0 = 0 ;
18244 char *kwnames[] = {
18245 (char *) "self", NULL
18246 };
18247
18248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18250 {
18251 PyThreadState* __tstate = wxPyBeginAllowThreads();
18252 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18253
18254 wxPyEndAllowThreads(__tstate);
18255 if (PyErr_Occurred()) SWIG_fail;
18256 }
18257 resultobj = PyInt_FromLong((long)result);
18258 return resultobj;
18259 fail:
18260 return NULL;
18261 }
18262
18263
18264 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18265 PyObject *resultobj;
18266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18267 wxColour result;
18268 PyObject * obj0 = 0 ;
18269 char *kwnames[] = {
18270 (char *) "self", NULL
18271 };
18272
18273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18275 {
18276 PyThreadState* __tstate = wxPyBeginAllowThreads();
18277 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18278
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 {
18283 wxColour * resultptr;
18284 resultptr = new wxColour((wxColour &) result);
18285 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18286 }
18287 return resultobj;
18288 fail:
18289 return NULL;
18290 }
18291
18292
18293 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18294 PyObject *resultobj;
18295 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18296 wxColour *arg2 = 0 ;
18297 wxColour temp2 ;
18298 PyObject * obj0 = 0 ;
18299 PyObject * obj1 = 0 ;
18300 char *kwnames[] = {
18301 (char *) "self",(char *) "col", NULL
18302 };
18303
18304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18306 {
18307 arg2 = &temp2;
18308 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18309 }
18310 {
18311 PyThreadState* __tstate = wxPyBeginAllowThreads();
18312 (arg1)->SetTextColour((wxColour const &)*arg2);
18313
18314 wxPyEndAllowThreads(__tstate);
18315 if (PyErr_Occurred()) SWIG_fail;
18316 }
18317 Py_INCREF(Py_None); resultobj = Py_None;
18318 return resultobj;
18319 fail:
18320 return NULL;
18321 }
18322
18323
18324 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18325 PyObject *resultobj;
18326 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18327 long result;
18328 PyObject * obj0 = 0 ;
18329 char *kwnames[] = {
18330 (char *) "self", NULL
18331 };
18332
18333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18335 {
18336 PyThreadState* __tstate = wxPyBeginAllowThreads();
18337 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18338
18339 wxPyEndAllowThreads(__tstate);
18340 if (PyErr_Occurred()) SWIG_fail;
18341 }
18342 resultobj = PyInt_FromLong((long)result);
18343 return resultobj;
18344 fail:
18345 return NULL;
18346 }
18347
18348
18349 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18350 PyObject *resultobj;
18351 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18352 long arg2 ;
18353 bool arg3 = (bool) True ;
18354 PyObject * obj0 = 0 ;
18355 PyObject * obj2 = 0 ;
18356 char *kwnames[] = {
18357 (char *) "self",(char *) "style",(char *) "add", NULL
18358 };
18359
18360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18362 if (obj2) {
18363 arg3 = PyInt_AsLong(obj2) ? true : false;
18364 if (PyErr_Occurred()) SWIG_fail;
18365 }
18366 {
18367 PyThreadState* __tstate = wxPyBeginAllowThreads();
18368 (arg1)->SetSingleStyle(arg2,arg3);
18369
18370 wxPyEndAllowThreads(__tstate);
18371 if (PyErr_Occurred()) SWIG_fail;
18372 }
18373 Py_INCREF(Py_None); resultobj = Py_None;
18374 return resultobj;
18375 fail:
18376 return NULL;
18377 }
18378
18379
18380 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18381 PyObject *resultobj;
18382 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18383 long arg2 ;
18384 PyObject * obj0 = 0 ;
18385 char *kwnames[] = {
18386 (char *) "self",(char *) "style", NULL
18387 };
18388
18389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18391 {
18392 PyThreadState* __tstate = wxPyBeginAllowThreads();
18393 (arg1)->SetWindowStyleFlag(arg2);
18394
18395 wxPyEndAllowThreads(__tstate);
18396 if (PyErr_Occurred()) SWIG_fail;
18397 }
18398 Py_INCREF(Py_None); resultobj = Py_None;
18399 return resultobj;
18400 fail:
18401 return NULL;
18402 }
18403
18404
18405 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18406 PyObject *resultobj;
18407 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18408 long arg2 ;
18409 int arg3 = (int) wxLIST_NEXT_ALL ;
18410 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18411 long result;
18412 PyObject * obj0 = 0 ;
18413 char *kwnames[] = {
18414 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18415 };
18416
18417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18419 {
18420 PyThreadState* __tstate = wxPyBeginAllowThreads();
18421 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18422
18423 wxPyEndAllowThreads(__tstate);
18424 if (PyErr_Occurred()) SWIG_fail;
18425 }
18426 resultobj = PyInt_FromLong((long)result);
18427 return resultobj;
18428 fail:
18429 return NULL;
18430 }
18431
18432
18433 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18434 PyObject *resultobj;
18435 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18436 int arg2 ;
18437 wxImageList *result;
18438 PyObject * obj0 = 0 ;
18439 char *kwnames[] = {
18440 (char *) "self",(char *) "which", NULL
18441 };
18442
18443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18445 {
18446 PyThreadState* __tstate = wxPyBeginAllowThreads();
18447 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18448
18449 wxPyEndAllowThreads(__tstate);
18450 if (PyErr_Occurred()) SWIG_fail;
18451 }
18452 {
18453 resultobj = wxPyMake_wxObject(result);
18454 }
18455 return resultobj;
18456 fail:
18457 return NULL;
18458 }
18459
18460
18461 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18462 PyObject *resultobj;
18463 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18464 wxImageList *arg2 = (wxImageList *) 0 ;
18465 int arg3 ;
18466 PyObject * obj0 = 0 ;
18467 PyObject * obj1 = 0 ;
18468 char *kwnames[] = {
18469 (char *) "self",(char *) "imageList",(char *) "which", NULL
18470 };
18471
18472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18474 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18475 {
18476 PyThreadState* __tstate = wxPyBeginAllowThreads();
18477 (arg1)->SetImageList(arg2,arg3);
18478
18479 wxPyEndAllowThreads(__tstate);
18480 if (PyErr_Occurred()) SWIG_fail;
18481 }
18482 Py_INCREF(Py_None); resultobj = Py_None;
18483 return resultobj;
18484 fail:
18485 return NULL;
18486 }
18487
18488
18489 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18490 PyObject *resultobj;
18491 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18492 wxImageList *arg2 = (wxImageList *) 0 ;
18493 int arg3 ;
18494 PyObject * obj0 = 0 ;
18495 PyObject * obj1 = 0 ;
18496 char *kwnames[] = {
18497 (char *) "self",(char *) "imageList",(char *) "which", NULL
18498 };
18499
18500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18502 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18503 {
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 (arg1)->AssignImageList(arg2,arg3);
18506
18507 wxPyEndAllowThreads(__tstate);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 }
18510 Py_INCREF(Py_None); resultobj = Py_None;
18511 return resultobj;
18512 fail:
18513 return NULL;
18514 }
18515
18516
18517 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18518 PyObject *resultobj;
18519 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18520 bool result;
18521 PyObject * obj0 = 0 ;
18522 char *kwnames[] = {
18523 (char *) "self", NULL
18524 };
18525
18526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18528 {
18529 PyThreadState* __tstate = wxPyBeginAllowThreads();
18530 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18531
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
18535 resultobj = PyInt_FromLong((long)result);
18536 return resultobj;
18537 fail:
18538 return NULL;
18539 }
18540
18541
18542 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18543 PyObject *resultobj;
18544 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18545 long arg2 ;
18546 PyObject * obj0 = 0 ;
18547 char *kwnames[] = {
18548 (char *) "self",(char *) "item", NULL
18549 };
18550
18551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18553 {
18554 PyThreadState* __tstate = wxPyBeginAllowThreads();
18555 (arg1)->RefreshItem(arg2);
18556
18557 wxPyEndAllowThreads(__tstate);
18558 if (PyErr_Occurred()) SWIG_fail;
18559 }
18560 Py_INCREF(Py_None); resultobj = Py_None;
18561 return resultobj;
18562 fail:
18563 return NULL;
18564 }
18565
18566
18567 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18568 PyObject *resultobj;
18569 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18570 long arg2 ;
18571 long arg3 ;
18572 PyObject * obj0 = 0 ;
18573 char *kwnames[] = {
18574 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18575 };
18576
18577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18579 {
18580 PyThreadState* __tstate = wxPyBeginAllowThreads();
18581 (arg1)->RefreshItems(arg2,arg3);
18582
18583 wxPyEndAllowThreads(__tstate);
18584 if (PyErr_Occurred()) SWIG_fail;
18585 }
18586 Py_INCREF(Py_None); resultobj = Py_None;
18587 return resultobj;
18588 fail:
18589 return NULL;
18590 }
18591
18592
18593 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18594 PyObject *resultobj;
18595 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18596 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18597 bool result;
18598 PyObject * obj0 = 0 ;
18599 char *kwnames[] = {
18600 (char *) "self",(char *) "flag", NULL
18601 };
18602
18603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18605 {
18606 PyThreadState* __tstate = wxPyBeginAllowThreads();
18607 result = (bool)(arg1)->Arrange(arg2);
18608
18609 wxPyEndAllowThreads(__tstate);
18610 if (PyErr_Occurred()) SWIG_fail;
18611 }
18612 resultobj = PyInt_FromLong((long)result);
18613 return resultobj;
18614 fail:
18615 return NULL;
18616 }
18617
18618
18619 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18620 PyObject *resultobj;
18621 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18622 long arg2 ;
18623 bool result;
18624 PyObject * obj0 = 0 ;
18625 char *kwnames[] = {
18626 (char *) "self",(char *) "item", NULL
18627 };
18628
18629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18631 {
18632 PyThreadState* __tstate = wxPyBeginAllowThreads();
18633 result = (bool)(arg1)->DeleteItem(arg2);
18634
18635 wxPyEndAllowThreads(__tstate);
18636 if (PyErr_Occurred()) SWIG_fail;
18637 }
18638 resultobj = PyInt_FromLong((long)result);
18639 return resultobj;
18640 fail:
18641 return NULL;
18642 }
18643
18644
18645 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18646 PyObject *resultobj;
18647 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18648 bool result;
18649 PyObject * obj0 = 0 ;
18650 char *kwnames[] = {
18651 (char *) "self", NULL
18652 };
18653
18654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18656 {
18657 PyThreadState* __tstate = wxPyBeginAllowThreads();
18658 result = (bool)(arg1)->DeleteAllItems();
18659
18660 wxPyEndAllowThreads(__tstate);
18661 if (PyErr_Occurred()) SWIG_fail;
18662 }
18663 resultobj = PyInt_FromLong((long)result);
18664 return resultobj;
18665 fail:
18666 return NULL;
18667 }
18668
18669
18670 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18671 PyObject *resultobj;
18672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18673 int arg2 ;
18674 bool result;
18675 PyObject * obj0 = 0 ;
18676 char *kwnames[] = {
18677 (char *) "self",(char *) "col", NULL
18678 };
18679
18680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18682 {
18683 PyThreadState* __tstate = wxPyBeginAllowThreads();
18684 result = (bool)(arg1)->DeleteColumn(arg2);
18685
18686 wxPyEndAllowThreads(__tstate);
18687 if (PyErr_Occurred()) SWIG_fail;
18688 }
18689 resultobj = PyInt_FromLong((long)result);
18690 return resultobj;
18691 fail:
18692 return NULL;
18693 }
18694
18695
18696 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18697 PyObject *resultobj;
18698 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18699 bool result;
18700 PyObject * obj0 = 0 ;
18701 char *kwnames[] = {
18702 (char *) "self", NULL
18703 };
18704
18705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18707 {
18708 PyThreadState* __tstate = wxPyBeginAllowThreads();
18709 result = (bool)(arg1)->DeleteAllColumns();
18710
18711 wxPyEndAllowThreads(__tstate);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 }
18714 resultobj = PyInt_FromLong((long)result);
18715 return resultobj;
18716 fail:
18717 return NULL;
18718 }
18719
18720
18721 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18722 PyObject *resultobj;
18723 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18724 PyObject * obj0 = 0 ;
18725 char *kwnames[] = {
18726 (char *) "self", NULL
18727 };
18728
18729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18731 {
18732 PyThreadState* __tstate = wxPyBeginAllowThreads();
18733 (arg1)->ClearAll();
18734
18735 wxPyEndAllowThreads(__tstate);
18736 if (PyErr_Occurred()) SWIG_fail;
18737 }
18738 Py_INCREF(Py_None); resultobj = Py_None;
18739 return resultobj;
18740 fail:
18741 return NULL;
18742 }
18743
18744
18745 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18746 PyObject *resultobj;
18747 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18748 long arg2 ;
18749 wxTextCtrl *result;
18750 PyObject * obj0 = 0 ;
18751 char *kwnames[] = {
18752 (char *) "self",(char *) "item", NULL
18753 };
18754
18755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18757 {
18758 PyThreadState* __tstate = wxPyBeginAllowThreads();
18759 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
18760
18761 wxPyEndAllowThreads(__tstate);
18762 if (PyErr_Occurred()) SWIG_fail;
18763 }
18764 {
18765 resultobj = wxPyMake_wxObject(result);
18766 }
18767 return resultobj;
18768 fail:
18769 return NULL;
18770 }
18771
18772
18773 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18774 PyObject *resultobj;
18775 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18776 bool arg2 ;
18777 bool result;
18778 PyObject * obj0 = 0 ;
18779 PyObject * obj1 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "self",(char *) "cancel", NULL
18782 };
18783
18784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
18785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18786 arg2 = PyInt_AsLong(obj1) ? true : false;
18787 if (PyErr_Occurred()) SWIG_fail;
18788 {
18789 PyThreadState* __tstate = wxPyBeginAllowThreads();
18790 result = (bool)(arg1)->EndEditLabel(arg2);
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_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18803 PyObject *resultobj;
18804 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18805 long arg2 ;
18806 bool result;
18807 PyObject * obj0 = 0 ;
18808 char *kwnames[] = {
18809 (char *) "self",(char *) "item", NULL
18810 };
18811
18812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18814 {
18815 PyThreadState* __tstate = wxPyBeginAllowThreads();
18816 result = (bool)(arg1)->EnsureVisible(arg2);
18817
18818 wxPyEndAllowThreads(__tstate);
18819 if (PyErr_Occurred()) SWIG_fail;
18820 }
18821 resultobj = PyInt_FromLong((long)result);
18822 return resultobj;
18823 fail:
18824 return NULL;
18825 }
18826
18827
18828 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18829 PyObject *resultobj;
18830 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18831 long arg2 ;
18832 wxString *arg3 = 0 ;
18833 bool arg4 = (bool) False ;
18834 long result;
18835 bool temp3 = False ;
18836 PyObject * obj0 = 0 ;
18837 PyObject * obj2 = 0 ;
18838 PyObject * obj3 = 0 ;
18839 char *kwnames[] = {
18840 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18841 };
18842
18843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18845 {
18846 arg3 = wxString_in_helper(obj2);
18847 if (arg3 == NULL) SWIG_fail;
18848 temp3 = True;
18849 }
18850 if (obj3) {
18851 arg4 = PyInt_AsLong(obj3) ? true : false;
18852 if (PyErr_Occurred()) SWIG_fail;
18853 }
18854 {
18855 PyThreadState* __tstate = wxPyBeginAllowThreads();
18856 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18857
18858 wxPyEndAllowThreads(__tstate);
18859 if (PyErr_Occurred()) SWIG_fail;
18860 }
18861 resultobj = PyInt_FromLong((long)result);
18862 {
18863 if (temp3)
18864 delete arg3;
18865 }
18866 return resultobj;
18867 fail:
18868 {
18869 if (temp3)
18870 delete arg3;
18871 }
18872 return NULL;
18873 }
18874
18875
18876 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18877 PyObject *resultobj;
18878 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18879 long arg2 ;
18880 long arg3 ;
18881 long result;
18882 PyObject * obj0 = 0 ;
18883 char *kwnames[] = {
18884 (char *) "self",(char *) "start",(char *) "data", NULL
18885 };
18886
18887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18889 {
18890 PyThreadState* __tstate = wxPyBeginAllowThreads();
18891 result = (long)(arg1)->FindItem(arg2,arg3);
18892
18893 wxPyEndAllowThreads(__tstate);
18894 if (PyErr_Occurred()) SWIG_fail;
18895 }
18896 resultobj = PyInt_FromLong((long)result);
18897 return resultobj;
18898 fail:
18899 return NULL;
18900 }
18901
18902
18903 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18904 PyObject *resultobj;
18905 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18906 long arg2 ;
18907 wxPoint *arg3 = 0 ;
18908 int arg4 ;
18909 long result;
18910 wxPoint temp3 ;
18911 PyObject * obj0 = 0 ;
18912 PyObject * obj2 = 0 ;
18913 char *kwnames[] = {
18914 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18915 };
18916
18917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18919 {
18920 arg3 = &temp3;
18921 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18922 }
18923 {
18924 PyThreadState* __tstate = wxPyBeginAllowThreads();
18925 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18926
18927 wxPyEndAllowThreads(__tstate);
18928 if (PyErr_Occurred()) SWIG_fail;
18929 }
18930 resultobj = PyInt_FromLong((long)result);
18931 return resultobj;
18932 fail:
18933 return NULL;
18934 }
18935
18936
18937 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18938 PyObject *resultobj;
18939 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18940 wxPoint *arg2 = 0 ;
18941 int *arg3 = 0 ;
18942 long result;
18943 wxPoint temp2 ;
18944 int temp3 ;
18945 PyObject * obj0 = 0 ;
18946 PyObject * obj1 = 0 ;
18947 char *kwnames[] = {
18948 (char *) "self",(char *) "point", NULL
18949 };
18950
18951 arg3 = &temp3;
18952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18954 {
18955 arg2 = &temp2;
18956 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18957 }
18958 {
18959 PyThreadState* __tstate = wxPyBeginAllowThreads();
18960 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18961
18962 wxPyEndAllowThreads(__tstate);
18963 if (PyErr_Occurred()) SWIG_fail;
18964 }
18965 resultobj = PyInt_FromLong((long)result);
18966 {
18967 PyObject *o = PyInt_FromLong((long) (*arg3));
18968 resultobj = t_output_helper(resultobj,o);
18969 }
18970 return resultobj;
18971 fail:
18972 return NULL;
18973 }
18974
18975
18976 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18977 PyObject *resultobj;
18978 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18979 wxListItem *arg2 = 0 ;
18980 long result;
18981 PyObject * obj0 = 0 ;
18982 PyObject * obj1 = 0 ;
18983 char *kwnames[] = {
18984 (char *) "self",(char *) "info", NULL
18985 };
18986
18987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
18988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18990 if (arg2 == NULL) {
18991 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18992 }
18993 {
18994 PyThreadState* __tstate = wxPyBeginAllowThreads();
18995 result = (long)(arg1)->InsertItem(*arg2);
18996
18997 wxPyEndAllowThreads(__tstate);
18998 if (PyErr_Occurred()) SWIG_fail;
18999 }
19000 resultobj = PyInt_FromLong((long)result);
19001 return resultobj;
19002 fail:
19003 return NULL;
19004 }
19005
19006
19007 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19008 PyObject *resultobj;
19009 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19010 long arg2 ;
19011 wxString *arg3 = 0 ;
19012 long result;
19013 bool temp3 = False ;
19014 PyObject * obj0 = 0 ;
19015 PyObject * obj2 = 0 ;
19016 char *kwnames[] = {
19017 (char *) "self",(char *) "index",(char *) "label", NULL
19018 };
19019
19020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19022 {
19023 arg3 = wxString_in_helper(obj2);
19024 if (arg3 == NULL) SWIG_fail;
19025 temp3 = True;
19026 }
19027 {
19028 PyThreadState* __tstate = wxPyBeginAllowThreads();
19029 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19030
19031 wxPyEndAllowThreads(__tstate);
19032 if (PyErr_Occurred()) SWIG_fail;
19033 }
19034 resultobj = PyInt_FromLong((long)result);
19035 {
19036 if (temp3)
19037 delete arg3;
19038 }
19039 return resultobj;
19040 fail:
19041 {
19042 if (temp3)
19043 delete arg3;
19044 }
19045 return NULL;
19046 }
19047
19048
19049 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19050 PyObject *resultobj;
19051 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19052 long arg2 ;
19053 int arg3 ;
19054 long result;
19055 PyObject * obj0 = 0 ;
19056 char *kwnames[] = {
19057 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19058 };
19059
19060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19062 {
19063 PyThreadState* __tstate = wxPyBeginAllowThreads();
19064 result = (long)(arg1)->InsertItem(arg2,arg3);
19065
19066 wxPyEndAllowThreads(__tstate);
19067 if (PyErr_Occurred()) SWIG_fail;
19068 }
19069 resultobj = PyInt_FromLong((long)result);
19070 return resultobj;
19071 fail:
19072 return NULL;
19073 }
19074
19075
19076 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19077 PyObject *resultobj;
19078 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19079 long arg2 ;
19080 wxString *arg3 = 0 ;
19081 int arg4 ;
19082 long result;
19083 bool temp3 = False ;
19084 PyObject * obj0 = 0 ;
19085 PyObject * obj2 = 0 ;
19086 char *kwnames[] = {
19087 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19088 };
19089
19090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19092 {
19093 arg3 = wxString_in_helper(obj2);
19094 if (arg3 == NULL) SWIG_fail;
19095 temp3 = True;
19096 }
19097 {
19098 PyThreadState* __tstate = wxPyBeginAllowThreads();
19099 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19100
19101 wxPyEndAllowThreads(__tstate);
19102 if (PyErr_Occurred()) SWIG_fail;
19103 }
19104 resultobj = PyInt_FromLong((long)result);
19105 {
19106 if (temp3)
19107 delete arg3;
19108 }
19109 return resultobj;
19110 fail:
19111 {
19112 if (temp3)
19113 delete arg3;
19114 }
19115 return NULL;
19116 }
19117
19118
19119 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19120 PyObject *resultobj;
19121 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19122 long arg2 ;
19123 wxListItem *arg3 = 0 ;
19124 long result;
19125 PyObject * obj0 = 0 ;
19126 PyObject * obj2 = 0 ;
19127 char *kwnames[] = {
19128 (char *) "self",(char *) "col",(char *) "info", NULL
19129 };
19130
19131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19133 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19134 if (arg3 == NULL) {
19135 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19136 }
19137 {
19138 PyThreadState* __tstate = wxPyBeginAllowThreads();
19139 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19140
19141 wxPyEndAllowThreads(__tstate);
19142 if (PyErr_Occurred()) SWIG_fail;
19143 }
19144 resultobj = PyInt_FromLong((long)result);
19145 return resultobj;
19146 fail:
19147 return NULL;
19148 }
19149
19150
19151 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19152 PyObject *resultobj;
19153 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19154 long arg2 ;
19155 wxString *arg3 = 0 ;
19156 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19157 int arg5 = (int) -1 ;
19158 long result;
19159 bool temp3 = False ;
19160 PyObject * obj0 = 0 ;
19161 PyObject * obj2 = 0 ;
19162 char *kwnames[] = {
19163 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19164 };
19165
19166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19168 {
19169 arg3 = wxString_in_helper(obj2);
19170 if (arg3 == NULL) SWIG_fail;
19171 temp3 = True;
19172 }
19173 {
19174 PyThreadState* __tstate = wxPyBeginAllowThreads();
19175 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19176
19177 wxPyEndAllowThreads(__tstate);
19178 if (PyErr_Occurred()) SWIG_fail;
19179 }
19180 resultobj = PyInt_FromLong((long)result);
19181 {
19182 if (temp3)
19183 delete arg3;
19184 }
19185 return resultobj;
19186 fail:
19187 {
19188 if (temp3)
19189 delete arg3;
19190 }
19191 return NULL;
19192 }
19193
19194
19195 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19196 PyObject *resultobj;
19197 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19198 long arg2 ;
19199 PyObject * obj0 = 0 ;
19200 char *kwnames[] = {
19201 (char *) "self",(char *) "count", NULL
19202 };
19203
19204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19206 {
19207 PyThreadState* __tstate = wxPyBeginAllowThreads();
19208 (arg1)->SetItemCount(arg2);
19209
19210 wxPyEndAllowThreads(__tstate);
19211 if (PyErr_Occurred()) SWIG_fail;
19212 }
19213 Py_INCREF(Py_None); resultobj = Py_None;
19214 return resultobj;
19215 fail:
19216 return NULL;
19217 }
19218
19219
19220 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19221 PyObject *resultobj;
19222 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19223 int arg2 ;
19224 int arg3 ;
19225 bool result;
19226 PyObject * obj0 = 0 ;
19227 char *kwnames[] = {
19228 (char *) "self",(char *) "dx",(char *) "dy", NULL
19229 };
19230
19231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19233 {
19234 PyThreadState* __tstate = wxPyBeginAllowThreads();
19235 result = (bool)(arg1)->ScrollList(arg2,arg3);
19236
19237 wxPyEndAllowThreads(__tstate);
19238 if (PyErr_Occurred()) SWIG_fail;
19239 }
19240 resultobj = PyInt_FromLong((long)result);
19241 return resultobj;
19242 fail:
19243 return NULL;
19244 }
19245
19246
19247 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19248 PyObject *resultobj;
19249 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19250 long arg2 ;
19251 wxColour *arg3 = 0 ;
19252 wxColour temp3 ;
19253 PyObject * obj0 = 0 ;
19254 PyObject * obj2 = 0 ;
19255 char *kwnames[] = {
19256 (char *) "self",(char *) "item",(char *) "col", NULL
19257 };
19258
19259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19261 {
19262 arg3 = &temp3;
19263 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19264 }
19265 {
19266 PyThreadState* __tstate = wxPyBeginAllowThreads();
19267 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19268
19269 wxPyEndAllowThreads(__tstate);
19270 if (PyErr_Occurred()) SWIG_fail;
19271 }
19272 Py_INCREF(Py_None); resultobj = Py_None;
19273 return resultobj;
19274 fail:
19275 return NULL;
19276 }
19277
19278
19279 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19280 PyObject *resultobj;
19281 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19282 long arg2 ;
19283 wxColour result;
19284 PyObject * obj0 = 0 ;
19285 char *kwnames[] = {
19286 (char *) "self",(char *) "item", NULL
19287 };
19288
19289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19291 {
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
19293 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19294
19295 wxPyEndAllowThreads(__tstate);
19296 if (PyErr_Occurred()) SWIG_fail;
19297 }
19298 {
19299 wxColour * resultptr;
19300 resultptr = new wxColour((wxColour &) result);
19301 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19302 }
19303 return resultobj;
19304 fail:
19305 return NULL;
19306 }
19307
19308
19309 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19310 PyObject *resultobj;
19311 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19312 long arg2 ;
19313 wxColour *arg3 = 0 ;
19314 wxColour temp3 ;
19315 PyObject * obj0 = 0 ;
19316 PyObject * obj2 = 0 ;
19317 char *kwnames[] = {
19318 (char *) "self",(char *) "item",(char *) "col", NULL
19319 };
19320
19321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19323 {
19324 arg3 = &temp3;
19325 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19326 }
19327 {
19328 PyThreadState* __tstate = wxPyBeginAllowThreads();
19329 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19330
19331 wxPyEndAllowThreads(__tstate);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 }
19334 Py_INCREF(Py_None); resultobj = Py_None;
19335 return resultobj;
19336 fail:
19337 return NULL;
19338 }
19339
19340
19341 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19342 PyObject *resultobj;
19343 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19344 long arg2 ;
19345 wxColour result;
19346 PyObject * obj0 = 0 ;
19347 char *kwnames[] = {
19348 (char *) "self",(char *) "item", NULL
19349 };
19350
19351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19353 {
19354 PyThreadState* __tstate = wxPyBeginAllowThreads();
19355 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19356
19357 wxPyEndAllowThreads(__tstate);
19358 if (PyErr_Occurred()) SWIG_fail;
19359 }
19360 {
19361 wxColour * resultptr;
19362 resultptr = new wxColour((wxColour &) result);
19363 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19364 }
19365 return resultobj;
19366 fail:
19367 return NULL;
19368 }
19369
19370
19371 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19372 PyObject *resultobj;
19373 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19374 PyObject *arg2 = (PyObject *) 0 ;
19375 bool result;
19376 PyObject * obj0 = 0 ;
19377 PyObject * obj1 = 0 ;
19378 char *kwnames[] = {
19379 (char *) "self",(char *) "func", NULL
19380 };
19381
19382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19384 arg2 = obj1;
19385 {
19386 PyThreadState* __tstate = wxPyBeginAllowThreads();
19387 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19388
19389 wxPyEndAllowThreads(__tstate);
19390 if (PyErr_Occurred()) SWIG_fail;
19391 }
19392 resultobj = PyInt_FromLong((long)result);
19393 return resultobj;
19394 fail:
19395 return NULL;
19396 }
19397
19398
19399 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19400 PyObject *resultobj;
19401 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19402 wxWindow *result;
19403 PyObject * obj0 = 0 ;
19404 char *kwnames[] = {
19405 (char *) "self", NULL
19406 };
19407
19408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 {
19418 resultobj = wxPyMake_wxObject(result);
19419 }
19420 return resultobj;
19421 fail:
19422 return NULL;
19423 }
19424
19425
19426 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19427 PyObject *obj;
19428 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19429 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19430 Py_INCREF(obj);
19431 return Py_BuildValue((char *)"");
19432 }
19433 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19434 PyObject *resultobj;
19435 wxWindow *arg1 = (wxWindow *) 0 ;
19436 int arg2 = (int) -1 ;
19437 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19438 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19439 wxSize const &arg4_defvalue = wxDefaultSize ;
19440 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19441 long arg5 = (long) wxLC_REPORT ;
19442 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19443 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19444 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19445 wxString *arg7 = (wxString *) &arg7_defvalue ;
19446 wxListView *result;
19447 wxPoint temp3 ;
19448 wxSize temp4 ;
19449 bool temp7 = False ;
19450 PyObject * obj0 = 0 ;
19451 PyObject * obj2 = 0 ;
19452 PyObject * obj3 = 0 ;
19453 PyObject * obj5 = 0 ;
19454 PyObject * obj6 = 0 ;
19455 char *kwnames[] = {
19456 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19457 };
19458
19459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19461 if (obj2) {
19462 {
19463 arg3 = &temp3;
19464 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19465 }
19466 }
19467 if (obj3) {
19468 {
19469 arg4 = &temp4;
19470 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19471 }
19472 }
19473 if (obj5) {
19474 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19475 if (arg6 == NULL) {
19476 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19477 }
19478 }
19479 if (obj6) {
19480 {
19481 arg7 = wxString_in_helper(obj6);
19482 if (arg7 == NULL) SWIG_fail;
19483 temp7 = True;
19484 }
19485 }
19486 {
19487 PyThreadState* __tstate = wxPyBeginAllowThreads();
19488 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19489
19490 wxPyEndAllowThreads(__tstate);
19491 if (PyErr_Occurred()) SWIG_fail;
19492 }
19493 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19494 {
19495 if (temp7)
19496 delete arg7;
19497 }
19498 return resultobj;
19499 fail:
19500 {
19501 if (temp7)
19502 delete arg7;
19503 }
19504 return NULL;
19505 }
19506
19507
19508 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19509 PyObject *resultobj;
19510 wxListView *result;
19511 char *kwnames[] = {
19512 NULL
19513 };
19514
19515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19516 {
19517 PyThreadState* __tstate = wxPyBeginAllowThreads();
19518 result = (wxListView *)new wxListView();
19519
19520 wxPyEndAllowThreads(__tstate);
19521 if (PyErr_Occurred()) SWIG_fail;
19522 }
19523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19524 return resultobj;
19525 fail:
19526 return NULL;
19527 }
19528
19529
19530 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19531 PyObject *resultobj;
19532 wxListView *arg1 = (wxListView *) 0 ;
19533 wxWindow *arg2 = (wxWindow *) 0 ;
19534 int arg3 = (int) -1 ;
19535 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19536 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19537 wxSize const &arg5_defvalue = wxDefaultSize ;
19538 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19539 long arg6 = (long) wxLC_REPORT ;
19540 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19541 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19542 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19543 wxString *arg8 = (wxString *) &arg8_defvalue ;
19544 bool result;
19545 wxPoint temp4 ;
19546 wxSize temp5 ;
19547 bool temp8 = False ;
19548 PyObject * obj0 = 0 ;
19549 PyObject * obj1 = 0 ;
19550 PyObject * obj3 = 0 ;
19551 PyObject * obj4 = 0 ;
19552 PyObject * obj6 = 0 ;
19553 PyObject * obj7 = 0 ;
19554 char *kwnames[] = {
19555 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19556 };
19557
19558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19561 if (obj3) {
19562 {
19563 arg4 = &temp4;
19564 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19565 }
19566 }
19567 if (obj4) {
19568 {
19569 arg5 = &temp5;
19570 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19571 }
19572 }
19573 if (obj6) {
19574 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19575 if (arg7 == NULL) {
19576 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19577 }
19578 }
19579 if (obj7) {
19580 {
19581 arg8 = wxString_in_helper(obj7);
19582 if (arg8 == NULL) SWIG_fail;
19583 temp8 = True;
19584 }
19585 }
19586 {
19587 PyThreadState* __tstate = wxPyBeginAllowThreads();
19588 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19589
19590 wxPyEndAllowThreads(__tstate);
19591 if (PyErr_Occurred()) SWIG_fail;
19592 }
19593 resultobj = PyInt_FromLong((long)result);
19594 {
19595 if (temp8)
19596 delete arg8;
19597 }
19598 return resultobj;
19599 fail:
19600 {
19601 if (temp8)
19602 delete arg8;
19603 }
19604 return NULL;
19605 }
19606
19607
19608 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19609 PyObject *resultobj;
19610 wxListView *arg1 = (wxListView *) 0 ;
19611 long arg2 ;
19612 bool arg3 = (bool) True ;
19613 PyObject * obj0 = 0 ;
19614 PyObject * obj2 = 0 ;
19615 char *kwnames[] = {
19616 (char *) "self",(char *) "n",(char *) "on", NULL
19617 };
19618
19619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19621 if (obj2) {
19622 arg3 = PyInt_AsLong(obj2) ? true : false;
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
19625 {
19626 PyThreadState* __tstate = wxPyBeginAllowThreads();
19627 (arg1)->Select(arg2,arg3);
19628
19629 wxPyEndAllowThreads(__tstate);
19630 if (PyErr_Occurred()) SWIG_fail;
19631 }
19632 Py_INCREF(Py_None); resultobj = Py_None;
19633 return resultobj;
19634 fail:
19635 return NULL;
19636 }
19637
19638
19639 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19640 PyObject *resultobj;
19641 wxListView *arg1 = (wxListView *) 0 ;
19642 long arg2 ;
19643 PyObject * obj0 = 0 ;
19644 char *kwnames[] = {
19645 (char *) "self",(char *) "index", NULL
19646 };
19647
19648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19650 {
19651 PyThreadState* __tstate = wxPyBeginAllowThreads();
19652 (arg1)->Focus(arg2);
19653
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 Py_INCREF(Py_None); resultobj = Py_None;
19658 return resultobj;
19659 fail:
19660 return NULL;
19661 }
19662
19663
19664 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19665 PyObject *resultobj;
19666 wxListView *arg1 = (wxListView *) 0 ;
19667 long result;
19668 PyObject * obj0 = 0 ;
19669 char *kwnames[] = {
19670 (char *) "self", NULL
19671 };
19672
19673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 resultobj = PyInt_FromLong((long)result);
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxListView *arg1 = (wxListView *) 0 ;
19692 long arg2 ;
19693 long result;
19694 PyObject * obj0 = 0 ;
19695 char *kwnames[] = {
19696 (char *) "self",(char *) "item", NULL
19697 };
19698
19699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19701 {
19702 PyThreadState* __tstate = wxPyBeginAllowThreads();
19703 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19704
19705 wxPyEndAllowThreads(__tstate);
19706 if (PyErr_Occurred()) SWIG_fail;
19707 }
19708 resultobj = PyInt_FromLong((long)result);
19709 return resultobj;
19710 fail:
19711 return NULL;
19712 }
19713
19714
19715 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19716 PyObject *resultobj;
19717 wxListView *arg1 = (wxListView *) 0 ;
19718 long result;
19719 PyObject * obj0 = 0 ;
19720 char *kwnames[] = {
19721 (char *) "self", NULL
19722 };
19723
19724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19726 {
19727 PyThreadState* __tstate = wxPyBeginAllowThreads();
19728 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19729
19730 wxPyEndAllowThreads(__tstate);
19731 if (PyErr_Occurred()) SWIG_fail;
19732 }
19733 resultobj = PyInt_FromLong((long)result);
19734 return resultobj;
19735 fail:
19736 return NULL;
19737 }
19738
19739
19740 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19741 PyObject *resultobj;
19742 wxListView *arg1 = (wxListView *) 0 ;
19743 long arg2 ;
19744 bool result;
19745 PyObject * obj0 = 0 ;
19746 char *kwnames[] = {
19747 (char *) "self",(char *) "index", NULL
19748 };
19749
19750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19752 {
19753 PyThreadState* __tstate = wxPyBeginAllowThreads();
19754 result = (bool)(arg1)->IsSelected(arg2);
19755
19756 wxPyEndAllowThreads(__tstate);
19757 if (PyErr_Occurred()) SWIG_fail;
19758 }
19759 resultobj = PyInt_FromLong((long)result);
19760 return resultobj;
19761 fail:
19762 return NULL;
19763 }
19764
19765
19766 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19767 PyObject *resultobj;
19768 wxListView *arg1 = (wxListView *) 0 ;
19769 int arg2 ;
19770 int arg3 ;
19771 PyObject * obj0 = 0 ;
19772 char *kwnames[] = {
19773 (char *) "self",(char *) "col",(char *) "image", NULL
19774 };
19775
19776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19778 {
19779 PyThreadState* __tstate = wxPyBeginAllowThreads();
19780 (arg1)->SetColumnImage(arg2,arg3);
19781
19782 wxPyEndAllowThreads(__tstate);
19783 if (PyErr_Occurred()) SWIG_fail;
19784 }
19785 Py_INCREF(Py_None); resultobj = Py_None;
19786 return resultobj;
19787 fail:
19788 return NULL;
19789 }
19790
19791
19792 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19793 PyObject *resultobj;
19794 wxListView *arg1 = (wxListView *) 0 ;
19795 int arg2 ;
19796 PyObject * obj0 = 0 ;
19797 char *kwnames[] = {
19798 (char *) "self",(char *) "col", NULL
19799 };
19800
19801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19803 {
19804 PyThreadState* __tstate = wxPyBeginAllowThreads();
19805 (arg1)->ClearColumnImage(arg2);
19806
19807 wxPyEndAllowThreads(__tstate);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 Py_INCREF(Py_None); resultobj = Py_None;
19811 return resultobj;
19812 fail:
19813 return NULL;
19814 }
19815
19816
19817 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19818 PyObject *obj;
19819 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19820 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19821 Py_INCREF(obj);
19822 return Py_BuildValue((char *)"");
19823 }
19824 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19825 PyObject *resultobj;
19826 wxTreeItemId *result;
19827 char *kwnames[] = {
19828 NULL
19829 };
19830
19831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19832 {
19833 PyThreadState* __tstate = wxPyBeginAllowThreads();
19834 result = (wxTreeItemId *)new wxTreeItemId();
19835
19836 wxPyEndAllowThreads(__tstate);
19837 if (PyErr_Occurred()) SWIG_fail;
19838 }
19839 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19840 return resultobj;
19841 fail:
19842 return NULL;
19843 }
19844
19845
19846 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19847 PyObject *resultobj;
19848 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19849 PyObject * obj0 = 0 ;
19850 char *kwnames[] = {
19851 (char *) "self", NULL
19852 };
19853
19854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19856 {
19857 PyThreadState* __tstate = wxPyBeginAllowThreads();
19858 delete arg1;
19859
19860 wxPyEndAllowThreads(__tstate);
19861 if (PyErr_Occurred()) SWIG_fail;
19862 }
19863 Py_INCREF(Py_None); resultobj = Py_None;
19864 return resultobj;
19865 fail:
19866 return NULL;
19867 }
19868
19869
19870 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19871 PyObject *resultobj;
19872 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19873 bool result;
19874 PyObject * obj0 = 0 ;
19875 char *kwnames[] = {
19876 (char *) "self", NULL
19877 };
19878
19879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19884
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 resultobj = PyInt_FromLong((long)result);
19889 return resultobj;
19890 fail:
19891 return NULL;
19892 }
19893
19894
19895 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19896 PyObject *resultobj;
19897 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19898 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19899 bool result;
19900 PyObject * obj0 = 0 ;
19901 PyObject * obj1 = 0 ;
19902 char *kwnames[] = {
19903 (char *) "self",(char *) "other", NULL
19904 };
19905
19906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19908 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19909 {
19910 PyThreadState* __tstate = wxPyBeginAllowThreads();
19911 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19912
19913 wxPyEndAllowThreads(__tstate);
19914 if (PyErr_Occurred()) SWIG_fail;
19915 }
19916 resultobj = PyInt_FromLong((long)result);
19917 return resultobj;
19918 fail:
19919 return NULL;
19920 }
19921
19922
19923 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19924 PyObject *resultobj;
19925 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19926 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19927 bool result;
19928 PyObject * obj0 = 0 ;
19929 PyObject * obj1 = 0 ;
19930 char *kwnames[] = {
19931 (char *) "self",(char *) "other", NULL
19932 };
19933
19934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19937 {
19938 PyThreadState* __tstate = wxPyBeginAllowThreads();
19939 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19940
19941 wxPyEndAllowThreads(__tstate);
19942 if (PyErr_Occurred()) SWIG_fail;
19943 }
19944 resultobj = PyInt_FromLong((long)result);
19945 return resultobj;
19946 fail:
19947 return NULL;
19948 }
19949
19950
19951 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19952 PyObject *resultobj;
19953 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19954 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19955 PyObject * obj0 = 0 ;
19956 PyObject * obj1 = 0 ;
19957 char *kwnames[] = {
19958 (char *) "self",(char *) "m_pItem", NULL
19959 };
19960
19961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19963 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19964 if (arg1) (arg1)->m_pItem = arg2;
19965
19966 Py_INCREF(Py_None); resultobj = Py_None;
19967 return resultobj;
19968 fail:
19969 return NULL;
19970 }
19971
19972
19973 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19974 PyObject *resultobj;
19975 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19976 wxTreeItemIdValue result;
19977 PyObject * obj0 = 0 ;
19978 char *kwnames[] = {
19979 (char *) "self", NULL
19980 };
19981
19982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
19983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19984 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
19985
19986 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
19987 return resultobj;
19988 fail:
19989 return NULL;
19990 }
19991
19992
19993 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
19994 PyObject *obj;
19995 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19996 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
19997 Py_INCREF(obj);
19998 return Py_BuildValue((char *)"");
19999 }
20000 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20001 PyObject *resultobj;
20002 PyObject *arg1 = (PyObject *) NULL ;
20003 wxPyTreeItemData *result;
20004 PyObject * obj0 = 0 ;
20005 char *kwnames[] = {
20006 (char *) "obj", NULL
20007 };
20008
20009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20010 if (obj0) {
20011 arg1 = obj0;
20012 }
20013 {
20014 PyThreadState* __tstate = wxPyBeginAllowThreads();
20015 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20016
20017 wxPyEndAllowThreads(__tstate);
20018 if (PyErr_Occurred()) SWIG_fail;
20019 }
20020 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20021 return resultobj;
20022 fail:
20023 return NULL;
20024 }
20025
20026
20027 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20028 PyObject *resultobj;
20029 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20030 PyObject *result;
20031 PyObject * obj0 = 0 ;
20032 char *kwnames[] = {
20033 (char *) "self", NULL
20034 };
20035
20036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20038 {
20039 PyThreadState* __tstate = wxPyBeginAllowThreads();
20040 result = (PyObject *)(arg1)->GetData();
20041
20042 wxPyEndAllowThreads(__tstate);
20043 if (PyErr_Occurred()) SWIG_fail;
20044 }
20045 resultobj = result;
20046 return resultobj;
20047 fail:
20048 return NULL;
20049 }
20050
20051
20052 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20053 PyObject *resultobj;
20054 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20055 PyObject *arg2 = (PyObject *) 0 ;
20056 PyObject * obj0 = 0 ;
20057 PyObject * obj1 = 0 ;
20058 char *kwnames[] = {
20059 (char *) "self",(char *) "obj", NULL
20060 };
20061
20062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20064 arg2 = obj1;
20065 {
20066 PyThreadState* __tstate = wxPyBeginAllowThreads();
20067 (arg1)->SetData(arg2);
20068
20069 wxPyEndAllowThreads(__tstate);
20070 if (PyErr_Occurred()) SWIG_fail;
20071 }
20072 Py_INCREF(Py_None); resultobj = Py_None;
20073 return resultobj;
20074 fail:
20075 return NULL;
20076 }
20077
20078
20079 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20080 PyObject *resultobj;
20081 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20082 wxTreeItemId *result;
20083 PyObject * obj0 = 0 ;
20084 char *kwnames[] = {
20085 (char *) "self", NULL
20086 };
20087
20088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20090 {
20091 PyThreadState* __tstate = wxPyBeginAllowThreads();
20092 {
20093 wxTreeItemId const &_result_ref = (arg1)->GetId();
20094 result = (wxTreeItemId *) &_result_ref;
20095 }
20096
20097 wxPyEndAllowThreads(__tstate);
20098 if (PyErr_Occurred()) SWIG_fail;
20099 }
20100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20101 return resultobj;
20102 fail:
20103 return NULL;
20104 }
20105
20106
20107 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20108 PyObject *resultobj;
20109 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20110 wxTreeItemId *arg2 = 0 ;
20111 PyObject * obj0 = 0 ;
20112 PyObject * obj1 = 0 ;
20113 char *kwnames[] = {
20114 (char *) "self",(char *) "id", NULL
20115 };
20116
20117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20119 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20120 if (arg2 == NULL) {
20121 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20122 }
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 (arg1)->SetId((wxTreeItemId const &)*arg2);
20126
20127 wxPyEndAllowThreads(__tstate);
20128 if (PyErr_Occurred()) SWIG_fail;
20129 }
20130 Py_INCREF(Py_None); resultobj = Py_None;
20131 return resultobj;
20132 fail:
20133 return NULL;
20134 }
20135
20136
20137 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20138 PyObject *resultobj;
20139 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20140 PyObject * obj0 = 0 ;
20141 char *kwnames[] = {
20142 (char *) "self", NULL
20143 };
20144
20145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20147 {
20148 PyThreadState* __tstate = wxPyBeginAllowThreads();
20149 wxPyTreeItemData_Destroy(arg1);
20150
20151 wxPyEndAllowThreads(__tstate);
20152 if (PyErr_Occurred()) SWIG_fail;
20153 }
20154 Py_INCREF(Py_None); resultobj = Py_None;
20155 return resultobj;
20156 fail:
20157 return NULL;
20158 }
20159
20160
20161 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20162 PyObject *obj;
20163 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20164 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20165 Py_INCREF(obj);
20166 return Py_BuildValue((char *)"");
20167 }
20168 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20169 PyObject *resultobj;
20170 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20171 int arg2 = (int) 0 ;
20172 wxTreeEvent *result;
20173 char *kwnames[] = {
20174 (char *) "commandType",(char *) "id", NULL
20175 };
20176
20177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20178 {
20179 PyThreadState* __tstate = wxPyBeginAllowThreads();
20180 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20181
20182 wxPyEndAllowThreads(__tstate);
20183 if (PyErr_Occurred()) SWIG_fail;
20184 }
20185 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20186 return resultobj;
20187 fail:
20188 return NULL;
20189 }
20190
20191
20192 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20193 PyObject *resultobj;
20194 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20195 wxTreeItemId result;
20196 PyObject * obj0 = 0 ;
20197 char *kwnames[] = {
20198 (char *) "self", NULL
20199 };
20200
20201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20203 {
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 result = ((wxTreeEvent const *)arg1)->GetItem();
20206
20207 wxPyEndAllowThreads(__tstate);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 }
20210 {
20211 wxTreeItemId * resultptr;
20212 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20213 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20214 }
20215 return resultobj;
20216 fail:
20217 return NULL;
20218 }
20219
20220
20221 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20222 PyObject *resultobj;
20223 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20224 wxTreeItemId *arg2 = 0 ;
20225 PyObject * obj0 = 0 ;
20226 PyObject * obj1 = 0 ;
20227 char *kwnames[] = {
20228 (char *) "self",(char *) "item", NULL
20229 };
20230
20231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20233 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20234 if (arg2 == NULL) {
20235 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20236 }
20237 {
20238 PyThreadState* __tstate = wxPyBeginAllowThreads();
20239 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20240
20241 wxPyEndAllowThreads(__tstate);
20242 if (PyErr_Occurred()) SWIG_fail;
20243 }
20244 Py_INCREF(Py_None); resultobj = Py_None;
20245 return resultobj;
20246 fail:
20247 return NULL;
20248 }
20249
20250
20251 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20252 PyObject *resultobj;
20253 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20254 wxTreeItemId result;
20255 PyObject * obj0 = 0 ;
20256 char *kwnames[] = {
20257 (char *) "self", NULL
20258 };
20259
20260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20262 {
20263 PyThreadState* __tstate = wxPyBeginAllowThreads();
20264 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20265
20266 wxPyEndAllowThreads(__tstate);
20267 if (PyErr_Occurred()) SWIG_fail;
20268 }
20269 {
20270 wxTreeItemId * resultptr;
20271 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20272 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20273 }
20274 return resultobj;
20275 fail:
20276 return NULL;
20277 }
20278
20279
20280 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20281 PyObject *resultobj;
20282 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20283 wxTreeItemId *arg2 = 0 ;
20284 PyObject * obj0 = 0 ;
20285 PyObject * obj1 = 0 ;
20286 char *kwnames[] = {
20287 (char *) "self",(char *) "item", NULL
20288 };
20289
20290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20293 if (arg2 == NULL) {
20294 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20295 }
20296 {
20297 PyThreadState* __tstate = wxPyBeginAllowThreads();
20298 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20299
20300 wxPyEndAllowThreads(__tstate);
20301 if (PyErr_Occurred()) SWIG_fail;
20302 }
20303 Py_INCREF(Py_None); resultobj = Py_None;
20304 return resultobj;
20305 fail:
20306 return NULL;
20307 }
20308
20309
20310 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20311 PyObject *resultobj;
20312 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20313 wxPoint result;
20314 PyObject * obj0 = 0 ;
20315 char *kwnames[] = {
20316 (char *) "self", NULL
20317 };
20318
20319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20321 {
20322 PyThreadState* __tstate = wxPyBeginAllowThreads();
20323 result = ((wxTreeEvent const *)arg1)->GetPoint();
20324
20325 wxPyEndAllowThreads(__tstate);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 }
20328 {
20329 wxPoint * resultptr;
20330 resultptr = new wxPoint((wxPoint &) result);
20331 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20332 }
20333 return resultobj;
20334 fail:
20335 return NULL;
20336 }
20337
20338
20339 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20340 PyObject *resultobj;
20341 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20342 wxPoint *arg2 = 0 ;
20343 wxPoint temp2 ;
20344 PyObject * obj0 = 0 ;
20345 PyObject * obj1 = 0 ;
20346 char *kwnames[] = {
20347 (char *) "self",(char *) "pt", NULL
20348 };
20349
20350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20352 {
20353 arg2 = &temp2;
20354 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20355 }
20356 {
20357 PyThreadState* __tstate = wxPyBeginAllowThreads();
20358 (arg1)->SetPoint((wxPoint const &)*arg2);
20359
20360 wxPyEndAllowThreads(__tstate);
20361 if (PyErr_Occurred()) SWIG_fail;
20362 }
20363 Py_INCREF(Py_None); resultobj = Py_None;
20364 return resultobj;
20365 fail:
20366 return NULL;
20367 }
20368
20369
20370 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20371 PyObject *resultobj;
20372 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20373 wxKeyEvent *result;
20374 PyObject * obj0 = 0 ;
20375 char *kwnames[] = {
20376 (char *) "self", NULL
20377 };
20378
20379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20381 {
20382 PyThreadState* __tstate = wxPyBeginAllowThreads();
20383 {
20384 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20385 result = (wxKeyEvent *) &_result_ref;
20386 }
20387
20388 wxPyEndAllowThreads(__tstate);
20389 if (PyErr_Occurred()) SWIG_fail;
20390 }
20391 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20392 return resultobj;
20393 fail:
20394 return NULL;
20395 }
20396
20397
20398 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20399 PyObject *resultobj;
20400 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20401 int result;
20402 PyObject * obj0 = 0 ;
20403 char *kwnames[] = {
20404 (char *) "self", NULL
20405 };
20406
20407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20409 {
20410 PyThreadState* __tstate = wxPyBeginAllowThreads();
20411 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20412
20413 wxPyEndAllowThreads(__tstate);
20414 if (PyErr_Occurred()) SWIG_fail;
20415 }
20416 resultobj = PyInt_FromLong((long)result);
20417 return resultobj;
20418 fail:
20419 return NULL;
20420 }
20421
20422
20423 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20424 PyObject *resultobj;
20425 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20426 wxKeyEvent *arg2 = 0 ;
20427 PyObject * obj0 = 0 ;
20428 PyObject * obj1 = 0 ;
20429 char *kwnames[] = {
20430 (char *) "self",(char *) "evt", NULL
20431 };
20432
20433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20435 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20436 if (arg2 == NULL) {
20437 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20438 }
20439 {
20440 PyThreadState* __tstate = wxPyBeginAllowThreads();
20441 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20442
20443 wxPyEndAllowThreads(__tstate);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
20446 Py_INCREF(Py_None); resultobj = Py_None;
20447 return resultobj;
20448 fail:
20449 return NULL;
20450 }
20451
20452
20453 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20454 PyObject *resultobj;
20455 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20456 wxString *result;
20457 PyObject * obj0 = 0 ;
20458 char *kwnames[] = {
20459 (char *) "self", NULL
20460 };
20461
20462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 {
20467 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20468 result = (wxString *) &_result_ref;
20469 }
20470
20471 wxPyEndAllowThreads(__tstate);
20472 if (PyErr_Occurred()) SWIG_fail;
20473 }
20474 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
20475 return resultobj;
20476 fail:
20477 return NULL;
20478 }
20479
20480
20481 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20482 PyObject *resultobj;
20483 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20484 wxString *arg2 = 0 ;
20485 bool temp2 = False ;
20486 PyObject * obj0 = 0 ;
20487 PyObject * obj1 = 0 ;
20488 char *kwnames[] = {
20489 (char *) "self",(char *) "label", NULL
20490 };
20491
20492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20494 {
20495 arg2 = wxString_in_helper(obj1);
20496 if (arg2 == NULL) SWIG_fail;
20497 temp2 = True;
20498 }
20499 {
20500 PyThreadState* __tstate = wxPyBeginAllowThreads();
20501 (arg1)->SetLabel((wxString const &)*arg2);
20502
20503 wxPyEndAllowThreads(__tstate);
20504 if (PyErr_Occurred()) SWIG_fail;
20505 }
20506 Py_INCREF(Py_None); resultobj = Py_None;
20507 {
20508 if (temp2)
20509 delete arg2;
20510 }
20511 return resultobj;
20512 fail:
20513 {
20514 if (temp2)
20515 delete arg2;
20516 }
20517 return NULL;
20518 }
20519
20520
20521 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20522 PyObject *resultobj;
20523 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20524 bool result;
20525 PyObject * obj0 = 0 ;
20526 char *kwnames[] = {
20527 (char *) "self", NULL
20528 };
20529
20530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20532 {
20533 PyThreadState* __tstate = wxPyBeginAllowThreads();
20534 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20535
20536 wxPyEndAllowThreads(__tstate);
20537 if (PyErr_Occurred()) SWIG_fail;
20538 }
20539 resultobj = PyInt_FromLong((long)result);
20540 return resultobj;
20541 fail:
20542 return NULL;
20543 }
20544
20545
20546 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20547 PyObject *resultobj;
20548 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20549 bool arg2 ;
20550 PyObject * obj0 = 0 ;
20551 PyObject * obj1 = 0 ;
20552 char *kwnames[] = {
20553 (char *) "self",(char *) "editCancelled", NULL
20554 };
20555
20556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20558 arg2 = PyInt_AsLong(obj1) ? true : false;
20559 if (PyErr_Occurred()) SWIG_fail;
20560 {
20561 PyThreadState* __tstate = wxPyBeginAllowThreads();
20562 (arg1)->SetEditCanceled(arg2);
20563
20564 wxPyEndAllowThreads(__tstate);
20565 if (PyErr_Occurred()) SWIG_fail;
20566 }
20567 Py_INCREF(Py_None); resultobj = Py_None;
20568 return resultobj;
20569 fail:
20570 return NULL;
20571 }
20572
20573
20574 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20575 PyObject *obj;
20576 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20577 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20578 Py_INCREF(obj);
20579 return Py_BuildValue((char *)"");
20580 }
20581 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20582 PyObject *resultobj;
20583 wxWindow *arg1 = (wxWindow *) 0 ;
20584 int arg2 = (int) -1 ;
20585 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20586 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20587 wxSize const &arg4_defvalue = wxDefaultSize ;
20588 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20589 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20590 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20591 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20592 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20593 wxString *arg7 = (wxString *) &arg7_defvalue ;
20594 wxPyTreeCtrl *result;
20595 wxPoint temp3 ;
20596 wxSize temp4 ;
20597 bool temp7 = False ;
20598 PyObject * obj0 = 0 ;
20599 PyObject * obj2 = 0 ;
20600 PyObject * obj3 = 0 ;
20601 PyObject * obj5 = 0 ;
20602 PyObject * obj6 = 0 ;
20603 char *kwnames[] = {
20604 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20605 };
20606
20607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20609 if (obj2) {
20610 {
20611 arg3 = &temp3;
20612 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20613 }
20614 }
20615 if (obj3) {
20616 {
20617 arg4 = &temp4;
20618 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20619 }
20620 }
20621 if (obj5) {
20622 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20623 if (arg6 == NULL) {
20624 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20625 }
20626 }
20627 if (obj6) {
20628 {
20629 arg7 = wxString_in_helper(obj6);
20630 if (arg7 == NULL) SWIG_fail;
20631 temp7 = True;
20632 }
20633 }
20634 {
20635 PyThreadState* __tstate = wxPyBeginAllowThreads();
20636 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20637
20638 wxPyEndAllowThreads(__tstate);
20639 if (PyErr_Occurred()) SWIG_fail;
20640 }
20641 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20642 {
20643 if (temp7)
20644 delete arg7;
20645 }
20646 return resultobj;
20647 fail:
20648 {
20649 if (temp7)
20650 delete arg7;
20651 }
20652 return NULL;
20653 }
20654
20655
20656 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20657 PyObject *resultobj;
20658 wxPyTreeCtrl *result;
20659 char *kwnames[] = {
20660 NULL
20661 };
20662
20663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20664 {
20665 PyThreadState* __tstate = wxPyBeginAllowThreads();
20666 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20667
20668 wxPyEndAllowThreads(__tstate);
20669 if (PyErr_Occurred()) SWIG_fail;
20670 }
20671 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20672 return resultobj;
20673 fail:
20674 return NULL;
20675 }
20676
20677
20678 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20679 PyObject *resultobj;
20680 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20681 wxWindow *arg2 = (wxWindow *) 0 ;
20682 int arg3 = (int) -1 ;
20683 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20684 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20685 wxSize const &arg5_defvalue = wxDefaultSize ;
20686 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20687 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20688 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20689 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20690 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20691 wxString *arg8 = (wxString *) &arg8_defvalue ;
20692 bool result;
20693 wxPoint temp4 ;
20694 wxSize temp5 ;
20695 bool temp8 = False ;
20696 PyObject * obj0 = 0 ;
20697 PyObject * obj1 = 0 ;
20698 PyObject * obj3 = 0 ;
20699 PyObject * obj4 = 0 ;
20700 PyObject * obj6 = 0 ;
20701 PyObject * obj7 = 0 ;
20702 char *kwnames[] = {
20703 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20704 };
20705
20706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20708 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20709 if (obj3) {
20710 {
20711 arg4 = &temp4;
20712 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20713 }
20714 }
20715 if (obj4) {
20716 {
20717 arg5 = &temp5;
20718 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20719 }
20720 }
20721 if (obj6) {
20722 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20723 if (arg7 == NULL) {
20724 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20725 }
20726 }
20727 if (obj7) {
20728 {
20729 arg8 = wxString_in_helper(obj7);
20730 if (arg8 == NULL) SWIG_fail;
20731 temp8 = True;
20732 }
20733 }
20734 {
20735 PyThreadState* __tstate = wxPyBeginAllowThreads();
20736 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20737
20738 wxPyEndAllowThreads(__tstate);
20739 if (PyErr_Occurred()) SWIG_fail;
20740 }
20741 resultobj = PyInt_FromLong((long)result);
20742 {
20743 if (temp8)
20744 delete arg8;
20745 }
20746 return resultobj;
20747 fail:
20748 {
20749 if (temp8)
20750 delete arg8;
20751 }
20752 return NULL;
20753 }
20754
20755
20756 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20757 PyObject *resultobj;
20758 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20759 PyObject *arg2 = (PyObject *) 0 ;
20760 PyObject *arg3 = (PyObject *) 0 ;
20761 PyObject * obj0 = 0 ;
20762 PyObject * obj1 = 0 ;
20763 PyObject * obj2 = 0 ;
20764 char *kwnames[] = {
20765 (char *) "self",(char *) "self",(char *) "_class", NULL
20766 };
20767
20768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20770 arg2 = obj1;
20771 arg3 = obj2;
20772 {
20773 PyThreadState* __tstate = wxPyBeginAllowThreads();
20774 (arg1)->_setCallbackInfo(arg2,arg3);
20775
20776 wxPyEndAllowThreads(__tstate);
20777 if (PyErr_Occurred()) SWIG_fail;
20778 }
20779 Py_INCREF(Py_None); resultobj = Py_None;
20780 return resultobj;
20781 fail:
20782 return NULL;
20783 }
20784
20785
20786 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20787 PyObject *resultobj;
20788 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20789 size_t result;
20790 PyObject * obj0 = 0 ;
20791 char *kwnames[] = {
20792 (char *) "self", NULL
20793 };
20794
20795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20800
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
20804 resultobj = PyInt_FromLong((long)result);
20805 return resultobj;
20806 fail:
20807 return NULL;
20808 }
20809
20810
20811 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20812 PyObject *resultobj;
20813 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20814 unsigned int result;
20815 PyObject * obj0 = 0 ;
20816 char *kwnames[] = {
20817 (char *) "self", NULL
20818 };
20819
20820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 resultobj = PyInt_FromLong((long)result);
20830 return resultobj;
20831 fail:
20832 return NULL;
20833 }
20834
20835
20836 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20837 PyObject *resultobj;
20838 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20839 unsigned int arg2 ;
20840 PyObject * obj0 = 0 ;
20841 PyObject * obj1 = 0 ;
20842 char *kwnames[] = {
20843 (char *) "self",(char *) "indent", NULL
20844 };
20845
20846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20848 arg2 = (unsigned int) PyInt_AsLong(obj1);
20849 if (PyErr_Occurred()) SWIG_fail;
20850 {
20851 PyThreadState* __tstate = wxPyBeginAllowThreads();
20852 (arg1)->SetIndent(arg2);
20853
20854 wxPyEndAllowThreads(__tstate);
20855 if (PyErr_Occurred()) SWIG_fail;
20856 }
20857 Py_INCREF(Py_None); resultobj = Py_None;
20858 return resultobj;
20859 fail:
20860 return NULL;
20861 }
20862
20863
20864 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20865 PyObject *resultobj;
20866 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20867 unsigned int result;
20868 PyObject * obj0 = 0 ;
20869 char *kwnames[] = {
20870 (char *) "self", NULL
20871 };
20872
20873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20875 {
20876 PyThreadState* __tstate = wxPyBeginAllowThreads();
20877 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20878
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 resultobj = PyInt_FromLong((long)result);
20883 return resultobj;
20884 fail:
20885 return NULL;
20886 }
20887
20888
20889 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20890 PyObject *resultobj;
20891 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20892 unsigned int arg2 ;
20893 PyObject * obj0 = 0 ;
20894 PyObject * obj1 = 0 ;
20895 char *kwnames[] = {
20896 (char *) "self",(char *) "spacing", NULL
20897 };
20898
20899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20901 arg2 = (unsigned int) PyInt_AsLong(obj1);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 {
20904 PyThreadState* __tstate = wxPyBeginAllowThreads();
20905 (arg1)->SetSpacing(arg2);
20906
20907 wxPyEndAllowThreads(__tstate);
20908 if (PyErr_Occurred()) SWIG_fail;
20909 }
20910 Py_INCREF(Py_None); resultobj = Py_None;
20911 return resultobj;
20912 fail:
20913 return NULL;
20914 }
20915
20916
20917 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20918 PyObject *resultobj;
20919 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20920 wxImageList *result;
20921 PyObject * obj0 = 0 ;
20922 char *kwnames[] = {
20923 (char *) "self", NULL
20924 };
20925
20926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20928 {
20929 PyThreadState* __tstate = wxPyBeginAllowThreads();
20930 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20931
20932 wxPyEndAllowThreads(__tstate);
20933 if (PyErr_Occurred()) SWIG_fail;
20934 }
20935 {
20936 resultobj = wxPyMake_wxObject(result);
20937 }
20938 return resultobj;
20939 fail:
20940 return NULL;
20941 }
20942
20943
20944 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20945 PyObject *resultobj;
20946 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20947 wxImageList *result;
20948 PyObject * obj0 = 0 ;
20949 char *kwnames[] = {
20950 (char *) "self", NULL
20951 };
20952
20953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20955 {
20956 PyThreadState* __tstate = wxPyBeginAllowThreads();
20957 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
20958
20959 wxPyEndAllowThreads(__tstate);
20960 if (PyErr_Occurred()) SWIG_fail;
20961 }
20962 {
20963 resultobj = wxPyMake_wxObject(result);
20964 }
20965 return resultobj;
20966 fail:
20967 return NULL;
20968 }
20969
20970
20971 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20972 PyObject *resultobj;
20973 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20974 wxImageList *arg2 = (wxImageList *) 0 ;
20975 PyObject * obj0 = 0 ;
20976 PyObject * obj1 = 0 ;
20977 char *kwnames[] = {
20978 (char *) "self",(char *) "imageList", NULL
20979 };
20980
20981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
20982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20983 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20984 {
20985 PyThreadState* __tstate = wxPyBeginAllowThreads();
20986 (arg1)->SetImageList(arg2);
20987
20988 wxPyEndAllowThreads(__tstate);
20989 if (PyErr_Occurred()) SWIG_fail;
20990 }
20991 Py_INCREF(Py_None); resultobj = Py_None;
20992 return resultobj;
20993 fail:
20994 return NULL;
20995 }
20996
20997
20998 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20999 PyObject *resultobj;
21000 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21001 wxImageList *arg2 = (wxImageList *) 0 ;
21002 PyObject * obj0 = 0 ;
21003 PyObject * obj1 = 0 ;
21004 char *kwnames[] = {
21005 (char *) "self",(char *) "imageList", NULL
21006 };
21007
21008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21010 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21011 {
21012 PyThreadState* __tstate = wxPyBeginAllowThreads();
21013 (arg1)->SetStateImageList(arg2);
21014
21015 wxPyEndAllowThreads(__tstate);
21016 if (PyErr_Occurred()) SWIG_fail;
21017 }
21018 Py_INCREF(Py_None); resultobj = Py_None;
21019 return resultobj;
21020 fail:
21021 return NULL;
21022 }
21023
21024
21025 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21026 PyObject *resultobj;
21027 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21028 wxImageList *arg2 = (wxImageList *) 0 ;
21029 PyObject * obj0 = 0 ;
21030 PyObject * obj1 = 0 ;
21031 char *kwnames[] = {
21032 (char *) "self",(char *) "imageList", NULL
21033 };
21034
21035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21037 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 (arg1)->AssignImageList(arg2);
21041
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 Py_INCREF(Py_None); resultobj = Py_None;
21046 return resultobj;
21047 fail:
21048 return NULL;
21049 }
21050
21051
21052 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21053 PyObject *resultobj;
21054 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21055 wxImageList *arg2 = (wxImageList *) 0 ;
21056 PyObject * obj0 = 0 ;
21057 PyObject * obj1 = 0 ;
21058 char *kwnames[] = {
21059 (char *) "self",(char *) "imageList", NULL
21060 };
21061
21062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21065 {
21066 PyThreadState* __tstate = wxPyBeginAllowThreads();
21067 (arg1)->AssignStateImageList(arg2);
21068
21069 wxPyEndAllowThreads(__tstate);
21070 if (PyErr_Occurred()) SWIG_fail;
21071 }
21072 Py_INCREF(Py_None); resultobj = Py_None;
21073 return resultobj;
21074 fail:
21075 return NULL;
21076 }
21077
21078
21079 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21080 PyObject *resultobj;
21081 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21082 wxTreeItemId *arg2 = 0 ;
21083 wxString result;
21084 PyObject * obj0 = 0 ;
21085 PyObject * obj1 = 0 ;
21086 char *kwnames[] = {
21087 (char *) "self",(char *) "item", NULL
21088 };
21089
21090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21092 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21093 if (arg2 == NULL) {
21094 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21095 }
21096 {
21097 PyThreadState* __tstate = wxPyBeginAllowThreads();
21098 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21099
21100 wxPyEndAllowThreads(__tstate);
21101 if (PyErr_Occurred()) SWIG_fail;
21102 }
21103 {
21104 #if wxUSE_UNICODE
21105 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21106 #else
21107 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21108 #endif
21109 }
21110 return resultobj;
21111 fail:
21112 return NULL;
21113 }
21114
21115
21116 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21117 PyObject *resultobj;
21118 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21119 wxTreeItemId *arg2 = 0 ;
21120 int arg3 = (int) wxTreeItemIcon_Normal ;
21121 int result;
21122 PyObject * obj0 = 0 ;
21123 PyObject * obj1 = 0 ;
21124 char *kwnames[] = {
21125 (char *) "self",(char *) "item",(char *) "which", NULL
21126 };
21127
21128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21130 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21131 if (arg2 == NULL) {
21132 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21133 }
21134 {
21135 PyThreadState* __tstate = wxPyBeginAllowThreads();
21136 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21137
21138 wxPyEndAllowThreads(__tstate);
21139 if (PyErr_Occurred()) SWIG_fail;
21140 }
21141 resultobj = PyInt_FromLong((long)result);
21142 return resultobj;
21143 fail:
21144 return NULL;
21145 }
21146
21147
21148 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21149 PyObject *resultobj;
21150 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21151 wxTreeItemId *arg2 = 0 ;
21152 wxPyTreeItemData *result;
21153 PyObject * obj0 = 0 ;
21154 PyObject * obj1 = 0 ;
21155 char *kwnames[] = {
21156 (char *) "self",(char *) "item", NULL
21157 };
21158
21159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21161 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21162 if (arg2 == NULL) {
21163 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21164 }
21165 {
21166 PyThreadState* __tstate = wxPyBeginAllowThreads();
21167 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21168
21169 wxPyEndAllowThreads(__tstate);
21170 if (PyErr_Occurred()) SWIG_fail;
21171 }
21172 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21173 return resultobj;
21174 fail:
21175 return NULL;
21176 }
21177
21178
21179 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21180 PyObject *resultobj;
21181 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21182 wxTreeItemId *arg2 = 0 ;
21183 PyObject *result;
21184 PyObject * obj0 = 0 ;
21185 PyObject * obj1 = 0 ;
21186 char *kwnames[] = {
21187 (char *) "self",(char *) "item", NULL
21188 };
21189
21190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21192 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21193 if (arg2 == NULL) {
21194 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21195 }
21196 {
21197 PyThreadState* __tstate = wxPyBeginAllowThreads();
21198 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21199
21200 wxPyEndAllowThreads(__tstate);
21201 if (PyErr_Occurred()) SWIG_fail;
21202 }
21203 resultobj = result;
21204 return resultobj;
21205 fail:
21206 return NULL;
21207 }
21208
21209
21210 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21211 PyObject *resultobj;
21212 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21213 wxTreeItemId *arg2 = 0 ;
21214 wxColour result;
21215 PyObject * obj0 = 0 ;
21216 PyObject * obj1 = 0 ;
21217 char *kwnames[] = {
21218 (char *) "self",(char *) "item", NULL
21219 };
21220
21221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21223 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21224 if (arg2 == NULL) {
21225 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21226 }
21227 {
21228 PyThreadState* __tstate = wxPyBeginAllowThreads();
21229 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21230
21231 wxPyEndAllowThreads(__tstate);
21232 if (PyErr_Occurred()) SWIG_fail;
21233 }
21234 {
21235 wxColour * resultptr;
21236 resultptr = new wxColour((wxColour &) result);
21237 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21238 }
21239 return resultobj;
21240 fail:
21241 return NULL;
21242 }
21243
21244
21245 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21246 PyObject *resultobj;
21247 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21248 wxTreeItemId *arg2 = 0 ;
21249 wxColour result;
21250 PyObject * obj0 = 0 ;
21251 PyObject * obj1 = 0 ;
21252 char *kwnames[] = {
21253 (char *) "self",(char *) "item", NULL
21254 };
21255
21256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21259 if (arg2 == NULL) {
21260 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21261 }
21262 {
21263 PyThreadState* __tstate = wxPyBeginAllowThreads();
21264 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21265
21266 wxPyEndAllowThreads(__tstate);
21267 if (PyErr_Occurred()) SWIG_fail;
21268 }
21269 {
21270 wxColour * resultptr;
21271 resultptr = new wxColour((wxColour &) result);
21272 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21273 }
21274 return resultobj;
21275 fail:
21276 return NULL;
21277 }
21278
21279
21280 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21281 PyObject *resultobj;
21282 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21283 wxTreeItemId *arg2 = 0 ;
21284 wxFont result;
21285 PyObject * obj0 = 0 ;
21286 PyObject * obj1 = 0 ;
21287 char *kwnames[] = {
21288 (char *) "self",(char *) "item", NULL
21289 };
21290
21291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21293 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21294 if (arg2 == NULL) {
21295 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21296 }
21297 {
21298 PyThreadState* __tstate = wxPyBeginAllowThreads();
21299 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21300
21301 wxPyEndAllowThreads(__tstate);
21302 if (PyErr_Occurred()) SWIG_fail;
21303 }
21304 {
21305 wxFont * resultptr;
21306 resultptr = new wxFont((wxFont &) result);
21307 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21308 }
21309 return resultobj;
21310 fail:
21311 return NULL;
21312 }
21313
21314
21315 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21316 PyObject *resultobj;
21317 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21318 wxTreeItemId *arg2 = 0 ;
21319 wxString *arg3 = 0 ;
21320 bool temp3 = False ;
21321 PyObject * obj0 = 0 ;
21322 PyObject * obj1 = 0 ;
21323 PyObject * obj2 = 0 ;
21324 char *kwnames[] = {
21325 (char *) "self",(char *) "item",(char *) "text", NULL
21326 };
21327
21328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21331 if (arg2 == NULL) {
21332 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21333 }
21334 {
21335 arg3 = wxString_in_helper(obj2);
21336 if (arg3 == NULL) SWIG_fail;
21337 temp3 = True;
21338 }
21339 {
21340 PyThreadState* __tstate = wxPyBeginAllowThreads();
21341 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21342
21343 wxPyEndAllowThreads(__tstate);
21344 if (PyErr_Occurred()) SWIG_fail;
21345 }
21346 Py_INCREF(Py_None); resultobj = Py_None;
21347 {
21348 if (temp3)
21349 delete arg3;
21350 }
21351 return resultobj;
21352 fail:
21353 {
21354 if (temp3)
21355 delete arg3;
21356 }
21357 return NULL;
21358 }
21359
21360
21361 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21362 PyObject *resultobj;
21363 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21364 wxTreeItemId *arg2 = 0 ;
21365 int arg3 ;
21366 int arg4 = (int) wxTreeItemIcon_Normal ;
21367 PyObject * obj0 = 0 ;
21368 PyObject * obj1 = 0 ;
21369 char *kwnames[] = {
21370 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21371 };
21372
21373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21375 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21376 if (arg2 == NULL) {
21377 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21378 }
21379 {
21380 PyThreadState* __tstate = wxPyBeginAllowThreads();
21381 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21382
21383 wxPyEndAllowThreads(__tstate);
21384 if (PyErr_Occurred()) SWIG_fail;
21385 }
21386 Py_INCREF(Py_None); resultobj = Py_None;
21387 return resultobj;
21388 fail:
21389 return NULL;
21390 }
21391
21392
21393 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21394 PyObject *resultobj;
21395 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21396 wxTreeItemId *arg2 = 0 ;
21397 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21398 PyObject * obj0 = 0 ;
21399 PyObject * obj1 = 0 ;
21400 PyObject * obj2 = 0 ;
21401 char *kwnames[] = {
21402 (char *) "self",(char *) "item",(char *) "data", NULL
21403 };
21404
21405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21407 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21408 if (arg2 == NULL) {
21409 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21410 }
21411 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21412 {
21413 PyThreadState* __tstate = wxPyBeginAllowThreads();
21414 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21415
21416 wxPyEndAllowThreads(__tstate);
21417 if (PyErr_Occurred()) SWIG_fail;
21418 }
21419 Py_INCREF(Py_None); resultobj = Py_None;
21420 return resultobj;
21421 fail:
21422 return NULL;
21423 }
21424
21425
21426 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21427 PyObject *resultobj;
21428 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21429 wxTreeItemId *arg2 = 0 ;
21430 PyObject *arg3 = (PyObject *) 0 ;
21431 PyObject * obj0 = 0 ;
21432 PyObject * obj1 = 0 ;
21433 PyObject * obj2 = 0 ;
21434 char *kwnames[] = {
21435 (char *) "self",(char *) "item",(char *) "obj", NULL
21436 };
21437
21438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21441 if (arg2 == NULL) {
21442 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21443 }
21444 arg3 = obj2;
21445 {
21446 PyThreadState* __tstate = wxPyBeginAllowThreads();
21447 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21448
21449 wxPyEndAllowThreads(__tstate);
21450 if (PyErr_Occurred()) SWIG_fail;
21451 }
21452 Py_INCREF(Py_None); resultobj = Py_None;
21453 return resultobj;
21454 fail:
21455 return NULL;
21456 }
21457
21458
21459 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21460 PyObject *resultobj;
21461 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21462 wxTreeItemId *arg2 = 0 ;
21463 bool arg3 = (bool) True ;
21464 PyObject * obj0 = 0 ;
21465 PyObject * obj1 = 0 ;
21466 PyObject * obj2 = 0 ;
21467 char *kwnames[] = {
21468 (char *) "self",(char *) "item",(char *) "has", NULL
21469 };
21470
21471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21473 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21474 if (arg2 == NULL) {
21475 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21476 }
21477 if (obj2) {
21478 arg3 = PyInt_AsLong(obj2) ? true : false;
21479 if (PyErr_Occurred()) SWIG_fail;
21480 }
21481 {
21482 PyThreadState* __tstate = wxPyBeginAllowThreads();
21483 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21484
21485 wxPyEndAllowThreads(__tstate);
21486 if (PyErr_Occurred()) SWIG_fail;
21487 }
21488 Py_INCREF(Py_None); resultobj = Py_None;
21489 return resultobj;
21490 fail:
21491 return NULL;
21492 }
21493
21494
21495 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21496 PyObject *resultobj;
21497 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21498 wxTreeItemId *arg2 = 0 ;
21499 bool arg3 = (bool) True ;
21500 PyObject * obj0 = 0 ;
21501 PyObject * obj1 = 0 ;
21502 PyObject * obj2 = 0 ;
21503 char *kwnames[] = {
21504 (char *) "self",(char *) "item",(char *) "bold", NULL
21505 };
21506
21507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21509 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21510 if (arg2 == NULL) {
21511 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21512 }
21513 if (obj2) {
21514 arg3 = PyInt_AsLong(obj2) ? true : false;
21515 if (PyErr_Occurred()) SWIG_fail;
21516 }
21517 {
21518 PyThreadState* __tstate = wxPyBeginAllowThreads();
21519 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21520
21521 wxPyEndAllowThreads(__tstate);
21522 if (PyErr_Occurred()) SWIG_fail;
21523 }
21524 Py_INCREF(Py_None); resultobj = Py_None;
21525 return resultobj;
21526 fail:
21527 return NULL;
21528 }
21529
21530
21531 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21532 PyObject *resultobj;
21533 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21534 wxTreeItemId *arg2 = 0 ;
21535 bool arg3 = (bool) True ;
21536 PyObject * obj0 = 0 ;
21537 PyObject * obj1 = 0 ;
21538 PyObject * obj2 = 0 ;
21539 char *kwnames[] = {
21540 (char *) "self",(char *) "item",(char *) "highlight", NULL
21541 };
21542
21543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
21544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21545 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21546 if (arg2 == NULL) {
21547 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21548 }
21549 if (obj2) {
21550 arg3 = PyInt_AsLong(obj2) ? true : false;
21551 if (PyErr_Occurred()) SWIG_fail;
21552 }
21553 {
21554 PyThreadState* __tstate = wxPyBeginAllowThreads();
21555 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
21556
21557 wxPyEndAllowThreads(__tstate);
21558 if (PyErr_Occurred()) SWIG_fail;
21559 }
21560 Py_INCREF(Py_None); resultobj = Py_None;
21561 return resultobj;
21562 fail:
21563 return NULL;
21564 }
21565
21566
21567 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21568 PyObject *resultobj;
21569 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21570 wxTreeItemId *arg2 = 0 ;
21571 wxColour *arg3 = 0 ;
21572 wxColour temp3 ;
21573 PyObject * obj0 = 0 ;
21574 PyObject * obj1 = 0 ;
21575 PyObject * obj2 = 0 ;
21576 char *kwnames[] = {
21577 (char *) "self",(char *) "item",(char *) "col", NULL
21578 };
21579
21580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21582 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21583 if (arg2 == NULL) {
21584 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21585 }
21586 {
21587 arg3 = &temp3;
21588 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21589 }
21590 {
21591 PyThreadState* __tstate = wxPyBeginAllowThreads();
21592 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21593
21594 wxPyEndAllowThreads(__tstate);
21595 if (PyErr_Occurred()) SWIG_fail;
21596 }
21597 Py_INCREF(Py_None); resultobj = Py_None;
21598 return resultobj;
21599 fail:
21600 return NULL;
21601 }
21602
21603
21604 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21605 PyObject *resultobj;
21606 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21607 wxTreeItemId *arg2 = 0 ;
21608 wxColour *arg3 = 0 ;
21609 wxColour temp3 ;
21610 PyObject * obj0 = 0 ;
21611 PyObject * obj1 = 0 ;
21612 PyObject * obj2 = 0 ;
21613 char *kwnames[] = {
21614 (char *) "self",(char *) "item",(char *) "col", NULL
21615 };
21616
21617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21620 if (arg2 == NULL) {
21621 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21622 }
21623 {
21624 arg3 = &temp3;
21625 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21626 }
21627 {
21628 PyThreadState* __tstate = wxPyBeginAllowThreads();
21629 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21630
21631 wxPyEndAllowThreads(__tstate);
21632 if (PyErr_Occurred()) SWIG_fail;
21633 }
21634 Py_INCREF(Py_None); resultobj = Py_None;
21635 return resultobj;
21636 fail:
21637 return NULL;
21638 }
21639
21640
21641 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21642 PyObject *resultobj;
21643 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21644 wxTreeItemId *arg2 = 0 ;
21645 wxFont *arg3 = 0 ;
21646 PyObject * obj0 = 0 ;
21647 PyObject * obj1 = 0 ;
21648 PyObject * obj2 = 0 ;
21649 char *kwnames[] = {
21650 (char *) "self",(char *) "item",(char *) "font", NULL
21651 };
21652
21653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21655 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21656 if (arg2 == NULL) {
21657 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21658 }
21659 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21660 if (arg3 == NULL) {
21661 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21662 }
21663 {
21664 PyThreadState* __tstate = wxPyBeginAllowThreads();
21665 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21666
21667 wxPyEndAllowThreads(__tstate);
21668 if (PyErr_Occurred()) SWIG_fail;
21669 }
21670 Py_INCREF(Py_None); resultobj = Py_None;
21671 return resultobj;
21672 fail:
21673 return NULL;
21674 }
21675
21676
21677 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21678 PyObject *resultobj;
21679 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21680 wxTreeItemId *arg2 = 0 ;
21681 bool result;
21682 PyObject * obj0 = 0 ;
21683 PyObject * obj1 = 0 ;
21684 char *kwnames[] = {
21685 (char *) "self",(char *) "item", NULL
21686 };
21687
21688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21690 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21691 if (arg2 == NULL) {
21692 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21693 }
21694 {
21695 PyThreadState* __tstate = wxPyBeginAllowThreads();
21696 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21697
21698 wxPyEndAllowThreads(__tstate);
21699 if (PyErr_Occurred()) SWIG_fail;
21700 }
21701 resultobj = PyInt_FromLong((long)result);
21702 return resultobj;
21703 fail:
21704 return NULL;
21705 }
21706
21707
21708 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21709 PyObject *resultobj;
21710 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21711 wxTreeItemId *arg2 = 0 ;
21712 bool result;
21713 PyObject * obj0 = 0 ;
21714 PyObject * obj1 = 0 ;
21715 char *kwnames[] = {
21716 (char *) "self",(char *) "item", NULL
21717 };
21718
21719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21722 if (arg2 == NULL) {
21723 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21724 }
21725 {
21726 PyThreadState* __tstate = wxPyBeginAllowThreads();
21727 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21728
21729 wxPyEndAllowThreads(__tstate);
21730 if (PyErr_Occurred()) SWIG_fail;
21731 }
21732 resultobj = PyInt_FromLong((long)result);
21733 return resultobj;
21734 fail:
21735 return NULL;
21736 }
21737
21738
21739 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21740 PyObject *resultobj;
21741 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21742 wxTreeItemId *arg2 = 0 ;
21743 bool result;
21744 PyObject * obj0 = 0 ;
21745 PyObject * obj1 = 0 ;
21746 char *kwnames[] = {
21747 (char *) "self",(char *) "item", NULL
21748 };
21749
21750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21752 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21753 if (arg2 == NULL) {
21754 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21755 }
21756 {
21757 PyThreadState* __tstate = wxPyBeginAllowThreads();
21758 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21759
21760 wxPyEndAllowThreads(__tstate);
21761 if (PyErr_Occurred()) SWIG_fail;
21762 }
21763 resultobj = PyInt_FromLong((long)result);
21764 return resultobj;
21765 fail:
21766 return NULL;
21767 }
21768
21769
21770 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21771 PyObject *resultobj;
21772 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21773 wxTreeItemId *arg2 = 0 ;
21774 bool result;
21775 PyObject * obj0 = 0 ;
21776 PyObject * obj1 = 0 ;
21777 char *kwnames[] = {
21778 (char *) "self",(char *) "item", NULL
21779 };
21780
21781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21783 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21784 if (arg2 == NULL) {
21785 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21786 }
21787 {
21788 PyThreadState* __tstate = wxPyBeginAllowThreads();
21789 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21790
21791 wxPyEndAllowThreads(__tstate);
21792 if (PyErr_Occurred()) SWIG_fail;
21793 }
21794 resultobj = PyInt_FromLong((long)result);
21795 return resultobj;
21796 fail:
21797 return NULL;
21798 }
21799
21800
21801 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21802 PyObject *resultobj;
21803 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21804 wxTreeItemId *arg2 = 0 ;
21805 bool result;
21806 PyObject * obj0 = 0 ;
21807 PyObject * obj1 = 0 ;
21808 char *kwnames[] = {
21809 (char *) "self",(char *) "item", NULL
21810 };
21811
21812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21814 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21815 if (arg2 == NULL) {
21816 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21817 }
21818 {
21819 PyThreadState* __tstate = wxPyBeginAllowThreads();
21820 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21821
21822 wxPyEndAllowThreads(__tstate);
21823 if (PyErr_Occurred()) SWIG_fail;
21824 }
21825 resultobj = PyInt_FromLong((long)result);
21826 return resultobj;
21827 fail:
21828 return NULL;
21829 }
21830
21831
21832 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21833 PyObject *resultobj;
21834 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21835 wxTreeItemId *arg2 = 0 ;
21836 bool arg3 = (bool) True ;
21837 size_t result;
21838 PyObject * obj0 = 0 ;
21839 PyObject * obj1 = 0 ;
21840 PyObject * obj2 = 0 ;
21841 char *kwnames[] = {
21842 (char *) "self",(char *) "item",(char *) "recursively", NULL
21843 };
21844
21845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21848 if (arg2 == NULL) {
21849 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21850 }
21851 if (obj2) {
21852 arg3 = PyInt_AsLong(obj2) ? true : false;
21853 if (PyErr_Occurred()) SWIG_fail;
21854 }
21855 {
21856 PyThreadState* __tstate = wxPyBeginAllowThreads();
21857 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21858
21859 wxPyEndAllowThreads(__tstate);
21860 if (PyErr_Occurred()) SWIG_fail;
21861 }
21862 resultobj = PyInt_FromLong((long)result);
21863 return resultobj;
21864 fail:
21865 return NULL;
21866 }
21867
21868
21869 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21870 PyObject *resultobj;
21871 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21872 wxTreeItemId result;
21873 PyObject * obj0 = 0 ;
21874 char *kwnames[] = {
21875 (char *) "self", NULL
21876 };
21877
21878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21880 {
21881 PyThreadState* __tstate = wxPyBeginAllowThreads();
21882 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21883
21884 wxPyEndAllowThreads(__tstate);
21885 if (PyErr_Occurred()) SWIG_fail;
21886 }
21887 {
21888 wxTreeItemId * resultptr;
21889 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21890 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21891 }
21892 return resultobj;
21893 fail:
21894 return NULL;
21895 }
21896
21897
21898 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21899 PyObject *resultobj;
21900 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21901 wxTreeItemId result;
21902 PyObject * obj0 = 0 ;
21903 char *kwnames[] = {
21904 (char *) "self", NULL
21905 };
21906
21907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21909 {
21910 PyThreadState* __tstate = wxPyBeginAllowThreads();
21911 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21912
21913 wxPyEndAllowThreads(__tstate);
21914 if (PyErr_Occurred()) SWIG_fail;
21915 }
21916 {
21917 wxTreeItemId * resultptr;
21918 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21919 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21920 }
21921 return resultobj;
21922 fail:
21923 return NULL;
21924 }
21925
21926
21927 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21928 PyObject *resultobj;
21929 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21930 PyObject *result;
21931 PyObject * obj0 = 0 ;
21932 char *kwnames[] = {
21933 (char *) "self", NULL
21934 };
21935
21936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21938 {
21939 PyThreadState* __tstate = wxPyBeginAllowThreads();
21940 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21941
21942 wxPyEndAllowThreads(__tstate);
21943 if (PyErr_Occurred()) SWIG_fail;
21944 }
21945 resultobj = result;
21946 return resultobj;
21947 fail:
21948 return NULL;
21949 }
21950
21951
21952 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21953 PyObject *resultobj;
21954 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21955 wxTreeItemId *arg2 = 0 ;
21956 wxTreeItemId result;
21957 PyObject * obj0 = 0 ;
21958 PyObject * obj1 = 0 ;
21959 char *kwnames[] = {
21960 (char *) "self",(char *) "item", NULL
21961 };
21962
21963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
21964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21966 if (arg2 == NULL) {
21967 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21968 }
21969 {
21970 PyThreadState* __tstate = wxPyBeginAllowThreads();
21971 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
21972
21973 wxPyEndAllowThreads(__tstate);
21974 if (PyErr_Occurred()) SWIG_fail;
21975 }
21976 {
21977 wxTreeItemId * resultptr;
21978 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21979 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21980 }
21981 return resultobj;
21982 fail:
21983 return NULL;
21984 }
21985
21986
21987 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21988 PyObject *resultobj;
21989 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21990 wxTreeItemId *arg2 = 0 ;
21991 PyObject *result;
21992 PyObject * obj0 = 0 ;
21993 PyObject * obj1 = 0 ;
21994 char *kwnames[] = {
21995 (char *) "self",(char *) "item", NULL
21996 };
21997
21998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
21999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22001 if (arg2 == NULL) {
22002 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22003 }
22004 {
22005 PyThreadState* __tstate = wxPyBeginAllowThreads();
22006 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22007
22008 wxPyEndAllowThreads(__tstate);
22009 if (PyErr_Occurred()) SWIG_fail;
22010 }
22011 resultobj = result;
22012 return resultobj;
22013 fail:
22014 return NULL;
22015 }
22016
22017
22018 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22019 PyObject *resultobj;
22020 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22021 wxTreeItemId *arg2 = 0 ;
22022 wxTreeItemIdValue *arg3 = 0 ;
22023 PyObject *result;
22024 PyObject * obj0 = 0 ;
22025 PyObject * obj1 = 0 ;
22026 PyObject * obj2 = 0 ;
22027 char *kwnames[] = {
22028 (char *) "self",(char *) "item",(char *) "cookie", NULL
22029 };
22030
22031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22034 if (arg2 == NULL) {
22035 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22036 }
22037 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22038 if (arg3 == NULL) {
22039 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22040 }
22041 {
22042 PyThreadState* __tstate = wxPyBeginAllowThreads();
22043 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22044
22045 wxPyEndAllowThreads(__tstate);
22046 if (PyErr_Occurred()) SWIG_fail;
22047 }
22048 resultobj = result;
22049 return resultobj;
22050 fail:
22051 return NULL;
22052 }
22053
22054
22055 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22056 PyObject *resultobj;
22057 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22058 wxTreeItemId *arg2 = 0 ;
22059 wxTreeItemId result;
22060 PyObject * obj0 = 0 ;
22061 PyObject * obj1 = 0 ;
22062 char *kwnames[] = {
22063 (char *) "self",(char *) "item", NULL
22064 };
22065
22066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22068 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22069 if (arg2 == NULL) {
22070 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22071 }
22072 {
22073 PyThreadState* __tstate = wxPyBeginAllowThreads();
22074 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22075
22076 wxPyEndAllowThreads(__tstate);
22077 if (PyErr_Occurred()) SWIG_fail;
22078 }
22079 {
22080 wxTreeItemId * resultptr;
22081 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22082 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22083 }
22084 return resultobj;
22085 fail:
22086 return NULL;
22087 }
22088
22089
22090 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22091 PyObject *resultobj;
22092 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22093 wxTreeItemId *arg2 = 0 ;
22094 wxTreeItemId result;
22095 PyObject * obj0 = 0 ;
22096 PyObject * obj1 = 0 ;
22097 char *kwnames[] = {
22098 (char *) "self",(char *) "item", NULL
22099 };
22100
22101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22103 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22104 if (arg2 == NULL) {
22105 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22106 }
22107 {
22108 PyThreadState* __tstate = wxPyBeginAllowThreads();
22109 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22110
22111 wxPyEndAllowThreads(__tstate);
22112 if (PyErr_Occurred()) SWIG_fail;
22113 }
22114 {
22115 wxTreeItemId * resultptr;
22116 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22117 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22118 }
22119 return resultobj;
22120 fail:
22121 return NULL;
22122 }
22123
22124
22125 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22126 PyObject *resultobj;
22127 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22128 wxTreeItemId *arg2 = 0 ;
22129 wxTreeItemId result;
22130 PyObject * obj0 = 0 ;
22131 PyObject * obj1 = 0 ;
22132 char *kwnames[] = {
22133 (char *) "self",(char *) "item", NULL
22134 };
22135
22136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22138 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22139 if (arg2 == NULL) {
22140 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22141 }
22142 {
22143 PyThreadState* __tstate = wxPyBeginAllowThreads();
22144 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22145
22146 wxPyEndAllowThreads(__tstate);
22147 if (PyErr_Occurred()) SWIG_fail;
22148 }
22149 {
22150 wxTreeItemId * resultptr;
22151 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22152 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22153 }
22154 return resultobj;
22155 fail:
22156 return NULL;
22157 }
22158
22159
22160 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22161 PyObject *resultobj;
22162 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22163 wxTreeItemId result;
22164 PyObject * obj0 = 0 ;
22165 char *kwnames[] = {
22166 (char *) "self", NULL
22167 };
22168
22169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22171 {
22172 PyThreadState* __tstate = wxPyBeginAllowThreads();
22173 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22174
22175 wxPyEndAllowThreads(__tstate);
22176 if (PyErr_Occurred()) SWIG_fail;
22177 }
22178 {
22179 wxTreeItemId * resultptr;
22180 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22181 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22182 }
22183 return resultobj;
22184 fail:
22185 return NULL;
22186 }
22187
22188
22189 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22190 PyObject *resultobj;
22191 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22192 wxTreeItemId *arg2 = 0 ;
22193 wxTreeItemId result;
22194 PyObject * obj0 = 0 ;
22195 PyObject * obj1 = 0 ;
22196 char *kwnames[] = {
22197 (char *) "self",(char *) "item", NULL
22198 };
22199
22200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22202 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22203 if (arg2 == NULL) {
22204 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22205 }
22206 {
22207 PyThreadState* __tstate = wxPyBeginAllowThreads();
22208 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22209
22210 wxPyEndAllowThreads(__tstate);
22211 if (PyErr_Occurred()) SWIG_fail;
22212 }
22213 {
22214 wxTreeItemId * resultptr;
22215 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22216 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22217 }
22218 return resultobj;
22219 fail:
22220 return NULL;
22221 }
22222
22223
22224 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22225 PyObject *resultobj;
22226 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22227 wxTreeItemId *arg2 = 0 ;
22228 wxTreeItemId result;
22229 PyObject * obj0 = 0 ;
22230 PyObject * obj1 = 0 ;
22231 char *kwnames[] = {
22232 (char *) "self",(char *) "item", NULL
22233 };
22234
22235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22237 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22238 if (arg2 == NULL) {
22239 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22240 }
22241 {
22242 PyThreadState* __tstate = wxPyBeginAllowThreads();
22243 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22244
22245 wxPyEndAllowThreads(__tstate);
22246 if (PyErr_Occurred()) SWIG_fail;
22247 }
22248 {
22249 wxTreeItemId * resultptr;
22250 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22251 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22252 }
22253 return resultobj;
22254 fail:
22255 return NULL;
22256 }
22257
22258
22259 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22260 PyObject *resultobj;
22261 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22262 wxString *arg2 = 0 ;
22263 int arg3 = (int) -1 ;
22264 int arg4 = (int) -1 ;
22265 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22266 wxTreeItemId result;
22267 bool temp2 = False ;
22268 PyObject * obj0 = 0 ;
22269 PyObject * obj1 = 0 ;
22270 PyObject * obj4 = 0 ;
22271 char *kwnames[] = {
22272 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22273 };
22274
22275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22277 {
22278 arg2 = wxString_in_helper(obj1);
22279 if (arg2 == NULL) SWIG_fail;
22280 temp2 = True;
22281 }
22282 if (obj4) {
22283 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22284 }
22285 {
22286 PyThreadState* __tstate = wxPyBeginAllowThreads();
22287 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22288
22289 wxPyEndAllowThreads(__tstate);
22290 if (PyErr_Occurred()) SWIG_fail;
22291 }
22292 {
22293 wxTreeItemId * resultptr;
22294 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22295 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22296 }
22297 {
22298 if (temp2)
22299 delete arg2;
22300 }
22301 return resultobj;
22302 fail:
22303 {
22304 if (temp2)
22305 delete arg2;
22306 }
22307 return NULL;
22308 }
22309
22310
22311 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22312 PyObject *resultobj;
22313 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22314 wxTreeItemId *arg2 = 0 ;
22315 wxString *arg3 = 0 ;
22316 int arg4 = (int) -1 ;
22317 int arg5 = (int) -1 ;
22318 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22319 wxTreeItemId result;
22320 bool temp3 = False ;
22321 PyObject * obj0 = 0 ;
22322 PyObject * obj1 = 0 ;
22323 PyObject * obj2 = 0 ;
22324 PyObject * obj5 = 0 ;
22325 char *kwnames[] = {
22326 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22327 };
22328
22329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22331 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22332 if (arg2 == NULL) {
22333 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22334 }
22335 {
22336 arg3 = wxString_in_helper(obj2);
22337 if (arg3 == NULL) SWIG_fail;
22338 temp3 = True;
22339 }
22340 if (obj5) {
22341 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22342 }
22343 {
22344 PyThreadState* __tstate = wxPyBeginAllowThreads();
22345 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22346
22347 wxPyEndAllowThreads(__tstate);
22348 if (PyErr_Occurred()) SWIG_fail;
22349 }
22350 {
22351 wxTreeItemId * resultptr;
22352 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22353 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22354 }
22355 {
22356 if (temp3)
22357 delete arg3;
22358 }
22359 return resultobj;
22360 fail:
22361 {
22362 if (temp3)
22363 delete arg3;
22364 }
22365 return NULL;
22366 }
22367
22368
22369 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22370 PyObject *resultobj;
22371 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22372 wxTreeItemId *arg2 = 0 ;
22373 wxTreeItemId *arg3 = 0 ;
22374 wxString *arg4 = 0 ;
22375 int arg5 = (int) -1 ;
22376 int arg6 = (int) -1 ;
22377 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22378 wxTreeItemId result;
22379 bool temp4 = False ;
22380 PyObject * obj0 = 0 ;
22381 PyObject * obj1 = 0 ;
22382 PyObject * obj2 = 0 ;
22383 PyObject * obj3 = 0 ;
22384 PyObject * obj6 = 0 ;
22385 char *kwnames[] = {
22386 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22387 };
22388
22389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22391 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22392 if (arg2 == NULL) {
22393 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22394 }
22395 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22396 if (arg3 == NULL) {
22397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22398 }
22399 {
22400 arg4 = wxString_in_helper(obj3);
22401 if (arg4 == NULL) SWIG_fail;
22402 temp4 = True;
22403 }
22404 if (obj6) {
22405 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22406 }
22407 {
22408 PyThreadState* __tstate = wxPyBeginAllowThreads();
22409 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22410
22411 wxPyEndAllowThreads(__tstate);
22412 if (PyErr_Occurred()) SWIG_fail;
22413 }
22414 {
22415 wxTreeItemId * resultptr;
22416 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22417 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22418 }
22419 {
22420 if (temp4)
22421 delete arg4;
22422 }
22423 return resultobj;
22424 fail:
22425 {
22426 if (temp4)
22427 delete arg4;
22428 }
22429 return NULL;
22430 }
22431
22432
22433 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22434 PyObject *resultobj;
22435 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22436 wxTreeItemId *arg2 = 0 ;
22437 size_t arg3 ;
22438 wxString *arg4 = 0 ;
22439 int arg5 = (int) -1 ;
22440 int arg6 = (int) -1 ;
22441 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22442 wxTreeItemId result;
22443 bool temp4 = False ;
22444 PyObject * obj0 = 0 ;
22445 PyObject * obj1 = 0 ;
22446 PyObject * obj2 = 0 ;
22447 PyObject * obj3 = 0 ;
22448 PyObject * obj6 = 0 ;
22449 char *kwnames[] = {
22450 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22451 };
22452
22453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22455 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22456 if (arg2 == NULL) {
22457 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22458 }
22459 arg3 = (size_t) PyInt_AsLong(obj2);
22460 if (PyErr_Occurred()) SWIG_fail;
22461 {
22462 arg4 = wxString_in_helper(obj3);
22463 if (arg4 == NULL) SWIG_fail;
22464 temp4 = True;
22465 }
22466 if (obj6) {
22467 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22468 }
22469 {
22470 PyThreadState* __tstate = wxPyBeginAllowThreads();
22471 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22472
22473 wxPyEndAllowThreads(__tstate);
22474 if (PyErr_Occurred()) SWIG_fail;
22475 }
22476 {
22477 wxTreeItemId * resultptr;
22478 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22479 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22480 }
22481 {
22482 if (temp4)
22483 delete arg4;
22484 }
22485 return resultobj;
22486 fail:
22487 {
22488 if (temp4)
22489 delete arg4;
22490 }
22491 return NULL;
22492 }
22493
22494
22495 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22496 PyObject *resultobj;
22497 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22498 wxTreeItemId *arg2 = 0 ;
22499 wxString *arg3 = 0 ;
22500 int arg4 = (int) -1 ;
22501 int arg5 = (int) -1 ;
22502 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22503 wxTreeItemId result;
22504 bool temp3 = False ;
22505 PyObject * obj0 = 0 ;
22506 PyObject * obj1 = 0 ;
22507 PyObject * obj2 = 0 ;
22508 PyObject * obj5 = 0 ;
22509 char *kwnames[] = {
22510 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22511 };
22512
22513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22515 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22516 if (arg2 == NULL) {
22517 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22518 }
22519 {
22520 arg3 = wxString_in_helper(obj2);
22521 if (arg3 == NULL) SWIG_fail;
22522 temp3 = True;
22523 }
22524 if (obj5) {
22525 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22526 }
22527 {
22528 PyThreadState* __tstate = wxPyBeginAllowThreads();
22529 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22530
22531 wxPyEndAllowThreads(__tstate);
22532 if (PyErr_Occurred()) SWIG_fail;
22533 }
22534 {
22535 wxTreeItemId * resultptr;
22536 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22537 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22538 }
22539 {
22540 if (temp3)
22541 delete arg3;
22542 }
22543 return resultobj;
22544 fail:
22545 {
22546 if (temp3)
22547 delete arg3;
22548 }
22549 return NULL;
22550 }
22551
22552
22553 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22554 PyObject *resultobj;
22555 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22556 wxTreeItemId *arg2 = 0 ;
22557 PyObject * obj0 = 0 ;
22558 PyObject * obj1 = 0 ;
22559 char *kwnames[] = {
22560 (char *) "self",(char *) "item", NULL
22561 };
22562
22563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22565 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22566 if (arg2 == NULL) {
22567 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22568 }
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 (arg1)->Delete((wxTreeItemId const &)*arg2);
22572
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 Py_INCREF(Py_None); resultobj = Py_None;
22577 return resultobj;
22578 fail:
22579 return NULL;
22580 }
22581
22582
22583 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22584 PyObject *resultobj;
22585 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22586 wxTreeItemId *arg2 = 0 ;
22587 PyObject * obj0 = 0 ;
22588 PyObject * obj1 = 0 ;
22589 char *kwnames[] = {
22590 (char *) "self",(char *) "item", NULL
22591 };
22592
22593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22596 if (arg2 == NULL) {
22597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22598 }
22599 {
22600 PyThreadState* __tstate = wxPyBeginAllowThreads();
22601 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22602
22603 wxPyEndAllowThreads(__tstate);
22604 if (PyErr_Occurred()) SWIG_fail;
22605 }
22606 Py_INCREF(Py_None); resultobj = Py_None;
22607 return resultobj;
22608 fail:
22609 return NULL;
22610 }
22611
22612
22613 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22614 PyObject *resultobj;
22615 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22616 PyObject * obj0 = 0 ;
22617 char *kwnames[] = {
22618 (char *) "self", NULL
22619 };
22620
22621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22623 {
22624 PyThreadState* __tstate = wxPyBeginAllowThreads();
22625 (arg1)->DeleteAllItems();
22626
22627 wxPyEndAllowThreads(__tstate);
22628 if (PyErr_Occurred()) SWIG_fail;
22629 }
22630 Py_INCREF(Py_None); resultobj = Py_None;
22631 return resultobj;
22632 fail:
22633 return NULL;
22634 }
22635
22636
22637 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22638 PyObject *resultobj;
22639 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22640 wxTreeItemId *arg2 = 0 ;
22641 PyObject * obj0 = 0 ;
22642 PyObject * obj1 = 0 ;
22643 char *kwnames[] = {
22644 (char *) "self",(char *) "item", NULL
22645 };
22646
22647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22649 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22650 if (arg2 == NULL) {
22651 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22652 }
22653 {
22654 PyThreadState* __tstate = wxPyBeginAllowThreads();
22655 (arg1)->Expand((wxTreeItemId const &)*arg2);
22656
22657 wxPyEndAllowThreads(__tstate);
22658 if (PyErr_Occurred()) SWIG_fail;
22659 }
22660 Py_INCREF(Py_None); resultobj = Py_None;
22661 return resultobj;
22662 fail:
22663 return NULL;
22664 }
22665
22666
22667 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22668 PyObject *resultobj;
22669 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22670 wxTreeItemId *arg2 = 0 ;
22671 PyObject * obj0 = 0 ;
22672 PyObject * obj1 = 0 ;
22673 char *kwnames[] = {
22674 (char *) "self",(char *) "item", NULL
22675 };
22676
22677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22679 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22680 if (arg2 == NULL) {
22681 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22682 }
22683 {
22684 PyThreadState* __tstate = wxPyBeginAllowThreads();
22685 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22686
22687 wxPyEndAllowThreads(__tstate);
22688 if (PyErr_Occurred()) SWIG_fail;
22689 }
22690 Py_INCREF(Py_None); resultobj = Py_None;
22691 return resultobj;
22692 fail:
22693 return NULL;
22694 }
22695
22696
22697 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22698 PyObject *resultobj;
22699 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22700 wxTreeItemId *arg2 = 0 ;
22701 PyObject * obj0 = 0 ;
22702 PyObject * obj1 = 0 ;
22703 char *kwnames[] = {
22704 (char *) "self",(char *) "item", NULL
22705 };
22706
22707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22709 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22710 if (arg2 == NULL) {
22711 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22712 }
22713 {
22714 PyThreadState* __tstate = wxPyBeginAllowThreads();
22715 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22716
22717 wxPyEndAllowThreads(__tstate);
22718 if (PyErr_Occurred()) SWIG_fail;
22719 }
22720 Py_INCREF(Py_None); resultobj = Py_None;
22721 return resultobj;
22722 fail:
22723 return NULL;
22724 }
22725
22726
22727 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22728 PyObject *resultobj;
22729 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22730 wxTreeItemId *arg2 = 0 ;
22731 PyObject * obj0 = 0 ;
22732 PyObject * obj1 = 0 ;
22733 char *kwnames[] = {
22734 (char *) "self",(char *) "item", NULL
22735 };
22736
22737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22739 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22740 if (arg2 == NULL) {
22741 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22742 }
22743 {
22744 PyThreadState* __tstate = wxPyBeginAllowThreads();
22745 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22746
22747 wxPyEndAllowThreads(__tstate);
22748 if (PyErr_Occurred()) SWIG_fail;
22749 }
22750 Py_INCREF(Py_None); resultobj = Py_None;
22751 return resultobj;
22752 fail:
22753 return NULL;
22754 }
22755
22756
22757 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22758 PyObject *resultobj;
22759 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22760 PyObject * obj0 = 0 ;
22761 char *kwnames[] = {
22762 (char *) "self", NULL
22763 };
22764
22765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22767 {
22768 PyThreadState* __tstate = wxPyBeginAllowThreads();
22769 (arg1)->Unselect();
22770
22771 wxPyEndAllowThreads(__tstate);
22772 if (PyErr_Occurred()) SWIG_fail;
22773 }
22774 Py_INCREF(Py_None); resultobj = Py_None;
22775 return resultobj;
22776 fail:
22777 return NULL;
22778 }
22779
22780
22781 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22782 PyObject *resultobj;
22783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22784 PyObject * obj0 = 0 ;
22785 char *kwnames[] = {
22786 (char *) "self", NULL
22787 };
22788
22789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22791 {
22792 PyThreadState* __tstate = wxPyBeginAllowThreads();
22793 (arg1)->UnselectAll();
22794
22795 wxPyEndAllowThreads(__tstate);
22796 if (PyErr_Occurred()) SWIG_fail;
22797 }
22798 Py_INCREF(Py_None); resultobj = Py_None;
22799 return resultobj;
22800 fail:
22801 return NULL;
22802 }
22803
22804
22805 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22806 PyObject *resultobj;
22807 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22808 wxTreeItemId *arg2 = 0 ;
22809 PyObject * obj0 = 0 ;
22810 PyObject * obj1 = 0 ;
22811 char *kwnames[] = {
22812 (char *) "self",(char *) "item", NULL
22813 };
22814
22815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22818 if (arg2 == NULL) {
22819 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22820 }
22821 {
22822 PyThreadState* __tstate = wxPyBeginAllowThreads();
22823 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22824
22825 wxPyEndAllowThreads(__tstate);
22826 if (PyErr_Occurred()) SWIG_fail;
22827 }
22828 Py_INCREF(Py_None); resultobj = Py_None;
22829 return resultobj;
22830 fail:
22831 return NULL;
22832 }
22833
22834
22835 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22836 PyObject *resultobj;
22837 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22838 wxTreeItemId *arg2 = 0 ;
22839 PyObject * obj0 = 0 ;
22840 PyObject * obj1 = 0 ;
22841 char *kwnames[] = {
22842 (char *) "self",(char *) "item", NULL
22843 };
22844
22845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22847 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22848 if (arg2 == NULL) {
22849 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22850 }
22851 {
22852 PyThreadState* __tstate = wxPyBeginAllowThreads();
22853 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22854
22855 wxPyEndAllowThreads(__tstate);
22856 if (PyErr_Occurred()) SWIG_fail;
22857 }
22858 Py_INCREF(Py_None); resultobj = Py_None;
22859 return resultobj;
22860 fail:
22861 return NULL;
22862 }
22863
22864
22865 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22866 PyObject *resultobj;
22867 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22868 wxTreeItemId *arg2 = 0 ;
22869 PyObject * obj0 = 0 ;
22870 PyObject * obj1 = 0 ;
22871 char *kwnames[] = {
22872 (char *) "self",(char *) "item", NULL
22873 };
22874
22875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22877 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22878 if (arg2 == NULL) {
22879 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22880 }
22881 {
22882 PyThreadState* __tstate = wxPyBeginAllowThreads();
22883 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22884
22885 wxPyEndAllowThreads(__tstate);
22886 if (PyErr_Occurred()) SWIG_fail;
22887 }
22888 Py_INCREF(Py_None); resultobj = Py_None;
22889 return resultobj;
22890 fail:
22891 return NULL;
22892 }
22893
22894
22895 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22896 PyObject *resultobj;
22897 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22898 wxTreeItemId *arg2 = 0 ;
22899 PyObject * obj0 = 0 ;
22900 PyObject * obj1 = 0 ;
22901 char *kwnames[] = {
22902 (char *) "self",(char *) "item", NULL
22903 };
22904
22905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22907 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22908 if (arg2 == NULL) {
22909 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22910 }
22911 {
22912 PyThreadState* __tstate = wxPyBeginAllowThreads();
22913 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22914
22915 wxPyEndAllowThreads(__tstate);
22916 if (PyErr_Occurred()) SWIG_fail;
22917 }
22918 Py_INCREF(Py_None); resultobj = Py_None;
22919 return resultobj;
22920 fail:
22921 return NULL;
22922 }
22923
22924
22925 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22926 PyObject *resultobj;
22927 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22928 wxTextCtrl *result;
22929 PyObject * obj0 = 0 ;
22930 char *kwnames[] = {
22931 (char *) "self", NULL
22932 };
22933
22934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22936 {
22937 PyThreadState* __tstate = wxPyBeginAllowThreads();
22938 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22939
22940 wxPyEndAllowThreads(__tstate);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 }
22943 {
22944 resultobj = wxPyMake_wxObject(result);
22945 }
22946 return resultobj;
22947 fail:
22948 return NULL;
22949 }
22950
22951
22952 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22953 PyObject *resultobj;
22954 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22955 wxTreeItemId *arg2 = 0 ;
22956 bool arg3 = (bool) False ;
22957 PyObject * obj0 = 0 ;
22958 PyObject * obj1 = 0 ;
22959 PyObject * obj2 = 0 ;
22960 char *kwnames[] = {
22961 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
22962 };
22963
22964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
22965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22967 if (arg2 == NULL) {
22968 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22969 }
22970 if (obj2) {
22971 arg3 = PyInt_AsLong(obj2) ? true : false;
22972 if (PyErr_Occurred()) SWIG_fail;
22973 }
22974 {
22975 PyThreadState* __tstate = wxPyBeginAllowThreads();
22976 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
22977
22978 wxPyEndAllowThreads(__tstate);
22979 if (PyErr_Occurred()) SWIG_fail;
22980 }
22981 Py_INCREF(Py_None); resultobj = Py_None;
22982 return resultobj;
22983 fail:
22984 return NULL;
22985 }
22986
22987
22988 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22989 PyObject *resultobj;
22990 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22991 wxTreeItemId *arg2 = 0 ;
22992 PyObject * obj0 = 0 ;
22993 PyObject * obj1 = 0 ;
22994 char *kwnames[] = {
22995 (char *) "self",(char *) "item", NULL
22996 };
22997
22998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
22999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23001 if (arg2 == NULL) {
23002 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23003 }
23004 {
23005 PyThreadState* __tstate = wxPyBeginAllowThreads();
23006 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23007
23008 wxPyEndAllowThreads(__tstate);
23009 if (PyErr_Occurred()) SWIG_fail;
23010 }
23011 Py_INCREF(Py_None); resultobj = Py_None;
23012 return resultobj;
23013 fail:
23014 return NULL;
23015 }
23016
23017
23018 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23019 PyObject *resultobj;
23020 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23021 wxPoint *arg2 = 0 ;
23022 int *arg3 = 0 ;
23023 wxTreeItemId result;
23024 wxPoint temp2 ;
23025 int temp3 ;
23026 PyObject * obj0 = 0 ;
23027 PyObject * obj1 = 0 ;
23028 char *kwnames[] = {
23029 (char *) "self",(char *) "point", NULL
23030 };
23031
23032 arg3 = &temp3;
23033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23035 {
23036 arg2 = &temp2;
23037 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23038 }
23039 {
23040 PyThreadState* __tstate = wxPyBeginAllowThreads();
23041 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23042
23043 wxPyEndAllowThreads(__tstate);
23044 if (PyErr_Occurred()) SWIG_fail;
23045 }
23046 {
23047 wxTreeItemId * resultptr;
23048 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23049 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23050 }
23051 {
23052 PyObject *o = PyInt_FromLong((long) (*arg3));
23053 resultobj = t_output_helper(resultobj,o);
23054 }
23055 return resultobj;
23056 fail:
23057 return NULL;
23058 }
23059
23060
23061 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23062 PyObject *resultobj;
23063 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23064 wxTreeItemId *arg2 = 0 ;
23065 bool arg3 = (bool) False ;
23066 PyObject *result;
23067 PyObject * obj0 = 0 ;
23068 PyObject * obj1 = 0 ;
23069 PyObject * obj2 = 0 ;
23070 char *kwnames[] = {
23071 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23072 };
23073
23074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23077 if (arg2 == NULL) {
23078 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23079 }
23080 if (obj2) {
23081 arg3 = PyInt_AsLong(obj2) ? true : false;
23082 if (PyErr_Occurred()) SWIG_fail;
23083 }
23084 {
23085 PyThreadState* __tstate = wxPyBeginAllowThreads();
23086 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23087
23088 wxPyEndAllowThreads(__tstate);
23089 if (PyErr_Occurred()) SWIG_fail;
23090 }
23091 resultobj = result;
23092 return resultobj;
23093 fail:
23094 return NULL;
23095 }
23096
23097
23098 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23099 PyObject *obj;
23100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23101 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23102 Py_INCREF(obj);
23103 return Py_BuildValue((char *)"");
23104 }
23105 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23106 PyObject *resultobj;
23107 wxWindow *arg1 = (wxWindow *) 0 ;
23108 int arg2 = (int) (int)-1 ;
23109 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23110 wxString *arg3 = (wxString *) &arg3_defvalue ;
23111 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23112 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23113 wxSize const &arg5_defvalue = wxDefaultSize ;
23114 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23115 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23116 wxString const &arg7_defvalue = wxPyEmptyString ;
23117 wxString *arg7 = (wxString *) &arg7_defvalue ;
23118 int arg8 = (int) 0 ;
23119 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
23120 wxString *arg9 = (wxString *) &arg9_defvalue ;
23121 wxGenericDirCtrl *result;
23122 bool temp3 = False ;
23123 wxPoint temp4 ;
23124 wxSize temp5 ;
23125 bool temp7 = False ;
23126 bool temp9 = False ;
23127 PyObject * obj0 = 0 ;
23128 PyObject * obj2 = 0 ;
23129 PyObject * obj3 = 0 ;
23130 PyObject * obj4 = 0 ;
23131 PyObject * obj6 = 0 ;
23132 PyObject * obj8 = 0 ;
23133 char *kwnames[] = {
23134 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23135 };
23136
23137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23139 if (obj2) {
23140 {
23141 arg3 = wxString_in_helper(obj2);
23142 if (arg3 == NULL) SWIG_fail;
23143 temp3 = True;
23144 }
23145 }
23146 if (obj3) {
23147 {
23148 arg4 = &temp4;
23149 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23150 }
23151 }
23152 if (obj4) {
23153 {
23154 arg5 = &temp5;
23155 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23156 }
23157 }
23158 if (obj6) {
23159 {
23160 arg7 = wxString_in_helper(obj6);
23161 if (arg7 == NULL) SWIG_fail;
23162 temp7 = True;
23163 }
23164 }
23165 if (obj8) {
23166 {
23167 arg9 = wxString_in_helper(obj8);
23168 if (arg9 == NULL) SWIG_fail;
23169 temp9 = True;
23170 }
23171 }
23172 {
23173 PyThreadState* __tstate = wxPyBeginAllowThreads();
23174 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23175
23176 wxPyEndAllowThreads(__tstate);
23177 if (PyErr_Occurred()) SWIG_fail;
23178 }
23179 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23180 {
23181 if (temp3)
23182 delete arg3;
23183 }
23184 {
23185 if (temp7)
23186 delete arg7;
23187 }
23188 {
23189 if (temp9)
23190 delete arg9;
23191 }
23192 return resultobj;
23193 fail:
23194 {
23195 if (temp3)
23196 delete arg3;
23197 }
23198 {
23199 if (temp7)
23200 delete arg7;
23201 }
23202 {
23203 if (temp9)
23204 delete arg9;
23205 }
23206 return NULL;
23207 }
23208
23209
23210 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23211 PyObject *resultobj;
23212 wxGenericDirCtrl *result;
23213 char *kwnames[] = {
23214 NULL
23215 };
23216
23217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23218 {
23219 PyThreadState* __tstate = wxPyBeginAllowThreads();
23220 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23221
23222 wxPyEndAllowThreads(__tstate);
23223 if (PyErr_Occurred()) SWIG_fail;
23224 }
23225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23226 return resultobj;
23227 fail:
23228 return NULL;
23229 }
23230
23231
23232 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23233 PyObject *resultobj;
23234 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23235 wxWindow *arg2 = (wxWindow *) 0 ;
23236 int arg3 = (int) (int)-1 ;
23237 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23238 wxString *arg4 = (wxString *) &arg4_defvalue ;
23239 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23240 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23241 wxSize const &arg6_defvalue = wxDefaultSize ;
23242 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23243 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23244 wxString const &arg8_defvalue = wxPyEmptyString ;
23245 wxString *arg8 = (wxString *) &arg8_defvalue ;
23246 int arg9 = (int) 0 ;
23247 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
23248 wxString *arg10 = (wxString *) &arg10_defvalue ;
23249 bool result;
23250 bool temp4 = False ;
23251 wxPoint temp5 ;
23252 wxSize temp6 ;
23253 bool temp8 = False ;
23254 bool temp10 = False ;
23255 PyObject * obj0 = 0 ;
23256 PyObject * obj1 = 0 ;
23257 PyObject * obj3 = 0 ;
23258 PyObject * obj4 = 0 ;
23259 PyObject * obj5 = 0 ;
23260 PyObject * obj7 = 0 ;
23261 PyObject * obj9 = 0 ;
23262 char *kwnames[] = {
23263 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23264 };
23265
23266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23269 if (obj3) {
23270 {
23271 arg4 = wxString_in_helper(obj3);
23272 if (arg4 == NULL) SWIG_fail;
23273 temp4 = True;
23274 }
23275 }
23276 if (obj4) {
23277 {
23278 arg5 = &temp5;
23279 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23280 }
23281 }
23282 if (obj5) {
23283 {
23284 arg6 = &temp6;
23285 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23286 }
23287 }
23288 if (obj7) {
23289 {
23290 arg8 = wxString_in_helper(obj7);
23291 if (arg8 == NULL) SWIG_fail;
23292 temp8 = True;
23293 }
23294 }
23295 if (obj9) {
23296 {
23297 arg10 = wxString_in_helper(obj9);
23298 if (arg10 == NULL) SWIG_fail;
23299 temp10 = True;
23300 }
23301 }
23302 {
23303 PyThreadState* __tstate = wxPyBeginAllowThreads();
23304 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23305
23306 wxPyEndAllowThreads(__tstate);
23307 if (PyErr_Occurred()) SWIG_fail;
23308 }
23309 resultobj = PyInt_FromLong((long)result);
23310 {
23311 if (temp4)
23312 delete arg4;
23313 }
23314 {
23315 if (temp8)
23316 delete arg8;
23317 }
23318 {
23319 if (temp10)
23320 delete arg10;
23321 }
23322 return resultobj;
23323 fail:
23324 {
23325 if (temp4)
23326 delete arg4;
23327 }
23328 {
23329 if (temp8)
23330 delete arg8;
23331 }
23332 {
23333 if (temp10)
23334 delete arg10;
23335 }
23336 return NULL;
23337 }
23338
23339
23340 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23341 PyObject *resultobj;
23342 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23343 wxString *arg2 = 0 ;
23344 bool result;
23345 bool temp2 = False ;
23346 PyObject * obj0 = 0 ;
23347 PyObject * obj1 = 0 ;
23348 char *kwnames[] = {
23349 (char *) "self",(char *) "path", NULL
23350 };
23351
23352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23354 {
23355 arg2 = wxString_in_helper(obj1);
23356 if (arg2 == NULL) SWIG_fail;
23357 temp2 = True;
23358 }
23359 {
23360 PyThreadState* __tstate = wxPyBeginAllowThreads();
23361 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23362
23363 wxPyEndAllowThreads(__tstate);
23364 if (PyErr_Occurred()) SWIG_fail;
23365 }
23366 resultobj = PyInt_FromLong((long)result);
23367 {
23368 if (temp2)
23369 delete arg2;
23370 }
23371 return resultobj;
23372 fail:
23373 {
23374 if (temp2)
23375 delete arg2;
23376 }
23377 return NULL;
23378 }
23379
23380
23381 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23382 PyObject *resultobj;
23383 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23384 wxString result;
23385 PyObject * obj0 = 0 ;
23386 char *kwnames[] = {
23387 (char *) "self", NULL
23388 };
23389
23390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23392 {
23393 PyThreadState* __tstate = wxPyBeginAllowThreads();
23394 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23395
23396 wxPyEndAllowThreads(__tstate);
23397 if (PyErr_Occurred()) SWIG_fail;
23398 }
23399 {
23400 #if wxUSE_UNICODE
23401 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23402 #else
23403 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23404 #endif
23405 }
23406 return resultobj;
23407 fail:
23408 return NULL;
23409 }
23410
23411
23412 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23413 PyObject *resultobj;
23414 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23415 wxString *arg2 = 0 ;
23416 bool temp2 = False ;
23417 PyObject * obj0 = 0 ;
23418 PyObject * obj1 = 0 ;
23419 char *kwnames[] = {
23420 (char *) "self",(char *) "path", NULL
23421 };
23422
23423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23425 {
23426 arg2 = wxString_in_helper(obj1);
23427 if (arg2 == NULL) SWIG_fail;
23428 temp2 = True;
23429 }
23430 {
23431 PyThreadState* __tstate = wxPyBeginAllowThreads();
23432 (arg1)->SetDefaultPath((wxString const &)*arg2);
23433
23434 wxPyEndAllowThreads(__tstate);
23435 if (PyErr_Occurred()) SWIG_fail;
23436 }
23437 Py_INCREF(Py_None); resultobj = Py_None;
23438 {
23439 if (temp2)
23440 delete arg2;
23441 }
23442 return resultobj;
23443 fail:
23444 {
23445 if (temp2)
23446 delete arg2;
23447 }
23448 return NULL;
23449 }
23450
23451
23452 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23453 PyObject *resultobj;
23454 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23455 wxString result;
23456 PyObject * obj0 = 0 ;
23457 char *kwnames[] = {
23458 (char *) "self", NULL
23459 };
23460
23461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23463 {
23464 PyThreadState* __tstate = wxPyBeginAllowThreads();
23465 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23466
23467 wxPyEndAllowThreads(__tstate);
23468 if (PyErr_Occurred()) SWIG_fail;
23469 }
23470 {
23471 #if wxUSE_UNICODE
23472 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23473 #else
23474 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23475 #endif
23476 }
23477 return resultobj;
23478 fail:
23479 return NULL;
23480 }
23481
23482
23483 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23484 PyObject *resultobj;
23485 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23486 wxString result;
23487 PyObject * obj0 = 0 ;
23488 char *kwnames[] = {
23489 (char *) "self", NULL
23490 };
23491
23492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23494 {
23495 PyThreadState* __tstate = wxPyBeginAllowThreads();
23496 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23497
23498 wxPyEndAllowThreads(__tstate);
23499 if (PyErr_Occurred()) SWIG_fail;
23500 }
23501 {
23502 #if wxUSE_UNICODE
23503 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23504 #else
23505 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23506 #endif
23507 }
23508 return resultobj;
23509 fail:
23510 return NULL;
23511 }
23512
23513
23514 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23515 PyObject *resultobj;
23516 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23517 wxString *arg2 = 0 ;
23518 bool temp2 = False ;
23519 PyObject * obj0 = 0 ;
23520 PyObject * obj1 = 0 ;
23521 char *kwnames[] = {
23522 (char *) "self",(char *) "path", NULL
23523 };
23524
23525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23527 {
23528 arg2 = wxString_in_helper(obj1);
23529 if (arg2 == NULL) SWIG_fail;
23530 temp2 = True;
23531 }
23532 {
23533 PyThreadState* __tstate = wxPyBeginAllowThreads();
23534 (arg1)->SetPath((wxString const &)*arg2);
23535
23536 wxPyEndAllowThreads(__tstate);
23537 if (PyErr_Occurred()) SWIG_fail;
23538 }
23539 Py_INCREF(Py_None); resultobj = Py_None;
23540 {
23541 if (temp2)
23542 delete arg2;
23543 }
23544 return resultobj;
23545 fail:
23546 {
23547 if (temp2)
23548 delete arg2;
23549 }
23550 return NULL;
23551 }
23552
23553
23554 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23555 PyObject *resultobj;
23556 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23557 bool arg2 ;
23558 PyObject * obj0 = 0 ;
23559 PyObject * obj1 = 0 ;
23560 char *kwnames[] = {
23561 (char *) "self",(char *) "show", NULL
23562 };
23563
23564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23566 arg2 = PyInt_AsLong(obj1) ? true : false;
23567 if (PyErr_Occurred()) SWIG_fail;
23568 {
23569 PyThreadState* __tstate = wxPyBeginAllowThreads();
23570 (arg1)->ShowHidden(arg2);
23571
23572 wxPyEndAllowThreads(__tstate);
23573 if (PyErr_Occurred()) SWIG_fail;
23574 }
23575 Py_INCREF(Py_None); resultobj = Py_None;
23576 return resultobj;
23577 fail:
23578 return NULL;
23579 }
23580
23581
23582 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23583 PyObject *resultobj;
23584 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23585 bool result;
23586 PyObject * obj0 = 0 ;
23587 char *kwnames[] = {
23588 (char *) "self", NULL
23589 };
23590
23591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23593 {
23594 PyThreadState* __tstate = wxPyBeginAllowThreads();
23595 result = (bool)(arg1)->GetShowHidden();
23596
23597 wxPyEndAllowThreads(__tstate);
23598 if (PyErr_Occurred()) SWIG_fail;
23599 }
23600 resultobj = PyInt_FromLong((long)result);
23601 return resultobj;
23602 fail:
23603 return NULL;
23604 }
23605
23606
23607 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23608 PyObject *resultobj;
23609 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23610 wxString result;
23611 PyObject * obj0 = 0 ;
23612 char *kwnames[] = {
23613 (char *) "self", NULL
23614 };
23615
23616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23618 {
23619 PyThreadState* __tstate = wxPyBeginAllowThreads();
23620 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23621
23622 wxPyEndAllowThreads(__tstate);
23623 if (PyErr_Occurred()) SWIG_fail;
23624 }
23625 {
23626 #if wxUSE_UNICODE
23627 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23628 #else
23629 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23630 #endif
23631 }
23632 return resultobj;
23633 fail:
23634 return NULL;
23635 }
23636
23637
23638 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23639 PyObject *resultobj;
23640 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23641 wxString *arg2 = 0 ;
23642 bool temp2 = False ;
23643 PyObject * obj0 = 0 ;
23644 PyObject * obj1 = 0 ;
23645 char *kwnames[] = {
23646 (char *) "self",(char *) "filter", NULL
23647 };
23648
23649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23651 {
23652 arg2 = wxString_in_helper(obj1);
23653 if (arg2 == NULL) SWIG_fail;
23654 temp2 = True;
23655 }
23656 {
23657 PyThreadState* __tstate = wxPyBeginAllowThreads();
23658 (arg1)->SetFilter((wxString const &)*arg2);
23659
23660 wxPyEndAllowThreads(__tstate);
23661 if (PyErr_Occurred()) SWIG_fail;
23662 }
23663 Py_INCREF(Py_None); resultobj = Py_None;
23664 {
23665 if (temp2)
23666 delete arg2;
23667 }
23668 return resultobj;
23669 fail:
23670 {
23671 if (temp2)
23672 delete arg2;
23673 }
23674 return NULL;
23675 }
23676
23677
23678 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23679 PyObject *resultobj;
23680 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23681 int result;
23682 PyObject * obj0 = 0 ;
23683 char *kwnames[] = {
23684 (char *) "self", NULL
23685 };
23686
23687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23689 {
23690 PyThreadState* __tstate = wxPyBeginAllowThreads();
23691 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23692
23693 wxPyEndAllowThreads(__tstate);
23694 if (PyErr_Occurred()) SWIG_fail;
23695 }
23696 resultobj = PyInt_FromLong((long)result);
23697 return resultobj;
23698 fail:
23699 return NULL;
23700 }
23701
23702
23703 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23704 PyObject *resultobj;
23705 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23706 int arg2 ;
23707 PyObject * obj0 = 0 ;
23708 char *kwnames[] = {
23709 (char *) "self",(char *) "n", NULL
23710 };
23711
23712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23714 {
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 (arg1)->SetFilterIndex(arg2);
23717
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
23721 Py_INCREF(Py_None); resultobj = Py_None;
23722 return resultobj;
23723 fail:
23724 return NULL;
23725 }
23726
23727
23728 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23729 PyObject *resultobj;
23730 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23731 wxTreeItemId result;
23732 PyObject * obj0 = 0 ;
23733 char *kwnames[] = {
23734 (char *) "self", NULL
23735 };
23736
23737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23739 {
23740 PyThreadState* __tstate = wxPyBeginAllowThreads();
23741 result = (arg1)->GetRootId();
23742
23743 wxPyEndAllowThreads(__tstate);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 }
23746 {
23747 wxTreeItemId * resultptr;
23748 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23749 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23750 }
23751 return resultobj;
23752 fail:
23753 return NULL;
23754 }
23755
23756
23757 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23758 PyObject *resultobj;
23759 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23760 wxTreeCtrl *result;
23761 PyObject * obj0 = 0 ;
23762 char *kwnames[] = {
23763 (char *) "self", NULL
23764 };
23765
23766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23768 {
23769 PyThreadState* __tstate = wxPyBeginAllowThreads();
23770 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23771
23772 wxPyEndAllowThreads(__tstate);
23773 if (PyErr_Occurred()) SWIG_fail;
23774 }
23775 {
23776 resultobj = wxPyMake_wxObject(result);
23777 }
23778 return resultobj;
23779 fail:
23780 return NULL;
23781 }
23782
23783
23784 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23785 PyObject *resultobj;
23786 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23787 wxDirFilterListCtrl *result;
23788 PyObject * obj0 = 0 ;
23789 char *kwnames[] = {
23790 (char *) "self", NULL
23791 };
23792
23793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23795 {
23796 PyThreadState* __tstate = wxPyBeginAllowThreads();
23797 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23798
23799 wxPyEndAllowThreads(__tstate);
23800 if (PyErr_Occurred()) SWIG_fail;
23801 }
23802 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23803 return resultobj;
23804 fail:
23805 return NULL;
23806 }
23807
23808
23809 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23810 PyObject *resultobj;
23811 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23812 wxTreeItemId arg2 ;
23813 wxString *arg3 = 0 ;
23814 bool *arg4 = 0 ;
23815 wxTreeItemId result;
23816 wxTreeItemId *argp2 ;
23817 bool temp3 = False ;
23818 bool temp4 ;
23819 PyObject * obj0 = 0 ;
23820 PyObject * obj1 = 0 ;
23821 PyObject * obj2 = 0 ;
23822 char *kwnames[] = {
23823 (char *) "self",(char *) "parentId",(char *) "path", NULL
23824 };
23825
23826 arg4 = &temp4;
23827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23829 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23830 arg2 = *argp2;
23831 {
23832 arg3 = wxString_in_helper(obj2);
23833 if (arg3 == NULL) SWIG_fail;
23834 temp3 = True;
23835 }
23836 {
23837 PyThreadState* __tstate = wxPyBeginAllowThreads();
23838 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23839
23840 wxPyEndAllowThreads(__tstate);
23841 if (PyErr_Occurred()) SWIG_fail;
23842 }
23843 {
23844 wxTreeItemId * resultptr;
23845 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23846 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23847 }
23848 {
23849 PyObject *o = PyInt_FromLong((long) (*arg4));
23850 resultobj = t_output_helper(resultobj,o);
23851 }
23852 {
23853 if (temp3)
23854 delete arg3;
23855 }
23856 return resultobj;
23857 fail:
23858 {
23859 if (temp3)
23860 delete arg3;
23861 }
23862 return NULL;
23863 }
23864
23865
23866 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23867 PyObject *resultobj;
23868 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23869 PyObject * obj0 = 0 ;
23870 char *kwnames[] = {
23871 (char *) "self", NULL
23872 };
23873
23874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23876 {
23877 PyThreadState* __tstate = wxPyBeginAllowThreads();
23878 (arg1)->DoResize();
23879
23880 wxPyEndAllowThreads(__tstate);
23881 if (PyErr_Occurred()) SWIG_fail;
23882 }
23883 Py_INCREF(Py_None); resultobj = Py_None;
23884 return resultobj;
23885 fail:
23886 return NULL;
23887 }
23888
23889
23890 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23891 PyObject *resultobj;
23892 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23893 PyObject * obj0 = 0 ;
23894 char *kwnames[] = {
23895 (char *) "self", NULL
23896 };
23897
23898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23900 {
23901 PyThreadState* __tstate = wxPyBeginAllowThreads();
23902 (arg1)->ReCreateTree();
23903
23904 wxPyEndAllowThreads(__tstate);
23905 if (PyErr_Occurred()) SWIG_fail;
23906 }
23907 Py_INCREF(Py_None); resultobj = Py_None;
23908 return resultobj;
23909 fail:
23910 return NULL;
23911 }
23912
23913
23914 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23915 PyObject *obj;
23916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23917 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23918 Py_INCREF(obj);
23919 return Py_BuildValue((char *)"");
23920 }
23921 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23922 PyObject *resultobj;
23923 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23924 int arg2 = (int) (int)-1 ;
23925 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23926 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23927 wxSize const &arg4_defvalue = wxDefaultSize ;
23928 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23929 long arg5 = (long) 0 ;
23930 wxDirFilterListCtrl *result;
23931 wxPoint temp3 ;
23932 wxSize temp4 ;
23933 PyObject * obj0 = 0 ;
23934 PyObject * obj2 = 0 ;
23935 PyObject * obj3 = 0 ;
23936 char *kwnames[] = {
23937 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23938 };
23939
23940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23942 if (obj2) {
23943 {
23944 arg3 = &temp3;
23945 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23946 }
23947 }
23948 if (obj3) {
23949 {
23950 arg4 = &temp4;
23951 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23952 }
23953 }
23954 {
23955 PyThreadState* __tstate = wxPyBeginAllowThreads();
23956 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23957
23958 wxPyEndAllowThreads(__tstate);
23959 if (PyErr_Occurred()) SWIG_fail;
23960 }
23961 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23962 return resultobj;
23963 fail:
23964 return NULL;
23965 }
23966
23967
23968 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23969 PyObject *resultobj;
23970 wxDirFilterListCtrl *result;
23971 char *kwnames[] = {
23972 NULL
23973 };
23974
23975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
23976 {
23977 PyThreadState* __tstate = wxPyBeginAllowThreads();
23978 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
23979
23980 wxPyEndAllowThreads(__tstate);
23981 if (PyErr_Occurred()) SWIG_fail;
23982 }
23983 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23984 return resultobj;
23985 fail:
23986 return NULL;
23987 }
23988
23989
23990 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23991 PyObject *resultobj;
23992 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23993 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
23994 int arg3 = (int) (int)-1 ;
23995 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23996 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23997 wxSize const &arg5_defvalue = wxDefaultSize ;
23998 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23999 long arg6 = (long) 0 ;
24000 bool result;
24001 wxPoint temp4 ;
24002 wxSize temp5 ;
24003 PyObject * obj0 = 0 ;
24004 PyObject * obj1 = 0 ;
24005 PyObject * obj3 = 0 ;
24006 PyObject * obj4 = 0 ;
24007 char *kwnames[] = {
24008 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24009 };
24010
24011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24013 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24014 if (obj3) {
24015 {
24016 arg4 = &temp4;
24017 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24018 }
24019 }
24020 if (obj4) {
24021 {
24022 arg5 = &temp5;
24023 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24024 }
24025 }
24026 {
24027 PyThreadState* __tstate = wxPyBeginAllowThreads();
24028 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24029
24030 wxPyEndAllowThreads(__tstate);
24031 if (PyErr_Occurred()) SWIG_fail;
24032 }
24033 resultobj = PyInt_FromLong((long)result);
24034 return resultobj;
24035 fail:
24036 return NULL;
24037 }
24038
24039
24040 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24041 PyObject *resultobj;
24042 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24043 wxString *arg2 = 0 ;
24044 int arg3 ;
24045 bool temp2 = False ;
24046 PyObject * obj0 = 0 ;
24047 PyObject * obj1 = 0 ;
24048 char *kwnames[] = {
24049 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24050 };
24051
24052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24054 {
24055 arg2 = wxString_in_helper(obj1);
24056 if (arg2 == NULL) SWIG_fail;
24057 temp2 = True;
24058 }
24059 {
24060 PyThreadState* __tstate = wxPyBeginAllowThreads();
24061 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24062
24063 wxPyEndAllowThreads(__tstate);
24064 if (PyErr_Occurred()) SWIG_fail;
24065 }
24066 Py_INCREF(Py_None); resultobj = Py_None;
24067 {
24068 if (temp2)
24069 delete arg2;
24070 }
24071 return resultobj;
24072 fail:
24073 {
24074 if (temp2)
24075 delete arg2;
24076 }
24077 return NULL;
24078 }
24079
24080
24081 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24082 PyObject *obj;
24083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24084 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24085 Py_INCREF(obj);
24086 return Py_BuildValue((char *)"");
24087 }
24088 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24089 PyObject *resultobj;
24090 wxWindow *arg1 = (wxWindow *) 0 ;
24091 int arg2 ;
24092 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24093 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24094 wxSize const &arg4_defvalue = wxDefaultSize ;
24095 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24096 long arg5 = (long) 0 ;
24097 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24098 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24099 wxString const &arg7_defvalue = wxPyControlNameStr ;
24100 wxString *arg7 = (wxString *) &arg7_defvalue ;
24101 wxPyControl *result;
24102 wxPoint temp3 ;
24103 wxSize temp4 ;
24104 bool temp7 = False ;
24105 PyObject * obj0 = 0 ;
24106 PyObject * obj2 = 0 ;
24107 PyObject * obj3 = 0 ;
24108 PyObject * obj5 = 0 ;
24109 PyObject * obj6 = 0 ;
24110 char *kwnames[] = {
24111 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24112 };
24113
24114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24116 if (obj2) {
24117 {
24118 arg3 = &temp3;
24119 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24120 }
24121 }
24122 if (obj3) {
24123 {
24124 arg4 = &temp4;
24125 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24126 }
24127 }
24128 if (obj5) {
24129 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24130 if (arg6 == NULL) {
24131 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24132 }
24133 }
24134 if (obj6) {
24135 {
24136 arg7 = wxString_in_helper(obj6);
24137 if (arg7 == NULL) SWIG_fail;
24138 temp7 = True;
24139 }
24140 }
24141 {
24142 PyThreadState* __tstate = wxPyBeginAllowThreads();
24143 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24144
24145 wxPyEndAllowThreads(__tstate);
24146 if (PyErr_Occurred()) SWIG_fail;
24147 }
24148 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24149 {
24150 if (temp7)
24151 delete arg7;
24152 }
24153 return resultobj;
24154 fail:
24155 {
24156 if (temp7)
24157 delete arg7;
24158 }
24159 return NULL;
24160 }
24161
24162
24163 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24164 PyObject *resultobj;
24165 wxPyControl *arg1 = (wxPyControl *) 0 ;
24166 PyObject *arg2 = (PyObject *) 0 ;
24167 PyObject *arg3 = (PyObject *) 0 ;
24168 PyObject * obj0 = 0 ;
24169 PyObject * obj1 = 0 ;
24170 PyObject * obj2 = 0 ;
24171 char *kwnames[] = {
24172 (char *) "self",(char *) "self",(char *) "_class", NULL
24173 };
24174
24175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24177 arg2 = obj1;
24178 arg3 = obj2;
24179 {
24180 PyThreadState* __tstate = wxPyBeginAllowThreads();
24181 (arg1)->_setCallbackInfo(arg2,arg3);
24182
24183 wxPyEndAllowThreads(__tstate);
24184 if (PyErr_Occurred()) SWIG_fail;
24185 }
24186 Py_INCREF(Py_None); resultobj = Py_None;
24187 return resultobj;
24188 fail:
24189 return NULL;
24190 }
24191
24192
24193 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24194 PyObject *resultobj;
24195 wxPyControl *arg1 = (wxPyControl *) 0 ;
24196 int arg2 ;
24197 int arg3 ;
24198 int arg4 ;
24199 int arg5 ;
24200 PyObject * obj0 = 0 ;
24201 char *kwnames[] = {
24202 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24203 };
24204
24205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24207 {
24208 PyThreadState* __tstate = wxPyBeginAllowThreads();
24209 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24210
24211 wxPyEndAllowThreads(__tstate);
24212 if (PyErr_Occurred()) SWIG_fail;
24213 }
24214 Py_INCREF(Py_None); resultobj = Py_None;
24215 return resultobj;
24216 fail:
24217 return NULL;
24218 }
24219
24220
24221 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24222 PyObject *resultobj;
24223 wxPyControl *arg1 = (wxPyControl *) 0 ;
24224 int arg2 ;
24225 int arg3 ;
24226 int arg4 ;
24227 int arg5 ;
24228 int arg6 = (int) wxSIZE_AUTO ;
24229 PyObject * obj0 = 0 ;
24230 char *kwnames[] = {
24231 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24232 };
24233
24234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24236 {
24237 PyThreadState* __tstate = wxPyBeginAllowThreads();
24238 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24239
24240 wxPyEndAllowThreads(__tstate);
24241 if (PyErr_Occurred()) SWIG_fail;
24242 }
24243 Py_INCREF(Py_None); resultobj = Py_None;
24244 return resultobj;
24245 fail:
24246 return NULL;
24247 }
24248
24249
24250 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24251 PyObject *resultobj;
24252 wxPyControl *arg1 = (wxPyControl *) 0 ;
24253 int arg2 ;
24254 int arg3 ;
24255 PyObject * obj0 = 0 ;
24256 char *kwnames[] = {
24257 (char *) "self",(char *) "width",(char *) "height", NULL
24258 };
24259
24260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24262 {
24263 PyThreadState* __tstate = wxPyBeginAllowThreads();
24264 (arg1)->base_DoSetClientSize(arg2,arg3);
24265
24266 wxPyEndAllowThreads(__tstate);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 }
24269 Py_INCREF(Py_None); resultobj = Py_None;
24270 return resultobj;
24271 fail:
24272 return NULL;
24273 }
24274
24275
24276 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24277 PyObject *resultobj;
24278 wxPyControl *arg1 = (wxPyControl *) 0 ;
24279 int arg2 ;
24280 int arg3 ;
24281 PyObject * obj0 = 0 ;
24282 char *kwnames[] = {
24283 (char *) "self",(char *) "x",(char *) "y", NULL
24284 };
24285
24286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24288 {
24289 PyThreadState* __tstate = wxPyBeginAllowThreads();
24290 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24291
24292 wxPyEndAllowThreads(__tstate);
24293 if (PyErr_Occurred()) SWIG_fail;
24294 }
24295 Py_INCREF(Py_None); resultobj = Py_None;
24296 return resultobj;
24297 fail:
24298 return NULL;
24299 }
24300
24301
24302 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24303 PyObject *resultobj;
24304 wxPyControl *arg1 = (wxPyControl *) 0 ;
24305 int *arg2 = (int *) 0 ;
24306 int *arg3 = (int *) 0 ;
24307 int temp2 ;
24308 int temp3 ;
24309 PyObject * obj0 = 0 ;
24310 char *kwnames[] = {
24311 (char *) "self", NULL
24312 };
24313
24314 arg2 = &temp2;
24315 arg3 = &temp3;
24316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24318 {
24319 PyThreadState* __tstate = wxPyBeginAllowThreads();
24320 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24321
24322 wxPyEndAllowThreads(__tstate);
24323 if (PyErr_Occurred()) SWIG_fail;
24324 }
24325 Py_INCREF(Py_None); resultobj = Py_None;
24326 {
24327 PyObject *o = PyInt_FromLong((long) (*arg2));
24328 resultobj = t_output_helper(resultobj,o);
24329 }
24330 {
24331 PyObject *o = PyInt_FromLong((long) (*arg3));
24332 resultobj = t_output_helper(resultobj,o);
24333 }
24334 return resultobj;
24335 fail:
24336 return NULL;
24337 }
24338
24339
24340 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24341 PyObject *resultobj;
24342 wxPyControl *arg1 = (wxPyControl *) 0 ;
24343 int *arg2 = (int *) 0 ;
24344 int *arg3 = (int *) 0 ;
24345 int temp2 ;
24346 int temp3 ;
24347 PyObject * obj0 = 0 ;
24348 char *kwnames[] = {
24349 (char *) "self", NULL
24350 };
24351
24352 arg2 = &temp2;
24353 arg3 = &temp3;
24354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24356 {
24357 PyThreadState* __tstate = wxPyBeginAllowThreads();
24358 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24359
24360 wxPyEndAllowThreads(__tstate);
24361 if (PyErr_Occurred()) SWIG_fail;
24362 }
24363 Py_INCREF(Py_None); resultobj = Py_None;
24364 {
24365 PyObject *o = PyInt_FromLong((long) (*arg2));
24366 resultobj = t_output_helper(resultobj,o);
24367 }
24368 {
24369 PyObject *o = PyInt_FromLong((long) (*arg3));
24370 resultobj = t_output_helper(resultobj,o);
24371 }
24372 return resultobj;
24373 fail:
24374 return NULL;
24375 }
24376
24377
24378 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24379 PyObject *resultobj;
24380 wxPyControl *arg1 = (wxPyControl *) 0 ;
24381 int *arg2 = (int *) 0 ;
24382 int *arg3 = (int *) 0 ;
24383 int temp2 ;
24384 int temp3 ;
24385 PyObject * obj0 = 0 ;
24386 char *kwnames[] = {
24387 (char *) "self", NULL
24388 };
24389
24390 arg2 = &temp2;
24391 arg3 = &temp3;
24392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24394 {
24395 PyThreadState* __tstate = wxPyBeginAllowThreads();
24396 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24397
24398 wxPyEndAllowThreads(__tstate);
24399 if (PyErr_Occurred()) SWIG_fail;
24400 }
24401 Py_INCREF(Py_None); resultobj = Py_None;
24402 {
24403 PyObject *o = PyInt_FromLong((long) (*arg2));
24404 resultobj = t_output_helper(resultobj,o);
24405 }
24406 {
24407 PyObject *o = PyInt_FromLong((long) (*arg3));
24408 resultobj = t_output_helper(resultobj,o);
24409 }
24410 return resultobj;
24411 fail:
24412 return NULL;
24413 }
24414
24415
24416 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24417 PyObject *resultobj;
24418 wxPyControl *arg1 = (wxPyControl *) 0 ;
24419 wxSize result;
24420 PyObject * obj0 = 0 ;
24421 char *kwnames[] = {
24422 (char *) "self", NULL
24423 };
24424
24425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24427 {
24428 PyThreadState* __tstate = wxPyBeginAllowThreads();
24429 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24430
24431 wxPyEndAllowThreads(__tstate);
24432 if (PyErr_Occurred()) SWIG_fail;
24433 }
24434 {
24435 wxSize * resultptr;
24436 resultptr = new wxSize((wxSize &) result);
24437 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24438 }
24439 return resultobj;
24440 fail:
24441 return NULL;
24442 }
24443
24444
24445 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24446 PyObject *resultobj;
24447 wxPyControl *arg1 = (wxPyControl *) 0 ;
24448 wxSize result;
24449 PyObject * obj0 = 0 ;
24450 char *kwnames[] = {
24451 (char *) "self", NULL
24452 };
24453
24454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24456 {
24457 PyThreadState* __tstate = wxPyBeginAllowThreads();
24458 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24459
24460 wxPyEndAllowThreads(__tstate);
24461 if (PyErr_Occurred()) SWIG_fail;
24462 }
24463 {
24464 wxSize * resultptr;
24465 resultptr = new wxSize((wxSize &) result);
24466 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24467 }
24468 return resultobj;
24469 fail:
24470 return NULL;
24471 }
24472
24473
24474 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24475 PyObject *resultobj;
24476 wxPyControl *arg1 = (wxPyControl *) 0 ;
24477 PyObject * obj0 = 0 ;
24478 char *kwnames[] = {
24479 (char *) "self", NULL
24480 };
24481
24482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24484 {
24485 PyThreadState* __tstate = wxPyBeginAllowThreads();
24486 (arg1)->base_InitDialog();
24487
24488 wxPyEndAllowThreads(__tstate);
24489 if (PyErr_Occurred()) SWIG_fail;
24490 }
24491 Py_INCREF(Py_None); resultobj = Py_None;
24492 return resultobj;
24493 fail:
24494 return NULL;
24495 }
24496
24497
24498 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24499 PyObject *resultobj;
24500 wxPyControl *arg1 = (wxPyControl *) 0 ;
24501 bool result;
24502 PyObject * obj0 = 0 ;
24503 char *kwnames[] = {
24504 (char *) "self", NULL
24505 };
24506
24507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24509 {
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
24511 result = (bool)(arg1)->base_TransferDataToWindow();
24512
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 resultobj = PyInt_FromLong((long)result);
24517 return resultobj;
24518 fail:
24519 return NULL;
24520 }
24521
24522
24523 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24524 PyObject *resultobj;
24525 wxPyControl *arg1 = (wxPyControl *) 0 ;
24526 bool result;
24527 PyObject * obj0 = 0 ;
24528 char *kwnames[] = {
24529 (char *) "self", NULL
24530 };
24531
24532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 result = (bool)(arg1)->base_TransferDataFromWindow();
24537
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 resultobj = PyInt_FromLong((long)result);
24542 return resultobj;
24543 fail:
24544 return NULL;
24545 }
24546
24547
24548 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24549 PyObject *resultobj;
24550 wxPyControl *arg1 = (wxPyControl *) 0 ;
24551 bool result;
24552 PyObject * obj0 = 0 ;
24553 char *kwnames[] = {
24554 (char *) "self", NULL
24555 };
24556
24557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24559 {
24560 PyThreadState* __tstate = wxPyBeginAllowThreads();
24561 result = (bool)(arg1)->base_Validate();
24562
24563 wxPyEndAllowThreads(__tstate);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 }
24566 resultobj = PyInt_FromLong((long)result);
24567 return resultobj;
24568 fail:
24569 return NULL;
24570 }
24571
24572
24573 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24574 PyObject *resultobj;
24575 wxPyControl *arg1 = (wxPyControl *) 0 ;
24576 bool result;
24577 PyObject * obj0 = 0 ;
24578 char *kwnames[] = {
24579 (char *) "self", NULL
24580 };
24581
24582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24584 {
24585 PyThreadState* __tstate = wxPyBeginAllowThreads();
24586 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24587
24588 wxPyEndAllowThreads(__tstate);
24589 if (PyErr_Occurred()) SWIG_fail;
24590 }
24591 resultobj = PyInt_FromLong((long)result);
24592 return resultobj;
24593 fail:
24594 return NULL;
24595 }
24596
24597
24598 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24599 PyObject *resultobj;
24600 wxPyControl *arg1 = (wxPyControl *) 0 ;
24601 bool result;
24602 PyObject * obj0 = 0 ;
24603 char *kwnames[] = {
24604 (char *) "self", NULL
24605 };
24606
24607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24609 {
24610 PyThreadState* __tstate = wxPyBeginAllowThreads();
24611 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24612
24613 wxPyEndAllowThreads(__tstate);
24614 if (PyErr_Occurred()) SWIG_fail;
24615 }
24616 resultobj = PyInt_FromLong((long)result);
24617 return resultobj;
24618 fail:
24619 return NULL;
24620 }
24621
24622
24623 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24624 PyObject *resultobj;
24625 wxPyControl *arg1 = (wxPyControl *) 0 ;
24626 wxSize result;
24627 PyObject * obj0 = 0 ;
24628 char *kwnames[] = {
24629 (char *) "self", NULL
24630 };
24631
24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24634 {
24635 PyThreadState* __tstate = wxPyBeginAllowThreads();
24636 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24637
24638 wxPyEndAllowThreads(__tstate);
24639 if (PyErr_Occurred()) SWIG_fail;
24640 }
24641 {
24642 wxSize * resultptr;
24643 resultptr = new wxSize((wxSize &) result);
24644 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24645 }
24646 return resultobj;
24647 fail:
24648 return NULL;
24649 }
24650
24651
24652 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24653 PyObject *resultobj;
24654 wxPyControl *arg1 = (wxPyControl *) 0 ;
24655 wxWindow *arg2 = (wxWindow *) 0 ;
24656 PyObject * obj0 = 0 ;
24657 PyObject * obj1 = 0 ;
24658 char *kwnames[] = {
24659 (char *) "self",(char *) "child", NULL
24660 };
24661
24662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24664 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24665 {
24666 PyThreadState* __tstate = wxPyBeginAllowThreads();
24667 (arg1)->base_AddChild(arg2);
24668
24669 wxPyEndAllowThreads(__tstate);
24670 if (PyErr_Occurred()) SWIG_fail;
24671 }
24672 Py_INCREF(Py_None); resultobj = Py_None;
24673 return resultobj;
24674 fail:
24675 return NULL;
24676 }
24677
24678
24679 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24680 PyObject *resultobj;
24681 wxPyControl *arg1 = (wxPyControl *) 0 ;
24682 wxWindow *arg2 = (wxWindow *) 0 ;
24683 PyObject * obj0 = 0 ;
24684 PyObject * obj1 = 0 ;
24685 char *kwnames[] = {
24686 (char *) "self",(char *) "child", NULL
24687 };
24688
24689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24692 {
24693 PyThreadState* __tstate = wxPyBeginAllowThreads();
24694 (arg1)->base_RemoveChild(arg2);
24695
24696 wxPyEndAllowThreads(__tstate);
24697 if (PyErr_Occurred()) SWIG_fail;
24698 }
24699 Py_INCREF(Py_None); resultobj = Py_None;
24700 return resultobj;
24701 fail:
24702 return NULL;
24703 }
24704
24705
24706 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24707 PyObject *obj;
24708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24709 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24710 Py_INCREF(obj);
24711 return Py_BuildValue((char *)"");
24712 }
24713 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24714 PyObject *resultobj;
24715 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24716 int arg2 = (int) 0 ;
24717 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24718 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24719 wxHelpEvent *result;
24720 wxPoint temp3 ;
24721 PyObject * obj2 = 0 ;
24722 char *kwnames[] = {
24723 (char *) "type",(char *) "winid",(char *) "pt", NULL
24724 };
24725
24726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24727 if (obj2) {
24728 {
24729 arg3 = &temp3;
24730 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24731 }
24732 }
24733 {
24734 PyThreadState* __tstate = wxPyBeginAllowThreads();
24735 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24736
24737 wxPyEndAllowThreads(__tstate);
24738 if (PyErr_Occurred()) SWIG_fail;
24739 }
24740 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24741 return resultobj;
24742 fail:
24743 return NULL;
24744 }
24745
24746
24747 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24748 PyObject *resultobj;
24749 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24750 wxPoint *result;
24751 PyObject * obj0 = 0 ;
24752 char *kwnames[] = {
24753 (char *) "self", NULL
24754 };
24755
24756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24758 {
24759 PyThreadState* __tstate = wxPyBeginAllowThreads();
24760 {
24761 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24762 result = (wxPoint *) &_result_ref;
24763 }
24764
24765 wxPyEndAllowThreads(__tstate);
24766 if (PyErr_Occurred()) SWIG_fail;
24767 }
24768 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24769 return resultobj;
24770 fail:
24771 return NULL;
24772 }
24773
24774
24775 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24776 PyObject *resultobj;
24777 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24778 wxPoint *arg2 = 0 ;
24779 wxPoint temp2 ;
24780 PyObject * obj0 = 0 ;
24781 PyObject * obj1 = 0 ;
24782 char *kwnames[] = {
24783 (char *) "self",(char *) "pos", NULL
24784 };
24785
24786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24788 {
24789 arg2 = &temp2;
24790 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24791 }
24792 {
24793 PyThreadState* __tstate = wxPyBeginAllowThreads();
24794 (arg1)->SetPosition((wxPoint const &)*arg2);
24795
24796 wxPyEndAllowThreads(__tstate);
24797 if (PyErr_Occurred()) SWIG_fail;
24798 }
24799 Py_INCREF(Py_None); resultobj = Py_None;
24800 return resultobj;
24801 fail:
24802 return NULL;
24803 }
24804
24805
24806 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24807 PyObject *resultobj;
24808 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24809 wxString *result;
24810 PyObject * obj0 = 0 ;
24811 char *kwnames[] = {
24812 (char *) "self", NULL
24813 };
24814
24815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 {
24820 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24821 result = (wxString *) &_result_ref;
24822 }
24823
24824 wxPyEndAllowThreads(__tstate);
24825 if (PyErr_Occurred()) SWIG_fail;
24826 }
24827 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24828 return resultobj;
24829 fail:
24830 return NULL;
24831 }
24832
24833
24834 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24835 PyObject *resultobj;
24836 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24837 wxString *arg2 = 0 ;
24838 bool temp2 = False ;
24839 PyObject * obj0 = 0 ;
24840 PyObject * obj1 = 0 ;
24841 char *kwnames[] = {
24842 (char *) "self",(char *) "link", NULL
24843 };
24844
24845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24847 {
24848 arg2 = wxString_in_helper(obj1);
24849 if (arg2 == NULL) SWIG_fail;
24850 temp2 = True;
24851 }
24852 {
24853 PyThreadState* __tstate = wxPyBeginAllowThreads();
24854 (arg1)->SetLink((wxString const &)*arg2);
24855
24856 wxPyEndAllowThreads(__tstate);
24857 if (PyErr_Occurred()) SWIG_fail;
24858 }
24859 Py_INCREF(Py_None); resultobj = Py_None;
24860 {
24861 if (temp2)
24862 delete arg2;
24863 }
24864 return resultobj;
24865 fail:
24866 {
24867 if (temp2)
24868 delete arg2;
24869 }
24870 return NULL;
24871 }
24872
24873
24874 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24875 PyObject *resultobj;
24876 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24877 wxString *result;
24878 PyObject * obj0 = 0 ;
24879 char *kwnames[] = {
24880 (char *) "self", NULL
24881 };
24882
24883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24885 {
24886 PyThreadState* __tstate = wxPyBeginAllowThreads();
24887 {
24888 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24889 result = (wxString *) &_result_ref;
24890 }
24891
24892 wxPyEndAllowThreads(__tstate);
24893 if (PyErr_Occurred()) SWIG_fail;
24894 }
24895 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24896 return resultobj;
24897 fail:
24898 return NULL;
24899 }
24900
24901
24902 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24903 PyObject *resultobj;
24904 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24905 wxString *arg2 = 0 ;
24906 bool temp2 = False ;
24907 PyObject * obj0 = 0 ;
24908 PyObject * obj1 = 0 ;
24909 char *kwnames[] = {
24910 (char *) "self",(char *) "target", NULL
24911 };
24912
24913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24915 {
24916 arg2 = wxString_in_helper(obj1);
24917 if (arg2 == NULL) SWIG_fail;
24918 temp2 = True;
24919 }
24920 {
24921 PyThreadState* __tstate = wxPyBeginAllowThreads();
24922 (arg1)->SetTarget((wxString const &)*arg2);
24923
24924 wxPyEndAllowThreads(__tstate);
24925 if (PyErr_Occurred()) SWIG_fail;
24926 }
24927 Py_INCREF(Py_None); resultobj = Py_None;
24928 {
24929 if (temp2)
24930 delete arg2;
24931 }
24932 return resultobj;
24933 fail:
24934 {
24935 if (temp2)
24936 delete arg2;
24937 }
24938 return NULL;
24939 }
24940
24941
24942 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24943 PyObject *obj;
24944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24945 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
24946 Py_INCREF(obj);
24947 return Py_BuildValue((char *)"");
24948 }
24949 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24950 PyObject *resultobj;
24951 wxWindow *arg1 = (wxWindow *) NULL ;
24952 bool arg2 = (bool) True ;
24953 wxContextHelp *result;
24954 PyObject * obj0 = 0 ;
24955 PyObject * obj1 = 0 ;
24956 char *kwnames[] = {
24957 (char *) "window",(char *) "doNow", NULL
24958 };
24959
24960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
24961 if (obj0) {
24962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24963 }
24964 if (obj1) {
24965 arg2 = PyInt_AsLong(obj1) ? true : false;
24966 if (PyErr_Occurred()) SWIG_fail;
24967 }
24968 {
24969 PyThreadState* __tstate = wxPyBeginAllowThreads();
24970 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
24971
24972 wxPyEndAllowThreads(__tstate);
24973 if (PyErr_Occurred()) SWIG_fail;
24974 }
24975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
24976 return resultobj;
24977 fail:
24978 return NULL;
24979 }
24980
24981
24982 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24983 PyObject *resultobj;
24984 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24985 PyObject * obj0 = 0 ;
24986 char *kwnames[] = {
24987 (char *) "self", NULL
24988 };
24989
24990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
24991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24992 {
24993 PyThreadState* __tstate = wxPyBeginAllowThreads();
24994 delete arg1;
24995
24996 wxPyEndAllowThreads(__tstate);
24997 if (PyErr_Occurred()) SWIG_fail;
24998 }
24999 Py_INCREF(Py_None); resultobj = Py_None;
25000 return resultobj;
25001 fail:
25002 return NULL;
25003 }
25004
25005
25006 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25007 PyObject *resultobj;
25008 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25009 wxWindow *arg2 = (wxWindow *) NULL ;
25010 bool result;
25011 PyObject * obj0 = 0 ;
25012 PyObject * obj1 = 0 ;
25013 char *kwnames[] = {
25014 (char *) "self",(char *) "window", NULL
25015 };
25016
25017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25019 if (obj1) {
25020 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25021 }
25022 {
25023 PyThreadState* __tstate = wxPyBeginAllowThreads();
25024 result = (bool)(arg1)->BeginContextHelp(arg2);
25025
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 resultobj = PyInt_FromLong((long)result);
25030 return resultobj;
25031 fail:
25032 return NULL;
25033 }
25034
25035
25036 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25037 PyObject *resultobj;
25038 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25039 bool result;
25040 PyObject * obj0 = 0 ;
25041 char *kwnames[] = {
25042 (char *) "self", NULL
25043 };
25044
25045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25047 {
25048 PyThreadState* __tstate = wxPyBeginAllowThreads();
25049 result = (bool)(arg1)->EndContextHelp();
25050
25051 wxPyEndAllowThreads(__tstate);
25052 if (PyErr_Occurred()) SWIG_fail;
25053 }
25054 resultobj = PyInt_FromLong((long)result);
25055 return resultobj;
25056 fail:
25057 return NULL;
25058 }
25059
25060
25061 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25062 PyObject *obj;
25063 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25064 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25065 Py_INCREF(obj);
25066 return Py_BuildValue((char *)"");
25067 }
25068 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25069 PyObject *resultobj;
25070 wxWindow *arg1 = (wxWindow *) 0 ;
25071 int arg2 = (int) wxID_CONTEXT_HELP ;
25072 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25073 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25074 wxSize const &arg4_defvalue = wxDefaultSize ;
25075 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25076 long arg5 = (long) wxBU_AUTODRAW ;
25077 wxContextHelpButton *result;
25078 wxPoint temp3 ;
25079 wxSize temp4 ;
25080 PyObject * obj0 = 0 ;
25081 PyObject * obj2 = 0 ;
25082 PyObject * obj3 = 0 ;
25083 char *kwnames[] = {
25084 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25085 };
25086
25087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25089 if (obj2) {
25090 {
25091 arg3 = &temp3;
25092 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25093 }
25094 }
25095 if (obj3) {
25096 {
25097 arg4 = &temp4;
25098 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25099 }
25100 }
25101 {
25102 PyThreadState* __tstate = wxPyBeginAllowThreads();
25103 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25104
25105 wxPyEndAllowThreads(__tstate);
25106 if (PyErr_Occurred()) SWIG_fail;
25107 }
25108 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25109 return resultobj;
25110 fail:
25111 return NULL;
25112 }
25113
25114
25115 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25116 PyObject *obj;
25117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25118 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25119 Py_INCREF(obj);
25120 return Py_BuildValue((char *)"");
25121 }
25122 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25123 PyObject *resultobj;
25124 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25125 wxHelpProvider *result;
25126 PyObject * obj0 = 0 ;
25127 char *kwnames[] = {
25128 (char *) "helpProvider", NULL
25129 };
25130
25131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25133 {
25134 PyThreadState* __tstate = wxPyBeginAllowThreads();
25135 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25136
25137 wxPyEndAllowThreads(__tstate);
25138 if (PyErr_Occurred()) SWIG_fail;
25139 }
25140 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25141 return resultobj;
25142 fail:
25143 return NULL;
25144 }
25145
25146
25147 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25148 PyObject *resultobj;
25149 wxHelpProvider *result;
25150 char *kwnames[] = {
25151 NULL
25152 };
25153
25154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25155 {
25156 PyThreadState* __tstate = wxPyBeginAllowThreads();
25157 result = (wxHelpProvider *)wxHelpProvider::Get();
25158
25159 wxPyEndAllowThreads(__tstate);
25160 if (PyErr_Occurred()) SWIG_fail;
25161 }
25162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25163 return resultobj;
25164 fail:
25165 return NULL;
25166 }
25167
25168
25169 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25170 PyObject *resultobj;
25171 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25172 wxWindow *arg2 = (wxWindow *) 0 ;
25173 wxString result;
25174 PyObject * obj0 = 0 ;
25175 PyObject * obj1 = 0 ;
25176 char *kwnames[] = {
25177 (char *) "self",(char *) "window", NULL
25178 };
25179
25180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25182 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25183 {
25184 PyThreadState* __tstate = wxPyBeginAllowThreads();
25185 result = (arg1)->GetHelp((wxWindow const *)arg2);
25186
25187 wxPyEndAllowThreads(__tstate);
25188 if (PyErr_Occurred()) SWIG_fail;
25189 }
25190 {
25191 #if wxUSE_UNICODE
25192 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25193 #else
25194 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25195 #endif
25196 }
25197 return resultobj;
25198 fail:
25199 return NULL;
25200 }
25201
25202
25203 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25204 PyObject *resultobj;
25205 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25206 wxWindow *arg2 = (wxWindow *) 0 ;
25207 bool result;
25208 PyObject * obj0 = 0 ;
25209 PyObject * obj1 = 0 ;
25210 char *kwnames[] = {
25211 (char *) "self",(char *) "window", NULL
25212 };
25213
25214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25216 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25217 {
25218 PyThreadState* __tstate = wxPyBeginAllowThreads();
25219 result = (bool)(arg1)->ShowHelp(arg2);
25220
25221 wxPyEndAllowThreads(__tstate);
25222 if (PyErr_Occurred()) SWIG_fail;
25223 }
25224 resultobj = PyInt_FromLong((long)result);
25225 return resultobj;
25226 fail:
25227 return NULL;
25228 }
25229
25230
25231 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25232 PyObject *resultobj;
25233 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25234 wxWindow *arg2 = (wxWindow *) 0 ;
25235 wxString *arg3 = 0 ;
25236 bool temp3 = False ;
25237 PyObject * obj0 = 0 ;
25238 PyObject * obj1 = 0 ;
25239 PyObject * obj2 = 0 ;
25240 char *kwnames[] = {
25241 (char *) "self",(char *) "window",(char *) "text", NULL
25242 };
25243
25244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25246 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25247 {
25248 arg3 = wxString_in_helper(obj2);
25249 if (arg3 == NULL) SWIG_fail;
25250 temp3 = True;
25251 }
25252 {
25253 PyThreadState* __tstate = wxPyBeginAllowThreads();
25254 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25255
25256 wxPyEndAllowThreads(__tstate);
25257 if (PyErr_Occurred()) SWIG_fail;
25258 }
25259 Py_INCREF(Py_None); resultobj = Py_None;
25260 {
25261 if (temp3)
25262 delete arg3;
25263 }
25264 return resultobj;
25265 fail:
25266 {
25267 if (temp3)
25268 delete arg3;
25269 }
25270 return NULL;
25271 }
25272
25273
25274 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25275 PyObject *resultobj;
25276 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25277 int arg2 ;
25278 wxString *arg3 = 0 ;
25279 bool temp3 = False ;
25280 PyObject * obj0 = 0 ;
25281 PyObject * obj2 = 0 ;
25282 char *kwnames[] = {
25283 (char *) "self",(char *) "id",(char *) "text", NULL
25284 };
25285
25286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25288 {
25289 arg3 = wxString_in_helper(obj2);
25290 if (arg3 == NULL) SWIG_fail;
25291 temp3 = True;
25292 }
25293 {
25294 PyThreadState* __tstate = wxPyBeginAllowThreads();
25295 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25296
25297 wxPyEndAllowThreads(__tstate);
25298 if (PyErr_Occurred()) SWIG_fail;
25299 }
25300 Py_INCREF(Py_None); resultobj = Py_None;
25301 {
25302 if (temp3)
25303 delete arg3;
25304 }
25305 return resultobj;
25306 fail:
25307 {
25308 if (temp3)
25309 delete arg3;
25310 }
25311 return NULL;
25312 }
25313
25314
25315 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25316 PyObject *resultobj;
25317 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25318 PyObject * obj0 = 0 ;
25319 char *kwnames[] = {
25320 (char *) "self", NULL
25321 };
25322
25323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25325 {
25326 PyThreadState* __tstate = wxPyBeginAllowThreads();
25327 wxHelpProvider_Destroy(arg1);
25328
25329 wxPyEndAllowThreads(__tstate);
25330 if (PyErr_Occurred()) SWIG_fail;
25331 }
25332 Py_INCREF(Py_None); resultobj = Py_None;
25333 return resultobj;
25334 fail:
25335 return NULL;
25336 }
25337
25338
25339 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25340 PyObject *obj;
25341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25342 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25343 Py_INCREF(obj);
25344 return Py_BuildValue((char *)"");
25345 }
25346 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25347 PyObject *resultobj;
25348 wxSimpleHelpProvider *result;
25349 char *kwnames[] = {
25350 NULL
25351 };
25352
25353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25354 {
25355 PyThreadState* __tstate = wxPyBeginAllowThreads();
25356 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25357
25358 wxPyEndAllowThreads(__tstate);
25359 if (PyErr_Occurred()) SWIG_fail;
25360 }
25361 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25362 return resultobj;
25363 fail:
25364 return NULL;
25365 }
25366
25367
25368 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25369 PyObject *obj;
25370 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25371 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25372 Py_INCREF(obj);
25373 return Py_BuildValue((char *)"");
25374 }
25375 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25376 PyObject *resultobj;
25377 wxBitmap *arg1 = 0 ;
25378 wxCursor const &arg2_defvalue = wxNullCursor ;
25379 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25380 wxGenericDragImage *result;
25381 PyObject * obj0 = 0 ;
25382 PyObject * obj1 = 0 ;
25383 char *kwnames[] = {
25384 (char *) "image",(char *) "cursor", NULL
25385 };
25386
25387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25389 if (arg1 == NULL) {
25390 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25391 }
25392 if (obj1) {
25393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25394 if (arg2 == NULL) {
25395 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25396 }
25397 }
25398 {
25399 PyThreadState* __tstate = wxPyBeginAllowThreads();
25400 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25401
25402 wxPyEndAllowThreads(__tstate);
25403 if (PyErr_Occurred()) SWIG_fail;
25404 }
25405 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25406 return resultobj;
25407 fail:
25408 return NULL;
25409 }
25410
25411
25412 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25413 PyObject *resultobj;
25414 wxIcon *arg1 = 0 ;
25415 wxCursor const &arg2_defvalue = wxNullCursor ;
25416 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25417 wxGenericDragImage *result;
25418 PyObject * obj0 = 0 ;
25419 PyObject * obj1 = 0 ;
25420 char *kwnames[] = {
25421 (char *) "image",(char *) "cursor", NULL
25422 };
25423
25424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25426 if (arg1 == NULL) {
25427 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25428 }
25429 if (obj1) {
25430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25431 if (arg2 == NULL) {
25432 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25433 }
25434 }
25435 {
25436 PyThreadState* __tstate = wxPyBeginAllowThreads();
25437 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25438
25439 wxPyEndAllowThreads(__tstate);
25440 if (PyErr_Occurred()) SWIG_fail;
25441 }
25442 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25443 return resultobj;
25444 fail:
25445 return NULL;
25446 }
25447
25448
25449 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25450 PyObject *resultobj;
25451 wxString *arg1 = 0 ;
25452 wxCursor const &arg2_defvalue = wxNullCursor ;
25453 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25454 wxGenericDragImage *result;
25455 bool temp1 = False ;
25456 PyObject * obj0 = 0 ;
25457 PyObject * obj1 = 0 ;
25458 char *kwnames[] = {
25459 (char *) "str",(char *) "cursor", NULL
25460 };
25461
25462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25463 {
25464 arg1 = wxString_in_helper(obj0);
25465 if (arg1 == NULL) SWIG_fail;
25466 temp1 = True;
25467 }
25468 if (obj1) {
25469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25470 if (arg2 == NULL) {
25471 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25472 }
25473 }
25474 {
25475 PyThreadState* __tstate = wxPyBeginAllowThreads();
25476 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25477
25478 wxPyEndAllowThreads(__tstate);
25479 if (PyErr_Occurred()) SWIG_fail;
25480 }
25481 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25482 {
25483 if (temp1)
25484 delete arg1;
25485 }
25486 return resultobj;
25487 fail:
25488 {
25489 if (temp1)
25490 delete arg1;
25491 }
25492 return NULL;
25493 }
25494
25495
25496 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25497 PyObject *resultobj;
25498 wxPyTreeCtrl *arg1 = 0 ;
25499 wxTreeItemId *arg2 = 0 ;
25500 wxGenericDragImage *result;
25501 PyObject * obj0 = 0 ;
25502 PyObject * obj1 = 0 ;
25503 char *kwnames[] = {
25504 (char *) "treeCtrl",(char *) "id", NULL
25505 };
25506
25507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25509 if (arg1 == NULL) {
25510 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25511 }
25512 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25513 if (arg2 == NULL) {
25514 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25515 }
25516 {
25517 PyThreadState* __tstate = wxPyBeginAllowThreads();
25518 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25519
25520 wxPyEndAllowThreads(__tstate);
25521 if (PyErr_Occurred()) SWIG_fail;
25522 }
25523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25524 return resultobj;
25525 fail:
25526 return NULL;
25527 }
25528
25529
25530 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25531 PyObject *resultobj;
25532 wxPyListCtrl *arg1 = 0 ;
25533 long arg2 ;
25534 wxGenericDragImage *result;
25535 PyObject * obj0 = 0 ;
25536 char *kwnames[] = {
25537 (char *) "listCtrl",(char *) "id", NULL
25538 };
25539
25540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25542 if (arg1 == NULL) {
25543 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25544 }
25545 {
25546 PyThreadState* __tstate = wxPyBeginAllowThreads();
25547 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25548
25549 wxPyEndAllowThreads(__tstate);
25550 if (PyErr_Occurred()) SWIG_fail;
25551 }
25552 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25553 return resultobj;
25554 fail:
25555 return NULL;
25556 }
25557
25558
25559 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25560 PyObject *resultobj;
25561 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25562 PyObject * obj0 = 0 ;
25563 char *kwnames[] = {
25564 (char *) "self", NULL
25565 };
25566
25567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25569 {
25570 PyThreadState* __tstate = wxPyBeginAllowThreads();
25571 delete arg1;
25572
25573 wxPyEndAllowThreads(__tstate);
25574 if (PyErr_Occurred()) SWIG_fail;
25575 }
25576 Py_INCREF(Py_None); resultobj = Py_None;
25577 return resultobj;
25578 fail:
25579 return NULL;
25580 }
25581
25582
25583 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25584 PyObject *resultobj;
25585 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25586 wxBitmap *arg2 = (wxBitmap *) 0 ;
25587 PyObject * obj0 = 0 ;
25588 PyObject * obj1 = 0 ;
25589 char *kwnames[] = {
25590 (char *) "self",(char *) "bitmap", NULL
25591 };
25592
25593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25596 {
25597 PyThreadState* __tstate = wxPyBeginAllowThreads();
25598 (arg1)->SetBackingBitmap(arg2);
25599
25600 wxPyEndAllowThreads(__tstate);
25601 if (PyErr_Occurred()) SWIG_fail;
25602 }
25603 Py_INCREF(Py_None); resultobj = Py_None;
25604 return resultobj;
25605 fail:
25606 return NULL;
25607 }
25608
25609
25610 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25611 PyObject *resultobj;
25612 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25613 wxPoint *arg2 = 0 ;
25614 wxWindow *arg3 = (wxWindow *) 0 ;
25615 bool arg4 = (bool) False ;
25616 wxRect *arg5 = (wxRect *) NULL ;
25617 bool result;
25618 wxPoint temp2 ;
25619 PyObject * obj0 = 0 ;
25620 PyObject * obj1 = 0 ;
25621 PyObject * obj2 = 0 ;
25622 PyObject * obj3 = 0 ;
25623 PyObject * obj4 = 0 ;
25624 char *kwnames[] = {
25625 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25626 };
25627
25628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25630 {
25631 arg2 = &temp2;
25632 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25633 }
25634 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25635 if (obj3) {
25636 arg4 = PyInt_AsLong(obj3) ? true : false;
25637 if (PyErr_Occurred()) SWIG_fail;
25638 }
25639 if (obj4) {
25640 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25641 }
25642 {
25643 PyThreadState* __tstate = wxPyBeginAllowThreads();
25644 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25645
25646 wxPyEndAllowThreads(__tstate);
25647 if (PyErr_Occurred()) SWIG_fail;
25648 }
25649 resultobj = PyInt_FromLong((long)result);
25650 return resultobj;
25651 fail:
25652 return NULL;
25653 }
25654
25655
25656 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25657 PyObject *resultobj;
25658 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25659 wxPoint *arg2 = 0 ;
25660 wxWindow *arg3 = (wxWindow *) 0 ;
25661 wxWindow *arg4 = (wxWindow *) 0 ;
25662 bool result;
25663 wxPoint temp2 ;
25664 PyObject * obj0 = 0 ;
25665 PyObject * obj1 = 0 ;
25666 PyObject * obj2 = 0 ;
25667 PyObject * obj3 = 0 ;
25668 char *kwnames[] = {
25669 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25670 };
25671
25672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25674 {
25675 arg2 = &temp2;
25676 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25677 }
25678 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25679 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25680 {
25681 PyThreadState* __tstate = wxPyBeginAllowThreads();
25682 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
25683
25684 wxPyEndAllowThreads(__tstate);
25685 if (PyErr_Occurred()) SWIG_fail;
25686 }
25687 resultobj = PyInt_FromLong((long)result);
25688 return resultobj;
25689 fail:
25690 return NULL;
25691 }
25692
25693
25694 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25695 PyObject *resultobj;
25696 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25697 bool result;
25698 PyObject * obj0 = 0 ;
25699 char *kwnames[] = {
25700 (char *) "self", NULL
25701 };
25702
25703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
25704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25705 {
25706 PyThreadState* __tstate = wxPyBeginAllowThreads();
25707 result = (bool)(arg1)->EndDrag();
25708
25709 wxPyEndAllowThreads(__tstate);
25710 if (PyErr_Occurred()) SWIG_fail;
25711 }
25712 resultobj = PyInt_FromLong((long)result);
25713 return resultobj;
25714 fail:
25715 return NULL;
25716 }
25717
25718
25719 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
25720 PyObject *resultobj;
25721 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25722 wxPoint *arg2 = 0 ;
25723 bool result;
25724 wxPoint temp2 ;
25725 PyObject * obj0 = 0 ;
25726 PyObject * obj1 = 0 ;
25727 char *kwnames[] = {
25728 (char *) "self",(char *) "pt", NULL
25729 };
25730
25731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
25732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25733 {
25734 arg2 = &temp2;
25735 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25736 }
25737 {
25738 PyThreadState* __tstate = wxPyBeginAllowThreads();
25739 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
25740
25741 wxPyEndAllowThreads(__tstate);
25742 if (PyErr_Occurred()) SWIG_fail;
25743 }
25744 resultobj = PyInt_FromLong((long)result);
25745 return resultobj;
25746 fail:
25747 return NULL;
25748 }
25749
25750
25751 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
25752 PyObject *resultobj;
25753 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25754 bool result;
25755 PyObject * obj0 = 0 ;
25756 char *kwnames[] = {
25757 (char *) "self", NULL
25758 };
25759
25760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
25761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25762 {
25763 PyThreadState* __tstate = wxPyBeginAllowThreads();
25764 result = (bool)(arg1)->Show();
25765
25766 wxPyEndAllowThreads(__tstate);
25767 if (PyErr_Occurred()) SWIG_fail;
25768 }
25769 resultobj = PyInt_FromLong((long)result);
25770 return resultobj;
25771 fail:
25772 return NULL;
25773 }
25774
25775
25776 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
25777 PyObject *resultobj;
25778 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25779 bool result;
25780 PyObject * obj0 = 0 ;
25781 char *kwnames[] = {
25782 (char *) "self", NULL
25783 };
25784
25785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
25786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25787 {
25788 PyThreadState* __tstate = wxPyBeginAllowThreads();
25789 result = (bool)(arg1)->Hide();
25790
25791 wxPyEndAllowThreads(__tstate);
25792 if (PyErr_Occurred()) SWIG_fail;
25793 }
25794 resultobj = PyInt_FromLong((long)result);
25795 return resultobj;
25796 fail:
25797 return NULL;
25798 }
25799
25800
25801 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25802 PyObject *resultobj;
25803 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25804 wxPoint *arg2 = 0 ;
25805 wxRect result;
25806 wxPoint temp2 ;
25807 PyObject * obj0 = 0 ;
25808 PyObject * obj1 = 0 ;
25809 char *kwnames[] = {
25810 (char *) "self",(char *) "pos", NULL
25811 };
25812
25813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
25814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25815 {
25816 arg2 = &temp2;
25817 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25818 }
25819 {
25820 PyThreadState* __tstate = wxPyBeginAllowThreads();
25821 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
25822
25823 wxPyEndAllowThreads(__tstate);
25824 if (PyErr_Occurred()) SWIG_fail;
25825 }
25826 {
25827 wxRect * resultptr;
25828 resultptr = new wxRect((wxRect &) result);
25829 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
25830 }
25831 return resultobj;
25832 fail:
25833 return NULL;
25834 }
25835
25836
25837 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25838 PyObject *resultobj;
25839 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25840 wxDC *arg2 = 0 ;
25841 wxPoint *arg3 = 0 ;
25842 bool result;
25843 wxPoint temp3 ;
25844 PyObject * obj0 = 0 ;
25845 PyObject * obj1 = 0 ;
25846 PyObject * obj2 = 0 ;
25847 char *kwnames[] = {
25848 (char *) "self",(char *) "dc",(char *) "pos", NULL
25849 };
25850
25851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25853 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25854 if (arg2 == NULL) {
25855 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25856 }
25857 {
25858 arg3 = &temp3;
25859 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25860 }
25861 {
25862 PyThreadState* __tstate = wxPyBeginAllowThreads();
25863 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
25864
25865 wxPyEndAllowThreads(__tstate);
25866 if (PyErr_Occurred()) SWIG_fail;
25867 }
25868 resultobj = PyInt_FromLong((long)result);
25869 return resultobj;
25870 fail:
25871 return NULL;
25872 }
25873
25874
25875 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25876 PyObject *resultobj;
25877 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25878 wxDC *arg2 = 0 ;
25879 wxMemoryDC *arg3 = 0 ;
25880 wxRect *arg4 = 0 ;
25881 wxRect *arg5 = 0 ;
25882 bool result;
25883 wxRect temp4 ;
25884 wxRect temp5 ;
25885 PyObject * obj0 = 0 ;
25886 PyObject * obj1 = 0 ;
25887 PyObject * obj2 = 0 ;
25888 PyObject * obj3 = 0 ;
25889 PyObject * obj4 = 0 ;
25890 char *kwnames[] = {
25891 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25892 };
25893
25894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25896 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25897 if (arg2 == NULL) {
25898 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25899 }
25900 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25901 if (arg3 == NULL) {
25902 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25903 }
25904 {
25905 arg4 = &temp4;
25906 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
25907 }
25908 {
25909 arg5 = &temp5;
25910 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
25911 }
25912 {
25913 PyThreadState* __tstate = wxPyBeginAllowThreads();
25914 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
25915
25916 wxPyEndAllowThreads(__tstate);
25917 if (PyErr_Occurred()) SWIG_fail;
25918 }
25919 resultobj = PyInt_FromLong((long)result);
25920 return resultobj;
25921 fail:
25922 return NULL;
25923 }
25924
25925
25926 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25927 PyObject *resultobj;
25928 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25929 wxPoint *arg2 = 0 ;
25930 wxPoint *arg3 = 0 ;
25931 bool arg4 ;
25932 bool arg5 ;
25933 bool result;
25934 wxPoint temp2 ;
25935 wxPoint temp3 ;
25936 PyObject * obj0 = 0 ;
25937 PyObject * obj1 = 0 ;
25938 PyObject * obj2 = 0 ;
25939 PyObject * obj3 = 0 ;
25940 PyObject * obj4 = 0 ;
25941 char *kwnames[] = {
25942 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25943 };
25944
25945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25947 {
25948 arg2 = &temp2;
25949 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25950 }
25951 {
25952 arg3 = &temp3;
25953 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25954 }
25955 arg4 = PyInt_AsLong(obj3) ? true : false;
25956 if (PyErr_Occurred()) SWIG_fail;
25957 arg5 = PyInt_AsLong(obj4) ? true : false;
25958 if (PyErr_Occurred()) SWIG_fail;
25959 {
25960 PyThreadState* __tstate = wxPyBeginAllowThreads();
25961 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
25962
25963 wxPyEndAllowThreads(__tstate);
25964 if (PyErr_Occurred()) SWIG_fail;
25965 }
25966 resultobj = PyInt_FromLong((long)result);
25967 return resultobj;
25968 fail:
25969 return NULL;
25970 }
25971
25972
25973 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
25974 PyObject *obj;
25975 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25976 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
25977 Py_INCREF(obj);
25978 return Py_BuildValue((char *)"");
25979 }
25980 static PyMethodDef SwigMethods[] = {
25981 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
25982 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
25983 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
25984 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
25985 { (char *)"Button_SetImageLabel", (PyCFunction) _wrap_Button_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
25986 { (char *)"Button_SetImageMargins", (PyCFunction) _wrap_Button_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
25987 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25988 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
25989 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
25990 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
25991 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
25992 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25993 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25994 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25995 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25996 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25997 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25998 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25999 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26000 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26001 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26002 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26003 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26004 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26005 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26006 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26007 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26008 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26009 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26010 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26012 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26013 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26014 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26015 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26020 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26024 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26025 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26029 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26034 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26035 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26036 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26041 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26043 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26049 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26053 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26054 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26058 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26062 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26064 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26068 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26075 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26077 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26084 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26091 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26094 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26103 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26104 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26130 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26132 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26158 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26169 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26187 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26192 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26203 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26215 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26226 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26243 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26249 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26274 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26275 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26281 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26301 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26307 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
26316 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26317 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26319 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26324 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26326 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26331 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26336 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26343 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26345 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26366 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26370 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26408 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26413 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26425 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26447 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26477 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26504 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26574 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26586 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26594 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26601 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26616 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26690 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26712 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26717 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26738 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26746 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26751 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26753 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26761 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
26763 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
26781 { NULL, NULL }
26782 };
26783
26784
26785 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26786
26787 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26788 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26789 }
26790 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26791 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26792 }
26793 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26794 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26795 }
26796 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26797 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26798 }
26799 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26800 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26801 }
26802 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26803 return (void *)((wxSizer *) ((wxGridSizer *) x));
26804 }
26805 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26806 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26807 }
26808 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26809 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26810 }
26811 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26812 return (void *)((wxSizer *) ((wxPySizer *) x));
26813 }
26814 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26815 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26816 }
26817 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26818 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26819 }
26820 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26821 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26822 }
26823 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26824 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26825 }
26826 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26827 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26828 }
26829 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26830 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26831 }
26832 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26833 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26834 }
26835 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26836 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26837 }
26838 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26839 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26840 }
26841 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26842 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26843 }
26844 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26845 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26846 }
26847 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26848 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26849 }
26850 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26851 return (void *)((wxEvent *) ((wxPyEvent *) x));
26852 }
26853 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26854 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26855 }
26856 static void *_p_wxListEventTo_p_wxEvent(void *x) {
26857 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26858 }
26859 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26860 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26861 }
26862 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26863 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26864 }
26865 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26866 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26867 }
26868 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26869 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26870 }
26871 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26872 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26873 }
26874 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26875 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26876 }
26877 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26878 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26879 }
26880 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26881 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26882 }
26883 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26884 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26885 }
26886 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26887 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26888 }
26889 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26890 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26891 }
26892 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26893 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26894 }
26895 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26896 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26897 }
26898 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26899 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26900 }
26901 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26902 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26903 }
26904 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26905 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26906 }
26907 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26908 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26909 }
26910 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26911 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26912 }
26913 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26914 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26915 }
26916 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26917 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26918 }
26919 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26920 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26921 }
26922 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26923 return (void *)((wxEvent *) ((wxShowEvent *) x));
26924 }
26925 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26926 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26927 }
26928 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26929 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26930 }
26931 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26932 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26933 }
26934 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26935 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26936 }
26937 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26938 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26939 }
26940 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26941 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26942 }
26943 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
26944 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
26945 }
26946 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
26947 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26948 }
26949 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
26950 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
26951 }
26952 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
26953 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
26954 }
26955 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
26956 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
26957 }
26958 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
26959 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26960 }
26961 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
26962 return (void *)((wxPyListCtrl *) ((wxListView *) x));
26963 }
26964 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
26965 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26966 }
26967 static void *_p_wxListBoxTo_p_wxControl(void *x) {
26968 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
26969 }
26970 static void *_p_wxChoiceTo_p_wxControl(void *x) {
26971 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
26972 }
26973 static void *_p_wxToolBarTo_p_wxControl(void *x) {
26974 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
26975 }
26976 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
26977 return (void *)((wxControl *) ((wxStaticBitmap *) x));
26978 }
26979 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
26980 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
26981 }
26982 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
26983 return (void *)((wxControl *) ((wxSpinCtrl *) x));
26984 }
26985 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
26986 return (void *)((wxControl *) ((wxStaticBox *) x));
26987 }
26988 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
26989 return (void *)((wxControl *) ((wxPyListCtrl *) x));
26990 }
26991 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
26992 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
26993 }
26994 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
26995 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26996 }
26997 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
26998 return (void *)((wxControl *) ((wxScrollBar *) x));
26999 }
27000 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27001 return (void *)((wxControl *) ((wxBookCtrl *) x));
27002 }
27003 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27004 return (void *)((wxControl *) ((wxRadioButton *) x));
27005 }
27006 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27007 return (void *)((wxControl *) ((wxToggleButton *) x));
27008 }
27009 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27010 return (void *)((wxControl *) ((wxGauge *) x));
27011 }
27012 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27013 return (void *)((wxControl *) ((wxToolBarBase *) x));
27014 }
27015 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27016 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27017 }
27018 static void *_p_wxButtonTo_p_wxControl(void *x) {
27019 return (void *)((wxControl *) ((wxButton *) x));
27020 }
27021 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27022 return (void *)((wxControl *) ((wxSpinButton *) x));
27023 }
27024 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27025 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27026 }
27027 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27028 return (void *)((wxControl *) ((wxControlWithItems *) x));
27029 }
27030 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27031 return (void *)((wxControl *) ((wxRadioBox *) x));
27032 }
27033 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27034 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27035 }
27036 static void *_p_wxListbookTo_p_wxControl(void *x) {
27037 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27038 }
27039 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27040 return (void *)((wxControl *) ((wxCheckBox *) x));
27041 }
27042 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27043 return (void *)((wxControl *) ((wxTextCtrl *) x));
27044 }
27045 static void *_p_wxListViewTo_p_wxControl(void *x) {
27046 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27047 }
27048 static void *_p_wxSliderTo_p_wxControl(void *x) {
27049 return (void *)((wxControl *) ((wxSlider *) x));
27050 }
27051 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
27052 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
27053 }
27054 static void *_p_wxPyControlTo_p_wxControl(void *x) {
27055 return (void *)((wxControl *) ((wxPyControl *) x));
27056 }
27057 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27058 return (void *)((wxControl *) ((wxStaticLine *) x));
27059 }
27060 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27061 return (void *)((wxControl *) ((wxStaticText *) x));
27062 }
27063 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27064 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27065 }
27066 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
27067 return (void *)((wxChoice *) ((wxComboBox *) x));
27068 }
27069 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27070 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27071 }
27072 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27073 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27074 }
27075 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27076 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27077 }
27078 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27079 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27080 }
27081 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27082 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27083 }
27084 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27085 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27086 }
27087 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27088 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27089 }
27090 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27091 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27092 }
27093 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27094 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27095 }
27096 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27097 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27098 }
27099 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27100 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27101 }
27102 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27103 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27104 }
27105 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27106 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27107 }
27108 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27109 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27110 }
27111 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27112 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27113 }
27114 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27115 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27116 }
27117 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27118 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27119 }
27120 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27121 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27122 }
27123 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27124 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27125 }
27126 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27127 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27128 }
27129 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27130 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27131 }
27132 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27133 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27134 }
27135 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27136 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27137 }
27138 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27139 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27140 }
27141 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27142 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27143 }
27144 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27145 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27146 }
27147 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27148 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27149 }
27150 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27151 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27152 }
27153 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27154 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27155 }
27156 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27157 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27158 }
27159 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27160 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27161 }
27162 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27163 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27164 }
27165 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27166 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27167 }
27168 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27169 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27170 }
27171 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27172 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27173 }
27174 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27175 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27176 }
27177 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27178 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27179 }
27180 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27181 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27182 }
27183 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27184 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27185 }
27186 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27187 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27188 }
27189 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27190 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27191 }
27192 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27193 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27194 }
27195 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27196 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27197 }
27198 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27199 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27200 }
27201 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27202 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27203 }
27204 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27205 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27206 }
27207 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27208 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27209 }
27210 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27211 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27212 }
27213 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27214 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27215 }
27216 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27217 return (void *)((wxButton *) ((wxBitmapButton *) x));
27218 }
27219 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27220 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27221 }
27222 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27223 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27224 }
27225 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27226 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27227 }
27228 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27229 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27230 }
27231 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27232 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27233 }
27234 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27235 return (void *)((wxObject *) ((wxSizerItem *) x));
27236 }
27237 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27238 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27239 }
27240 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27241 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27242 }
27243 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27244 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27245 }
27246 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27247 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27248 }
27249 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27250 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27251 }
27252 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27253 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27254 }
27255 static void *_p_wxSizerTo_p_wxObject(void *x) {
27256 return (void *)((wxObject *) ((wxSizer *) x));
27257 }
27258 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27259 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27260 }
27261 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27262 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27263 }
27264 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27265 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27266 }
27267 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27268 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27269 }
27270 static void *_p_wxEventTo_p_wxObject(void *x) {
27271 return (void *)((wxObject *) ((wxEvent *) x));
27272 }
27273 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27274 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27275 }
27276 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27277 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27278 }
27279 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27280 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27281 }
27282 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27283 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27284 }
27285 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27286 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27287 }
27288 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27289 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27290 }
27291 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27292 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27293 }
27294 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27295 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27296 }
27297 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27298 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27299 }
27300 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27301 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27302 }
27303 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27304 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27305 }
27306 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27307 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27308 }
27309 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27310 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27311 }
27312 static void *_p_wxControlTo_p_wxObject(void *x) {
27313 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27314 }
27315 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27316 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27317 }
27318 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27319 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27320 }
27321 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27323 }
27324 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27326 }
27327 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27328 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27329 }
27330 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27331 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27332 }
27333 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27334 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27335 }
27336 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27337 return (void *)((wxObject *) ((wxFSFile *) x));
27338 }
27339 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27340 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27341 }
27342 static void *_p_wxListViewTo_p_wxObject(void *x) {
27343 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27344 }
27345 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27346 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27347 }
27348 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27349 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27350 }
27351 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27352 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27353 }
27354 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27355 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27356 }
27357 static void *_p_wxListbookTo_p_wxObject(void *x) {
27358 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27359 }
27360 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27361 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27362 }
27363 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27364 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27365 }
27366 static void *_p_wxSliderTo_p_wxObject(void *x) {
27367 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27368 }
27369 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27370 return (void *)((wxObject *) ((wxMenuItem *) x));
27371 }
27372 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27373 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27374 }
27375 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27376 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27377 }
27378 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27379 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27380 }
27381 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27382 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27383 }
27384 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27385 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27386 }
27387 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27388 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27389 }
27390 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27391 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27392 }
27393 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27394 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27395 }
27396 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27397 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27398 }
27399 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27400 return (void *)((wxObject *) ((wxContextHelp *) x));
27401 }
27402 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27403 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27404 }
27405 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27406 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27407 }
27408 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27409 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27410 }
27411 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27412 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27413 }
27414 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27415 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27416 }
27417 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27418 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27419 }
27420 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27421 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27422 }
27423 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27424 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27425 }
27426 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27427 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27428 }
27429 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27430 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27431 }
27432 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27433 return (void *)((wxObject *) ((wxImageHandler *) x));
27434 }
27435 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27436 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27437 }
27438 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27439 return (void *)((wxObject *) ((wxEvtHandler *) x));
27440 }
27441 static void *_p_wxListEventTo_p_wxObject(void *x) {
27442 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27443 }
27444 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27445 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27446 }
27447 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27448 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27449 }
27450 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27452 }
27453 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27454 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27455 }
27456 static void *_p_wxButtonTo_p_wxObject(void *x) {
27457 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27458 }
27459 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27461 }
27462 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27463 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27464 }
27465 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27466 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27467 }
27468 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27469 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27470 }
27471 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27472 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27473 }
27474 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27475 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27476 }
27477 static void *_p_wxListItemTo_p_wxObject(void *x) {
27478 return (void *)((wxObject *) ((wxListItem *) x));
27479 }
27480 static void *_p_wxImageTo_p_wxObject(void *x) {
27481 return (void *)((wxObject *) ((wxImage *) x));
27482 }
27483 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27484 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27485 }
27486 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27487 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27488 }
27489 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27490 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27491 }
27492 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27493 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27494 }
27495 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27496 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27497 }
27498 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27499 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27500 }
27501 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27502 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27503 }
27504 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27505 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27506 }
27507 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27508 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27509 }
27510 static void *_p_wxWindowTo_p_wxObject(void *x) {
27511 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27512 }
27513 static void *_p_wxMenuTo_p_wxObject(void *x) {
27514 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27515 }
27516 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27517 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27518 }
27519 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27520 return (void *)((wxObject *) ((wxFileSystem *) x));
27521 }
27522 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27523 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27524 }
27525 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27526 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27527 }
27528 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27529 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27530 }
27531 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27532 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27533 }
27534 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27535 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27536 }
27537 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27538 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27539 }
27540 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27541 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27542 }
27543 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27544 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27545 }
27546 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27547 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27548 }
27549 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27550 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27551 }
27552 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27553 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27554 }
27555 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27556 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27557 }
27558 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27559 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27560 }
27561 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27562 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27563 }
27564 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27565 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27566 }
27567 static void *_p_wxToolBarTo_p_wxObject(void *x) {
27568 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27569 }
27570 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27571 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27572 }
27573 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27574 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27575 }
27576 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27577 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27578 }
27579 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27580 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27581 }
27582 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27583 return (void *)((wxWindow *) ((wxMenuBar *) x));
27584 }
27585 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27586 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27587 }
27588 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27589 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27590 }
27591 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27592 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27593 }
27594 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27595 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27596 }
27597 static void *_p_wxControlTo_p_wxWindow(void *x) {
27598 return (void *)((wxWindow *) ((wxControl *) x));
27599 }
27600 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27601 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27602 }
27603 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27604 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27605 }
27606 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27607 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27608 }
27609 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27610 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27611 }
27612 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27613 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27614 }
27615 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27616 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27617 }
27618 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27619 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27620 }
27621 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27622 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27623 }
27624 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27625 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27626 }
27627 static void *_p_wxListbookTo_p_wxWindow(void *x) {
27628 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27629 }
27630 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27631 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27632 }
27633 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27634 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27635 }
27636 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27637 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27638 }
27639 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27640 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27641 }
27642 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27643 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27644 }
27645 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27646 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27647 }
27648 static void *_p_wxListViewTo_p_wxWindow(void *x) {
27649 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27650 }
27651 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27652 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27653 }
27654 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27655 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27656 }
27657 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27658 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27659 }
27660 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27661 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27662 }
27663 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27664 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27665 }
27666 static void *_p_wxSliderTo_p_wxWindow(void *x) {
27667 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27668 }
27669 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27670 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27671 }
27672 static void *_p_wxButtonTo_p_wxWindow(void *x) {
27673 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27674 }
27675 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27676 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27677 }
27678 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27679 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27680 }
27681 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27682 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27683 }
27684 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27685 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27686 }
27687 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27688 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27689 }
27690 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27691 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27692 }
27693 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27694 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27695 }
27696 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27697 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27698 }
27699 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27700 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27701 }
27702 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27703 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27704 }
27705 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27706 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27707 }
27708 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27709 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27710 }
27711 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27712 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27713 }
27714 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27715 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27716 }
27717 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27718 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27719 }
27720 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27721 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27722 }
27723 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27724 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27725 }
27726 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27727 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27728 }
27729 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
27730 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
27731 }
27732 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27733 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27734 }
27735 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27736 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27737 }
27738 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27739 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27740 }
27741 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27742 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27743 }
27744 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27745 return (void *)((wxValidator *) ((wxPyValidator *) x));
27746 }
27747 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27748 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}};
27749 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}};
27750 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27751 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27752 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27753 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27754 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}};
27755 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27756 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27757 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27758 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}};
27759 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27760 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27761 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27762 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}};
27763 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27764 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27765 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27766 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27767 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27768 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27769 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
27770 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27771 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27772 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27773 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27774 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27775 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27776 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27777 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27778 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27779 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}};
27780 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27781 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27782 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27783 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27784 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27785 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27786 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27787 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27788 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}};
27789 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27790 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27791 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27792 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}};
27793 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27794 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}};
27795 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27796 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27797 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27798 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27799 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27800 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27801 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27802 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27803 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27804 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27805 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27806 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27807 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27808 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27809 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27810 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27811 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27812 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27813 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27814 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
27815 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27816 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27817 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}};
27818 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27819 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27820 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27821 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27822 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}};
27823 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27824 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems},{"_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}};
27825 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27826 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27827 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27828 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27829 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27830
27831 static swig_type_info *swig_types_initial[] = {
27832 _swigt__p_wxTextUrlEvent,
27833 _swigt__p_wxBookCtrlEvent,
27834 _swigt__p_wxSizer,
27835 _swigt__p_wxTreeItemIdValue,
27836 _swigt__wxTreeItemIdValue,
27837 _swigt__p_wxCheckBox,
27838 _swigt__p_wxPyTreeCtrl,
27839 _swigt__p_wxEvent,
27840 _swigt__p_wxGenericDirCtrl,
27841 _swigt__p_bool,
27842 _swigt__p_wxPyTreeItemData,
27843 _swigt__p_wxItemContainer,
27844 _swigt__p_wxDirFilterListCtrl,
27845 _swigt__p_wxPyListCtrl,
27846 _swigt__p_wxStaticLine,
27847 _swigt__p_wxControl,
27848 _swigt__p_wxPyControl,
27849 _swigt__p_wxGauge,
27850 _swigt__p_wxToolBarBase,
27851 _swigt__p_wxFont,
27852 _swigt__p_wxToggleButton,
27853 _swigt__p_wxRadioButton,
27854 _swigt__p_wxChoice,
27855 _swigt__p_wxMemoryDC,
27856 _swigt__p_wxListItemAttr,
27857 _swigt__p_int,
27858 _swigt__p_wxSize,
27859 _swigt__p_wxDC,
27860 _swigt__p_wxListView,
27861 _swigt__p_wxIcon,
27862 _swigt__p_wxTextCtrl,
27863 _swigt__p_wxNotebook,
27864 _swigt__p_wxNotifyEvent,
27865 _swigt__p_wxArrayString,
27866 _swigt__p_wxListbook,
27867 _swigt__p_wxStaticBitmap,
27868 _swigt__p_wxSlider,
27869 _swigt__p_wxStaticBox,
27870 _swigt__p_wxArrayInt,
27871 _swigt__p_wxContextHelp,
27872 _swigt__p_long,
27873 _swigt__p_wxEvtHandler,
27874 _swigt__p_wxListEvent,
27875 _swigt__p_wxListBox,
27876 _swigt__p_wxCheckListBox,
27877 _swigt__p_wxBookCtrl,
27878 _swigt__p_wxSpinButton,
27879 _swigt__p_wxButton,
27880 _swigt__p_wxBitmapButton,
27881 _swigt__p_wxRect,
27882 _swigt__p_wxContextHelpButton,
27883 _swigt__p_wxRadioBox,
27884 _swigt__p_wxScrollBar,
27885 _swigt__p_wxTreeItemId,
27886 _swigt__p_wxComboBox,
27887 _swigt__p_wxHelpEvent,
27888 _swigt__p_wxListItem,
27889 _swigt__p_wxNotebookSizer,
27890 _swigt__p_wxGenericDragImage,
27891 _swigt__p_wxSpinCtrl,
27892 _swigt__p_wxImageList,
27893 _swigt__p_wxHelpProvider,
27894 _swigt__p_wxTextAttr,
27895 _swigt__p_wxSimpleHelpProvider,
27896 _swigt__p_wxPoint,
27897 _swigt__p_wxListbookEvent,
27898 _swigt__p_wxNotebookEvent,
27899 _swigt__p_wxObject,
27900 _swigt__p_wxCursor,
27901 _swigt__p_wxKeyEvent,
27902 _swigt__p_wxWindow,
27903 _swigt__p_wxString,
27904 _swigt__p_wxBitmap,
27905 _swigt__p_wxTreeEvent,
27906 _swigt__p_wxMouseEvent,
27907 _swigt__p_wxCommandEvent,
27908 _swigt__p_wxStaticText,
27909 _swigt__p_wxControlWithItems,
27910 _swigt__p_wxToolBarToolBase,
27911 _swigt__p_wxColour,
27912 _swigt__p_wxToolBar,
27913 _swigt__p_wxBookCtrlSizer,
27914 _swigt__p_wxValidator,
27915 0
27916 };
27917
27918
27919 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27920
27921 static swig_const_info swig_const_table[] = {
27922 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
27923 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
27924 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
27925 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
27926 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
27927 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
27928 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
27929 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
27930 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
27931 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
27932 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
27933 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
27934 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
27935 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
27936 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
27937 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
27938 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
27939 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
27940 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
27941 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
27942 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
27943 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
27944 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
27945 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
27946 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
27947 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
27948 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
27949 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
27950 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
27951 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
27952 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
27953 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
27954 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
27955 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
27956 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
27957 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
27958 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
27959 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
27960 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
27961 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
27962 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
27963 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
27964 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
27965 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
27966 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
27967 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
27968 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
27969 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
27970 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
27971 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
27972 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
27973 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
27974 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
27975 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
27976 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
27977 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
27978 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
27979 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
27980 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
27981 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
27982 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
27983 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
27984 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
27985 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
27986 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
27987 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
27988 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
27989 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
27990 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
27991 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
27992 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
27993 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
27994 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
27995 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
27996 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
27997 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
27998 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
27999 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28000 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28001 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28002 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28003 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28004 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28005 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28006 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28007 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28008 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28009 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28010 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28011 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28012 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28013 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28014 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28015 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28016 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28017 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28018 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28019 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28020 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28021 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28022 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28023 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28024 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28025 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28026 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28027 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28028 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28029 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28030 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28031 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28032 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28033 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28034 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28035 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28036 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28037 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28038 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
28039 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
28040 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
28041 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
28042 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
28043 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
28044 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
28045 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
28046 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
28047 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
28048 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
28049 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
28050 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
28051 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
28052 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
28053 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
28054 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
28055 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
28056 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
28057 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
28058 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
28059 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28060 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28061 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28062 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28063 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28064 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28065 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28066 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28067 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28068 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28069 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28070 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28071 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28072 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28073 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28074 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28075 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28076 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28077 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28078 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28079 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28080 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28081 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28082 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28083 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28084 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28085 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28086 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28087 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28088 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28089 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28090 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28091 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28092 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28093 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28094 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28095 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28096 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28097 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28098 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28099 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28100 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28101 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28102 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28103 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28104 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28105 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28106 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28107 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28108 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28109 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28110 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28111 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28112 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28113 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28114 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28115 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28116 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28117 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28118 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28119 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28120 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28121 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28122 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28123 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28124 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28125 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28126 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28127 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28128 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28129 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28130 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28131 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28132 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28133 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28134 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28135 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28136 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28137 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28138 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28139 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28140 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28141 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28142 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28143 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28144 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28145 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28146 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28147 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28148 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28149 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28150 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28151 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28152 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28153 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28154 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28155 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28156 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28157 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28158 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28159 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28160 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28161 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28162 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28163 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28164 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28165 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28166 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28167 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28168 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28169 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28170 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28171 {0}};
28172
28173 #ifdef __cplusplus
28174 }
28175 #endif
28176
28177 #ifdef __cplusplus
28178 extern "C"
28179 #endif
28180 SWIGEXPORT(void) SWIG_init(void) {
28181 static PyObject *SWIG_globals = 0;
28182 static int typeinit = 0;
28183 PyObject *m, *d;
28184 int i;
28185 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28186 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28187 d = PyModule_GetDict(m);
28188
28189 if (!typeinit) {
28190 for (i = 0; swig_types_initial[i]; i++) {
28191 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28192 }
28193 typeinit = 1;
28194 }
28195 SWIG_InstallConstants(d,swig_const_table);
28196
28197 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28198 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28199 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28200 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28201 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28202 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28203 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28204 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28205 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28206 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28207 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28208 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28209 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28210 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28211 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28212 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28213 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28214 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28215 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28216 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28217 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28218 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28219 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28220 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28221 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28222 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28223 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28224 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28225 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28226 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28227 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28228 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28229
28230 // Map renamed classes back to their common name for OOR
28231 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28232
28233 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28234 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28235 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28236 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28237 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28238 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28239 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28240 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28241 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28242 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28243 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28244 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28245 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28246 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28247 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28248 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28249 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28250 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28251 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28252
28253 // Map renamed classes back to their common name for OOR
28254 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28255 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28256
28257 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28258 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28259
28260 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28261
28262 }
28263