]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/controls_wrap.cpp
reSWIGged
[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 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51 /***********************************************************************
52 * common.swg for wxPython
53 *
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
57 * anyway.
58 *
59 ************************************************************************/
60
61 #include <string.h>
62
63 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64 # if defined(_MSC_VER) || defined(__GNUC__)
65 # if defined(STATIC_LINKED)
66 # define SWIGEXPORT(a) a
67 # define SWIGIMPORT(a) extern a
68 # else
69 # define SWIGEXPORT(a) __declspec(dllexport) a
70 # define SWIGIMPORT(a) extern a
71 # endif
72 # else
73 # if defined(__BORLANDC__)
74 # define SWIGEXPORT(a) a _export
75 # define SWIGIMPORT(a) a _export
76 # else
77 # define SWIGEXPORT(a) a
78 # define SWIGIMPORT(a) a
79 # endif
80 # endif
81 #else
82 # define SWIGEXPORT(a) a
83 # define SWIGIMPORT(a) a
84 #endif
85
86 #ifdef SWIG_GLOBAL
87 # define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #else
89 # define SWIGRUNTIME(a) static a
90 #endif
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 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
119
120
121 #ifdef __cplusplus
122 }
123
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
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_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
212 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
213 #define SWIGTYPE_p_wxSizer swig_types[2]
214 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
215 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
216 #define SWIGTYPE_p_wxCheckBox swig_types[5]
217 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
218 #define SWIGTYPE_p_wxEvent swig_types[7]
219 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
220 #define SWIGTYPE_p_bool swig_types[9]
221 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
222 #define SWIGTYPE_p_wxItemContainer swig_types[11]
223 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
224 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
225 #define SWIGTYPE_p_wxStaticLine swig_types[14]
226 #define SWIGTYPE_p_wxControl swig_types[15]
227 #define SWIGTYPE_p_wxPyControl swig_types[16]
228 #define SWIGTYPE_p_wxGauge swig_types[17]
229 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
230 #define SWIGTYPE_p_wxFont swig_types[19]
231 #define SWIGTYPE_p_wxToggleButton swig_types[20]
232 #define SWIGTYPE_p_wxRadioButton swig_types[21]
233 #define SWIGTYPE_p_wxChoice swig_types[22]
234 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
235 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
236 #define SWIGTYPE_p_int swig_types[25]
237 #define SWIGTYPE_p_wxSize swig_types[26]
238 #define SWIGTYPE_p_wxDC swig_types[27]
239 #define SWIGTYPE_p_wxListView swig_types[28]
240 #define SWIGTYPE_p_wxIcon swig_types[29]
241 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
242 #define SWIGTYPE_p_wxNotebook swig_types[31]
243 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
244 #define SWIGTYPE_p_wxArrayString swig_types[33]
245 #define SWIGTYPE_p_wxListbook swig_types[34]
246 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
247 #define SWIGTYPE_p_wxSlider swig_types[36]
248 #define SWIGTYPE_p_wxStaticBox swig_types[37]
249 #define SWIGTYPE_p_wxArrayInt swig_types[38]
250 #define SWIGTYPE_p_wxContextHelp swig_types[39]
251 #define SWIGTYPE_p_long swig_types[40]
252 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
253 #define SWIGTYPE_p_wxListEvent swig_types[42]
254 #define SWIGTYPE_p_wxListBox swig_types[43]
255 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
256 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
257 #define SWIGTYPE_p_wxSpinButton swig_types[46]
258 #define SWIGTYPE_p_wxButton swig_types[47]
259 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
260 #define SWIGTYPE_p_wxRect swig_types[49]
261 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
262 #define SWIGTYPE_p_wxRadioBox swig_types[51]
263 #define SWIGTYPE_p_wxScrollBar swig_types[52]
264 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
265 #define SWIGTYPE_p_wxComboBox swig_types[54]
266 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
267 #define SWIGTYPE_p_wxListItem swig_types[56]
268 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
271 #define SWIGTYPE_p_wxImageList swig_types[60]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
273 #define SWIGTYPE_p_wxTextAttr swig_types[62]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
275 #define SWIGTYPE_p_wxPoint swig_types[64]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
278 #define SWIGTYPE_p_wxObject swig_types[67]
279 #define SWIGTYPE_p_wxCursor swig_types[68]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
281 #define SWIGTYPE_p_wxWindow swig_types[70]
282 #define SWIGTYPE_p_wxString swig_types[71]
283 #define SWIGTYPE_p_wxBitmap swig_types[72]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
287 #define SWIGTYPE_p_wxStaticText swig_types[76]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
290 #define SWIGTYPE_p_wxColour swig_types[79]
291 #define SWIGTYPE_p_wxToolBar swig_types[80]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
293 #define SWIGTYPE_p_wxValidator swig_types[82]
294 static swig_type_info *swig_types[84];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _controls.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls
303
304 #define SWIG_name "_controls"
305
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
308
309 DECLARE_DEF_STRING(PanelNameStr);
310 DECLARE_DEF_STRING(EmptyString);
311 DECLARE_DEF_STRING(ControlNameStr);
312
313
314
315 DECLARE_DEF_STRING(ButtonNameStr);
316
317
318 DECLARE_DEF_STRING(CheckBoxNameStr);
319
320
321 DECLARE_DEF_STRING(ChoiceNameStr);
322
323
324 DECLARE_DEF_STRING(ComboBoxNameStr);
325
326
327 DECLARE_DEF_STRING(GaugeNameStr);
328
329
330 DECLARE_DEF_STRING(StaticBitmapNameStr);
331 DECLARE_DEF_STRING(StaticBoxNameStr);
332 DECLARE_DEF_STRING(StaticTextNameStr);
333
334
335 #include <wx/checklst.h>
336
337 DECLARE_DEF_STRING(ListBoxNameStr);
338
339 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
340 if (clientData) {
341 wxPyClientData* data = new wxPyClientData(clientData);
342 self->Insert(item, pos, data);
343 } else
344 self->Insert(item, pos);
345 }
346 PyObject *wxListBox_GetSelections(wxListBox *self){
347 wxArrayInt lst;
348 self->GetSelections(lst);
349 PyObject *tup = PyTuple_New(lst.GetCount());
350 for(size_t i=0; i<lst.GetCount(); i++) {
351 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
352 }
353 return tup;
354 }
355
356 DECLARE_DEF_STRING(TextCtrlNameStr);
357
358
359 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
360 PyObject* o2;
361 PyObject* o3;
362
363 if (!target) {
364 target = o;
365 } else if (target == Py_None) {
366 Py_DECREF(Py_None);
367 target = o;
368 } else {
369 if (!PyTuple_Check(target)) {
370 o2 = target;
371 target = PyTuple_New(1);
372 PyTuple_SetItem(target, 0, o2);
373 }
374 o3 = PyTuple_New(1);
375 PyTuple_SetItem(o3, 0, o);
376
377 o2 = target;
378 target = PySequence_Concat(o2, o3);
379 Py_DECREF(o2);
380 Py_DECREF(o3);
381 }
382 return target;
383 }
384
385 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
386 self->AppendText(text);
387 }
388 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
389 return self->GetValue().Mid(from, to - from);
390 }
391
392 DECLARE_DEF_STRING(ScrollBarNameStr);
393
394
395 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
396 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
397 DECLARE_DEF_STRING(SpinCtrlNameStr);
398
399
400 DECLARE_DEF_STRING(RadioBoxNameStr);
401 DECLARE_DEF_STRING(RadioButtonNameStr);
402
403
404 #include <wx/slider.h>
405
406 DECLARE_DEF_STRING(SliderNameStr);
407
408
409 wxChar* wxToggleButtonNameStr = _T("wxToggleButton");
410 DECLARE_DEF_STRING(ToggleButtonNameStr);
411
412
413 #ifdef __WXMAC__
414 // implement dummy classes and such for wxMac
415
416 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
417
418 class wxToggleButton : public wxControl
419 {
420 public:
421 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
422 const wxPoint&, const wxSize&, long,
423 const wxValidator&, const wxString&)
424 { PyErr_SetNone(PyExc_NotImplementedError); }
425
426 wxToggleButton()
427 { PyErr_SetNone(PyExc_NotImplementedError); }
428 };
429 #endif
430
431
432 DECLARE_DEF_STRING(NOTEBOOK_NAME);
433
434
435 DECLARE_DEF_STRING(ToolBarNameStr);
436
437 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
438 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
439 if (udata) {
440 Py_INCREF(udata->m_obj);
441 return udata->m_obj;
442 } else {
443 Py_INCREF(Py_None);
444 return Py_None;
445 }
446 }
447 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
448 self->SetClientData(new wxPyUserData(clientData));
449 }
450 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){
451 wxPyUserData* udata = NULL;
452 if (clientData && clientData != Py_None)
453 udata = new wxPyUserData(clientData);
454 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
455 shortHelp, longHelp, udata);
456 }
457 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){
458 wxPyUserData* udata = NULL;
459 if (clientData && clientData != Py_None)
460 udata = new wxPyUserData(clientData);
461 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
462 shortHelp, longHelp, udata);
463 }
464 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
465 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
466 if (udata) {
467 Py_INCREF(udata->m_obj);
468 return udata->m_obj;
469 } else {
470 Py_INCREF(Py_None);
471 return Py_None;
472 }
473 }
474 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
475 self->SetToolClientData(id, new wxPyUserData(clientData));
476 }
477
478 #include <wx/listctrl.h>
479
480 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
481 DECLARE_DEF_STRING(ListCtrlNameStr);
482
483 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
484 // Python aware sorting function for wxPyListCtrl
485 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
486 int retval = 0;
487 PyObject* func = (PyObject*)funcPtr;
488 wxPyBeginBlockThreads();
489
490 PyObject* args = Py_BuildValue("(ii)", item1, item2);
491 PyObject* result = PyEval_CallObject(func, args);
492 Py_DECREF(args);
493 if (result) {
494 retval = PyInt_AsLong(result);
495 Py_DECREF(result);
496 }
497
498 wxPyEndBlockThreads();
499 return retval;
500 }
501
502 // C++ Version of a Python aware class
503 class wxPyListCtrl : public wxListCtrl {
504 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
505 public:
506 wxPyListCtrl() : wxListCtrl() {}
507 wxPyListCtrl(wxWindow* parent, wxWindowID id,
508 const wxPoint& pos,
509 const wxSize& size,
510 long style,
511 const wxValidator& validator,
512 const wxString& name) :
513 wxListCtrl(parent, id, pos, size, style, validator, name) {}
514
515 bool Create(wxWindow* parent, wxWindowID id,
516 const wxPoint& pos,
517 const wxSize& size,
518 long style,
519 const wxValidator& validator,
520 const wxString& name) {
521 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
522 }
523
524 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
525 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
526 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
527
528 PYPRIVATE;
529 };
530
531 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
532
533 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
534 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
535 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
536
537 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
538 wxListItem item;
539 item.SetMask( wxLIST_MASK_STATE |
540 wxLIST_MASK_TEXT |
541 wxLIST_MASK_IMAGE |
542 wxLIST_MASK_DATA |
543 wxLIST_SET_ITEM |
544 wxLIST_MASK_WIDTH |
545 wxLIST_MASK_FORMAT
546 );
547 if (self->GetColumn(col, item))
548 return new wxListItem(item);
549 else
550 return NULL;
551 }
552 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
553 wxListItem* info = new wxListItem;
554 info->m_itemId = itemId;
555 info->m_col = col;
556 info->m_mask = 0xFFFF;
557 self->GetItem(*info);
558 return info;
559 }
560 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
561 wxPoint pos;
562 self->GetItemPosition(item, pos);
563 return pos;
564 }
565 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
566 wxRect rect;
567 self->GetItemRect(item, rect, code);
568 return rect;
569 }
570 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
571 if (!PyCallable_Check(func))
572 return False;
573 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
574 }
575 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
576
577 return self;
578
579
580
581 }
582
583 #include <wx/treectrl.h>
584 #include "wx/wxPython/pytree.h"
585
586 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
587 DECLARE_DEF_STRING(_TreeCtrlNameStr);
588
589 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
590 if (!other) return False;
591 return *self == *other;
592 }
593 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
594 if (!other) return True;
595 return *self != *other;
596 }
597 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
598 // C++ version of Python aware wxTreeCtrl
599 class wxPyTreeCtrl : public wxTreeCtrl {
600 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
601 public:
602 wxPyTreeCtrl() : wxTreeCtrl() {}
603 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
604 const wxPoint& pos,
605 const wxSize& size,
606 long style,
607 const wxValidator& validator,
608 const wxString& name) :
609 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
610
611 bool Create(wxWindow *parent, wxWindowID id,
612 const wxPoint& pos,
613 const wxSize& size,
614 long style,
615 const wxValidator& validator,
616 const wxString& name) {
617 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
618 }
619
620
621 int OnCompareItems(const wxTreeItemId& item1,
622 const wxTreeItemId& item2) {
623 int rval = 0;
624 bool found;
625 wxPyBeginBlockThreads();
626 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
627 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
628 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
629 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
630 Py_DECREF(o1);
631 Py_DECREF(o2);
632 }
633 wxPyEndBlockThreads();
634 if (! found)
635 rval = wxTreeCtrl::OnCompareItems(item1, item2);
636 return rval;
637 }
638 PYPRIVATE;
639 };
640
641 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
642
643
644 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
645 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
646 if (data == NULL) {
647 data = new wxPyTreeItemData();
648 data->SetId(item); // set the id
649 self->SetItemData(item, data);
650 }
651 return data;
652 }
653 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
654 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
655 if (data == NULL) {
656 data = new wxPyTreeItemData();
657 data->SetId(item); // set the id
658 self->SetItemData(item, data);
659 }
660 return data->GetData();
661 }
662 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
663 data->SetId(item); // set the id
664 self->SetItemData(item, data);
665 }
666 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
667 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
668 if (data == NULL) {
669 data = new wxPyTreeItemData(obj);
670 data->SetId(item); // set the id
671 self->SetItemData(item, data);
672 } else
673 data->SetData(obj);
674 }
675 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
676 wxPyBeginBlockThreads();
677 PyObject* rval = PyList_New(0);
678 wxArrayTreeItemIds array;
679 size_t num, x;
680 num = self->GetSelections(array);
681 for (x=0; x < num; x++) {
682 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
683 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
684 PyList_Append(rval, item);
685 }
686 wxPyEndBlockThreads();
687 return rval;
688 }
689 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
690 wxTreeItemIdValue cookie = 0;
691 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
692 wxPyBeginBlockThreads();
693 PyObject* tup = PyTuple_New(2);
694 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
695 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
696 wxPyEndBlockThreads();
697 return tup;
698 }
699 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
700 wxTreeItemId ritem = self->GetNextChild(item, cookie);
701 wxPyBeginBlockThreads();
702 PyObject* tup = PyTuple_New(2);
703 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
704 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
705 wxPyEndBlockThreads();
706 return tup;
707 }
708 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
709 wxRect rect;
710 if (self->GetBoundingRect(item, rect, textOnly)) {
711 wxPyBeginBlockThreads();
712 wxRect* r = new wxRect(rect);
713 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
714 wxPyEndBlockThreads();
715 return val;
716 }
717 else
718 RETURN_NONE();
719 }
720
721 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
722
723 // C++ version of Python aware wxControl
724 class wxPyControl : public wxControl
725 {
726 DECLARE_DYNAMIC_CLASS(wxPyControl)
727 public:
728 wxPyControl() : wxControl() {}
729 wxPyControl(wxWindow* parent, const wxWindowID id,
730 const wxPoint& pos = wxDefaultPosition,
731 const wxSize& size = wxDefaultSize,
732 long style = 0,
733 const wxValidator& validator=wxDefaultValidator,
734 const wxString& name = wxPyControlNameStr)
735 : wxControl(parent, id, pos, size, style, validator, name) {}
736
737
738 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
739 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
740 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
741 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
742
743 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
744 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
745 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
746
747 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
748 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
749
750 DEC_PYCALLBACK__(InitDialog);
751 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
752 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
753 DEC_PYCALLBACK_BOOL_(Validate);
754
755 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
756 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
757 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
758
759 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
760 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
761
762 PYPRIVATE;
763 };
764
765 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
766
767 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
768 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
769 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
770 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
771
772 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
773 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
774 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
775
776 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
777 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
778
779 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
780 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
781 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
782 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
783
784 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
785 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
786 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
787
788 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
789 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
790
791
792
793
794 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
795
796 #include <wx/generic/dragimgg.h>
797
798 #ifdef __cplusplus
799 extern "C" {
800 #endif
801 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
802 PyObject *resultobj;
803 wxWindow *arg1 = (wxWindow *) 0 ;
804 int arg2 ;
805 wxString *arg3 = 0 ;
806 wxPoint const &arg4_defvalue = wxDefaultPosition ;
807 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
808 wxSize const &arg5_defvalue = wxDefaultSize ;
809 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
810 long arg6 = (long) 0 ;
811 wxValidator const &arg7_defvalue = wxDefaultValidator ;
812 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
813 wxString const &arg8_defvalue = wxPyButtonNameStr ;
814 wxString *arg8 = (wxString *) &arg8_defvalue ;
815 wxButton *result;
816 bool temp3 = False ;
817 wxPoint temp4 ;
818 wxSize temp5 ;
819 bool temp8 = False ;
820 PyObject * obj0 = 0 ;
821 PyObject * obj2 = 0 ;
822 PyObject * obj3 = 0 ;
823 PyObject * obj4 = 0 ;
824 PyObject * obj6 = 0 ;
825 PyObject * obj7 = 0 ;
826 char *kwnames[] = {
827 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
828 };
829
830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
832 {
833 arg3 = wxString_in_helper(obj2);
834 if (arg3 == NULL) SWIG_fail;
835 temp3 = True;
836 }
837 if (obj3) {
838 {
839 arg4 = &temp4;
840 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
841 }
842 }
843 if (obj4) {
844 {
845 arg5 = &temp5;
846 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
847 }
848 }
849 if (obj6) {
850 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
851 if (arg7 == NULL) {
852 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
853 }
854 }
855 if (obj7) {
856 {
857 arg8 = wxString_in_helper(obj7);
858 if (arg8 == NULL) SWIG_fail;
859 temp8 = True;
860 }
861 }
862 {
863 PyThreadState* __tstate = wxPyBeginAllowThreads();
864 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
865
866 wxPyEndAllowThreads(__tstate);
867 if (PyErr_Occurred()) SWIG_fail;
868 }
869 {
870 resultobj = wxPyMake_wxObject(result);
871 }
872 {
873 if (temp3)
874 delete arg3;
875 }
876 {
877 if (temp8)
878 delete arg8;
879 }
880 return resultobj;
881 fail:
882 {
883 if (temp3)
884 delete arg3;
885 }
886 {
887 if (temp8)
888 delete arg8;
889 }
890 return NULL;
891 }
892
893
894 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
895 PyObject *resultobj;
896 wxButton *result;
897 char *kwnames[] = {
898 NULL
899 };
900
901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
902 {
903 PyThreadState* __tstate = wxPyBeginAllowThreads();
904 result = (wxButton *)new wxButton();
905
906 wxPyEndAllowThreads(__tstate);
907 if (PyErr_Occurred()) SWIG_fail;
908 }
909 {
910 resultobj = wxPyMake_wxObject(result);
911 }
912 return resultobj;
913 fail:
914 return NULL;
915 }
916
917
918 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
919 PyObject *resultobj;
920 wxButton *arg1 = (wxButton *) 0 ;
921 wxWindow *arg2 = (wxWindow *) 0 ;
922 int arg3 ;
923 wxString *arg4 = 0 ;
924 wxPoint const &arg5_defvalue = wxDefaultPosition ;
925 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
926 wxSize const &arg6_defvalue = wxDefaultSize ;
927 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
928 long arg7 = (long) 0 ;
929 wxValidator const &arg8_defvalue = wxDefaultValidator ;
930 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
931 wxString const &arg9_defvalue = wxPyButtonNameStr ;
932 wxString *arg9 = (wxString *) &arg9_defvalue ;
933 bool result;
934 bool temp4 = False ;
935 wxPoint temp5 ;
936 wxSize temp6 ;
937 bool temp9 = False ;
938 PyObject * obj0 = 0 ;
939 PyObject * obj1 = 0 ;
940 PyObject * obj3 = 0 ;
941 PyObject * obj4 = 0 ;
942 PyObject * obj5 = 0 ;
943 PyObject * obj7 = 0 ;
944 PyObject * obj8 = 0 ;
945 char *kwnames[] = {
946 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
947 };
948
949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
951 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
952 {
953 arg4 = wxString_in_helper(obj3);
954 if (arg4 == NULL) SWIG_fail;
955 temp4 = True;
956 }
957 if (obj4) {
958 {
959 arg5 = &temp5;
960 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
961 }
962 }
963 if (obj5) {
964 {
965 arg6 = &temp6;
966 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
967 }
968 }
969 if (obj7) {
970 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
971 if (arg8 == NULL) {
972 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
973 }
974 }
975 if (obj8) {
976 {
977 arg9 = wxString_in_helper(obj8);
978 if (arg9 == NULL) SWIG_fail;
979 temp9 = True;
980 }
981 }
982 {
983 PyThreadState* __tstate = wxPyBeginAllowThreads();
984 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
985
986 wxPyEndAllowThreads(__tstate);
987 if (PyErr_Occurred()) SWIG_fail;
988 }
989 resultobj = PyInt_FromLong((long)result);
990 {
991 if (temp4)
992 delete arg4;
993 }
994 {
995 if (temp9)
996 delete arg9;
997 }
998 return resultobj;
999 fail:
1000 {
1001 if (temp4)
1002 delete arg4;
1003 }
1004 {
1005 if (temp9)
1006 delete arg9;
1007 }
1008 return NULL;
1009 }
1010
1011
1012 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1013 PyObject *resultobj;
1014 wxButton *arg1 = (wxButton *) 0 ;
1015 PyObject * obj0 = 0 ;
1016 char *kwnames[] = {
1017 (char *) "self", NULL
1018 };
1019
1020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1022 {
1023 PyThreadState* __tstate = wxPyBeginAllowThreads();
1024 (arg1)->SetDefault();
1025
1026 wxPyEndAllowThreads(__tstate);
1027 if (PyErr_Occurred()) SWIG_fail;
1028 }
1029 Py_INCREF(Py_None); resultobj = Py_None;
1030 return resultobj;
1031 fail:
1032 return NULL;
1033 }
1034
1035
1036 static PyObject *_wrap_Button_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1037 PyObject *resultobj;
1038 wxButton *arg1 = (wxButton *) 0 ;
1039 wxBitmap *arg2 = 0 ;
1040 PyObject * obj0 = 0 ;
1041 PyObject * obj1 = 0 ;
1042 char *kwnames[] = {
1043 (char *) "self",(char *) "bitmap", NULL
1044 };
1045
1046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Button_SetImageLabel",kwnames,&obj0,&obj1)) goto fail;
1047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1048 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1049 if (arg2 == NULL) {
1050 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1051 }
1052 {
1053 PyThreadState* __tstate = wxPyBeginAllowThreads();
1054 (arg1)->SetImageLabel((wxBitmap const &)*arg2);
1055
1056 wxPyEndAllowThreads(__tstate);
1057 if (PyErr_Occurred()) SWIG_fail;
1058 }
1059 Py_INCREF(Py_None); resultobj = Py_None;
1060 return resultobj;
1061 fail:
1062 return NULL;
1063 }
1064
1065
1066 static PyObject *_wrap_Button_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1067 PyObject *resultobj;
1068 wxButton *arg1 = (wxButton *) 0 ;
1069 int arg2 ;
1070 int arg3 ;
1071 PyObject * obj0 = 0 ;
1072 char *kwnames[] = {
1073 (char *) "self",(char *) "x",(char *) "y", NULL
1074 };
1075
1076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Button_SetImageMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1078 {
1079 PyThreadState* __tstate = wxPyBeginAllowThreads();
1080 (arg1)->SetImageMargins(arg2,arg3);
1081
1082 wxPyEndAllowThreads(__tstate);
1083 if (PyErr_Occurred()) SWIG_fail;
1084 }
1085 Py_INCREF(Py_None); resultobj = Py_None;
1086 return resultobj;
1087 fail:
1088 return NULL;
1089 }
1090
1091
1092 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1093 PyObject *resultobj;
1094 wxSize result;
1095 char *kwnames[] = {
1096 NULL
1097 };
1098
1099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1100 {
1101 PyThreadState* __tstate = wxPyBeginAllowThreads();
1102 result = wxButton::GetDefaultSize();
1103
1104 wxPyEndAllowThreads(__tstate);
1105 if (PyErr_Occurred()) SWIG_fail;
1106 }
1107 {
1108 wxSize * resultptr;
1109 resultptr = new wxSize((wxSize &) result);
1110 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1111 }
1112 return resultobj;
1113 fail:
1114 return NULL;
1115 }
1116
1117
1118 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1119 PyObject *obj;
1120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1121 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1122 Py_INCREF(obj);
1123 return Py_BuildValue((char *)"");
1124 }
1125 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1126 PyObject *resultobj;
1127 wxWindow *arg1 = (wxWindow *) 0 ;
1128 int arg2 ;
1129 wxBitmap *arg3 = 0 ;
1130 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1131 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1132 wxSize const &arg5_defvalue = wxDefaultSize ;
1133 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1134 long arg6 = (long) wxBU_AUTODRAW ;
1135 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1136 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1137 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1138 wxString *arg8 = (wxString *) &arg8_defvalue ;
1139 wxBitmapButton *result;
1140 wxPoint temp4 ;
1141 wxSize temp5 ;
1142 bool temp8 = False ;
1143 PyObject * obj0 = 0 ;
1144 PyObject * obj2 = 0 ;
1145 PyObject * obj3 = 0 ;
1146 PyObject * obj4 = 0 ;
1147 PyObject * obj6 = 0 ;
1148 PyObject * obj7 = 0 ;
1149 char *kwnames[] = {
1150 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1151 };
1152
1153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1155 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1156 if (arg3 == NULL) {
1157 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1158 }
1159 if (obj3) {
1160 {
1161 arg4 = &temp4;
1162 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1163 }
1164 }
1165 if (obj4) {
1166 {
1167 arg5 = &temp5;
1168 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1169 }
1170 }
1171 if (obj6) {
1172 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1173 if (arg7 == NULL) {
1174 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1175 }
1176 }
1177 if (obj7) {
1178 {
1179 arg8 = wxString_in_helper(obj7);
1180 if (arg8 == NULL) SWIG_fail;
1181 temp8 = True;
1182 }
1183 }
1184 {
1185 PyThreadState* __tstate = wxPyBeginAllowThreads();
1186 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1187
1188 wxPyEndAllowThreads(__tstate);
1189 if (PyErr_Occurred()) SWIG_fail;
1190 }
1191 {
1192 resultobj = wxPyMake_wxObject(result);
1193 }
1194 {
1195 if (temp8)
1196 delete arg8;
1197 }
1198 return resultobj;
1199 fail:
1200 {
1201 if (temp8)
1202 delete arg8;
1203 }
1204 return NULL;
1205 }
1206
1207
1208 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1209 PyObject *resultobj;
1210 wxBitmapButton *result;
1211 char *kwnames[] = {
1212 NULL
1213 };
1214
1215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1216 {
1217 PyThreadState* __tstate = wxPyBeginAllowThreads();
1218 result = (wxBitmapButton *)new wxBitmapButton();
1219
1220 wxPyEndAllowThreads(__tstate);
1221 if (PyErr_Occurred()) SWIG_fail;
1222 }
1223 {
1224 resultobj = wxPyMake_wxObject(result);
1225 }
1226 return resultobj;
1227 fail:
1228 return NULL;
1229 }
1230
1231
1232 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1233 PyObject *resultobj;
1234 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1235 wxWindow *arg2 = (wxWindow *) 0 ;
1236 int arg3 ;
1237 wxBitmap *arg4 = 0 ;
1238 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1239 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1240 wxSize const &arg6_defvalue = wxDefaultSize ;
1241 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1242 long arg7 = (long) wxBU_AUTODRAW ;
1243 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1244 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1245 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1246 wxString *arg9 = (wxString *) &arg9_defvalue ;
1247 bool result;
1248 wxPoint temp5 ;
1249 wxSize temp6 ;
1250 bool temp9 = False ;
1251 PyObject * obj0 = 0 ;
1252 PyObject * obj1 = 0 ;
1253 PyObject * obj3 = 0 ;
1254 PyObject * obj4 = 0 ;
1255 PyObject * obj5 = 0 ;
1256 PyObject * obj7 = 0 ;
1257 PyObject * obj8 = 0 ;
1258 char *kwnames[] = {
1259 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1260 };
1261
1262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1265 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1266 if (arg4 == NULL) {
1267 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1268 }
1269 if (obj4) {
1270 {
1271 arg5 = &temp5;
1272 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1273 }
1274 }
1275 if (obj5) {
1276 {
1277 arg6 = &temp6;
1278 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1279 }
1280 }
1281 if (obj7) {
1282 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1283 if (arg8 == NULL) {
1284 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1285 }
1286 }
1287 if (obj8) {
1288 {
1289 arg9 = wxString_in_helper(obj8);
1290 if (arg9 == NULL) SWIG_fail;
1291 temp9 = True;
1292 }
1293 }
1294 {
1295 PyThreadState* __tstate = wxPyBeginAllowThreads();
1296 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1297
1298 wxPyEndAllowThreads(__tstate);
1299 if (PyErr_Occurred()) SWIG_fail;
1300 }
1301 resultobj = PyInt_FromLong((long)result);
1302 {
1303 if (temp9)
1304 delete arg9;
1305 }
1306 return resultobj;
1307 fail:
1308 {
1309 if (temp9)
1310 delete arg9;
1311 }
1312 return NULL;
1313 }
1314
1315
1316 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1317 PyObject *resultobj;
1318 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1319 wxBitmap result;
1320 PyObject * obj0 = 0 ;
1321 char *kwnames[] = {
1322 (char *) "self", NULL
1323 };
1324
1325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1327 {
1328 PyThreadState* __tstate = wxPyBeginAllowThreads();
1329 result = (arg1)->GetBitmapLabel();
1330
1331 wxPyEndAllowThreads(__tstate);
1332 if (PyErr_Occurred()) SWIG_fail;
1333 }
1334 {
1335 wxBitmap * resultptr;
1336 resultptr = new wxBitmap((wxBitmap &) result);
1337 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1338 }
1339 return resultobj;
1340 fail:
1341 return NULL;
1342 }
1343
1344
1345 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1346 PyObject *resultobj;
1347 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1348 wxBitmap result;
1349 PyObject * obj0 = 0 ;
1350 char *kwnames[] = {
1351 (char *) "self", NULL
1352 };
1353
1354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1356 {
1357 PyThreadState* __tstate = wxPyBeginAllowThreads();
1358 result = (arg1)->GetBitmapDisabled();
1359
1360 wxPyEndAllowThreads(__tstate);
1361 if (PyErr_Occurred()) SWIG_fail;
1362 }
1363 {
1364 wxBitmap * resultptr;
1365 resultptr = new wxBitmap((wxBitmap &) result);
1366 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1367 }
1368 return resultobj;
1369 fail:
1370 return NULL;
1371 }
1372
1373
1374 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1375 PyObject *resultobj;
1376 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1377 wxBitmap result;
1378 PyObject * obj0 = 0 ;
1379 char *kwnames[] = {
1380 (char *) "self", NULL
1381 };
1382
1383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1385 {
1386 PyThreadState* __tstate = wxPyBeginAllowThreads();
1387 result = (arg1)->GetBitmapFocus();
1388
1389 wxPyEndAllowThreads(__tstate);
1390 if (PyErr_Occurred()) SWIG_fail;
1391 }
1392 {
1393 wxBitmap * resultptr;
1394 resultptr = new wxBitmap((wxBitmap &) result);
1395 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1396 }
1397 return resultobj;
1398 fail:
1399 return NULL;
1400 }
1401
1402
1403 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1404 PyObject *resultobj;
1405 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1406 wxBitmap result;
1407 PyObject * obj0 = 0 ;
1408 char *kwnames[] = {
1409 (char *) "self", NULL
1410 };
1411
1412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1414 {
1415 PyThreadState* __tstate = wxPyBeginAllowThreads();
1416 result = (arg1)->GetBitmapSelected();
1417
1418 wxPyEndAllowThreads(__tstate);
1419 if (PyErr_Occurred()) SWIG_fail;
1420 }
1421 {
1422 wxBitmap * resultptr;
1423 resultptr = new wxBitmap((wxBitmap &) result);
1424 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1425 }
1426 return resultobj;
1427 fail:
1428 return NULL;
1429 }
1430
1431
1432 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1433 PyObject *resultobj;
1434 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1435 wxBitmap *arg2 = 0 ;
1436 PyObject * obj0 = 0 ;
1437 PyObject * obj1 = 0 ;
1438 char *kwnames[] = {
1439 (char *) "self",(char *) "bitmap", NULL
1440 };
1441
1442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1444 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1445 if (arg2 == NULL) {
1446 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1447 }
1448 {
1449 PyThreadState* __tstate = wxPyBeginAllowThreads();
1450 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1451
1452 wxPyEndAllowThreads(__tstate);
1453 if (PyErr_Occurred()) SWIG_fail;
1454 }
1455 Py_INCREF(Py_None); resultobj = Py_None;
1456 return resultobj;
1457 fail:
1458 return NULL;
1459 }
1460
1461
1462 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1463 PyObject *resultobj;
1464 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1465 wxBitmap *arg2 = 0 ;
1466 PyObject * obj0 = 0 ;
1467 PyObject * obj1 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "self",(char *) "bitmap", NULL
1470 };
1471
1472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1474 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1475 if (arg2 == NULL) {
1476 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1477 }
1478 {
1479 PyThreadState* __tstate = wxPyBeginAllowThreads();
1480 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1481
1482 wxPyEndAllowThreads(__tstate);
1483 if (PyErr_Occurred()) SWIG_fail;
1484 }
1485 Py_INCREF(Py_None); resultobj = Py_None;
1486 return resultobj;
1487 fail:
1488 return NULL;
1489 }
1490
1491
1492 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1493 PyObject *resultobj;
1494 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1495 wxBitmap *arg2 = 0 ;
1496 PyObject * obj0 = 0 ;
1497 PyObject * obj1 = 0 ;
1498 char *kwnames[] = {
1499 (char *) "self",(char *) "bitmap", NULL
1500 };
1501
1502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1504 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1505 if (arg2 == NULL) {
1506 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1507 }
1508 {
1509 PyThreadState* __tstate = wxPyBeginAllowThreads();
1510 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1511
1512 wxPyEndAllowThreads(__tstate);
1513 if (PyErr_Occurred()) SWIG_fail;
1514 }
1515 Py_INCREF(Py_None); resultobj = Py_None;
1516 return resultobj;
1517 fail:
1518 return NULL;
1519 }
1520
1521
1522 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1523 PyObject *resultobj;
1524 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1525 wxBitmap *arg2 = 0 ;
1526 PyObject * obj0 = 0 ;
1527 PyObject * obj1 = 0 ;
1528 char *kwnames[] = {
1529 (char *) "self",(char *) "bitmap", NULL
1530 };
1531
1532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1534 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1535 if (arg2 == NULL) {
1536 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1537 }
1538 {
1539 PyThreadState* __tstate = wxPyBeginAllowThreads();
1540 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1541
1542 wxPyEndAllowThreads(__tstate);
1543 if (PyErr_Occurred()) SWIG_fail;
1544 }
1545 Py_INCREF(Py_None); resultobj = Py_None;
1546 return resultobj;
1547 fail:
1548 return NULL;
1549 }
1550
1551
1552 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1553 PyObject *resultobj;
1554 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1555 int arg2 ;
1556 int arg3 ;
1557 PyObject * obj0 = 0 ;
1558 char *kwnames[] = {
1559 (char *) "self",(char *) "x",(char *) "y", NULL
1560 };
1561
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 (arg1)->SetMargins(arg2,arg3);
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 Py_INCREF(Py_None); resultobj = Py_None;
1572 return resultobj;
1573 fail:
1574 return NULL;
1575 }
1576
1577
1578 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1579 PyObject *resultobj;
1580 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1581 int result;
1582 PyObject * obj0 = 0 ;
1583 char *kwnames[] = {
1584 (char *) "self", NULL
1585 };
1586
1587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1589 {
1590 PyThreadState* __tstate = wxPyBeginAllowThreads();
1591 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1592
1593 wxPyEndAllowThreads(__tstate);
1594 if (PyErr_Occurred()) SWIG_fail;
1595 }
1596 resultobj = PyInt_FromLong((long)result);
1597 return resultobj;
1598 fail:
1599 return NULL;
1600 }
1601
1602
1603 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1604 PyObject *resultobj;
1605 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1606 int result;
1607 PyObject * obj0 = 0 ;
1608 char *kwnames[] = {
1609 (char *) "self", NULL
1610 };
1611
1612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1614 {
1615 PyThreadState* __tstate = wxPyBeginAllowThreads();
1616 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1617
1618 wxPyEndAllowThreads(__tstate);
1619 if (PyErr_Occurred()) SWIG_fail;
1620 }
1621 resultobj = PyInt_FromLong((long)result);
1622 return resultobj;
1623 fail:
1624 return NULL;
1625 }
1626
1627
1628 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1629 PyObject *obj;
1630 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1631 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1632 Py_INCREF(obj);
1633 return Py_BuildValue((char *)"");
1634 }
1635 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1636 PyObject *resultobj;
1637 wxWindow *arg1 = (wxWindow *) 0 ;
1638 int arg2 ;
1639 wxString *arg3 = 0 ;
1640 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1641 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1642 wxSize const &arg5_defvalue = wxDefaultSize ;
1643 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1644 long arg6 = (long) 0 ;
1645 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1646 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1647 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1648 wxString *arg8 = (wxString *) &arg8_defvalue ;
1649 wxCheckBox *result;
1650 bool temp3 = False ;
1651 wxPoint temp4 ;
1652 wxSize temp5 ;
1653 bool temp8 = False ;
1654 PyObject * obj0 = 0 ;
1655 PyObject * obj2 = 0 ;
1656 PyObject * obj3 = 0 ;
1657 PyObject * obj4 = 0 ;
1658 PyObject * obj6 = 0 ;
1659 PyObject * obj7 = 0 ;
1660 char *kwnames[] = {
1661 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1662 };
1663
1664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1666 {
1667 arg3 = wxString_in_helper(obj2);
1668 if (arg3 == NULL) SWIG_fail;
1669 temp3 = True;
1670 }
1671 if (obj3) {
1672 {
1673 arg4 = &temp4;
1674 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1675 }
1676 }
1677 if (obj4) {
1678 {
1679 arg5 = &temp5;
1680 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1681 }
1682 }
1683 if (obj6) {
1684 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1685 if (arg7 == NULL) {
1686 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1687 }
1688 }
1689 if (obj7) {
1690 {
1691 arg8 = wxString_in_helper(obj7);
1692 if (arg8 == NULL) SWIG_fail;
1693 temp8 = True;
1694 }
1695 }
1696 {
1697 PyThreadState* __tstate = wxPyBeginAllowThreads();
1698 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1699
1700 wxPyEndAllowThreads(__tstate);
1701 if (PyErr_Occurred()) SWIG_fail;
1702 }
1703 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1704 {
1705 if (temp3)
1706 delete arg3;
1707 }
1708 {
1709 if (temp8)
1710 delete arg8;
1711 }
1712 return resultobj;
1713 fail:
1714 {
1715 if (temp3)
1716 delete arg3;
1717 }
1718 {
1719 if (temp8)
1720 delete arg8;
1721 }
1722 return NULL;
1723 }
1724
1725
1726 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1727 PyObject *resultobj;
1728 wxCheckBox *result;
1729 char *kwnames[] = {
1730 NULL
1731 };
1732
1733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1734 {
1735 PyThreadState* __tstate = wxPyBeginAllowThreads();
1736 result = (wxCheckBox *)new wxCheckBox();
1737
1738 wxPyEndAllowThreads(__tstate);
1739 if (PyErr_Occurred()) SWIG_fail;
1740 }
1741 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1742 return resultobj;
1743 fail:
1744 return NULL;
1745 }
1746
1747
1748 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1749 PyObject *resultobj;
1750 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1751 wxWindow *arg2 = (wxWindow *) 0 ;
1752 int arg3 ;
1753 wxString *arg4 = 0 ;
1754 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1755 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1756 wxSize const &arg6_defvalue = wxDefaultSize ;
1757 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1758 long arg7 = (long) 0 ;
1759 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1760 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1761 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1762 wxString *arg9 = (wxString *) &arg9_defvalue ;
1763 bool result;
1764 bool temp4 = False ;
1765 wxPoint temp5 ;
1766 wxSize temp6 ;
1767 bool temp9 = False ;
1768 PyObject * obj0 = 0 ;
1769 PyObject * obj1 = 0 ;
1770 PyObject * obj3 = 0 ;
1771 PyObject * obj4 = 0 ;
1772 PyObject * obj5 = 0 ;
1773 PyObject * obj7 = 0 ;
1774 PyObject * obj8 = 0 ;
1775 char *kwnames[] = {
1776 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1777 };
1778
1779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1781 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1782 {
1783 arg4 = wxString_in_helper(obj3);
1784 if (arg4 == NULL) SWIG_fail;
1785 temp4 = True;
1786 }
1787 if (obj4) {
1788 {
1789 arg5 = &temp5;
1790 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1791 }
1792 }
1793 if (obj5) {
1794 {
1795 arg6 = &temp6;
1796 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1797 }
1798 }
1799 if (obj7) {
1800 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1801 if (arg8 == NULL) {
1802 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1803 }
1804 }
1805 if (obj8) {
1806 {
1807 arg9 = wxString_in_helper(obj8);
1808 if (arg9 == NULL) SWIG_fail;
1809 temp9 = True;
1810 }
1811 }
1812 {
1813 PyThreadState* __tstate = wxPyBeginAllowThreads();
1814 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1815
1816 wxPyEndAllowThreads(__tstate);
1817 if (PyErr_Occurred()) SWIG_fail;
1818 }
1819 resultobj = PyInt_FromLong((long)result);
1820 {
1821 if (temp4)
1822 delete arg4;
1823 }
1824 {
1825 if (temp9)
1826 delete arg9;
1827 }
1828 return resultobj;
1829 fail:
1830 {
1831 if (temp4)
1832 delete arg4;
1833 }
1834 {
1835 if (temp9)
1836 delete arg9;
1837 }
1838 return NULL;
1839 }
1840
1841
1842 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1843 PyObject *resultobj;
1844 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1845 bool result;
1846 PyObject * obj0 = 0 ;
1847 char *kwnames[] = {
1848 (char *) "self", NULL
1849 };
1850
1851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1853 {
1854 PyThreadState* __tstate = wxPyBeginAllowThreads();
1855 result = (bool)(arg1)->GetValue();
1856
1857 wxPyEndAllowThreads(__tstate);
1858 if (PyErr_Occurred()) SWIG_fail;
1859 }
1860 resultobj = PyInt_FromLong((long)result);
1861 return resultobj;
1862 fail:
1863 return NULL;
1864 }
1865
1866
1867 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1868 PyObject *resultobj;
1869 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1870 bool result;
1871 PyObject * obj0 = 0 ;
1872 char *kwnames[] = {
1873 (char *) "self", NULL
1874 };
1875
1876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1878 {
1879 PyThreadState* __tstate = wxPyBeginAllowThreads();
1880 result = (bool)(arg1)->IsChecked();
1881
1882 wxPyEndAllowThreads(__tstate);
1883 if (PyErr_Occurred()) SWIG_fail;
1884 }
1885 resultobj = PyInt_FromLong((long)result);
1886 return resultobj;
1887 fail:
1888 return NULL;
1889 }
1890
1891
1892 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1893 PyObject *resultobj;
1894 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1895 bool arg2 ;
1896 PyObject * obj0 = 0 ;
1897 PyObject * obj1 = 0 ;
1898 char *kwnames[] = {
1899 (char *) "self",(char *) "state", NULL
1900 };
1901
1902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1904 arg2 = PyInt_AsLong(obj1) ? true : false;
1905 if (PyErr_Occurred()) SWIG_fail;
1906 {
1907 PyThreadState* __tstate = wxPyBeginAllowThreads();
1908 (arg1)->SetValue(arg2);
1909
1910 wxPyEndAllowThreads(__tstate);
1911 if (PyErr_Occurred()) SWIG_fail;
1912 }
1913 Py_INCREF(Py_None); resultobj = Py_None;
1914 return resultobj;
1915 fail:
1916 return NULL;
1917 }
1918
1919
1920 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1921 PyObject *resultobj;
1922 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1923 int result;
1924 PyObject * obj0 = 0 ;
1925 char *kwnames[] = {
1926 (char *) "self", NULL
1927 };
1928
1929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1931 {
1932 PyThreadState* __tstate = wxPyBeginAllowThreads();
1933 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1934
1935 wxPyEndAllowThreads(__tstate);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
1938 resultobj = PyInt_FromLong((long)result);
1939 return resultobj;
1940 fail:
1941 return NULL;
1942 }
1943
1944
1945 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1946 PyObject *resultobj;
1947 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1948 int arg2 ;
1949 PyObject * obj0 = 0 ;
1950 char *kwnames[] = {
1951 (char *) "self",(char *) "state", NULL
1952 };
1953
1954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1956 {
1957 PyThreadState* __tstate = wxPyBeginAllowThreads();
1958 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1959
1960 wxPyEndAllowThreads(__tstate);
1961 if (PyErr_Occurred()) SWIG_fail;
1962 }
1963 Py_INCREF(Py_None); resultobj = Py_None;
1964 return resultobj;
1965 fail:
1966 return NULL;
1967 }
1968
1969
1970 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1971 PyObject *resultobj;
1972 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1973 bool result;
1974 PyObject * obj0 = 0 ;
1975 char *kwnames[] = {
1976 (char *) "self", NULL
1977 };
1978
1979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1981 {
1982 PyThreadState* __tstate = wxPyBeginAllowThreads();
1983 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1984
1985 wxPyEndAllowThreads(__tstate);
1986 if (PyErr_Occurred()) SWIG_fail;
1987 }
1988 resultobj = PyInt_FromLong((long)result);
1989 return resultobj;
1990 fail:
1991 return NULL;
1992 }
1993
1994
1995 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1996 PyObject *resultobj;
1997 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1998 bool result;
1999 PyObject * obj0 = 0 ;
2000 char *kwnames[] = {
2001 (char *) "self", NULL
2002 };
2003
2004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2006 {
2007 PyThreadState* __tstate = wxPyBeginAllowThreads();
2008 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2009
2010 wxPyEndAllowThreads(__tstate);
2011 if (PyErr_Occurred()) SWIG_fail;
2012 }
2013 resultobj = PyInt_FromLong((long)result);
2014 return resultobj;
2015 fail:
2016 return NULL;
2017 }
2018
2019
2020 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2021 PyObject *obj;
2022 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2023 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2024 Py_INCREF(obj);
2025 return Py_BuildValue((char *)"");
2026 }
2027 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2028 PyObject *resultobj;
2029 wxWindow *arg1 = (wxWindow *) 0 ;
2030 int arg2 ;
2031 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2032 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2033 wxSize const &arg4_defvalue = wxDefaultSize ;
2034 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2035 int arg5 = (int) 0 ;
2036 wxString *arg6 = (wxString *) NULL ;
2037 long arg7 = (long) 0 ;
2038 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2039 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2040 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2041 wxString *arg9 = (wxString *) &arg9_defvalue ;
2042 wxChoice *result;
2043 wxPoint temp3 ;
2044 wxSize temp4 ;
2045 bool temp8 = False ;
2046 PyObject * obj0 = 0 ;
2047 PyObject * obj2 = 0 ;
2048 PyObject * obj3 = 0 ;
2049 PyObject * obj4 = 0 ;
2050 PyObject * obj6 = 0 ;
2051 PyObject * obj7 = 0 ;
2052 char *kwnames[] = {
2053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2054 };
2055
2056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2058 if (obj2) {
2059 {
2060 arg3 = &temp3;
2061 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2062 }
2063 }
2064 if (obj3) {
2065 {
2066 arg4 = &temp4;
2067 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2068 }
2069 }
2070 if (obj4) {
2071 {
2072 arg5 = PyList_Size(obj4);
2073 arg6 = wxString_LIST_helper(obj4);
2074 if (arg6 == NULL) SWIG_fail;
2075 }
2076 }
2077 if (obj6) {
2078 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2079 if (arg8 == NULL) {
2080 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2081 }
2082 }
2083 if (obj7) {
2084 {
2085 arg9 = wxString_in_helper(obj7);
2086 if (arg9 == NULL) SWIG_fail;
2087 temp8 = True;
2088 }
2089 }
2090 {
2091 PyThreadState* __tstate = wxPyBeginAllowThreads();
2092 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2093
2094 wxPyEndAllowThreads(__tstate);
2095 if (PyErr_Occurred()) SWIG_fail;
2096 }
2097 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2098 {
2099 if (arg6) delete [] arg6;
2100 }
2101 {
2102 if (temp8)
2103 delete arg9;
2104 }
2105 return resultobj;
2106 fail:
2107 {
2108 if (arg6) delete [] arg6;
2109 }
2110 {
2111 if (temp8)
2112 delete arg9;
2113 }
2114 return NULL;
2115 }
2116
2117
2118 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2119 PyObject *resultobj;
2120 wxChoice *result;
2121 char *kwnames[] = {
2122 NULL
2123 };
2124
2125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2126 {
2127 PyThreadState* __tstate = wxPyBeginAllowThreads();
2128 result = (wxChoice *)new wxChoice();
2129
2130 wxPyEndAllowThreads(__tstate);
2131 if (PyErr_Occurred()) SWIG_fail;
2132 }
2133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2134 return resultobj;
2135 fail:
2136 return NULL;
2137 }
2138
2139
2140 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2141 PyObject *resultobj;
2142 wxChoice *arg1 = (wxChoice *) 0 ;
2143 wxWindow *arg2 = (wxWindow *) 0 ;
2144 int arg3 ;
2145 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2146 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2147 wxSize const &arg5_defvalue = wxDefaultSize ;
2148 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2149 int arg6 = (int) 0 ;
2150 wxString *arg7 = (wxString *) NULL ;
2151 long arg8 = (long) 0 ;
2152 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2153 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2154 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2155 wxString *arg10 = (wxString *) &arg10_defvalue ;
2156 bool result;
2157 wxPoint temp4 ;
2158 wxSize temp5 ;
2159 bool temp9 = False ;
2160 PyObject * obj0 = 0 ;
2161 PyObject * obj1 = 0 ;
2162 PyObject * obj3 = 0 ;
2163 PyObject * obj4 = 0 ;
2164 PyObject * obj5 = 0 ;
2165 PyObject * obj7 = 0 ;
2166 PyObject * obj8 = 0 ;
2167 char *kwnames[] = {
2168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2169 };
2170
2171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2173 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2174 if (obj3) {
2175 {
2176 arg4 = &temp4;
2177 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2178 }
2179 }
2180 if (obj4) {
2181 {
2182 arg5 = &temp5;
2183 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2184 }
2185 }
2186 if (obj5) {
2187 {
2188 arg6 = PyList_Size(obj5);
2189 arg7 = wxString_LIST_helper(obj5);
2190 if (arg7 == NULL) SWIG_fail;
2191 }
2192 }
2193 if (obj7) {
2194 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2195 if (arg9 == NULL) {
2196 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2197 }
2198 }
2199 if (obj8) {
2200 {
2201 arg10 = wxString_in_helper(obj8);
2202 if (arg10 == NULL) SWIG_fail;
2203 temp9 = True;
2204 }
2205 }
2206 {
2207 PyThreadState* __tstate = wxPyBeginAllowThreads();
2208 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2209
2210 wxPyEndAllowThreads(__tstate);
2211 if (PyErr_Occurred()) SWIG_fail;
2212 }
2213 resultobj = PyInt_FromLong((long)result);
2214 {
2215 if (arg7) delete [] arg7;
2216 }
2217 {
2218 if (temp9)
2219 delete arg10;
2220 }
2221 return resultobj;
2222 fail:
2223 {
2224 if (arg7) delete [] arg7;
2225 }
2226 {
2227 if (temp9)
2228 delete arg10;
2229 }
2230 return NULL;
2231 }
2232
2233
2234 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2235 PyObject *resultobj;
2236 wxChoice *arg1 = (wxChoice *) 0 ;
2237 int result;
2238 PyObject * obj0 = 0 ;
2239 char *kwnames[] = {
2240 (char *) "self", NULL
2241 };
2242
2243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2245 {
2246 PyThreadState* __tstate = wxPyBeginAllowThreads();
2247 result = (int)(arg1)->GetColumns();
2248
2249 wxPyEndAllowThreads(__tstate);
2250 if (PyErr_Occurred()) SWIG_fail;
2251 }
2252 resultobj = PyInt_FromLong((long)result);
2253 return resultobj;
2254 fail:
2255 return NULL;
2256 }
2257
2258
2259 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2260 PyObject *resultobj;
2261 wxChoice *arg1 = (wxChoice *) 0 ;
2262 int arg2 = (int) (int)1 ;
2263 PyObject * obj0 = 0 ;
2264 char *kwnames[] = {
2265 (char *) "self",(char *) "n", NULL
2266 };
2267
2268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2270 {
2271 PyThreadState* __tstate = wxPyBeginAllowThreads();
2272 (arg1)->SetColumns(arg2);
2273
2274 wxPyEndAllowThreads(__tstate);
2275 if (PyErr_Occurred()) SWIG_fail;
2276 }
2277 Py_INCREF(Py_None); resultobj = Py_None;
2278 return resultobj;
2279 fail:
2280 return NULL;
2281 }
2282
2283
2284 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2285 PyObject *resultobj;
2286 wxChoice *arg1 = (wxChoice *) 0 ;
2287 int arg2 ;
2288 PyObject * obj0 = 0 ;
2289 char *kwnames[] = {
2290 (char *) "self",(char *) "n", NULL
2291 };
2292
2293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2295 {
2296 PyThreadState* __tstate = wxPyBeginAllowThreads();
2297 (arg1)->SetSelection(arg2);
2298
2299 wxPyEndAllowThreads(__tstate);
2300 if (PyErr_Occurred()) SWIG_fail;
2301 }
2302 Py_INCREF(Py_None); resultobj = Py_None;
2303 return resultobj;
2304 fail:
2305 return NULL;
2306 }
2307
2308
2309 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2310 PyObject *resultobj;
2311 wxChoice *arg1 = (wxChoice *) 0 ;
2312 wxString *arg2 = 0 ;
2313 bool temp2 = False ;
2314 PyObject * obj0 = 0 ;
2315 PyObject * obj1 = 0 ;
2316 char *kwnames[] = {
2317 (char *) "self",(char *) "string", NULL
2318 };
2319
2320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2322 {
2323 arg2 = wxString_in_helper(obj1);
2324 if (arg2 == NULL) SWIG_fail;
2325 temp2 = True;
2326 }
2327 {
2328 PyThreadState* __tstate = wxPyBeginAllowThreads();
2329 (arg1)->SetStringSelection((wxString const &)*arg2);
2330
2331 wxPyEndAllowThreads(__tstate);
2332 if (PyErr_Occurred()) SWIG_fail;
2333 }
2334 Py_INCREF(Py_None); resultobj = Py_None;
2335 {
2336 if (temp2)
2337 delete arg2;
2338 }
2339 return resultobj;
2340 fail:
2341 {
2342 if (temp2)
2343 delete arg2;
2344 }
2345 return NULL;
2346 }
2347
2348
2349 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2350 PyObject *resultobj;
2351 wxChoice *arg1 = (wxChoice *) 0 ;
2352 int arg2 ;
2353 wxString *arg3 = 0 ;
2354 bool temp3 = False ;
2355 PyObject * obj0 = 0 ;
2356 PyObject * obj2 = 0 ;
2357 char *kwnames[] = {
2358 (char *) "self",(char *) "n",(char *) "s", NULL
2359 };
2360
2361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2363 {
2364 arg3 = wxString_in_helper(obj2);
2365 if (arg3 == NULL) SWIG_fail;
2366 temp3 = True;
2367 }
2368 {
2369 PyThreadState* __tstate = wxPyBeginAllowThreads();
2370 (arg1)->SetString(arg2,(wxString const &)*arg3);
2371
2372 wxPyEndAllowThreads(__tstate);
2373 if (PyErr_Occurred()) SWIG_fail;
2374 }
2375 Py_INCREF(Py_None); resultobj = Py_None;
2376 {
2377 if (temp3)
2378 delete arg3;
2379 }
2380 return resultobj;
2381 fail:
2382 {
2383 if (temp3)
2384 delete arg3;
2385 }
2386 return NULL;
2387 }
2388
2389
2390 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2391 PyObject *obj;
2392 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2393 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2394 Py_INCREF(obj);
2395 return Py_BuildValue((char *)"");
2396 }
2397 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2398 PyObject *resultobj;
2399 wxWindow *arg1 = (wxWindow *) 0 ;
2400 int arg2 ;
2401 wxString const &arg3_defvalue = wxPyEmptyString ;
2402 wxString *arg3 = (wxString *) &arg3_defvalue ;
2403 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2404 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2405 wxSize const &arg5_defvalue = wxDefaultSize ;
2406 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2407 int arg6 = (int) 0 ;
2408 wxString *arg7 = (wxString *) NULL ;
2409 long arg8 = (long) 0 ;
2410 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2411 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2412 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2413 wxString *arg10 = (wxString *) &arg10_defvalue ;
2414 wxComboBox *result;
2415 bool temp3 = False ;
2416 wxPoint temp4 ;
2417 wxSize temp5 ;
2418 bool temp9 = False ;
2419 PyObject * obj0 = 0 ;
2420 PyObject * obj2 = 0 ;
2421 PyObject * obj3 = 0 ;
2422 PyObject * obj4 = 0 ;
2423 PyObject * obj5 = 0 ;
2424 PyObject * obj7 = 0 ;
2425 PyObject * obj8 = 0 ;
2426 char *kwnames[] = {
2427 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2428 };
2429
2430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2432 if (obj2) {
2433 {
2434 arg3 = wxString_in_helper(obj2);
2435 if (arg3 == NULL) SWIG_fail;
2436 temp3 = True;
2437 }
2438 }
2439 if (obj3) {
2440 {
2441 arg4 = &temp4;
2442 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2443 }
2444 }
2445 if (obj4) {
2446 {
2447 arg5 = &temp5;
2448 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2449 }
2450 }
2451 if (obj5) {
2452 {
2453 arg6 = PyList_Size(obj5);
2454 arg7 = wxString_LIST_helper(obj5);
2455 if (arg7 == NULL) SWIG_fail;
2456 }
2457 }
2458 if (obj7) {
2459 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2460 if (arg9 == NULL) {
2461 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2462 }
2463 }
2464 if (obj8) {
2465 {
2466 arg10 = wxString_in_helper(obj8);
2467 if (arg10 == NULL) SWIG_fail;
2468 temp9 = True;
2469 }
2470 }
2471 {
2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
2473 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2474
2475 wxPyEndAllowThreads(__tstate);
2476 if (PyErr_Occurred()) SWIG_fail;
2477 }
2478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2479 {
2480 if (temp3)
2481 delete arg3;
2482 }
2483 {
2484 if (arg7) delete [] arg7;
2485 }
2486 {
2487 if (temp9)
2488 delete arg10;
2489 }
2490 return resultobj;
2491 fail:
2492 {
2493 if (temp3)
2494 delete arg3;
2495 }
2496 {
2497 if (arg7) delete [] arg7;
2498 }
2499 {
2500 if (temp9)
2501 delete arg10;
2502 }
2503 return NULL;
2504 }
2505
2506
2507 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2508 PyObject *resultobj;
2509 wxComboBox *result;
2510 char *kwnames[] = {
2511 NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2515 {
2516 PyThreadState* __tstate = wxPyBeginAllowThreads();
2517 result = (wxComboBox *)new wxComboBox();
2518
2519 wxPyEndAllowThreads(__tstate);
2520 if (PyErr_Occurred()) SWIG_fail;
2521 }
2522 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2523 return resultobj;
2524 fail:
2525 return NULL;
2526 }
2527
2528
2529 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2530 PyObject *resultobj;
2531 wxComboBox *arg1 = (wxComboBox *) 0 ;
2532 wxWindow *arg2 = (wxWindow *) 0 ;
2533 int arg3 ;
2534 wxString const &arg4_defvalue = wxPyEmptyString ;
2535 wxString *arg4 = (wxString *) &arg4_defvalue ;
2536 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2537 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2538 wxSize const &arg6_defvalue = wxDefaultSize ;
2539 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2540 int arg7 = (int) 0 ;
2541 wxString *arg8 = (wxString *) NULL ;
2542 long arg9 = (long) 0 ;
2543 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2544 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2545 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2546 wxString *arg11 = (wxString *) &arg11_defvalue ;
2547 bool result;
2548 bool temp4 = False ;
2549 wxPoint temp5 ;
2550 wxSize temp6 ;
2551 bool temp10 = False ;
2552 PyObject * obj0 = 0 ;
2553 PyObject * obj1 = 0 ;
2554 PyObject * obj3 = 0 ;
2555 PyObject * obj4 = 0 ;
2556 PyObject * obj5 = 0 ;
2557 PyObject * obj6 = 0 ;
2558 PyObject * obj8 = 0 ;
2559 PyObject * obj9 = 0 ;
2560 char *kwnames[] = {
2561 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2562 };
2563
2564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2566 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2567 if (obj3) {
2568 {
2569 arg4 = wxString_in_helper(obj3);
2570 if (arg4 == NULL) SWIG_fail;
2571 temp4 = True;
2572 }
2573 }
2574 if (obj4) {
2575 {
2576 arg5 = &temp5;
2577 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2578 }
2579 }
2580 if (obj5) {
2581 {
2582 arg6 = &temp6;
2583 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2584 }
2585 }
2586 if (obj6) {
2587 {
2588 arg7 = PyList_Size(obj6);
2589 arg8 = wxString_LIST_helper(obj6);
2590 if (arg8 == NULL) SWIG_fail;
2591 }
2592 }
2593 if (obj8) {
2594 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2595 if (arg10 == NULL) {
2596 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2597 }
2598 }
2599 if (obj9) {
2600 {
2601 arg11 = wxString_in_helper(obj9);
2602 if (arg11 == NULL) SWIG_fail;
2603 temp10 = True;
2604 }
2605 }
2606 {
2607 PyThreadState* __tstate = wxPyBeginAllowThreads();
2608 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2609
2610 wxPyEndAllowThreads(__tstate);
2611 if (PyErr_Occurred()) SWIG_fail;
2612 }
2613 resultobj = PyInt_FromLong((long)result);
2614 {
2615 if (temp4)
2616 delete arg4;
2617 }
2618 {
2619 if (arg8) delete [] arg8;
2620 }
2621 {
2622 if (temp10)
2623 delete arg11;
2624 }
2625 return resultobj;
2626 fail:
2627 {
2628 if (temp4)
2629 delete arg4;
2630 }
2631 {
2632 if (arg8) delete [] arg8;
2633 }
2634 {
2635 if (temp10)
2636 delete arg11;
2637 }
2638 return NULL;
2639 }
2640
2641
2642 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2643 PyObject *resultobj;
2644 wxComboBox *arg1 = (wxComboBox *) 0 ;
2645 wxString result;
2646 PyObject * obj0 = 0 ;
2647 char *kwnames[] = {
2648 (char *) "self", NULL
2649 };
2650
2651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2653 {
2654 PyThreadState* __tstate = wxPyBeginAllowThreads();
2655 result = ((wxComboBox const *)arg1)->GetValue();
2656
2657 wxPyEndAllowThreads(__tstate);
2658 if (PyErr_Occurred()) SWIG_fail;
2659 }
2660 {
2661 #if wxUSE_UNICODE
2662 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2663 #else
2664 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2665 #endif
2666 }
2667 return resultobj;
2668 fail:
2669 return NULL;
2670 }
2671
2672
2673 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2674 PyObject *resultobj;
2675 wxComboBox *arg1 = (wxComboBox *) 0 ;
2676 wxString *arg2 = 0 ;
2677 bool temp2 = False ;
2678 PyObject * obj0 = 0 ;
2679 PyObject * obj1 = 0 ;
2680 char *kwnames[] = {
2681 (char *) "self",(char *) "value", NULL
2682 };
2683
2684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2686 {
2687 arg2 = wxString_in_helper(obj1);
2688 if (arg2 == NULL) SWIG_fail;
2689 temp2 = True;
2690 }
2691 {
2692 PyThreadState* __tstate = wxPyBeginAllowThreads();
2693 (arg1)->SetValue((wxString const &)*arg2);
2694
2695 wxPyEndAllowThreads(__tstate);
2696 if (PyErr_Occurred()) SWIG_fail;
2697 }
2698 Py_INCREF(Py_None); resultobj = Py_None;
2699 {
2700 if (temp2)
2701 delete arg2;
2702 }
2703 return resultobj;
2704 fail:
2705 {
2706 if (temp2)
2707 delete arg2;
2708 }
2709 return NULL;
2710 }
2711
2712
2713 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2714 PyObject *resultobj;
2715 wxComboBox *arg1 = (wxComboBox *) 0 ;
2716 PyObject * obj0 = 0 ;
2717 char *kwnames[] = {
2718 (char *) "self", NULL
2719 };
2720
2721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2723 {
2724 PyThreadState* __tstate = wxPyBeginAllowThreads();
2725 (arg1)->Copy();
2726
2727 wxPyEndAllowThreads(__tstate);
2728 if (PyErr_Occurred()) SWIG_fail;
2729 }
2730 Py_INCREF(Py_None); resultobj = Py_None;
2731 return resultobj;
2732 fail:
2733 return NULL;
2734 }
2735
2736
2737 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2738 PyObject *resultobj;
2739 wxComboBox *arg1 = (wxComboBox *) 0 ;
2740 PyObject * obj0 = 0 ;
2741 char *kwnames[] = {
2742 (char *) "self", NULL
2743 };
2744
2745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2747 {
2748 PyThreadState* __tstate = wxPyBeginAllowThreads();
2749 (arg1)->Cut();
2750
2751 wxPyEndAllowThreads(__tstate);
2752 if (PyErr_Occurred()) SWIG_fail;
2753 }
2754 Py_INCREF(Py_None); resultobj = Py_None;
2755 return resultobj;
2756 fail:
2757 return NULL;
2758 }
2759
2760
2761 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2762 PyObject *resultobj;
2763 wxComboBox *arg1 = (wxComboBox *) 0 ;
2764 PyObject * obj0 = 0 ;
2765 char *kwnames[] = {
2766 (char *) "self", NULL
2767 };
2768
2769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2771 {
2772 PyThreadState* __tstate = wxPyBeginAllowThreads();
2773 (arg1)->Paste();
2774
2775 wxPyEndAllowThreads(__tstate);
2776 if (PyErr_Occurred()) SWIG_fail;
2777 }
2778 Py_INCREF(Py_None); resultobj = Py_None;
2779 return resultobj;
2780 fail:
2781 return NULL;
2782 }
2783
2784
2785 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2786 PyObject *resultobj;
2787 wxComboBox *arg1 = (wxComboBox *) 0 ;
2788 long arg2 ;
2789 PyObject * obj0 = 0 ;
2790 char *kwnames[] = {
2791 (char *) "self",(char *) "pos", NULL
2792 };
2793
2794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2796 {
2797 PyThreadState* __tstate = wxPyBeginAllowThreads();
2798 (arg1)->SetInsertionPoint(arg2);
2799
2800 wxPyEndAllowThreads(__tstate);
2801 if (PyErr_Occurred()) SWIG_fail;
2802 }
2803 Py_INCREF(Py_None); resultobj = Py_None;
2804 return resultobj;
2805 fail:
2806 return NULL;
2807 }
2808
2809
2810 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2811 PyObject *resultobj;
2812 wxComboBox *arg1 = (wxComboBox *) 0 ;
2813 long result;
2814 PyObject * obj0 = 0 ;
2815 char *kwnames[] = {
2816 (char *) "self", NULL
2817 };
2818
2819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2821 {
2822 PyThreadState* __tstate = wxPyBeginAllowThreads();
2823 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2824
2825 wxPyEndAllowThreads(__tstate);
2826 if (PyErr_Occurred()) SWIG_fail;
2827 }
2828 resultobj = PyInt_FromLong((long)result);
2829 return resultobj;
2830 fail:
2831 return NULL;
2832 }
2833
2834
2835 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2836 PyObject *resultobj;
2837 wxComboBox *arg1 = (wxComboBox *) 0 ;
2838 long result;
2839 PyObject * obj0 = 0 ;
2840 char *kwnames[] = {
2841 (char *) "self", NULL
2842 };
2843
2844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2846 {
2847 PyThreadState* __tstate = wxPyBeginAllowThreads();
2848 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2849
2850 wxPyEndAllowThreads(__tstate);
2851 if (PyErr_Occurred()) SWIG_fail;
2852 }
2853 resultobj = PyInt_FromLong((long)result);
2854 return resultobj;
2855 fail:
2856 return NULL;
2857 }
2858
2859
2860 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2861 PyObject *resultobj;
2862 wxComboBox *arg1 = (wxComboBox *) 0 ;
2863 long arg2 ;
2864 long arg3 ;
2865 wxString *arg4 = 0 ;
2866 bool temp4 = False ;
2867 PyObject * obj0 = 0 ;
2868 PyObject * obj3 = 0 ;
2869 char *kwnames[] = {
2870 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2871 };
2872
2873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2875 {
2876 arg4 = wxString_in_helper(obj3);
2877 if (arg4 == NULL) SWIG_fail;
2878 temp4 = True;
2879 }
2880 {
2881 PyThreadState* __tstate = wxPyBeginAllowThreads();
2882 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2883
2884 wxPyEndAllowThreads(__tstate);
2885 if (PyErr_Occurred()) SWIG_fail;
2886 }
2887 Py_INCREF(Py_None); resultobj = Py_None;
2888 {
2889 if (temp4)
2890 delete arg4;
2891 }
2892 return resultobj;
2893 fail:
2894 {
2895 if (temp4)
2896 delete arg4;
2897 }
2898 return NULL;
2899 }
2900
2901
2902 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2903 PyObject *resultobj;
2904 wxComboBox *arg1 = (wxComboBox *) 0 ;
2905 int arg2 ;
2906 PyObject * obj0 = 0 ;
2907 char *kwnames[] = {
2908 (char *) "self",(char *) "n", NULL
2909 };
2910
2911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2913 {
2914 PyThreadState* __tstate = wxPyBeginAllowThreads();
2915 (arg1)->SetSelection(arg2);
2916
2917 wxPyEndAllowThreads(__tstate);
2918 if (PyErr_Occurred()) SWIG_fail;
2919 }
2920 Py_INCREF(Py_None); resultobj = Py_None;
2921 return resultobj;
2922 fail:
2923 return NULL;
2924 }
2925
2926
2927 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2928 PyObject *resultobj;
2929 wxComboBox *arg1 = (wxComboBox *) 0 ;
2930 long arg2 ;
2931 long arg3 ;
2932 PyObject * obj0 = 0 ;
2933 char *kwnames[] = {
2934 (char *) "self",(char *) "from",(char *) "to", NULL
2935 };
2936
2937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2939 {
2940 PyThreadState* __tstate = wxPyBeginAllowThreads();
2941 (arg1)->SetSelection(arg2,arg3);
2942
2943 wxPyEndAllowThreads(__tstate);
2944 if (PyErr_Occurred()) SWIG_fail;
2945 }
2946 Py_INCREF(Py_None); resultobj = Py_None;
2947 return resultobj;
2948 fail:
2949 return NULL;
2950 }
2951
2952
2953 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2954 PyObject *resultobj;
2955 wxComboBox *arg1 = (wxComboBox *) 0 ;
2956 bool arg2 ;
2957 PyObject * obj0 = 0 ;
2958 PyObject * obj1 = 0 ;
2959 char *kwnames[] = {
2960 (char *) "self",(char *) "editable", NULL
2961 };
2962
2963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2965 arg2 = PyInt_AsLong(obj1) ? true : false;
2966 if (PyErr_Occurred()) SWIG_fail;
2967 {
2968 PyThreadState* __tstate = wxPyBeginAllowThreads();
2969 (arg1)->SetEditable(arg2);
2970
2971 wxPyEndAllowThreads(__tstate);
2972 if (PyErr_Occurred()) SWIG_fail;
2973 }
2974 Py_INCREF(Py_None); resultobj = Py_None;
2975 return resultobj;
2976 fail:
2977 return NULL;
2978 }
2979
2980
2981 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2982 PyObject *resultobj;
2983 wxComboBox *arg1 = (wxComboBox *) 0 ;
2984 PyObject * obj0 = 0 ;
2985 char *kwnames[] = {
2986 (char *) "self", NULL
2987 };
2988
2989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2991 {
2992 PyThreadState* __tstate = wxPyBeginAllowThreads();
2993 (arg1)->SetInsertionPointEnd();
2994
2995 wxPyEndAllowThreads(__tstate);
2996 if (PyErr_Occurred()) SWIG_fail;
2997 }
2998 Py_INCREF(Py_None); resultobj = Py_None;
2999 return resultobj;
3000 fail:
3001 return NULL;
3002 }
3003
3004
3005 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3006 PyObject *resultobj;
3007 wxComboBox *arg1 = (wxComboBox *) 0 ;
3008 long arg2 ;
3009 long arg3 ;
3010 PyObject * obj0 = 0 ;
3011 char *kwnames[] = {
3012 (char *) "self",(char *) "from",(char *) "to", NULL
3013 };
3014
3015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
3016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3017 {
3018 PyThreadState* __tstate = wxPyBeginAllowThreads();
3019 (arg1)->Remove(arg2,arg3);
3020
3021 wxPyEndAllowThreads(__tstate);
3022 if (PyErr_Occurred()) SWIG_fail;
3023 }
3024 Py_INCREF(Py_None); resultobj = Py_None;
3025 return resultobj;
3026 fail:
3027 return NULL;
3028 }
3029
3030
3031 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3032 PyObject *obj;
3033 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3034 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3035 Py_INCREF(obj);
3036 return Py_BuildValue((char *)"");
3037 }
3038 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3039 PyObject *resultobj;
3040 wxWindow *arg1 = (wxWindow *) 0 ;
3041 int arg2 ;
3042 int arg3 ;
3043 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3044 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3045 wxSize const &arg5_defvalue = wxDefaultSize ;
3046 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3047 long arg6 = (long) wxGA_HORIZONTAL ;
3048 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3049 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3050 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3051 wxString *arg8 = (wxString *) &arg8_defvalue ;
3052 wxGauge *result;
3053 wxPoint temp4 ;
3054 wxSize temp5 ;
3055 bool temp8 = False ;
3056 PyObject * obj0 = 0 ;
3057 PyObject * obj3 = 0 ;
3058 PyObject * obj4 = 0 ;
3059 PyObject * obj6 = 0 ;
3060 PyObject * obj7 = 0 ;
3061 char *kwnames[] = {
3062 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3063 };
3064
3065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3067 if (obj3) {
3068 {
3069 arg4 = &temp4;
3070 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3071 }
3072 }
3073 if (obj4) {
3074 {
3075 arg5 = &temp5;
3076 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3077 }
3078 }
3079 if (obj6) {
3080 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3081 if (arg7 == NULL) {
3082 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3083 }
3084 }
3085 if (obj7) {
3086 {
3087 arg8 = wxString_in_helper(obj7);
3088 if (arg8 == NULL) SWIG_fail;
3089 temp8 = True;
3090 }
3091 }
3092 {
3093 PyThreadState* __tstate = wxPyBeginAllowThreads();
3094 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3095
3096 wxPyEndAllowThreads(__tstate);
3097 if (PyErr_Occurred()) SWIG_fail;
3098 }
3099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3100 {
3101 if (temp8)
3102 delete arg8;
3103 }
3104 return resultobj;
3105 fail:
3106 {
3107 if (temp8)
3108 delete arg8;
3109 }
3110 return NULL;
3111 }
3112
3113
3114 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3115 PyObject *resultobj;
3116 wxGauge *result;
3117 char *kwnames[] = {
3118 NULL
3119 };
3120
3121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3122 {
3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
3124 result = (wxGauge *)new wxGauge();
3125
3126 wxPyEndAllowThreads(__tstate);
3127 if (PyErr_Occurred()) SWIG_fail;
3128 }
3129 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3130 return resultobj;
3131 fail:
3132 return NULL;
3133 }
3134
3135
3136 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3137 PyObject *resultobj;
3138 wxGauge *arg1 = (wxGauge *) 0 ;
3139 wxWindow *arg2 = (wxWindow *) 0 ;
3140 int arg3 ;
3141 int arg4 ;
3142 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3143 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3144 wxSize const &arg6_defvalue = wxDefaultSize ;
3145 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3146 long arg7 = (long) wxGA_HORIZONTAL ;
3147 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3148 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3149 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3150 wxString *arg9 = (wxString *) &arg9_defvalue ;
3151 bool result;
3152 wxPoint temp5 ;
3153 wxSize temp6 ;
3154 bool temp9 = False ;
3155 PyObject * obj0 = 0 ;
3156 PyObject * obj1 = 0 ;
3157 PyObject * obj4 = 0 ;
3158 PyObject * obj5 = 0 ;
3159 PyObject * obj7 = 0 ;
3160 PyObject * obj8 = 0 ;
3161 char *kwnames[] = {
3162 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3163 };
3164
3165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3167 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3168 if (obj4) {
3169 {
3170 arg5 = &temp5;
3171 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3172 }
3173 }
3174 if (obj5) {
3175 {
3176 arg6 = &temp6;
3177 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3178 }
3179 }
3180 if (obj7) {
3181 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3182 if (arg8 == NULL) {
3183 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3184 }
3185 }
3186 if (obj8) {
3187 {
3188 arg9 = wxString_in_helper(obj8);
3189 if (arg9 == NULL) SWIG_fail;
3190 temp9 = True;
3191 }
3192 }
3193 {
3194 PyThreadState* __tstate = wxPyBeginAllowThreads();
3195 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3196
3197 wxPyEndAllowThreads(__tstate);
3198 if (PyErr_Occurred()) SWIG_fail;
3199 }
3200 resultobj = PyInt_FromLong((long)result);
3201 {
3202 if (temp9)
3203 delete arg9;
3204 }
3205 return resultobj;
3206 fail:
3207 {
3208 if (temp9)
3209 delete arg9;
3210 }
3211 return NULL;
3212 }
3213
3214
3215 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3216 PyObject *resultobj;
3217 wxGauge *arg1 = (wxGauge *) 0 ;
3218 int arg2 ;
3219 PyObject * obj0 = 0 ;
3220 char *kwnames[] = {
3221 (char *) "self",(char *) "range", NULL
3222 };
3223
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3226 {
3227 PyThreadState* __tstate = wxPyBeginAllowThreads();
3228 (arg1)->SetRange(arg2);
3229
3230 wxPyEndAllowThreads(__tstate);
3231 if (PyErr_Occurred()) SWIG_fail;
3232 }
3233 Py_INCREF(Py_None); resultobj = Py_None;
3234 return resultobj;
3235 fail:
3236 return NULL;
3237 }
3238
3239
3240 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3241 PyObject *resultobj;
3242 wxGauge *arg1 = (wxGauge *) 0 ;
3243 int result;
3244 PyObject * obj0 = 0 ;
3245 char *kwnames[] = {
3246 (char *) "self", NULL
3247 };
3248
3249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3251 {
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 result = (int)((wxGauge const *)arg1)->GetRange();
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 resultobj = PyInt_FromLong((long)result);
3259 return resultobj;
3260 fail:
3261 return NULL;
3262 }
3263
3264
3265 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3266 PyObject *resultobj;
3267 wxGauge *arg1 = (wxGauge *) 0 ;
3268 int arg2 ;
3269 PyObject * obj0 = 0 ;
3270 char *kwnames[] = {
3271 (char *) "self",(char *) "pos", NULL
3272 };
3273
3274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3276 {
3277 PyThreadState* __tstate = wxPyBeginAllowThreads();
3278 (arg1)->SetValue(arg2);
3279
3280 wxPyEndAllowThreads(__tstate);
3281 if (PyErr_Occurred()) SWIG_fail;
3282 }
3283 Py_INCREF(Py_None); resultobj = Py_None;
3284 return resultobj;
3285 fail:
3286 return NULL;
3287 }
3288
3289
3290 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3291 PyObject *resultobj;
3292 wxGauge *arg1 = (wxGauge *) 0 ;
3293 int result;
3294 PyObject * obj0 = 0 ;
3295 char *kwnames[] = {
3296 (char *) "self", NULL
3297 };
3298
3299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3301 {
3302 PyThreadState* __tstate = wxPyBeginAllowThreads();
3303 result = (int)((wxGauge const *)arg1)->GetValue();
3304
3305 wxPyEndAllowThreads(__tstate);
3306 if (PyErr_Occurred()) SWIG_fail;
3307 }
3308 resultobj = PyInt_FromLong((long)result);
3309 return resultobj;
3310 fail:
3311 return NULL;
3312 }
3313
3314
3315 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3316 PyObject *resultobj;
3317 wxGauge *arg1 = (wxGauge *) 0 ;
3318 bool result;
3319 PyObject * obj0 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "self", NULL
3322 };
3323
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3326 {
3327 PyThreadState* __tstate = wxPyBeginAllowThreads();
3328 result = (bool)((wxGauge const *)arg1)->IsVertical();
3329
3330 wxPyEndAllowThreads(__tstate);
3331 if (PyErr_Occurred()) SWIG_fail;
3332 }
3333 resultobj = PyInt_FromLong((long)result);
3334 return resultobj;
3335 fail:
3336 return NULL;
3337 }
3338
3339
3340 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3341 PyObject *resultobj;
3342 wxGauge *arg1 = (wxGauge *) 0 ;
3343 int arg2 ;
3344 PyObject * obj0 = 0 ;
3345 char *kwnames[] = {
3346 (char *) "self",(char *) "w", NULL
3347 };
3348
3349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 (arg1)->SetShadowWidth(arg2);
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 Py_INCREF(Py_None); resultobj = Py_None;
3359 return resultobj;
3360 fail:
3361 return NULL;
3362 }
3363
3364
3365 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3366 PyObject *resultobj;
3367 wxGauge *arg1 = (wxGauge *) 0 ;
3368 int result;
3369 PyObject * obj0 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "self", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3376 {
3377 PyThreadState* __tstate = wxPyBeginAllowThreads();
3378 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3379
3380 wxPyEndAllowThreads(__tstate);
3381 if (PyErr_Occurred()) SWIG_fail;
3382 }
3383 resultobj = PyInt_FromLong((long)result);
3384 return resultobj;
3385 fail:
3386 return NULL;
3387 }
3388
3389
3390 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3391 PyObject *resultobj;
3392 wxGauge *arg1 = (wxGauge *) 0 ;
3393 int arg2 ;
3394 PyObject * obj0 = 0 ;
3395 char *kwnames[] = {
3396 (char *) "self",(char *) "w", NULL
3397 };
3398
3399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3401 {
3402 PyThreadState* __tstate = wxPyBeginAllowThreads();
3403 (arg1)->SetBezelFace(arg2);
3404
3405 wxPyEndAllowThreads(__tstate);
3406 if (PyErr_Occurred()) SWIG_fail;
3407 }
3408 Py_INCREF(Py_None); resultobj = Py_None;
3409 return resultobj;
3410 fail:
3411 return NULL;
3412 }
3413
3414
3415 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3416 PyObject *resultobj;
3417 wxGauge *arg1 = (wxGauge *) 0 ;
3418 int result;
3419 PyObject * obj0 = 0 ;
3420 char *kwnames[] = {
3421 (char *) "self", NULL
3422 };
3423
3424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3426 {
3427 PyThreadState* __tstate = wxPyBeginAllowThreads();
3428 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3429
3430 wxPyEndAllowThreads(__tstate);
3431 if (PyErr_Occurred()) SWIG_fail;
3432 }
3433 resultobj = PyInt_FromLong((long)result);
3434 return resultobj;
3435 fail:
3436 return NULL;
3437 }
3438
3439
3440 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3441 PyObject *obj;
3442 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3443 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3444 Py_INCREF(obj);
3445 return Py_BuildValue((char *)"");
3446 }
3447 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3448 PyObject *resultobj;
3449 wxWindow *arg1 = (wxWindow *) 0 ;
3450 int arg2 ;
3451 wxString *arg3 = 0 ;
3452 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3453 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3454 wxSize const &arg5_defvalue = wxDefaultSize ;
3455 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3456 long arg6 = (long) 0 ;
3457 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3458 wxString *arg7 = (wxString *) &arg7_defvalue ;
3459 wxStaticBox *result;
3460 bool temp3 = False ;
3461 wxPoint temp4 ;
3462 wxSize temp5 ;
3463 bool temp7 = False ;
3464 PyObject * obj0 = 0 ;
3465 PyObject * obj2 = 0 ;
3466 PyObject * obj3 = 0 ;
3467 PyObject * obj4 = 0 ;
3468 PyObject * obj6 = 0 ;
3469 char *kwnames[] = {
3470 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3471 };
3472
3473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3475 {
3476 arg3 = wxString_in_helper(obj2);
3477 if (arg3 == NULL) SWIG_fail;
3478 temp3 = True;
3479 }
3480 if (obj3) {
3481 {
3482 arg4 = &temp4;
3483 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3484 }
3485 }
3486 if (obj4) {
3487 {
3488 arg5 = &temp5;
3489 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3490 }
3491 }
3492 if (obj6) {
3493 {
3494 arg7 = wxString_in_helper(obj6);
3495 if (arg7 == NULL) SWIG_fail;
3496 temp7 = True;
3497 }
3498 }
3499 {
3500 PyThreadState* __tstate = wxPyBeginAllowThreads();
3501 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3502
3503 wxPyEndAllowThreads(__tstate);
3504 if (PyErr_Occurred()) SWIG_fail;
3505 }
3506 {
3507 resultobj = wxPyMake_wxObject(result);
3508 }
3509 {
3510 if (temp3)
3511 delete arg3;
3512 }
3513 {
3514 if (temp7)
3515 delete arg7;
3516 }
3517 return resultobj;
3518 fail:
3519 {
3520 if (temp3)
3521 delete arg3;
3522 }
3523 {
3524 if (temp7)
3525 delete arg7;
3526 }
3527 return NULL;
3528 }
3529
3530
3531 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3532 PyObject *resultobj;
3533 wxStaticBox *result;
3534 char *kwnames[] = {
3535 NULL
3536 };
3537
3538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3539 {
3540 PyThreadState* __tstate = wxPyBeginAllowThreads();
3541 result = (wxStaticBox *)new wxStaticBox();
3542
3543 wxPyEndAllowThreads(__tstate);
3544 if (PyErr_Occurred()) SWIG_fail;
3545 }
3546 {
3547 resultobj = wxPyMake_wxObject(result);
3548 }
3549 return resultobj;
3550 fail:
3551 return NULL;
3552 }
3553
3554
3555 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3556 PyObject *resultobj;
3557 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3558 wxWindow *arg2 = (wxWindow *) 0 ;
3559 int arg3 ;
3560 wxString *arg4 = 0 ;
3561 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3562 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3563 wxSize const &arg6_defvalue = wxDefaultSize ;
3564 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3565 long arg7 = (long) 0 ;
3566 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3567 wxString *arg8 = (wxString *) &arg8_defvalue ;
3568 bool result;
3569 bool temp4 = False ;
3570 wxPoint temp5 ;
3571 wxSize temp6 ;
3572 bool temp8 = False ;
3573 PyObject * obj0 = 0 ;
3574 PyObject * obj1 = 0 ;
3575 PyObject * obj3 = 0 ;
3576 PyObject * obj4 = 0 ;
3577 PyObject * obj5 = 0 ;
3578 PyObject * obj7 = 0 ;
3579 char *kwnames[] = {
3580 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3581 };
3582
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3586 {
3587 arg4 = wxString_in_helper(obj3);
3588 if (arg4 == NULL) SWIG_fail;
3589 temp4 = True;
3590 }
3591 if (obj4) {
3592 {
3593 arg5 = &temp5;
3594 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3595 }
3596 }
3597 if (obj5) {
3598 {
3599 arg6 = &temp6;
3600 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3601 }
3602 }
3603 if (obj7) {
3604 {
3605 arg8 = wxString_in_helper(obj7);
3606 if (arg8 == NULL) SWIG_fail;
3607 temp8 = True;
3608 }
3609 }
3610 {
3611 PyThreadState* __tstate = wxPyBeginAllowThreads();
3612 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3613
3614 wxPyEndAllowThreads(__tstate);
3615 if (PyErr_Occurred()) SWIG_fail;
3616 }
3617 resultobj = PyInt_FromLong((long)result);
3618 {
3619 if (temp4)
3620 delete arg4;
3621 }
3622 {
3623 if (temp8)
3624 delete arg8;
3625 }
3626 return resultobj;
3627 fail:
3628 {
3629 if (temp4)
3630 delete arg4;
3631 }
3632 {
3633 if (temp8)
3634 delete arg8;
3635 }
3636 return NULL;
3637 }
3638
3639
3640 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3641 PyObject *obj;
3642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3643 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3644 Py_INCREF(obj);
3645 return Py_BuildValue((char *)"");
3646 }
3647 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3648 PyObject *resultobj;
3649 wxWindow *arg1 = (wxWindow *) 0 ;
3650 int arg2 ;
3651 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3652 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3653 wxSize const &arg4_defvalue = wxDefaultSize ;
3654 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3655 long arg5 = (long) wxLI_HORIZONTAL ;
3656 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3657 wxString *arg6 = (wxString *) &arg6_defvalue ;
3658 wxStaticLine *result;
3659 wxPoint temp3 ;
3660 wxSize temp4 ;
3661 bool temp6 = False ;
3662 PyObject * obj0 = 0 ;
3663 PyObject * obj2 = 0 ;
3664 PyObject * obj3 = 0 ;
3665 PyObject * obj5 = 0 ;
3666 char *kwnames[] = {
3667 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3668 };
3669
3670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3672 if (obj2) {
3673 {
3674 arg3 = &temp3;
3675 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3676 }
3677 }
3678 if (obj3) {
3679 {
3680 arg4 = &temp4;
3681 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3682 }
3683 }
3684 if (obj5) {
3685 {
3686 arg6 = wxString_in_helper(obj5);
3687 if (arg6 == NULL) SWIG_fail;
3688 temp6 = True;
3689 }
3690 }
3691 {
3692 PyThreadState* __tstate = wxPyBeginAllowThreads();
3693 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3694
3695 wxPyEndAllowThreads(__tstate);
3696 if (PyErr_Occurred()) SWIG_fail;
3697 }
3698 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3699 {
3700 if (temp6)
3701 delete arg6;
3702 }
3703 return resultobj;
3704 fail:
3705 {
3706 if (temp6)
3707 delete arg6;
3708 }
3709 return NULL;
3710 }
3711
3712
3713 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3714 PyObject *resultobj;
3715 wxStaticLine *result;
3716 char *kwnames[] = {
3717 NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3721 {
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 result = (wxStaticLine *)new wxStaticLine();
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
3728 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3729 return resultobj;
3730 fail:
3731 return NULL;
3732 }
3733
3734
3735 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3736 PyObject *resultobj;
3737 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3738 wxWindow *arg2 = (wxWindow *) 0 ;
3739 int arg3 ;
3740 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3741 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3742 wxSize const &arg5_defvalue = wxDefaultSize ;
3743 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3744 long arg6 = (long) wxLI_HORIZONTAL ;
3745 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3746 wxString *arg7 = (wxString *) &arg7_defvalue ;
3747 bool result;
3748 wxPoint temp4 ;
3749 wxSize temp5 ;
3750 bool temp7 = False ;
3751 PyObject * obj0 = 0 ;
3752 PyObject * obj1 = 0 ;
3753 PyObject * obj3 = 0 ;
3754 PyObject * obj4 = 0 ;
3755 PyObject * obj6 = 0 ;
3756 char *kwnames[] = {
3757 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3758 };
3759
3760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3762 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3763 if (obj3) {
3764 {
3765 arg4 = &temp4;
3766 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3767 }
3768 }
3769 if (obj4) {
3770 {
3771 arg5 = &temp5;
3772 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3773 }
3774 }
3775 if (obj6) {
3776 {
3777 arg7 = wxString_in_helper(obj6);
3778 if (arg7 == NULL) SWIG_fail;
3779 temp7 = True;
3780 }
3781 }
3782 {
3783 PyThreadState* __tstate = wxPyBeginAllowThreads();
3784 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3785
3786 wxPyEndAllowThreads(__tstate);
3787 if (PyErr_Occurred()) SWIG_fail;
3788 }
3789 resultobj = PyInt_FromLong((long)result);
3790 {
3791 if (temp7)
3792 delete arg7;
3793 }
3794 return resultobj;
3795 fail:
3796 {
3797 if (temp7)
3798 delete arg7;
3799 }
3800 return NULL;
3801 }
3802
3803
3804 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3805 PyObject *resultobj;
3806 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3807 bool result;
3808 PyObject * obj0 = 0 ;
3809 char *kwnames[] = {
3810 (char *) "self", NULL
3811 };
3812
3813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3815 {
3816 PyThreadState* __tstate = wxPyBeginAllowThreads();
3817 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3818
3819 wxPyEndAllowThreads(__tstate);
3820 if (PyErr_Occurred()) SWIG_fail;
3821 }
3822 resultobj = PyInt_FromLong((long)result);
3823 return resultobj;
3824 fail:
3825 return NULL;
3826 }
3827
3828
3829 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3830 PyObject *resultobj;
3831 int result;
3832 char *kwnames[] = {
3833 NULL
3834 };
3835
3836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3837 {
3838 PyThreadState* __tstate = wxPyBeginAllowThreads();
3839 result = (int)wxStaticLine::GetDefaultSize();
3840
3841 wxPyEndAllowThreads(__tstate);
3842 if (PyErr_Occurred()) SWIG_fail;
3843 }
3844 resultobj = PyInt_FromLong((long)result);
3845 return resultobj;
3846 fail:
3847 return NULL;
3848 }
3849
3850
3851 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3852 PyObject *obj;
3853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3854 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3855 Py_INCREF(obj);
3856 return Py_BuildValue((char *)"");
3857 }
3858 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3859 PyObject *resultobj;
3860 wxWindow *arg1 = (wxWindow *) 0 ;
3861 int arg2 ;
3862 wxString *arg3 = 0 ;
3863 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3864 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3865 wxSize const &arg5_defvalue = wxDefaultSize ;
3866 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3867 long arg6 = (long) 0 ;
3868 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3869 wxString *arg7 = (wxString *) &arg7_defvalue ;
3870 wxStaticText *result;
3871 bool temp3 = False ;
3872 wxPoint temp4 ;
3873 wxSize temp5 ;
3874 bool temp7 = False ;
3875 PyObject * obj0 = 0 ;
3876 PyObject * obj2 = 0 ;
3877 PyObject * obj3 = 0 ;
3878 PyObject * obj4 = 0 ;
3879 PyObject * obj6 = 0 ;
3880 char *kwnames[] = {
3881 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3882 };
3883
3884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3886 {
3887 arg3 = wxString_in_helper(obj2);
3888 if (arg3 == NULL) SWIG_fail;
3889 temp3 = True;
3890 }
3891 if (obj3) {
3892 {
3893 arg4 = &temp4;
3894 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3895 }
3896 }
3897 if (obj4) {
3898 {
3899 arg5 = &temp5;
3900 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3901 }
3902 }
3903 if (obj6) {
3904 {
3905 arg7 = wxString_in_helper(obj6);
3906 if (arg7 == NULL) SWIG_fail;
3907 temp7 = True;
3908 }
3909 }
3910 {
3911 PyThreadState* __tstate = wxPyBeginAllowThreads();
3912 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3913
3914 wxPyEndAllowThreads(__tstate);
3915 if (PyErr_Occurred()) SWIG_fail;
3916 }
3917 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3918 {
3919 if (temp3)
3920 delete arg3;
3921 }
3922 {
3923 if (temp7)
3924 delete arg7;
3925 }
3926 return resultobj;
3927 fail:
3928 {
3929 if (temp3)
3930 delete arg3;
3931 }
3932 {
3933 if (temp7)
3934 delete arg7;
3935 }
3936 return NULL;
3937 }
3938
3939
3940 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3941 PyObject *resultobj;
3942 wxStaticText *result;
3943 char *kwnames[] = {
3944 NULL
3945 };
3946
3947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3948 {
3949 PyThreadState* __tstate = wxPyBeginAllowThreads();
3950 result = (wxStaticText *)new wxStaticText();
3951
3952 wxPyEndAllowThreads(__tstate);
3953 if (PyErr_Occurred()) SWIG_fail;
3954 }
3955 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3956 return resultobj;
3957 fail:
3958 return NULL;
3959 }
3960
3961
3962 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3963 PyObject *resultobj;
3964 wxStaticText *arg1 = (wxStaticText *) 0 ;
3965 wxWindow *arg2 = (wxWindow *) 0 ;
3966 int arg3 ;
3967 wxString *arg4 = 0 ;
3968 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3969 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3970 wxSize const &arg6_defvalue = wxDefaultSize ;
3971 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3972 long arg7 = (long) 0 ;
3973 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3974 wxString *arg8 = (wxString *) &arg8_defvalue ;
3975 bool result;
3976 bool temp4 = False ;
3977 wxPoint temp5 ;
3978 wxSize temp6 ;
3979 bool temp8 = False ;
3980 PyObject * obj0 = 0 ;
3981 PyObject * obj1 = 0 ;
3982 PyObject * obj3 = 0 ;
3983 PyObject * obj4 = 0 ;
3984 PyObject * obj5 = 0 ;
3985 PyObject * obj7 = 0 ;
3986 char *kwnames[] = {
3987 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3988 };
3989
3990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3993 {
3994 arg4 = wxString_in_helper(obj3);
3995 if (arg4 == NULL) SWIG_fail;
3996 temp4 = True;
3997 }
3998 if (obj4) {
3999 {
4000 arg5 = &temp5;
4001 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4002 }
4003 }
4004 if (obj5) {
4005 {
4006 arg6 = &temp6;
4007 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4008 }
4009 }
4010 if (obj7) {
4011 {
4012 arg8 = wxString_in_helper(obj7);
4013 if (arg8 == NULL) SWIG_fail;
4014 temp8 = True;
4015 }
4016 }
4017 {
4018 PyThreadState* __tstate = wxPyBeginAllowThreads();
4019 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4020
4021 wxPyEndAllowThreads(__tstate);
4022 if (PyErr_Occurred()) SWIG_fail;
4023 }
4024 resultobj = PyInt_FromLong((long)result);
4025 {
4026 if (temp4)
4027 delete arg4;
4028 }
4029 {
4030 if (temp8)
4031 delete arg8;
4032 }
4033 return resultobj;
4034 fail:
4035 {
4036 if (temp4)
4037 delete arg4;
4038 }
4039 {
4040 if (temp8)
4041 delete arg8;
4042 }
4043 return NULL;
4044 }
4045
4046
4047 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4048 PyObject *obj;
4049 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4050 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4051 Py_INCREF(obj);
4052 return Py_BuildValue((char *)"");
4053 }
4054 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4055 PyObject *resultobj;
4056 wxWindow *arg1 = (wxWindow *) 0 ;
4057 int arg2 ;
4058 wxBitmap *arg3 = 0 ;
4059 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4060 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4061 wxSize const &arg5_defvalue = wxDefaultSize ;
4062 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4063 long arg6 = (long) 0 ;
4064 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4065 wxString *arg7 = (wxString *) &arg7_defvalue ;
4066 wxStaticBitmap *result;
4067 wxPoint temp4 ;
4068 wxSize temp5 ;
4069 bool temp7 = False ;
4070 PyObject * obj0 = 0 ;
4071 PyObject * obj2 = 0 ;
4072 PyObject * obj3 = 0 ;
4073 PyObject * obj4 = 0 ;
4074 PyObject * obj6 = 0 ;
4075 char *kwnames[] = {
4076 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4077 };
4078
4079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4081 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4082 if (arg3 == NULL) {
4083 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4084 }
4085 if (obj3) {
4086 {
4087 arg4 = &temp4;
4088 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4089 }
4090 }
4091 if (obj4) {
4092 {
4093 arg5 = &temp5;
4094 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4095 }
4096 }
4097 if (obj6) {
4098 {
4099 arg7 = wxString_in_helper(obj6);
4100 if (arg7 == NULL) SWIG_fail;
4101 temp7 = True;
4102 }
4103 }
4104 {
4105 PyThreadState* __tstate = wxPyBeginAllowThreads();
4106 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4107
4108 wxPyEndAllowThreads(__tstate);
4109 if (PyErr_Occurred()) SWIG_fail;
4110 }
4111 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4112 {
4113 if (temp7)
4114 delete arg7;
4115 }
4116 return resultobj;
4117 fail:
4118 {
4119 if (temp7)
4120 delete arg7;
4121 }
4122 return NULL;
4123 }
4124
4125
4126 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4127 PyObject *resultobj;
4128 wxStaticBitmap *result;
4129 char *kwnames[] = {
4130 NULL
4131 };
4132
4133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4134 {
4135 PyThreadState* __tstate = wxPyBeginAllowThreads();
4136 result = (wxStaticBitmap *)new wxStaticBitmap();
4137
4138 wxPyEndAllowThreads(__tstate);
4139 if (PyErr_Occurred()) SWIG_fail;
4140 }
4141 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4142 return resultobj;
4143 fail:
4144 return NULL;
4145 }
4146
4147
4148 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4149 PyObject *resultobj;
4150 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4151 wxWindow *arg2 = (wxWindow *) 0 ;
4152 int arg3 ;
4153 wxBitmap *arg4 = 0 ;
4154 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4155 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4156 wxSize const &arg6_defvalue = wxDefaultSize ;
4157 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4158 long arg7 = (long) 0 ;
4159 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4160 wxString *arg8 = (wxString *) &arg8_defvalue ;
4161 bool result;
4162 wxPoint temp5 ;
4163 wxSize temp6 ;
4164 bool temp8 = False ;
4165 PyObject * obj0 = 0 ;
4166 PyObject * obj1 = 0 ;
4167 PyObject * obj3 = 0 ;
4168 PyObject * obj4 = 0 ;
4169 PyObject * obj5 = 0 ;
4170 PyObject * obj7 = 0 ;
4171 char *kwnames[] = {
4172 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4173 };
4174
4175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4177 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4178 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4179 if (arg4 == NULL) {
4180 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4181 }
4182 if (obj4) {
4183 {
4184 arg5 = &temp5;
4185 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4186 }
4187 }
4188 if (obj5) {
4189 {
4190 arg6 = &temp6;
4191 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4192 }
4193 }
4194 if (obj7) {
4195 {
4196 arg8 = wxString_in_helper(obj7);
4197 if (arg8 == NULL) SWIG_fail;
4198 temp8 = True;
4199 }
4200 }
4201 {
4202 PyThreadState* __tstate = wxPyBeginAllowThreads();
4203 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4204
4205 wxPyEndAllowThreads(__tstate);
4206 if (PyErr_Occurred()) SWIG_fail;
4207 }
4208 resultobj = PyInt_FromLong((long)result);
4209 {
4210 if (temp8)
4211 delete arg8;
4212 }
4213 return resultobj;
4214 fail:
4215 {
4216 if (temp8)
4217 delete arg8;
4218 }
4219 return NULL;
4220 }
4221
4222
4223 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4224 PyObject *resultobj;
4225 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4226 wxBitmap result;
4227 PyObject * obj0 = 0 ;
4228 char *kwnames[] = {
4229 (char *) "self", NULL
4230 };
4231
4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4234 {
4235 PyThreadState* __tstate = wxPyBeginAllowThreads();
4236 result = (arg1)->GetBitmap();
4237
4238 wxPyEndAllowThreads(__tstate);
4239 if (PyErr_Occurred()) SWIG_fail;
4240 }
4241 {
4242 wxBitmap * resultptr;
4243 resultptr = new wxBitmap((wxBitmap &) result);
4244 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4245 }
4246 return resultobj;
4247 fail:
4248 return NULL;
4249 }
4250
4251
4252 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4253 PyObject *resultobj;
4254 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4255 wxBitmap *arg2 = 0 ;
4256 PyObject * obj0 = 0 ;
4257 PyObject * obj1 = 0 ;
4258 char *kwnames[] = {
4259 (char *) "self",(char *) "bitmap", NULL
4260 };
4261
4262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4265 if (arg2 == NULL) {
4266 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4267 }
4268 {
4269 PyThreadState* __tstate = wxPyBeginAllowThreads();
4270 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4271
4272 wxPyEndAllowThreads(__tstate);
4273 if (PyErr_Occurred()) SWIG_fail;
4274 }
4275 Py_INCREF(Py_None); resultobj = Py_None;
4276 return resultobj;
4277 fail:
4278 return NULL;
4279 }
4280
4281
4282 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4283 PyObject *resultobj;
4284 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4285 wxIcon *arg2 = 0 ;
4286 PyObject * obj0 = 0 ;
4287 PyObject * obj1 = 0 ;
4288 char *kwnames[] = {
4289 (char *) "self",(char *) "icon", NULL
4290 };
4291
4292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4295 if (arg2 == NULL) {
4296 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4297 }
4298 {
4299 PyThreadState* __tstate = wxPyBeginAllowThreads();
4300 (arg1)->SetIcon((wxIcon const &)*arg2);
4301
4302 wxPyEndAllowThreads(__tstate);
4303 if (PyErr_Occurred()) SWIG_fail;
4304 }
4305 Py_INCREF(Py_None); resultobj = Py_None;
4306 return resultobj;
4307 fail:
4308 return NULL;
4309 }
4310
4311
4312 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4313 PyObject *obj;
4314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4315 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4316 Py_INCREF(obj);
4317 return Py_BuildValue((char *)"");
4318 }
4319 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4320 PyObject *resultobj;
4321 wxWindow *arg1 = (wxWindow *) 0 ;
4322 int arg2 ;
4323 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4324 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4325 wxSize const &arg4_defvalue = wxDefaultSize ;
4326 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4327 int arg5 = (int) 0 ;
4328 wxString *arg6 = (wxString *) NULL ;
4329 long arg7 = (long) 0 ;
4330 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4331 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4332 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4333 wxString *arg9 = (wxString *) &arg9_defvalue ;
4334 wxListBox *result;
4335 wxPoint temp3 ;
4336 wxSize temp4 ;
4337 bool temp8 = False ;
4338 PyObject * obj0 = 0 ;
4339 PyObject * obj2 = 0 ;
4340 PyObject * obj3 = 0 ;
4341 PyObject * obj4 = 0 ;
4342 PyObject * obj6 = 0 ;
4343 PyObject * obj7 = 0 ;
4344 char *kwnames[] = {
4345 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4346 };
4347
4348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4350 if (obj2) {
4351 {
4352 arg3 = &temp3;
4353 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4354 }
4355 }
4356 if (obj3) {
4357 {
4358 arg4 = &temp4;
4359 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4360 }
4361 }
4362 if (obj4) {
4363 {
4364 arg5 = PyList_Size(obj4);
4365 arg6 = wxString_LIST_helper(obj4);
4366 if (arg6 == NULL) SWIG_fail;
4367 }
4368 }
4369 if (obj6) {
4370 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4371 if (arg8 == NULL) {
4372 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4373 }
4374 }
4375 if (obj7) {
4376 {
4377 arg9 = wxString_in_helper(obj7);
4378 if (arg9 == NULL) SWIG_fail;
4379 temp8 = True;
4380 }
4381 }
4382 {
4383 PyThreadState* __tstate = wxPyBeginAllowThreads();
4384 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4385
4386 wxPyEndAllowThreads(__tstate);
4387 if (PyErr_Occurred()) SWIG_fail;
4388 }
4389 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4390 {
4391 if (arg6) delete [] arg6;
4392 }
4393 {
4394 if (temp8)
4395 delete arg9;
4396 }
4397 return resultobj;
4398 fail:
4399 {
4400 if (arg6) delete [] arg6;
4401 }
4402 {
4403 if (temp8)
4404 delete arg9;
4405 }
4406 return NULL;
4407 }
4408
4409
4410 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4411 PyObject *resultobj;
4412 wxListBox *result;
4413 char *kwnames[] = {
4414 NULL
4415 };
4416
4417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4418 {
4419 PyThreadState* __tstate = wxPyBeginAllowThreads();
4420 result = (wxListBox *)new wxListBox();
4421
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4426 return resultobj;
4427 fail:
4428 return NULL;
4429 }
4430
4431
4432 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4433 PyObject *resultobj;
4434 wxListBox *arg1 = (wxListBox *) 0 ;
4435 wxWindow *arg2 = (wxWindow *) 0 ;
4436 int arg3 ;
4437 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4438 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4439 wxSize const &arg5_defvalue = wxDefaultSize ;
4440 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4441 int arg6 = (int) 0 ;
4442 wxString *arg7 = (wxString *) NULL ;
4443 long arg8 = (long) 0 ;
4444 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4445 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4446 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4447 wxString *arg10 = (wxString *) &arg10_defvalue ;
4448 bool result;
4449 wxPoint temp4 ;
4450 wxSize temp5 ;
4451 bool temp9 = False ;
4452 PyObject * obj0 = 0 ;
4453 PyObject * obj1 = 0 ;
4454 PyObject * obj3 = 0 ;
4455 PyObject * obj4 = 0 ;
4456 PyObject * obj5 = 0 ;
4457 PyObject * obj7 = 0 ;
4458 PyObject * obj8 = 0 ;
4459 char *kwnames[] = {
4460 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4461 };
4462
4463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4465 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4466 if (obj3) {
4467 {
4468 arg4 = &temp4;
4469 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4470 }
4471 }
4472 if (obj4) {
4473 {
4474 arg5 = &temp5;
4475 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4476 }
4477 }
4478 if (obj5) {
4479 {
4480 arg6 = PyList_Size(obj5);
4481 arg7 = wxString_LIST_helper(obj5);
4482 if (arg7 == NULL) SWIG_fail;
4483 }
4484 }
4485 if (obj7) {
4486 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4487 if (arg9 == NULL) {
4488 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4489 }
4490 }
4491 if (obj8) {
4492 {
4493 arg10 = wxString_in_helper(obj8);
4494 if (arg10 == NULL) SWIG_fail;
4495 temp9 = True;
4496 }
4497 }
4498 {
4499 PyThreadState* __tstate = wxPyBeginAllowThreads();
4500 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4501
4502 wxPyEndAllowThreads(__tstate);
4503 if (PyErr_Occurred()) SWIG_fail;
4504 }
4505 resultobj = PyInt_FromLong((long)result);
4506 {
4507 if (arg7) delete [] arg7;
4508 }
4509 {
4510 if (temp9)
4511 delete arg10;
4512 }
4513 return resultobj;
4514 fail:
4515 {
4516 if (arg7) delete [] arg7;
4517 }
4518 {
4519 if (temp9)
4520 delete arg10;
4521 }
4522 return NULL;
4523 }
4524
4525
4526 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4527 PyObject *resultobj;
4528 wxListBox *arg1 = (wxListBox *) 0 ;
4529 wxString *arg2 = 0 ;
4530 int arg3 ;
4531 PyObject *arg4 = (PyObject *) NULL ;
4532 bool temp2 = False ;
4533 PyObject * obj0 = 0 ;
4534 PyObject * obj1 = 0 ;
4535 PyObject * obj3 = 0 ;
4536 char *kwnames[] = {
4537 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4538 };
4539
4540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4542 {
4543 arg2 = wxString_in_helper(obj1);
4544 if (arg2 == NULL) SWIG_fail;
4545 temp2 = True;
4546 }
4547 if (obj3) {
4548 arg4 = obj3;
4549 }
4550 {
4551 PyThreadState* __tstate = wxPyBeginAllowThreads();
4552 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4553
4554 wxPyEndAllowThreads(__tstate);
4555 if (PyErr_Occurred()) SWIG_fail;
4556 }
4557 Py_INCREF(Py_None); resultobj = Py_None;
4558 {
4559 if (temp2)
4560 delete arg2;
4561 }
4562 return resultobj;
4563 fail:
4564 {
4565 if (temp2)
4566 delete arg2;
4567 }
4568 return NULL;
4569 }
4570
4571
4572 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj;
4574 wxListBox *arg1 = (wxListBox *) 0 ;
4575 wxArrayString *arg2 = 0 ;
4576 int arg3 ;
4577 PyObject * obj0 = 0 ;
4578 PyObject * obj1 = 0 ;
4579 char *kwnames[] = {
4580 (char *) "self",(char *) "items",(char *) "pos", NULL
4581 };
4582
4583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4585 {
4586 if (! PySequence_Check(obj1)) {
4587 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4588 SWIG_fail;
4589 }
4590 arg2 = new wxArrayString;
4591 int i, len=PySequence_Length(obj1);
4592 for (i=0; i<len; i++) {
4593 PyObject* item = PySequence_GetItem(obj1, i);
4594 #if wxUSE_UNICODE
4595 PyObject* str = PyObject_Unicode(item);
4596 #else
4597 PyObject* str = PyObject_Str(item);
4598 #endif
4599 arg2->Add(Py2wxString(str));
4600 Py_DECREF(item);
4601 Py_DECREF(str);
4602 }
4603 }
4604 {
4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
4606 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4607
4608 wxPyEndAllowThreads(__tstate);
4609 if (PyErr_Occurred()) SWIG_fail;
4610 }
4611 Py_INCREF(Py_None); resultobj = Py_None;
4612 {
4613 if (arg2) delete arg2;
4614 }
4615 return resultobj;
4616 fail:
4617 {
4618 if (arg2) delete arg2;
4619 }
4620 return NULL;
4621 }
4622
4623
4624 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4625 PyObject *resultobj;
4626 wxListBox *arg1 = (wxListBox *) 0 ;
4627 wxArrayString *arg2 = 0 ;
4628 PyObject * obj0 = 0 ;
4629 PyObject * obj1 = 0 ;
4630 char *kwnames[] = {
4631 (char *) "self",(char *) "items", NULL
4632 };
4633
4634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4636 {
4637 if (! PySequence_Check(obj1)) {
4638 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4639 SWIG_fail;
4640 }
4641 arg2 = new wxArrayString;
4642 int i, len=PySequence_Length(obj1);
4643 for (i=0; i<len; i++) {
4644 PyObject* item = PySequence_GetItem(obj1, i);
4645 #if wxUSE_UNICODE
4646 PyObject* str = PyObject_Unicode(item);
4647 #else
4648 PyObject* str = PyObject_Str(item);
4649 #endif
4650 arg2->Add(Py2wxString(str));
4651 Py_DECREF(item);
4652 Py_DECREF(str);
4653 }
4654 }
4655 {
4656 PyThreadState* __tstate = wxPyBeginAllowThreads();
4657 (arg1)->Set((wxArrayString const &)*arg2);
4658
4659 wxPyEndAllowThreads(__tstate);
4660 if (PyErr_Occurred()) SWIG_fail;
4661 }
4662 Py_INCREF(Py_None); resultobj = Py_None;
4663 {
4664 if (arg2) delete arg2;
4665 }
4666 return resultobj;
4667 fail:
4668 {
4669 if (arg2) delete arg2;
4670 }
4671 return NULL;
4672 }
4673
4674
4675 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj;
4677 wxListBox *arg1 = (wxListBox *) 0 ;
4678 int arg2 ;
4679 bool result;
4680 PyObject * obj0 = 0 ;
4681 char *kwnames[] = {
4682 (char *) "self",(char *) "n", NULL
4683 };
4684
4685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4687 {
4688 PyThreadState* __tstate = wxPyBeginAllowThreads();
4689 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4690
4691 wxPyEndAllowThreads(__tstate);
4692 if (PyErr_Occurred()) SWIG_fail;
4693 }
4694 resultobj = PyInt_FromLong((long)result);
4695 return resultobj;
4696 fail:
4697 return NULL;
4698 }
4699
4700
4701 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4702 PyObject *resultobj;
4703 wxListBox *arg1 = (wxListBox *) 0 ;
4704 int arg2 ;
4705 bool arg3 = (bool) True ;
4706 PyObject * obj0 = 0 ;
4707 PyObject * obj2 = 0 ;
4708 char *kwnames[] = {
4709 (char *) "self",(char *) "n",(char *) "select", NULL
4710 };
4711
4712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4714 if (obj2) {
4715 arg3 = PyInt_AsLong(obj2) ? true : false;
4716 if (PyErr_Occurred()) SWIG_fail;
4717 }
4718 {
4719 PyThreadState* __tstate = wxPyBeginAllowThreads();
4720 (arg1)->SetSelection(arg2,arg3);
4721
4722 wxPyEndAllowThreads(__tstate);
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 Py_INCREF(Py_None); resultobj = Py_None;
4726 return resultobj;
4727 fail:
4728 return NULL;
4729 }
4730
4731
4732 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4733 PyObject *resultobj;
4734 wxListBox *arg1 = (wxListBox *) 0 ;
4735 int arg2 ;
4736 PyObject * obj0 = 0 ;
4737 char *kwnames[] = {
4738 (char *) "self",(char *) "n", NULL
4739 };
4740
4741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4743 {
4744 PyThreadState* __tstate = wxPyBeginAllowThreads();
4745 (arg1)->Select(arg2);
4746
4747 wxPyEndAllowThreads(__tstate);
4748 if (PyErr_Occurred()) SWIG_fail;
4749 }
4750 Py_INCREF(Py_None); resultobj = Py_None;
4751 return resultobj;
4752 fail:
4753 return NULL;
4754 }
4755
4756
4757 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4758 PyObject *resultobj;
4759 wxListBox *arg1 = (wxListBox *) 0 ;
4760 int arg2 ;
4761 PyObject * obj0 = 0 ;
4762 char *kwnames[] = {
4763 (char *) "self",(char *) "n", NULL
4764 };
4765
4766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4768 {
4769 PyThreadState* __tstate = wxPyBeginAllowThreads();
4770 (arg1)->Deselect(arg2);
4771
4772 wxPyEndAllowThreads(__tstate);
4773 if (PyErr_Occurred()) SWIG_fail;
4774 }
4775 Py_INCREF(Py_None); resultobj = Py_None;
4776 return resultobj;
4777 fail:
4778 return NULL;
4779 }
4780
4781
4782 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4783 PyObject *resultobj;
4784 wxListBox *arg1 = (wxListBox *) 0 ;
4785 int arg2 = (int) -1 ;
4786 PyObject * obj0 = 0 ;
4787 char *kwnames[] = {
4788 (char *) "self",(char *) "itemToLeaveSelected", NULL
4789 };
4790
4791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4793 {
4794 PyThreadState* __tstate = wxPyBeginAllowThreads();
4795 (arg1)->DeselectAll(arg2);
4796
4797 wxPyEndAllowThreads(__tstate);
4798 if (PyErr_Occurred()) SWIG_fail;
4799 }
4800 Py_INCREF(Py_None); resultobj = Py_None;
4801 return resultobj;
4802 fail:
4803 return NULL;
4804 }
4805
4806
4807 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4808 PyObject *resultobj;
4809 wxListBox *arg1 = (wxListBox *) 0 ;
4810 wxString *arg2 = 0 ;
4811 bool arg3 = (bool) True ;
4812 bool result;
4813 bool temp2 = False ;
4814 PyObject * obj0 = 0 ;
4815 PyObject * obj1 = 0 ;
4816 PyObject * obj2 = 0 ;
4817 char *kwnames[] = {
4818 (char *) "self",(char *) "s",(char *) "select", NULL
4819 };
4820
4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4823 {
4824 arg2 = wxString_in_helper(obj1);
4825 if (arg2 == NULL) SWIG_fail;
4826 temp2 = True;
4827 }
4828 if (obj2) {
4829 arg3 = PyInt_AsLong(obj2) ? true : false;
4830 if (PyErr_Occurred()) SWIG_fail;
4831 }
4832 {
4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4834 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4835
4836 wxPyEndAllowThreads(__tstate);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
4839 resultobj = PyInt_FromLong((long)result);
4840 {
4841 if (temp2)
4842 delete arg2;
4843 }
4844 return resultobj;
4845 fail:
4846 {
4847 if (temp2)
4848 delete arg2;
4849 }
4850 return NULL;
4851 }
4852
4853
4854 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj;
4856 wxListBox *arg1 = (wxListBox *) 0 ;
4857 PyObject *result;
4858 PyObject * obj0 = 0 ;
4859 char *kwnames[] = {
4860 (char *) "self", NULL
4861 };
4862
4863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4865 {
4866 PyThreadState* __tstate = wxPyBeginAllowThreads();
4867 result = (PyObject *)wxListBox_GetSelections(arg1);
4868
4869 wxPyEndAllowThreads(__tstate);
4870 if (PyErr_Occurred()) SWIG_fail;
4871 }
4872 resultobj = result;
4873 return resultobj;
4874 fail:
4875 return NULL;
4876 }
4877
4878
4879 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4880 PyObject *resultobj;
4881 wxListBox *arg1 = (wxListBox *) 0 ;
4882 int arg2 ;
4883 PyObject * obj0 = 0 ;
4884 char *kwnames[] = {
4885 (char *) "self",(char *) "n", NULL
4886 };
4887
4888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4890 {
4891 PyThreadState* __tstate = wxPyBeginAllowThreads();
4892 (arg1)->SetFirstItem(arg2);
4893
4894 wxPyEndAllowThreads(__tstate);
4895 if (PyErr_Occurred()) SWIG_fail;
4896 }
4897 Py_INCREF(Py_None); resultobj = Py_None;
4898 return resultobj;
4899 fail:
4900 return NULL;
4901 }
4902
4903
4904 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4905 PyObject *resultobj;
4906 wxListBox *arg1 = (wxListBox *) 0 ;
4907 wxString *arg2 = 0 ;
4908 bool temp2 = False ;
4909 PyObject * obj0 = 0 ;
4910 PyObject * obj1 = 0 ;
4911 char *kwnames[] = {
4912 (char *) "self",(char *) "s", NULL
4913 };
4914
4915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4917 {
4918 arg2 = wxString_in_helper(obj1);
4919 if (arg2 == NULL) SWIG_fail;
4920 temp2 = True;
4921 }
4922 {
4923 PyThreadState* __tstate = wxPyBeginAllowThreads();
4924 (arg1)->SetFirstItem((wxString const &)*arg2);
4925
4926 wxPyEndAllowThreads(__tstate);
4927 if (PyErr_Occurred()) SWIG_fail;
4928 }
4929 Py_INCREF(Py_None); resultobj = Py_None;
4930 {
4931 if (temp2)
4932 delete arg2;
4933 }
4934 return resultobj;
4935 fail:
4936 {
4937 if (temp2)
4938 delete arg2;
4939 }
4940 return NULL;
4941 }
4942
4943
4944 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4945 PyObject *resultobj;
4946 wxListBox *arg1 = (wxListBox *) 0 ;
4947 int arg2 ;
4948 PyObject * obj0 = 0 ;
4949 char *kwnames[] = {
4950 (char *) "self",(char *) "n", NULL
4951 };
4952
4953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4955 {
4956 PyThreadState* __tstate = wxPyBeginAllowThreads();
4957 (arg1)->EnsureVisible(arg2);
4958
4959 wxPyEndAllowThreads(__tstate);
4960 if (PyErr_Occurred()) SWIG_fail;
4961 }
4962 Py_INCREF(Py_None); resultobj = Py_None;
4963 return resultobj;
4964 fail:
4965 return NULL;
4966 }
4967
4968
4969 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4970 PyObject *resultobj;
4971 wxListBox *arg1 = (wxListBox *) 0 ;
4972 wxString *arg2 = 0 ;
4973 bool temp2 = False ;
4974 PyObject * obj0 = 0 ;
4975 PyObject * obj1 = 0 ;
4976 char *kwnames[] = {
4977 (char *) "self",(char *) "s", NULL
4978 };
4979
4980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4982 {
4983 arg2 = wxString_in_helper(obj1);
4984 if (arg2 == NULL) SWIG_fail;
4985 temp2 = True;
4986 }
4987 {
4988 PyThreadState* __tstate = wxPyBeginAllowThreads();
4989 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4990
4991 wxPyEndAllowThreads(__tstate);
4992 if (PyErr_Occurred()) SWIG_fail;
4993 }
4994 Py_INCREF(Py_None); resultobj = Py_None;
4995 {
4996 if (temp2)
4997 delete arg2;
4998 }
4999 return resultobj;
5000 fail:
5001 {
5002 if (temp2)
5003 delete arg2;
5004 }
5005 return NULL;
5006 }
5007
5008
5009 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5010 PyObject *resultobj;
5011 wxListBox *arg1 = (wxListBox *) 0 ;
5012 bool result;
5013 PyObject * obj0 = 0 ;
5014 char *kwnames[] = {
5015 (char *) "self", NULL
5016 };
5017
5018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5020 {
5021 PyThreadState* __tstate = wxPyBeginAllowThreads();
5022 result = (bool)((wxListBox const *)arg1)->IsSorted();
5023
5024 wxPyEndAllowThreads(__tstate);
5025 if (PyErr_Occurred()) SWIG_fail;
5026 }
5027 resultobj = PyInt_FromLong((long)result);
5028 return resultobj;
5029 fail:
5030 return NULL;
5031 }
5032
5033
5034 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5035 PyObject *obj;
5036 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5037 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5038 Py_INCREF(obj);
5039 return Py_BuildValue((char *)"");
5040 }
5041 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5042 PyObject *resultobj;
5043 wxWindow *arg1 = (wxWindow *) 0 ;
5044 int arg2 ;
5045 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5046 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5047 wxSize const &arg4_defvalue = wxDefaultSize ;
5048 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5049 int arg5 = (int) 0 ;
5050 wxString *arg6 = (wxString *) NULL ;
5051 long arg7 = (long) 0 ;
5052 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5053 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5054 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5055 wxString *arg9 = (wxString *) &arg9_defvalue ;
5056 wxCheckListBox *result;
5057 wxPoint temp3 ;
5058 wxSize temp4 ;
5059 bool temp8 = False ;
5060 PyObject * obj0 = 0 ;
5061 PyObject * obj2 = 0 ;
5062 PyObject * obj3 = 0 ;
5063 PyObject * obj4 = 0 ;
5064 PyObject * obj6 = 0 ;
5065 PyObject * obj7 = 0 ;
5066 char *kwnames[] = {
5067 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5068 };
5069
5070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5072 if (obj2) {
5073 {
5074 arg3 = &temp3;
5075 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5076 }
5077 }
5078 if (obj3) {
5079 {
5080 arg4 = &temp4;
5081 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5082 }
5083 }
5084 if (obj4) {
5085 {
5086 arg5 = PyList_Size(obj4);
5087 arg6 = wxString_LIST_helper(obj4);
5088 if (arg6 == NULL) SWIG_fail;
5089 }
5090 }
5091 if (obj6) {
5092 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5093 if (arg8 == NULL) {
5094 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5095 }
5096 }
5097 if (obj7) {
5098 {
5099 arg9 = wxString_in_helper(obj7);
5100 if (arg9 == NULL) SWIG_fail;
5101 temp8 = True;
5102 }
5103 }
5104 {
5105 PyThreadState* __tstate = wxPyBeginAllowThreads();
5106 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5107
5108 wxPyEndAllowThreads(__tstate);
5109 if (PyErr_Occurred()) SWIG_fail;
5110 }
5111 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5112 {
5113 if (arg6) delete [] arg6;
5114 }
5115 {
5116 if (temp8)
5117 delete arg9;
5118 }
5119 return resultobj;
5120 fail:
5121 {
5122 if (arg6) delete [] arg6;
5123 }
5124 {
5125 if (temp8)
5126 delete arg9;
5127 }
5128 return NULL;
5129 }
5130
5131
5132 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5133 PyObject *resultobj;
5134 wxCheckListBox *result;
5135 char *kwnames[] = {
5136 NULL
5137 };
5138
5139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5140 {
5141 PyThreadState* __tstate = wxPyBeginAllowThreads();
5142 result = (wxCheckListBox *)new wxCheckListBox();
5143
5144 wxPyEndAllowThreads(__tstate);
5145 if (PyErr_Occurred()) SWIG_fail;
5146 }
5147 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5148 return resultobj;
5149 fail:
5150 return NULL;
5151 }
5152
5153
5154 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5155 PyObject *resultobj;
5156 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5157 wxWindow *arg2 = (wxWindow *) 0 ;
5158 int arg3 ;
5159 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5160 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5161 wxSize const &arg5_defvalue = wxDefaultSize ;
5162 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5163 int arg6 = (int) 0 ;
5164 wxString *arg7 = (wxString *) NULL ;
5165 long arg8 = (long) 0 ;
5166 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5167 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5168 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5169 wxString *arg10 = (wxString *) &arg10_defvalue ;
5170 bool result;
5171 wxPoint temp4 ;
5172 wxSize temp5 ;
5173 bool temp9 = False ;
5174 PyObject * obj0 = 0 ;
5175 PyObject * obj1 = 0 ;
5176 PyObject * obj3 = 0 ;
5177 PyObject * obj4 = 0 ;
5178 PyObject * obj5 = 0 ;
5179 PyObject * obj7 = 0 ;
5180 PyObject * obj8 = 0 ;
5181 char *kwnames[] = {
5182 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5183 };
5184
5185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5187 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5188 if (obj3) {
5189 {
5190 arg4 = &temp4;
5191 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5192 }
5193 }
5194 if (obj4) {
5195 {
5196 arg5 = &temp5;
5197 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5198 }
5199 }
5200 if (obj5) {
5201 {
5202 arg6 = PyList_Size(obj5);
5203 arg7 = wxString_LIST_helper(obj5);
5204 if (arg7 == NULL) SWIG_fail;
5205 }
5206 }
5207 if (obj7) {
5208 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5209 if (arg9 == NULL) {
5210 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5211 }
5212 }
5213 if (obj8) {
5214 {
5215 arg10 = wxString_in_helper(obj8);
5216 if (arg10 == NULL) SWIG_fail;
5217 temp9 = True;
5218 }
5219 }
5220 {
5221 PyThreadState* __tstate = wxPyBeginAllowThreads();
5222 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5223
5224 wxPyEndAllowThreads(__tstate);
5225 if (PyErr_Occurred()) SWIG_fail;
5226 }
5227 resultobj = PyInt_FromLong((long)result);
5228 {
5229 if (arg7) delete [] arg7;
5230 }
5231 {
5232 if (temp9)
5233 delete arg10;
5234 }
5235 return resultobj;
5236 fail:
5237 {
5238 if (arg7) delete [] arg7;
5239 }
5240 {
5241 if (temp9)
5242 delete arg10;
5243 }
5244 return NULL;
5245 }
5246
5247
5248 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5249 PyObject *resultobj;
5250 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5251 int arg2 ;
5252 bool result;
5253 PyObject * obj0 = 0 ;
5254 char *kwnames[] = {
5255 (char *) "self",(char *) "index", NULL
5256 };
5257
5258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5260 {
5261 PyThreadState* __tstate = wxPyBeginAllowThreads();
5262 result = (bool)(arg1)->IsChecked(arg2);
5263
5264 wxPyEndAllowThreads(__tstate);
5265 if (PyErr_Occurred()) SWIG_fail;
5266 }
5267 resultobj = PyInt_FromLong((long)result);
5268 return resultobj;
5269 fail:
5270 return NULL;
5271 }
5272
5273
5274 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5275 PyObject *resultobj;
5276 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5277 int arg2 ;
5278 int arg3 = (int) True ;
5279 PyObject * obj0 = 0 ;
5280 char *kwnames[] = {
5281 (char *) "self",(char *) "index",(char *) "check", NULL
5282 };
5283
5284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5286 {
5287 PyThreadState* __tstate = wxPyBeginAllowThreads();
5288 (arg1)->Check(arg2,arg3);
5289
5290 wxPyEndAllowThreads(__tstate);
5291 if (PyErr_Occurred()) SWIG_fail;
5292 }
5293 Py_INCREF(Py_None); resultobj = Py_None;
5294 return resultobj;
5295 fail:
5296 return NULL;
5297 }
5298
5299
5300 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5301 PyObject *resultobj;
5302 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5303 int result;
5304 PyObject * obj0 = 0 ;
5305 char *kwnames[] = {
5306 (char *) "self", NULL
5307 };
5308
5309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5311 {
5312 PyThreadState* __tstate = wxPyBeginAllowThreads();
5313 result = (int)(arg1)->GetItemHeight();
5314
5315 wxPyEndAllowThreads(__tstate);
5316 if (PyErr_Occurred()) SWIG_fail;
5317 }
5318 resultobj = PyInt_FromLong((long)result);
5319 return resultobj;
5320 fail:
5321 return NULL;
5322 }
5323
5324
5325 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5326 PyObject *resultobj;
5327 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5328 wxPoint *arg2 = 0 ;
5329 int result;
5330 wxPoint temp2 ;
5331 PyObject * obj0 = 0 ;
5332 PyObject * obj1 = 0 ;
5333 char *kwnames[] = {
5334 (char *) "self",(char *) "pt", NULL
5335 };
5336
5337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5339 {
5340 arg2 = &temp2;
5341 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5342 }
5343 {
5344 PyThreadState* __tstate = wxPyBeginAllowThreads();
5345 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5346
5347 wxPyEndAllowThreads(__tstate);
5348 if (PyErr_Occurred()) SWIG_fail;
5349 }
5350 resultobj = PyInt_FromLong((long)result);
5351 return resultobj;
5352 fail:
5353 return NULL;
5354 }
5355
5356
5357 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5358 PyObject *resultobj;
5359 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5360 int arg2 ;
5361 int arg3 ;
5362 int result;
5363 PyObject * obj0 = 0 ;
5364 char *kwnames[] = {
5365 (char *) "self",(char *) "x",(char *) "y", NULL
5366 };
5367
5368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5370 {
5371 PyThreadState* __tstate = wxPyBeginAllowThreads();
5372 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5373
5374 wxPyEndAllowThreads(__tstate);
5375 if (PyErr_Occurred()) SWIG_fail;
5376 }
5377 resultobj = PyInt_FromLong((long)result);
5378 return resultobj;
5379 fail:
5380 return NULL;
5381 }
5382
5383
5384 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5385 PyObject *obj;
5386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5387 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5388 Py_INCREF(obj);
5389 return Py_BuildValue((char *)"");
5390 }
5391 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5392 PyObject *resultobj;
5393 wxTextAttr *result;
5394
5395 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5396 {
5397 PyThreadState* __tstate = wxPyBeginAllowThreads();
5398 result = (wxTextAttr *)new wxTextAttr();
5399
5400 wxPyEndAllowThreads(__tstate);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5404 return resultobj;
5405 fail:
5406 return NULL;
5407 }
5408
5409
5410 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5411 PyObject *resultobj;
5412 wxColour *arg1 = 0 ;
5413 wxColour const &arg2_defvalue = wxNullColour ;
5414 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5415 wxFont const &arg3_defvalue = wxNullFont ;
5416 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5417 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5418 wxTextAttr *result;
5419 wxColour temp1 ;
5420 wxColour temp2 ;
5421 PyObject * obj0 = 0 ;
5422 PyObject * obj1 = 0 ;
5423 PyObject * obj2 = 0 ;
5424
5425 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5426 {
5427 arg1 = &temp1;
5428 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5429 }
5430 if (obj1) {
5431 {
5432 arg2 = &temp2;
5433 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5434 }
5435 }
5436 if (obj2) {
5437 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5438 if (arg3 == NULL) {
5439 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5440 }
5441 }
5442 {
5443 PyThreadState* __tstate = wxPyBeginAllowThreads();
5444 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5445
5446 wxPyEndAllowThreads(__tstate);
5447 if (PyErr_Occurred()) SWIG_fail;
5448 }
5449 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5450 return resultobj;
5451 fail:
5452 return NULL;
5453 }
5454
5455
5456 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5457 int argc;
5458 PyObject *argv[5];
5459 int ii;
5460
5461 argc = PyObject_Length(args);
5462 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5463 argv[ii] = PyTuple_GetItem(args,ii);
5464 }
5465 if (argc == 0) {
5466 return _wrap_new_TextAttr__SWIG_0(self,args);
5467 }
5468 if ((argc >= 1) && (argc <= 4)) {
5469 int _v;
5470 {
5471 _v = wxColour_typecheck(argv[0]);
5472 }
5473 if (_v) {
5474 if (argc <= 1) {
5475 return _wrap_new_TextAttr__SWIG_1(self,args);
5476 }
5477 {
5478 _v = wxColour_typecheck(argv[1]);
5479 }
5480 if (_v) {
5481 if (argc <= 2) {
5482 return _wrap_new_TextAttr__SWIG_1(self,args);
5483 }
5484 {
5485 void *ptr;
5486 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5487 _v = 0;
5488 PyErr_Clear();
5489 } else {
5490 _v = 1;
5491 }
5492 }
5493 if (_v) {
5494 if (argc <= 3) {
5495 return _wrap_new_TextAttr__SWIG_1(self,args);
5496 }
5497 {
5498 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5499 }
5500 if (_v) {
5501 return _wrap_new_TextAttr__SWIG_1(self,args);
5502 }
5503 }
5504 }
5505 }
5506 }
5507
5508 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5509 return NULL;
5510 }
5511
5512
5513 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5514 PyObject *resultobj;
5515 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5516 PyObject * obj0 = 0 ;
5517 char *kwnames[] = {
5518 (char *) "self", NULL
5519 };
5520
5521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5523 {
5524 PyThreadState* __tstate = wxPyBeginAllowThreads();
5525 (arg1)->Init();
5526
5527 wxPyEndAllowThreads(__tstate);
5528 if (PyErr_Occurred()) SWIG_fail;
5529 }
5530 Py_INCREF(Py_None); resultobj = Py_None;
5531 return resultobj;
5532 fail:
5533 return NULL;
5534 }
5535
5536
5537 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5538 PyObject *resultobj;
5539 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5540 wxColour *arg2 = 0 ;
5541 wxColour temp2 ;
5542 PyObject * obj0 = 0 ;
5543 PyObject * obj1 = 0 ;
5544 char *kwnames[] = {
5545 (char *) "self",(char *) "colText", NULL
5546 };
5547
5548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5550 {
5551 arg2 = &temp2;
5552 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5553 }
5554 {
5555 PyThreadState* __tstate = wxPyBeginAllowThreads();
5556 (arg1)->SetTextColour((wxColour const &)*arg2);
5557
5558 wxPyEndAllowThreads(__tstate);
5559 if (PyErr_Occurred()) SWIG_fail;
5560 }
5561 Py_INCREF(Py_None); resultobj = Py_None;
5562 return resultobj;
5563 fail:
5564 return NULL;
5565 }
5566
5567
5568 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5569 PyObject *resultobj;
5570 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5571 wxColour *arg2 = 0 ;
5572 wxColour temp2 ;
5573 PyObject * obj0 = 0 ;
5574 PyObject * obj1 = 0 ;
5575 char *kwnames[] = {
5576 (char *) "self",(char *) "colBack", NULL
5577 };
5578
5579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5581 {
5582 arg2 = &temp2;
5583 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5584 }
5585 {
5586 PyThreadState* __tstate = wxPyBeginAllowThreads();
5587 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5588
5589 wxPyEndAllowThreads(__tstate);
5590 if (PyErr_Occurred()) SWIG_fail;
5591 }
5592 Py_INCREF(Py_None); resultobj = Py_None;
5593 return resultobj;
5594 fail:
5595 return NULL;
5596 }
5597
5598
5599 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5600 PyObject *resultobj;
5601 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5602 wxFont *arg2 = 0 ;
5603 long arg3 = (long) wxTEXT_ATTR_FONT ;
5604 PyObject * obj0 = 0 ;
5605 PyObject * obj1 = 0 ;
5606 char *kwnames[] = {
5607 (char *) "self",(char *) "font",(char *) "flags", NULL
5608 };
5609
5610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5612 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5613 if (arg2 == NULL) {
5614 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5615 }
5616 {
5617 PyThreadState* __tstate = wxPyBeginAllowThreads();
5618 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5619
5620 wxPyEndAllowThreads(__tstate);
5621 if (PyErr_Occurred()) SWIG_fail;
5622 }
5623 Py_INCREF(Py_None); resultobj = Py_None;
5624 return resultobj;
5625 fail:
5626 return NULL;
5627 }
5628
5629
5630 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5631 PyObject *resultobj;
5632 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5633 int arg2 ;
5634 PyObject * obj0 = 0 ;
5635 char *kwnames[] = {
5636 (char *) "self",(char *) "alignment", NULL
5637 };
5638
5639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5641 {
5642 PyThreadState* __tstate = wxPyBeginAllowThreads();
5643 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5644
5645 wxPyEndAllowThreads(__tstate);
5646 if (PyErr_Occurred()) SWIG_fail;
5647 }
5648 Py_INCREF(Py_None); resultobj = Py_None;
5649 return resultobj;
5650 fail:
5651 return NULL;
5652 }
5653
5654
5655 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5656 PyObject *resultobj;
5657 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5658 wxArrayInt *arg2 = 0 ;
5659 PyObject * obj0 = 0 ;
5660 PyObject * obj1 = 0 ;
5661 char *kwnames[] = {
5662 (char *) "self",(char *) "tabs", NULL
5663 };
5664
5665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5667 {
5668 if (! PySequence_Check(obj1)) {
5669 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5670 SWIG_fail;
5671 }
5672 arg2 = new wxArrayInt;
5673 int i, len=PySequence_Length(obj1);
5674 for (i=0; i<len; i++) {
5675 PyObject* item = PySequence_GetItem(obj1, i);
5676 PyObject* number = PyNumber_Int(item);
5677 arg2->Add(PyInt_AS_LONG(number));
5678 Py_DECREF(item);
5679 Py_DECREF(number);
5680 }
5681 }
5682 {
5683 PyThreadState* __tstate = wxPyBeginAllowThreads();
5684 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5685
5686 wxPyEndAllowThreads(__tstate);
5687 if (PyErr_Occurred()) SWIG_fail;
5688 }
5689 Py_INCREF(Py_None); resultobj = Py_None;
5690 {
5691 if (arg2) delete arg2;
5692 }
5693 return resultobj;
5694 fail:
5695 {
5696 if (arg2) delete arg2;
5697 }
5698 return NULL;
5699 }
5700
5701
5702 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5703 PyObject *resultobj;
5704 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5705 int arg2 ;
5706 PyObject * obj0 = 0 ;
5707 char *kwnames[] = {
5708 (char *) "self",(char *) "indent", NULL
5709 };
5710
5711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5713 {
5714 PyThreadState* __tstate = wxPyBeginAllowThreads();
5715 (arg1)->SetLeftIndent(arg2);
5716
5717 wxPyEndAllowThreads(__tstate);
5718 if (PyErr_Occurred()) SWIG_fail;
5719 }
5720 Py_INCREF(Py_None); resultobj = Py_None;
5721 return resultobj;
5722 fail:
5723 return NULL;
5724 }
5725
5726
5727 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5728 PyObject *resultobj;
5729 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5730 int arg2 ;
5731 PyObject * obj0 = 0 ;
5732 char *kwnames[] = {
5733 (char *) "self",(char *) "indent", NULL
5734 };
5735
5736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 (arg1)->SetRightIndent(arg2);
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 Py_INCREF(Py_None); resultobj = Py_None;
5746 return resultobj;
5747 fail:
5748 return NULL;
5749 }
5750
5751
5752 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj;
5754 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5755 long arg2 ;
5756 PyObject * obj0 = 0 ;
5757 char *kwnames[] = {
5758 (char *) "self",(char *) "flags", NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 (arg1)->SetFlags(arg2);
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 Py_INCREF(Py_None); resultobj = Py_None;
5771 return resultobj;
5772 fail:
5773 return NULL;
5774 }
5775
5776
5777 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5778 PyObject *resultobj;
5779 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5780 bool result;
5781 PyObject * obj0 = 0 ;
5782 char *kwnames[] = {
5783 (char *) "self", NULL
5784 };
5785
5786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5788 {
5789 PyThreadState* __tstate = wxPyBeginAllowThreads();
5790 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5791
5792 wxPyEndAllowThreads(__tstate);
5793 if (PyErr_Occurred()) SWIG_fail;
5794 }
5795 resultobj = PyInt_FromLong((long)result);
5796 return resultobj;
5797 fail:
5798 return NULL;
5799 }
5800
5801
5802 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5803 PyObject *resultobj;
5804 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5805 bool result;
5806 PyObject * obj0 = 0 ;
5807 char *kwnames[] = {
5808 (char *) "self", NULL
5809 };
5810
5811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5813 {
5814 PyThreadState* __tstate = wxPyBeginAllowThreads();
5815 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5816
5817 wxPyEndAllowThreads(__tstate);
5818 if (PyErr_Occurred()) SWIG_fail;
5819 }
5820 resultobj = PyInt_FromLong((long)result);
5821 return resultobj;
5822 fail:
5823 return NULL;
5824 }
5825
5826
5827 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5828 PyObject *resultobj;
5829 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5830 bool result;
5831 PyObject * obj0 = 0 ;
5832 char *kwnames[] = {
5833 (char *) "self", NULL
5834 };
5835
5836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5838 {
5839 PyThreadState* __tstate = wxPyBeginAllowThreads();
5840 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5841
5842 wxPyEndAllowThreads(__tstate);
5843 if (PyErr_Occurred()) SWIG_fail;
5844 }
5845 resultobj = PyInt_FromLong((long)result);
5846 return resultobj;
5847 fail:
5848 return NULL;
5849 }
5850
5851
5852 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5853 PyObject *resultobj;
5854 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5855 bool result;
5856 PyObject * obj0 = 0 ;
5857 char *kwnames[] = {
5858 (char *) "self", NULL
5859 };
5860
5861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5863 {
5864 PyThreadState* __tstate = wxPyBeginAllowThreads();
5865 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5866
5867 wxPyEndAllowThreads(__tstate);
5868 if (PyErr_Occurred()) SWIG_fail;
5869 }
5870 resultobj = PyInt_FromLong((long)result);
5871 return resultobj;
5872 fail:
5873 return NULL;
5874 }
5875
5876
5877 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5878 PyObject *resultobj;
5879 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5880 bool result;
5881 PyObject * obj0 = 0 ;
5882 char *kwnames[] = {
5883 (char *) "self", NULL
5884 };
5885
5886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5888 {
5889 PyThreadState* __tstate = wxPyBeginAllowThreads();
5890 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5891
5892 wxPyEndAllowThreads(__tstate);
5893 if (PyErr_Occurred()) SWIG_fail;
5894 }
5895 resultobj = PyInt_FromLong((long)result);
5896 return resultobj;
5897 fail:
5898 return NULL;
5899 }
5900
5901
5902 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5903 PyObject *resultobj;
5904 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5905 bool result;
5906 PyObject * obj0 = 0 ;
5907 char *kwnames[] = {
5908 (char *) "self", NULL
5909 };
5910
5911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
5916
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 resultobj = PyInt_FromLong((long)result);
5921 return resultobj;
5922 fail:
5923 return NULL;
5924 }
5925
5926
5927 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5928 PyObject *resultobj;
5929 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5930 bool result;
5931 PyObject * obj0 = 0 ;
5932 char *kwnames[] = {
5933 (char *) "self", NULL
5934 };
5935
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5938 {
5939 PyThreadState* __tstate = wxPyBeginAllowThreads();
5940 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5941
5942 wxPyEndAllowThreads(__tstate);
5943 if (PyErr_Occurred()) SWIG_fail;
5944 }
5945 resultobj = PyInt_FromLong((long)result);
5946 return resultobj;
5947 fail:
5948 return NULL;
5949 }
5950
5951
5952 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5953 PyObject *resultobj;
5954 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5955 long arg2 ;
5956 bool result;
5957 PyObject * obj0 = 0 ;
5958 char *kwnames[] = {
5959 (char *) "self",(char *) "flag", NULL
5960 };
5961
5962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
5963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5964 {
5965 PyThreadState* __tstate = wxPyBeginAllowThreads();
5966 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5967
5968 wxPyEndAllowThreads(__tstate);
5969 if (PyErr_Occurred()) SWIG_fail;
5970 }
5971 resultobj = PyInt_FromLong((long)result);
5972 return resultobj;
5973 fail:
5974 return NULL;
5975 }
5976
5977
5978 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5979 PyObject *resultobj;
5980 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5981 wxColour *result;
5982 PyObject * obj0 = 0 ;
5983 char *kwnames[] = {
5984 (char *) "self", NULL
5985 };
5986
5987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5989 {
5990 PyThreadState* __tstate = wxPyBeginAllowThreads();
5991 {
5992 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
5993 result = (wxColour *) &_result_ref;
5994 }
5995
5996 wxPyEndAllowThreads(__tstate);
5997 if (PyErr_Occurred()) SWIG_fail;
5998 }
5999 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6000 return resultobj;
6001 fail:
6002 return NULL;
6003 }
6004
6005
6006 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6007 PyObject *resultobj;
6008 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6009 wxColour *result;
6010 PyObject * obj0 = 0 ;
6011 char *kwnames[] = {
6012 (char *) "self", NULL
6013 };
6014
6015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6017 {
6018 PyThreadState* __tstate = wxPyBeginAllowThreads();
6019 {
6020 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6021 result = (wxColour *) &_result_ref;
6022 }
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6028 return resultobj;
6029 fail:
6030 return NULL;
6031 }
6032
6033
6034 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6035 PyObject *resultobj;
6036 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6037 wxFont *result;
6038 PyObject * obj0 = 0 ;
6039 char *kwnames[] = {
6040 (char *) "self", NULL
6041 };
6042
6043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6045 {
6046 PyThreadState* __tstate = wxPyBeginAllowThreads();
6047 {
6048 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6049 result = (wxFont *) &_result_ref;
6050 }
6051
6052 wxPyEndAllowThreads(__tstate);
6053 if (PyErr_Occurred()) SWIG_fail;
6054 }
6055 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6056 return resultobj;
6057 fail:
6058 return NULL;
6059 }
6060
6061
6062 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6063 PyObject *resultobj;
6064 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6065 int result;
6066 PyObject * obj0 = 0 ;
6067 char *kwnames[] = {
6068 (char *) "self", NULL
6069 };
6070
6071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6073 {
6074 PyThreadState* __tstate = wxPyBeginAllowThreads();
6075 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6076
6077 wxPyEndAllowThreads(__tstate);
6078 if (PyErr_Occurred()) SWIG_fail;
6079 }
6080 resultobj = PyInt_FromLong((long)result);
6081 return resultobj;
6082 fail:
6083 return NULL;
6084 }
6085
6086
6087 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6088 PyObject *resultobj;
6089 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6090 wxArrayInt *result;
6091 PyObject * obj0 = 0 ;
6092 char *kwnames[] = {
6093 (char *) "self", NULL
6094 };
6095
6096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6098 {
6099 PyThreadState* __tstate = wxPyBeginAllowThreads();
6100 {
6101 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6102 result = (wxArrayInt *) &_result_ref;
6103 }
6104
6105 wxPyEndAllowThreads(__tstate);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
6108 {
6109 resultobj = PyList_New(0);
6110 size_t idx;
6111 for (idx = 0; idx < result->GetCount(); idx += 1) {
6112 PyObject* val = PyInt_FromLong( result->Item(idx) );
6113 PyList_Append(resultobj, val);
6114 Py_DECREF(val);
6115 }
6116 }
6117 return resultobj;
6118 fail:
6119 return NULL;
6120 }
6121
6122
6123 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6124 PyObject *resultobj;
6125 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6126 long result;
6127 PyObject * obj0 = 0 ;
6128 char *kwnames[] = {
6129 (char *) "self", NULL
6130 };
6131
6132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6134 {
6135 PyThreadState* __tstate = wxPyBeginAllowThreads();
6136 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6137
6138 wxPyEndAllowThreads(__tstate);
6139 if (PyErr_Occurred()) SWIG_fail;
6140 }
6141 resultobj = PyInt_FromLong((long)result);
6142 return resultobj;
6143 fail:
6144 return NULL;
6145 }
6146
6147
6148 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6149 PyObject *resultobj;
6150 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6151 long result;
6152 PyObject * obj0 = 0 ;
6153 char *kwnames[] = {
6154 (char *) "self", NULL
6155 };
6156
6157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6159 {
6160 PyThreadState* __tstate = wxPyBeginAllowThreads();
6161 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6162
6163 wxPyEndAllowThreads(__tstate);
6164 if (PyErr_Occurred()) SWIG_fail;
6165 }
6166 resultobj = PyInt_FromLong((long)result);
6167 return resultobj;
6168 fail:
6169 return NULL;
6170 }
6171
6172
6173 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6174 PyObject *resultobj;
6175 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6176 long result;
6177 PyObject * obj0 = 0 ;
6178 char *kwnames[] = {
6179 (char *) "self", NULL
6180 };
6181
6182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6184 {
6185 PyThreadState* __tstate = wxPyBeginAllowThreads();
6186 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6187
6188 wxPyEndAllowThreads(__tstate);
6189 if (PyErr_Occurred()) SWIG_fail;
6190 }
6191 resultobj = PyInt_FromLong((long)result);
6192 return resultobj;
6193 fail:
6194 return NULL;
6195 }
6196
6197
6198 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6199 PyObject *resultobj;
6200 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6201 bool result;
6202 PyObject * obj0 = 0 ;
6203 char *kwnames[] = {
6204 (char *) "self", NULL
6205 };
6206
6207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6209 {
6210 PyThreadState* __tstate = wxPyBeginAllowThreads();
6211 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6212
6213 wxPyEndAllowThreads(__tstate);
6214 if (PyErr_Occurred()) SWIG_fail;
6215 }
6216 resultobj = PyInt_FromLong((long)result);
6217 return resultobj;
6218 fail:
6219 return NULL;
6220 }
6221
6222
6223 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6224 PyObject *resultobj;
6225 wxTextAttr *arg1 = 0 ;
6226 wxTextAttr *arg2 = 0 ;
6227 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6228 wxTextAttr result;
6229 PyObject * obj0 = 0 ;
6230 PyObject * obj1 = 0 ;
6231 PyObject * obj2 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6238 if (arg1 == NULL) {
6239 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6240 }
6241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6242 if (arg2 == NULL) {
6243 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6244 }
6245 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6246 {
6247 PyThreadState* __tstate = wxPyBeginAllowThreads();
6248 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6249
6250 wxPyEndAllowThreads(__tstate);
6251 if (PyErr_Occurred()) SWIG_fail;
6252 }
6253 {
6254 wxTextAttr * resultptr;
6255 resultptr = new wxTextAttr((wxTextAttr &) result);
6256 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6257 }
6258 return resultobj;
6259 fail:
6260 return NULL;
6261 }
6262
6263
6264 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6265 PyObject *obj;
6266 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6267 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6268 Py_INCREF(obj);
6269 return Py_BuildValue((char *)"");
6270 }
6271 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6272 PyObject *resultobj;
6273 wxWindow *arg1 = (wxWindow *) 0 ;
6274 int arg2 ;
6275 wxString const &arg3_defvalue = wxPyEmptyString ;
6276 wxString *arg3 = (wxString *) &arg3_defvalue ;
6277 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6278 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6279 wxSize const &arg5_defvalue = wxDefaultSize ;
6280 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6281 long arg6 = (long) 0 ;
6282 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6283 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6284 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6285 wxString *arg8 = (wxString *) &arg8_defvalue ;
6286 wxTextCtrl *result;
6287 bool temp3 = False ;
6288 wxPoint temp4 ;
6289 wxSize temp5 ;
6290 bool temp8 = False ;
6291 PyObject * obj0 = 0 ;
6292 PyObject * obj2 = 0 ;
6293 PyObject * obj3 = 0 ;
6294 PyObject * obj4 = 0 ;
6295 PyObject * obj6 = 0 ;
6296 PyObject * obj7 = 0 ;
6297 char *kwnames[] = {
6298 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6299 };
6300
6301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6303 if (obj2) {
6304 {
6305 arg3 = wxString_in_helper(obj2);
6306 if (arg3 == NULL) SWIG_fail;
6307 temp3 = True;
6308 }
6309 }
6310 if (obj3) {
6311 {
6312 arg4 = &temp4;
6313 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6314 }
6315 }
6316 if (obj4) {
6317 {
6318 arg5 = &temp5;
6319 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6320 }
6321 }
6322 if (obj6) {
6323 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6324 if (arg7 == NULL) {
6325 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6326 }
6327 }
6328 if (obj7) {
6329 {
6330 arg8 = wxString_in_helper(obj7);
6331 if (arg8 == NULL) SWIG_fail;
6332 temp8 = True;
6333 }
6334 }
6335 {
6336 PyThreadState* __tstate = wxPyBeginAllowThreads();
6337 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6338
6339 wxPyEndAllowThreads(__tstate);
6340 if (PyErr_Occurred()) SWIG_fail;
6341 }
6342 {
6343 resultobj = wxPyMake_wxObject(result);
6344 }
6345 {
6346 if (temp3)
6347 delete arg3;
6348 }
6349 {
6350 if (temp8)
6351 delete arg8;
6352 }
6353 return resultobj;
6354 fail:
6355 {
6356 if (temp3)
6357 delete arg3;
6358 }
6359 {
6360 if (temp8)
6361 delete arg8;
6362 }
6363 return NULL;
6364 }
6365
6366
6367 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6368 PyObject *resultobj;
6369 wxTextCtrl *result;
6370 char *kwnames[] = {
6371 NULL
6372 };
6373
6374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 result = (wxTextCtrl *)new wxTextCtrl();
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 {
6383 resultobj = wxPyMake_wxObject(result);
6384 }
6385 return resultobj;
6386 fail:
6387 return NULL;
6388 }
6389
6390
6391 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6392 PyObject *resultobj;
6393 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6394 wxWindow *arg2 = (wxWindow *) 0 ;
6395 int arg3 ;
6396 wxString const &arg4_defvalue = wxPyEmptyString ;
6397 wxString *arg4 = (wxString *) &arg4_defvalue ;
6398 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6399 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6400 wxSize const &arg6_defvalue = wxDefaultSize ;
6401 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6402 long arg7 = (long) 0 ;
6403 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6404 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6405 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6406 wxString *arg9 = (wxString *) &arg9_defvalue ;
6407 bool result;
6408 bool temp4 = False ;
6409 wxPoint temp5 ;
6410 wxSize temp6 ;
6411 bool temp9 = False ;
6412 PyObject * obj0 = 0 ;
6413 PyObject * obj1 = 0 ;
6414 PyObject * obj3 = 0 ;
6415 PyObject * obj4 = 0 ;
6416 PyObject * obj5 = 0 ;
6417 PyObject * obj7 = 0 ;
6418 PyObject * obj8 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6425 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6426 if (obj3) {
6427 {
6428 arg4 = wxString_in_helper(obj3);
6429 if (arg4 == NULL) SWIG_fail;
6430 temp4 = True;
6431 }
6432 }
6433 if (obj4) {
6434 {
6435 arg5 = &temp5;
6436 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6437 }
6438 }
6439 if (obj5) {
6440 {
6441 arg6 = &temp6;
6442 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6443 }
6444 }
6445 if (obj7) {
6446 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6447 if (arg8 == NULL) {
6448 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6449 }
6450 }
6451 if (obj8) {
6452 {
6453 arg9 = wxString_in_helper(obj8);
6454 if (arg9 == NULL) SWIG_fail;
6455 temp9 = True;
6456 }
6457 }
6458 {
6459 PyThreadState* __tstate = wxPyBeginAllowThreads();
6460 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6461
6462 wxPyEndAllowThreads(__tstate);
6463 if (PyErr_Occurred()) SWIG_fail;
6464 }
6465 resultobj = PyInt_FromLong((long)result);
6466 {
6467 if (temp4)
6468 delete arg4;
6469 }
6470 {
6471 if (temp9)
6472 delete arg9;
6473 }
6474 return resultobj;
6475 fail:
6476 {
6477 if (temp4)
6478 delete arg4;
6479 }
6480 {
6481 if (temp9)
6482 delete arg9;
6483 }
6484 return NULL;
6485 }
6486
6487
6488 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6489 PyObject *resultobj;
6490 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6491 wxString result;
6492 PyObject * obj0 = 0 ;
6493 char *kwnames[] = {
6494 (char *) "self", NULL
6495 };
6496
6497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 result = ((wxTextCtrl const *)arg1)->GetValue();
6502
6503 wxPyEndAllowThreads(__tstate);
6504 if (PyErr_Occurred()) SWIG_fail;
6505 }
6506 {
6507 #if wxUSE_UNICODE
6508 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6509 #else
6510 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6511 #endif
6512 }
6513 return resultobj;
6514 fail:
6515 return NULL;
6516 }
6517
6518
6519 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6520 PyObject *resultobj;
6521 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6522 wxString *arg2 = 0 ;
6523 bool temp2 = False ;
6524 PyObject * obj0 = 0 ;
6525 PyObject * obj1 = 0 ;
6526 char *kwnames[] = {
6527 (char *) "self",(char *) "value", NULL
6528 };
6529
6530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6532 {
6533 arg2 = wxString_in_helper(obj1);
6534 if (arg2 == NULL) SWIG_fail;
6535 temp2 = True;
6536 }
6537 {
6538 PyThreadState* __tstate = wxPyBeginAllowThreads();
6539 (arg1)->SetValue((wxString const &)*arg2);
6540
6541 wxPyEndAllowThreads(__tstate);
6542 if (PyErr_Occurred()) SWIG_fail;
6543 }
6544 Py_INCREF(Py_None); resultobj = Py_None;
6545 {
6546 if (temp2)
6547 delete arg2;
6548 }
6549 return resultobj;
6550 fail:
6551 {
6552 if (temp2)
6553 delete arg2;
6554 }
6555 return NULL;
6556 }
6557
6558
6559 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6560 PyObject *resultobj;
6561 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6562 long arg2 ;
6563 long arg3 ;
6564 wxString result;
6565 PyObject * obj0 = 0 ;
6566 char *kwnames[] = {
6567 (char *) "self",(char *) "from",(char *) "to", NULL
6568 };
6569
6570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6572 {
6573 PyThreadState* __tstate = wxPyBeginAllowThreads();
6574 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6575
6576 wxPyEndAllowThreads(__tstate);
6577 if (PyErr_Occurred()) SWIG_fail;
6578 }
6579 {
6580 #if wxUSE_UNICODE
6581 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6582 #else
6583 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6584 #endif
6585 }
6586 return resultobj;
6587 fail:
6588 return NULL;
6589 }
6590
6591
6592 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6593 PyObject *resultobj;
6594 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6595 long arg2 ;
6596 int result;
6597 PyObject * obj0 = 0 ;
6598 char *kwnames[] = {
6599 (char *) "self",(char *) "lineNo", NULL
6600 };
6601
6602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6604 {
6605 PyThreadState* __tstate = wxPyBeginAllowThreads();
6606 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6607
6608 wxPyEndAllowThreads(__tstate);
6609 if (PyErr_Occurred()) SWIG_fail;
6610 }
6611 resultobj = PyInt_FromLong((long)result);
6612 return resultobj;
6613 fail:
6614 return NULL;
6615 }
6616
6617
6618 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6619 PyObject *resultobj;
6620 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6621 long arg2 ;
6622 wxString result;
6623 PyObject * obj0 = 0 ;
6624 char *kwnames[] = {
6625 (char *) "self",(char *) "lineNo", NULL
6626 };
6627
6628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6630 {
6631 PyThreadState* __tstate = wxPyBeginAllowThreads();
6632 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6633
6634 wxPyEndAllowThreads(__tstate);
6635 if (PyErr_Occurred()) SWIG_fail;
6636 }
6637 {
6638 #if wxUSE_UNICODE
6639 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6640 #else
6641 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6642 #endif
6643 }
6644 return resultobj;
6645 fail:
6646 return NULL;
6647 }
6648
6649
6650 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6651 PyObject *resultobj;
6652 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6653 int result;
6654 PyObject * obj0 = 0 ;
6655 char *kwnames[] = {
6656 (char *) "self", NULL
6657 };
6658
6659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6661 {
6662 PyThreadState* __tstate = wxPyBeginAllowThreads();
6663 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6664
6665 wxPyEndAllowThreads(__tstate);
6666 if (PyErr_Occurred()) SWIG_fail;
6667 }
6668 resultobj = PyInt_FromLong((long)result);
6669 return resultobj;
6670 fail:
6671 return NULL;
6672 }
6673
6674
6675 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6676 PyObject *resultobj;
6677 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6678 bool result;
6679 PyObject * obj0 = 0 ;
6680 char *kwnames[] = {
6681 (char *) "self", NULL
6682 };
6683
6684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6686 {
6687 PyThreadState* __tstate = wxPyBeginAllowThreads();
6688 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6689
6690 wxPyEndAllowThreads(__tstate);
6691 if (PyErr_Occurred()) SWIG_fail;
6692 }
6693 resultobj = PyInt_FromLong((long)result);
6694 return resultobj;
6695 fail:
6696 return NULL;
6697 }
6698
6699
6700 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6701 PyObject *resultobj;
6702 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6703 bool result;
6704 PyObject * obj0 = 0 ;
6705 char *kwnames[] = {
6706 (char *) "self", NULL
6707 };
6708
6709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6711 {
6712 PyThreadState* __tstate = wxPyBeginAllowThreads();
6713 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6714
6715 wxPyEndAllowThreads(__tstate);
6716 if (PyErr_Occurred()) SWIG_fail;
6717 }
6718 resultobj = PyInt_FromLong((long)result);
6719 return resultobj;
6720 fail:
6721 return NULL;
6722 }
6723
6724
6725 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6726 PyObject *resultobj;
6727 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6728 bool result;
6729 PyObject * obj0 = 0 ;
6730 char *kwnames[] = {
6731 (char *) "self", NULL
6732 };
6733
6734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6736 {
6737 PyThreadState* __tstate = wxPyBeginAllowThreads();
6738 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6739
6740 wxPyEndAllowThreads(__tstate);
6741 if (PyErr_Occurred()) SWIG_fail;
6742 }
6743 resultobj = PyInt_FromLong((long)result);
6744 return resultobj;
6745 fail:
6746 return NULL;
6747 }
6748
6749
6750 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6751 PyObject *resultobj;
6752 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6753 bool result;
6754 PyObject * obj0 = 0 ;
6755 char *kwnames[] = {
6756 (char *) "self", NULL
6757 };
6758
6759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6761 {
6762 PyThreadState* __tstate = wxPyBeginAllowThreads();
6763 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6764
6765 wxPyEndAllowThreads(__tstate);
6766 if (PyErr_Occurred()) SWIG_fail;
6767 }
6768 resultobj = PyInt_FromLong((long)result);
6769 return resultobj;
6770 fail:
6771 return NULL;
6772 }
6773
6774
6775 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6776 PyObject *resultobj;
6777 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6778 long *arg2 = (long *) 0 ;
6779 long *arg3 = (long *) 0 ;
6780 long temp2 ;
6781 long temp3 ;
6782 PyObject * obj0 = 0 ;
6783 char *kwnames[] = {
6784 (char *) "self", NULL
6785 };
6786
6787 arg2 = &temp2;
6788 arg3 = &temp3;
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6791 {
6792 PyThreadState* __tstate = wxPyBeginAllowThreads();
6793 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6794
6795 wxPyEndAllowThreads(__tstate);
6796 if (PyErr_Occurred()) SWIG_fail;
6797 }
6798 Py_INCREF(Py_None); resultobj = Py_None;
6799 {
6800 PyObject *o = PyInt_FromLong((long) (*arg2));
6801 resultobj = t_output_helper(resultobj,o);
6802 }
6803 {
6804 PyObject *o = PyInt_FromLong((long) (*arg3));
6805 resultobj = t_output_helper(resultobj,o);
6806 }
6807 return resultobj;
6808 fail:
6809 return NULL;
6810 }
6811
6812
6813 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6814 PyObject *resultobj;
6815 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6816 wxString result;
6817 PyObject * obj0 = 0 ;
6818 char *kwnames[] = {
6819 (char *) "self", NULL
6820 };
6821
6822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6824 {
6825 PyThreadState* __tstate = wxPyBeginAllowThreads();
6826 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6827
6828 wxPyEndAllowThreads(__tstate);
6829 if (PyErr_Occurred()) SWIG_fail;
6830 }
6831 {
6832 #if wxUSE_UNICODE
6833 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6834 #else
6835 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6836 #endif
6837 }
6838 return resultobj;
6839 fail:
6840 return NULL;
6841 }
6842
6843
6844 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6845 PyObject *resultobj;
6846 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6847 PyObject * obj0 = 0 ;
6848 char *kwnames[] = {
6849 (char *) "self", NULL
6850 };
6851
6852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6854 {
6855 PyThreadState* __tstate = wxPyBeginAllowThreads();
6856 (arg1)->Clear();
6857
6858 wxPyEndAllowThreads(__tstate);
6859 if (PyErr_Occurred()) SWIG_fail;
6860 }
6861 Py_INCREF(Py_None); resultobj = Py_None;
6862 return resultobj;
6863 fail:
6864 return NULL;
6865 }
6866
6867
6868 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6869 PyObject *resultobj;
6870 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6871 long arg2 ;
6872 long arg3 ;
6873 wxString *arg4 = 0 ;
6874 bool temp4 = False ;
6875 PyObject * obj0 = 0 ;
6876 PyObject * obj3 = 0 ;
6877 char *kwnames[] = {
6878 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6879 };
6880
6881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6883 {
6884 arg4 = wxString_in_helper(obj3);
6885 if (arg4 == NULL) SWIG_fail;
6886 temp4 = True;
6887 }
6888 {
6889 PyThreadState* __tstate = wxPyBeginAllowThreads();
6890 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6891
6892 wxPyEndAllowThreads(__tstate);
6893 if (PyErr_Occurred()) SWIG_fail;
6894 }
6895 Py_INCREF(Py_None); resultobj = Py_None;
6896 {
6897 if (temp4)
6898 delete arg4;
6899 }
6900 return resultobj;
6901 fail:
6902 {
6903 if (temp4)
6904 delete arg4;
6905 }
6906 return NULL;
6907 }
6908
6909
6910 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6911 PyObject *resultobj;
6912 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6913 long arg2 ;
6914 long arg3 ;
6915 PyObject * obj0 = 0 ;
6916 char *kwnames[] = {
6917 (char *) "self",(char *) "from",(char *) "to", NULL
6918 };
6919
6920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6922 {
6923 PyThreadState* __tstate = wxPyBeginAllowThreads();
6924 (arg1)->Remove(arg2,arg3);
6925
6926 wxPyEndAllowThreads(__tstate);
6927 if (PyErr_Occurred()) SWIG_fail;
6928 }
6929 Py_INCREF(Py_None); resultobj = Py_None;
6930 return resultobj;
6931 fail:
6932 return NULL;
6933 }
6934
6935
6936 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6937 PyObject *resultobj;
6938 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6939 wxString *arg2 = 0 ;
6940 bool result;
6941 bool temp2 = False ;
6942 PyObject * obj0 = 0 ;
6943 PyObject * obj1 = 0 ;
6944 char *kwnames[] = {
6945 (char *) "self",(char *) "file", NULL
6946 };
6947
6948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6950 {
6951 arg2 = wxString_in_helper(obj1);
6952 if (arg2 == NULL) SWIG_fail;
6953 temp2 = True;
6954 }
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6958
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
6962 resultobj = PyInt_FromLong((long)result);
6963 {
6964 if (temp2)
6965 delete arg2;
6966 }
6967 return resultobj;
6968 fail:
6969 {
6970 if (temp2)
6971 delete arg2;
6972 }
6973 return NULL;
6974 }
6975
6976
6977 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6978 PyObject *resultobj;
6979 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6980 wxString const &arg2_defvalue = wxPyEmptyString ;
6981 wxString *arg2 = (wxString *) &arg2_defvalue ;
6982 bool result;
6983 bool temp2 = False ;
6984 PyObject * obj0 = 0 ;
6985 PyObject * obj1 = 0 ;
6986 char *kwnames[] = {
6987 (char *) "self",(char *) "file", NULL
6988 };
6989
6990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6992 if (obj1) {
6993 {
6994 arg2 = wxString_in_helper(obj1);
6995 if (arg2 == NULL) SWIG_fail;
6996 temp2 = True;
6997 }
6998 }
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7002
7003 wxPyEndAllowThreads(__tstate);
7004 if (PyErr_Occurred()) SWIG_fail;
7005 }
7006 resultobj = PyInt_FromLong((long)result);
7007 {
7008 if (temp2)
7009 delete arg2;
7010 }
7011 return resultobj;
7012 fail:
7013 {
7014 if (temp2)
7015 delete arg2;
7016 }
7017 return NULL;
7018 }
7019
7020
7021 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7022 PyObject *resultobj;
7023 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7024 PyObject * obj0 = 0 ;
7025 char *kwnames[] = {
7026 (char *) "self", NULL
7027 };
7028
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 (arg1)->MarkDirty();
7034
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) SWIG_fail;
7037 }
7038 Py_INCREF(Py_None); resultobj = Py_None;
7039 return resultobj;
7040 fail:
7041 return NULL;
7042 }
7043
7044
7045 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7046 PyObject *resultobj;
7047 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7048 PyObject * obj0 = 0 ;
7049 char *kwnames[] = {
7050 (char *) "self", NULL
7051 };
7052
7053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7055 {
7056 PyThreadState* __tstate = wxPyBeginAllowThreads();
7057 (arg1)->DiscardEdits();
7058
7059 wxPyEndAllowThreads(__tstate);
7060 if (PyErr_Occurred()) SWIG_fail;
7061 }
7062 Py_INCREF(Py_None); resultobj = Py_None;
7063 return resultobj;
7064 fail:
7065 return NULL;
7066 }
7067
7068
7069 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7070 PyObject *resultobj;
7071 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7072 unsigned long arg2 ;
7073 PyObject * obj0 = 0 ;
7074 PyObject * obj1 = 0 ;
7075 char *kwnames[] = {
7076 (char *) "self",(char *) "len", NULL
7077 };
7078
7079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7081 arg2 = (unsigned long) PyInt_AsLong(obj1);
7082 if (PyErr_Occurred()) SWIG_fail;
7083 {
7084 PyThreadState* __tstate = wxPyBeginAllowThreads();
7085 (arg1)->SetMaxLength(arg2);
7086
7087 wxPyEndAllowThreads(__tstate);
7088 if (PyErr_Occurred()) SWIG_fail;
7089 }
7090 Py_INCREF(Py_None); resultobj = Py_None;
7091 return resultobj;
7092 fail:
7093 return NULL;
7094 }
7095
7096
7097 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7098 PyObject *resultobj;
7099 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7100 wxString *arg2 = 0 ;
7101 bool temp2 = False ;
7102 PyObject * obj0 = 0 ;
7103 PyObject * obj1 = 0 ;
7104 char *kwnames[] = {
7105 (char *) "self",(char *) "text", NULL
7106 };
7107
7108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7110 {
7111 arg2 = wxString_in_helper(obj1);
7112 if (arg2 == NULL) SWIG_fail;
7113 temp2 = True;
7114 }
7115 {
7116 PyThreadState* __tstate = wxPyBeginAllowThreads();
7117 (arg1)->WriteText((wxString const &)*arg2);
7118
7119 wxPyEndAllowThreads(__tstate);
7120 if (PyErr_Occurred()) SWIG_fail;
7121 }
7122 Py_INCREF(Py_None); resultobj = Py_None;
7123 {
7124 if (temp2)
7125 delete arg2;
7126 }
7127 return resultobj;
7128 fail:
7129 {
7130 if (temp2)
7131 delete arg2;
7132 }
7133 return NULL;
7134 }
7135
7136
7137 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7138 PyObject *resultobj;
7139 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7140 wxString *arg2 = 0 ;
7141 bool temp2 = False ;
7142 PyObject * obj0 = 0 ;
7143 PyObject * obj1 = 0 ;
7144 char *kwnames[] = {
7145 (char *) "self",(char *) "text", NULL
7146 };
7147
7148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7150 {
7151 arg2 = wxString_in_helper(obj1);
7152 if (arg2 == NULL) SWIG_fail;
7153 temp2 = True;
7154 }
7155 {
7156 PyThreadState* __tstate = wxPyBeginAllowThreads();
7157 (arg1)->AppendText((wxString const &)*arg2);
7158
7159 wxPyEndAllowThreads(__tstate);
7160 if (PyErr_Occurred()) SWIG_fail;
7161 }
7162 Py_INCREF(Py_None); resultobj = Py_None;
7163 {
7164 if (temp2)
7165 delete arg2;
7166 }
7167 return resultobj;
7168 fail:
7169 {
7170 if (temp2)
7171 delete arg2;
7172 }
7173 return NULL;
7174 }
7175
7176
7177 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7178 PyObject *resultobj;
7179 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7180 wxKeyEvent *arg2 = 0 ;
7181 bool result;
7182 PyObject * obj0 = 0 ;
7183 PyObject * obj1 = 0 ;
7184 char *kwnames[] = {
7185 (char *) "self",(char *) "event", NULL
7186 };
7187
7188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7190 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7191 if (arg2 == NULL) {
7192 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7193 }
7194 {
7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7196 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7197
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 resultobj = PyInt_FromLong((long)result);
7202 return resultobj;
7203 fail:
7204 return NULL;
7205 }
7206
7207
7208 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7209 PyObject *resultobj;
7210 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7211 long arg2 ;
7212 long arg3 ;
7213 wxTextAttr *arg4 = 0 ;
7214 bool result;
7215 PyObject * obj0 = 0 ;
7216 PyObject * obj3 = 0 ;
7217 char *kwnames[] = {
7218 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7219 };
7220
7221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7223 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7224 if (arg4 == NULL) {
7225 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7226 }
7227 {
7228 PyThreadState* __tstate = wxPyBeginAllowThreads();
7229 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7230
7231 wxPyEndAllowThreads(__tstate);
7232 if (PyErr_Occurred()) SWIG_fail;
7233 }
7234 resultobj = PyInt_FromLong((long)result);
7235 return resultobj;
7236 fail:
7237 return NULL;
7238 }
7239
7240
7241 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7242 PyObject *resultobj;
7243 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7244 long arg2 ;
7245 wxTextAttr *arg3 = 0 ;
7246 bool result;
7247 PyObject * obj0 = 0 ;
7248 PyObject * obj2 = 0 ;
7249 char *kwnames[] = {
7250 (char *) "self",(char *) "position",(char *) "style", NULL
7251 };
7252
7253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7255 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7256 if (arg3 == NULL) {
7257 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7258 }
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 resultobj = PyInt_FromLong((long)result);
7267 return resultobj;
7268 fail:
7269 return NULL;
7270 }
7271
7272
7273 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj;
7275 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7276 wxTextAttr *arg2 = 0 ;
7277 bool result;
7278 PyObject * obj0 = 0 ;
7279 PyObject * obj1 = 0 ;
7280 char *kwnames[] = {
7281 (char *) "self",(char *) "style", NULL
7282 };
7283
7284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7286 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7287 if (arg2 == NULL) {
7288 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7289 }
7290 {
7291 PyThreadState* __tstate = wxPyBeginAllowThreads();
7292 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7293
7294 wxPyEndAllowThreads(__tstate);
7295 if (PyErr_Occurred()) SWIG_fail;
7296 }
7297 resultobj = PyInt_FromLong((long)result);
7298 return resultobj;
7299 fail:
7300 return NULL;
7301 }
7302
7303
7304 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7305 PyObject *resultobj;
7306 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7307 wxTextAttr *result;
7308 PyObject * obj0 = 0 ;
7309 char *kwnames[] = {
7310 (char *) "self", NULL
7311 };
7312
7313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 {
7318 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7319 result = (wxTextAttr *) &_result_ref;
7320 }
7321
7322 wxPyEndAllowThreads(__tstate);
7323 if (PyErr_Occurred()) SWIG_fail;
7324 }
7325 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7326 return resultobj;
7327 fail:
7328 return NULL;
7329 }
7330
7331
7332 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7333 PyObject *resultobj;
7334 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7335 long arg2 ;
7336 long arg3 ;
7337 long result;
7338 PyObject * obj0 = 0 ;
7339 char *kwnames[] = {
7340 (char *) "self",(char *) "x",(char *) "y", NULL
7341 };
7342
7343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7345 {
7346 PyThreadState* __tstate = wxPyBeginAllowThreads();
7347 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7348
7349 wxPyEndAllowThreads(__tstate);
7350 if (PyErr_Occurred()) SWIG_fail;
7351 }
7352 resultobj = PyInt_FromLong((long)result);
7353 return resultobj;
7354 fail:
7355 return NULL;
7356 }
7357
7358
7359 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7360 PyObject *resultobj;
7361 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7362 long arg2 ;
7363 long *arg3 = (long *) 0 ;
7364 long *arg4 = (long *) 0 ;
7365 long temp3 ;
7366 long temp4 ;
7367 PyObject * obj0 = 0 ;
7368 char *kwnames[] = {
7369 (char *) "self",(char *) "pos", NULL
7370 };
7371
7372 arg3 = &temp3;
7373 arg4 = &temp4;
7374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7376 {
7377 PyThreadState* __tstate = wxPyBeginAllowThreads();
7378 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7379
7380 wxPyEndAllowThreads(__tstate);
7381 if (PyErr_Occurred()) SWIG_fail;
7382 }
7383 Py_INCREF(Py_None); resultobj = Py_None;
7384 {
7385 PyObject *o = PyInt_FromLong((long) (*arg3));
7386 resultobj = t_output_helper(resultobj,o);
7387 }
7388 {
7389 PyObject *o = PyInt_FromLong((long) (*arg4));
7390 resultobj = t_output_helper(resultobj,o);
7391 }
7392 return resultobj;
7393 fail:
7394 return NULL;
7395 }
7396
7397
7398 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7399 PyObject *resultobj;
7400 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7401 long arg2 ;
7402 PyObject * obj0 = 0 ;
7403 char *kwnames[] = {
7404 (char *) "self",(char *) "pos", NULL
7405 };
7406
7407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7409 {
7410 PyThreadState* __tstate = wxPyBeginAllowThreads();
7411 (arg1)->ShowPosition(arg2);
7412
7413 wxPyEndAllowThreads(__tstate);
7414 if (PyErr_Occurred()) SWIG_fail;
7415 }
7416 Py_INCREF(Py_None); resultobj = Py_None;
7417 return resultobj;
7418 fail:
7419 return NULL;
7420 }
7421
7422
7423 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7424 PyObject *resultobj;
7425 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7426 PyObject * obj0 = 0 ;
7427 char *kwnames[] = {
7428 (char *) "self", NULL
7429 };
7430
7431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7433 {
7434 PyThreadState* __tstate = wxPyBeginAllowThreads();
7435 (arg1)->Copy();
7436
7437 wxPyEndAllowThreads(__tstate);
7438 if (PyErr_Occurred()) SWIG_fail;
7439 }
7440 Py_INCREF(Py_None); resultobj = Py_None;
7441 return resultobj;
7442 fail:
7443 return NULL;
7444 }
7445
7446
7447 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7448 PyObject *resultobj;
7449 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7450 PyObject * obj0 = 0 ;
7451 char *kwnames[] = {
7452 (char *) "self", NULL
7453 };
7454
7455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7457 {
7458 PyThreadState* __tstate = wxPyBeginAllowThreads();
7459 (arg1)->Cut();
7460
7461 wxPyEndAllowThreads(__tstate);
7462 if (PyErr_Occurred()) SWIG_fail;
7463 }
7464 Py_INCREF(Py_None); resultobj = Py_None;
7465 return resultobj;
7466 fail:
7467 return NULL;
7468 }
7469
7470
7471 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7472 PyObject *resultobj;
7473 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7474 PyObject * obj0 = 0 ;
7475 char *kwnames[] = {
7476 (char *) "self", NULL
7477 };
7478
7479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7481 {
7482 PyThreadState* __tstate = wxPyBeginAllowThreads();
7483 (arg1)->Paste();
7484
7485 wxPyEndAllowThreads(__tstate);
7486 if (PyErr_Occurred()) SWIG_fail;
7487 }
7488 Py_INCREF(Py_None); resultobj = Py_None;
7489 return resultobj;
7490 fail:
7491 return NULL;
7492 }
7493
7494
7495 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7496 PyObject *resultobj;
7497 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7498 bool result;
7499 PyObject * obj0 = 0 ;
7500 char *kwnames[] = {
7501 (char *) "self", NULL
7502 };
7503
7504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7506 {
7507 PyThreadState* __tstate = wxPyBeginAllowThreads();
7508 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7509
7510 wxPyEndAllowThreads(__tstate);
7511 if (PyErr_Occurred()) SWIG_fail;
7512 }
7513 resultobj = PyInt_FromLong((long)result);
7514 return resultobj;
7515 fail:
7516 return NULL;
7517 }
7518
7519
7520 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7521 PyObject *resultobj;
7522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7523 bool result;
7524 PyObject * obj0 = 0 ;
7525 char *kwnames[] = {
7526 (char *) "self", NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7531 {
7532 PyThreadState* __tstate = wxPyBeginAllowThreads();
7533 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7534
7535 wxPyEndAllowThreads(__tstate);
7536 if (PyErr_Occurred()) SWIG_fail;
7537 }
7538 resultobj = PyInt_FromLong((long)result);
7539 return resultobj;
7540 fail:
7541 return NULL;
7542 }
7543
7544
7545 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7546 PyObject *resultobj;
7547 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7548 bool result;
7549 PyObject * obj0 = 0 ;
7550 char *kwnames[] = {
7551 (char *) "self", NULL
7552 };
7553
7554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7556 {
7557 PyThreadState* __tstate = wxPyBeginAllowThreads();
7558 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7559
7560 wxPyEndAllowThreads(__tstate);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 }
7563 resultobj = PyInt_FromLong((long)result);
7564 return resultobj;
7565 fail:
7566 return NULL;
7567 }
7568
7569
7570 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7571 PyObject *resultobj;
7572 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7573 PyObject * obj0 = 0 ;
7574 char *kwnames[] = {
7575 (char *) "self", NULL
7576 };
7577
7578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7580 {
7581 PyThreadState* __tstate = wxPyBeginAllowThreads();
7582 (arg1)->Undo();
7583
7584 wxPyEndAllowThreads(__tstate);
7585 if (PyErr_Occurred()) SWIG_fail;
7586 }
7587 Py_INCREF(Py_None); resultobj = Py_None;
7588 return resultobj;
7589 fail:
7590 return NULL;
7591 }
7592
7593
7594 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7595 PyObject *resultobj;
7596 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7597 PyObject * obj0 = 0 ;
7598 char *kwnames[] = {
7599 (char *) "self", NULL
7600 };
7601
7602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7604 {
7605 PyThreadState* __tstate = wxPyBeginAllowThreads();
7606 (arg1)->Redo();
7607
7608 wxPyEndAllowThreads(__tstate);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 Py_INCREF(Py_None); resultobj = Py_None;
7612 return resultobj;
7613 fail:
7614 return NULL;
7615 }
7616
7617
7618 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7619 PyObject *resultobj;
7620 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7621 bool result;
7622 PyObject * obj0 = 0 ;
7623 char *kwnames[] = {
7624 (char *) "self", NULL
7625 };
7626
7627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7629 {
7630 PyThreadState* __tstate = wxPyBeginAllowThreads();
7631 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7632
7633 wxPyEndAllowThreads(__tstate);
7634 if (PyErr_Occurred()) SWIG_fail;
7635 }
7636 resultobj = PyInt_FromLong((long)result);
7637 return resultobj;
7638 fail:
7639 return NULL;
7640 }
7641
7642
7643 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7644 PyObject *resultobj;
7645 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7646 bool result;
7647 PyObject * obj0 = 0 ;
7648 char *kwnames[] = {
7649 (char *) "self", NULL
7650 };
7651
7652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7654 {
7655 PyThreadState* __tstate = wxPyBeginAllowThreads();
7656 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7657
7658 wxPyEndAllowThreads(__tstate);
7659 if (PyErr_Occurred()) SWIG_fail;
7660 }
7661 resultobj = PyInt_FromLong((long)result);
7662 return resultobj;
7663 fail:
7664 return NULL;
7665 }
7666
7667
7668 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7669 PyObject *resultobj;
7670 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7671 long arg2 ;
7672 PyObject * obj0 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "self",(char *) "pos", NULL
7675 };
7676
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7679 {
7680 PyThreadState* __tstate = wxPyBeginAllowThreads();
7681 (arg1)->SetInsertionPoint(arg2);
7682
7683 wxPyEndAllowThreads(__tstate);
7684 if (PyErr_Occurred()) SWIG_fail;
7685 }
7686 Py_INCREF(Py_None); resultobj = Py_None;
7687 return resultobj;
7688 fail:
7689 return NULL;
7690 }
7691
7692
7693 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7694 PyObject *resultobj;
7695 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7696 PyObject * obj0 = 0 ;
7697 char *kwnames[] = {
7698 (char *) "self", NULL
7699 };
7700
7701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7703 {
7704 PyThreadState* __tstate = wxPyBeginAllowThreads();
7705 (arg1)->SetInsertionPointEnd();
7706
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 Py_INCREF(Py_None); resultobj = Py_None;
7711 return resultobj;
7712 fail:
7713 return NULL;
7714 }
7715
7716
7717 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7718 PyObject *resultobj;
7719 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7720 long result;
7721 PyObject * obj0 = 0 ;
7722 char *kwnames[] = {
7723 (char *) "self", NULL
7724 };
7725
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7731
7732 wxPyEndAllowThreads(__tstate);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 }
7735 resultobj = PyInt_FromLong((long)result);
7736 return resultobj;
7737 fail:
7738 return NULL;
7739 }
7740
7741
7742 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7743 PyObject *resultobj;
7744 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7745 long result;
7746 PyObject * obj0 = 0 ;
7747 char *kwnames[] = {
7748 (char *) "self", NULL
7749 };
7750
7751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7753 {
7754 PyThreadState* __tstate = wxPyBeginAllowThreads();
7755 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7756
7757 wxPyEndAllowThreads(__tstate);
7758 if (PyErr_Occurred()) SWIG_fail;
7759 }
7760 resultobj = PyInt_FromLong((long)result);
7761 return resultobj;
7762 fail:
7763 return NULL;
7764 }
7765
7766
7767 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7768 PyObject *resultobj;
7769 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7770 long arg2 ;
7771 long arg3 ;
7772 PyObject * obj0 = 0 ;
7773 char *kwnames[] = {
7774 (char *) "self",(char *) "from",(char *) "to", NULL
7775 };
7776
7777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7779 {
7780 PyThreadState* __tstate = wxPyBeginAllowThreads();
7781 (arg1)->SetSelection(arg2,arg3);
7782
7783 wxPyEndAllowThreads(__tstate);
7784 if (PyErr_Occurred()) SWIG_fail;
7785 }
7786 Py_INCREF(Py_None); resultobj = Py_None;
7787 return resultobj;
7788 fail:
7789 return NULL;
7790 }
7791
7792
7793 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7794 PyObject *resultobj;
7795 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7796 PyObject * obj0 = 0 ;
7797 char *kwnames[] = {
7798 (char *) "self", NULL
7799 };
7800
7801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7803 {
7804 PyThreadState* __tstate = wxPyBeginAllowThreads();
7805 (arg1)->SelectAll();
7806
7807 wxPyEndAllowThreads(__tstate);
7808 if (PyErr_Occurred()) SWIG_fail;
7809 }
7810 Py_INCREF(Py_None); resultobj = Py_None;
7811 return resultobj;
7812 fail:
7813 return NULL;
7814 }
7815
7816
7817 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7818 PyObject *resultobj;
7819 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7820 bool arg2 ;
7821 PyObject * obj0 = 0 ;
7822 PyObject * obj1 = 0 ;
7823 char *kwnames[] = {
7824 (char *) "self",(char *) "editable", NULL
7825 };
7826
7827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7829 arg2 = PyInt_AsLong(obj1) ? true : false;
7830 if (PyErr_Occurred()) SWIG_fail;
7831 {
7832 PyThreadState* __tstate = wxPyBeginAllowThreads();
7833 (arg1)->SetEditable(arg2);
7834
7835 wxPyEndAllowThreads(__tstate);
7836 if (PyErr_Occurred()) SWIG_fail;
7837 }
7838 Py_INCREF(Py_None); resultobj = Py_None;
7839 return resultobj;
7840 fail:
7841 return NULL;
7842 }
7843
7844
7845 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
7846 PyObject *resultobj;
7847 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7848 bool arg2 = (bool) True ;
7849 bool result;
7850 PyObject * obj0 = 0 ;
7851 PyObject * obj1 = 0 ;
7852 char *kwnames[] = {
7853 (char *) "self",(char *) "show", NULL
7854 };
7855
7856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
7857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7858 if (obj1) {
7859 arg2 = PyInt_AsLong(obj1) ? true : false;
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 {
7863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7864 result = (bool)(arg1)->ShowNativeCaret(arg2);
7865
7866 wxPyEndAllowThreads(__tstate);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 resultobj = PyInt_FromLong((long)result);
7870 return resultobj;
7871 fail:
7872 return NULL;
7873 }
7874
7875
7876 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
7877 PyObject *resultobj;
7878 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7879 bool result;
7880 PyObject * obj0 = 0 ;
7881 char *kwnames[] = {
7882 (char *) "self", NULL
7883 };
7884
7885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
7886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7887 {
7888 PyThreadState* __tstate = wxPyBeginAllowThreads();
7889 result = (bool)(arg1)->HideNativeCaret();
7890
7891 wxPyEndAllowThreads(__tstate);
7892 if (PyErr_Occurred()) SWIG_fail;
7893 }
7894 resultobj = PyInt_FromLong((long)result);
7895 return resultobj;
7896 fail:
7897 return NULL;
7898 }
7899
7900
7901 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7902 PyObject *resultobj;
7903 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7904 wxString *arg2 = 0 ;
7905 bool temp2 = False ;
7906 PyObject * obj0 = 0 ;
7907 PyObject * obj1 = 0 ;
7908 char *kwnames[] = {
7909 (char *) "self",(char *) "text", NULL
7910 };
7911
7912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7914 {
7915 arg2 = wxString_in_helper(obj1);
7916 if (arg2 == NULL) SWIG_fail;
7917 temp2 = True;
7918 }
7919 {
7920 PyThreadState* __tstate = wxPyBeginAllowThreads();
7921 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 Py_INCREF(Py_None); resultobj = Py_None;
7927 {
7928 if (temp2)
7929 delete arg2;
7930 }
7931 return resultobj;
7932 fail:
7933 {
7934 if (temp2)
7935 delete arg2;
7936 }
7937 return NULL;
7938 }
7939
7940
7941 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7942 PyObject *resultobj;
7943 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7944 long arg2 ;
7945 long arg3 ;
7946 wxString result;
7947 PyObject * obj0 = 0 ;
7948 char *kwnames[] = {
7949 (char *) "self",(char *) "from",(char *) "to", NULL
7950 };
7951
7952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7954 {
7955 PyThreadState* __tstate = wxPyBeginAllowThreads();
7956 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7957
7958 wxPyEndAllowThreads(__tstate);
7959 if (PyErr_Occurred()) SWIG_fail;
7960 }
7961 {
7962 #if wxUSE_UNICODE
7963 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7964 #else
7965 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7966 #endif
7967 }
7968 return resultobj;
7969 fail:
7970 return NULL;
7971 }
7972
7973
7974 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7975 PyObject *obj;
7976 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7977 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7978 Py_INCREF(obj);
7979 return Py_BuildValue((char *)"");
7980 }
7981 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7982 PyObject *resultobj;
7983 int arg1 ;
7984 wxMouseEvent *arg2 = 0 ;
7985 long arg3 ;
7986 long arg4 ;
7987 wxTextUrlEvent *result;
7988 PyObject * obj1 = 0 ;
7989 char *kwnames[] = {
7990 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7991 };
7992
7993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
7994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7995 if (arg2 == NULL) {
7996 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7997 }
7998 {
7999 PyThreadState* __tstate = wxPyBeginAllowThreads();
8000 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8001
8002 wxPyEndAllowThreads(__tstate);
8003 if (PyErr_Occurred()) SWIG_fail;
8004 }
8005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8006 return resultobj;
8007 fail:
8008 return NULL;
8009 }
8010
8011
8012 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8013 PyObject *resultobj;
8014 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8015 wxMouseEvent *result;
8016 PyObject * obj0 = 0 ;
8017 char *kwnames[] = {
8018 (char *) "self", NULL
8019 };
8020
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8023 {
8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
8025 {
8026 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8027 result = (wxMouseEvent *) &_result_ref;
8028 }
8029
8030 wxPyEndAllowThreads(__tstate);
8031 if (PyErr_Occurred()) SWIG_fail;
8032 }
8033 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8034 return resultobj;
8035 fail:
8036 return NULL;
8037 }
8038
8039
8040 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8041 PyObject *resultobj;
8042 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8043 long result;
8044 PyObject * obj0 = 0 ;
8045 char *kwnames[] = {
8046 (char *) "self", NULL
8047 };
8048
8049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8051 {
8052 PyThreadState* __tstate = wxPyBeginAllowThreads();
8053 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8054
8055 wxPyEndAllowThreads(__tstate);
8056 if (PyErr_Occurred()) SWIG_fail;
8057 }
8058 resultobj = PyInt_FromLong((long)result);
8059 return resultobj;
8060 fail:
8061 return NULL;
8062 }
8063
8064
8065 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8066 PyObject *resultobj;
8067 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8068 long result;
8069 PyObject * obj0 = 0 ;
8070 char *kwnames[] = {
8071 (char *) "self", NULL
8072 };
8073
8074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8076 {
8077 PyThreadState* __tstate = wxPyBeginAllowThreads();
8078 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8079
8080 wxPyEndAllowThreads(__tstate);
8081 if (PyErr_Occurred()) SWIG_fail;
8082 }
8083 resultobj = PyInt_FromLong((long)result);
8084 return resultobj;
8085 fail:
8086 return NULL;
8087 }
8088
8089
8090 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8091 PyObject *obj;
8092 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8093 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8094 Py_INCREF(obj);
8095 return Py_BuildValue((char *)"");
8096 }
8097 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8098 PyObject *resultobj;
8099 wxWindow *arg1 = (wxWindow *) 0 ;
8100 int arg2 = (int) -1 ;
8101 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8102 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8103 wxSize const &arg4_defvalue = wxDefaultSize ;
8104 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8105 long arg5 = (long) wxSB_HORIZONTAL ;
8106 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8107 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8108 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8109 wxString *arg7 = (wxString *) &arg7_defvalue ;
8110 wxScrollBar *result;
8111 wxPoint temp3 ;
8112 wxSize temp4 ;
8113 bool temp7 = False ;
8114 PyObject * obj0 = 0 ;
8115 PyObject * obj2 = 0 ;
8116 PyObject * obj3 = 0 ;
8117 PyObject * obj5 = 0 ;
8118 PyObject * obj6 = 0 ;
8119 char *kwnames[] = {
8120 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8121 };
8122
8123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8125 if (obj2) {
8126 {
8127 arg3 = &temp3;
8128 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8129 }
8130 }
8131 if (obj3) {
8132 {
8133 arg4 = &temp4;
8134 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8135 }
8136 }
8137 if (obj5) {
8138 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8139 if (arg6 == NULL) {
8140 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8141 }
8142 }
8143 if (obj6) {
8144 {
8145 arg7 = wxString_in_helper(obj6);
8146 if (arg7 == NULL) SWIG_fail;
8147 temp7 = True;
8148 }
8149 }
8150 {
8151 PyThreadState* __tstate = wxPyBeginAllowThreads();
8152 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8153
8154 wxPyEndAllowThreads(__tstate);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 }
8157 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8158 {
8159 if (temp7)
8160 delete arg7;
8161 }
8162 return resultobj;
8163 fail:
8164 {
8165 if (temp7)
8166 delete arg7;
8167 }
8168 return NULL;
8169 }
8170
8171
8172 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8173 PyObject *resultobj;
8174 wxScrollBar *result;
8175 char *kwnames[] = {
8176 NULL
8177 };
8178
8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8180 {
8181 PyThreadState* __tstate = wxPyBeginAllowThreads();
8182 result = (wxScrollBar *)new wxScrollBar();
8183
8184 wxPyEndAllowThreads(__tstate);
8185 if (PyErr_Occurred()) SWIG_fail;
8186 }
8187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8188 return resultobj;
8189 fail:
8190 return NULL;
8191 }
8192
8193
8194 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8195 PyObject *resultobj;
8196 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8197 wxWindow *arg2 = (wxWindow *) 0 ;
8198 int arg3 = (int) -1 ;
8199 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8200 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8201 wxSize const &arg5_defvalue = wxDefaultSize ;
8202 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8203 long arg6 = (long) wxSB_HORIZONTAL ;
8204 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8205 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8206 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8207 wxString *arg8 = (wxString *) &arg8_defvalue ;
8208 bool result;
8209 wxPoint temp4 ;
8210 wxSize temp5 ;
8211 bool temp8 = False ;
8212 PyObject * obj0 = 0 ;
8213 PyObject * obj1 = 0 ;
8214 PyObject * obj3 = 0 ;
8215 PyObject * obj4 = 0 ;
8216 PyObject * obj6 = 0 ;
8217 PyObject * obj7 = 0 ;
8218 char *kwnames[] = {
8219 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8220 };
8221
8222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8224 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8225 if (obj3) {
8226 {
8227 arg4 = &temp4;
8228 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8229 }
8230 }
8231 if (obj4) {
8232 {
8233 arg5 = &temp5;
8234 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8235 }
8236 }
8237 if (obj6) {
8238 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8239 if (arg7 == NULL) {
8240 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8241 }
8242 }
8243 if (obj7) {
8244 {
8245 arg8 = wxString_in_helper(obj7);
8246 if (arg8 == NULL) SWIG_fail;
8247 temp8 = True;
8248 }
8249 }
8250 {
8251 PyThreadState* __tstate = wxPyBeginAllowThreads();
8252 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8253
8254 wxPyEndAllowThreads(__tstate);
8255 if (PyErr_Occurred()) SWIG_fail;
8256 }
8257 resultobj = PyInt_FromLong((long)result);
8258 {
8259 if (temp8)
8260 delete arg8;
8261 }
8262 return resultobj;
8263 fail:
8264 {
8265 if (temp8)
8266 delete arg8;
8267 }
8268 return NULL;
8269 }
8270
8271
8272 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8273 PyObject *resultobj;
8274 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8275 int result;
8276 PyObject * obj0 = 0 ;
8277 char *kwnames[] = {
8278 (char *) "self", NULL
8279 };
8280
8281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8283 {
8284 PyThreadState* __tstate = wxPyBeginAllowThreads();
8285 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8286
8287 wxPyEndAllowThreads(__tstate);
8288 if (PyErr_Occurred()) SWIG_fail;
8289 }
8290 resultobj = PyInt_FromLong((long)result);
8291 return resultobj;
8292 fail:
8293 return NULL;
8294 }
8295
8296
8297 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8298 PyObject *resultobj;
8299 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8300 int result;
8301 PyObject * obj0 = 0 ;
8302 char *kwnames[] = {
8303 (char *) "self", NULL
8304 };
8305
8306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8308 {
8309 PyThreadState* __tstate = wxPyBeginAllowThreads();
8310 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8311
8312 wxPyEndAllowThreads(__tstate);
8313 if (PyErr_Occurred()) SWIG_fail;
8314 }
8315 resultobj = PyInt_FromLong((long)result);
8316 return resultobj;
8317 fail:
8318 return NULL;
8319 }
8320
8321
8322 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8323 PyObject *resultobj;
8324 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8325 int result;
8326 PyObject * obj0 = 0 ;
8327 char *kwnames[] = {
8328 (char *) "self", NULL
8329 };
8330
8331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8333 {
8334 PyThreadState* __tstate = wxPyBeginAllowThreads();
8335 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8336
8337 wxPyEndAllowThreads(__tstate);
8338 if (PyErr_Occurred()) SWIG_fail;
8339 }
8340 resultobj = PyInt_FromLong((long)result);
8341 return resultobj;
8342 fail:
8343 return NULL;
8344 }
8345
8346
8347 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8348 PyObject *resultobj;
8349 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8350 int result;
8351 PyObject * obj0 = 0 ;
8352 char *kwnames[] = {
8353 (char *) "self", NULL
8354 };
8355
8356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8358 {
8359 PyThreadState* __tstate = wxPyBeginAllowThreads();
8360 result = (int)((wxScrollBar const *)arg1)->GetRange();
8361
8362 wxPyEndAllowThreads(__tstate);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 }
8365 resultobj = PyInt_FromLong((long)result);
8366 return resultobj;
8367 fail:
8368 return NULL;
8369 }
8370
8371
8372 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8373 PyObject *resultobj;
8374 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8375 bool result;
8376 PyObject * obj0 = 0 ;
8377 char *kwnames[] = {
8378 (char *) "self", NULL
8379 };
8380
8381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8383 {
8384 PyThreadState* __tstate = wxPyBeginAllowThreads();
8385 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8386
8387 wxPyEndAllowThreads(__tstate);
8388 if (PyErr_Occurred()) SWIG_fail;
8389 }
8390 resultobj = PyInt_FromLong((long)result);
8391 return resultobj;
8392 fail:
8393 return NULL;
8394 }
8395
8396
8397 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8398 PyObject *resultobj;
8399 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8400 int arg2 ;
8401 PyObject * obj0 = 0 ;
8402 char *kwnames[] = {
8403 (char *) "self",(char *) "viewStart", NULL
8404 };
8405
8406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8408 {
8409 PyThreadState* __tstate = wxPyBeginAllowThreads();
8410 (arg1)->SetThumbPosition(arg2);
8411
8412 wxPyEndAllowThreads(__tstate);
8413 if (PyErr_Occurred()) SWIG_fail;
8414 }
8415 Py_INCREF(Py_None); resultobj = Py_None;
8416 return resultobj;
8417 fail:
8418 return NULL;
8419 }
8420
8421
8422 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj;
8424 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8425 int arg2 ;
8426 int arg3 ;
8427 int arg4 ;
8428 int arg5 ;
8429 bool arg6 = (bool) True ;
8430 PyObject * obj0 = 0 ;
8431 PyObject * obj5 = 0 ;
8432 char *kwnames[] = {
8433 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8434 };
8435
8436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8438 if (obj5) {
8439 arg6 = PyInt_AsLong(obj5) ? true : false;
8440 if (PyErr_Occurred()) SWIG_fail;
8441 }
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 Py_INCREF(Py_None); resultobj = Py_None;
8450 return resultobj;
8451 fail:
8452 return NULL;
8453 }
8454
8455
8456 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8457 PyObject *obj;
8458 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8459 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8460 Py_INCREF(obj);
8461 return Py_BuildValue((char *)"");
8462 }
8463 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8464 PyObject *resultobj;
8465 wxWindow *arg1 = (wxWindow *) 0 ;
8466 int arg2 = (int) -1 ;
8467 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8468 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8469 wxSize const &arg4_defvalue = wxDefaultSize ;
8470 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8471 long arg5 = (long) wxSP_HORIZONTAL ;
8472 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8473 wxString *arg6 = (wxString *) &arg6_defvalue ;
8474 wxSpinButton *result;
8475 wxPoint temp3 ;
8476 wxSize temp4 ;
8477 bool temp6 = False ;
8478 PyObject * obj0 = 0 ;
8479 PyObject * obj2 = 0 ;
8480 PyObject * obj3 = 0 ;
8481 PyObject * obj5 = 0 ;
8482 char *kwnames[] = {
8483 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8484 };
8485
8486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8488 if (obj2) {
8489 {
8490 arg3 = &temp3;
8491 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8492 }
8493 }
8494 if (obj3) {
8495 {
8496 arg4 = &temp4;
8497 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8498 }
8499 }
8500 if (obj5) {
8501 {
8502 arg6 = wxString_in_helper(obj5);
8503 if (arg6 == NULL) SWIG_fail;
8504 temp6 = True;
8505 }
8506 }
8507 {
8508 PyThreadState* __tstate = wxPyBeginAllowThreads();
8509 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8510
8511 wxPyEndAllowThreads(__tstate);
8512 if (PyErr_Occurred()) SWIG_fail;
8513 }
8514 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8515 {
8516 if (temp6)
8517 delete arg6;
8518 }
8519 return resultobj;
8520 fail:
8521 {
8522 if (temp6)
8523 delete arg6;
8524 }
8525 return NULL;
8526 }
8527
8528
8529 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8530 PyObject *resultobj;
8531 wxSpinButton *result;
8532 char *kwnames[] = {
8533 NULL
8534 };
8535
8536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8537 {
8538 PyThreadState* __tstate = wxPyBeginAllowThreads();
8539 result = (wxSpinButton *)new wxSpinButton();
8540
8541 wxPyEndAllowThreads(__tstate);
8542 if (PyErr_Occurred()) SWIG_fail;
8543 }
8544 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8545 return resultobj;
8546 fail:
8547 return NULL;
8548 }
8549
8550
8551 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8552 PyObject *resultobj;
8553 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8554 wxWindow *arg2 = (wxWindow *) 0 ;
8555 int arg3 = (int) -1 ;
8556 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8557 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8558 wxSize const &arg5_defvalue = wxDefaultSize ;
8559 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8560 long arg6 = (long) wxSP_HORIZONTAL ;
8561 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8562 wxString *arg7 = (wxString *) &arg7_defvalue ;
8563 bool result;
8564 wxPoint temp4 ;
8565 wxSize temp5 ;
8566 bool temp7 = False ;
8567 PyObject * obj0 = 0 ;
8568 PyObject * obj1 = 0 ;
8569 PyObject * obj3 = 0 ;
8570 PyObject * obj4 = 0 ;
8571 PyObject * obj6 = 0 ;
8572 char *kwnames[] = {
8573 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8574 };
8575
8576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8578 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8579 if (obj3) {
8580 {
8581 arg4 = &temp4;
8582 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8583 }
8584 }
8585 if (obj4) {
8586 {
8587 arg5 = &temp5;
8588 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8589 }
8590 }
8591 if (obj6) {
8592 {
8593 arg7 = wxString_in_helper(obj6);
8594 if (arg7 == NULL) SWIG_fail;
8595 temp7 = True;
8596 }
8597 }
8598 {
8599 PyThreadState* __tstate = wxPyBeginAllowThreads();
8600 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8601
8602 wxPyEndAllowThreads(__tstate);
8603 if (PyErr_Occurred()) SWIG_fail;
8604 }
8605 resultobj = PyInt_FromLong((long)result);
8606 {
8607 if (temp7)
8608 delete arg7;
8609 }
8610 return resultobj;
8611 fail:
8612 {
8613 if (temp7)
8614 delete arg7;
8615 }
8616 return NULL;
8617 }
8618
8619
8620 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8621 PyObject *resultobj;
8622 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8623 int result;
8624 PyObject * obj0 = 0 ;
8625 char *kwnames[] = {
8626 (char *) "self", NULL
8627 };
8628
8629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8631 {
8632 PyThreadState* __tstate = wxPyBeginAllowThreads();
8633 result = (int)((wxSpinButton const *)arg1)->GetValue();
8634
8635 wxPyEndAllowThreads(__tstate);
8636 if (PyErr_Occurred()) SWIG_fail;
8637 }
8638 resultobj = PyInt_FromLong((long)result);
8639 return resultobj;
8640 fail:
8641 return NULL;
8642 }
8643
8644
8645 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8646 PyObject *resultobj;
8647 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8648 int result;
8649 PyObject * obj0 = 0 ;
8650 char *kwnames[] = {
8651 (char *) "self", NULL
8652 };
8653
8654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8656 {
8657 PyThreadState* __tstate = wxPyBeginAllowThreads();
8658 result = (int)((wxSpinButton const *)arg1)->GetMin();
8659
8660 wxPyEndAllowThreads(__tstate);
8661 if (PyErr_Occurred()) SWIG_fail;
8662 }
8663 resultobj = PyInt_FromLong((long)result);
8664 return resultobj;
8665 fail:
8666 return NULL;
8667 }
8668
8669
8670 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8671 PyObject *resultobj;
8672 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8673 int result;
8674 PyObject * obj0 = 0 ;
8675 char *kwnames[] = {
8676 (char *) "self", NULL
8677 };
8678
8679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8681 {
8682 PyThreadState* __tstate = wxPyBeginAllowThreads();
8683 result = (int)((wxSpinButton const *)arg1)->GetMax();
8684
8685 wxPyEndAllowThreads(__tstate);
8686 if (PyErr_Occurred()) SWIG_fail;
8687 }
8688 resultobj = PyInt_FromLong((long)result);
8689 return resultobj;
8690 fail:
8691 return NULL;
8692 }
8693
8694
8695 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8696 PyObject *resultobj;
8697 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8698 int arg2 ;
8699 PyObject * obj0 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "self",(char *) "val", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 (arg1)->SetValue(arg2);
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 Py_INCREF(Py_None); resultobj = Py_None;
8714 return resultobj;
8715 fail:
8716 return NULL;
8717 }
8718
8719
8720 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8721 PyObject *resultobj;
8722 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8723 int arg2 ;
8724 PyObject * obj0 = 0 ;
8725 char *kwnames[] = {
8726 (char *) "self",(char *) "minVal", NULL
8727 };
8728
8729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 (arg1)->SetMin(arg2);
8734
8735 wxPyEndAllowThreads(__tstate);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 }
8738 Py_INCREF(Py_None); resultobj = Py_None;
8739 return resultobj;
8740 fail:
8741 return NULL;
8742 }
8743
8744
8745 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8746 PyObject *resultobj;
8747 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8748 int arg2 ;
8749 PyObject * obj0 = 0 ;
8750 char *kwnames[] = {
8751 (char *) "self",(char *) "maxVal", NULL
8752 };
8753
8754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8756 {
8757 PyThreadState* __tstate = wxPyBeginAllowThreads();
8758 (arg1)->SetMax(arg2);
8759
8760 wxPyEndAllowThreads(__tstate);
8761 if (PyErr_Occurred()) SWIG_fail;
8762 }
8763 Py_INCREF(Py_None); resultobj = Py_None;
8764 return resultobj;
8765 fail:
8766 return NULL;
8767 }
8768
8769
8770 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8771 PyObject *resultobj;
8772 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8773 int arg2 ;
8774 int arg3 ;
8775 PyObject * obj0 = 0 ;
8776 char *kwnames[] = {
8777 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8778 };
8779
8780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8782 {
8783 PyThreadState* __tstate = wxPyBeginAllowThreads();
8784 (arg1)->SetRange(arg2,arg3);
8785
8786 wxPyEndAllowThreads(__tstate);
8787 if (PyErr_Occurred()) SWIG_fail;
8788 }
8789 Py_INCREF(Py_None); resultobj = Py_None;
8790 return resultobj;
8791 fail:
8792 return NULL;
8793 }
8794
8795
8796 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8797 PyObject *resultobj;
8798 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8799 bool result;
8800 PyObject * obj0 = 0 ;
8801 char *kwnames[] = {
8802 (char *) "self", NULL
8803 };
8804
8805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8807 {
8808 PyThreadState* __tstate = wxPyBeginAllowThreads();
8809 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8810
8811 wxPyEndAllowThreads(__tstate);
8812 if (PyErr_Occurred()) SWIG_fail;
8813 }
8814 resultobj = PyInt_FromLong((long)result);
8815 return resultobj;
8816 fail:
8817 return NULL;
8818 }
8819
8820
8821 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8822 PyObject *obj;
8823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8824 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8825 Py_INCREF(obj);
8826 return Py_BuildValue((char *)"");
8827 }
8828 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxWindow *arg1 = (wxWindow *) 0 ;
8831 int arg2 = (int) -1 ;
8832 wxString const &arg3_defvalue = wxPyEmptyString ;
8833 wxString *arg3 = (wxString *) &arg3_defvalue ;
8834 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8835 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8836 wxSize const &arg5_defvalue = wxDefaultSize ;
8837 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8838 long arg6 = (long) wxSP_ARROW_KEYS ;
8839 int arg7 = (int) 0 ;
8840 int arg8 = (int) 100 ;
8841 int arg9 = (int) 0 ;
8842 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8843 wxString *arg10 = (wxString *) &arg10_defvalue ;
8844 wxSpinCtrl *result;
8845 bool temp3 = False ;
8846 wxPoint temp4 ;
8847 wxSize temp5 ;
8848 bool temp10 = False ;
8849 PyObject * obj0 = 0 ;
8850 PyObject * obj2 = 0 ;
8851 PyObject * obj3 = 0 ;
8852 PyObject * obj4 = 0 ;
8853 PyObject * obj9 = 0 ;
8854 char *kwnames[] = {
8855 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8856 };
8857
8858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8860 if (obj2) {
8861 {
8862 arg3 = wxString_in_helper(obj2);
8863 if (arg3 == NULL) SWIG_fail;
8864 temp3 = True;
8865 }
8866 }
8867 if (obj3) {
8868 {
8869 arg4 = &temp4;
8870 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8871 }
8872 }
8873 if (obj4) {
8874 {
8875 arg5 = &temp5;
8876 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8877 }
8878 }
8879 if (obj9) {
8880 {
8881 arg10 = wxString_in_helper(obj9);
8882 if (arg10 == NULL) SWIG_fail;
8883 temp10 = True;
8884 }
8885 }
8886 {
8887 PyThreadState* __tstate = wxPyBeginAllowThreads();
8888 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8889
8890 wxPyEndAllowThreads(__tstate);
8891 if (PyErr_Occurred()) SWIG_fail;
8892 }
8893 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8894 {
8895 if (temp3)
8896 delete arg3;
8897 }
8898 {
8899 if (temp10)
8900 delete arg10;
8901 }
8902 return resultobj;
8903 fail:
8904 {
8905 if (temp3)
8906 delete arg3;
8907 }
8908 {
8909 if (temp10)
8910 delete arg10;
8911 }
8912 return NULL;
8913 }
8914
8915
8916 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8917 PyObject *resultobj;
8918 wxSpinCtrl *result;
8919 char *kwnames[] = {
8920 NULL
8921 };
8922
8923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8924 {
8925 PyThreadState* __tstate = wxPyBeginAllowThreads();
8926 result = (wxSpinCtrl *)new wxSpinCtrl();
8927
8928 wxPyEndAllowThreads(__tstate);
8929 if (PyErr_Occurred()) SWIG_fail;
8930 }
8931 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8932 return resultobj;
8933 fail:
8934 return NULL;
8935 }
8936
8937
8938 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8939 PyObject *resultobj;
8940 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8941 wxWindow *arg2 = (wxWindow *) 0 ;
8942 int arg3 = (int) -1 ;
8943 wxString const &arg4_defvalue = wxPyEmptyString ;
8944 wxString *arg4 = (wxString *) &arg4_defvalue ;
8945 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8946 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8947 wxSize const &arg6_defvalue = wxDefaultSize ;
8948 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8949 long arg7 = (long) wxSP_ARROW_KEYS ;
8950 int arg8 = (int) 0 ;
8951 int arg9 = (int) 100 ;
8952 int arg10 = (int) 0 ;
8953 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8954 wxString *arg11 = (wxString *) &arg11_defvalue ;
8955 bool result;
8956 bool temp4 = False ;
8957 wxPoint temp5 ;
8958 wxSize temp6 ;
8959 bool temp11 = False ;
8960 PyObject * obj0 = 0 ;
8961 PyObject * obj1 = 0 ;
8962 PyObject * obj3 = 0 ;
8963 PyObject * obj4 = 0 ;
8964 PyObject * obj5 = 0 ;
8965 PyObject * obj10 = 0 ;
8966 char *kwnames[] = {
8967 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8968 };
8969
8970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8973 if (obj3) {
8974 {
8975 arg4 = wxString_in_helper(obj3);
8976 if (arg4 == NULL) SWIG_fail;
8977 temp4 = True;
8978 }
8979 }
8980 if (obj4) {
8981 {
8982 arg5 = &temp5;
8983 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8984 }
8985 }
8986 if (obj5) {
8987 {
8988 arg6 = &temp6;
8989 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8990 }
8991 }
8992 if (obj10) {
8993 {
8994 arg11 = wxString_in_helper(obj10);
8995 if (arg11 == NULL) SWIG_fail;
8996 temp11 = True;
8997 }
8998 }
8999 {
9000 PyThreadState* __tstate = wxPyBeginAllowThreads();
9001 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
9002
9003 wxPyEndAllowThreads(__tstate);
9004 if (PyErr_Occurred()) SWIG_fail;
9005 }
9006 resultobj = PyInt_FromLong((long)result);
9007 {
9008 if (temp4)
9009 delete arg4;
9010 }
9011 {
9012 if (temp11)
9013 delete arg11;
9014 }
9015 return resultobj;
9016 fail:
9017 {
9018 if (temp4)
9019 delete arg4;
9020 }
9021 {
9022 if (temp11)
9023 delete arg11;
9024 }
9025 return NULL;
9026 }
9027
9028
9029 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9030 PyObject *resultobj;
9031 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9032 int result;
9033 PyObject * obj0 = 0 ;
9034 char *kwnames[] = {
9035 (char *) "self", NULL
9036 };
9037
9038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9040 {
9041 PyThreadState* __tstate = wxPyBeginAllowThreads();
9042 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9043
9044 wxPyEndAllowThreads(__tstate);
9045 if (PyErr_Occurred()) SWIG_fail;
9046 }
9047 resultobj = PyInt_FromLong((long)result);
9048 return resultobj;
9049 fail:
9050 return NULL;
9051 }
9052
9053
9054 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9055 PyObject *resultobj;
9056 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9057 int arg2 ;
9058 PyObject * obj0 = 0 ;
9059 char *kwnames[] = {
9060 (char *) "self",(char *) "value", NULL
9061 };
9062
9063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9065 {
9066 PyThreadState* __tstate = wxPyBeginAllowThreads();
9067 (arg1)->SetValue(arg2);
9068
9069 wxPyEndAllowThreads(__tstate);
9070 if (PyErr_Occurred()) SWIG_fail;
9071 }
9072 Py_INCREF(Py_None); resultobj = Py_None;
9073 return resultobj;
9074 fail:
9075 return NULL;
9076 }
9077
9078
9079 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9080 PyObject *resultobj;
9081 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9082 wxString *arg2 = 0 ;
9083 bool temp2 = False ;
9084 PyObject * obj0 = 0 ;
9085 PyObject * obj1 = 0 ;
9086 char *kwnames[] = {
9087 (char *) "self",(char *) "text", NULL
9088 };
9089
9090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9092 {
9093 arg2 = wxString_in_helper(obj1);
9094 if (arg2 == NULL) SWIG_fail;
9095 temp2 = True;
9096 }
9097 {
9098 PyThreadState* __tstate = wxPyBeginAllowThreads();
9099 (arg1)->SetValue((wxString const &)*arg2);
9100
9101 wxPyEndAllowThreads(__tstate);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 Py_INCREF(Py_None); resultobj = Py_None;
9105 {
9106 if (temp2)
9107 delete arg2;
9108 }
9109 return resultobj;
9110 fail:
9111 {
9112 if (temp2)
9113 delete arg2;
9114 }
9115 return NULL;
9116 }
9117
9118
9119 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9120 PyObject *resultobj;
9121 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9122 int arg2 ;
9123 int arg3 ;
9124 PyObject * obj0 = 0 ;
9125 char *kwnames[] = {
9126 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9127 };
9128
9129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9131 {
9132 PyThreadState* __tstate = wxPyBeginAllowThreads();
9133 (arg1)->SetRange(arg2,arg3);
9134
9135 wxPyEndAllowThreads(__tstate);
9136 if (PyErr_Occurred()) SWIG_fail;
9137 }
9138 Py_INCREF(Py_None); resultobj = Py_None;
9139 return resultobj;
9140 fail:
9141 return NULL;
9142 }
9143
9144
9145 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9146 PyObject *resultobj;
9147 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9148 int result;
9149 PyObject * obj0 = 0 ;
9150 char *kwnames[] = {
9151 (char *) "self", NULL
9152 };
9153
9154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9156 {
9157 PyThreadState* __tstate = wxPyBeginAllowThreads();
9158 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9159
9160 wxPyEndAllowThreads(__tstate);
9161 if (PyErr_Occurred()) SWIG_fail;
9162 }
9163 resultobj = PyInt_FromLong((long)result);
9164 return resultobj;
9165 fail:
9166 return NULL;
9167 }
9168
9169
9170 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9171 PyObject *resultobj;
9172 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9173 int result;
9174 PyObject * obj0 = 0 ;
9175 char *kwnames[] = {
9176 (char *) "self", NULL
9177 };
9178
9179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9181 {
9182 PyThreadState* __tstate = wxPyBeginAllowThreads();
9183 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9184
9185 wxPyEndAllowThreads(__tstate);
9186 if (PyErr_Occurred()) SWIG_fail;
9187 }
9188 resultobj = PyInt_FromLong((long)result);
9189 return resultobj;
9190 fail:
9191 return NULL;
9192 }
9193
9194
9195 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9196 PyObject *resultobj;
9197 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9198 long arg2 ;
9199 long arg3 ;
9200 PyObject * obj0 = 0 ;
9201 char *kwnames[] = {
9202 (char *) "self",(char *) "from",(char *) "to", NULL
9203 };
9204
9205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9207 {
9208 PyThreadState* __tstate = wxPyBeginAllowThreads();
9209 (arg1)->SetSelection(arg2,arg3);
9210
9211 wxPyEndAllowThreads(__tstate);
9212 if (PyErr_Occurred()) SWIG_fail;
9213 }
9214 Py_INCREF(Py_None); resultobj = Py_None;
9215 return resultobj;
9216 fail:
9217 return NULL;
9218 }
9219
9220
9221 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9222 PyObject *obj;
9223 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9224 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9225 Py_INCREF(obj);
9226 return Py_BuildValue((char *)"");
9227 }
9228 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9229 PyObject *resultobj;
9230 wxWindow *arg1 = (wxWindow *) 0 ;
9231 int arg2 ;
9232 wxString *arg3 = 0 ;
9233 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9234 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9235 wxSize const &arg5_defvalue = wxDefaultSize ;
9236 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9237 int arg6 = (int) 0 ;
9238 wxString *arg7 = (wxString *) NULL ;
9239 int arg8 = (int) 0 ;
9240 long arg9 = (long) wxRA_HORIZONTAL ;
9241 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9242 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9243 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9244 wxString *arg11 = (wxString *) &arg11_defvalue ;
9245 wxRadioBox *result;
9246 bool temp3 = False ;
9247 wxPoint temp4 ;
9248 wxSize temp5 ;
9249 bool temp10 = False ;
9250 PyObject * obj0 = 0 ;
9251 PyObject * obj2 = 0 ;
9252 PyObject * obj3 = 0 ;
9253 PyObject * obj4 = 0 ;
9254 PyObject * obj5 = 0 ;
9255 PyObject * obj8 = 0 ;
9256 PyObject * obj9 = 0 ;
9257 char *kwnames[] = {
9258 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9259 };
9260
9261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9263 {
9264 arg3 = wxString_in_helper(obj2);
9265 if (arg3 == NULL) SWIG_fail;
9266 temp3 = True;
9267 }
9268 if (obj3) {
9269 {
9270 arg4 = &temp4;
9271 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9272 }
9273 }
9274 if (obj4) {
9275 {
9276 arg5 = &temp5;
9277 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9278 }
9279 }
9280 if (obj5) {
9281 {
9282 arg6 = PyList_Size(obj5);
9283 arg7 = wxString_LIST_helper(obj5);
9284 if (arg7 == NULL) SWIG_fail;
9285 }
9286 }
9287 if (obj8) {
9288 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9289 if (arg10 == NULL) {
9290 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9291 }
9292 }
9293 if (obj9) {
9294 {
9295 arg11 = wxString_in_helper(obj9);
9296 if (arg11 == NULL) SWIG_fail;
9297 temp10 = True;
9298 }
9299 }
9300 {
9301 PyThreadState* __tstate = wxPyBeginAllowThreads();
9302 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);
9303
9304 wxPyEndAllowThreads(__tstate);
9305 if (PyErr_Occurred()) SWIG_fail;
9306 }
9307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9308 {
9309 if (temp3)
9310 delete arg3;
9311 }
9312 {
9313 if (arg7) delete [] arg7;
9314 }
9315 {
9316 if (temp10)
9317 delete arg11;
9318 }
9319 return resultobj;
9320 fail:
9321 {
9322 if (temp3)
9323 delete arg3;
9324 }
9325 {
9326 if (arg7) delete [] arg7;
9327 }
9328 {
9329 if (temp10)
9330 delete arg11;
9331 }
9332 return NULL;
9333 }
9334
9335
9336 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9337 PyObject *resultobj;
9338 wxRadioBox *result;
9339 char *kwnames[] = {
9340 NULL
9341 };
9342
9343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9344 {
9345 PyThreadState* __tstate = wxPyBeginAllowThreads();
9346 result = (wxRadioBox *)new wxRadioBox();
9347
9348 wxPyEndAllowThreads(__tstate);
9349 if (PyErr_Occurred()) SWIG_fail;
9350 }
9351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9352 return resultobj;
9353 fail:
9354 return NULL;
9355 }
9356
9357
9358 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9359 PyObject *resultobj;
9360 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9361 wxWindow *arg2 = (wxWindow *) 0 ;
9362 int arg3 ;
9363 wxString *arg4 = 0 ;
9364 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9365 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9366 wxSize const &arg6_defvalue = wxDefaultSize ;
9367 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9368 int arg7 = (int) 0 ;
9369 wxString *arg8 = (wxString *) NULL ;
9370 int arg9 = (int) 0 ;
9371 long arg10 = (long) wxRA_HORIZONTAL ;
9372 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9373 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9374 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9375 wxString *arg12 = (wxString *) &arg12_defvalue ;
9376 bool result;
9377 bool temp4 = False ;
9378 wxPoint temp5 ;
9379 wxSize temp6 ;
9380 bool temp11 = False ;
9381 PyObject * obj0 = 0 ;
9382 PyObject * obj1 = 0 ;
9383 PyObject * obj3 = 0 ;
9384 PyObject * obj4 = 0 ;
9385 PyObject * obj5 = 0 ;
9386 PyObject * obj6 = 0 ;
9387 PyObject * obj9 = 0 ;
9388 PyObject * obj10 = 0 ;
9389 char *kwnames[] = {
9390 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9391 };
9392
9393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9396 {
9397 arg4 = wxString_in_helper(obj3);
9398 if (arg4 == NULL) SWIG_fail;
9399 temp4 = True;
9400 }
9401 if (obj4) {
9402 {
9403 arg5 = &temp5;
9404 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9405 }
9406 }
9407 if (obj5) {
9408 {
9409 arg6 = &temp6;
9410 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9411 }
9412 }
9413 if (obj6) {
9414 {
9415 arg7 = PyList_Size(obj6);
9416 arg8 = wxString_LIST_helper(obj6);
9417 if (arg8 == NULL) SWIG_fail;
9418 }
9419 }
9420 if (obj9) {
9421 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9422 if (arg11 == NULL) {
9423 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9424 }
9425 }
9426 if (obj10) {
9427 {
9428 arg12 = wxString_in_helper(obj10);
9429 if (arg12 == NULL) SWIG_fail;
9430 temp11 = True;
9431 }
9432 }
9433 {
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 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);
9436
9437 wxPyEndAllowThreads(__tstate);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 }
9440 resultobj = PyInt_FromLong((long)result);
9441 {
9442 if (temp4)
9443 delete arg4;
9444 }
9445 {
9446 if (arg8) delete [] arg8;
9447 }
9448 {
9449 if (temp11)
9450 delete arg12;
9451 }
9452 return resultobj;
9453 fail:
9454 {
9455 if (temp4)
9456 delete arg4;
9457 }
9458 {
9459 if (arg8) delete [] arg8;
9460 }
9461 {
9462 if (temp11)
9463 delete arg12;
9464 }
9465 return NULL;
9466 }
9467
9468
9469 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9470 PyObject *resultobj;
9471 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9472 int arg2 ;
9473 PyObject * obj0 = 0 ;
9474 char *kwnames[] = {
9475 (char *) "self",(char *) "n", NULL
9476 };
9477
9478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9480 {
9481 PyThreadState* __tstate = wxPyBeginAllowThreads();
9482 (arg1)->SetSelection(arg2);
9483
9484 wxPyEndAllowThreads(__tstate);
9485 if (PyErr_Occurred()) SWIG_fail;
9486 }
9487 Py_INCREF(Py_None); resultobj = Py_None;
9488 return resultobj;
9489 fail:
9490 return NULL;
9491 }
9492
9493
9494 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9495 PyObject *resultobj;
9496 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9497 int result;
9498 PyObject * obj0 = 0 ;
9499 char *kwnames[] = {
9500 (char *) "self", NULL
9501 };
9502
9503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9505 {
9506 PyThreadState* __tstate = wxPyBeginAllowThreads();
9507 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9508
9509 wxPyEndAllowThreads(__tstate);
9510 if (PyErr_Occurred()) SWIG_fail;
9511 }
9512 resultobj = PyInt_FromLong((long)result);
9513 return resultobj;
9514 fail:
9515 return NULL;
9516 }
9517
9518
9519 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9520 PyObject *resultobj;
9521 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9522 wxString result;
9523 PyObject * obj0 = 0 ;
9524 char *kwnames[] = {
9525 (char *) "self", NULL
9526 };
9527
9528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9530 {
9531 PyThreadState* __tstate = wxPyBeginAllowThreads();
9532 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9533
9534 wxPyEndAllowThreads(__tstate);
9535 if (PyErr_Occurred()) SWIG_fail;
9536 }
9537 {
9538 #if wxUSE_UNICODE
9539 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9540 #else
9541 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9542 #endif
9543 }
9544 return resultobj;
9545 fail:
9546 return NULL;
9547 }
9548
9549
9550 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9551 PyObject *resultobj;
9552 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9553 wxString *arg2 = 0 ;
9554 bool result;
9555 bool temp2 = False ;
9556 PyObject * obj0 = 0 ;
9557 PyObject * obj1 = 0 ;
9558 char *kwnames[] = {
9559 (char *) "self",(char *) "s", NULL
9560 };
9561
9562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9564 {
9565 arg2 = wxString_in_helper(obj1);
9566 if (arg2 == NULL) SWIG_fail;
9567 temp2 = True;
9568 }
9569 {
9570 PyThreadState* __tstate = wxPyBeginAllowThreads();
9571 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
9576 resultobj = PyInt_FromLong((long)result);
9577 {
9578 if (temp2)
9579 delete arg2;
9580 }
9581 return resultobj;
9582 fail:
9583 {
9584 if (temp2)
9585 delete arg2;
9586 }
9587 return NULL;
9588 }
9589
9590
9591 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9592 PyObject *resultobj;
9593 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9594 int result;
9595 PyObject * obj0 = 0 ;
9596 char *kwnames[] = {
9597 (char *) "self", NULL
9598 };
9599
9600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9602 {
9603 PyThreadState* __tstate = wxPyBeginAllowThreads();
9604 result = (int)((wxRadioBox const *)arg1)->GetCount();
9605
9606 wxPyEndAllowThreads(__tstate);
9607 if (PyErr_Occurred()) SWIG_fail;
9608 }
9609 resultobj = PyInt_FromLong((long)result);
9610 return resultobj;
9611 fail:
9612 return NULL;
9613 }
9614
9615
9616 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9617 PyObject *resultobj;
9618 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9619 wxString *arg2 = 0 ;
9620 int result;
9621 bool temp2 = False ;
9622 PyObject * obj0 = 0 ;
9623 PyObject * obj1 = 0 ;
9624 char *kwnames[] = {
9625 (char *) "self",(char *) "s", NULL
9626 };
9627
9628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9630 {
9631 arg2 = wxString_in_helper(obj1);
9632 if (arg2 == NULL) SWIG_fail;
9633 temp2 = True;
9634 }
9635 {
9636 PyThreadState* __tstate = wxPyBeginAllowThreads();
9637 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9638
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 resultobj = PyInt_FromLong((long)result);
9643 {
9644 if (temp2)
9645 delete arg2;
9646 }
9647 return resultobj;
9648 fail:
9649 {
9650 if (temp2)
9651 delete arg2;
9652 }
9653 return NULL;
9654 }
9655
9656
9657 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9658 PyObject *resultobj;
9659 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9660 int arg2 ;
9661 wxString result;
9662 PyObject * obj0 = 0 ;
9663 char *kwnames[] = {
9664 (char *) "self",(char *) "n", NULL
9665 };
9666
9667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9669 {
9670 PyThreadState* __tstate = wxPyBeginAllowThreads();
9671 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9672
9673 wxPyEndAllowThreads(__tstate);
9674 if (PyErr_Occurred()) SWIG_fail;
9675 }
9676 {
9677 #if wxUSE_UNICODE
9678 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9679 #else
9680 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9681 #endif
9682 }
9683 return resultobj;
9684 fail:
9685 return NULL;
9686 }
9687
9688
9689 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9690 PyObject *resultobj;
9691 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9692 int arg2 ;
9693 wxString *arg3 = 0 ;
9694 bool temp3 = False ;
9695 PyObject * obj0 = 0 ;
9696 PyObject * obj2 = 0 ;
9697 char *kwnames[] = {
9698 (char *) "self",(char *) "n",(char *) "label", NULL
9699 };
9700
9701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9703 {
9704 arg3 = wxString_in_helper(obj2);
9705 if (arg3 == NULL) SWIG_fail;
9706 temp3 = True;
9707 }
9708 {
9709 PyThreadState* __tstate = wxPyBeginAllowThreads();
9710 (arg1)->SetString(arg2,(wxString const &)*arg3);
9711
9712 wxPyEndAllowThreads(__tstate);
9713 if (PyErr_Occurred()) SWIG_fail;
9714 }
9715 Py_INCREF(Py_None); resultobj = Py_None;
9716 {
9717 if (temp3)
9718 delete arg3;
9719 }
9720 return resultobj;
9721 fail:
9722 {
9723 if (temp3)
9724 delete arg3;
9725 }
9726 return NULL;
9727 }
9728
9729
9730 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9731 PyObject *resultobj;
9732 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9733 int arg2 ;
9734 bool arg3 = (bool) True ;
9735 PyObject * obj0 = 0 ;
9736 PyObject * obj2 = 0 ;
9737 char *kwnames[] = {
9738 (char *) "self",(char *) "n",(char *) "enable", NULL
9739 };
9740
9741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9743 if (obj2) {
9744 arg3 = PyInt_AsLong(obj2) ? true : false;
9745 if (PyErr_Occurred()) SWIG_fail;
9746 }
9747 {
9748 PyThreadState* __tstate = wxPyBeginAllowThreads();
9749 (arg1)->Enable(arg2,arg3);
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 Py_INCREF(Py_None); resultobj = Py_None;
9755 return resultobj;
9756 fail:
9757 return NULL;
9758 }
9759
9760
9761 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9762 PyObject *resultobj;
9763 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9764 int arg2 ;
9765 bool arg3 = (bool) True ;
9766 PyObject * obj0 = 0 ;
9767 PyObject * obj2 = 0 ;
9768 char *kwnames[] = {
9769 (char *) "self",(char *) "n",(char *) "show", NULL
9770 };
9771
9772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9774 if (obj2) {
9775 arg3 = PyInt_AsLong(obj2) ? true : false;
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
9778 {
9779 PyThreadState* __tstate = wxPyBeginAllowThreads();
9780 (arg1)->Show(arg2,arg3);
9781
9782 wxPyEndAllowThreads(__tstate);
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
9785 Py_INCREF(Py_None); resultobj = Py_None;
9786 return resultobj;
9787 fail:
9788 return NULL;
9789 }
9790
9791
9792 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9793 PyObject *resultobj;
9794 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9795 int result;
9796 PyObject * obj0 = 0 ;
9797 char *kwnames[] = {
9798 (char *) "self", NULL
9799 };
9800
9801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9803 {
9804 PyThreadState* __tstate = wxPyBeginAllowThreads();
9805 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
9806
9807 wxPyEndAllowThreads(__tstate);
9808 if (PyErr_Occurred()) SWIG_fail;
9809 }
9810 resultobj = PyInt_FromLong((long)result);
9811 return resultobj;
9812 fail:
9813 return NULL;
9814 }
9815
9816
9817 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9818 PyObject *resultobj;
9819 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9820 int result;
9821 PyObject * obj0 = 0 ;
9822 char *kwnames[] = {
9823 (char *) "self", NULL
9824 };
9825
9826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
9831
9832 wxPyEndAllowThreads(__tstate);
9833 if (PyErr_Occurred()) SWIG_fail;
9834 }
9835 resultobj = PyInt_FromLong((long)result);
9836 return resultobj;
9837 fail:
9838 return NULL;
9839 }
9840
9841
9842 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9843 PyObject *resultobj;
9844 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9845 int arg2 ;
9846 int arg3 ;
9847 long arg4 ;
9848 int result;
9849 PyObject * obj0 = 0 ;
9850 char *kwnames[] = {
9851 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9852 };
9853
9854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9856 {
9857 PyThreadState* __tstate = wxPyBeginAllowThreads();
9858 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
9859
9860 wxPyEndAllowThreads(__tstate);
9861 if (PyErr_Occurred()) SWIG_fail;
9862 }
9863 resultobj = PyInt_FromLong((long)result);
9864 return resultobj;
9865 fail:
9866 return NULL;
9867 }
9868
9869
9870 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9871 PyObject *obj;
9872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9873 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9874 Py_INCREF(obj);
9875 return Py_BuildValue((char *)"");
9876 }
9877 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9878 PyObject *resultobj;
9879 wxWindow *arg1 = (wxWindow *) 0 ;
9880 int arg2 ;
9881 wxString *arg3 = 0 ;
9882 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9883 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9884 wxSize const &arg5_defvalue = wxDefaultSize ;
9885 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9886 long arg6 = (long) 0 ;
9887 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9888 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9889 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9890 wxString *arg8 = (wxString *) &arg8_defvalue ;
9891 wxRadioButton *result;
9892 bool temp3 = False ;
9893 wxPoint temp4 ;
9894 wxSize temp5 ;
9895 bool temp8 = False ;
9896 PyObject * obj0 = 0 ;
9897 PyObject * obj2 = 0 ;
9898 PyObject * obj3 = 0 ;
9899 PyObject * obj4 = 0 ;
9900 PyObject * obj6 = 0 ;
9901 PyObject * obj7 = 0 ;
9902 char *kwnames[] = {
9903 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9904 };
9905
9906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9907 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9908 {
9909 arg3 = wxString_in_helper(obj2);
9910 if (arg3 == NULL) SWIG_fail;
9911 temp3 = True;
9912 }
9913 if (obj3) {
9914 {
9915 arg4 = &temp4;
9916 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9917 }
9918 }
9919 if (obj4) {
9920 {
9921 arg5 = &temp5;
9922 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9923 }
9924 }
9925 if (obj6) {
9926 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9927 if (arg7 == NULL) {
9928 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9929 }
9930 }
9931 if (obj7) {
9932 {
9933 arg8 = wxString_in_helper(obj7);
9934 if (arg8 == NULL) SWIG_fail;
9935 temp8 = True;
9936 }
9937 }
9938 {
9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
9940 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9941
9942 wxPyEndAllowThreads(__tstate);
9943 if (PyErr_Occurred()) SWIG_fail;
9944 }
9945 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9946 {
9947 if (temp3)
9948 delete arg3;
9949 }
9950 {
9951 if (temp8)
9952 delete arg8;
9953 }
9954 return resultobj;
9955 fail:
9956 {
9957 if (temp3)
9958 delete arg3;
9959 }
9960 {
9961 if (temp8)
9962 delete arg8;
9963 }
9964 return NULL;
9965 }
9966
9967
9968 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9969 PyObject *resultobj;
9970 wxRadioButton *result;
9971 char *kwnames[] = {
9972 NULL
9973 };
9974
9975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9976 {
9977 PyThreadState* __tstate = wxPyBeginAllowThreads();
9978 result = (wxRadioButton *)new wxRadioButton();
9979
9980 wxPyEndAllowThreads(__tstate);
9981 if (PyErr_Occurred()) SWIG_fail;
9982 }
9983 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9984 return resultobj;
9985 fail:
9986 return NULL;
9987 }
9988
9989
9990 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9991 PyObject *resultobj;
9992 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9993 wxWindow *arg2 = (wxWindow *) 0 ;
9994 int arg3 ;
9995 wxString *arg4 = 0 ;
9996 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9997 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9998 wxSize const &arg6_defvalue = wxDefaultSize ;
9999 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10000 long arg7 = (long) 0 ;
10001 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10002 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10003 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
10004 wxString *arg9 = (wxString *) &arg9_defvalue ;
10005 bool result;
10006 bool temp4 = False ;
10007 wxPoint temp5 ;
10008 wxSize temp6 ;
10009 bool temp9 = False ;
10010 PyObject * obj0 = 0 ;
10011 PyObject * obj1 = 0 ;
10012 PyObject * obj3 = 0 ;
10013 PyObject * obj4 = 0 ;
10014 PyObject * obj5 = 0 ;
10015 PyObject * obj7 = 0 ;
10016 PyObject * obj8 = 0 ;
10017 char *kwnames[] = {
10018 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10019 };
10020
10021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10023 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10024 {
10025 arg4 = wxString_in_helper(obj3);
10026 if (arg4 == NULL) SWIG_fail;
10027 temp4 = True;
10028 }
10029 if (obj4) {
10030 {
10031 arg5 = &temp5;
10032 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10033 }
10034 }
10035 if (obj5) {
10036 {
10037 arg6 = &temp6;
10038 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10039 }
10040 }
10041 if (obj7) {
10042 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10043 if (arg8 == NULL) {
10044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10045 }
10046 }
10047 if (obj8) {
10048 {
10049 arg9 = wxString_in_helper(obj8);
10050 if (arg9 == NULL) SWIG_fail;
10051 temp9 = True;
10052 }
10053 }
10054 {
10055 PyThreadState* __tstate = wxPyBeginAllowThreads();
10056 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10057
10058 wxPyEndAllowThreads(__tstate);
10059 if (PyErr_Occurred()) SWIG_fail;
10060 }
10061 resultobj = PyInt_FromLong((long)result);
10062 {
10063 if (temp4)
10064 delete arg4;
10065 }
10066 {
10067 if (temp9)
10068 delete arg9;
10069 }
10070 return resultobj;
10071 fail:
10072 {
10073 if (temp4)
10074 delete arg4;
10075 }
10076 {
10077 if (temp9)
10078 delete arg9;
10079 }
10080 return NULL;
10081 }
10082
10083
10084 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10085 PyObject *resultobj;
10086 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10087 bool result;
10088 PyObject * obj0 = 0 ;
10089 char *kwnames[] = {
10090 (char *) "self", NULL
10091 };
10092
10093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10095 {
10096 PyThreadState* __tstate = wxPyBeginAllowThreads();
10097 result = (bool)(arg1)->GetValue();
10098
10099 wxPyEndAllowThreads(__tstate);
10100 if (PyErr_Occurred()) SWIG_fail;
10101 }
10102 resultobj = PyInt_FromLong((long)result);
10103 return resultobj;
10104 fail:
10105 return NULL;
10106 }
10107
10108
10109 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10110 PyObject *resultobj;
10111 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10112 bool arg2 ;
10113 PyObject * obj0 = 0 ;
10114 PyObject * obj1 = 0 ;
10115 char *kwnames[] = {
10116 (char *) "self",(char *) "value", NULL
10117 };
10118
10119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10121 arg2 = PyInt_AsLong(obj1) ? true : false;
10122 if (PyErr_Occurred()) SWIG_fail;
10123 {
10124 PyThreadState* __tstate = wxPyBeginAllowThreads();
10125 (arg1)->SetValue(arg2);
10126
10127 wxPyEndAllowThreads(__tstate);
10128 if (PyErr_Occurred()) SWIG_fail;
10129 }
10130 Py_INCREF(Py_None); resultobj = Py_None;
10131 return resultobj;
10132 fail:
10133 return NULL;
10134 }
10135
10136
10137 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10138 PyObject *obj;
10139 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10140 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10141 Py_INCREF(obj);
10142 return Py_BuildValue((char *)"");
10143 }
10144 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10145 PyObject *resultobj;
10146 wxWindow *arg1 = (wxWindow *) 0 ;
10147 int arg2 ;
10148 int arg3 ;
10149 int arg4 ;
10150 int arg5 ;
10151 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10152 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10153 wxSize const &arg7_defvalue = wxDefaultSize ;
10154 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10155 long arg8 = (long) wxSL_HORIZONTAL ;
10156 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10157 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10158 wxString const &arg10_defvalue = wxPySliderNameStr ;
10159 wxString *arg10 = (wxString *) &arg10_defvalue ;
10160 wxSlider *result;
10161 wxPoint temp6 ;
10162 wxSize temp7 ;
10163 bool temp10 = False ;
10164 PyObject * obj0 = 0 ;
10165 PyObject * obj5 = 0 ;
10166 PyObject * obj6 = 0 ;
10167 PyObject * obj8 = 0 ;
10168 PyObject * obj9 = 0 ;
10169 char *kwnames[] = {
10170 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10171 };
10172
10173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10175 if (obj5) {
10176 {
10177 arg6 = &temp6;
10178 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10179 }
10180 }
10181 if (obj6) {
10182 {
10183 arg7 = &temp7;
10184 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10185 }
10186 }
10187 if (obj8) {
10188 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10189 if (arg9 == NULL) {
10190 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10191 }
10192 }
10193 if (obj9) {
10194 {
10195 arg10 = wxString_in_helper(obj9);
10196 if (arg10 == NULL) SWIG_fail;
10197 temp10 = True;
10198 }
10199 }
10200 {
10201 PyThreadState* __tstate = wxPyBeginAllowThreads();
10202 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10203
10204 wxPyEndAllowThreads(__tstate);
10205 if (PyErr_Occurred()) SWIG_fail;
10206 }
10207 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10208 {
10209 if (temp10)
10210 delete arg10;
10211 }
10212 return resultobj;
10213 fail:
10214 {
10215 if (temp10)
10216 delete arg10;
10217 }
10218 return NULL;
10219 }
10220
10221
10222 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10223 PyObject *resultobj;
10224 wxSlider *result;
10225 char *kwnames[] = {
10226 NULL
10227 };
10228
10229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10230 {
10231 PyThreadState* __tstate = wxPyBeginAllowThreads();
10232 result = (wxSlider *)new wxSlider();
10233
10234 wxPyEndAllowThreads(__tstate);
10235 if (PyErr_Occurred()) SWIG_fail;
10236 }
10237 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10238 return resultobj;
10239 fail:
10240 return NULL;
10241 }
10242
10243
10244 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10245 PyObject *resultobj;
10246 wxSlider *arg1 = (wxSlider *) 0 ;
10247 wxWindow *arg2 = (wxWindow *) 0 ;
10248 int arg3 ;
10249 int arg4 ;
10250 int arg5 ;
10251 int arg6 ;
10252 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10253 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10254 wxSize const &arg8_defvalue = wxDefaultSize ;
10255 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10256 long arg9 = (long) wxSL_HORIZONTAL ;
10257 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10258 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10259 wxString const &arg11_defvalue = wxPySliderNameStr ;
10260 wxString *arg11 = (wxString *) &arg11_defvalue ;
10261 bool result;
10262 wxPoint temp7 ;
10263 wxSize temp8 ;
10264 bool temp11 = False ;
10265 PyObject * obj0 = 0 ;
10266 PyObject * obj1 = 0 ;
10267 PyObject * obj6 = 0 ;
10268 PyObject * obj7 = 0 ;
10269 PyObject * obj9 = 0 ;
10270 PyObject * obj10 = 0 ;
10271 char *kwnames[] = {
10272 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10273 };
10274
10275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10278 if (obj6) {
10279 {
10280 arg7 = &temp7;
10281 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10282 }
10283 }
10284 if (obj7) {
10285 {
10286 arg8 = &temp8;
10287 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10288 }
10289 }
10290 if (obj9) {
10291 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10292 if (arg10 == NULL) {
10293 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10294 }
10295 }
10296 if (obj10) {
10297 {
10298 arg11 = wxString_in_helper(obj10);
10299 if (arg11 == NULL) SWIG_fail;
10300 temp11 = True;
10301 }
10302 }
10303 {
10304 PyThreadState* __tstate = wxPyBeginAllowThreads();
10305 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10306
10307 wxPyEndAllowThreads(__tstate);
10308 if (PyErr_Occurred()) SWIG_fail;
10309 }
10310 resultobj = PyInt_FromLong((long)result);
10311 {
10312 if (temp11)
10313 delete arg11;
10314 }
10315 return resultobj;
10316 fail:
10317 {
10318 if (temp11)
10319 delete arg11;
10320 }
10321 return NULL;
10322 }
10323
10324
10325 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10326 PyObject *resultobj;
10327 wxSlider *arg1 = (wxSlider *) 0 ;
10328 int result;
10329 PyObject * obj0 = 0 ;
10330 char *kwnames[] = {
10331 (char *) "self", NULL
10332 };
10333
10334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10336 {
10337 PyThreadState* __tstate = wxPyBeginAllowThreads();
10338 result = (int)((wxSlider const *)arg1)->GetValue();
10339
10340 wxPyEndAllowThreads(__tstate);
10341 if (PyErr_Occurred()) SWIG_fail;
10342 }
10343 resultobj = PyInt_FromLong((long)result);
10344 return resultobj;
10345 fail:
10346 return NULL;
10347 }
10348
10349
10350 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10351 PyObject *resultobj;
10352 wxSlider *arg1 = (wxSlider *) 0 ;
10353 int arg2 ;
10354 PyObject * obj0 = 0 ;
10355 char *kwnames[] = {
10356 (char *) "self",(char *) "value", NULL
10357 };
10358
10359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10361 {
10362 PyThreadState* __tstate = wxPyBeginAllowThreads();
10363 (arg1)->SetValue(arg2);
10364
10365 wxPyEndAllowThreads(__tstate);
10366 if (PyErr_Occurred()) SWIG_fail;
10367 }
10368 Py_INCREF(Py_None); resultobj = Py_None;
10369 return resultobj;
10370 fail:
10371 return NULL;
10372 }
10373
10374
10375 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10376 PyObject *resultobj;
10377 wxSlider *arg1 = (wxSlider *) 0 ;
10378 int arg2 ;
10379 int arg3 ;
10380 PyObject * obj0 = 0 ;
10381 char *kwnames[] = {
10382 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10383 };
10384
10385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 (arg1)->SetRange(arg2,arg3);
10390
10391 wxPyEndAllowThreads(__tstate);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 }
10394 Py_INCREF(Py_None); resultobj = Py_None;
10395 return resultobj;
10396 fail:
10397 return NULL;
10398 }
10399
10400
10401 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10402 PyObject *resultobj;
10403 wxSlider *arg1 = (wxSlider *) 0 ;
10404 int result;
10405 PyObject * obj0 = 0 ;
10406 char *kwnames[] = {
10407 (char *) "self", NULL
10408 };
10409
10410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10412 {
10413 PyThreadState* __tstate = wxPyBeginAllowThreads();
10414 result = (int)((wxSlider const *)arg1)->GetMin();
10415
10416 wxPyEndAllowThreads(__tstate);
10417 if (PyErr_Occurred()) SWIG_fail;
10418 }
10419 resultobj = PyInt_FromLong((long)result);
10420 return resultobj;
10421 fail:
10422 return NULL;
10423 }
10424
10425
10426 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10427 PyObject *resultobj;
10428 wxSlider *arg1 = (wxSlider *) 0 ;
10429 int result;
10430 PyObject * obj0 = 0 ;
10431 char *kwnames[] = {
10432 (char *) "self", NULL
10433 };
10434
10435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10437 {
10438 PyThreadState* __tstate = wxPyBeginAllowThreads();
10439 result = (int)((wxSlider const *)arg1)->GetMax();
10440
10441 wxPyEndAllowThreads(__tstate);
10442 if (PyErr_Occurred()) SWIG_fail;
10443 }
10444 resultobj = PyInt_FromLong((long)result);
10445 return resultobj;
10446 fail:
10447 return NULL;
10448 }
10449
10450
10451 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10452 PyObject *resultobj;
10453 wxSlider *arg1 = (wxSlider *) 0 ;
10454 int arg2 ;
10455 PyObject * obj0 = 0 ;
10456 char *kwnames[] = {
10457 (char *) "self",(char *) "minValue", NULL
10458 };
10459
10460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10462 {
10463 PyThreadState* __tstate = wxPyBeginAllowThreads();
10464 (arg1)->SetMin(arg2);
10465
10466 wxPyEndAllowThreads(__tstate);
10467 if (PyErr_Occurred()) SWIG_fail;
10468 }
10469 Py_INCREF(Py_None); resultobj = Py_None;
10470 return resultobj;
10471 fail:
10472 return NULL;
10473 }
10474
10475
10476 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10477 PyObject *resultobj;
10478 wxSlider *arg1 = (wxSlider *) 0 ;
10479 int arg2 ;
10480 PyObject * obj0 = 0 ;
10481 char *kwnames[] = {
10482 (char *) "self",(char *) "maxValue", NULL
10483 };
10484
10485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10487 {
10488 PyThreadState* __tstate = wxPyBeginAllowThreads();
10489 (arg1)->SetMax(arg2);
10490
10491 wxPyEndAllowThreads(__tstate);
10492 if (PyErr_Occurred()) SWIG_fail;
10493 }
10494 Py_INCREF(Py_None); resultobj = Py_None;
10495 return resultobj;
10496 fail:
10497 return NULL;
10498 }
10499
10500
10501 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10502 PyObject *resultobj;
10503 wxSlider *arg1 = (wxSlider *) 0 ;
10504 int arg2 ;
10505 PyObject * obj0 = 0 ;
10506 char *kwnames[] = {
10507 (char *) "self",(char *) "lineSize", NULL
10508 };
10509
10510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10512 {
10513 PyThreadState* __tstate = wxPyBeginAllowThreads();
10514 (arg1)->SetLineSize(arg2);
10515
10516 wxPyEndAllowThreads(__tstate);
10517 if (PyErr_Occurred()) SWIG_fail;
10518 }
10519 Py_INCREF(Py_None); resultobj = Py_None;
10520 return resultobj;
10521 fail:
10522 return NULL;
10523 }
10524
10525
10526 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10527 PyObject *resultobj;
10528 wxSlider *arg1 = (wxSlider *) 0 ;
10529 int arg2 ;
10530 PyObject * obj0 = 0 ;
10531 char *kwnames[] = {
10532 (char *) "self",(char *) "pageSize", NULL
10533 };
10534
10535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10537 {
10538 PyThreadState* __tstate = wxPyBeginAllowThreads();
10539 (arg1)->SetPageSize(arg2);
10540
10541 wxPyEndAllowThreads(__tstate);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 Py_INCREF(Py_None); resultobj = Py_None;
10545 return resultobj;
10546 fail:
10547 return NULL;
10548 }
10549
10550
10551 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10552 PyObject *resultobj;
10553 wxSlider *arg1 = (wxSlider *) 0 ;
10554 int result;
10555 PyObject * obj0 = 0 ;
10556 char *kwnames[] = {
10557 (char *) "self", NULL
10558 };
10559
10560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10562 {
10563 PyThreadState* __tstate = wxPyBeginAllowThreads();
10564 result = (int)((wxSlider const *)arg1)->GetLineSize();
10565
10566 wxPyEndAllowThreads(__tstate);
10567 if (PyErr_Occurred()) SWIG_fail;
10568 }
10569 resultobj = PyInt_FromLong((long)result);
10570 return resultobj;
10571 fail:
10572 return NULL;
10573 }
10574
10575
10576 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10577 PyObject *resultobj;
10578 wxSlider *arg1 = (wxSlider *) 0 ;
10579 int result;
10580 PyObject * obj0 = 0 ;
10581 char *kwnames[] = {
10582 (char *) "self", NULL
10583 };
10584
10585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10587 {
10588 PyThreadState* __tstate = wxPyBeginAllowThreads();
10589 result = (int)((wxSlider const *)arg1)->GetPageSize();
10590
10591 wxPyEndAllowThreads(__tstate);
10592 if (PyErr_Occurred()) SWIG_fail;
10593 }
10594 resultobj = PyInt_FromLong((long)result);
10595 return resultobj;
10596 fail:
10597 return NULL;
10598 }
10599
10600
10601 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10602 PyObject *resultobj;
10603 wxSlider *arg1 = (wxSlider *) 0 ;
10604 int arg2 ;
10605 PyObject * obj0 = 0 ;
10606 char *kwnames[] = {
10607 (char *) "self",(char *) "lenPixels", NULL
10608 };
10609
10610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10612 {
10613 PyThreadState* __tstate = wxPyBeginAllowThreads();
10614 (arg1)->SetThumbLength(arg2);
10615
10616 wxPyEndAllowThreads(__tstate);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 Py_INCREF(Py_None); resultobj = Py_None;
10620 return resultobj;
10621 fail:
10622 return NULL;
10623 }
10624
10625
10626 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10627 PyObject *resultobj;
10628 wxSlider *arg1 = (wxSlider *) 0 ;
10629 int result;
10630 PyObject * obj0 = 0 ;
10631 char *kwnames[] = {
10632 (char *) "self", NULL
10633 };
10634
10635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10637 {
10638 PyThreadState* __tstate = wxPyBeginAllowThreads();
10639 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10640
10641 wxPyEndAllowThreads(__tstate);
10642 if (PyErr_Occurred()) SWIG_fail;
10643 }
10644 resultobj = PyInt_FromLong((long)result);
10645 return resultobj;
10646 fail:
10647 return NULL;
10648 }
10649
10650
10651 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10652 PyObject *resultobj;
10653 wxSlider *arg1 = (wxSlider *) 0 ;
10654 int arg2 ;
10655 int arg3 ;
10656 PyObject * obj0 = 0 ;
10657 char *kwnames[] = {
10658 (char *) "self",(char *) "n",(char *) "pos", NULL
10659 };
10660
10661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10663 {
10664 PyThreadState* __tstate = wxPyBeginAllowThreads();
10665 (arg1)->SetTickFreq(arg2,arg3);
10666
10667 wxPyEndAllowThreads(__tstate);
10668 if (PyErr_Occurred()) SWIG_fail;
10669 }
10670 Py_INCREF(Py_None); resultobj = Py_None;
10671 return resultobj;
10672 fail:
10673 return NULL;
10674 }
10675
10676
10677 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10678 PyObject *resultobj;
10679 wxSlider *arg1 = (wxSlider *) 0 ;
10680 int result;
10681 PyObject * obj0 = 0 ;
10682 char *kwnames[] = {
10683 (char *) "self", NULL
10684 };
10685
10686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10688 {
10689 PyThreadState* __tstate = wxPyBeginAllowThreads();
10690 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10691
10692 wxPyEndAllowThreads(__tstate);
10693 if (PyErr_Occurred()) SWIG_fail;
10694 }
10695 resultobj = PyInt_FromLong((long)result);
10696 return resultobj;
10697 fail:
10698 return NULL;
10699 }
10700
10701
10702 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10703 PyObject *resultobj;
10704 wxSlider *arg1 = (wxSlider *) 0 ;
10705 PyObject * obj0 = 0 ;
10706 char *kwnames[] = {
10707 (char *) "self", NULL
10708 };
10709
10710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10712 {
10713 PyThreadState* __tstate = wxPyBeginAllowThreads();
10714 (arg1)->ClearTicks();
10715
10716 wxPyEndAllowThreads(__tstate);
10717 if (PyErr_Occurred()) SWIG_fail;
10718 }
10719 Py_INCREF(Py_None); resultobj = Py_None;
10720 return resultobj;
10721 fail:
10722 return NULL;
10723 }
10724
10725
10726 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10727 PyObject *resultobj;
10728 wxSlider *arg1 = (wxSlider *) 0 ;
10729 int arg2 ;
10730 PyObject * obj0 = 0 ;
10731 char *kwnames[] = {
10732 (char *) "self",(char *) "tickPos", NULL
10733 };
10734
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10737 {
10738 PyThreadState* __tstate = wxPyBeginAllowThreads();
10739 (arg1)->SetTick(arg2);
10740
10741 wxPyEndAllowThreads(__tstate);
10742 if (PyErr_Occurred()) SWIG_fail;
10743 }
10744 Py_INCREF(Py_None); resultobj = Py_None;
10745 return resultobj;
10746 fail:
10747 return NULL;
10748 }
10749
10750
10751 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxSlider *arg1 = (wxSlider *) 0 ;
10754 PyObject * obj0 = 0 ;
10755 char *kwnames[] = {
10756 (char *) "self", NULL
10757 };
10758
10759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 (arg1)->ClearSel();
10764
10765 wxPyEndAllowThreads(__tstate);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 }
10768 Py_INCREF(Py_None); resultobj = Py_None;
10769 return resultobj;
10770 fail:
10771 return NULL;
10772 }
10773
10774
10775 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10776 PyObject *resultobj;
10777 wxSlider *arg1 = (wxSlider *) 0 ;
10778 int result;
10779 PyObject * obj0 = 0 ;
10780 char *kwnames[] = {
10781 (char *) "self", NULL
10782 };
10783
10784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10786 {
10787 PyThreadState* __tstate = wxPyBeginAllowThreads();
10788 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10789
10790 wxPyEndAllowThreads(__tstate);
10791 if (PyErr_Occurred()) SWIG_fail;
10792 }
10793 resultobj = PyInt_FromLong((long)result);
10794 return resultobj;
10795 fail:
10796 return NULL;
10797 }
10798
10799
10800 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10801 PyObject *resultobj;
10802 wxSlider *arg1 = (wxSlider *) 0 ;
10803 int result;
10804 PyObject * obj0 = 0 ;
10805 char *kwnames[] = {
10806 (char *) "self", NULL
10807 };
10808
10809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10811 {
10812 PyThreadState* __tstate = wxPyBeginAllowThreads();
10813 result = (int)((wxSlider const *)arg1)->GetSelStart();
10814
10815 wxPyEndAllowThreads(__tstate);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 }
10818 resultobj = PyInt_FromLong((long)result);
10819 return resultobj;
10820 fail:
10821 return NULL;
10822 }
10823
10824
10825 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10826 PyObject *resultobj;
10827 wxSlider *arg1 = (wxSlider *) 0 ;
10828 int arg2 ;
10829 int arg3 ;
10830 PyObject * obj0 = 0 ;
10831 char *kwnames[] = {
10832 (char *) "self",(char *) "min",(char *) "max", NULL
10833 };
10834
10835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10837 {
10838 PyThreadState* __tstate = wxPyBeginAllowThreads();
10839 (arg1)->SetSelection(arg2,arg3);
10840
10841 wxPyEndAllowThreads(__tstate);
10842 if (PyErr_Occurred()) SWIG_fail;
10843 }
10844 Py_INCREF(Py_None); resultobj = Py_None;
10845 return resultobj;
10846 fail:
10847 return NULL;
10848 }
10849
10850
10851 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10852 PyObject *obj;
10853 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10854 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10855 Py_INCREF(obj);
10856 return Py_BuildValue((char *)"");
10857 }
10858 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10859 PyObject *resultobj;
10860 wxWindow *arg1 = (wxWindow *) 0 ;
10861 int arg2 ;
10862 wxString *arg3 = 0 ;
10863 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10864 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10865 wxSize const &arg5_defvalue = wxDefaultSize ;
10866 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10867 long arg6 = (long) 0 ;
10868 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10869 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10870 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10871 wxString *arg8 = (wxString *) &arg8_defvalue ;
10872 wxToggleButton *result;
10873 bool temp3 = False ;
10874 wxPoint temp4 ;
10875 wxSize temp5 ;
10876 bool temp8 = False ;
10877 PyObject * obj0 = 0 ;
10878 PyObject * obj2 = 0 ;
10879 PyObject * obj3 = 0 ;
10880 PyObject * obj4 = 0 ;
10881 PyObject * obj6 = 0 ;
10882 PyObject * obj7 = 0 ;
10883 char *kwnames[] = {
10884 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10885 };
10886
10887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10889 {
10890 arg3 = wxString_in_helper(obj2);
10891 if (arg3 == NULL) SWIG_fail;
10892 temp3 = True;
10893 }
10894 if (obj3) {
10895 {
10896 arg4 = &temp4;
10897 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10898 }
10899 }
10900 if (obj4) {
10901 {
10902 arg5 = &temp5;
10903 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10904 }
10905 }
10906 if (obj6) {
10907 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10908 if (arg7 == NULL) {
10909 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10910 }
10911 }
10912 if (obj7) {
10913 {
10914 arg8 = wxString_in_helper(obj7);
10915 if (arg8 == NULL) SWIG_fail;
10916 temp8 = True;
10917 }
10918 }
10919 {
10920 PyThreadState* __tstate = wxPyBeginAllowThreads();
10921 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10922
10923 wxPyEndAllowThreads(__tstate);
10924 if (PyErr_Occurred()) SWIG_fail;
10925 }
10926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10927 {
10928 if (temp3)
10929 delete arg3;
10930 }
10931 {
10932 if (temp8)
10933 delete arg8;
10934 }
10935 return resultobj;
10936 fail:
10937 {
10938 if (temp3)
10939 delete arg3;
10940 }
10941 {
10942 if (temp8)
10943 delete arg8;
10944 }
10945 return NULL;
10946 }
10947
10948
10949 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10950 PyObject *resultobj;
10951 wxToggleButton *result;
10952 char *kwnames[] = {
10953 NULL
10954 };
10955
10956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10957 {
10958 PyThreadState* __tstate = wxPyBeginAllowThreads();
10959 result = (wxToggleButton *)new wxToggleButton();
10960
10961 wxPyEndAllowThreads(__tstate);
10962 if (PyErr_Occurred()) SWIG_fail;
10963 }
10964 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10965 return resultobj;
10966 fail:
10967 return NULL;
10968 }
10969
10970
10971 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10972 PyObject *resultobj;
10973 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10974 wxWindow *arg2 = (wxWindow *) 0 ;
10975 int arg3 ;
10976 wxString *arg4 = 0 ;
10977 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10978 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10979 wxSize const &arg6_defvalue = wxDefaultSize ;
10980 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10981 long arg7 = (long) 0 ;
10982 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10983 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10984 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
10985 wxString *arg9 = (wxString *) &arg9_defvalue ;
10986 bool result;
10987 bool temp4 = False ;
10988 wxPoint temp5 ;
10989 wxSize temp6 ;
10990 bool temp9 = False ;
10991 PyObject * obj0 = 0 ;
10992 PyObject * obj1 = 0 ;
10993 PyObject * obj3 = 0 ;
10994 PyObject * obj4 = 0 ;
10995 PyObject * obj5 = 0 ;
10996 PyObject * obj7 = 0 ;
10997 PyObject * obj8 = 0 ;
10998 char *kwnames[] = {
10999 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11000 };
11001
11002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
11003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11005 {
11006 arg4 = wxString_in_helper(obj3);
11007 if (arg4 == NULL) SWIG_fail;
11008 temp4 = True;
11009 }
11010 if (obj4) {
11011 {
11012 arg5 = &temp5;
11013 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11014 }
11015 }
11016 if (obj5) {
11017 {
11018 arg6 = &temp6;
11019 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11020 }
11021 }
11022 if (obj7) {
11023 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11024 if (arg8 == NULL) {
11025 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11026 }
11027 }
11028 if (obj8) {
11029 {
11030 arg9 = wxString_in_helper(obj8);
11031 if (arg9 == NULL) SWIG_fail;
11032 temp9 = True;
11033 }
11034 }
11035 {
11036 PyThreadState* __tstate = wxPyBeginAllowThreads();
11037 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11038
11039 wxPyEndAllowThreads(__tstate);
11040 if (PyErr_Occurred()) SWIG_fail;
11041 }
11042 resultobj = PyInt_FromLong((long)result);
11043 {
11044 if (temp4)
11045 delete arg4;
11046 }
11047 {
11048 if (temp9)
11049 delete arg9;
11050 }
11051 return resultobj;
11052 fail:
11053 {
11054 if (temp4)
11055 delete arg4;
11056 }
11057 {
11058 if (temp9)
11059 delete arg9;
11060 }
11061 return NULL;
11062 }
11063
11064
11065 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11066 PyObject *resultobj;
11067 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11068 bool arg2 ;
11069 PyObject * obj0 = 0 ;
11070 PyObject * obj1 = 0 ;
11071 char *kwnames[] = {
11072 (char *) "self",(char *) "value", NULL
11073 };
11074
11075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11077 arg2 = PyInt_AsLong(obj1) ? true : false;
11078 if (PyErr_Occurred()) SWIG_fail;
11079 {
11080 PyThreadState* __tstate = wxPyBeginAllowThreads();
11081 (arg1)->SetValue(arg2);
11082
11083 wxPyEndAllowThreads(__tstate);
11084 if (PyErr_Occurred()) SWIG_fail;
11085 }
11086 Py_INCREF(Py_None); resultobj = Py_None;
11087 return resultobj;
11088 fail:
11089 return NULL;
11090 }
11091
11092
11093 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11094 PyObject *resultobj;
11095 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11096 bool result;
11097 PyObject * obj0 = 0 ;
11098 char *kwnames[] = {
11099 (char *) "self", NULL
11100 };
11101
11102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
11103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11104 {
11105 PyThreadState* __tstate = wxPyBeginAllowThreads();
11106 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11107
11108 wxPyEndAllowThreads(__tstate);
11109 if (PyErr_Occurred()) SWIG_fail;
11110 }
11111 resultobj = PyInt_FromLong((long)result);
11112 return resultobj;
11113 fail:
11114 return NULL;
11115 }
11116
11117
11118 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11119 PyObject *resultobj;
11120 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11121 wxString *arg2 = 0 ;
11122 bool temp2 = False ;
11123 PyObject * obj0 = 0 ;
11124 PyObject * obj1 = 0 ;
11125 char *kwnames[] = {
11126 (char *) "self",(char *) "label", NULL
11127 };
11128
11129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11131 {
11132 arg2 = wxString_in_helper(obj1);
11133 if (arg2 == NULL) SWIG_fail;
11134 temp2 = True;
11135 }
11136 {
11137 PyThreadState* __tstate = wxPyBeginAllowThreads();
11138 (arg1)->SetLabel((wxString const &)*arg2);
11139
11140 wxPyEndAllowThreads(__tstate);
11141 if (PyErr_Occurred()) SWIG_fail;
11142 }
11143 Py_INCREF(Py_None); resultobj = Py_None;
11144 {
11145 if (temp2)
11146 delete arg2;
11147 }
11148 return resultobj;
11149 fail:
11150 {
11151 if (temp2)
11152 delete arg2;
11153 }
11154 return NULL;
11155 }
11156
11157
11158 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11159 PyObject *obj;
11160 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11161 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11162 Py_INCREF(obj);
11163 return Py_BuildValue((char *)"");
11164 }
11165 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11166 PyObject *resultobj;
11167 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11168 size_t result;
11169 PyObject * obj0 = 0 ;
11170 char *kwnames[] = {
11171 (char *) "self", NULL
11172 };
11173
11174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11176 {
11177 PyThreadState* __tstate = wxPyBeginAllowThreads();
11178 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11179
11180 wxPyEndAllowThreads(__tstate);
11181 if (PyErr_Occurred()) SWIG_fail;
11182 }
11183 resultobj = PyInt_FromLong((long)result);
11184 return resultobj;
11185 fail:
11186 return NULL;
11187 }
11188
11189
11190 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11191 PyObject *resultobj;
11192 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11193 size_t arg2 ;
11194 wxWindow *result;
11195 PyObject * obj0 = 0 ;
11196 PyObject * obj1 = 0 ;
11197 char *kwnames[] = {
11198 (char *) "self",(char *) "n", NULL
11199 };
11200
11201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11203 arg2 = (size_t) PyInt_AsLong(obj1);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 {
11206 PyThreadState* __tstate = wxPyBeginAllowThreads();
11207 result = (wxWindow *)(arg1)->GetPage(arg2);
11208
11209 wxPyEndAllowThreads(__tstate);
11210 if (PyErr_Occurred()) SWIG_fail;
11211 }
11212 {
11213 resultobj = wxPyMake_wxObject(result);
11214 }
11215 return resultobj;
11216 fail:
11217 return NULL;
11218 }
11219
11220
11221 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11222 PyObject *resultobj;
11223 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11224 int result;
11225 PyObject * obj0 = 0 ;
11226 char *kwnames[] = {
11227 (char *) "self", NULL
11228 };
11229
11230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11232 {
11233 PyThreadState* __tstate = wxPyBeginAllowThreads();
11234 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11235
11236 wxPyEndAllowThreads(__tstate);
11237 if (PyErr_Occurred()) SWIG_fail;
11238 }
11239 resultobj = PyInt_FromLong((long)result);
11240 return resultobj;
11241 fail:
11242 return NULL;
11243 }
11244
11245
11246 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11247 PyObject *resultobj;
11248 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11249 size_t arg2 ;
11250 wxString *arg3 = 0 ;
11251 bool result;
11252 bool temp3 = False ;
11253 PyObject * obj0 = 0 ;
11254 PyObject * obj1 = 0 ;
11255 PyObject * obj2 = 0 ;
11256 char *kwnames[] = {
11257 (char *) "self",(char *) "n",(char *) "strText", NULL
11258 };
11259
11260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11262 arg2 = (size_t) PyInt_AsLong(obj1);
11263 if (PyErr_Occurred()) SWIG_fail;
11264 {
11265 arg3 = wxString_in_helper(obj2);
11266 if (arg3 == NULL) SWIG_fail;
11267 temp3 = True;
11268 }
11269 {
11270 PyThreadState* __tstate = wxPyBeginAllowThreads();
11271 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11272
11273 wxPyEndAllowThreads(__tstate);
11274 if (PyErr_Occurred()) SWIG_fail;
11275 }
11276 resultobj = PyInt_FromLong((long)result);
11277 {
11278 if (temp3)
11279 delete arg3;
11280 }
11281 return resultobj;
11282 fail:
11283 {
11284 if (temp3)
11285 delete arg3;
11286 }
11287 return NULL;
11288 }
11289
11290
11291 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11292 PyObject *resultobj;
11293 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11294 size_t arg2 ;
11295 wxString result;
11296 PyObject * obj0 = 0 ;
11297 PyObject * obj1 = 0 ;
11298 char *kwnames[] = {
11299 (char *) "self",(char *) "n", NULL
11300 };
11301
11302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11304 arg2 = (size_t) PyInt_AsLong(obj1);
11305 if (PyErr_Occurred()) SWIG_fail;
11306 {
11307 PyThreadState* __tstate = wxPyBeginAllowThreads();
11308 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11309
11310 wxPyEndAllowThreads(__tstate);
11311 if (PyErr_Occurred()) SWIG_fail;
11312 }
11313 {
11314 #if wxUSE_UNICODE
11315 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11316 #else
11317 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11318 #endif
11319 }
11320 return resultobj;
11321 fail:
11322 return NULL;
11323 }
11324
11325
11326 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11327 PyObject *resultobj;
11328 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11329 wxImageList *arg2 = (wxImageList *) 0 ;
11330 PyObject * obj0 = 0 ;
11331 PyObject * obj1 = 0 ;
11332 char *kwnames[] = {
11333 (char *) "self",(char *) "imageList", NULL
11334 };
11335
11336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11338 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11339 {
11340 PyThreadState* __tstate = wxPyBeginAllowThreads();
11341 (arg1)->SetImageList(arg2);
11342
11343 wxPyEndAllowThreads(__tstate);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 }
11346 Py_INCREF(Py_None); resultobj = Py_None;
11347 return resultobj;
11348 fail:
11349 return NULL;
11350 }
11351
11352
11353 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11354 PyObject *resultobj;
11355 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11356 wxImageList *arg2 = (wxImageList *) 0 ;
11357 PyObject * obj0 = 0 ;
11358 PyObject * obj1 = 0 ;
11359 char *kwnames[] = {
11360 (char *) "self",(char *) "imageList", NULL
11361 };
11362
11363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11366 {
11367 PyThreadState* __tstate = wxPyBeginAllowThreads();
11368 (arg1)->AssignImageList(arg2);
11369
11370 wxPyEndAllowThreads(__tstate);
11371 if (PyErr_Occurred()) SWIG_fail;
11372 }
11373 Py_INCREF(Py_None); resultobj = Py_None;
11374 return resultobj;
11375 fail:
11376 return NULL;
11377 }
11378
11379
11380 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11381 PyObject *resultobj;
11382 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11383 wxImageList *result;
11384 PyObject * obj0 = 0 ;
11385 char *kwnames[] = {
11386 (char *) "self", NULL
11387 };
11388
11389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11391 {
11392 PyThreadState* __tstate = wxPyBeginAllowThreads();
11393 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11394
11395 wxPyEndAllowThreads(__tstate);
11396 if (PyErr_Occurred()) SWIG_fail;
11397 }
11398 {
11399 resultobj = wxPyMake_wxObject(result);
11400 }
11401 return resultobj;
11402 fail:
11403 return NULL;
11404 }
11405
11406
11407 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11408 PyObject *resultobj;
11409 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11410 size_t arg2 ;
11411 int result;
11412 PyObject * obj0 = 0 ;
11413 PyObject * obj1 = 0 ;
11414 char *kwnames[] = {
11415 (char *) "self",(char *) "n", NULL
11416 };
11417
11418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11420 arg2 = (size_t) PyInt_AsLong(obj1);
11421 if (PyErr_Occurred()) SWIG_fail;
11422 {
11423 PyThreadState* __tstate = wxPyBeginAllowThreads();
11424 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11425
11426 wxPyEndAllowThreads(__tstate);
11427 if (PyErr_Occurred()) SWIG_fail;
11428 }
11429 resultobj = PyInt_FromLong((long)result);
11430 return resultobj;
11431 fail:
11432 return NULL;
11433 }
11434
11435
11436 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11437 PyObject *resultobj;
11438 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11439 size_t arg2 ;
11440 int arg3 ;
11441 bool result;
11442 PyObject * obj0 = 0 ;
11443 PyObject * obj1 = 0 ;
11444 char *kwnames[] = {
11445 (char *) "self",(char *) "n",(char *) "imageId", NULL
11446 };
11447
11448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11450 arg2 = (size_t) PyInt_AsLong(obj1);
11451 if (PyErr_Occurred()) SWIG_fail;
11452 {
11453 PyThreadState* __tstate = wxPyBeginAllowThreads();
11454 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11455
11456 wxPyEndAllowThreads(__tstate);
11457 if (PyErr_Occurred()) SWIG_fail;
11458 }
11459 resultobj = PyInt_FromLong((long)result);
11460 return resultobj;
11461 fail:
11462 return NULL;
11463 }
11464
11465
11466 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11467 PyObject *resultobj;
11468 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11469 wxSize *arg2 = 0 ;
11470 wxSize temp2 ;
11471 PyObject * obj0 = 0 ;
11472 PyObject * obj1 = 0 ;
11473 char *kwnames[] = {
11474 (char *) "self",(char *) "size", NULL
11475 };
11476
11477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11479 {
11480 arg2 = &temp2;
11481 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11482 }
11483 {
11484 PyThreadState* __tstate = wxPyBeginAllowThreads();
11485 (arg1)->SetPageSize((wxSize const &)*arg2);
11486
11487 wxPyEndAllowThreads(__tstate);
11488 if (PyErr_Occurred()) SWIG_fail;
11489 }
11490 Py_INCREF(Py_None); resultobj = Py_None;
11491 return resultobj;
11492 fail:
11493 return NULL;
11494 }
11495
11496
11497 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11498 PyObject *resultobj;
11499 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11500 wxSize *arg2 = 0 ;
11501 wxSize result;
11502 wxSize temp2 ;
11503 PyObject * obj0 = 0 ;
11504 PyObject * obj1 = 0 ;
11505 char *kwnames[] = {
11506 (char *) "self",(char *) "sizePage", NULL
11507 };
11508
11509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11511 {
11512 arg2 = &temp2;
11513 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11514 }
11515 {
11516 PyThreadState* __tstate = wxPyBeginAllowThreads();
11517 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11518
11519 wxPyEndAllowThreads(__tstate);
11520 if (PyErr_Occurred()) SWIG_fail;
11521 }
11522 {
11523 wxSize * resultptr;
11524 resultptr = new wxSize((wxSize &) result);
11525 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11526 }
11527 return resultobj;
11528 fail:
11529 return NULL;
11530 }
11531
11532
11533 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11534 PyObject *resultobj;
11535 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11536 size_t arg2 ;
11537 bool result;
11538 PyObject * obj0 = 0 ;
11539 PyObject * obj1 = 0 ;
11540 char *kwnames[] = {
11541 (char *) "self",(char *) "n", NULL
11542 };
11543
11544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11546 arg2 = (size_t) PyInt_AsLong(obj1);
11547 if (PyErr_Occurred()) SWIG_fail;
11548 {
11549 PyThreadState* __tstate = wxPyBeginAllowThreads();
11550 result = (bool)(arg1)->DeletePage(arg2);
11551
11552 wxPyEndAllowThreads(__tstate);
11553 if (PyErr_Occurred()) SWIG_fail;
11554 }
11555 resultobj = PyInt_FromLong((long)result);
11556 return resultobj;
11557 fail:
11558 return NULL;
11559 }
11560
11561
11562 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11563 PyObject *resultobj;
11564 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11565 size_t arg2 ;
11566 bool result;
11567 PyObject * obj0 = 0 ;
11568 PyObject * obj1 = 0 ;
11569 char *kwnames[] = {
11570 (char *) "self",(char *) "n", NULL
11571 };
11572
11573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11575 arg2 = (size_t) PyInt_AsLong(obj1);
11576 if (PyErr_Occurred()) SWIG_fail;
11577 {
11578 PyThreadState* __tstate = wxPyBeginAllowThreads();
11579 result = (bool)(arg1)->RemovePage(arg2);
11580
11581 wxPyEndAllowThreads(__tstate);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 }
11584 resultobj = PyInt_FromLong((long)result);
11585 return resultobj;
11586 fail:
11587 return NULL;
11588 }
11589
11590
11591 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11592 PyObject *resultobj;
11593 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11594 bool result;
11595 PyObject * obj0 = 0 ;
11596 char *kwnames[] = {
11597 (char *) "self", NULL
11598 };
11599
11600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11602 {
11603 PyThreadState* __tstate = wxPyBeginAllowThreads();
11604 result = (bool)(arg1)->DeleteAllPages();
11605
11606 wxPyEndAllowThreads(__tstate);
11607 if (PyErr_Occurred()) SWIG_fail;
11608 }
11609 resultobj = PyInt_FromLong((long)result);
11610 return resultobj;
11611 fail:
11612 return NULL;
11613 }
11614
11615
11616 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11617 PyObject *resultobj;
11618 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11619 wxWindow *arg2 = (wxWindow *) 0 ;
11620 wxString *arg3 = 0 ;
11621 bool arg4 = (bool) False ;
11622 int arg5 = (int) -1 ;
11623 bool result;
11624 bool temp3 = False ;
11625 PyObject * obj0 = 0 ;
11626 PyObject * obj1 = 0 ;
11627 PyObject * obj2 = 0 ;
11628 PyObject * obj3 = 0 ;
11629 char *kwnames[] = {
11630 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11631 };
11632
11633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11635 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11636 {
11637 arg3 = wxString_in_helper(obj2);
11638 if (arg3 == NULL) SWIG_fail;
11639 temp3 = True;
11640 }
11641 if (obj3) {
11642 arg4 = PyInt_AsLong(obj3) ? true : false;
11643 if (PyErr_Occurred()) SWIG_fail;
11644 }
11645 {
11646 PyThreadState* __tstate = wxPyBeginAllowThreads();
11647 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11648
11649 wxPyEndAllowThreads(__tstate);
11650 if (PyErr_Occurred()) SWIG_fail;
11651 }
11652 resultobj = PyInt_FromLong((long)result);
11653 {
11654 if (temp3)
11655 delete arg3;
11656 }
11657 return resultobj;
11658 fail:
11659 {
11660 if (temp3)
11661 delete arg3;
11662 }
11663 return NULL;
11664 }
11665
11666
11667 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11668 PyObject *resultobj;
11669 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11670 size_t arg2 ;
11671 wxWindow *arg3 = (wxWindow *) 0 ;
11672 wxString *arg4 = 0 ;
11673 bool arg5 = (bool) False ;
11674 int arg6 = (int) -1 ;
11675 bool result;
11676 bool temp4 = False ;
11677 PyObject * obj0 = 0 ;
11678 PyObject * obj1 = 0 ;
11679 PyObject * obj2 = 0 ;
11680 PyObject * obj3 = 0 ;
11681 PyObject * obj4 = 0 ;
11682 char *kwnames[] = {
11683 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11684 };
11685
11686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11688 arg2 = (size_t) PyInt_AsLong(obj1);
11689 if (PyErr_Occurred()) SWIG_fail;
11690 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11691 {
11692 arg4 = wxString_in_helper(obj3);
11693 if (arg4 == NULL) SWIG_fail;
11694 temp4 = True;
11695 }
11696 if (obj4) {
11697 arg5 = PyInt_AsLong(obj4) ? true : false;
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
11700 {
11701 PyThreadState* __tstate = wxPyBeginAllowThreads();
11702 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11703
11704 wxPyEndAllowThreads(__tstate);
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 resultobj = PyInt_FromLong((long)result);
11708 {
11709 if (temp4)
11710 delete arg4;
11711 }
11712 return resultobj;
11713 fail:
11714 {
11715 if (temp4)
11716 delete arg4;
11717 }
11718 return NULL;
11719 }
11720
11721
11722 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11723 PyObject *resultobj;
11724 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11725 size_t arg2 ;
11726 int result;
11727 PyObject * obj0 = 0 ;
11728 PyObject * obj1 = 0 ;
11729 char *kwnames[] = {
11730 (char *) "self",(char *) "n", NULL
11731 };
11732
11733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11735 arg2 = (size_t) PyInt_AsLong(obj1);
11736 if (PyErr_Occurred()) SWIG_fail;
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 result = (int)(arg1)->SetSelection(arg2);
11740
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 resultobj = PyInt_FromLong((long)result);
11745 return resultobj;
11746 fail:
11747 return NULL;
11748 }
11749
11750
11751 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11752 PyObject *resultobj;
11753 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11754 bool arg2 = (bool) True ;
11755 PyObject * obj0 = 0 ;
11756 PyObject * obj1 = 0 ;
11757 char *kwnames[] = {
11758 (char *) "self",(char *) "forward", NULL
11759 };
11760
11761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11763 if (obj1) {
11764 arg2 = PyInt_AsLong(obj1) ? true : false;
11765 if (PyErr_Occurred()) SWIG_fail;
11766 }
11767 {
11768 PyThreadState* __tstate = wxPyBeginAllowThreads();
11769 (arg1)->AdvanceSelection(arg2);
11770
11771 wxPyEndAllowThreads(__tstate);
11772 if (PyErr_Occurred()) SWIG_fail;
11773 }
11774 Py_INCREF(Py_None); resultobj = Py_None;
11775 return resultobj;
11776 fail:
11777 return NULL;
11778 }
11779
11780
11781 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11782 PyObject *obj;
11783 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11784 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11785 Py_INCREF(obj);
11786 return Py_BuildValue((char *)"");
11787 }
11788 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11789 PyObject *resultobj;
11790 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11791 int arg2 = (int) 0 ;
11792 int arg3 = (int) -1 ;
11793 int arg4 = (int) -1 ;
11794 wxBookCtrlEvent *result;
11795 char *kwnames[] = {
11796 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11797 };
11798
11799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11800 {
11801 PyThreadState* __tstate = wxPyBeginAllowThreads();
11802 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11803
11804 wxPyEndAllowThreads(__tstate);
11805 if (PyErr_Occurred()) SWIG_fail;
11806 }
11807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11808 return resultobj;
11809 fail:
11810 return NULL;
11811 }
11812
11813
11814 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11815 PyObject *resultobj;
11816 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11817 int result;
11818 PyObject * obj0 = 0 ;
11819 char *kwnames[] = {
11820 (char *) "self", NULL
11821 };
11822
11823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11825 {
11826 PyThreadState* __tstate = wxPyBeginAllowThreads();
11827 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11828
11829 wxPyEndAllowThreads(__tstate);
11830 if (PyErr_Occurred()) SWIG_fail;
11831 }
11832 resultobj = PyInt_FromLong((long)result);
11833 return resultobj;
11834 fail:
11835 return NULL;
11836 }
11837
11838
11839 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11840 PyObject *resultobj;
11841 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11842 int arg2 ;
11843 PyObject * obj0 = 0 ;
11844 char *kwnames[] = {
11845 (char *) "self",(char *) "nSel", NULL
11846 };
11847
11848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11850 {
11851 PyThreadState* __tstate = wxPyBeginAllowThreads();
11852 (arg1)->SetSelection(arg2);
11853
11854 wxPyEndAllowThreads(__tstate);
11855 if (PyErr_Occurred()) SWIG_fail;
11856 }
11857 Py_INCREF(Py_None); resultobj = Py_None;
11858 return resultobj;
11859 fail:
11860 return NULL;
11861 }
11862
11863
11864 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11865 PyObject *resultobj;
11866 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11867 int result;
11868 PyObject * obj0 = 0 ;
11869 char *kwnames[] = {
11870 (char *) "self", NULL
11871 };
11872
11873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11875 {
11876 PyThreadState* __tstate = wxPyBeginAllowThreads();
11877 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11878
11879 wxPyEndAllowThreads(__tstate);
11880 if (PyErr_Occurred()) SWIG_fail;
11881 }
11882 resultobj = PyInt_FromLong((long)result);
11883 return resultobj;
11884 fail:
11885 return NULL;
11886 }
11887
11888
11889 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11890 PyObject *resultobj;
11891 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11892 int arg2 ;
11893 PyObject * obj0 = 0 ;
11894 char *kwnames[] = {
11895 (char *) "self",(char *) "nOldSel", NULL
11896 };
11897
11898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11900 {
11901 PyThreadState* __tstate = wxPyBeginAllowThreads();
11902 (arg1)->SetOldSelection(arg2);
11903
11904 wxPyEndAllowThreads(__tstate);
11905 if (PyErr_Occurred()) SWIG_fail;
11906 }
11907 Py_INCREF(Py_None); resultobj = Py_None;
11908 return resultobj;
11909 fail:
11910 return NULL;
11911 }
11912
11913
11914 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11915 PyObject *obj;
11916 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11917 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11918 Py_INCREF(obj);
11919 return Py_BuildValue((char *)"");
11920 }
11921 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11922 PyObject *resultobj;
11923 wxWindow *arg1 = (wxWindow *) 0 ;
11924 int arg2 ;
11925 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11926 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11927 wxSize const &arg4_defvalue = wxDefaultSize ;
11928 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11929 long arg5 = (long) 0 ;
11930 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11931 wxString *arg6 = (wxString *) &arg6_defvalue ;
11932 wxNotebook *result;
11933 wxPoint temp3 ;
11934 wxSize temp4 ;
11935 bool temp6 = False ;
11936 PyObject * obj0 = 0 ;
11937 PyObject * obj2 = 0 ;
11938 PyObject * obj3 = 0 ;
11939 PyObject * obj5 = 0 ;
11940 char *kwnames[] = {
11941 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11942 };
11943
11944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11946 if (obj2) {
11947 {
11948 arg3 = &temp3;
11949 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11950 }
11951 }
11952 if (obj3) {
11953 {
11954 arg4 = &temp4;
11955 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11956 }
11957 }
11958 if (obj5) {
11959 {
11960 arg6 = wxString_in_helper(obj5);
11961 if (arg6 == NULL) SWIG_fail;
11962 temp6 = True;
11963 }
11964 }
11965 {
11966 PyThreadState* __tstate = wxPyBeginAllowThreads();
11967 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11968
11969 wxPyEndAllowThreads(__tstate);
11970 if (PyErr_Occurred()) SWIG_fail;
11971 }
11972 {
11973 resultobj = wxPyMake_wxObject(result);
11974 }
11975 {
11976 if (temp6)
11977 delete arg6;
11978 }
11979 return resultobj;
11980 fail:
11981 {
11982 if (temp6)
11983 delete arg6;
11984 }
11985 return NULL;
11986 }
11987
11988
11989 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11990 PyObject *resultobj;
11991 wxNotebook *result;
11992 char *kwnames[] = {
11993 NULL
11994 };
11995
11996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11997 {
11998 PyThreadState* __tstate = wxPyBeginAllowThreads();
11999 result = (wxNotebook *)new wxNotebook();
12000
12001 wxPyEndAllowThreads(__tstate);
12002 if (PyErr_Occurred()) SWIG_fail;
12003 }
12004 {
12005 resultobj = wxPyMake_wxObject(result);
12006 }
12007 return resultobj;
12008 fail:
12009 return NULL;
12010 }
12011
12012
12013 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12014 PyObject *resultobj;
12015 wxNotebook *arg1 = (wxNotebook *) 0 ;
12016 wxWindow *arg2 = (wxWindow *) 0 ;
12017 int arg3 ;
12018 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12019 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12020 wxSize const &arg5_defvalue = wxDefaultSize ;
12021 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12022 long arg6 = (long) 0 ;
12023 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12024 wxString *arg7 = (wxString *) &arg7_defvalue ;
12025 bool result;
12026 wxPoint temp4 ;
12027 wxSize temp5 ;
12028 bool temp7 = False ;
12029 PyObject * obj0 = 0 ;
12030 PyObject * obj1 = 0 ;
12031 PyObject * obj3 = 0 ;
12032 PyObject * obj4 = 0 ;
12033 PyObject * obj6 = 0 ;
12034 char *kwnames[] = {
12035 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12036 };
12037
12038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12040 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12041 if (obj3) {
12042 {
12043 arg4 = &temp4;
12044 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12045 }
12046 }
12047 if (obj4) {
12048 {
12049 arg5 = &temp5;
12050 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12051 }
12052 }
12053 if (obj6) {
12054 {
12055 arg7 = wxString_in_helper(obj6);
12056 if (arg7 == NULL) SWIG_fail;
12057 temp7 = True;
12058 }
12059 }
12060 {
12061 PyThreadState* __tstate = wxPyBeginAllowThreads();
12062 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12063
12064 wxPyEndAllowThreads(__tstate);
12065 if (PyErr_Occurred()) SWIG_fail;
12066 }
12067 resultobj = PyInt_FromLong((long)result);
12068 {
12069 if (temp7)
12070 delete arg7;
12071 }
12072 return resultobj;
12073 fail:
12074 {
12075 if (temp7)
12076 delete arg7;
12077 }
12078 return NULL;
12079 }
12080
12081
12082 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12083 PyObject *resultobj;
12084 wxNotebook *arg1 = (wxNotebook *) 0 ;
12085 int result;
12086 PyObject * obj0 = 0 ;
12087 char *kwnames[] = {
12088 (char *) "self", NULL
12089 };
12090
12091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12096
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
12100 resultobj = PyInt_FromLong((long)result);
12101 return resultobj;
12102 fail:
12103 return NULL;
12104 }
12105
12106
12107 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12108 PyObject *resultobj;
12109 wxNotebook *arg1 = (wxNotebook *) 0 ;
12110 wxSize *arg2 = 0 ;
12111 wxSize temp2 ;
12112 PyObject * obj0 = 0 ;
12113 PyObject * obj1 = 0 ;
12114 char *kwnames[] = {
12115 (char *) "self",(char *) "padding", NULL
12116 };
12117
12118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12120 {
12121 arg2 = &temp2;
12122 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12123 }
12124 {
12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
12126 (arg1)->SetPadding((wxSize const &)*arg2);
12127
12128 wxPyEndAllowThreads(__tstate);
12129 if (PyErr_Occurred()) SWIG_fail;
12130 }
12131 Py_INCREF(Py_None); resultobj = Py_None;
12132 return resultobj;
12133 fail:
12134 return NULL;
12135 }
12136
12137
12138 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12139 PyObject *resultobj;
12140 wxNotebook *arg1 = (wxNotebook *) 0 ;
12141 wxSize *arg2 = 0 ;
12142 wxSize temp2 ;
12143 PyObject * obj0 = 0 ;
12144 PyObject * obj1 = 0 ;
12145 char *kwnames[] = {
12146 (char *) "self",(char *) "sz", NULL
12147 };
12148
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12151 {
12152 arg2 = &temp2;
12153 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12154 }
12155 {
12156 PyThreadState* __tstate = wxPyBeginAllowThreads();
12157 (arg1)->SetTabSize((wxSize const &)*arg2);
12158
12159 wxPyEndAllowThreads(__tstate);
12160 if (PyErr_Occurred()) SWIG_fail;
12161 }
12162 Py_INCREF(Py_None); resultobj = Py_None;
12163 return resultobj;
12164 fail:
12165 return NULL;
12166 }
12167
12168
12169 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12170 PyObject *resultobj;
12171 wxNotebook *arg1 = (wxNotebook *) 0 ;
12172 wxPoint *arg2 = 0 ;
12173 long *arg3 = (long *) 0 ;
12174 int result;
12175 wxPoint temp2 ;
12176 long temp3 ;
12177 PyObject * obj0 = 0 ;
12178 PyObject * obj1 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self",(char *) "pt", NULL
12181 };
12182
12183 arg3 = &temp3;
12184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12186 {
12187 arg2 = &temp2;
12188 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12189 }
12190 {
12191 PyThreadState* __tstate = wxPyBeginAllowThreads();
12192 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12193
12194 wxPyEndAllowThreads(__tstate);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 }
12197 resultobj = PyInt_FromLong((long)result);
12198 {
12199 PyObject *o = PyInt_FromLong((long) (*arg3));
12200 resultobj = t_output_helper(resultobj,o);
12201 }
12202 return resultobj;
12203 fail:
12204 return NULL;
12205 }
12206
12207
12208 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12209 PyObject *resultobj;
12210 wxNotebook *arg1 = (wxNotebook *) 0 ;
12211 wxSize *arg2 = 0 ;
12212 wxSize result;
12213 wxSize temp2 ;
12214 PyObject * obj0 = 0 ;
12215 PyObject * obj1 = 0 ;
12216 char *kwnames[] = {
12217 (char *) "self",(char *) "sizePage", NULL
12218 };
12219
12220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12222 {
12223 arg2 = &temp2;
12224 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12225 }
12226 {
12227 PyThreadState* __tstate = wxPyBeginAllowThreads();
12228 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12229
12230 wxPyEndAllowThreads(__tstate);
12231 if (PyErr_Occurred()) SWIG_fail;
12232 }
12233 {
12234 wxSize * resultptr;
12235 resultptr = new wxSize((wxSize &) result);
12236 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12237 }
12238 return resultobj;
12239 fail:
12240 return NULL;
12241 }
12242
12243
12244 static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12245 PyObject *resultobj;
12246 wxNotebook *arg1 = (wxNotebook *) 0 ;
12247 wxWindow *arg2 = (wxWindow *) 0 ;
12248 wxColour *arg3 = 0 ;
12249 wxColour temp3 ;
12250 PyObject * obj0 = 0 ;
12251 PyObject * obj1 = 0 ;
12252 PyObject * obj2 = 0 ;
12253 char *kwnames[] = {
12254 (char *) "self",(char *) "window",(char *) "colour", NULL
12255 };
12256
12257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
12258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12259 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12260 {
12261 arg3 = &temp3;
12262 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12263 }
12264 {
12265 PyThreadState* __tstate = wxPyBeginAllowThreads();
12266 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
12267
12268 wxPyEndAllowThreads(__tstate);
12269 if (PyErr_Occurred()) SWIG_fail;
12270 }
12271 Py_INCREF(Py_None); resultobj = Py_None;
12272 return resultobj;
12273 fail:
12274 return NULL;
12275 }
12276
12277
12278 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12279 PyObject *obj;
12280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12281 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12282 Py_INCREF(obj);
12283 return Py_BuildValue((char *)"");
12284 }
12285 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12286 PyObject *resultobj;
12287 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12288 int arg2 = (int) 0 ;
12289 int arg3 = (int) -1 ;
12290 int arg4 = (int) -1 ;
12291 wxNotebookEvent *result;
12292 char *kwnames[] = {
12293 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12294 };
12295
12296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12297 {
12298 PyThreadState* __tstate = wxPyBeginAllowThreads();
12299 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12300
12301 wxPyEndAllowThreads(__tstate);
12302 if (PyErr_Occurred()) SWIG_fail;
12303 }
12304 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12305 return resultobj;
12306 fail:
12307 return NULL;
12308 }
12309
12310
12311 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12312 PyObject *obj;
12313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12314 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12315 Py_INCREF(obj);
12316 return Py_BuildValue((char *)"");
12317 }
12318 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12319 PyObject *resultobj;
12320 wxWindow *arg1 = (wxWindow *) 0 ;
12321 int arg2 ;
12322 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12323 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12324 wxSize const &arg4_defvalue = wxDefaultSize ;
12325 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12326 long arg5 = (long) 0 ;
12327 wxString const &arg6_defvalue = wxPyEmptyString ;
12328 wxString *arg6 = (wxString *) &arg6_defvalue ;
12329 wxListbook *result;
12330 wxPoint temp3 ;
12331 wxSize temp4 ;
12332 bool temp6 = False ;
12333 PyObject * obj0 = 0 ;
12334 PyObject * obj2 = 0 ;
12335 PyObject * obj3 = 0 ;
12336 PyObject * obj5 = 0 ;
12337 char *kwnames[] = {
12338 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12339 };
12340
12341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12343 if (obj2) {
12344 {
12345 arg3 = &temp3;
12346 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12347 }
12348 }
12349 if (obj3) {
12350 {
12351 arg4 = &temp4;
12352 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12353 }
12354 }
12355 if (obj5) {
12356 {
12357 arg6 = wxString_in_helper(obj5);
12358 if (arg6 == NULL) SWIG_fail;
12359 temp6 = True;
12360 }
12361 }
12362 {
12363 PyThreadState* __tstate = wxPyBeginAllowThreads();
12364 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12365
12366 wxPyEndAllowThreads(__tstate);
12367 if (PyErr_Occurred()) SWIG_fail;
12368 }
12369 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12370 {
12371 if (temp6)
12372 delete arg6;
12373 }
12374 return resultobj;
12375 fail:
12376 {
12377 if (temp6)
12378 delete arg6;
12379 }
12380 return NULL;
12381 }
12382
12383
12384 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12385 PyObject *resultobj;
12386 wxListbook *result;
12387 char *kwnames[] = {
12388 NULL
12389 };
12390
12391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12392 {
12393 PyThreadState* __tstate = wxPyBeginAllowThreads();
12394 result = (wxListbook *)new wxListbook();
12395
12396 wxPyEndAllowThreads(__tstate);
12397 if (PyErr_Occurred()) SWIG_fail;
12398 }
12399 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12400 return resultobj;
12401 fail:
12402 return NULL;
12403 }
12404
12405
12406 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12407 PyObject *resultobj;
12408 wxListbook *arg1 = (wxListbook *) 0 ;
12409 wxWindow *arg2 = (wxWindow *) 0 ;
12410 int arg3 ;
12411 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12412 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12413 wxSize const &arg5_defvalue = wxDefaultSize ;
12414 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12415 long arg6 = (long) 0 ;
12416 wxString const &arg7_defvalue = wxPyEmptyString ;
12417 wxString *arg7 = (wxString *) &arg7_defvalue ;
12418 bool result;
12419 wxPoint temp4 ;
12420 wxSize temp5 ;
12421 bool temp7 = False ;
12422 PyObject * obj0 = 0 ;
12423 PyObject * obj1 = 0 ;
12424 PyObject * obj3 = 0 ;
12425 PyObject * obj4 = 0 ;
12426 PyObject * obj6 = 0 ;
12427 char *kwnames[] = {
12428 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12429 };
12430
12431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12433 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12434 if (obj3) {
12435 {
12436 arg4 = &temp4;
12437 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12438 }
12439 }
12440 if (obj4) {
12441 {
12442 arg5 = &temp5;
12443 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12444 }
12445 }
12446 if (obj6) {
12447 {
12448 arg7 = wxString_in_helper(obj6);
12449 if (arg7 == NULL) SWIG_fail;
12450 temp7 = True;
12451 }
12452 }
12453 {
12454 PyThreadState* __tstate = wxPyBeginAllowThreads();
12455 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12456
12457 wxPyEndAllowThreads(__tstate);
12458 if (PyErr_Occurred()) SWIG_fail;
12459 }
12460 resultobj = PyInt_FromLong((long)result);
12461 {
12462 if (temp7)
12463 delete arg7;
12464 }
12465 return resultobj;
12466 fail:
12467 {
12468 if (temp7)
12469 delete arg7;
12470 }
12471 return NULL;
12472 }
12473
12474
12475 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12476 PyObject *resultobj;
12477 wxListbook *arg1 = (wxListbook *) 0 ;
12478 bool result;
12479 PyObject * obj0 = 0 ;
12480 char *kwnames[] = {
12481 (char *) "self", NULL
12482 };
12483
12484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12486 {
12487 PyThreadState* __tstate = wxPyBeginAllowThreads();
12488 result = (bool)((wxListbook const *)arg1)->IsVertical();
12489
12490 wxPyEndAllowThreads(__tstate);
12491 if (PyErr_Occurred()) SWIG_fail;
12492 }
12493 resultobj = PyInt_FromLong((long)result);
12494 return resultobj;
12495 fail:
12496 return NULL;
12497 }
12498
12499
12500 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12501 PyObject *obj;
12502 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12503 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12504 Py_INCREF(obj);
12505 return Py_BuildValue((char *)"");
12506 }
12507 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12508 PyObject *resultobj;
12509 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12510 int arg2 = (int) 0 ;
12511 int arg3 = (int) -1 ;
12512 int arg4 = (int) -1 ;
12513 wxListbookEvent *result;
12514 char *kwnames[] = {
12515 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12516 };
12517
12518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12519 {
12520 PyThreadState* __tstate = wxPyBeginAllowThreads();
12521 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12522
12523 wxPyEndAllowThreads(__tstate);
12524 if (PyErr_Occurred()) SWIG_fail;
12525 }
12526 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12527 return resultobj;
12528 fail:
12529 return NULL;
12530 }
12531
12532
12533 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12534 PyObject *obj;
12535 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12536 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12537 Py_INCREF(obj);
12538 return Py_BuildValue((char *)"");
12539 }
12540 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12541 PyObject *resultobj;
12542 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12543 wxBookCtrlSizer *result;
12544 PyObject * obj0 = 0 ;
12545 char *kwnames[] = {
12546 (char *) "nb", NULL
12547 };
12548
12549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12551 {
12552 PyThreadState* __tstate = wxPyBeginAllowThreads();
12553 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12554
12555 wxPyEndAllowThreads(__tstate);
12556 if (PyErr_Occurred()) SWIG_fail;
12557 }
12558 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12559 return resultobj;
12560 fail:
12561 return NULL;
12562 }
12563
12564
12565 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12566 PyObject *resultobj;
12567 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12568 PyObject * obj0 = 0 ;
12569 char *kwnames[] = {
12570 (char *) "self", NULL
12571 };
12572
12573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12575 {
12576 PyThreadState* __tstate = wxPyBeginAllowThreads();
12577 (arg1)->RecalcSizes();
12578
12579 wxPyEndAllowThreads(__tstate);
12580 if (PyErr_Occurred()) SWIG_fail;
12581 }
12582 Py_INCREF(Py_None); resultobj = Py_None;
12583 return resultobj;
12584 fail:
12585 return NULL;
12586 }
12587
12588
12589 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12590 PyObject *resultobj;
12591 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12592 wxSize result;
12593 PyObject * obj0 = 0 ;
12594 char *kwnames[] = {
12595 (char *) "self", NULL
12596 };
12597
12598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12600 {
12601 PyThreadState* __tstate = wxPyBeginAllowThreads();
12602 result = (arg1)->CalcMin();
12603
12604 wxPyEndAllowThreads(__tstate);
12605 if (PyErr_Occurred()) SWIG_fail;
12606 }
12607 {
12608 wxSize * resultptr;
12609 resultptr = new wxSize((wxSize &) result);
12610 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12611 }
12612 return resultobj;
12613 fail:
12614 return NULL;
12615 }
12616
12617
12618 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12619 PyObject *resultobj;
12620 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12621 wxBookCtrl *result;
12622 PyObject * obj0 = 0 ;
12623 char *kwnames[] = {
12624 (char *) "self", NULL
12625 };
12626
12627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12629 {
12630 PyThreadState* __tstate = wxPyBeginAllowThreads();
12631 result = (wxBookCtrl *)(arg1)->GetControl();
12632
12633 wxPyEndAllowThreads(__tstate);
12634 if (PyErr_Occurred()) SWIG_fail;
12635 }
12636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12637 return resultobj;
12638 fail:
12639 return NULL;
12640 }
12641
12642
12643 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12644 PyObject *obj;
12645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12646 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12647 Py_INCREF(obj);
12648 return Py_BuildValue((char *)"");
12649 }
12650 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12651 PyObject *resultobj;
12652 wxNotebook *arg1 = (wxNotebook *) 0 ;
12653 wxNotebookSizer *result;
12654 PyObject * obj0 = 0 ;
12655 char *kwnames[] = {
12656 (char *) "nb", NULL
12657 };
12658
12659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12661 {
12662 PyThreadState* __tstate = wxPyBeginAllowThreads();
12663 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12664
12665 wxPyEndAllowThreads(__tstate);
12666 if (PyErr_Occurred()) SWIG_fail;
12667 }
12668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12669 return resultobj;
12670 fail:
12671 return NULL;
12672 }
12673
12674
12675 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12676 PyObject *resultobj;
12677 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12678 PyObject * obj0 = 0 ;
12679 char *kwnames[] = {
12680 (char *) "self", NULL
12681 };
12682
12683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12685 {
12686 PyThreadState* __tstate = wxPyBeginAllowThreads();
12687 (arg1)->RecalcSizes();
12688
12689 wxPyEndAllowThreads(__tstate);
12690 if (PyErr_Occurred()) SWIG_fail;
12691 }
12692 Py_INCREF(Py_None); resultobj = Py_None;
12693 return resultobj;
12694 fail:
12695 return NULL;
12696 }
12697
12698
12699 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12700 PyObject *resultobj;
12701 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12702 wxSize result;
12703 PyObject * obj0 = 0 ;
12704 char *kwnames[] = {
12705 (char *) "self", NULL
12706 };
12707
12708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12710 {
12711 PyThreadState* __tstate = wxPyBeginAllowThreads();
12712 result = (arg1)->CalcMin();
12713
12714 wxPyEndAllowThreads(__tstate);
12715 if (PyErr_Occurred()) SWIG_fail;
12716 }
12717 {
12718 wxSize * resultptr;
12719 resultptr = new wxSize((wxSize &) result);
12720 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12721 }
12722 return resultobj;
12723 fail:
12724 return NULL;
12725 }
12726
12727
12728 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12729 PyObject *resultobj;
12730 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12731 wxNotebook *result;
12732 PyObject * obj0 = 0 ;
12733 char *kwnames[] = {
12734 (char *) "self", NULL
12735 };
12736
12737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12739 {
12740 PyThreadState* __tstate = wxPyBeginAllowThreads();
12741 result = (wxNotebook *)(arg1)->GetNotebook();
12742
12743 wxPyEndAllowThreads(__tstate);
12744 if (PyErr_Occurred()) SWIG_fail;
12745 }
12746 {
12747 resultobj = wxPyMake_wxObject(result);
12748 }
12749 return resultobj;
12750 fail:
12751 return NULL;
12752 }
12753
12754
12755 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12756 PyObject *obj;
12757 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12758 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12759 Py_INCREF(obj);
12760 return Py_BuildValue((char *)"");
12761 }
12762 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12763 PyObject *resultobj;
12764 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12765 int result;
12766 PyObject * obj0 = 0 ;
12767 char *kwnames[] = {
12768 (char *) "self", NULL
12769 };
12770
12771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12773 {
12774 PyThreadState* __tstate = wxPyBeginAllowThreads();
12775 result = (int)(arg1)->GetId();
12776
12777 wxPyEndAllowThreads(__tstate);
12778 if (PyErr_Occurred()) SWIG_fail;
12779 }
12780 resultobj = PyInt_FromLong((long)result);
12781 return resultobj;
12782 fail:
12783 return NULL;
12784 }
12785
12786
12787 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12788 PyObject *resultobj;
12789 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12790 wxControl *result;
12791 PyObject * obj0 = 0 ;
12792 char *kwnames[] = {
12793 (char *) "self", NULL
12794 };
12795
12796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12798 {
12799 PyThreadState* __tstate = wxPyBeginAllowThreads();
12800 result = (wxControl *)(arg1)->GetControl();
12801
12802 wxPyEndAllowThreads(__tstate);
12803 if (PyErr_Occurred()) SWIG_fail;
12804 }
12805 {
12806 resultobj = wxPyMake_wxObject(result);
12807 }
12808 return resultobj;
12809 fail:
12810 return NULL;
12811 }
12812
12813
12814 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12815 PyObject *resultobj;
12816 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12817 wxToolBarBase *result;
12818 PyObject * obj0 = 0 ;
12819 char *kwnames[] = {
12820 (char *) "self", NULL
12821 };
12822
12823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12825 {
12826 PyThreadState* __tstate = wxPyBeginAllowThreads();
12827 result = (wxToolBarBase *)(arg1)->GetToolBar();
12828
12829 wxPyEndAllowThreads(__tstate);
12830 if (PyErr_Occurred()) SWIG_fail;
12831 }
12832 {
12833 resultobj = wxPyMake_wxObject(result);
12834 }
12835 return resultobj;
12836 fail:
12837 return NULL;
12838 }
12839
12840
12841 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12842 PyObject *resultobj;
12843 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12844 int result;
12845 PyObject * obj0 = 0 ;
12846 char *kwnames[] = {
12847 (char *) "self", NULL
12848 };
12849
12850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12852 {
12853 PyThreadState* __tstate = wxPyBeginAllowThreads();
12854 result = (int)(arg1)->IsButton();
12855
12856 wxPyEndAllowThreads(__tstate);
12857 if (PyErr_Occurred()) SWIG_fail;
12858 }
12859 resultobj = PyInt_FromLong((long)result);
12860 return resultobj;
12861 fail:
12862 return NULL;
12863 }
12864
12865
12866 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12867 PyObject *resultobj;
12868 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12869 int result;
12870 PyObject * obj0 = 0 ;
12871 char *kwnames[] = {
12872 (char *) "self", NULL
12873 };
12874
12875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 result = (int)(arg1)->IsControl();
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 resultobj = PyInt_FromLong((long)result);
12885 return resultobj;
12886 fail:
12887 return NULL;
12888 }
12889
12890
12891 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj;
12893 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12894 int result;
12895 PyObject * obj0 = 0 ;
12896 char *kwnames[] = {
12897 (char *) "self", NULL
12898 };
12899
12900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12902 {
12903 PyThreadState* __tstate = wxPyBeginAllowThreads();
12904 result = (int)(arg1)->IsSeparator();
12905
12906 wxPyEndAllowThreads(__tstate);
12907 if (PyErr_Occurred()) SWIG_fail;
12908 }
12909 resultobj = PyInt_FromLong((long)result);
12910 return resultobj;
12911 fail:
12912 return NULL;
12913 }
12914
12915
12916 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12917 PyObject *resultobj;
12918 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12919 int result;
12920 PyObject * obj0 = 0 ;
12921 char *kwnames[] = {
12922 (char *) "self", NULL
12923 };
12924
12925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12927 {
12928 PyThreadState* __tstate = wxPyBeginAllowThreads();
12929 result = (int)(arg1)->GetStyle();
12930
12931 wxPyEndAllowThreads(__tstate);
12932 if (PyErr_Occurred()) SWIG_fail;
12933 }
12934 resultobj = PyInt_FromLong((long)result);
12935 return resultobj;
12936 fail:
12937 return NULL;
12938 }
12939
12940
12941 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12942 PyObject *resultobj;
12943 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12944 int result;
12945 PyObject * obj0 = 0 ;
12946 char *kwnames[] = {
12947 (char *) "self", NULL
12948 };
12949
12950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12952 {
12953 PyThreadState* __tstate = wxPyBeginAllowThreads();
12954 result = (int)(arg1)->GetKind();
12955
12956 wxPyEndAllowThreads(__tstate);
12957 if (PyErr_Occurred()) SWIG_fail;
12958 }
12959 resultobj = PyInt_FromLong((long)result);
12960 return resultobj;
12961 fail:
12962 return NULL;
12963 }
12964
12965
12966 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12967 PyObject *resultobj;
12968 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12969 bool result;
12970 PyObject * obj0 = 0 ;
12971 char *kwnames[] = {
12972 (char *) "self", NULL
12973 };
12974
12975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
12976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 result = (bool)(arg1)->IsEnabled();
12980
12981 wxPyEndAllowThreads(__tstate);
12982 if (PyErr_Occurred()) SWIG_fail;
12983 }
12984 resultobj = PyInt_FromLong((long)result);
12985 return resultobj;
12986 fail:
12987 return NULL;
12988 }
12989
12990
12991 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12992 PyObject *resultobj;
12993 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12994 bool result;
12995 PyObject * obj0 = 0 ;
12996 char *kwnames[] = {
12997 (char *) "self", NULL
12998 };
12999
13000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
13001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13002 {
13003 PyThreadState* __tstate = wxPyBeginAllowThreads();
13004 result = (bool)(arg1)->IsToggled();
13005
13006 wxPyEndAllowThreads(__tstate);
13007 if (PyErr_Occurred()) SWIG_fail;
13008 }
13009 resultobj = PyInt_FromLong((long)result);
13010 return resultobj;
13011 fail:
13012 return NULL;
13013 }
13014
13015
13016 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13017 PyObject *resultobj;
13018 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13019 bool result;
13020 PyObject * obj0 = 0 ;
13021 char *kwnames[] = {
13022 (char *) "self", NULL
13023 };
13024
13025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13027 {
13028 PyThreadState* __tstate = wxPyBeginAllowThreads();
13029 result = (bool)(arg1)->CanBeToggled();
13030
13031 wxPyEndAllowThreads(__tstate);
13032 if (PyErr_Occurred()) SWIG_fail;
13033 }
13034 resultobj = PyInt_FromLong((long)result);
13035 return resultobj;
13036 fail:
13037 return NULL;
13038 }
13039
13040
13041 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13042 PyObject *resultobj;
13043 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13044 wxBitmap *result;
13045 PyObject * obj0 = 0 ;
13046 char *kwnames[] = {
13047 (char *) "self", NULL
13048 };
13049
13050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 {
13055 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13056 result = (wxBitmap *) &_result_ref;
13057 }
13058
13059 wxPyEndAllowThreads(__tstate);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
13062 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13063 return resultobj;
13064 fail:
13065 return NULL;
13066 }
13067
13068
13069 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13070 PyObject *resultobj;
13071 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13072 wxBitmap *result;
13073 PyObject * obj0 = 0 ;
13074 char *kwnames[] = {
13075 (char *) "self", NULL
13076 };
13077
13078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13080 {
13081 PyThreadState* __tstate = wxPyBeginAllowThreads();
13082 {
13083 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13084 result = (wxBitmap *) &_result_ref;
13085 }
13086
13087 wxPyEndAllowThreads(__tstate);
13088 if (PyErr_Occurred()) SWIG_fail;
13089 }
13090 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13091 return resultobj;
13092 fail:
13093 return NULL;
13094 }
13095
13096
13097 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13098 PyObject *resultobj;
13099 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13100 wxBitmap result;
13101 PyObject * obj0 = 0 ;
13102 char *kwnames[] = {
13103 (char *) "self", NULL
13104 };
13105
13106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13108 {
13109 PyThreadState* __tstate = wxPyBeginAllowThreads();
13110 result = (arg1)->GetBitmap();
13111
13112 wxPyEndAllowThreads(__tstate);
13113 if (PyErr_Occurred()) SWIG_fail;
13114 }
13115 {
13116 wxBitmap * resultptr;
13117 resultptr = new wxBitmap((wxBitmap &) result);
13118 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13119 }
13120 return resultobj;
13121 fail:
13122 return NULL;
13123 }
13124
13125
13126 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj;
13128 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13129 wxString result;
13130 PyObject * obj0 = 0 ;
13131 char *kwnames[] = {
13132 (char *) "self", NULL
13133 };
13134
13135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13137 {
13138 PyThreadState* __tstate = wxPyBeginAllowThreads();
13139 result = (arg1)->GetLabel();
13140
13141 wxPyEndAllowThreads(__tstate);
13142 if (PyErr_Occurred()) SWIG_fail;
13143 }
13144 {
13145 #if wxUSE_UNICODE
13146 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13147 #else
13148 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13149 #endif
13150 }
13151 return resultobj;
13152 fail:
13153 return NULL;
13154 }
13155
13156
13157 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13158 PyObject *resultobj;
13159 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13160 wxString result;
13161 PyObject * obj0 = 0 ;
13162 char *kwnames[] = {
13163 (char *) "self", NULL
13164 };
13165
13166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13168 {
13169 PyThreadState* __tstate = wxPyBeginAllowThreads();
13170 result = (arg1)->GetShortHelp();
13171
13172 wxPyEndAllowThreads(__tstate);
13173 if (PyErr_Occurred()) SWIG_fail;
13174 }
13175 {
13176 #if wxUSE_UNICODE
13177 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13178 #else
13179 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13180 #endif
13181 }
13182 return resultobj;
13183 fail:
13184 return NULL;
13185 }
13186
13187
13188 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13189 PyObject *resultobj;
13190 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13191 wxString result;
13192 PyObject * obj0 = 0 ;
13193 char *kwnames[] = {
13194 (char *) "self", NULL
13195 };
13196
13197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13199 {
13200 PyThreadState* __tstate = wxPyBeginAllowThreads();
13201 result = (arg1)->GetLongHelp();
13202
13203 wxPyEndAllowThreads(__tstate);
13204 if (PyErr_Occurred()) SWIG_fail;
13205 }
13206 {
13207 #if wxUSE_UNICODE
13208 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13209 #else
13210 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13211 #endif
13212 }
13213 return resultobj;
13214 fail:
13215 return NULL;
13216 }
13217
13218
13219 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13220 PyObject *resultobj;
13221 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13222 bool arg2 ;
13223 bool result;
13224 PyObject * obj0 = 0 ;
13225 PyObject * obj1 = 0 ;
13226 char *kwnames[] = {
13227 (char *) "self",(char *) "enable", NULL
13228 };
13229
13230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13232 arg2 = PyInt_AsLong(obj1) ? true : false;
13233 if (PyErr_Occurred()) SWIG_fail;
13234 {
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 result = (bool)(arg1)->Enable(arg2);
13237
13238 wxPyEndAllowThreads(__tstate);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
13241 resultobj = PyInt_FromLong((long)result);
13242 return resultobj;
13243 fail:
13244 return NULL;
13245 }
13246
13247
13248 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13249 PyObject *resultobj;
13250 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13251 PyObject * obj0 = 0 ;
13252 char *kwnames[] = {
13253 (char *) "self", NULL
13254 };
13255
13256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13258 {
13259 PyThreadState* __tstate = wxPyBeginAllowThreads();
13260 (arg1)->Toggle();
13261
13262 wxPyEndAllowThreads(__tstate);
13263 if (PyErr_Occurred()) SWIG_fail;
13264 }
13265 Py_INCREF(Py_None); resultobj = Py_None;
13266 return resultobj;
13267 fail:
13268 return NULL;
13269 }
13270
13271
13272 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13273 PyObject *resultobj;
13274 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13275 bool arg2 ;
13276 bool result;
13277 PyObject * obj0 = 0 ;
13278 PyObject * obj1 = 0 ;
13279 char *kwnames[] = {
13280 (char *) "self",(char *) "toggle", NULL
13281 };
13282
13283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13285 arg2 = PyInt_AsLong(obj1) ? true : false;
13286 if (PyErr_Occurred()) SWIG_fail;
13287 {
13288 PyThreadState* __tstate = wxPyBeginAllowThreads();
13289 result = (bool)(arg1)->SetToggle(arg2);
13290
13291 wxPyEndAllowThreads(__tstate);
13292 if (PyErr_Occurred()) SWIG_fail;
13293 }
13294 resultobj = PyInt_FromLong((long)result);
13295 return resultobj;
13296 fail:
13297 return NULL;
13298 }
13299
13300
13301 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13302 PyObject *resultobj;
13303 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13304 wxString *arg2 = 0 ;
13305 bool result;
13306 bool temp2 = False ;
13307 PyObject * obj0 = 0 ;
13308 PyObject * obj1 = 0 ;
13309 char *kwnames[] = {
13310 (char *) "self",(char *) "help", NULL
13311 };
13312
13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13315 {
13316 arg2 = wxString_in_helper(obj1);
13317 if (arg2 == NULL) SWIG_fail;
13318 temp2 = True;
13319 }
13320 {
13321 PyThreadState* __tstate = wxPyBeginAllowThreads();
13322 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13323
13324 wxPyEndAllowThreads(__tstate);
13325 if (PyErr_Occurred()) SWIG_fail;
13326 }
13327 resultobj = PyInt_FromLong((long)result);
13328 {
13329 if (temp2)
13330 delete arg2;
13331 }
13332 return resultobj;
13333 fail:
13334 {
13335 if (temp2)
13336 delete arg2;
13337 }
13338 return NULL;
13339 }
13340
13341
13342 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13345 wxString *arg2 = 0 ;
13346 bool result;
13347 bool temp2 = False ;
13348 PyObject * obj0 = 0 ;
13349 PyObject * obj1 = 0 ;
13350 char *kwnames[] = {
13351 (char *) "self",(char *) "help", NULL
13352 };
13353
13354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13356 {
13357 arg2 = wxString_in_helper(obj1);
13358 if (arg2 == NULL) SWIG_fail;
13359 temp2 = True;
13360 }
13361 {
13362 PyThreadState* __tstate = wxPyBeginAllowThreads();
13363 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13364
13365 wxPyEndAllowThreads(__tstate);
13366 if (PyErr_Occurred()) SWIG_fail;
13367 }
13368 resultobj = PyInt_FromLong((long)result);
13369 {
13370 if (temp2)
13371 delete arg2;
13372 }
13373 return resultobj;
13374 fail:
13375 {
13376 if (temp2)
13377 delete arg2;
13378 }
13379 return NULL;
13380 }
13381
13382
13383 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13384 PyObject *resultobj;
13385 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13386 wxBitmap *arg2 = 0 ;
13387 PyObject * obj0 = 0 ;
13388 PyObject * obj1 = 0 ;
13389 char *kwnames[] = {
13390 (char *) "self",(char *) "bmp", NULL
13391 };
13392
13393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13395 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13396 if (arg2 == NULL) {
13397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13398 }
13399 {
13400 PyThreadState* __tstate = wxPyBeginAllowThreads();
13401 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13402
13403 wxPyEndAllowThreads(__tstate);
13404 if (PyErr_Occurred()) SWIG_fail;
13405 }
13406 Py_INCREF(Py_None); resultobj = Py_None;
13407 return resultobj;
13408 fail:
13409 return NULL;
13410 }
13411
13412
13413 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13414 PyObject *resultobj;
13415 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13416 wxBitmap *arg2 = 0 ;
13417 PyObject * obj0 = 0 ;
13418 PyObject * obj1 = 0 ;
13419 char *kwnames[] = {
13420 (char *) "self",(char *) "bmp", NULL
13421 };
13422
13423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13425 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13426 if (arg2 == NULL) {
13427 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13428 }
13429 {
13430 PyThreadState* __tstate = wxPyBeginAllowThreads();
13431 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13432
13433 wxPyEndAllowThreads(__tstate);
13434 if (PyErr_Occurred()) SWIG_fail;
13435 }
13436 Py_INCREF(Py_None); resultobj = Py_None;
13437 return resultobj;
13438 fail:
13439 return NULL;
13440 }
13441
13442
13443 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13444 PyObject *resultobj;
13445 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13446 wxString *arg2 = 0 ;
13447 bool temp2 = False ;
13448 PyObject * obj0 = 0 ;
13449 PyObject * obj1 = 0 ;
13450 char *kwnames[] = {
13451 (char *) "self",(char *) "label", NULL
13452 };
13453
13454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13456 {
13457 arg2 = wxString_in_helper(obj1);
13458 if (arg2 == NULL) SWIG_fail;
13459 temp2 = True;
13460 }
13461 {
13462 PyThreadState* __tstate = wxPyBeginAllowThreads();
13463 (arg1)->SetLabel((wxString const &)*arg2);
13464
13465 wxPyEndAllowThreads(__tstate);
13466 if (PyErr_Occurred()) SWIG_fail;
13467 }
13468 Py_INCREF(Py_None); resultobj = Py_None;
13469 {
13470 if (temp2)
13471 delete arg2;
13472 }
13473 return resultobj;
13474 fail:
13475 {
13476 if (temp2)
13477 delete arg2;
13478 }
13479 return NULL;
13480 }
13481
13482
13483 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13484 PyObject *resultobj;
13485 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13486 PyObject * obj0 = 0 ;
13487 char *kwnames[] = {
13488 (char *) "self", NULL
13489 };
13490
13491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13493 {
13494 PyThreadState* __tstate = wxPyBeginAllowThreads();
13495 (arg1)->Detach();
13496
13497 wxPyEndAllowThreads(__tstate);
13498 if (PyErr_Occurred()) SWIG_fail;
13499 }
13500 Py_INCREF(Py_None); resultobj = Py_None;
13501 return resultobj;
13502 fail:
13503 return NULL;
13504 }
13505
13506
13507 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13508 PyObject *resultobj;
13509 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13510 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13511 PyObject * obj0 = 0 ;
13512 PyObject * obj1 = 0 ;
13513 char *kwnames[] = {
13514 (char *) "self",(char *) "tbar", NULL
13515 };
13516
13517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13519 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13520 {
13521 PyThreadState* __tstate = wxPyBeginAllowThreads();
13522 (arg1)->Attach(arg2);
13523
13524 wxPyEndAllowThreads(__tstate);
13525 if (PyErr_Occurred()) SWIG_fail;
13526 }
13527 Py_INCREF(Py_None); resultobj = Py_None;
13528 return resultobj;
13529 fail:
13530 return NULL;
13531 }
13532
13533
13534 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13535 PyObject *resultobj;
13536 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13537 PyObject *result;
13538 PyObject * obj0 = 0 ;
13539 char *kwnames[] = {
13540 (char *) "self", NULL
13541 };
13542
13543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13545 {
13546 PyThreadState* __tstate = wxPyBeginAllowThreads();
13547 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13548
13549 wxPyEndAllowThreads(__tstate);
13550 if (PyErr_Occurred()) SWIG_fail;
13551 }
13552 resultobj = result;
13553 return resultobj;
13554 fail:
13555 return NULL;
13556 }
13557
13558
13559 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13560 PyObject *resultobj;
13561 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13562 PyObject *arg2 = (PyObject *) 0 ;
13563 PyObject * obj0 = 0 ;
13564 PyObject * obj1 = 0 ;
13565 char *kwnames[] = {
13566 (char *) "self",(char *) "clientData", NULL
13567 };
13568
13569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13571 arg2 = obj1;
13572 {
13573 PyThreadState* __tstate = wxPyBeginAllowThreads();
13574 wxToolBarToolBase_SetClientData(arg1,arg2);
13575
13576 wxPyEndAllowThreads(__tstate);
13577 if (PyErr_Occurred()) SWIG_fail;
13578 }
13579 Py_INCREF(Py_None); resultobj = Py_None;
13580 return resultobj;
13581 fail:
13582 return NULL;
13583 }
13584
13585
13586 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13587 PyObject *obj;
13588 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13589 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13590 Py_INCREF(obj);
13591 return Py_BuildValue((char *)"");
13592 }
13593 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13594 PyObject *resultobj;
13595 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13596 int arg2 ;
13597 wxString *arg3 = 0 ;
13598 wxBitmap *arg4 = 0 ;
13599 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13600 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13601 int arg6 = (int) wxITEM_NORMAL ;
13602 wxString const &arg7_defvalue = wxPyEmptyString ;
13603 wxString *arg7 = (wxString *) &arg7_defvalue ;
13604 wxString const &arg8_defvalue = wxPyEmptyString ;
13605 wxString *arg8 = (wxString *) &arg8_defvalue ;
13606 PyObject *arg9 = (PyObject *) NULL ;
13607 wxToolBarToolBase *result;
13608 bool temp3 = False ;
13609 bool temp7 = False ;
13610 bool temp8 = False ;
13611 PyObject * obj0 = 0 ;
13612 PyObject * obj2 = 0 ;
13613 PyObject * obj3 = 0 ;
13614 PyObject * obj4 = 0 ;
13615 PyObject * obj6 = 0 ;
13616 PyObject * obj7 = 0 ;
13617 PyObject * obj8 = 0 ;
13618 char *kwnames[] = {
13619 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13620 };
13621
13622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13624 {
13625 arg3 = wxString_in_helper(obj2);
13626 if (arg3 == NULL) SWIG_fail;
13627 temp3 = True;
13628 }
13629 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13630 if (arg4 == NULL) {
13631 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13632 }
13633 if (obj4) {
13634 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13635 if (arg5 == NULL) {
13636 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13637 }
13638 }
13639 if (obj6) {
13640 {
13641 arg7 = wxString_in_helper(obj6);
13642 if (arg7 == NULL) SWIG_fail;
13643 temp7 = True;
13644 }
13645 }
13646 if (obj7) {
13647 {
13648 arg8 = wxString_in_helper(obj7);
13649 if (arg8 == NULL) SWIG_fail;
13650 temp8 = True;
13651 }
13652 }
13653 if (obj8) {
13654 arg9 = obj8;
13655 }
13656 {
13657 PyThreadState* __tstate = wxPyBeginAllowThreads();
13658 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13659
13660 wxPyEndAllowThreads(__tstate);
13661 if (PyErr_Occurred()) SWIG_fail;
13662 }
13663 {
13664 resultobj = wxPyMake_wxObject(result);
13665 }
13666 {
13667 if (temp3)
13668 delete arg3;
13669 }
13670 {
13671 if (temp7)
13672 delete arg7;
13673 }
13674 {
13675 if (temp8)
13676 delete arg8;
13677 }
13678 return resultobj;
13679 fail:
13680 {
13681 if (temp3)
13682 delete arg3;
13683 }
13684 {
13685 if (temp7)
13686 delete arg7;
13687 }
13688 {
13689 if (temp8)
13690 delete arg8;
13691 }
13692 return NULL;
13693 }
13694
13695
13696 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13697 PyObject *resultobj;
13698 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13699 size_t arg2 ;
13700 int arg3 ;
13701 wxString *arg4 = 0 ;
13702 wxBitmap *arg5 = 0 ;
13703 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13704 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13705 int arg7 = (int) wxITEM_NORMAL ;
13706 wxString const &arg8_defvalue = wxPyEmptyString ;
13707 wxString *arg8 = (wxString *) &arg8_defvalue ;
13708 wxString const &arg9_defvalue = wxPyEmptyString ;
13709 wxString *arg9 = (wxString *) &arg9_defvalue ;
13710 PyObject *arg10 = (PyObject *) NULL ;
13711 wxToolBarToolBase *result;
13712 bool temp4 = False ;
13713 bool temp8 = False ;
13714 bool temp9 = False ;
13715 PyObject * obj0 = 0 ;
13716 PyObject * obj1 = 0 ;
13717 PyObject * obj3 = 0 ;
13718 PyObject * obj4 = 0 ;
13719 PyObject * obj5 = 0 ;
13720 PyObject * obj7 = 0 ;
13721 PyObject * obj8 = 0 ;
13722 PyObject * obj9 = 0 ;
13723 char *kwnames[] = {
13724 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13725 };
13726
13727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13729 arg2 = (size_t) PyInt_AsLong(obj1);
13730 if (PyErr_Occurred()) SWIG_fail;
13731 {
13732 arg4 = wxString_in_helper(obj3);
13733 if (arg4 == NULL) SWIG_fail;
13734 temp4 = True;
13735 }
13736 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13737 if (arg5 == NULL) {
13738 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13739 }
13740 if (obj5) {
13741 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13742 if (arg6 == NULL) {
13743 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13744 }
13745 }
13746 if (obj7) {
13747 {
13748 arg8 = wxString_in_helper(obj7);
13749 if (arg8 == NULL) SWIG_fail;
13750 temp8 = True;
13751 }
13752 }
13753 if (obj8) {
13754 {
13755 arg9 = wxString_in_helper(obj8);
13756 if (arg9 == NULL) SWIG_fail;
13757 temp9 = True;
13758 }
13759 }
13760 if (obj9) {
13761 arg10 = obj9;
13762 }
13763 {
13764 PyThreadState* __tstate = wxPyBeginAllowThreads();
13765 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);
13766
13767 wxPyEndAllowThreads(__tstate);
13768 if (PyErr_Occurred()) SWIG_fail;
13769 }
13770 {
13771 resultobj = wxPyMake_wxObject(result);
13772 }
13773 {
13774 if (temp4)
13775 delete arg4;
13776 }
13777 {
13778 if (temp8)
13779 delete arg8;
13780 }
13781 {
13782 if (temp9)
13783 delete arg9;
13784 }
13785 return resultobj;
13786 fail:
13787 {
13788 if (temp4)
13789 delete arg4;
13790 }
13791 {
13792 if (temp8)
13793 delete arg8;
13794 }
13795 {
13796 if (temp9)
13797 delete arg9;
13798 }
13799 return NULL;
13800 }
13801
13802
13803 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13804 PyObject *resultobj;
13805 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13806 wxControl *arg2 = (wxControl *) 0 ;
13807 wxToolBarToolBase *result;
13808 PyObject * obj0 = 0 ;
13809 PyObject * obj1 = 0 ;
13810 char *kwnames[] = {
13811 (char *) "self",(char *) "control", NULL
13812 };
13813
13814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13817 {
13818 PyThreadState* __tstate = wxPyBeginAllowThreads();
13819 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13820
13821 wxPyEndAllowThreads(__tstate);
13822 if (PyErr_Occurred()) SWIG_fail;
13823 }
13824 {
13825 resultobj = wxPyMake_wxObject(result);
13826 }
13827 return resultobj;
13828 fail:
13829 return NULL;
13830 }
13831
13832
13833 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13834 PyObject *resultobj;
13835 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13836 size_t arg2 ;
13837 wxControl *arg3 = (wxControl *) 0 ;
13838 wxToolBarToolBase *result;
13839 PyObject * obj0 = 0 ;
13840 PyObject * obj1 = 0 ;
13841 PyObject * obj2 = 0 ;
13842 char *kwnames[] = {
13843 (char *) "self",(char *) "pos",(char *) "control", NULL
13844 };
13845
13846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13848 arg2 = (size_t) PyInt_AsLong(obj1);
13849 if (PyErr_Occurred()) SWIG_fail;
13850 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13851 {
13852 PyThreadState* __tstate = wxPyBeginAllowThreads();
13853 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13854
13855 wxPyEndAllowThreads(__tstate);
13856 if (PyErr_Occurred()) SWIG_fail;
13857 }
13858 {
13859 resultobj = wxPyMake_wxObject(result);
13860 }
13861 return resultobj;
13862 fail:
13863 return NULL;
13864 }
13865
13866
13867 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13868 PyObject *resultobj;
13869 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13870 int arg2 ;
13871 wxControl *result;
13872 PyObject * obj0 = 0 ;
13873 char *kwnames[] = {
13874 (char *) "self",(char *) "id", NULL
13875 };
13876
13877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13879 {
13880 PyThreadState* __tstate = wxPyBeginAllowThreads();
13881 result = (wxControl *)(arg1)->FindControl(arg2);
13882
13883 wxPyEndAllowThreads(__tstate);
13884 if (PyErr_Occurred()) SWIG_fail;
13885 }
13886 {
13887 resultobj = wxPyMake_wxObject(result);
13888 }
13889 return resultobj;
13890 fail:
13891 return NULL;
13892 }
13893
13894
13895 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13896 PyObject *resultobj;
13897 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13898 wxToolBarToolBase *result;
13899 PyObject * obj0 = 0 ;
13900 char *kwnames[] = {
13901 (char *) "self", NULL
13902 };
13903
13904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13906 {
13907 PyThreadState* __tstate = wxPyBeginAllowThreads();
13908 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13909
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 {
13914 resultobj = wxPyMake_wxObject(result);
13915 }
13916 return resultobj;
13917 fail:
13918 return NULL;
13919 }
13920
13921
13922 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13923 PyObject *resultobj;
13924 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13925 size_t arg2 ;
13926 wxToolBarToolBase *result;
13927 PyObject * obj0 = 0 ;
13928 PyObject * obj1 = 0 ;
13929 char *kwnames[] = {
13930 (char *) "self",(char *) "pos", NULL
13931 };
13932
13933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13935 arg2 = (size_t) PyInt_AsLong(obj1);
13936 if (PyErr_Occurred()) SWIG_fail;
13937 {
13938 PyThreadState* __tstate = wxPyBeginAllowThreads();
13939 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13940
13941 wxPyEndAllowThreads(__tstate);
13942 if (PyErr_Occurred()) SWIG_fail;
13943 }
13944 {
13945 resultobj = wxPyMake_wxObject(result);
13946 }
13947 return resultobj;
13948 fail:
13949 return NULL;
13950 }
13951
13952
13953 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13954 PyObject *resultobj;
13955 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13956 int arg2 ;
13957 wxToolBarToolBase *result;
13958 PyObject * obj0 = 0 ;
13959 char *kwnames[] = {
13960 (char *) "self",(char *) "id", NULL
13961 };
13962
13963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13965 {
13966 PyThreadState* __tstate = wxPyBeginAllowThreads();
13967 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13968
13969 wxPyEndAllowThreads(__tstate);
13970 if (PyErr_Occurred()) SWIG_fail;
13971 }
13972 {
13973 resultobj = wxPyMake_wxObject(result);
13974 }
13975 return resultobj;
13976 fail:
13977 return NULL;
13978 }
13979
13980
13981 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13982 PyObject *resultobj;
13983 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13984 size_t arg2 ;
13985 bool result;
13986 PyObject * obj0 = 0 ;
13987 PyObject * obj1 = 0 ;
13988 char *kwnames[] = {
13989 (char *) "self",(char *) "pos", NULL
13990 };
13991
13992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13994 arg2 = (size_t) PyInt_AsLong(obj1);
13995 if (PyErr_Occurred()) SWIG_fail;
13996 {
13997 PyThreadState* __tstate = wxPyBeginAllowThreads();
13998 result = (bool)(arg1)->DeleteToolByPos(arg2);
13999
14000 wxPyEndAllowThreads(__tstate);
14001 if (PyErr_Occurred()) SWIG_fail;
14002 }
14003 resultobj = PyInt_FromLong((long)result);
14004 return resultobj;
14005 fail:
14006 return NULL;
14007 }
14008
14009
14010 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14011 PyObject *resultobj;
14012 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14013 int arg2 ;
14014 bool result;
14015 PyObject * obj0 = 0 ;
14016 char *kwnames[] = {
14017 (char *) "self",(char *) "id", NULL
14018 };
14019
14020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14022 {
14023 PyThreadState* __tstate = wxPyBeginAllowThreads();
14024 result = (bool)(arg1)->DeleteTool(arg2);
14025
14026 wxPyEndAllowThreads(__tstate);
14027 if (PyErr_Occurred()) SWIG_fail;
14028 }
14029 resultobj = PyInt_FromLong((long)result);
14030 return resultobj;
14031 fail:
14032 return NULL;
14033 }
14034
14035
14036 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14037 PyObject *resultobj;
14038 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14039 PyObject * obj0 = 0 ;
14040 char *kwnames[] = {
14041 (char *) "self", NULL
14042 };
14043
14044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14046 {
14047 PyThreadState* __tstate = wxPyBeginAllowThreads();
14048 (arg1)->ClearTools();
14049
14050 wxPyEndAllowThreads(__tstate);
14051 if (PyErr_Occurred()) SWIG_fail;
14052 }
14053 Py_INCREF(Py_None); resultobj = Py_None;
14054 return resultobj;
14055 fail:
14056 return NULL;
14057 }
14058
14059
14060 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14061 PyObject *resultobj;
14062 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14063 bool result;
14064 PyObject * obj0 = 0 ;
14065 char *kwnames[] = {
14066 (char *) "self", NULL
14067 };
14068
14069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14071 {
14072 PyThreadState* __tstate = wxPyBeginAllowThreads();
14073 result = (bool)(arg1)->Realize();
14074
14075 wxPyEndAllowThreads(__tstate);
14076 if (PyErr_Occurred()) SWIG_fail;
14077 }
14078 resultobj = PyInt_FromLong((long)result);
14079 return resultobj;
14080 fail:
14081 return NULL;
14082 }
14083
14084
14085 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14086 PyObject *resultobj;
14087 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14088 int arg2 ;
14089 bool arg3 ;
14090 PyObject * obj0 = 0 ;
14091 PyObject * obj2 = 0 ;
14092 char *kwnames[] = {
14093 (char *) "self",(char *) "id",(char *) "enable", NULL
14094 };
14095
14096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14098 arg3 = PyInt_AsLong(obj2) ? true : false;
14099 if (PyErr_Occurred()) SWIG_fail;
14100 {
14101 PyThreadState* __tstate = wxPyBeginAllowThreads();
14102 (arg1)->EnableTool(arg2,arg3);
14103
14104 wxPyEndAllowThreads(__tstate);
14105 if (PyErr_Occurred()) SWIG_fail;
14106 }
14107 Py_INCREF(Py_None); resultobj = Py_None;
14108 return resultobj;
14109 fail:
14110 return NULL;
14111 }
14112
14113
14114 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14115 PyObject *resultobj;
14116 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14117 int arg2 ;
14118 bool arg3 ;
14119 PyObject * obj0 = 0 ;
14120 PyObject * obj2 = 0 ;
14121 char *kwnames[] = {
14122 (char *) "self",(char *) "id",(char *) "toggle", NULL
14123 };
14124
14125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14127 arg3 = PyInt_AsLong(obj2) ? true : false;
14128 if (PyErr_Occurred()) SWIG_fail;
14129 {
14130 PyThreadState* __tstate = wxPyBeginAllowThreads();
14131 (arg1)->ToggleTool(arg2,arg3);
14132
14133 wxPyEndAllowThreads(__tstate);
14134 if (PyErr_Occurred()) SWIG_fail;
14135 }
14136 Py_INCREF(Py_None); resultobj = Py_None;
14137 return resultobj;
14138 fail:
14139 return NULL;
14140 }
14141
14142
14143 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14144 PyObject *resultobj;
14145 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14146 int arg2 ;
14147 bool arg3 ;
14148 PyObject * obj0 = 0 ;
14149 PyObject * obj2 = 0 ;
14150 char *kwnames[] = {
14151 (char *) "self",(char *) "id",(char *) "toggle", NULL
14152 };
14153
14154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14156 arg3 = PyInt_AsLong(obj2) ? true : false;
14157 if (PyErr_Occurred()) SWIG_fail;
14158 {
14159 PyThreadState* __tstate = wxPyBeginAllowThreads();
14160 (arg1)->SetToggle(arg2,arg3);
14161
14162 wxPyEndAllowThreads(__tstate);
14163 if (PyErr_Occurred()) SWIG_fail;
14164 }
14165 Py_INCREF(Py_None); resultobj = Py_None;
14166 return resultobj;
14167 fail:
14168 return NULL;
14169 }
14170
14171
14172 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14173 PyObject *resultobj;
14174 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14175 int arg2 ;
14176 PyObject *result;
14177 PyObject * obj0 = 0 ;
14178 char *kwnames[] = {
14179 (char *) "self",(char *) "id", NULL
14180 };
14181
14182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14184 {
14185 PyThreadState* __tstate = wxPyBeginAllowThreads();
14186 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14187
14188 wxPyEndAllowThreads(__tstate);
14189 if (PyErr_Occurred()) SWIG_fail;
14190 }
14191 resultobj = result;
14192 return resultobj;
14193 fail:
14194 return NULL;
14195 }
14196
14197
14198 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14199 PyObject *resultobj;
14200 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14201 int arg2 ;
14202 PyObject *arg3 = (PyObject *) 0 ;
14203 PyObject * obj0 = 0 ;
14204 PyObject * obj2 = 0 ;
14205 char *kwnames[] = {
14206 (char *) "self",(char *) "id",(char *) "clientData", NULL
14207 };
14208
14209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14211 arg3 = obj2;
14212 {
14213 PyThreadState* __tstate = wxPyBeginAllowThreads();
14214 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14215
14216 wxPyEndAllowThreads(__tstate);
14217 if (PyErr_Occurred()) SWIG_fail;
14218 }
14219 Py_INCREF(Py_None); resultobj = Py_None;
14220 return resultobj;
14221 fail:
14222 return NULL;
14223 }
14224
14225
14226 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14227 PyObject *resultobj;
14228 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14229 int arg2 ;
14230 int result;
14231 PyObject * obj0 = 0 ;
14232 char *kwnames[] = {
14233 (char *) "self",(char *) "id", NULL
14234 };
14235
14236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14238 {
14239 PyThreadState* __tstate = wxPyBeginAllowThreads();
14240 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14241
14242 wxPyEndAllowThreads(__tstate);
14243 if (PyErr_Occurred()) SWIG_fail;
14244 }
14245 resultobj = PyInt_FromLong((long)result);
14246 return resultobj;
14247 fail:
14248 return NULL;
14249 }
14250
14251
14252 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14253 PyObject *resultobj;
14254 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14255 int arg2 ;
14256 bool result;
14257 PyObject * obj0 = 0 ;
14258 char *kwnames[] = {
14259 (char *) "self",(char *) "id", NULL
14260 };
14261
14262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14264 {
14265 PyThreadState* __tstate = wxPyBeginAllowThreads();
14266 result = (bool)(arg1)->GetToolState(arg2);
14267
14268 wxPyEndAllowThreads(__tstate);
14269 if (PyErr_Occurred()) SWIG_fail;
14270 }
14271 resultobj = PyInt_FromLong((long)result);
14272 return resultobj;
14273 fail:
14274 return NULL;
14275 }
14276
14277
14278 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14279 PyObject *resultobj;
14280 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14281 int arg2 ;
14282 bool result;
14283 PyObject * obj0 = 0 ;
14284 char *kwnames[] = {
14285 (char *) "self",(char *) "id", NULL
14286 };
14287
14288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14290 {
14291 PyThreadState* __tstate = wxPyBeginAllowThreads();
14292 result = (bool)(arg1)->GetToolEnabled(arg2);
14293
14294 wxPyEndAllowThreads(__tstate);
14295 if (PyErr_Occurred()) SWIG_fail;
14296 }
14297 resultobj = PyInt_FromLong((long)result);
14298 return resultobj;
14299 fail:
14300 return NULL;
14301 }
14302
14303
14304 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14305 PyObject *resultobj;
14306 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14307 int arg2 ;
14308 wxString *arg3 = 0 ;
14309 bool temp3 = False ;
14310 PyObject * obj0 = 0 ;
14311 PyObject * obj2 = 0 ;
14312 char *kwnames[] = {
14313 (char *) "self",(char *) "id",(char *) "helpString", NULL
14314 };
14315
14316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14318 {
14319 arg3 = wxString_in_helper(obj2);
14320 if (arg3 == NULL) SWIG_fail;
14321 temp3 = True;
14322 }
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14326
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 Py_INCREF(Py_None); resultobj = Py_None;
14331 {
14332 if (temp3)
14333 delete arg3;
14334 }
14335 return resultobj;
14336 fail:
14337 {
14338 if (temp3)
14339 delete arg3;
14340 }
14341 return NULL;
14342 }
14343
14344
14345 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14346 PyObject *resultobj;
14347 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14348 int arg2 ;
14349 wxString result;
14350 PyObject * obj0 = 0 ;
14351 char *kwnames[] = {
14352 (char *) "self",(char *) "id", NULL
14353 };
14354
14355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14357 {
14358 PyThreadState* __tstate = wxPyBeginAllowThreads();
14359 result = (arg1)->GetToolShortHelp(arg2);
14360
14361 wxPyEndAllowThreads(__tstate);
14362 if (PyErr_Occurred()) SWIG_fail;
14363 }
14364 {
14365 #if wxUSE_UNICODE
14366 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14367 #else
14368 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14369 #endif
14370 }
14371 return resultobj;
14372 fail:
14373 return NULL;
14374 }
14375
14376
14377 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14378 PyObject *resultobj;
14379 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14380 int arg2 ;
14381 wxString *arg3 = 0 ;
14382 bool temp3 = False ;
14383 PyObject * obj0 = 0 ;
14384 PyObject * obj2 = 0 ;
14385 char *kwnames[] = {
14386 (char *) "self",(char *) "id",(char *) "helpString", NULL
14387 };
14388
14389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14391 {
14392 arg3 = wxString_in_helper(obj2);
14393 if (arg3 == NULL) SWIG_fail;
14394 temp3 = True;
14395 }
14396 {
14397 PyThreadState* __tstate = wxPyBeginAllowThreads();
14398 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14399
14400 wxPyEndAllowThreads(__tstate);
14401 if (PyErr_Occurred()) SWIG_fail;
14402 }
14403 Py_INCREF(Py_None); resultobj = Py_None;
14404 {
14405 if (temp3)
14406 delete arg3;
14407 }
14408 return resultobj;
14409 fail:
14410 {
14411 if (temp3)
14412 delete arg3;
14413 }
14414 return NULL;
14415 }
14416
14417
14418 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14419 PyObject *resultobj;
14420 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14421 int arg2 ;
14422 wxString result;
14423 PyObject * obj0 = 0 ;
14424 char *kwnames[] = {
14425 (char *) "self",(char *) "id", NULL
14426 };
14427
14428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14430 {
14431 PyThreadState* __tstate = wxPyBeginAllowThreads();
14432 result = (arg1)->GetToolLongHelp(arg2);
14433
14434 wxPyEndAllowThreads(__tstate);
14435 if (PyErr_Occurred()) SWIG_fail;
14436 }
14437 {
14438 #if wxUSE_UNICODE
14439 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14440 #else
14441 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14442 #endif
14443 }
14444 return resultobj;
14445 fail:
14446 return NULL;
14447 }
14448
14449
14450 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14451 PyObject *resultobj;
14452 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14453 int arg2 ;
14454 int arg3 ;
14455 PyObject * obj0 = 0 ;
14456 char *kwnames[] = {
14457 (char *) "self",(char *) "x",(char *) "y", NULL
14458 };
14459
14460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 (arg1)->SetMargins(arg2,arg3);
14465
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 Py_INCREF(Py_None); resultobj = Py_None;
14470 return resultobj;
14471 fail:
14472 return NULL;
14473 }
14474
14475
14476 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14477 PyObject *resultobj;
14478 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14479 wxSize *arg2 = 0 ;
14480 wxSize temp2 ;
14481 PyObject * obj0 = 0 ;
14482 PyObject * obj1 = 0 ;
14483 char *kwnames[] = {
14484 (char *) "self",(char *) "size", NULL
14485 };
14486
14487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14489 {
14490 arg2 = &temp2;
14491 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14492 }
14493 {
14494 PyThreadState* __tstate = wxPyBeginAllowThreads();
14495 (arg1)->SetMargins((wxSize const &)*arg2);
14496
14497 wxPyEndAllowThreads(__tstate);
14498 if (PyErr_Occurred()) SWIG_fail;
14499 }
14500 Py_INCREF(Py_None); resultobj = Py_None;
14501 return resultobj;
14502 fail:
14503 return NULL;
14504 }
14505
14506
14507 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14508 PyObject *resultobj;
14509 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14510 int arg2 ;
14511 PyObject * obj0 = 0 ;
14512 char *kwnames[] = {
14513 (char *) "self",(char *) "packing", NULL
14514 };
14515
14516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14518 {
14519 PyThreadState* __tstate = wxPyBeginAllowThreads();
14520 (arg1)->SetToolPacking(arg2);
14521
14522 wxPyEndAllowThreads(__tstate);
14523 if (PyErr_Occurred()) SWIG_fail;
14524 }
14525 Py_INCREF(Py_None); resultobj = Py_None;
14526 return resultobj;
14527 fail:
14528 return NULL;
14529 }
14530
14531
14532 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14533 PyObject *resultobj;
14534 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14535 int arg2 ;
14536 PyObject * obj0 = 0 ;
14537 char *kwnames[] = {
14538 (char *) "self",(char *) "separation", NULL
14539 };
14540
14541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14543 {
14544 PyThreadState* __tstate = wxPyBeginAllowThreads();
14545 (arg1)->SetToolSeparation(arg2);
14546
14547 wxPyEndAllowThreads(__tstate);
14548 if (PyErr_Occurred()) SWIG_fail;
14549 }
14550 Py_INCREF(Py_None); resultobj = Py_None;
14551 return resultobj;
14552 fail:
14553 return NULL;
14554 }
14555
14556
14557 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14558 PyObject *resultobj;
14559 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14560 wxSize result;
14561 PyObject * obj0 = 0 ;
14562 char *kwnames[] = {
14563 (char *) "self", NULL
14564 };
14565
14566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14568 {
14569 PyThreadState* __tstate = wxPyBeginAllowThreads();
14570 result = (arg1)->GetToolMargins();
14571
14572 wxPyEndAllowThreads(__tstate);
14573 if (PyErr_Occurred()) SWIG_fail;
14574 }
14575 {
14576 wxSize * resultptr;
14577 resultptr = new wxSize((wxSize &) result);
14578 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14579 }
14580 return resultobj;
14581 fail:
14582 return NULL;
14583 }
14584
14585
14586 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14587 PyObject *resultobj;
14588 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14589 wxSize result;
14590 PyObject * obj0 = 0 ;
14591 char *kwnames[] = {
14592 (char *) "self", NULL
14593 };
14594
14595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14597 {
14598 PyThreadState* __tstate = wxPyBeginAllowThreads();
14599 result = (arg1)->GetMargins();
14600
14601 wxPyEndAllowThreads(__tstate);
14602 if (PyErr_Occurred()) SWIG_fail;
14603 }
14604 {
14605 wxSize * resultptr;
14606 resultptr = new wxSize((wxSize &) result);
14607 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14608 }
14609 return resultobj;
14610 fail:
14611 return NULL;
14612 }
14613
14614
14615 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14616 PyObject *resultobj;
14617 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14618 int result;
14619 PyObject * obj0 = 0 ;
14620 char *kwnames[] = {
14621 (char *) "self", NULL
14622 };
14623
14624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14626 {
14627 PyThreadState* __tstate = wxPyBeginAllowThreads();
14628 result = (int)(arg1)->GetToolPacking();
14629
14630 wxPyEndAllowThreads(__tstate);
14631 if (PyErr_Occurred()) SWIG_fail;
14632 }
14633 resultobj = PyInt_FromLong((long)result);
14634 return resultobj;
14635 fail:
14636 return NULL;
14637 }
14638
14639
14640 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14641 PyObject *resultobj;
14642 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14643 int result;
14644 PyObject * obj0 = 0 ;
14645 char *kwnames[] = {
14646 (char *) "self", NULL
14647 };
14648
14649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14651 {
14652 PyThreadState* __tstate = wxPyBeginAllowThreads();
14653 result = (int)(arg1)->GetToolSeparation();
14654
14655 wxPyEndAllowThreads(__tstate);
14656 if (PyErr_Occurred()) SWIG_fail;
14657 }
14658 resultobj = PyInt_FromLong((long)result);
14659 return resultobj;
14660 fail:
14661 return NULL;
14662 }
14663
14664
14665 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14666 PyObject *resultobj;
14667 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14668 int arg2 ;
14669 PyObject * obj0 = 0 ;
14670 char *kwnames[] = {
14671 (char *) "self",(char *) "nRows", NULL
14672 };
14673
14674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14676 {
14677 PyThreadState* __tstate = wxPyBeginAllowThreads();
14678 (arg1)->SetRows(arg2);
14679
14680 wxPyEndAllowThreads(__tstate);
14681 if (PyErr_Occurred()) SWIG_fail;
14682 }
14683 Py_INCREF(Py_None); resultobj = Py_None;
14684 return resultobj;
14685 fail:
14686 return NULL;
14687 }
14688
14689
14690 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14691 PyObject *resultobj;
14692 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14693 int arg2 ;
14694 int arg3 ;
14695 PyObject * obj0 = 0 ;
14696 char *kwnames[] = {
14697 (char *) "self",(char *) "rows",(char *) "cols", NULL
14698 };
14699
14700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14702 {
14703 PyThreadState* __tstate = wxPyBeginAllowThreads();
14704 (arg1)->SetMaxRowsCols(arg2,arg3);
14705
14706 wxPyEndAllowThreads(__tstate);
14707 if (PyErr_Occurred()) SWIG_fail;
14708 }
14709 Py_INCREF(Py_None); resultobj = Py_None;
14710 return resultobj;
14711 fail:
14712 return NULL;
14713 }
14714
14715
14716 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14717 PyObject *resultobj;
14718 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14719 int result;
14720 PyObject * obj0 = 0 ;
14721 char *kwnames[] = {
14722 (char *) "self", NULL
14723 };
14724
14725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14727 {
14728 PyThreadState* __tstate = wxPyBeginAllowThreads();
14729 result = (int)(arg1)->GetMaxRows();
14730
14731 wxPyEndAllowThreads(__tstate);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 resultobj = PyInt_FromLong((long)result);
14735 return resultobj;
14736 fail:
14737 return NULL;
14738 }
14739
14740
14741 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14742 PyObject *resultobj;
14743 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14744 int result;
14745 PyObject * obj0 = 0 ;
14746 char *kwnames[] = {
14747 (char *) "self", NULL
14748 };
14749
14750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14752 {
14753 PyThreadState* __tstate = wxPyBeginAllowThreads();
14754 result = (int)(arg1)->GetMaxCols();
14755
14756 wxPyEndAllowThreads(__tstate);
14757 if (PyErr_Occurred()) SWIG_fail;
14758 }
14759 resultobj = PyInt_FromLong((long)result);
14760 return resultobj;
14761 fail:
14762 return NULL;
14763 }
14764
14765
14766 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14767 PyObject *resultobj;
14768 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14769 wxSize *arg2 = 0 ;
14770 wxSize temp2 ;
14771 PyObject * obj0 = 0 ;
14772 PyObject * obj1 = 0 ;
14773 char *kwnames[] = {
14774 (char *) "self",(char *) "size", NULL
14775 };
14776
14777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14779 {
14780 arg2 = &temp2;
14781 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14782 }
14783 {
14784 PyThreadState* __tstate = wxPyBeginAllowThreads();
14785 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14786
14787 wxPyEndAllowThreads(__tstate);
14788 if (PyErr_Occurred()) SWIG_fail;
14789 }
14790 Py_INCREF(Py_None); resultobj = Py_None;
14791 return resultobj;
14792 fail:
14793 return NULL;
14794 }
14795
14796
14797 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14798 PyObject *resultobj;
14799 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14800 wxSize result;
14801 PyObject * obj0 = 0 ;
14802 char *kwnames[] = {
14803 (char *) "self", NULL
14804 };
14805
14806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14808 {
14809 PyThreadState* __tstate = wxPyBeginAllowThreads();
14810 result = (arg1)->GetToolBitmapSize();
14811
14812 wxPyEndAllowThreads(__tstate);
14813 if (PyErr_Occurred()) SWIG_fail;
14814 }
14815 {
14816 wxSize * resultptr;
14817 resultptr = new wxSize((wxSize &) result);
14818 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14819 }
14820 return resultobj;
14821 fail:
14822 return NULL;
14823 }
14824
14825
14826 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14827 PyObject *resultobj;
14828 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14829 wxSize result;
14830 PyObject * obj0 = 0 ;
14831 char *kwnames[] = {
14832 (char *) "self", NULL
14833 };
14834
14835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14837 {
14838 PyThreadState* __tstate = wxPyBeginAllowThreads();
14839 result = (arg1)->GetToolSize();
14840
14841 wxPyEndAllowThreads(__tstate);
14842 if (PyErr_Occurred()) SWIG_fail;
14843 }
14844 {
14845 wxSize * resultptr;
14846 resultptr = new wxSize((wxSize &) result);
14847 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14848 }
14849 return resultobj;
14850 fail:
14851 return NULL;
14852 }
14853
14854
14855 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14856 PyObject *resultobj;
14857 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14858 int arg2 ;
14859 int arg3 ;
14860 wxToolBarToolBase *result;
14861 PyObject * obj0 = 0 ;
14862 char *kwnames[] = {
14863 (char *) "self",(char *) "x",(char *) "y", NULL
14864 };
14865
14866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14868 {
14869 PyThreadState* __tstate = wxPyBeginAllowThreads();
14870 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14871
14872 wxPyEndAllowThreads(__tstate);
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
14875 {
14876 resultobj = wxPyMake_wxObject(result);
14877 }
14878 return resultobj;
14879 fail:
14880 return NULL;
14881 }
14882
14883
14884 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14887 bool result;
14888 PyObject * obj0 = 0 ;
14889 char *kwnames[] = {
14890 (char *) "self", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (bool)(arg1)->IsVertical();
14898
14899 wxPyEndAllowThreads(__tstate);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 resultobj = PyInt_FromLong((long)result);
14903 return resultobj;
14904 fail:
14905 return NULL;
14906 }
14907
14908
14909 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14910 PyObject *obj;
14911 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14912 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14913 Py_INCREF(obj);
14914 return Py_BuildValue((char *)"");
14915 }
14916 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14917 PyObject *resultobj;
14918 wxWindow *arg1 = (wxWindow *) 0 ;
14919 int arg2 ;
14920 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14921 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14922 wxSize const &arg4_defvalue = wxDefaultSize ;
14923 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14924 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14925 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14926 wxString *arg6 = (wxString *) &arg6_defvalue ;
14927 wxToolBar *result;
14928 wxPoint temp3 ;
14929 wxSize temp4 ;
14930 bool temp6 = False ;
14931 PyObject * obj0 = 0 ;
14932 PyObject * obj2 = 0 ;
14933 PyObject * obj3 = 0 ;
14934 PyObject * obj5 = 0 ;
14935 char *kwnames[] = {
14936 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14937 };
14938
14939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14941 if (obj2) {
14942 {
14943 arg3 = &temp3;
14944 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14945 }
14946 }
14947 if (obj3) {
14948 {
14949 arg4 = &temp4;
14950 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14951 }
14952 }
14953 if (obj5) {
14954 {
14955 arg6 = wxString_in_helper(obj5);
14956 if (arg6 == NULL) SWIG_fail;
14957 temp6 = True;
14958 }
14959 }
14960 {
14961 PyThreadState* __tstate = wxPyBeginAllowThreads();
14962 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14963
14964 wxPyEndAllowThreads(__tstate);
14965 if (PyErr_Occurred()) SWIG_fail;
14966 }
14967 {
14968 resultobj = wxPyMake_wxObject(result);
14969 }
14970 {
14971 if (temp6)
14972 delete arg6;
14973 }
14974 return resultobj;
14975 fail:
14976 {
14977 if (temp6)
14978 delete arg6;
14979 }
14980 return NULL;
14981 }
14982
14983
14984 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14985 PyObject *resultobj;
14986 wxToolBar *result;
14987 char *kwnames[] = {
14988 NULL
14989 };
14990
14991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14992 {
14993 PyThreadState* __tstate = wxPyBeginAllowThreads();
14994 result = (wxToolBar *)new wxToolBar();
14995
14996 wxPyEndAllowThreads(__tstate);
14997 if (PyErr_Occurred()) SWIG_fail;
14998 }
14999 {
15000 resultobj = wxPyMake_wxObject(result);
15001 }
15002 return resultobj;
15003 fail:
15004 return NULL;
15005 }
15006
15007
15008 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15009 PyObject *resultobj;
15010 wxToolBar *arg1 = (wxToolBar *) 0 ;
15011 wxWindow *arg2 = (wxWindow *) 0 ;
15012 int arg3 ;
15013 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15014 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15015 wxSize const &arg5_defvalue = wxDefaultSize ;
15016 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15017 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15018 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15019 wxString *arg7 = (wxString *) &arg7_defvalue ;
15020 bool result;
15021 wxPoint temp4 ;
15022 wxSize temp5 ;
15023 bool temp7 = False ;
15024 PyObject * obj0 = 0 ;
15025 PyObject * obj1 = 0 ;
15026 PyObject * obj3 = 0 ;
15027 PyObject * obj4 = 0 ;
15028 PyObject * obj6 = 0 ;
15029 char *kwnames[] = {
15030 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15031 };
15032
15033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15035 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15036 if (obj3) {
15037 {
15038 arg4 = &temp4;
15039 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15040 }
15041 }
15042 if (obj4) {
15043 {
15044 arg5 = &temp5;
15045 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15046 }
15047 }
15048 if (obj6) {
15049 {
15050 arg7 = wxString_in_helper(obj6);
15051 if (arg7 == NULL) SWIG_fail;
15052 temp7 = True;
15053 }
15054 }
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15058
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15062 resultobj = PyInt_FromLong((long)result);
15063 {
15064 if (temp7)
15065 delete arg7;
15066 }
15067 return resultobj;
15068 fail:
15069 {
15070 if (temp7)
15071 delete arg7;
15072 }
15073 return NULL;
15074 }
15075
15076
15077 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15078 PyObject *resultobj;
15079 wxToolBar *arg1 = (wxToolBar *) 0 ;
15080 int arg2 ;
15081 int arg3 ;
15082 wxToolBarToolBase *result;
15083 PyObject * obj0 = 0 ;
15084 char *kwnames[] = {
15085 (char *) "self",(char *) "x",(char *) "y", NULL
15086 };
15087
15088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15090 {
15091 PyThreadState* __tstate = wxPyBeginAllowThreads();
15092 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15093
15094 wxPyEndAllowThreads(__tstate);
15095 if (PyErr_Occurred()) SWIG_fail;
15096 }
15097 {
15098 resultobj = wxPyMake_wxObject(result);
15099 }
15100 return resultobj;
15101 fail:
15102 return NULL;
15103 }
15104
15105
15106 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15107 PyObject *obj;
15108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15109 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15110 Py_INCREF(obj);
15111 return Py_BuildValue((char *)"");
15112 }
15113 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15114 PyObject *resultobj;
15115 wxColour const &arg1_defvalue = wxNullColour ;
15116 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15117 wxColour const &arg2_defvalue = wxNullColour ;
15118 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15119 wxFont const &arg3_defvalue = wxNullFont ;
15120 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15121 wxListItemAttr *result;
15122 wxColour temp1 ;
15123 wxColour temp2 ;
15124 PyObject * obj0 = 0 ;
15125 PyObject * obj1 = 0 ;
15126 PyObject * obj2 = 0 ;
15127 char *kwnames[] = {
15128 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15129 };
15130
15131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15132 if (obj0) {
15133 {
15134 arg1 = &temp1;
15135 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15136 }
15137 }
15138 if (obj1) {
15139 {
15140 arg2 = &temp2;
15141 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15142 }
15143 }
15144 if (obj2) {
15145 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15146 if (arg3 == NULL) {
15147 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15148 }
15149 }
15150 {
15151 PyThreadState* __tstate = wxPyBeginAllowThreads();
15152 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15153
15154 wxPyEndAllowThreads(__tstate);
15155 if (PyErr_Occurred()) SWIG_fail;
15156 }
15157 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15158 return resultobj;
15159 fail:
15160 return NULL;
15161 }
15162
15163
15164 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15165 PyObject *resultobj;
15166 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15167 wxColour *arg2 = 0 ;
15168 wxColour temp2 ;
15169 PyObject * obj0 = 0 ;
15170 PyObject * obj1 = 0 ;
15171 char *kwnames[] = {
15172 (char *) "self",(char *) "colText", NULL
15173 };
15174
15175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15177 {
15178 arg2 = &temp2;
15179 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15180 }
15181 {
15182 PyThreadState* __tstate = wxPyBeginAllowThreads();
15183 (arg1)->SetTextColour((wxColour const &)*arg2);
15184
15185 wxPyEndAllowThreads(__tstate);
15186 if (PyErr_Occurred()) SWIG_fail;
15187 }
15188 Py_INCREF(Py_None); resultobj = Py_None;
15189 return resultobj;
15190 fail:
15191 return NULL;
15192 }
15193
15194
15195 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15196 PyObject *resultobj;
15197 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15198 wxColour *arg2 = 0 ;
15199 wxColour temp2 ;
15200 PyObject * obj0 = 0 ;
15201 PyObject * obj1 = 0 ;
15202 char *kwnames[] = {
15203 (char *) "self",(char *) "colBack", NULL
15204 };
15205
15206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15208 {
15209 arg2 = &temp2;
15210 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15211 }
15212 {
15213 PyThreadState* __tstate = wxPyBeginAllowThreads();
15214 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15215
15216 wxPyEndAllowThreads(__tstate);
15217 if (PyErr_Occurred()) SWIG_fail;
15218 }
15219 Py_INCREF(Py_None); resultobj = Py_None;
15220 return resultobj;
15221 fail:
15222 return NULL;
15223 }
15224
15225
15226 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15227 PyObject *resultobj;
15228 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15229 wxFont *arg2 = 0 ;
15230 PyObject * obj0 = 0 ;
15231 PyObject * obj1 = 0 ;
15232 char *kwnames[] = {
15233 (char *) "self",(char *) "font", NULL
15234 };
15235
15236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15238 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15239 if (arg2 == NULL) {
15240 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15241 }
15242 {
15243 PyThreadState* __tstate = wxPyBeginAllowThreads();
15244 (arg1)->SetFont((wxFont const &)*arg2);
15245
15246 wxPyEndAllowThreads(__tstate);
15247 if (PyErr_Occurred()) SWIG_fail;
15248 }
15249 Py_INCREF(Py_None); resultobj = Py_None;
15250 return resultobj;
15251 fail:
15252 return NULL;
15253 }
15254
15255
15256 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15257 PyObject *resultobj;
15258 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15259 bool result;
15260 PyObject * obj0 = 0 ;
15261 char *kwnames[] = {
15262 (char *) "self", NULL
15263 };
15264
15265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15267 {
15268 PyThreadState* __tstate = wxPyBeginAllowThreads();
15269 result = (bool)(arg1)->HasTextColour();
15270
15271 wxPyEndAllowThreads(__tstate);
15272 if (PyErr_Occurred()) SWIG_fail;
15273 }
15274 resultobj = PyInt_FromLong((long)result);
15275 return resultobj;
15276 fail:
15277 return NULL;
15278 }
15279
15280
15281 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15282 PyObject *resultobj;
15283 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15284 bool result;
15285 PyObject * obj0 = 0 ;
15286 char *kwnames[] = {
15287 (char *) "self", NULL
15288 };
15289
15290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15292 {
15293 PyThreadState* __tstate = wxPyBeginAllowThreads();
15294 result = (bool)(arg1)->HasBackgroundColour();
15295
15296 wxPyEndAllowThreads(__tstate);
15297 if (PyErr_Occurred()) SWIG_fail;
15298 }
15299 resultobj = PyInt_FromLong((long)result);
15300 return resultobj;
15301 fail:
15302 return NULL;
15303 }
15304
15305
15306 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15307 PyObject *resultobj;
15308 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15309 bool result;
15310 PyObject * obj0 = 0 ;
15311 char *kwnames[] = {
15312 (char *) "self", NULL
15313 };
15314
15315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15317 {
15318 PyThreadState* __tstate = wxPyBeginAllowThreads();
15319 result = (bool)(arg1)->HasFont();
15320
15321 wxPyEndAllowThreads(__tstate);
15322 if (PyErr_Occurred()) SWIG_fail;
15323 }
15324 resultobj = PyInt_FromLong((long)result);
15325 return resultobj;
15326 fail:
15327 return NULL;
15328 }
15329
15330
15331 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15332 PyObject *resultobj;
15333 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15334 wxColour result;
15335 PyObject * obj0 = 0 ;
15336 char *kwnames[] = {
15337 (char *) "self", NULL
15338 };
15339
15340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15342 {
15343 PyThreadState* __tstate = wxPyBeginAllowThreads();
15344 result = (arg1)->GetTextColour();
15345
15346 wxPyEndAllowThreads(__tstate);
15347 if (PyErr_Occurred()) SWIG_fail;
15348 }
15349 {
15350 wxColour * resultptr;
15351 resultptr = new wxColour((wxColour &) result);
15352 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15353 }
15354 return resultobj;
15355 fail:
15356 return NULL;
15357 }
15358
15359
15360 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15361 PyObject *resultobj;
15362 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15363 wxColour result;
15364 PyObject * obj0 = 0 ;
15365 char *kwnames[] = {
15366 (char *) "self", NULL
15367 };
15368
15369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15371 {
15372 PyThreadState* __tstate = wxPyBeginAllowThreads();
15373 result = (arg1)->GetBackgroundColour();
15374
15375 wxPyEndAllowThreads(__tstate);
15376 if (PyErr_Occurred()) SWIG_fail;
15377 }
15378 {
15379 wxColour * resultptr;
15380 resultptr = new wxColour((wxColour &) result);
15381 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15382 }
15383 return resultobj;
15384 fail:
15385 return NULL;
15386 }
15387
15388
15389 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15390 PyObject *resultobj;
15391 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15392 wxFont result;
15393 PyObject * obj0 = 0 ;
15394 char *kwnames[] = {
15395 (char *) "self", NULL
15396 };
15397
15398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15400 {
15401 PyThreadState* __tstate = wxPyBeginAllowThreads();
15402 result = (arg1)->GetFont();
15403
15404 wxPyEndAllowThreads(__tstate);
15405 if (PyErr_Occurred()) SWIG_fail;
15406 }
15407 {
15408 wxFont * resultptr;
15409 resultptr = new wxFont((wxFont &) result);
15410 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15411 }
15412 return resultobj;
15413 fail:
15414 return NULL;
15415 }
15416
15417
15418 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15419 PyObject *resultobj;
15420 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15421 PyObject * obj0 = 0 ;
15422 char *kwnames[] = {
15423 (char *) "self", NULL
15424 };
15425
15426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15428 {
15429 PyThreadState* __tstate = wxPyBeginAllowThreads();
15430 wxListItemAttr_Destroy(arg1);
15431
15432 wxPyEndAllowThreads(__tstate);
15433 if (PyErr_Occurred()) SWIG_fail;
15434 }
15435 Py_INCREF(Py_None); resultobj = Py_None;
15436 return resultobj;
15437 fail:
15438 return NULL;
15439 }
15440
15441
15442 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15443 PyObject *obj;
15444 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15445 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15446 Py_INCREF(obj);
15447 return Py_BuildValue((char *)"");
15448 }
15449 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15450 PyObject *resultobj;
15451 wxListItem *result;
15452 char *kwnames[] = {
15453 NULL
15454 };
15455
15456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15457 {
15458 PyThreadState* __tstate = wxPyBeginAllowThreads();
15459 result = (wxListItem *)new wxListItem();
15460
15461 wxPyEndAllowThreads(__tstate);
15462 if (PyErr_Occurred()) SWIG_fail;
15463 }
15464 {
15465 resultobj = wxPyMake_wxObject(result);
15466 }
15467 return resultobj;
15468 fail:
15469 return NULL;
15470 }
15471
15472
15473 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15474 PyObject *resultobj;
15475 wxListItem *arg1 = (wxListItem *) 0 ;
15476 PyObject * obj0 = 0 ;
15477 char *kwnames[] = {
15478 (char *) "self", NULL
15479 };
15480
15481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15483 {
15484 PyThreadState* __tstate = wxPyBeginAllowThreads();
15485 delete arg1;
15486
15487 wxPyEndAllowThreads(__tstate);
15488 if (PyErr_Occurred()) SWIG_fail;
15489 }
15490 Py_INCREF(Py_None); resultobj = Py_None;
15491 return resultobj;
15492 fail:
15493 return NULL;
15494 }
15495
15496
15497 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15498 PyObject *resultobj;
15499 wxListItem *arg1 = (wxListItem *) 0 ;
15500 PyObject * obj0 = 0 ;
15501 char *kwnames[] = {
15502 (char *) "self", NULL
15503 };
15504
15505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15507 {
15508 PyThreadState* __tstate = wxPyBeginAllowThreads();
15509 (arg1)->Clear();
15510
15511 wxPyEndAllowThreads(__tstate);
15512 if (PyErr_Occurred()) SWIG_fail;
15513 }
15514 Py_INCREF(Py_None); resultobj = Py_None;
15515 return resultobj;
15516 fail:
15517 return NULL;
15518 }
15519
15520
15521 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15522 PyObject *resultobj;
15523 wxListItem *arg1 = (wxListItem *) 0 ;
15524 PyObject * obj0 = 0 ;
15525 char *kwnames[] = {
15526 (char *) "self", NULL
15527 };
15528
15529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15531 {
15532 PyThreadState* __tstate = wxPyBeginAllowThreads();
15533 (arg1)->ClearAttributes();
15534
15535 wxPyEndAllowThreads(__tstate);
15536 if (PyErr_Occurred()) SWIG_fail;
15537 }
15538 Py_INCREF(Py_None); resultobj = Py_None;
15539 return resultobj;
15540 fail:
15541 return NULL;
15542 }
15543
15544
15545 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15546 PyObject *resultobj;
15547 wxListItem *arg1 = (wxListItem *) 0 ;
15548 long arg2 ;
15549 PyObject * obj0 = 0 ;
15550 char *kwnames[] = {
15551 (char *) "self",(char *) "mask", NULL
15552 };
15553
15554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15556 {
15557 PyThreadState* __tstate = wxPyBeginAllowThreads();
15558 (arg1)->SetMask(arg2);
15559
15560 wxPyEndAllowThreads(__tstate);
15561 if (PyErr_Occurred()) SWIG_fail;
15562 }
15563 Py_INCREF(Py_None); resultobj = Py_None;
15564 return resultobj;
15565 fail:
15566 return NULL;
15567 }
15568
15569
15570 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15571 PyObject *resultobj;
15572 wxListItem *arg1 = (wxListItem *) 0 ;
15573 long arg2 ;
15574 PyObject * obj0 = 0 ;
15575 char *kwnames[] = {
15576 (char *) "self",(char *) "id", NULL
15577 };
15578
15579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15581 {
15582 PyThreadState* __tstate = wxPyBeginAllowThreads();
15583 (arg1)->SetId(arg2);
15584
15585 wxPyEndAllowThreads(__tstate);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 Py_INCREF(Py_None); resultobj = Py_None;
15589 return resultobj;
15590 fail:
15591 return NULL;
15592 }
15593
15594
15595 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15596 PyObject *resultobj;
15597 wxListItem *arg1 = (wxListItem *) 0 ;
15598 int arg2 ;
15599 PyObject * obj0 = 0 ;
15600 char *kwnames[] = {
15601 (char *) "self",(char *) "col", NULL
15602 };
15603
15604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15606 {
15607 PyThreadState* __tstate = wxPyBeginAllowThreads();
15608 (arg1)->SetColumn(arg2);
15609
15610 wxPyEndAllowThreads(__tstate);
15611 if (PyErr_Occurred()) SWIG_fail;
15612 }
15613 Py_INCREF(Py_None); resultobj = Py_None;
15614 return resultobj;
15615 fail:
15616 return NULL;
15617 }
15618
15619
15620 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15621 PyObject *resultobj;
15622 wxListItem *arg1 = (wxListItem *) 0 ;
15623 long arg2 ;
15624 PyObject * obj0 = 0 ;
15625 char *kwnames[] = {
15626 (char *) "self",(char *) "state", NULL
15627 };
15628
15629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15631 {
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 (arg1)->SetState(arg2);
15634
15635 wxPyEndAllowThreads(__tstate);
15636 if (PyErr_Occurred()) SWIG_fail;
15637 }
15638 Py_INCREF(Py_None); resultobj = Py_None;
15639 return resultobj;
15640 fail:
15641 return NULL;
15642 }
15643
15644
15645 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15646 PyObject *resultobj;
15647 wxListItem *arg1 = (wxListItem *) 0 ;
15648 long arg2 ;
15649 PyObject * obj0 = 0 ;
15650 char *kwnames[] = {
15651 (char *) "self",(char *) "stateMask", NULL
15652 };
15653
15654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15656 {
15657 PyThreadState* __tstate = wxPyBeginAllowThreads();
15658 (arg1)->SetStateMask(arg2);
15659
15660 wxPyEndAllowThreads(__tstate);
15661 if (PyErr_Occurred()) SWIG_fail;
15662 }
15663 Py_INCREF(Py_None); resultobj = Py_None;
15664 return resultobj;
15665 fail:
15666 return NULL;
15667 }
15668
15669
15670 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15671 PyObject *resultobj;
15672 wxListItem *arg1 = (wxListItem *) 0 ;
15673 wxString *arg2 = 0 ;
15674 bool temp2 = False ;
15675 PyObject * obj0 = 0 ;
15676 PyObject * obj1 = 0 ;
15677 char *kwnames[] = {
15678 (char *) "self",(char *) "text", NULL
15679 };
15680
15681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15683 {
15684 arg2 = wxString_in_helper(obj1);
15685 if (arg2 == NULL) SWIG_fail;
15686 temp2 = True;
15687 }
15688 {
15689 PyThreadState* __tstate = wxPyBeginAllowThreads();
15690 (arg1)->SetText((wxString const &)*arg2);
15691
15692 wxPyEndAllowThreads(__tstate);
15693 if (PyErr_Occurred()) SWIG_fail;
15694 }
15695 Py_INCREF(Py_None); resultobj = Py_None;
15696 {
15697 if (temp2)
15698 delete arg2;
15699 }
15700 return resultobj;
15701 fail:
15702 {
15703 if (temp2)
15704 delete arg2;
15705 }
15706 return NULL;
15707 }
15708
15709
15710 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15711 PyObject *resultobj;
15712 wxListItem *arg1 = (wxListItem *) 0 ;
15713 int arg2 ;
15714 PyObject * obj0 = 0 ;
15715 char *kwnames[] = {
15716 (char *) "self",(char *) "image", NULL
15717 };
15718
15719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15721 {
15722 PyThreadState* __tstate = wxPyBeginAllowThreads();
15723 (arg1)->SetImage(arg2);
15724
15725 wxPyEndAllowThreads(__tstate);
15726 if (PyErr_Occurred()) SWIG_fail;
15727 }
15728 Py_INCREF(Py_None); resultobj = Py_None;
15729 return resultobj;
15730 fail:
15731 return NULL;
15732 }
15733
15734
15735 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15736 PyObject *resultobj;
15737 wxListItem *arg1 = (wxListItem *) 0 ;
15738 long arg2 ;
15739 PyObject * obj0 = 0 ;
15740 char *kwnames[] = {
15741 (char *) "self",(char *) "data", NULL
15742 };
15743
15744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15746 {
15747 PyThreadState* __tstate = wxPyBeginAllowThreads();
15748 (arg1)->SetData(arg2);
15749
15750 wxPyEndAllowThreads(__tstate);
15751 if (PyErr_Occurred()) SWIG_fail;
15752 }
15753 Py_INCREF(Py_None); resultobj = Py_None;
15754 return resultobj;
15755 fail:
15756 return NULL;
15757 }
15758
15759
15760 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15761 PyObject *resultobj;
15762 wxListItem *arg1 = (wxListItem *) 0 ;
15763 int arg2 ;
15764 PyObject * obj0 = 0 ;
15765 char *kwnames[] = {
15766 (char *) "self",(char *) "width", NULL
15767 };
15768
15769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
15770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15771 {
15772 PyThreadState* __tstate = wxPyBeginAllowThreads();
15773 (arg1)->SetWidth(arg2);
15774
15775 wxPyEndAllowThreads(__tstate);
15776 if (PyErr_Occurred()) SWIG_fail;
15777 }
15778 Py_INCREF(Py_None); resultobj = Py_None;
15779 return resultobj;
15780 fail:
15781 return NULL;
15782 }
15783
15784
15785 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15786 PyObject *resultobj;
15787 wxListItem *arg1 = (wxListItem *) 0 ;
15788 int arg2 ;
15789 PyObject * obj0 = 0 ;
15790 char *kwnames[] = {
15791 (char *) "self",(char *) "align", NULL
15792 };
15793
15794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15796 {
15797 PyThreadState* __tstate = wxPyBeginAllowThreads();
15798 (arg1)->SetAlign((wxListColumnFormat )arg2);
15799
15800 wxPyEndAllowThreads(__tstate);
15801 if (PyErr_Occurred()) SWIG_fail;
15802 }
15803 Py_INCREF(Py_None); resultobj = Py_None;
15804 return resultobj;
15805 fail:
15806 return NULL;
15807 }
15808
15809
15810 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15811 PyObject *resultobj;
15812 wxListItem *arg1 = (wxListItem *) 0 ;
15813 wxColour *arg2 = 0 ;
15814 wxColour temp2 ;
15815 PyObject * obj0 = 0 ;
15816 PyObject * obj1 = 0 ;
15817 char *kwnames[] = {
15818 (char *) "self",(char *) "colText", NULL
15819 };
15820
15821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15823 {
15824 arg2 = &temp2;
15825 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15826 }
15827 {
15828 PyThreadState* __tstate = wxPyBeginAllowThreads();
15829 (arg1)->SetTextColour((wxColour const &)*arg2);
15830
15831 wxPyEndAllowThreads(__tstate);
15832 if (PyErr_Occurred()) SWIG_fail;
15833 }
15834 Py_INCREF(Py_None); resultobj = Py_None;
15835 return resultobj;
15836 fail:
15837 return NULL;
15838 }
15839
15840
15841 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15842 PyObject *resultobj;
15843 wxListItem *arg1 = (wxListItem *) 0 ;
15844 wxColour *arg2 = 0 ;
15845 wxColour temp2 ;
15846 PyObject * obj0 = 0 ;
15847 PyObject * obj1 = 0 ;
15848 char *kwnames[] = {
15849 (char *) "self",(char *) "colBack", NULL
15850 };
15851
15852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15854 {
15855 arg2 = &temp2;
15856 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15857 }
15858 {
15859 PyThreadState* __tstate = wxPyBeginAllowThreads();
15860 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15861
15862 wxPyEndAllowThreads(__tstate);
15863 if (PyErr_Occurred()) SWIG_fail;
15864 }
15865 Py_INCREF(Py_None); resultobj = Py_None;
15866 return resultobj;
15867 fail:
15868 return NULL;
15869 }
15870
15871
15872 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15873 PyObject *resultobj;
15874 wxListItem *arg1 = (wxListItem *) 0 ;
15875 wxFont *arg2 = 0 ;
15876 PyObject * obj0 = 0 ;
15877 PyObject * obj1 = 0 ;
15878 char *kwnames[] = {
15879 (char *) "self",(char *) "font", NULL
15880 };
15881
15882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15884 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15885 if (arg2 == NULL) {
15886 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15887 }
15888 {
15889 PyThreadState* __tstate = wxPyBeginAllowThreads();
15890 (arg1)->SetFont((wxFont const &)*arg2);
15891
15892 wxPyEndAllowThreads(__tstate);
15893 if (PyErr_Occurred()) SWIG_fail;
15894 }
15895 Py_INCREF(Py_None); resultobj = Py_None;
15896 return resultobj;
15897 fail:
15898 return NULL;
15899 }
15900
15901
15902 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15903 PyObject *resultobj;
15904 wxListItem *arg1 = (wxListItem *) 0 ;
15905 long result;
15906 PyObject * obj0 = 0 ;
15907 char *kwnames[] = {
15908 (char *) "self", NULL
15909 };
15910
15911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15913 {
15914 PyThreadState* __tstate = wxPyBeginAllowThreads();
15915 result = (long)(arg1)->GetMask();
15916
15917 wxPyEndAllowThreads(__tstate);
15918 if (PyErr_Occurred()) SWIG_fail;
15919 }
15920 resultobj = PyInt_FromLong((long)result);
15921 return resultobj;
15922 fail:
15923 return NULL;
15924 }
15925
15926
15927 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15928 PyObject *resultobj;
15929 wxListItem *arg1 = (wxListItem *) 0 ;
15930 long result;
15931 PyObject * obj0 = 0 ;
15932 char *kwnames[] = {
15933 (char *) "self", NULL
15934 };
15935
15936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15938 {
15939 PyThreadState* __tstate = wxPyBeginAllowThreads();
15940 result = (long)(arg1)->GetId();
15941
15942 wxPyEndAllowThreads(__tstate);
15943 if (PyErr_Occurred()) SWIG_fail;
15944 }
15945 resultobj = PyInt_FromLong((long)result);
15946 return resultobj;
15947 fail:
15948 return NULL;
15949 }
15950
15951
15952 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15953 PyObject *resultobj;
15954 wxListItem *arg1 = (wxListItem *) 0 ;
15955 int result;
15956 PyObject * obj0 = 0 ;
15957 char *kwnames[] = {
15958 (char *) "self", NULL
15959 };
15960
15961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15963 {
15964 PyThreadState* __tstate = wxPyBeginAllowThreads();
15965 result = (int)(arg1)->GetColumn();
15966
15967 wxPyEndAllowThreads(__tstate);
15968 if (PyErr_Occurred()) SWIG_fail;
15969 }
15970 resultobj = PyInt_FromLong((long)result);
15971 return resultobj;
15972 fail:
15973 return NULL;
15974 }
15975
15976
15977 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15978 PyObject *resultobj;
15979 wxListItem *arg1 = (wxListItem *) 0 ;
15980 long result;
15981 PyObject * obj0 = 0 ;
15982 char *kwnames[] = {
15983 (char *) "self", NULL
15984 };
15985
15986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15988 {
15989 PyThreadState* __tstate = wxPyBeginAllowThreads();
15990 result = (long)(arg1)->GetState();
15991
15992 wxPyEndAllowThreads(__tstate);
15993 if (PyErr_Occurred()) SWIG_fail;
15994 }
15995 resultobj = PyInt_FromLong((long)result);
15996 return resultobj;
15997 fail:
15998 return NULL;
15999 }
16000
16001
16002 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16003 PyObject *resultobj;
16004 wxListItem *arg1 = (wxListItem *) 0 ;
16005 wxString *result;
16006 PyObject * obj0 = 0 ;
16007 char *kwnames[] = {
16008 (char *) "self", NULL
16009 };
16010
16011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
16012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16013 {
16014 PyThreadState* __tstate = wxPyBeginAllowThreads();
16015 {
16016 wxString const &_result_ref = (arg1)->GetText();
16017 result = (wxString *) &_result_ref;
16018 }
16019
16020 wxPyEndAllowThreads(__tstate);
16021 if (PyErr_Occurred()) SWIG_fail;
16022 }
16023 {
16024 #if wxUSE_UNICODE
16025 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16026 #else
16027 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16028 #endif
16029 }
16030 return resultobj;
16031 fail:
16032 return NULL;
16033 }
16034
16035
16036 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16037 PyObject *resultobj;
16038 wxListItem *arg1 = (wxListItem *) 0 ;
16039 int result;
16040 PyObject * obj0 = 0 ;
16041 char *kwnames[] = {
16042 (char *) "self", NULL
16043 };
16044
16045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16047 {
16048 PyThreadState* __tstate = wxPyBeginAllowThreads();
16049 result = (int)(arg1)->GetImage();
16050
16051 wxPyEndAllowThreads(__tstate);
16052 if (PyErr_Occurred()) SWIG_fail;
16053 }
16054 resultobj = PyInt_FromLong((long)result);
16055 return resultobj;
16056 fail:
16057 return NULL;
16058 }
16059
16060
16061 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16062 PyObject *resultobj;
16063 wxListItem *arg1 = (wxListItem *) 0 ;
16064 long result;
16065 PyObject * obj0 = 0 ;
16066 char *kwnames[] = {
16067 (char *) "self", NULL
16068 };
16069
16070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16072 {
16073 PyThreadState* __tstate = wxPyBeginAllowThreads();
16074 result = (long)(arg1)->GetData();
16075
16076 wxPyEndAllowThreads(__tstate);
16077 if (PyErr_Occurred()) SWIG_fail;
16078 }
16079 resultobj = PyInt_FromLong((long)result);
16080 return resultobj;
16081 fail:
16082 return NULL;
16083 }
16084
16085
16086 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16087 PyObject *resultobj;
16088 wxListItem *arg1 = (wxListItem *) 0 ;
16089 int result;
16090 PyObject * obj0 = 0 ;
16091 char *kwnames[] = {
16092 (char *) "self", NULL
16093 };
16094
16095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16097 {
16098 PyThreadState* __tstate = wxPyBeginAllowThreads();
16099 result = (int)(arg1)->GetWidth();
16100
16101 wxPyEndAllowThreads(__tstate);
16102 if (PyErr_Occurred()) SWIG_fail;
16103 }
16104 resultobj = PyInt_FromLong((long)result);
16105 return resultobj;
16106 fail:
16107 return NULL;
16108 }
16109
16110
16111 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16112 PyObject *resultobj;
16113 wxListItem *arg1 = (wxListItem *) 0 ;
16114 int result;
16115 PyObject * obj0 = 0 ;
16116 char *kwnames[] = {
16117 (char *) "self", NULL
16118 };
16119
16120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16122 {
16123 PyThreadState* __tstate = wxPyBeginAllowThreads();
16124 result = (int)(arg1)->GetAlign();
16125
16126 wxPyEndAllowThreads(__tstate);
16127 if (PyErr_Occurred()) SWIG_fail;
16128 }
16129 resultobj = PyInt_FromLong((long)result);
16130 return resultobj;
16131 fail:
16132 return NULL;
16133 }
16134
16135
16136 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16137 PyObject *resultobj;
16138 wxListItem *arg1 = (wxListItem *) 0 ;
16139 wxListItemAttr *result;
16140 PyObject * obj0 = 0 ;
16141 char *kwnames[] = {
16142 (char *) "self", NULL
16143 };
16144
16145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16147 {
16148 PyThreadState* __tstate = wxPyBeginAllowThreads();
16149 result = (wxListItemAttr *)(arg1)->GetAttributes();
16150
16151 wxPyEndAllowThreads(__tstate);
16152 if (PyErr_Occurred()) SWIG_fail;
16153 }
16154 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16155 return resultobj;
16156 fail:
16157 return NULL;
16158 }
16159
16160
16161 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16162 PyObject *resultobj;
16163 wxListItem *arg1 = (wxListItem *) 0 ;
16164 bool result;
16165 PyObject * obj0 = 0 ;
16166 char *kwnames[] = {
16167 (char *) "self", NULL
16168 };
16169
16170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16172 {
16173 PyThreadState* __tstate = wxPyBeginAllowThreads();
16174 result = (bool)(arg1)->HasAttributes();
16175
16176 wxPyEndAllowThreads(__tstate);
16177 if (PyErr_Occurred()) SWIG_fail;
16178 }
16179 resultobj = PyInt_FromLong((long)result);
16180 return resultobj;
16181 fail:
16182 return NULL;
16183 }
16184
16185
16186 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16187 PyObject *resultobj;
16188 wxListItem *arg1 = (wxListItem *) 0 ;
16189 wxColour result;
16190 PyObject * obj0 = 0 ;
16191 char *kwnames[] = {
16192 (char *) "self", NULL
16193 };
16194
16195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16197 {
16198 PyThreadState* __tstate = wxPyBeginAllowThreads();
16199 result = ((wxListItem const *)arg1)->GetTextColour();
16200
16201 wxPyEndAllowThreads(__tstate);
16202 if (PyErr_Occurred()) SWIG_fail;
16203 }
16204 {
16205 wxColour * resultptr;
16206 resultptr = new wxColour((wxColour &) result);
16207 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16208 }
16209 return resultobj;
16210 fail:
16211 return NULL;
16212 }
16213
16214
16215 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16216 PyObject *resultobj;
16217 wxListItem *arg1 = (wxListItem *) 0 ;
16218 wxColour result;
16219 PyObject * obj0 = 0 ;
16220 char *kwnames[] = {
16221 (char *) "self", NULL
16222 };
16223
16224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16226 {
16227 PyThreadState* __tstate = wxPyBeginAllowThreads();
16228 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16229
16230 wxPyEndAllowThreads(__tstate);
16231 if (PyErr_Occurred()) SWIG_fail;
16232 }
16233 {
16234 wxColour * resultptr;
16235 resultptr = new wxColour((wxColour &) result);
16236 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16237 }
16238 return resultobj;
16239 fail:
16240 return NULL;
16241 }
16242
16243
16244 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16245 PyObject *resultobj;
16246 wxListItem *arg1 = (wxListItem *) 0 ;
16247 wxFont result;
16248 PyObject * obj0 = 0 ;
16249 char *kwnames[] = {
16250 (char *) "self", NULL
16251 };
16252
16253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16255 {
16256 PyThreadState* __tstate = wxPyBeginAllowThreads();
16257 result = ((wxListItem const *)arg1)->GetFont();
16258
16259 wxPyEndAllowThreads(__tstate);
16260 if (PyErr_Occurred()) SWIG_fail;
16261 }
16262 {
16263 wxFont * resultptr;
16264 resultptr = new wxFont((wxFont &) result);
16265 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16266 }
16267 return resultobj;
16268 fail:
16269 return NULL;
16270 }
16271
16272
16273 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16274 PyObject *resultobj;
16275 wxListItem *arg1 = (wxListItem *) 0 ;
16276 long arg2 ;
16277 PyObject * obj0 = 0 ;
16278 char *kwnames[] = {
16279 (char *) "self",(char *) "m_mask", NULL
16280 };
16281
16282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16284 if (arg1) (arg1)->m_mask = arg2;
16285
16286 Py_INCREF(Py_None); resultobj = Py_None;
16287 return resultobj;
16288 fail:
16289 return NULL;
16290 }
16291
16292
16293 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16294 PyObject *resultobj;
16295 wxListItem *arg1 = (wxListItem *) 0 ;
16296 long result;
16297 PyObject * obj0 = 0 ;
16298 char *kwnames[] = {
16299 (char *) "self", NULL
16300 };
16301
16302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16304 result = (long) ((arg1)->m_mask);
16305
16306 resultobj = PyInt_FromLong((long)result);
16307 return resultobj;
16308 fail:
16309 return NULL;
16310 }
16311
16312
16313 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16314 PyObject *resultobj;
16315 wxListItem *arg1 = (wxListItem *) 0 ;
16316 long arg2 ;
16317 PyObject * obj0 = 0 ;
16318 char *kwnames[] = {
16319 (char *) "self",(char *) "m_itemId", NULL
16320 };
16321
16322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16324 if (arg1) (arg1)->m_itemId = arg2;
16325
16326 Py_INCREF(Py_None); resultobj = Py_None;
16327 return resultobj;
16328 fail:
16329 return NULL;
16330 }
16331
16332
16333 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16334 PyObject *resultobj;
16335 wxListItem *arg1 = (wxListItem *) 0 ;
16336 long result;
16337 PyObject * obj0 = 0 ;
16338 char *kwnames[] = {
16339 (char *) "self", NULL
16340 };
16341
16342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16344 result = (long) ((arg1)->m_itemId);
16345
16346 resultobj = PyInt_FromLong((long)result);
16347 return resultobj;
16348 fail:
16349 return NULL;
16350 }
16351
16352
16353 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16354 PyObject *resultobj;
16355 wxListItem *arg1 = (wxListItem *) 0 ;
16356 int arg2 ;
16357 PyObject * obj0 = 0 ;
16358 char *kwnames[] = {
16359 (char *) "self",(char *) "m_col", NULL
16360 };
16361
16362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16364 if (arg1) (arg1)->m_col = arg2;
16365
16366 Py_INCREF(Py_None); resultobj = Py_None;
16367 return resultobj;
16368 fail:
16369 return NULL;
16370 }
16371
16372
16373 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16374 PyObject *resultobj;
16375 wxListItem *arg1 = (wxListItem *) 0 ;
16376 int result;
16377 PyObject * obj0 = 0 ;
16378 char *kwnames[] = {
16379 (char *) "self", NULL
16380 };
16381
16382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16384 result = (int) ((arg1)->m_col);
16385
16386 resultobj = PyInt_FromLong((long)result);
16387 return resultobj;
16388 fail:
16389 return NULL;
16390 }
16391
16392
16393 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16394 PyObject *resultobj;
16395 wxListItem *arg1 = (wxListItem *) 0 ;
16396 long arg2 ;
16397 PyObject * obj0 = 0 ;
16398 char *kwnames[] = {
16399 (char *) "self",(char *) "m_state", NULL
16400 };
16401
16402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16404 if (arg1) (arg1)->m_state = arg2;
16405
16406 Py_INCREF(Py_None); resultobj = Py_None;
16407 return resultobj;
16408 fail:
16409 return NULL;
16410 }
16411
16412
16413 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16414 PyObject *resultobj;
16415 wxListItem *arg1 = (wxListItem *) 0 ;
16416 long result;
16417 PyObject * obj0 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self", NULL
16420 };
16421
16422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16424 result = (long) ((arg1)->m_state);
16425
16426 resultobj = PyInt_FromLong((long)result);
16427 return resultobj;
16428 fail:
16429 return NULL;
16430 }
16431
16432
16433 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16434 PyObject *resultobj;
16435 wxListItem *arg1 = (wxListItem *) 0 ;
16436 long arg2 ;
16437 PyObject * obj0 = 0 ;
16438 char *kwnames[] = {
16439 (char *) "self",(char *) "m_stateMask", NULL
16440 };
16441
16442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16444 if (arg1) (arg1)->m_stateMask = arg2;
16445
16446 Py_INCREF(Py_None); resultobj = Py_None;
16447 return resultobj;
16448 fail:
16449 return NULL;
16450 }
16451
16452
16453 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16454 PyObject *resultobj;
16455 wxListItem *arg1 = (wxListItem *) 0 ;
16456 long result;
16457 PyObject * obj0 = 0 ;
16458 char *kwnames[] = {
16459 (char *) "self", NULL
16460 };
16461
16462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16464 result = (long) ((arg1)->m_stateMask);
16465
16466 resultobj = PyInt_FromLong((long)result);
16467 return resultobj;
16468 fail:
16469 return NULL;
16470 }
16471
16472
16473 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16474 PyObject *resultobj;
16475 wxListItem *arg1 = (wxListItem *) 0 ;
16476 wxString arg2 ;
16477 PyObject * obj0 = 0 ;
16478 PyObject * obj1 = 0 ;
16479 char *kwnames[] = {
16480 (char *) "self",(char *) "m_text", NULL
16481 };
16482
16483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16485 {
16486 wxString* sptr = wxString_in_helper(obj1);
16487 if (sptr == NULL) SWIG_fail;
16488 arg2 = *sptr;
16489 delete sptr;
16490 }
16491 if (arg1) (arg1)->m_text = arg2;
16492
16493 Py_INCREF(Py_None); resultobj = Py_None;
16494 return resultobj;
16495 fail:
16496 return NULL;
16497 }
16498
16499
16500 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16501 PyObject *resultobj;
16502 wxListItem *arg1 = (wxListItem *) 0 ;
16503 wxString result;
16504 PyObject * obj0 = 0 ;
16505 char *kwnames[] = {
16506 (char *) "self", NULL
16507 };
16508
16509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16511 result = ((arg1)->m_text);
16512
16513 {
16514 #if wxUSE_UNICODE
16515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16516 #else
16517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16518 #endif
16519 }
16520 return resultobj;
16521 fail:
16522 return NULL;
16523 }
16524
16525
16526 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16527 PyObject *resultobj;
16528 wxListItem *arg1 = (wxListItem *) 0 ;
16529 int arg2 ;
16530 PyObject * obj0 = 0 ;
16531 char *kwnames[] = {
16532 (char *) "self",(char *) "m_image", NULL
16533 };
16534
16535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16537 if (arg1) (arg1)->m_image = arg2;
16538
16539 Py_INCREF(Py_None); resultobj = Py_None;
16540 return resultobj;
16541 fail:
16542 return NULL;
16543 }
16544
16545
16546 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16547 PyObject *resultobj;
16548 wxListItem *arg1 = (wxListItem *) 0 ;
16549 int result;
16550 PyObject * obj0 = 0 ;
16551 char *kwnames[] = {
16552 (char *) "self", NULL
16553 };
16554
16555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16557 result = (int) ((arg1)->m_image);
16558
16559 resultobj = PyInt_FromLong((long)result);
16560 return resultobj;
16561 fail:
16562 return NULL;
16563 }
16564
16565
16566 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16567 PyObject *resultobj;
16568 wxListItem *arg1 = (wxListItem *) 0 ;
16569 long arg2 ;
16570 PyObject * obj0 = 0 ;
16571 char *kwnames[] = {
16572 (char *) "self",(char *) "m_data", NULL
16573 };
16574
16575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16577 if (arg1) (arg1)->m_data = arg2;
16578
16579 Py_INCREF(Py_None); resultobj = Py_None;
16580 return resultobj;
16581 fail:
16582 return NULL;
16583 }
16584
16585
16586 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16587 PyObject *resultobj;
16588 wxListItem *arg1 = (wxListItem *) 0 ;
16589 long result;
16590 PyObject * obj0 = 0 ;
16591 char *kwnames[] = {
16592 (char *) "self", NULL
16593 };
16594
16595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16597 result = (long) ((arg1)->m_data);
16598
16599 resultobj = PyInt_FromLong((long)result);
16600 return resultobj;
16601 fail:
16602 return NULL;
16603 }
16604
16605
16606 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16607 PyObject *resultobj;
16608 wxListItem *arg1 = (wxListItem *) 0 ;
16609 int arg2 ;
16610 PyObject * obj0 = 0 ;
16611 char *kwnames[] = {
16612 (char *) "self",(char *) "m_format", NULL
16613 };
16614
16615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16617 if (arg1) (arg1)->m_format = arg2;
16618
16619 Py_INCREF(Py_None); resultobj = Py_None;
16620 return resultobj;
16621 fail:
16622 return NULL;
16623 }
16624
16625
16626 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16627 PyObject *resultobj;
16628 wxListItem *arg1 = (wxListItem *) 0 ;
16629 int result;
16630 PyObject * obj0 = 0 ;
16631 char *kwnames[] = {
16632 (char *) "self", NULL
16633 };
16634
16635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16637 result = (int) ((arg1)->m_format);
16638
16639 resultobj = PyInt_FromLong((long)result);
16640 return resultobj;
16641 fail:
16642 return NULL;
16643 }
16644
16645
16646 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16647 PyObject *resultobj;
16648 wxListItem *arg1 = (wxListItem *) 0 ;
16649 int arg2 ;
16650 PyObject * obj0 = 0 ;
16651 char *kwnames[] = {
16652 (char *) "self",(char *) "m_width", NULL
16653 };
16654
16655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16657 if (arg1) (arg1)->m_width = arg2;
16658
16659 Py_INCREF(Py_None); resultobj = Py_None;
16660 return resultobj;
16661 fail:
16662 return NULL;
16663 }
16664
16665
16666 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16667 PyObject *resultobj;
16668 wxListItem *arg1 = (wxListItem *) 0 ;
16669 int result;
16670 PyObject * obj0 = 0 ;
16671 char *kwnames[] = {
16672 (char *) "self", NULL
16673 };
16674
16675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16677 result = (int) ((arg1)->m_width);
16678
16679 resultobj = PyInt_FromLong((long)result);
16680 return resultobj;
16681 fail:
16682 return NULL;
16683 }
16684
16685
16686 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16687 PyObject *obj;
16688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16689 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16690 Py_INCREF(obj);
16691 return Py_BuildValue((char *)"");
16692 }
16693 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16694 PyObject *resultobj;
16695 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16696 int arg2 = (int) 0 ;
16697 wxListEvent *result;
16698 char *kwnames[] = {
16699 (char *) "commandType",(char *) "id", NULL
16700 };
16701
16702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16703 {
16704 PyThreadState* __tstate = wxPyBeginAllowThreads();
16705 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16706
16707 wxPyEndAllowThreads(__tstate);
16708 if (PyErr_Occurred()) SWIG_fail;
16709 }
16710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16711 return resultobj;
16712 fail:
16713 return NULL;
16714 }
16715
16716
16717 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16718 PyObject *resultobj;
16719 wxListEvent *arg1 = (wxListEvent *) 0 ;
16720 int arg2 ;
16721 PyObject * obj0 = 0 ;
16722 char *kwnames[] = {
16723 (char *) "self",(char *) "m_code", NULL
16724 };
16725
16726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16728 if (arg1) (arg1)->m_code = arg2;
16729
16730 Py_INCREF(Py_None); resultobj = Py_None;
16731 return resultobj;
16732 fail:
16733 return NULL;
16734 }
16735
16736
16737 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16738 PyObject *resultobj;
16739 wxListEvent *arg1 = (wxListEvent *) 0 ;
16740 int result;
16741 PyObject * obj0 = 0 ;
16742 char *kwnames[] = {
16743 (char *) "self", NULL
16744 };
16745
16746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16748 result = (int) ((arg1)->m_code);
16749
16750 resultobj = PyInt_FromLong((long)result);
16751 return resultobj;
16752 fail:
16753 return NULL;
16754 }
16755
16756
16757 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16758 PyObject *resultobj;
16759 wxListEvent *arg1 = (wxListEvent *) 0 ;
16760 long arg2 ;
16761 PyObject * obj0 = 0 ;
16762 char *kwnames[] = {
16763 (char *) "self",(char *) "m_oldItemIndex", NULL
16764 };
16765
16766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16768 if (arg1) (arg1)->m_oldItemIndex = arg2;
16769
16770 Py_INCREF(Py_None); resultobj = Py_None;
16771 return resultobj;
16772 fail:
16773 return NULL;
16774 }
16775
16776
16777 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16778 PyObject *resultobj;
16779 wxListEvent *arg1 = (wxListEvent *) 0 ;
16780 long result;
16781 PyObject * obj0 = 0 ;
16782 char *kwnames[] = {
16783 (char *) "self", NULL
16784 };
16785
16786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16788 result = (long) ((arg1)->m_oldItemIndex);
16789
16790 resultobj = PyInt_FromLong((long)result);
16791 return resultobj;
16792 fail:
16793 return NULL;
16794 }
16795
16796
16797 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16798 PyObject *resultobj;
16799 wxListEvent *arg1 = (wxListEvent *) 0 ;
16800 long arg2 ;
16801 PyObject * obj0 = 0 ;
16802 char *kwnames[] = {
16803 (char *) "self",(char *) "m_itemIndex", NULL
16804 };
16805
16806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16808 if (arg1) (arg1)->m_itemIndex = arg2;
16809
16810 Py_INCREF(Py_None); resultobj = Py_None;
16811 return resultobj;
16812 fail:
16813 return NULL;
16814 }
16815
16816
16817 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16818 PyObject *resultobj;
16819 wxListEvent *arg1 = (wxListEvent *) 0 ;
16820 long result;
16821 PyObject * obj0 = 0 ;
16822 char *kwnames[] = {
16823 (char *) "self", NULL
16824 };
16825
16826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16828 result = (long) ((arg1)->m_itemIndex);
16829
16830 resultobj = PyInt_FromLong((long)result);
16831 return resultobj;
16832 fail:
16833 return NULL;
16834 }
16835
16836
16837 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16838 PyObject *resultobj;
16839 wxListEvent *arg1 = (wxListEvent *) 0 ;
16840 int arg2 ;
16841 PyObject * obj0 = 0 ;
16842 char *kwnames[] = {
16843 (char *) "self",(char *) "m_col", NULL
16844 };
16845
16846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16848 if (arg1) (arg1)->m_col = arg2;
16849
16850 Py_INCREF(Py_None); resultobj = Py_None;
16851 return resultobj;
16852 fail:
16853 return NULL;
16854 }
16855
16856
16857 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16858 PyObject *resultobj;
16859 wxListEvent *arg1 = (wxListEvent *) 0 ;
16860 int result;
16861 PyObject * obj0 = 0 ;
16862 char *kwnames[] = {
16863 (char *) "self", NULL
16864 };
16865
16866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16868 result = (int) ((arg1)->m_col);
16869
16870 resultobj = PyInt_FromLong((long)result);
16871 return resultobj;
16872 fail:
16873 return NULL;
16874 }
16875
16876
16877 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16878 PyObject *resultobj;
16879 wxListEvent *arg1 = (wxListEvent *) 0 ;
16880 wxPoint *arg2 = (wxPoint *) 0 ;
16881 PyObject * obj0 = 0 ;
16882 PyObject * obj1 = 0 ;
16883 char *kwnames[] = {
16884 (char *) "self",(char *) "m_pointDrag", NULL
16885 };
16886
16887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16889 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16890 if (arg1) (arg1)->m_pointDrag = *arg2;
16891
16892 Py_INCREF(Py_None); resultobj = Py_None;
16893 return resultobj;
16894 fail:
16895 return NULL;
16896 }
16897
16898
16899 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16900 PyObject *resultobj;
16901 wxListEvent *arg1 = (wxListEvent *) 0 ;
16902 wxPoint *result;
16903 PyObject * obj0 = 0 ;
16904 char *kwnames[] = {
16905 (char *) "self", NULL
16906 };
16907
16908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16910 result = (wxPoint *)& ((arg1)->m_pointDrag);
16911
16912 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16913 return resultobj;
16914 fail:
16915 return NULL;
16916 }
16917
16918
16919 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16920 PyObject *resultobj;
16921 wxListEvent *arg1 = (wxListEvent *) 0 ;
16922 wxListItem *result;
16923 PyObject * obj0 = 0 ;
16924 char *kwnames[] = {
16925 (char *) "self", NULL
16926 };
16927
16928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16930 result = (wxListItem *)& ((arg1)->m_item);
16931
16932 {
16933 resultobj = wxPyMake_wxObject(result);
16934 }
16935 return resultobj;
16936 fail:
16937 return NULL;
16938 }
16939
16940
16941 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16942 PyObject *resultobj;
16943 wxListEvent *arg1 = (wxListEvent *) 0 ;
16944 int result;
16945 PyObject * obj0 = 0 ;
16946 char *kwnames[] = {
16947 (char *) "self", NULL
16948 };
16949
16950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16952 {
16953 PyThreadState* __tstate = wxPyBeginAllowThreads();
16954 result = (int)(arg1)->GetKeyCode();
16955
16956 wxPyEndAllowThreads(__tstate);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 }
16959 resultobj = PyInt_FromLong((long)result);
16960 return resultobj;
16961 fail:
16962 return NULL;
16963 }
16964
16965
16966 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16967 PyObject *resultobj;
16968 wxListEvent *arg1 = (wxListEvent *) 0 ;
16969 long result;
16970 PyObject * obj0 = 0 ;
16971 char *kwnames[] = {
16972 (char *) "self", NULL
16973 };
16974
16975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16977 {
16978 PyThreadState* __tstate = wxPyBeginAllowThreads();
16979 result = (long)(arg1)->GetIndex();
16980
16981 wxPyEndAllowThreads(__tstate);
16982 if (PyErr_Occurred()) SWIG_fail;
16983 }
16984 resultobj = PyInt_FromLong((long)result);
16985 return resultobj;
16986 fail:
16987 return NULL;
16988 }
16989
16990
16991 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16992 PyObject *resultobj;
16993 wxListEvent *arg1 = (wxListEvent *) 0 ;
16994 int result;
16995 PyObject * obj0 = 0 ;
16996 char *kwnames[] = {
16997 (char *) "self", NULL
16998 };
16999
17000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17002 {
17003 PyThreadState* __tstate = wxPyBeginAllowThreads();
17004 result = (int)(arg1)->GetColumn();
17005
17006 wxPyEndAllowThreads(__tstate);
17007 if (PyErr_Occurred()) SWIG_fail;
17008 }
17009 resultobj = PyInt_FromLong((long)result);
17010 return resultobj;
17011 fail:
17012 return NULL;
17013 }
17014
17015
17016 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17017 PyObject *resultobj;
17018 wxListEvent *arg1 = (wxListEvent *) 0 ;
17019 wxPoint result;
17020 PyObject * obj0 = 0 ;
17021 char *kwnames[] = {
17022 (char *) "self", NULL
17023 };
17024
17025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17027 {
17028 PyThreadState* __tstate = wxPyBeginAllowThreads();
17029 result = (arg1)->GetPoint();
17030
17031 wxPyEndAllowThreads(__tstate);
17032 if (PyErr_Occurred()) SWIG_fail;
17033 }
17034 {
17035 wxPoint * resultptr;
17036 resultptr = new wxPoint((wxPoint &) result);
17037 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17038 }
17039 return resultobj;
17040 fail:
17041 return NULL;
17042 }
17043
17044
17045 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17046 PyObject *resultobj;
17047 wxListEvent *arg1 = (wxListEvent *) 0 ;
17048 wxString *result;
17049 PyObject * obj0 = 0 ;
17050 char *kwnames[] = {
17051 (char *) "self", NULL
17052 };
17053
17054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17056 {
17057 PyThreadState* __tstate = wxPyBeginAllowThreads();
17058 {
17059 wxString const &_result_ref = (arg1)->GetLabel();
17060 result = (wxString *) &_result_ref;
17061 }
17062
17063 wxPyEndAllowThreads(__tstate);
17064 if (PyErr_Occurred()) SWIG_fail;
17065 }
17066 {
17067 #if wxUSE_UNICODE
17068 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17069 #else
17070 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17071 #endif
17072 }
17073 return resultobj;
17074 fail:
17075 return NULL;
17076 }
17077
17078
17079 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17080 PyObject *resultobj;
17081 wxListEvent *arg1 = (wxListEvent *) 0 ;
17082 wxString *result;
17083 PyObject * obj0 = 0 ;
17084 char *kwnames[] = {
17085 (char *) "self", NULL
17086 };
17087
17088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17090 {
17091 PyThreadState* __tstate = wxPyBeginAllowThreads();
17092 {
17093 wxString const &_result_ref = (arg1)->GetText();
17094 result = (wxString *) &_result_ref;
17095 }
17096
17097 wxPyEndAllowThreads(__tstate);
17098 if (PyErr_Occurred()) SWIG_fail;
17099 }
17100 {
17101 #if wxUSE_UNICODE
17102 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17103 #else
17104 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17105 #endif
17106 }
17107 return resultobj;
17108 fail:
17109 return NULL;
17110 }
17111
17112
17113 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17114 PyObject *resultobj;
17115 wxListEvent *arg1 = (wxListEvent *) 0 ;
17116 int result;
17117 PyObject * obj0 = 0 ;
17118 char *kwnames[] = {
17119 (char *) "self", NULL
17120 };
17121
17122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17124 {
17125 PyThreadState* __tstate = wxPyBeginAllowThreads();
17126 result = (int)(arg1)->GetImage();
17127
17128 wxPyEndAllowThreads(__tstate);
17129 if (PyErr_Occurred()) SWIG_fail;
17130 }
17131 resultobj = PyInt_FromLong((long)result);
17132 return resultobj;
17133 fail:
17134 return NULL;
17135 }
17136
17137
17138 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17139 PyObject *resultobj;
17140 wxListEvent *arg1 = (wxListEvent *) 0 ;
17141 long result;
17142 PyObject * obj0 = 0 ;
17143 char *kwnames[] = {
17144 (char *) "self", NULL
17145 };
17146
17147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17149 {
17150 PyThreadState* __tstate = wxPyBeginAllowThreads();
17151 result = (long)(arg1)->GetData();
17152
17153 wxPyEndAllowThreads(__tstate);
17154 if (PyErr_Occurred()) SWIG_fail;
17155 }
17156 resultobj = PyInt_FromLong((long)result);
17157 return resultobj;
17158 fail:
17159 return NULL;
17160 }
17161
17162
17163 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17164 PyObject *resultobj;
17165 wxListEvent *arg1 = (wxListEvent *) 0 ;
17166 long result;
17167 PyObject * obj0 = 0 ;
17168 char *kwnames[] = {
17169 (char *) "self", NULL
17170 };
17171
17172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17174 {
17175 PyThreadState* __tstate = wxPyBeginAllowThreads();
17176 result = (long)(arg1)->GetMask();
17177
17178 wxPyEndAllowThreads(__tstate);
17179 if (PyErr_Occurred()) SWIG_fail;
17180 }
17181 resultobj = PyInt_FromLong((long)result);
17182 return resultobj;
17183 fail:
17184 return NULL;
17185 }
17186
17187
17188 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17189 PyObject *resultobj;
17190 wxListEvent *arg1 = (wxListEvent *) 0 ;
17191 wxListItem *result;
17192 PyObject * obj0 = 0 ;
17193 char *kwnames[] = {
17194 (char *) "self", NULL
17195 };
17196
17197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17199 {
17200 PyThreadState* __tstate = wxPyBeginAllowThreads();
17201 {
17202 wxListItem const &_result_ref = (arg1)->GetItem();
17203 result = (wxListItem *) &_result_ref;
17204 }
17205
17206 wxPyEndAllowThreads(__tstate);
17207 if (PyErr_Occurred()) SWIG_fail;
17208 }
17209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17210 return resultobj;
17211 fail:
17212 return NULL;
17213 }
17214
17215
17216 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17217 PyObject *resultobj;
17218 wxListEvent *arg1 = (wxListEvent *) 0 ;
17219 long result;
17220 PyObject * obj0 = 0 ;
17221 char *kwnames[] = {
17222 (char *) "self", NULL
17223 };
17224
17225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17227 {
17228 PyThreadState* __tstate = wxPyBeginAllowThreads();
17229 result = (long)(arg1)->GetCacheFrom();
17230
17231 wxPyEndAllowThreads(__tstate);
17232 if (PyErr_Occurred()) SWIG_fail;
17233 }
17234 resultobj = PyInt_FromLong((long)result);
17235 return resultobj;
17236 fail:
17237 return NULL;
17238 }
17239
17240
17241 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17242 PyObject *resultobj;
17243 wxListEvent *arg1 = (wxListEvent *) 0 ;
17244 long result;
17245 PyObject * obj0 = 0 ;
17246 char *kwnames[] = {
17247 (char *) "self", NULL
17248 };
17249
17250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17252 {
17253 PyThreadState* __tstate = wxPyBeginAllowThreads();
17254 result = (long)(arg1)->GetCacheTo();
17255
17256 wxPyEndAllowThreads(__tstate);
17257 if (PyErr_Occurred()) SWIG_fail;
17258 }
17259 resultobj = PyInt_FromLong((long)result);
17260 return resultobj;
17261 fail:
17262 return NULL;
17263 }
17264
17265
17266 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17267 PyObject *resultobj;
17268 wxListEvent *arg1 = (wxListEvent *) 0 ;
17269 bool result;
17270 PyObject * obj0 = 0 ;
17271 char *kwnames[] = {
17272 (char *) "self", NULL
17273 };
17274
17275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17277 {
17278 PyThreadState* __tstate = wxPyBeginAllowThreads();
17279 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17280
17281 wxPyEndAllowThreads(__tstate);
17282 if (PyErr_Occurred()) SWIG_fail;
17283 }
17284 resultobj = PyInt_FromLong((long)result);
17285 return resultobj;
17286 fail:
17287 return NULL;
17288 }
17289
17290
17291 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17292 PyObject *resultobj;
17293 wxListEvent *arg1 = (wxListEvent *) 0 ;
17294 bool arg2 ;
17295 PyObject * obj0 = 0 ;
17296 PyObject * obj1 = 0 ;
17297 char *kwnames[] = {
17298 (char *) "self",(char *) "editCancelled", NULL
17299 };
17300
17301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17303 arg2 = PyInt_AsLong(obj1) ? true : false;
17304 if (PyErr_Occurred()) SWIG_fail;
17305 {
17306 PyThreadState* __tstate = wxPyBeginAllowThreads();
17307 (arg1)->SetEditCanceled(arg2);
17308
17309 wxPyEndAllowThreads(__tstate);
17310 if (PyErr_Occurred()) SWIG_fail;
17311 }
17312 Py_INCREF(Py_None); resultobj = Py_None;
17313 return resultobj;
17314 fail:
17315 return NULL;
17316 }
17317
17318
17319 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17320 PyObject *obj;
17321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17322 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17323 Py_INCREF(obj);
17324 return Py_BuildValue((char *)"");
17325 }
17326 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17327 PyObject *resultobj;
17328 wxWindow *arg1 = (wxWindow *) 0 ;
17329 int arg2 = (int) -1 ;
17330 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17331 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17332 wxSize const &arg4_defvalue = wxDefaultSize ;
17333 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17334 long arg5 = (long) wxLC_ICON ;
17335 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17336 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17337 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17338 wxString *arg7 = (wxString *) &arg7_defvalue ;
17339 wxPyListCtrl *result;
17340 wxPoint temp3 ;
17341 wxSize temp4 ;
17342 bool temp7 = False ;
17343 PyObject * obj0 = 0 ;
17344 PyObject * obj2 = 0 ;
17345 PyObject * obj3 = 0 ;
17346 PyObject * obj5 = 0 ;
17347 PyObject * obj6 = 0 ;
17348 char *kwnames[] = {
17349 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17350 };
17351
17352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17354 if (obj2) {
17355 {
17356 arg3 = &temp3;
17357 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17358 }
17359 }
17360 if (obj3) {
17361 {
17362 arg4 = &temp4;
17363 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17364 }
17365 }
17366 if (obj5) {
17367 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17368 if (arg6 == NULL) {
17369 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17370 }
17371 }
17372 if (obj6) {
17373 {
17374 arg7 = wxString_in_helper(obj6);
17375 if (arg7 == NULL) SWIG_fail;
17376 temp7 = True;
17377 }
17378 }
17379 {
17380 PyThreadState* __tstate = wxPyBeginAllowThreads();
17381 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17382
17383 wxPyEndAllowThreads(__tstate);
17384 if (PyErr_Occurred()) SWIG_fail;
17385 }
17386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17387 {
17388 if (temp7)
17389 delete arg7;
17390 }
17391 return resultobj;
17392 fail:
17393 {
17394 if (temp7)
17395 delete arg7;
17396 }
17397 return NULL;
17398 }
17399
17400
17401 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17402 PyObject *resultobj;
17403 wxPyListCtrl *result;
17404 char *kwnames[] = {
17405 NULL
17406 };
17407
17408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17409 {
17410 PyThreadState* __tstate = wxPyBeginAllowThreads();
17411 result = (wxPyListCtrl *)new wxPyListCtrl();
17412
17413 wxPyEndAllowThreads(__tstate);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 }
17416 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17417 return resultobj;
17418 fail:
17419 return NULL;
17420 }
17421
17422
17423 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj;
17425 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17426 wxWindow *arg2 = (wxWindow *) 0 ;
17427 int arg3 = (int) -1 ;
17428 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17429 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17430 wxSize const &arg5_defvalue = wxDefaultSize ;
17431 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17432 long arg6 = (long) wxLC_ICON ;
17433 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17434 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17435 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17436 wxString *arg8 = (wxString *) &arg8_defvalue ;
17437 bool result;
17438 wxPoint temp4 ;
17439 wxSize temp5 ;
17440 bool temp8 = False ;
17441 PyObject * obj0 = 0 ;
17442 PyObject * obj1 = 0 ;
17443 PyObject * obj3 = 0 ;
17444 PyObject * obj4 = 0 ;
17445 PyObject * obj6 = 0 ;
17446 PyObject * obj7 = 0 ;
17447 char *kwnames[] = {
17448 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17449 };
17450
17451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17454 if (obj3) {
17455 {
17456 arg4 = &temp4;
17457 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17458 }
17459 }
17460 if (obj4) {
17461 {
17462 arg5 = &temp5;
17463 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17464 }
17465 }
17466 if (obj6) {
17467 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17468 if (arg7 == NULL) {
17469 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17470 }
17471 }
17472 if (obj7) {
17473 {
17474 arg8 = wxString_in_helper(obj7);
17475 if (arg8 == NULL) SWIG_fail;
17476 temp8 = True;
17477 }
17478 }
17479 {
17480 PyThreadState* __tstate = wxPyBeginAllowThreads();
17481 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17482
17483 wxPyEndAllowThreads(__tstate);
17484 if (PyErr_Occurred()) SWIG_fail;
17485 }
17486 resultobj = PyInt_FromLong((long)result);
17487 {
17488 if (temp8)
17489 delete arg8;
17490 }
17491 return resultobj;
17492 fail:
17493 {
17494 if (temp8)
17495 delete arg8;
17496 }
17497 return NULL;
17498 }
17499
17500
17501 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17502 PyObject *resultobj;
17503 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17504 PyObject *arg2 = (PyObject *) 0 ;
17505 PyObject *arg3 = (PyObject *) 0 ;
17506 PyObject * obj0 = 0 ;
17507 PyObject * obj1 = 0 ;
17508 PyObject * obj2 = 0 ;
17509 char *kwnames[] = {
17510 (char *) "self",(char *) "self",(char *) "_class", NULL
17511 };
17512
17513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17515 arg2 = obj1;
17516 arg3 = obj2;
17517 {
17518 PyThreadState* __tstate = wxPyBeginAllowThreads();
17519 (arg1)->_setCallbackInfo(arg2,arg3);
17520
17521 wxPyEndAllowThreads(__tstate);
17522 if (PyErr_Occurred()) SWIG_fail;
17523 }
17524 Py_INCREF(Py_None); resultobj = Py_None;
17525 return resultobj;
17526 fail:
17527 return NULL;
17528 }
17529
17530
17531 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17532 PyObject *resultobj;
17533 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17534 wxColour *arg2 = 0 ;
17535 bool result;
17536 wxColour temp2 ;
17537 PyObject * obj0 = 0 ;
17538 PyObject * obj1 = 0 ;
17539 char *kwnames[] = {
17540 (char *) "self",(char *) "col", NULL
17541 };
17542
17543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17545 {
17546 arg2 = &temp2;
17547 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17548 }
17549 {
17550 PyThreadState* __tstate = wxPyBeginAllowThreads();
17551 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17552
17553 wxPyEndAllowThreads(__tstate);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 }
17556 resultobj = PyInt_FromLong((long)result);
17557 return resultobj;
17558 fail:
17559 return NULL;
17560 }
17561
17562
17563 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17564 PyObject *resultobj;
17565 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17566 wxColour *arg2 = 0 ;
17567 bool result;
17568 wxColour temp2 ;
17569 PyObject * obj0 = 0 ;
17570 PyObject * obj1 = 0 ;
17571 char *kwnames[] = {
17572 (char *) "self",(char *) "col", NULL
17573 };
17574
17575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17577 {
17578 arg2 = &temp2;
17579 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17580 }
17581 {
17582 PyThreadState* __tstate = wxPyBeginAllowThreads();
17583 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17584
17585 wxPyEndAllowThreads(__tstate);
17586 if (PyErr_Occurred()) SWIG_fail;
17587 }
17588 resultobj = PyInt_FromLong((long)result);
17589 return resultobj;
17590 fail:
17591 return NULL;
17592 }
17593
17594
17595 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17596 PyObject *resultobj;
17597 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17598 int arg2 ;
17599 wxListItem *result;
17600 PyObject * obj0 = 0 ;
17601 char *kwnames[] = {
17602 (char *) "self",(char *) "col", NULL
17603 };
17604
17605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17607 {
17608 PyThreadState* __tstate = wxPyBeginAllowThreads();
17609 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 {
17615 resultobj = wxPyMake_wxObject(result);
17616 }
17617 return resultobj;
17618 fail:
17619 return NULL;
17620 }
17621
17622
17623 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17624 PyObject *resultobj;
17625 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17626 int arg2 ;
17627 wxListItem *arg3 = 0 ;
17628 bool result;
17629 PyObject * obj0 = 0 ;
17630 PyObject * obj2 = 0 ;
17631 char *kwnames[] = {
17632 (char *) "self",(char *) "col",(char *) "item", NULL
17633 };
17634
17635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17637 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17638 if (arg3 == NULL) {
17639 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17640 }
17641 {
17642 PyThreadState* __tstate = wxPyBeginAllowThreads();
17643 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17644
17645 wxPyEndAllowThreads(__tstate);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 }
17648 resultobj = PyInt_FromLong((long)result);
17649 return resultobj;
17650 fail:
17651 return NULL;
17652 }
17653
17654
17655 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17656 PyObject *resultobj;
17657 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17658 int arg2 ;
17659 int result;
17660 PyObject * obj0 = 0 ;
17661 char *kwnames[] = {
17662 (char *) "self",(char *) "col", NULL
17663 };
17664
17665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17670
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 resultobj = PyInt_FromLong((long)result);
17675 return resultobj;
17676 fail:
17677 return NULL;
17678 }
17679
17680
17681 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17682 PyObject *resultobj;
17683 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17684 int arg2 ;
17685 int arg3 ;
17686 bool result;
17687 PyObject * obj0 = 0 ;
17688 char *kwnames[] = {
17689 (char *) "self",(char *) "col",(char *) "width", NULL
17690 };
17691
17692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17694 {
17695 PyThreadState* __tstate = wxPyBeginAllowThreads();
17696 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17697
17698 wxPyEndAllowThreads(__tstate);
17699 if (PyErr_Occurred()) SWIG_fail;
17700 }
17701 resultobj = PyInt_FromLong((long)result);
17702 return resultobj;
17703 fail:
17704 return NULL;
17705 }
17706
17707
17708 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17709 PyObject *resultobj;
17710 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17711 int result;
17712 PyObject * obj0 = 0 ;
17713 char *kwnames[] = {
17714 (char *) "self", NULL
17715 };
17716
17717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17719 {
17720 PyThreadState* __tstate = wxPyBeginAllowThreads();
17721 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17722
17723 wxPyEndAllowThreads(__tstate);
17724 if (PyErr_Occurred()) SWIG_fail;
17725 }
17726 resultobj = PyInt_FromLong((long)result);
17727 return resultobj;
17728 fail:
17729 return NULL;
17730 }
17731
17732
17733 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17734 PyObject *resultobj;
17735 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17736 wxRect result;
17737 PyObject * obj0 = 0 ;
17738 char *kwnames[] = {
17739 (char *) "self", NULL
17740 };
17741
17742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17744 {
17745 PyThreadState* __tstate = wxPyBeginAllowThreads();
17746 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17747
17748 wxPyEndAllowThreads(__tstate);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 }
17751 {
17752 wxRect * resultptr;
17753 resultptr = new wxRect((wxRect &) result);
17754 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17755 }
17756 return resultobj;
17757 fail:
17758 return NULL;
17759 }
17760
17761
17762 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17763 PyObject *resultobj;
17764 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17765 wxTextCtrl *result;
17766 PyObject * obj0 = 0 ;
17767 char *kwnames[] = {
17768 (char *) "self", NULL
17769 };
17770
17771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
17772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17773 {
17774 PyThreadState* __tstate = wxPyBeginAllowThreads();
17775 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
17776
17777 wxPyEndAllowThreads(__tstate);
17778 if (PyErr_Occurred()) SWIG_fail;
17779 }
17780 {
17781 resultobj = wxPyMake_wxObject(result);
17782 }
17783 return resultobj;
17784 fail:
17785 return NULL;
17786 }
17787
17788
17789 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17790 PyObject *resultobj;
17791 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17792 long arg2 ;
17793 int arg3 = (int) 0 ;
17794 wxListItem *result;
17795 PyObject * obj0 = 0 ;
17796 char *kwnames[] = {
17797 (char *) "self",(char *) "itemId",(char *) "col", NULL
17798 };
17799
17800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17802 {
17803 PyThreadState* __tstate = wxPyBeginAllowThreads();
17804 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17805
17806 wxPyEndAllowThreads(__tstate);
17807 if (PyErr_Occurred()) SWIG_fail;
17808 }
17809 {
17810 resultobj = wxPyMake_wxObject(result);
17811 }
17812 return resultobj;
17813 fail:
17814 return NULL;
17815 }
17816
17817
17818 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17819 PyObject *resultobj;
17820 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17821 wxListItem *arg2 = 0 ;
17822 bool result;
17823 PyObject * obj0 = 0 ;
17824 PyObject * obj1 = 0 ;
17825 char *kwnames[] = {
17826 (char *) "self",(char *) "info", NULL
17827 };
17828
17829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17831 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17832 if (arg2 == NULL) {
17833 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17834 }
17835 {
17836 PyThreadState* __tstate = wxPyBeginAllowThreads();
17837 result = (bool)(arg1)->SetItem(*arg2);
17838
17839 wxPyEndAllowThreads(__tstate);
17840 if (PyErr_Occurred()) SWIG_fail;
17841 }
17842 resultobj = PyInt_FromLong((long)result);
17843 return resultobj;
17844 fail:
17845 return NULL;
17846 }
17847
17848
17849 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17850 PyObject *resultobj;
17851 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17852 long arg2 ;
17853 int arg3 ;
17854 wxString *arg4 = 0 ;
17855 int arg5 = (int) -1 ;
17856 long result;
17857 bool temp4 = False ;
17858 PyObject * obj0 = 0 ;
17859 PyObject * obj3 = 0 ;
17860 char *kwnames[] = {
17861 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17862 };
17863
17864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17866 {
17867 arg4 = wxString_in_helper(obj3);
17868 if (arg4 == NULL) SWIG_fail;
17869 temp4 = True;
17870 }
17871 {
17872 PyThreadState* __tstate = wxPyBeginAllowThreads();
17873 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17874
17875 wxPyEndAllowThreads(__tstate);
17876 if (PyErr_Occurred()) SWIG_fail;
17877 }
17878 resultobj = PyInt_FromLong((long)result);
17879 {
17880 if (temp4)
17881 delete arg4;
17882 }
17883 return resultobj;
17884 fail:
17885 {
17886 if (temp4)
17887 delete arg4;
17888 }
17889 return NULL;
17890 }
17891
17892
17893 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17894 PyObject *resultobj;
17895 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17896 long arg2 ;
17897 long arg3 ;
17898 int result;
17899 PyObject * obj0 = 0 ;
17900 char *kwnames[] = {
17901 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17902 };
17903
17904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17906 {
17907 PyThreadState* __tstate = wxPyBeginAllowThreads();
17908 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17909
17910 wxPyEndAllowThreads(__tstate);
17911 if (PyErr_Occurred()) SWIG_fail;
17912 }
17913 resultobj = PyInt_FromLong((long)result);
17914 return resultobj;
17915 fail:
17916 return NULL;
17917 }
17918
17919
17920 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17921 PyObject *resultobj;
17922 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17923 long arg2 ;
17924 long arg3 ;
17925 long arg4 ;
17926 bool result;
17927 PyObject * obj0 = 0 ;
17928 char *kwnames[] = {
17929 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17930 };
17931
17932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17934 {
17935 PyThreadState* __tstate = wxPyBeginAllowThreads();
17936 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17937
17938 wxPyEndAllowThreads(__tstate);
17939 if (PyErr_Occurred()) SWIG_fail;
17940 }
17941 resultobj = PyInt_FromLong((long)result);
17942 return resultobj;
17943 fail:
17944 return NULL;
17945 }
17946
17947
17948 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17949 PyObject *resultobj;
17950 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17951 long arg2 ;
17952 int arg3 ;
17953 int arg4 ;
17954 bool result;
17955 PyObject * obj0 = 0 ;
17956 char *kwnames[] = {
17957 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17958 };
17959
17960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17962 {
17963 PyThreadState* __tstate = wxPyBeginAllowThreads();
17964 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17965
17966 wxPyEndAllowThreads(__tstate);
17967 if (PyErr_Occurred()) SWIG_fail;
17968 }
17969 resultobj = PyInt_FromLong((long)result);
17970 return resultobj;
17971 fail:
17972 return NULL;
17973 }
17974
17975
17976 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17977 PyObject *resultobj;
17978 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17979 long arg2 ;
17980 wxString result;
17981 PyObject * obj0 = 0 ;
17982 char *kwnames[] = {
17983 (char *) "self",(char *) "item", NULL
17984 };
17985
17986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17988 {
17989 PyThreadState* __tstate = wxPyBeginAllowThreads();
17990 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17991
17992 wxPyEndAllowThreads(__tstate);
17993 if (PyErr_Occurred()) SWIG_fail;
17994 }
17995 {
17996 #if wxUSE_UNICODE
17997 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17998 #else
17999 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18000 #endif
18001 }
18002 return resultobj;
18003 fail:
18004 return NULL;
18005 }
18006
18007
18008 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18009 PyObject *resultobj;
18010 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18011 long arg2 ;
18012 wxString *arg3 = 0 ;
18013 bool temp3 = False ;
18014 PyObject * obj0 = 0 ;
18015 PyObject * obj2 = 0 ;
18016 char *kwnames[] = {
18017 (char *) "self",(char *) "item",(char *) "str", NULL
18018 };
18019
18020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18022 {
18023 arg3 = wxString_in_helper(obj2);
18024 if (arg3 == NULL) SWIG_fail;
18025 temp3 = True;
18026 }
18027 {
18028 PyThreadState* __tstate = wxPyBeginAllowThreads();
18029 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18030
18031 wxPyEndAllowThreads(__tstate);
18032 if (PyErr_Occurred()) SWIG_fail;
18033 }
18034 Py_INCREF(Py_None); resultobj = Py_None;
18035 {
18036 if (temp3)
18037 delete arg3;
18038 }
18039 return resultobj;
18040 fail:
18041 {
18042 if (temp3)
18043 delete arg3;
18044 }
18045 return NULL;
18046 }
18047
18048
18049 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18050 PyObject *resultobj;
18051 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18052 long arg2 ;
18053 long result;
18054 PyObject * obj0 = 0 ;
18055 char *kwnames[] = {
18056 (char *) "self",(char *) "item", NULL
18057 };
18058
18059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18061 {
18062 PyThreadState* __tstate = wxPyBeginAllowThreads();
18063 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18064
18065 wxPyEndAllowThreads(__tstate);
18066 if (PyErr_Occurred()) SWIG_fail;
18067 }
18068 resultobj = PyInt_FromLong((long)result);
18069 return resultobj;
18070 fail:
18071 return NULL;
18072 }
18073
18074
18075 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18076 PyObject *resultobj;
18077 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18078 long arg2 ;
18079 long arg3 ;
18080 bool result;
18081 PyObject * obj0 = 0 ;
18082 char *kwnames[] = {
18083 (char *) "self",(char *) "item",(char *) "data", NULL
18084 };
18085
18086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18088 {
18089 PyThreadState* __tstate = wxPyBeginAllowThreads();
18090 result = (bool)(arg1)->SetItemData(arg2,arg3);
18091
18092 wxPyEndAllowThreads(__tstate);
18093 if (PyErr_Occurred()) SWIG_fail;
18094 }
18095 resultobj = PyInt_FromLong((long)result);
18096 return resultobj;
18097 fail:
18098 return NULL;
18099 }
18100
18101
18102 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18103 PyObject *resultobj;
18104 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18105 long arg2 ;
18106 wxPoint result;
18107 PyObject * obj0 = 0 ;
18108 char *kwnames[] = {
18109 (char *) "self",(char *) "item", NULL
18110 };
18111
18112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18114 {
18115 PyThreadState* __tstate = wxPyBeginAllowThreads();
18116 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18117
18118 wxPyEndAllowThreads(__tstate);
18119 if (PyErr_Occurred()) SWIG_fail;
18120 }
18121 {
18122 wxPoint * resultptr;
18123 resultptr = new wxPoint((wxPoint &) result);
18124 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18125 }
18126 return resultobj;
18127 fail:
18128 return NULL;
18129 }
18130
18131
18132 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18133 PyObject *resultobj;
18134 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18135 long arg2 ;
18136 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18137 wxRect result;
18138 PyObject * obj0 = 0 ;
18139 char *kwnames[] = {
18140 (char *) "self",(char *) "item",(char *) "code", NULL
18141 };
18142
18143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18145 {
18146 PyThreadState* __tstate = wxPyBeginAllowThreads();
18147 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18148
18149 wxPyEndAllowThreads(__tstate);
18150 if (PyErr_Occurred()) SWIG_fail;
18151 }
18152 {
18153 wxRect * resultptr;
18154 resultptr = new wxRect((wxRect &) result);
18155 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18156 }
18157 return resultobj;
18158 fail:
18159 return NULL;
18160 }
18161
18162
18163 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18164 PyObject *resultobj;
18165 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18166 long arg2 ;
18167 wxPoint *arg3 = 0 ;
18168 bool result;
18169 wxPoint temp3 ;
18170 PyObject * obj0 = 0 ;
18171 PyObject * obj2 = 0 ;
18172 char *kwnames[] = {
18173 (char *) "self",(char *) "item",(char *) "pos", NULL
18174 };
18175
18176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18178 {
18179 arg3 = &temp3;
18180 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18181 }
18182 {
18183 PyThreadState* __tstate = wxPyBeginAllowThreads();
18184 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18185
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
18189 resultobj = PyInt_FromLong((long)result);
18190 return resultobj;
18191 fail:
18192 return NULL;
18193 }
18194
18195
18196 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18197 PyObject *resultobj;
18198 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18199 int result;
18200 PyObject * obj0 = 0 ;
18201 char *kwnames[] = {
18202 (char *) "self", NULL
18203 };
18204
18205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18207 {
18208 PyThreadState* __tstate = wxPyBeginAllowThreads();
18209 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18210
18211 wxPyEndAllowThreads(__tstate);
18212 if (PyErr_Occurred()) SWIG_fail;
18213 }
18214 resultobj = PyInt_FromLong((long)result);
18215 return resultobj;
18216 fail:
18217 return NULL;
18218 }
18219
18220
18221 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18222 PyObject *resultobj;
18223 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18224 int result;
18225 PyObject * obj0 = 0 ;
18226 char *kwnames[] = {
18227 (char *) "self", NULL
18228 };
18229
18230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18232 {
18233 PyThreadState* __tstate = wxPyBeginAllowThreads();
18234 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18235
18236 wxPyEndAllowThreads(__tstate);
18237 if (PyErr_Occurred()) SWIG_fail;
18238 }
18239 resultobj = PyInt_FromLong((long)result);
18240 return resultobj;
18241 fail:
18242 return NULL;
18243 }
18244
18245
18246 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18247 PyObject *resultobj;
18248 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18249 wxSize result;
18250 PyObject * obj0 = 0 ;
18251 char *kwnames[] = {
18252 (char *) "self", NULL
18253 };
18254
18255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18257 {
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18260
18261 wxPyEndAllowThreads(__tstate);
18262 if (PyErr_Occurred()) SWIG_fail;
18263 }
18264 {
18265 wxSize * resultptr;
18266 resultptr = new wxSize((wxSize &) result);
18267 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18268 }
18269 return resultobj;
18270 fail:
18271 return NULL;
18272 }
18273
18274
18275 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18276 PyObject *resultobj;
18277 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18278 int result;
18279 PyObject * obj0 = 0 ;
18280 char *kwnames[] = {
18281 (char *) "self", NULL
18282 };
18283
18284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18286 {
18287 PyThreadState* __tstate = wxPyBeginAllowThreads();
18288 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18289
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
18293 resultobj = PyInt_FromLong((long)result);
18294 return resultobj;
18295 fail:
18296 return NULL;
18297 }
18298
18299
18300 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18301 PyObject *resultobj;
18302 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18303 wxColour result;
18304 PyObject * obj0 = 0 ;
18305 char *kwnames[] = {
18306 (char *) "self", NULL
18307 };
18308
18309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18311 {
18312 PyThreadState* __tstate = wxPyBeginAllowThreads();
18313 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18314
18315 wxPyEndAllowThreads(__tstate);
18316 if (PyErr_Occurred()) SWIG_fail;
18317 }
18318 {
18319 wxColour * resultptr;
18320 resultptr = new wxColour((wxColour &) result);
18321 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18322 }
18323 return resultobj;
18324 fail:
18325 return NULL;
18326 }
18327
18328
18329 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18330 PyObject *resultobj;
18331 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18332 wxColour *arg2 = 0 ;
18333 wxColour temp2 ;
18334 PyObject * obj0 = 0 ;
18335 PyObject * obj1 = 0 ;
18336 char *kwnames[] = {
18337 (char *) "self",(char *) "col", NULL
18338 };
18339
18340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18342 {
18343 arg2 = &temp2;
18344 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18345 }
18346 {
18347 PyThreadState* __tstate = wxPyBeginAllowThreads();
18348 (arg1)->SetTextColour((wxColour const &)*arg2);
18349
18350 wxPyEndAllowThreads(__tstate);
18351 if (PyErr_Occurred()) SWIG_fail;
18352 }
18353 Py_INCREF(Py_None); resultobj = Py_None;
18354 return resultobj;
18355 fail:
18356 return NULL;
18357 }
18358
18359
18360 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18361 PyObject *resultobj;
18362 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18363 long result;
18364 PyObject * obj0 = 0 ;
18365 char *kwnames[] = {
18366 (char *) "self", NULL
18367 };
18368
18369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18371 {
18372 PyThreadState* __tstate = wxPyBeginAllowThreads();
18373 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18374
18375 wxPyEndAllowThreads(__tstate);
18376 if (PyErr_Occurred()) SWIG_fail;
18377 }
18378 resultobj = PyInt_FromLong((long)result);
18379 return resultobj;
18380 fail:
18381 return NULL;
18382 }
18383
18384
18385 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18386 PyObject *resultobj;
18387 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18388 long arg2 ;
18389 bool arg3 = (bool) True ;
18390 PyObject * obj0 = 0 ;
18391 PyObject * obj2 = 0 ;
18392 char *kwnames[] = {
18393 (char *) "self",(char *) "style",(char *) "add", NULL
18394 };
18395
18396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18398 if (obj2) {
18399 arg3 = PyInt_AsLong(obj2) ? true : false;
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
18402 {
18403 PyThreadState* __tstate = wxPyBeginAllowThreads();
18404 (arg1)->SetSingleStyle(arg2,arg3);
18405
18406 wxPyEndAllowThreads(__tstate);
18407 if (PyErr_Occurred()) SWIG_fail;
18408 }
18409 Py_INCREF(Py_None); resultobj = Py_None;
18410 return resultobj;
18411 fail:
18412 return NULL;
18413 }
18414
18415
18416 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18417 PyObject *resultobj;
18418 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18419 long arg2 ;
18420 PyObject * obj0 = 0 ;
18421 char *kwnames[] = {
18422 (char *) "self",(char *) "style", NULL
18423 };
18424
18425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 (arg1)->SetWindowStyleFlag(arg2);
18430
18431 wxPyEndAllowThreads(__tstate);
18432 if (PyErr_Occurred()) SWIG_fail;
18433 }
18434 Py_INCREF(Py_None); resultobj = Py_None;
18435 return resultobj;
18436 fail:
18437 return NULL;
18438 }
18439
18440
18441 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18442 PyObject *resultobj;
18443 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18444 long arg2 ;
18445 int arg3 = (int) wxLIST_NEXT_ALL ;
18446 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18447 long result;
18448 PyObject * obj0 = 0 ;
18449 char *kwnames[] = {
18450 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18451 };
18452
18453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18455 {
18456 PyThreadState* __tstate = wxPyBeginAllowThreads();
18457 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18458
18459 wxPyEndAllowThreads(__tstate);
18460 if (PyErr_Occurred()) SWIG_fail;
18461 }
18462 resultobj = PyInt_FromLong((long)result);
18463 return resultobj;
18464 fail:
18465 return NULL;
18466 }
18467
18468
18469 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18470 PyObject *resultobj;
18471 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18472 int arg2 ;
18473 wxImageList *result;
18474 PyObject * obj0 = 0 ;
18475 char *kwnames[] = {
18476 (char *) "self",(char *) "which", NULL
18477 };
18478
18479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18481 {
18482 PyThreadState* __tstate = wxPyBeginAllowThreads();
18483 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18484
18485 wxPyEndAllowThreads(__tstate);
18486 if (PyErr_Occurred()) SWIG_fail;
18487 }
18488 {
18489 resultobj = wxPyMake_wxObject(result);
18490 }
18491 return resultobj;
18492 fail:
18493 return NULL;
18494 }
18495
18496
18497 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18498 PyObject *resultobj;
18499 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18500 wxImageList *arg2 = (wxImageList *) 0 ;
18501 int arg3 ;
18502 PyObject * obj0 = 0 ;
18503 PyObject * obj1 = 0 ;
18504 char *kwnames[] = {
18505 (char *) "self",(char *) "imageList",(char *) "which", NULL
18506 };
18507
18508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18511 {
18512 PyThreadState* __tstate = wxPyBeginAllowThreads();
18513 (arg1)->SetImageList(arg2,arg3);
18514
18515 wxPyEndAllowThreads(__tstate);
18516 if (PyErr_Occurred()) SWIG_fail;
18517 }
18518 Py_INCREF(Py_None); resultobj = Py_None;
18519 return resultobj;
18520 fail:
18521 return NULL;
18522 }
18523
18524
18525 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18526 PyObject *resultobj;
18527 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18528 wxImageList *arg2 = (wxImageList *) 0 ;
18529 int arg3 ;
18530 PyObject * obj0 = 0 ;
18531 PyObject * obj1 = 0 ;
18532 char *kwnames[] = {
18533 (char *) "self",(char *) "imageList",(char *) "which", NULL
18534 };
18535
18536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18539 {
18540 PyThreadState* __tstate = wxPyBeginAllowThreads();
18541 (arg1)->AssignImageList(arg2,arg3);
18542
18543 wxPyEndAllowThreads(__tstate);
18544 if (PyErr_Occurred()) SWIG_fail;
18545 }
18546 Py_INCREF(Py_None); resultobj = Py_None;
18547 return resultobj;
18548 fail:
18549 return NULL;
18550 }
18551
18552
18553 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18554 PyObject *resultobj;
18555 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18556 bool result;
18557 PyObject * obj0 = 0 ;
18558 char *kwnames[] = {
18559 (char *) "self", NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18564 {
18565 PyThreadState* __tstate = wxPyBeginAllowThreads();
18566 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18567
18568 wxPyEndAllowThreads(__tstate);
18569 if (PyErr_Occurred()) SWIG_fail;
18570 }
18571 resultobj = PyInt_FromLong((long)result);
18572 return resultobj;
18573 fail:
18574 return NULL;
18575 }
18576
18577
18578 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18579 PyObject *resultobj;
18580 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18581 long arg2 ;
18582 PyObject * obj0 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self",(char *) "item", NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 (arg1)->RefreshItem(arg2);
18592
18593 wxPyEndAllowThreads(__tstate);
18594 if (PyErr_Occurred()) SWIG_fail;
18595 }
18596 Py_INCREF(Py_None); resultobj = Py_None;
18597 return resultobj;
18598 fail:
18599 return NULL;
18600 }
18601
18602
18603 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18604 PyObject *resultobj;
18605 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18606 long arg2 ;
18607 long arg3 ;
18608 PyObject * obj0 = 0 ;
18609 char *kwnames[] = {
18610 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18611 };
18612
18613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18615 {
18616 PyThreadState* __tstate = wxPyBeginAllowThreads();
18617 (arg1)->RefreshItems(arg2,arg3);
18618
18619 wxPyEndAllowThreads(__tstate);
18620 if (PyErr_Occurred()) SWIG_fail;
18621 }
18622 Py_INCREF(Py_None); resultobj = Py_None;
18623 return resultobj;
18624 fail:
18625 return NULL;
18626 }
18627
18628
18629 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18630 PyObject *resultobj;
18631 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18632 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18633 bool result;
18634 PyObject * obj0 = 0 ;
18635 char *kwnames[] = {
18636 (char *) "self",(char *) "flag", NULL
18637 };
18638
18639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18641 {
18642 PyThreadState* __tstate = wxPyBeginAllowThreads();
18643 result = (bool)(arg1)->Arrange(arg2);
18644
18645 wxPyEndAllowThreads(__tstate);
18646 if (PyErr_Occurred()) SWIG_fail;
18647 }
18648 resultobj = PyInt_FromLong((long)result);
18649 return resultobj;
18650 fail:
18651 return NULL;
18652 }
18653
18654
18655 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18656 PyObject *resultobj;
18657 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18658 long arg2 ;
18659 bool result;
18660 PyObject * obj0 = 0 ;
18661 char *kwnames[] = {
18662 (char *) "self",(char *) "item", NULL
18663 };
18664
18665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18667 {
18668 PyThreadState* __tstate = wxPyBeginAllowThreads();
18669 result = (bool)(arg1)->DeleteItem(arg2);
18670
18671 wxPyEndAllowThreads(__tstate);
18672 if (PyErr_Occurred()) SWIG_fail;
18673 }
18674 resultobj = PyInt_FromLong((long)result);
18675 return resultobj;
18676 fail:
18677 return NULL;
18678 }
18679
18680
18681 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18682 PyObject *resultobj;
18683 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18684 bool result;
18685 PyObject * obj0 = 0 ;
18686 char *kwnames[] = {
18687 (char *) "self", NULL
18688 };
18689
18690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18692 {
18693 PyThreadState* __tstate = wxPyBeginAllowThreads();
18694 result = (bool)(arg1)->DeleteAllItems();
18695
18696 wxPyEndAllowThreads(__tstate);
18697 if (PyErr_Occurred()) SWIG_fail;
18698 }
18699 resultobj = PyInt_FromLong((long)result);
18700 return resultobj;
18701 fail:
18702 return NULL;
18703 }
18704
18705
18706 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18707 PyObject *resultobj;
18708 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18709 int arg2 ;
18710 bool result;
18711 PyObject * obj0 = 0 ;
18712 char *kwnames[] = {
18713 (char *) "self",(char *) "col", NULL
18714 };
18715
18716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18718 {
18719 PyThreadState* __tstate = wxPyBeginAllowThreads();
18720 result = (bool)(arg1)->DeleteColumn(arg2);
18721
18722 wxPyEndAllowThreads(__tstate);
18723 if (PyErr_Occurred()) SWIG_fail;
18724 }
18725 resultobj = PyInt_FromLong((long)result);
18726 return resultobj;
18727 fail:
18728 return NULL;
18729 }
18730
18731
18732 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj;
18734 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18735 bool result;
18736 PyObject * obj0 = 0 ;
18737 char *kwnames[] = {
18738 (char *) "self", NULL
18739 };
18740
18741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18743 {
18744 PyThreadState* __tstate = wxPyBeginAllowThreads();
18745 result = (bool)(arg1)->DeleteAllColumns();
18746
18747 wxPyEndAllowThreads(__tstate);
18748 if (PyErr_Occurred()) SWIG_fail;
18749 }
18750 resultobj = PyInt_FromLong((long)result);
18751 return resultobj;
18752 fail:
18753 return NULL;
18754 }
18755
18756
18757 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18758 PyObject *resultobj;
18759 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18760 PyObject * obj0 = 0 ;
18761 char *kwnames[] = {
18762 (char *) "self", NULL
18763 };
18764
18765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18767 {
18768 PyThreadState* __tstate = wxPyBeginAllowThreads();
18769 (arg1)->ClearAll();
18770
18771 wxPyEndAllowThreads(__tstate);
18772 if (PyErr_Occurred()) SWIG_fail;
18773 }
18774 Py_INCREF(Py_None); resultobj = Py_None;
18775 return resultobj;
18776 fail:
18777 return NULL;
18778 }
18779
18780
18781 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18782 PyObject *resultobj;
18783 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18784 long arg2 ;
18785 wxTextCtrl *result;
18786 PyObject * obj0 = 0 ;
18787 char *kwnames[] = {
18788 (char *) "self",(char *) "item", NULL
18789 };
18790
18791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18793 {
18794 PyThreadState* __tstate = wxPyBeginAllowThreads();
18795 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
18796
18797 wxPyEndAllowThreads(__tstate);
18798 if (PyErr_Occurred()) SWIG_fail;
18799 }
18800 {
18801 resultobj = wxPyMake_wxObject(result);
18802 }
18803 return resultobj;
18804 fail:
18805 return NULL;
18806 }
18807
18808
18809 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18810 PyObject *resultobj;
18811 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18812 bool arg2 ;
18813 bool result;
18814 PyObject * obj0 = 0 ;
18815 PyObject * obj1 = 0 ;
18816 char *kwnames[] = {
18817 (char *) "self",(char *) "cancel", NULL
18818 };
18819
18820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
18821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18822 arg2 = PyInt_AsLong(obj1) ? true : false;
18823 if (PyErr_Occurred()) SWIG_fail;
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 result = (bool)(arg1)->EndEditLabel(arg2);
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 resultobj = PyInt_FromLong((long)result);
18832 return resultobj;
18833 fail:
18834 return NULL;
18835 }
18836
18837
18838 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18839 PyObject *resultobj;
18840 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18841 long arg2 ;
18842 bool result;
18843 PyObject * obj0 = 0 ;
18844 char *kwnames[] = {
18845 (char *) "self",(char *) "item", NULL
18846 };
18847
18848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18850 {
18851 PyThreadState* __tstate = wxPyBeginAllowThreads();
18852 result = (bool)(arg1)->EnsureVisible(arg2);
18853
18854 wxPyEndAllowThreads(__tstate);
18855 if (PyErr_Occurred()) SWIG_fail;
18856 }
18857 resultobj = PyInt_FromLong((long)result);
18858 return resultobj;
18859 fail:
18860 return NULL;
18861 }
18862
18863
18864 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18865 PyObject *resultobj;
18866 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18867 long arg2 ;
18868 wxString *arg3 = 0 ;
18869 bool arg4 = (bool) False ;
18870 long result;
18871 bool temp3 = False ;
18872 PyObject * obj0 = 0 ;
18873 PyObject * obj2 = 0 ;
18874 PyObject * obj3 = 0 ;
18875 char *kwnames[] = {
18876 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18877 };
18878
18879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18881 {
18882 arg3 = wxString_in_helper(obj2);
18883 if (arg3 == NULL) SWIG_fail;
18884 temp3 = True;
18885 }
18886 if (obj3) {
18887 arg4 = PyInt_AsLong(obj3) ? true : false;
18888 if (PyErr_Occurred()) SWIG_fail;
18889 }
18890 {
18891 PyThreadState* __tstate = wxPyBeginAllowThreads();
18892 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18893
18894 wxPyEndAllowThreads(__tstate);
18895 if (PyErr_Occurred()) SWIG_fail;
18896 }
18897 resultobj = PyInt_FromLong((long)result);
18898 {
18899 if (temp3)
18900 delete arg3;
18901 }
18902 return resultobj;
18903 fail:
18904 {
18905 if (temp3)
18906 delete arg3;
18907 }
18908 return NULL;
18909 }
18910
18911
18912 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18913 PyObject *resultobj;
18914 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18915 long arg2 ;
18916 long arg3 ;
18917 long result;
18918 PyObject * obj0 = 0 ;
18919 char *kwnames[] = {
18920 (char *) "self",(char *) "start",(char *) "data", NULL
18921 };
18922
18923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18925 {
18926 PyThreadState* __tstate = wxPyBeginAllowThreads();
18927 result = (long)(arg1)->FindItem(arg2,arg3);
18928
18929 wxPyEndAllowThreads(__tstate);
18930 if (PyErr_Occurred()) SWIG_fail;
18931 }
18932 resultobj = PyInt_FromLong((long)result);
18933 return resultobj;
18934 fail:
18935 return NULL;
18936 }
18937
18938
18939 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18940 PyObject *resultobj;
18941 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18942 long arg2 ;
18943 wxPoint *arg3 = 0 ;
18944 int arg4 ;
18945 long result;
18946 wxPoint temp3 ;
18947 PyObject * obj0 = 0 ;
18948 PyObject * obj2 = 0 ;
18949 char *kwnames[] = {
18950 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18951 };
18952
18953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18955 {
18956 arg3 = &temp3;
18957 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18958 }
18959 {
18960 PyThreadState* __tstate = wxPyBeginAllowThreads();
18961 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18962
18963 wxPyEndAllowThreads(__tstate);
18964 if (PyErr_Occurred()) SWIG_fail;
18965 }
18966 resultobj = PyInt_FromLong((long)result);
18967 return resultobj;
18968 fail:
18969 return NULL;
18970 }
18971
18972
18973 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18974 PyObject *resultobj;
18975 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18976 wxPoint *arg2 = 0 ;
18977 int *arg3 = 0 ;
18978 long result;
18979 wxPoint temp2 ;
18980 int temp3 ;
18981 PyObject * obj0 = 0 ;
18982 PyObject * obj1 = 0 ;
18983 char *kwnames[] = {
18984 (char *) "self",(char *) "point", NULL
18985 };
18986
18987 arg3 = &temp3;
18988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18990 {
18991 arg2 = &temp2;
18992 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18993 }
18994 {
18995 PyThreadState* __tstate = wxPyBeginAllowThreads();
18996 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18997
18998 wxPyEndAllowThreads(__tstate);
18999 if (PyErr_Occurred()) SWIG_fail;
19000 }
19001 resultobj = PyInt_FromLong((long)result);
19002 {
19003 PyObject *o = PyInt_FromLong((long) (*arg3));
19004 resultobj = t_output_helper(resultobj,o);
19005 }
19006 return resultobj;
19007 fail:
19008 return NULL;
19009 }
19010
19011
19012 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19013 PyObject *resultobj;
19014 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19015 wxListItem *arg2 = 0 ;
19016 long result;
19017 PyObject * obj0 = 0 ;
19018 PyObject * obj1 = 0 ;
19019 char *kwnames[] = {
19020 (char *) "self",(char *) "info", NULL
19021 };
19022
19023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19026 if (arg2 == NULL) {
19027 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19028 }
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 result = (long)(arg1)->InsertItem(*arg2);
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 resultobj = PyInt_FromLong((long)result);
19037 return resultobj;
19038 fail:
19039 return NULL;
19040 }
19041
19042
19043 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19044 PyObject *resultobj;
19045 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19046 long arg2 ;
19047 wxString *arg3 = 0 ;
19048 long result;
19049 bool temp3 = False ;
19050 PyObject * obj0 = 0 ;
19051 PyObject * obj2 = 0 ;
19052 char *kwnames[] = {
19053 (char *) "self",(char *) "index",(char *) "label", NULL
19054 };
19055
19056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19058 {
19059 arg3 = wxString_in_helper(obj2);
19060 if (arg3 == NULL) SWIG_fail;
19061 temp3 = True;
19062 }
19063 {
19064 PyThreadState* __tstate = wxPyBeginAllowThreads();
19065 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19066
19067 wxPyEndAllowThreads(__tstate);
19068 if (PyErr_Occurred()) SWIG_fail;
19069 }
19070 resultobj = PyInt_FromLong((long)result);
19071 {
19072 if (temp3)
19073 delete arg3;
19074 }
19075 return resultobj;
19076 fail:
19077 {
19078 if (temp3)
19079 delete arg3;
19080 }
19081 return NULL;
19082 }
19083
19084
19085 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19086 PyObject *resultobj;
19087 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19088 long arg2 ;
19089 int arg3 ;
19090 long result;
19091 PyObject * obj0 = 0 ;
19092 char *kwnames[] = {
19093 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19094 };
19095
19096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19098 {
19099 PyThreadState* __tstate = wxPyBeginAllowThreads();
19100 result = (long)(arg1)->InsertItem(arg2,arg3);
19101
19102 wxPyEndAllowThreads(__tstate);
19103 if (PyErr_Occurred()) SWIG_fail;
19104 }
19105 resultobj = PyInt_FromLong((long)result);
19106 return resultobj;
19107 fail:
19108 return NULL;
19109 }
19110
19111
19112 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19113 PyObject *resultobj;
19114 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19115 long arg2 ;
19116 wxString *arg3 = 0 ;
19117 int arg4 ;
19118 long result;
19119 bool temp3 = False ;
19120 PyObject * obj0 = 0 ;
19121 PyObject * obj2 = 0 ;
19122 char *kwnames[] = {
19123 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19124 };
19125
19126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19128 {
19129 arg3 = wxString_in_helper(obj2);
19130 if (arg3 == NULL) SWIG_fail;
19131 temp3 = True;
19132 }
19133 {
19134 PyThreadState* __tstate = wxPyBeginAllowThreads();
19135 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19136
19137 wxPyEndAllowThreads(__tstate);
19138 if (PyErr_Occurred()) SWIG_fail;
19139 }
19140 resultobj = PyInt_FromLong((long)result);
19141 {
19142 if (temp3)
19143 delete arg3;
19144 }
19145 return resultobj;
19146 fail:
19147 {
19148 if (temp3)
19149 delete arg3;
19150 }
19151 return NULL;
19152 }
19153
19154
19155 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19156 PyObject *resultobj;
19157 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19158 long arg2 ;
19159 wxListItem *arg3 = 0 ;
19160 long result;
19161 PyObject * obj0 = 0 ;
19162 PyObject * obj2 = 0 ;
19163 char *kwnames[] = {
19164 (char *) "self",(char *) "col",(char *) "info", NULL
19165 };
19166
19167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19169 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19170 if (arg3 == NULL) {
19171 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19172 }
19173 {
19174 PyThreadState* __tstate = wxPyBeginAllowThreads();
19175 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19176
19177 wxPyEndAllowThreads(__tstate);
19178 if (PyErr_Occurred()) SWIG_fail;
19179 }
19180 resultobj = PyInt_FromLong((long)result);
19181 return resultobj;
19182 fail:
19183 return NULL;
19184 }
19185
19186
19187 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19188 PyObject *resultobj;
19189 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19190 long arg2 ;
19191 wxString *arg3 = 0 ;
19192 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19193 int arg5 = (int) -1 ;
19194 long result;
19195 bool temp3 = False ;
19196 PyObject * obj0 = 0 ;
19197 PyObject * obj2 = 0 ;
19198 char *kwnames[] = {
19199 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19200 };
19201
19202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19204 {
19205 arg3 = wxString_in_helper(obj2);
19206 if (arg3 == NULL) SWIG_fail;
19207 temp3 = True;
19208 }
19209 {
19210 PyThreadState* __tstate = wxPyBeginAllowThreads();
19211 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19212
19213 wxPyEndAllowThreads(__tstate);
19214 if (PyErr_Occurred()) SWIG_fail;
19215 }
19216 resultobj = PyInt_FromLong((long)result);
19217 {
19218 if (temp3)
19219 delete arg3;
19220 }
19221 return resultobj;
19222 fail:
19223 {
19224 if (temp3)
19225 delete arg3;
19226 }
19227 return NULL;
19228 }
19229
19230
19231 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19232 PyObject *resultobj;
19233 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19234 long arg2 ;
19235 PyObject * obj0 = 0 ;
19236 char *kwnames[] = {
19237 (char *) "self",(char *) "count", NULL
19238 };
19239
19240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19242 {
19243 PyThreadState* __tstate = wxPyBeginAllowThreads();
19244 (arg1)->SetItemCount(arg2);
19245
19246 wxPyEndAllowThreads(__tstate);
19247 if (PyErr_Occurred()) SWIG_fail;
19248 }
19249 Py_INCREF(Py_None); resultobj = Py_None;
19250 return resultobj;
19251 fail:
19252 return NULL;
19253 }
19254
19255
19256 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19257 PyObject *resultobj;
19258 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19259 int arg2 ;
19260 int arg3 ;
19261 bool result;
19262 PyObject * obj0 = 0 ;
19263 char *kwnames[] = {
19264 (char *) "self",(char *) "dx",(char *) "dy", NULL
19265 };
19266
19267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19269 {
19270 PyThreadState* __tstate = wxPyBeginAllowThreads();
19271 result = (bool)(arg1)->ScrollList(arg2,arg3);
19272
19273 wxPyEndAllowThreads(__tstate);
19274 if (PyErr_Occurred()) SWIG_fail;
19275 }
19276 resultobj = PyInt_FromLong((long)result);
19277 return resultobj;
19278 fail:
19279 return NULL;
19280 }
19281
19282
19283 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19284 PyObject *resultobj;
19285 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19286 long arg2 ;
19287 wxColour *arg3 = 0 ;
19288 wxColour temp3 ;
19289 PyObject * obj0 = 0 ;
19290 PyObject * obj2 = 0 ;
19291 char *kwnames[] = {
19292 (char *) "self",(char *) "item",(char *) "col", NULL
19293 };
19294
19295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19297 {
19298 arg3 = &temp3;
19299 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19300 }
19301 {
19302 PyThreadState* __tstate = wxPyBeginAllowThreads();
19303 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19304
19305 wxPyEndAllowThreads(__tstate);
19306 if (PyErr_Occurred()) SWIG_fail;
19307 }
19308 Py_INCREF(Py_None); resultobj = Py_None;
19309 return resultobj;
19310 fail:
19311 return NULL;
19312 }
19313
19314
19315 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19316 PyObject *resultobj;
19317 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19318 long arg2 ;
19319 wxColour result;
19320 PyObject * obj0 = 0 ;
19321 char *kwnames[] = {
19322 (char *) "self",(char *) "item", NULL
19323 };
19324
19325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19327 {
19328 PyThreadState* __tstate = wxPyBeginAllowThreads();
19329 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19330
19331 wxPyEndAllowThreads(__tstate);
19332 if (PyErr_Occurred()) SWIG_fail;
19333 }
19334 {
19335 wxColour * resultptr;
19336 resultptr = new wxColour((wxColour &) result);
19337 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19338 }
19339 return resultobj;
19340 fail:
19341 return NULL;
19342 }
19343
19344
19345 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19346 PyObject *resultobj;
19347 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19348 long arg2 ;
19349 wxColour *arg3 = 0 ;
19350 wxColour temp3 ;
19351 PyObject * obj0 = 0 ;
19352 PyObject * obj2 = 0 ;
19353 char *kwnames[] = {
19354 (char *) "self",(char *) "item",(char *) "col", NULL
19355 };
19356
19357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19359 {
19360 arg3 = &temp3;
19361 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19362 }
19363 {
19364 PyThreadState* __tstate = wxPyBeginAllowThreads();
19365 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19366
19367 wxPyEndAllowThreads(__tstate);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 }
19370 Py_INCREF(Py_None); resultobj = Py_None;
19371 return resultobj;
19372 fail:
19373 return NULL;
19374 }
19375
19376
19377 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19378 PyObject *resultobj;
19379 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19380 long arg2 ;
19381 wxColour result;
19382 PyObject * obj0 = 0 ;
19383 char *kwnames[] = {
19384 (char *) "self",(char *) "item", NULL
19385 };
19386
19387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19389 {
19390 PyThreadState* __tstate = wxPyBeginAllowThreads();
19391 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19392
19393 wxPyEndAllowThreads(__tstate);
19394 if (PyErr_Occurred()) SWIG_fail;
19395 }
19396 {
19397 wxColour * resultptr;
19398 resultptr = new wxColour((wxColour &) result);
19399 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19400 }
19401 return resultobj;
19402 fail:
19403 return NULL;
19404 }
19405
19406
19407 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19408 PyObject *resultobj;
19409 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19410 PyObject *arg2 = (PyObject *) 0 ;
19411 bool result;
19412 PyObject * obj0 = 0 ;
19413 PyObject * obj1 = 0 ;
19414 char *kwnames[] = {
19415 (char *) "self",(char *) "func", NULL
19416 };
19417
19418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19420 arg2 = obj1;
19421 {
19422 PyThreadState* __tstate = wxPyBeginAllowThreads();
19423 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19424
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
19428 resultobj = PyInt_FromLong((long)result);
19429 return resultobj;
19430 fail:
19431 return NULL;
19432 }
19433
19434
19435 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19436 PyObject *resultobj;
19437 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19438 wxWindow *result;
19439 PyObject * obj0 = 0 ;
19440 char *kwnames[] = {
19441 (char *) "self", NULL
19442 };
19443
19444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19446 {
19447 PyThreadState* __tstate = wxPyBeginAllowThreads();
19448 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19449
19450 wxPyEndAllowThreads(__tstate);
19451 if (PyErr_Occurred()) SWIG_fail;
19452 }
19453 {
19454 resultobj = wxPyMake_wxObject(result);
19455 }
19456 return resultobj;
19457 fail:
19458 return NULL;
19459 }
19460
19461
19462 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19463 PyObject *obj;
19464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19465 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19466 Py_INCREF(obj);
19467 return Py_BuildValue((char *)"");
19468 }
19469 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19470 PyObject *resultobj;
19471 wxWindow *arg1 = (wxWindow *) 0 ;
19472 int arg2 = (int) -1 ;
19473 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19474 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19475 wxSize const &arg4_defvalue = wxDefaultSize ;
19476 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19477 long arg5 = (long) wxLC_REPORT ;
19478 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19479 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19480 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19481 wxString *arg7 = (wxString *) &arg7_defvalue ;
19482 wxListView *result;
19483 wxPoint temp3 ;
19484 wxSize temp4 ;
19485 bool temp7 = False ;
19486 PyObject * obj0 = 0 ;
19487 PyObject * obj2 = 0 ;
19488 PyObject * obj3 = 0 ;
19489 PyObject * obj5 = 0 ;
19490 PyObject * obj6 = 0 ;
19491 char *kwnames[] = {
19492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19493 };
19494
19495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19497 if (obj2) {
19498 {
19499 arg3 = &temp3;
19500 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19501 }
19502 }
19503 if (obj3) {
19504 {
19505 arg4 = &temp4;
19506 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19507 }
19508 }
19509 if (obj5) {
19510 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19511 if (arg6 == NULL) {
19512 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19513 }
19514 }
19515 if (obj6) {
19516 {
19517 arg7 = wxString_in_helper(obj6);
19518 if (arg7 == NULL) SWIG_fail;
19519 temp7 = True;
19520 }
19521 }
19522 {
19523 PyThreadState* __tstate = wxPyBeginAllowThreads();
19524 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19525
19526 wxPyEndAllowThreads(__tstate);
19527 if (PyErr_Occurred()) SWIG_fail;
19528 }
19529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19530 {
19531 if (temp7)
19532 delete arg7;
19533 }
19534 return resultobj;
19535 fail:
19536 {
19537 if (temp7)
19538 delete arg7;
19539 }
19540 return NULL;
19541 }
19542
19543
19544 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19545 PyObject *resultobj;
19546 wxListView *result;
19547 char *kwnames[] = {
19548 NULL
19549 };
19550
19551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19552 {
19553 PyThreadState* __tstate = wxPyBeginAllowThreads();
19554 result = (wxListView *)new wxListView();
19555
19556 wxPyEndAllowThreads(__tstate);
19557 if (PyErr_Occurred()) SWIG_fail;
19558 }
19559 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19560 return resultobj;
19561 fail:
19562 return NULL;
19563 }
19564
19565
19566 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19567 PyObject *resultobj;
19568 wxListView *arg1 = (wxListView *) 0 ;
19569 wxWindow *arg2 = (wxWindow *) 0 ;
19570 int arg3 = (int) -1 ;
19571 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19572 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19573 wxSize const &arg5_defvalue = wxDefaultSize ;
19574 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19575 long arg6 = (long) wxLC_REPORT ;
19576 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19577 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19578 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19579 wxString *arg8 = (wxString *) &arg8_defvalue ;
19580 bool result;
19581 wxPoint temp4 ;
19582 wxSize temp5 ;
19583 bool temp8 = False ;
19584 PyObject * obj0 = 0 ;
19585 PyObject * obj1 = 0 ;
19586 PyObject * obj3 = 0 ;
19587 PyObject * obj4 = 0 ;
19588 PyObject * obj6 = 0 ;
19589 PyObject * obj7 = 0 ;
19590 char *kwnames[] = {
19591 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19592 };
19593
19594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19596 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19597 if (obj3) {
19598 {
19599 arg4 = &temp4;
19600 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19601 }
19602 }
19603 if (obj4) {
19604 {
19605 arg5 = &temp5;
19606 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19607 }
19608 }
19609 if (obj6) {
19610 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19611 if (arg7 == NULL) {
19612 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19613 }
19614 }
19615 if (obj7) {
19616 {
19617 arg8 = wxString_in_helper(obj7);
19618 if (arg8 == NULL) SWIG_fail;
19619 temp8 = True;
19620 }
19621 }
19622 {
19623 PyThreadState* __tstate = wxPyBeginAllowThreads();
19624 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19625
19626 wxPyEndAllowThreads(__tstate);
19627 if (PyErr_Occurred()) SWIG_fail;
19628 }
19629 resultobj = PyInt_FromLong((long)result);
19630 {
19631 if (temp8)
19632 delete arg8;
19633 }
19634 return resultobj;
19635 fail:
19636 {
19637 if (temp8)
19638 delete arg8;
19639 }
19640 return NULL;
19641 }
19642
19643
19644 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19645 PyObject *resultobj;
19646 wxListView *arg1 = (wxListView *) 0 ;
19647 long arg2 ;
19648 bool arg3 = (bool) True ;
19649 PyObject * obj0 = 0 ;
19650 PyObject * obj2 = 0 ;
19651 char *kwnames[] = {
19652 (char *) "self",(char *) "n",(char *) "on", NULL
19653 };
19654
19655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19657 if (obj2) {
19658 arg3 = PyInt_AsLong(obj2) ? true : false;
19659 if (PyErr_Occurred()) SWIG_fail;
19660 }
19661 {
19662 PyThreadState* __tstate = wxPyBeginAllowThreads();
19663 (arg1)->Select(arg2,arg3);
19664
19665 wxPyEndAllowThreads(__tstate);
19666 if (PyErr_Occurred()) SWIG_fail;
19667 }
19668 Py_INCREF(Py_None); resultobj = Py_None;
19669 return resultobj;
19670 fail:
19671 return NULL;
19672 }
19673
19674
19675 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19676 PyObject *resultobj;
19677 wxListView *arg1 = (wxListView *) 0 ;
19678 long arg2 ;
19679 PyObject * obj0 = 0 ;
19680 char *kwnames[] = {
19681 (char *) "self",(char *) "index", NULL
19682 };
19683
19684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19686 {
19687 PyThreadState* __tstate = wxPyBeginAllowThreads();
19688 (arg1)->Focus(arg2);
19689
19690 wxPyEndAllowThreads(__tstate);
19691 if (PyErr_Occurred()) SWIG_fail;
19692 }
19693 Py_INCREF(Py_None); resultobj = Py_None;
19694 return resultobj;
19695 fail:
19696 return NULL;
19697 }
19698
19699
19700 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19701 PyObject *resultobj;
19702 wxListView *arg1 = (wxListView *) 0 ;
19703 long result;
19704 PyObject * obj0 = 0 ;
19705 char *kwnames[] = {
19706 (char *) "self", NULL
19707 };
19708
19709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19711 {
19712 PyThreadState* __tstate = wxPyBeginAllowThreads();
19713 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19714
19715 wxPyEndAllowThreads(__tstate);
19716 if (PyErr_Occurred()) SWIG_fail;
19717 }
19718 resultobj = PyInt_FromLong((long)result);
19719 return resultobj;
19720 fail:
19721 return NULL;
19722 }
19723
19724
19725 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19726 PyObject *resultobj;
19727 wxListView *arg1 = (wxListView *) 0 ;
19728 long arg2 ;
19729 long result;
19730 PyObject * obj0 = 0 ;
19731 char *kwnames[] = {
19732 (char *) "self",(char *) "item", NULL
19733 };
19734
19735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19737 {
19738 PyThreadState* __tstate = wxPyBeginAllowThreads();
19739 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19740
19741 wxPyEndAllowThreads(__tstate);
19742 if (PyErr_Occurred()) SWIG_fail;
19743 }
19744 resultobj = PyInt_FromLong((long)result);
19745 return resultobj;
19746 fail:
19747 return NULL;
19748 }
19749
19750
19751 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19752 PyObject *resultobj;
19753 wxListView *arg1 = (wxListView *) 0 ;
19754 long result;
19755 PyObject * obj0 = 0 ;
19756 char *kwnames[] = {
19757 (char *) "self", NULL
19758 };
19759
19760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19762 {
19763 PyThreadState* __tstate = wxPyBeginAllowThreads();
19764 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19765
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 resultobj = PyInt_FromLong((long)result);
19770 return resultobj;
19771 fail:
19772 return NULL;
19773 }
19774
19775
19776 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19777 PyObject *resultobj;
19778 wxListView *arg1 = (wxListView *) 0 ;
19779 long arg2 ;
19780 bool result;
19781 PyObject * obj0 = 0 ;
19782 char *kwnames[] = {
19783 (char *) "self",(char *) "index", NULL
19784 };
19785
19786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19788 {
19789 PyThreadState* __tstate = wxPyBeginAllowThreads();
19790 result = (bool)(arg1)->IsSelected(arg2);
19791
19792 wxPyEndAllowThreads(__tstate);
19793 if (PyErr_Occurred()) SWIG_fail;
19794 }
19795 resultobj = PyInt_FromLong((long)result);
19796 return resultobj;
19797 fail:
19798 return NULL;
19799 }
19800
19801
19802 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19803 PyObject *resultobj;
19804 wxListView *arg1 = (wxListView *) 0 ;
19805 int arg2 ;
19806 int arg3 ;
19807 PyObject * obj0 = 0 ;
19808 char *kwnames[] = {
19809 (char *) "self",(char *) "col",(char *) "image", NULL
19810 };
19811
19812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19814 {
19815 PyThreadState* __tstate = wxPyBeginAllowThreads();
19816 (arg1)->SetColumnImage(arg2,arg3);
19817
19818 wxPyEndAllowThreads(__tstate);
19819 if (PyErr_Occurred()) SWIG_fail;
19820 }
19821 Py_INCREF(Py_None); resultobj = Py_None;
19822 return resultobj;
19823 fail:
19824 return NULL;
19825 }
19826
19827
19828 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19829 PyObject *resultobj;
19830 wxListView *arg1 = (wxListView *) 0 ;
19831 int arg2 ;
19832 PyObject * obj0 = 0 ;
19833 char *kwnames[] = {
19834 (char *) "self",(char *) "col", NULL
19835 };
19836
19837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19839 {
19840 PyThreadState* __tstate = wxPyBeginAllowThreads();
19841 (arg1)->ClearColumnImage(arg2);
19842
19843 wxPyEndAllowThreads(__tstate);
19844 if (PyErr_Occurred()) SWIG_fail;
19845 }
19846 Py_INCREF(Py_None); resultobj = Py_None;
19847 return resultobj;
19848 fail:
19849 return NULL;
19850 }
19851
19852
19853 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19854 PyObject *obj;
19855 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19856 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19857 Py_INCREF(obj);
19858 return Py_BuildValue((char *)"");
19859 }
19860 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19861 PyObject *resultobj;
19862 wxTreeItemId *result;
19863 char *kwnames[] = {
19864 NULL
19865 };
19866
19867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19868 {
19869 PyThreadState* __tstate = wxPyBeginAllowThreads();
19870 result = (wxTreeItemId *)new wxTreeItemId();
19871
19872 wxPyEndAllowThreads(__tstate);
19873 if (PyErr_Occurred()) SWIG_fail;
19874 }
19875 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19876 return resultobj;
19877 fail:
19878 return NULL;
19879 }
19880
19881
19882 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19883 PyObject *resultobj;
19884 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19885 PyObject * obj0 = 0 ;
19886 char *kwnames[] = {
19887 (char *) "self", NULL
19888 };
19889
19890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19892 {
19893 PyThreadState* __tstate = wxPyBeginAllowThreads();
19894 delete arg1;
19895
19896 wxPyEndAllowThreads(__tstate);
19897 if (PyErr_Occurred()) SWIG_fail;
19898 }
19899 Py_INCREF(Py_None); resultobj = Py_None;
19900 return resultobj;
19901 fail:
19902 return NULL;
19903 }
19904
19905
19906 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19907 PyObject *resultobj;
19908 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19909 bool result;
19910 PyObject * obj0 = 0 ;
19911 char *kwnames[] = {
19912 (char *) "self", NULL
19913 };
19914
19915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19917 {
19918 PyThreadState* __tstate = wxPyBeginAllowThreads();
19919 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19920
19921 wxPyEndAllowThreads(__tstate);
19922 if (PyErr_Occurred()) SWIG_fail;
19923 }
19924 resultobj = PyInt_FromLong((long)result);
19925 return resultobj;
19926 fail:
19927 return NULL;
19928 }
19929
19930
19931 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19932 PyObject *resultobj;
19933 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19934 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19935 bool result;
19936 PyObject * obj0 = 0 ;
19937 PyObject * obj1 = 0 ;
19938 char *kwnames[] = {
19939 (char *) "self",(char *) "other", NULL
19940 };
19941
19942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19945 {
19946 PyThreadState* __tstate = wxPyBeginAllowThreads();
19947 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19948
19949 wxPyEndAllowThreads(__tstate);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
19952 resultobj = PyInt_FromLong((long)result);
19953 return resultobj;
19954 fail:
19955 return NULL;
19956 }
19957
19958
19959 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19960 PyObject *resultobj;
19961 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19962 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19963 bool result;
19964 PyObject * obj0 = 0 ;
19965 PyObject * obj1 = 0 ;
19966 char *kwnames[] = {
19967 (char *) "self",(char *) "other", NULL
19968 };
19969
19970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19973 {
19974 PyThreadState* __tstate = wxPyBeginAllowThreads();
19975 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19976
19977 wxPyEndAllowThreads(__tstate);
19978 if (PyErr_Occurred()) SWIG_fail;
19979 }
19980 resultobj = PyInt_FromLong((long)result);
19981 return resultobj;
19982 fail:
19983 return NULL;
19984 }
19985
19986
19987 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19988 PyObject *resultobj;
19989 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19990 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19991 PyObject * obj0 = 0 ;
19992 PyObject * obj1 = 0 ;
19993 char *kwnames[] = {
19994 (char *) "self",(char *) "m_pItem", NULL
19995 };
19996
19997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19999 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20000 if (arg1) (arg1)->m_pItem = arg2;
20001
20002 Py_INCREF(Py_None); resultobj = Py_None;
20003 return resultobj;
20004 fail:
20005 return NULL;
20006 }
20007
20008
20009 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20010 PyObject *resultobj;
20011 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20012 wxTreeItemIdValue result;
20013 PyObject * obj0 = 0 ;
20014 char *kwnames[] = {
20015 (char *) "self", NULL
20016 };
20017
20018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20020 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
20021
20022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
20023 return resultobj;
20024 fail:
20025 return NULL;
20026 }
20027
20028
20029 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20030 PyObject *obj;
20031 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20032 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20033 Py_INCREF(obj);
20034 return Py_BuildValue((char *)"");
20035 }
20036 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20037 PyObject *resultobj;
20038 PyObject *arg1 = (PyObject *) NULL ;
20039 wxPyTreeItemData *result;
20040 PyObject * obj0 = 0 ;
20041 char *kwnames[] = {
20042 (char *) "obj", NULL
20043 };
20044
20045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20046 if (obj0) {
20047 arg1 = obj0;
20048 }
20049 {
20050 PyThreadState* __tstate = wxPyBeginAllowThreads();
20051 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20052
20053 wxPyEndAllowThreads(__tstate);
20054 if (PyErr_Occurred()) SWIG_fail;
20055 }
20056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20057 return resultobj;
20058 fail:
20059 return NULL;
20060 }
20061
20062
20063 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20064 PyObject *resultobj;
20065 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20066 PyObject *result;
20067 PyObject * obj0 = 0 ;
20068 char *kwnames[] = {
20069 (char *) "self", NULL
20070 };
20071
20072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20074 {
20075 PyThreadState* __tstate = wxPyBeginAllowThreads();
20076 result = (PyObject *)(arg1)->GetData();
20077
20078 wxPyEndAllowThreads(__tstate);
20079 if (PyErr_Occurred()) SWIG_fail;
20080 }
20081 resultobj = result;
20082 return resultobj;
20083 fail:
20084 return NULL;
20085 }
20086
20087
20088 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20089 PyObject *resultobj;
20090 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20091 PyObject *arg2 = (PyObject *) 0 ;
20092 PyObject * obj0 = 0 ;
20093 PyObject * obj1 = 0 ;
20094 char *kwnames[] = {
20095 (char *) "self",(char *) "obj", NULL
20096 };
20097
20098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20100 arg2 = obj1;
20101 {
20102 PyThreadState* __tstate = wxPyBeginAllowThreads();
20103 (arg1)->SetData(arg2);
20104
20105 wxPyEndAllowThreads(__tstate);
20106 if (PyErr_Occurred()) SWIG_fail;
20107 }
20108 Py_INCREF(Py_None); resultobj = Py_None;
20109 return resultobj;
20110 fail:
20111 return NULL;
20112 }
20113
20114
20115 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj;
20117 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20118 wxTreeItemId *result;
20119 PyObject * obj0 = 0 ;
20120 char *kwnames[] = {
20121 (char *) "self", NULL
20122 };
20123
20124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20126 {
20127 PyThreadState* __tstate = wxPyBeginAllowThreads();
20128 {
20129 wxTreeItemId const &_result_ref = (arg1)->GetId();
20130 result = (wxTreeItemId *) &_result_ref;
20131 }
20132
20133 wxPyEndAllowThreads(__tstate);
20134 if (PyErr_Occurred()) SWIG_fail;
20135 }
20136 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20137 return resultobj;
20138 fail:
20139 return NULL;
20140 }
20141
20142
20143 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20144 PyObject *resultobj;
20145 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20146 wxTreeItemId *arg2 = 0 ;
20147 PyObject * obj0 = 0 ;
20148 PyObject * obj1 = 0 ;
20149 char *kwnames[] = {
20150 (char *) "self",(char *) "id", NULL
20151 };
20152
20153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20155 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20156 if (arg2 == NULL) {
20157 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20158 }
20159 {
20160 PyThreadState* __tstate = wxPyBeginAllowThreads();
20161 (arg1)->SetId((wxTreeItemId const &)*arg2);
20162
20163 wxPyEndAllowThreads(__tstate);
20164 if (PyErr_Occurred()) SWIG_fail;
20165 }
20166 Py_INCREF(Py_None); resultobj = Py_None;
20167 return resultobj;
20168 fail:
20169 return NULL;
20170 }
20171
20172
20173 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20174 PyObject *resultobj;
20175 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20176 PyObject * obj0 = 0 ;
20177 char *kwnames[] = {
20178 (char *) "self", NULL
20179 };
20180
20181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20183 {
20184 PyThreadState* __tstate = wxPyBeginAllowThreads();
20185 wxPyTreeItemData_Destroy(arg1);
20186
20187 wxPyEndAllowThreads(__tstate);
20188 if (PyErr_Occurred()) SWIG_fail;
20189 }
20190 Py_INCREF(Py_None); resultobj = Py_None;
20191 return resultobj;
20192 fail:
20193 return NULL;
20194 }
20195
20196
20197 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20198 PyObject *obj;
20199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20200 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20201 Py_INCREF(obj);
20202 return Py_BuildValue((char *)"");
20203 }
20204 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20205 PyObject *resultobj;
20206 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20207 int arg2 = (int) 0 ;
20208 wxTreeEvent *result;
20209 char *kwnames[] = {
20210 (char *) "commandType",(char *) "id", NULL
20211 };
20212
20213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20214 {
20215 PyThreadState* __tstate = wxPyBeginAllowThreads();
20216 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20217
20218 wxPyEndAllowThreads(__tstate);
20219 if (PyErr_Occurred()) SWIG_fail;
20220 }
20221 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20222 return resultobj;
20223 fail:
20224 return NULL;
20225 }
20226
20227
20228 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20229 PyObject *resultobj;
20230 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20231 wxTreeItemId result;
20232 PyObject * obj0 = 0 ;
20233 char *kwnames[] = {
20234 (char *) "self", NULL
20235 };
20236
20237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20239 {
20240 PyThreadState* __tstate = wxPyBeginAllowThreads();
20241 result = ((wxTreeEvent const *)arg1)->GetItem();
20242
20243 wxPyEndAllowThreads(__tstate);
20244 if (PyErr_Occurred()) SWIG_fail;
20245 }
20246 {
20247 wxTreeItemId * resultptr;
20248 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20249 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20250 }
20251 return resultobj;
20252 fail:
20253 return NULL;
20254 }
20255
20256
20257 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20258 PyObject *resultobj;
20259 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20260 wxTreeItemId *arg2 = 0 ;
20261 PyObject * obj0 = 0 ;
20262 PyObject * obj1 = 0 ;
20263 char *kwnames[] = {
20264 (char *) "self",(char *) "item", NULL
20265 };
20266
20267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20269 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20270 if (arg2 == NULL) {
20271 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20272 }
20273 {
20274 PyThreadState* __tstate = wxPyBeginAllowThreads();
20275 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20276
20277 wxPyEndAllowThreads(__tstate);
20278 if (PyErr_Occurred()) SWIG_fail;
20279 }
20280 Py_INCREF(Py_None); resultobj = Py_None;
20281 return resultobj;
20282 fail:
20283 return NULL;
20284 }
20285
20286
20287 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20288 PyObject *resultobj;
20289 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20290 wxTreeItemId result;
20291 PyObject * obj0 = 0 ;
20292 char *kwnames[] = {
20293 (char *) "self", NULL
20294 };
20295
20296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20298 {
20299 PyThreadState* __tstate = wxPyBeginAllowThreads();
20300 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20301
20302 wxPyEndAllowThreads(__tstate);
20303 if (PyErr_Occurred()) SWIG_fail;
20304 }
20305 {
20306 wxTreeItemId * resultptr;
20307 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20308 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20309 }
20310 return resultobj;
20311 fail:
20312 return NULL;
20313 }
20314
20315
20316 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20317 PyObject *resultobj;
20318 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20319 wxTreeItemId *arg2 = 0 ;
20320 PyObject * obj0 = 0 ;
20321 PyObject * obj1 = 0 ;
20322 char *kwnames[] = {
20323 (char *) "self",(char *) "item", NULL
20324 };
20325
20326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20328 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20329 if (arg2 == NULL) {
20330 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20331 }
20332 {
20333 PyThreadState* __tstate = wxPyBeginAllowThreads();
20334 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20335
20336 wxPyEndAllowThreads(__tstate);
20337 if (PyErr_Occurred()) SWIG_fail;
20338 }
20339 Py_INCREF(Py_None); resultobj = Py_None;
20340 return resultobj;
20341 fail:
20342 return NULL;
20343 }
20344
20345
20346 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20347 PyObject *resultobj;
20348 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20349 wxPoint result;
20350 PyObject * obj0 = 0 ;
20351 char *kwnames[] = {
20352 (char *) "self", NULL
20353 };
20354
20355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20357 {
20358 PyThreadState* __tstate = wxPyBeginAllowThreads();
20359 result = ((wxTreeEvent const *)arg1)->GetPoint();
20360
20361 wxPyEndAllowThreads(__tstate);
20362 if (PyErr_Occurred()) SWIG_fail;
20363 }
20364 {
20365 wxPoint * resultptr;
20366 resultptr = new wxPoint((wxPoint &) result);
20367 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20368 }
20369 return resultobj;
20370 fail:
20371 return NULL;
20372 }
20373
20374
20375 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20376 PyObject *resultobj;
20377 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20378 wxPoint *arg2 = 0 ;
20379 wxPoint temp2 ;
20380 PyObject * obj0 = 0 ;
20381 PyObject * obj1 = 0 ;
20382 char *kwnames[] = {
20383 (char *) "self",(char *) "pt", NULL
20384 };
20385
20386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20388 {
20389 arg2 = &temp2;
20390 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20391 }
20392 {
20393 PyThreadState* __tstate = wxPyBeginAllowThreads();
20394 (arg1)->SetPoint((wxPoint const &)*arg2);
20395
20396 wxPyEndAllowThreads(__tstate);
20397 if (PyErr_Occurred()) SWIG_fail;
20398 }
20399 Py_INCREF(Py_None); resultobj = Py_None;
20400 return resultobj;
20401 fail:
20402 return NULL;
20403 }
20404
20405
20406 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20407 PyObject *resultobj;
20408 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20409 wxKeyEvent *result;
20410 PyObject * obj0 = 0 ;
20411 char *kwnames[] = {
20412 (char *) "self", NULL
20413 };
20414
20415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20417 {
20418 PyThreadState* __tstate = wxPyBeginAllowThreads();
20419 {
20420 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20421 result = (wxKeyEvent *) &_result_ref;
20422 }
20423
20424 wxPyEndAllowThreads(__tstate);
20425 if (PyErr_Occurred()) SWIG_fail;
20426 }
20427 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20428 return resultobj;
20429 fail:
20430 return NULL;
20431 }
20432
20433
20434 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20435 PyObject *resultobj;
20436 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20437 int result;
20438 PyObject * obj0 = 0 ;
20439 char *kwnames[] = {
20440 (char *) "self", NULL
20441 };
20442
20443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20445 {
20446 PyThreadState* __tstate = wxPyBeginAllowThreads();
20447 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20448
20449 wxPyEndAllowThreads(__tstate);
20450 if (PyErr_Occurred()) SWIG_fail;
20451 }
20452 resultobj = PyInt_FromLong((long)result);
20453 return resultobj;
20454 fail:
20455 return NULL;
20456 }
20457
20458
20459 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20460 PyObject *resultobj;
20461 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20462 wxKeyEvent *arg2 = 0 ;
20463 PyObject * obj0 = 0 ;
20464 PyObject * obj1 = 0 ;
20465 char *kwnames[] = {
20466 (char *) "self",(char *) "evt", NULL
20467 };
20468
20469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20472 if (arg2 == NULL) {
20473 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20474 }
20475 {
20476 PyThreadState* __tstate = wxPyBeginAllowThreads();
20477 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20478
20479 wxPyEndAllowThreads(__tstate);
20480 if (PyErr_Occurred()) SWIG_fail;
20481 }
20482 Py_INCREF(Py_None); resultobj = Py_None;
20483 return resultobj;
20484 fail:
20485 return NULL;
20486 }
20487
20488
20489 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20490 PyObject *resultobj;
20491 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20492 wxString *result;
20493 PyObject * obj0 = 0 ;
20494 char *kwnames[] = {
20495 (char *) "self", NULL
20496 };
20497
20498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20500 {
20501 PyThreadState* __tstate = wxPyBeginAllowThreads();
20502 {
20503 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20504 result = (wxString *) &_result_ref;
20505 }
20506
20507 wxPyEndAllowThreads(__tstate);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
20510 {
20511 #if wxUSE_UNICODE
20512 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20513 #else
20514 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20515 #endif
20516 }
20517 return resultobj;
20518 fail:
20519 return NULL;
20520 }
20521
20522
20523 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20524 PyObject *resultobj;
20525 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20526 wxString *arg2 = 0 ;
20527 bool temp2 = False ;
20528 PyObject * obj0 = 0 ;
20529 PyObject * obj1 = 0 ;
20530 char *kwnames[] = {
20531 (char *) "self",(char *) "label", NULL
20532 };
20533
20534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20536 {
20537 arg2 = wxString_in_helper(obj1);
20538 if (arg2 == NULL) SWIG_fail;
20539 temp2 = True;
20540 }
20541 {
20542 PyThreadState* __tstate = wxPyBeginAllowThreads();
20543 (arg1)->SetLabel((wxString const &)*arg2);
20544
20545 wxPyEndAllowThreads(__tstate);
20546 if (PyErr_Occurred()) SWIG_fail;
20547 }
20548 Py_INCREF(Py_None); resultobj = Py_None;
20549 {
20550 if (temp2)
20551 delete arg2;
20552 }
20553 return resultobj;
20554 fail:
20555 {
20556 if (temp2)
20557 delete arg2;
20558 }
20559 return NULL;
20560 }
20561
20562
20563 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20564 PyObject *resultobj;
20565 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20566 bool result;
20567 PyObject * obj0 = 0 ;
20568 char *kwnames[] = {
20569 (char *) "self", NULL
20570 };
20571
20572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20574 {
20575 PyThreadState* __tstate = wxPyBeginAllowThreads();
20576 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20577
20578 wxPyEndAllowThreads(__tstate);
20579 if (PyErr_Occurred()) SWIG_fail;
20580 }
20581 resultobj = PyInt_FromLong((long)result);
20582 return resultobj;
20583 fail:
20584 return NULL;
20585 }
20586
20587
20588 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20589 PyObject *resultobj;
20590 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20591 bool arg2 ;
20592 PyObject * obj0 = 0 ;
20593 PyObject * obj1 = 0 ;
20594 char *kwnames[] = {
20595 (char *) "self",(char *) "editCancelled", NULL
20596 };
20597
20598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20600 arg2 = PyInt_AsLong(obj1) ? true : false;
20601 if (PyErr_Occurred()) SWIG_fail;
20602 {
20603 PyThreadState* __tstate = wxPyBeginAllowThreads();
20604 (arg1)->SetEditCanceled(arg2);
20605
20606 wxPyEndAllowThreads(__tstate);
20607 if (PyErr_Occurred()) SWIG_fail;
20608 }
20609 Py_INCREF(Py_None); resultobj = Py_None;
20610 return resultobj;
20611 fail:
20612 return NULL;
20613 }
20614
20615
20616 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20617 PyObject *obj;
20618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20619 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20620 Py_INCREF(obj);
20621 return Py_BuildValue((char *)"");
20622 }
20623 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20624 PyObject *resultobj;
20625 wxWindow *arg1 = (wxWindow *) 0 ;
20626 int arg2 = (int) -1 ;
20627 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20628 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20629 wxSize const &arg4_defvalue = wxDefaultSize ;
20630 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20631 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20632 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20633 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20634 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20635 wxString *arg7 = (wxString *) &arg7_defvalue ;
20636 wxPyTreeCtrl *result;
20637 wxPoint temp3 ;
20638 wxSize temp4 ;
20639 bool temp7 = False ;
20640 PyObject * obj0 = 0 ;
20641 PyObject * obj2 = 0 ;
20642 PyObject * obj3 = 0 ;
20643 PyObject * obj5 = 0 ;
20644 PyObject * obj6 = 0 ;
20645 char *kwnames[] = {
20646 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20647 };
20648
20649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20651 if (obj2) {
20652 {
20653 arg3 = &temp3;
20654 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20655 }
20656 }
20657 if (obj3) {
20658 {
20659 arg4 = &temp4;
20660 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20661 }
20662 }
20663 if (obj5) {
20664 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20665 if (arg6 == NULL) {
20666 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20667 }
20668 }
20669 if (obj6) {
20670 {
20671 arg7 = wxString_in_helper(obj6);
20672 if (arg7 == NULL) SWIG_fail;
20673 temp7 = True;
20674 }
20675 }
20676 {
20677 PyThreadState* __tstate = wxPyBeginAllowThreads();
20678 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20679
20680 wxPyEndAllowThreads(__tstate);
20681 if (PyErr_Occurred()) SWIG_fail;
20682 }
20683 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20684 {
20685 if (temp7)
20686 delete arg7;
20687 }
20688 return resultobj;
20689 fail:
20690 {
20691 if (temp7)
20692 delete arg7;
20693 }
20694 return NULL;
20695 }
20696
20697
20698 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20699 PyObject *resultobj;
20700 wxPyTreeCtrl *result;
20701 char *kwnames[] = {
20702 NULL
20703 };
20704
20705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20706 {
20707 PyThreadState* __tstate = wxPyBeginAllowThreads();
20708 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20709
20710 wxPyEndAllowThreads(__tstate);
20711 if (PyErr_Occurred()) SWIG_fail;
20712 }
20713 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20714 return resultobj;
20715 fail:
20716 return NULL;
20717 }
20718
20719
20720 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20721 PyObject *resultobj;
20722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20723 wxWindow *arg2 = (wxWindow *) 0 ;
20724 int arg3 = (int) -1 ;
20725 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20726 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20727 wxSize const &arg5_defvalue = wxDefaultSize ;
20728 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20729 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20730 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20731 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20732 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20733 wxString *arg8 = (wxString *) &arg8_defvalue ;
20734 bool result;
20735 wxPoint temp4 ;
20736 wxSize temp5 ;
20737 bool temp8 = False ;
20738 PyObject * obj0 = 0 ;
20739 PyObject * obj1 = 0 ;
20740 PyObject * obj3 = 0 ;
20741 PyObject * obj4 = 0 ;
20742 PyObject * obj6 = 0 ;
20743 PyObject * obj7 = 0 ;
20744 char *kwnames[] = {
20745 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20746 };
20747
20748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20750 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20751 if (obj3) {
20752 {
20753 arg4 = &temp4;
20754 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20755 }
20756 }
20757 if (obj4) {
20758 {
20759 arg5 = &temp5;
20760 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20761 }
20762 }
20763 if (obj6) {
20764 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20765 if (arg7 == NULL) {
20766 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20767 }
20768 }
20769 if (obj7) {
20770 {
20771 arg8 = wxString_in_helper(obj7);
20772 if (arg8 == NULL) SWIG_fail;
20773 temp8 = True;
20774 }
20775 }
20776 {
20777 PyThreadState* __tstate = wxPyBeginAllowThreads();
20778 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20779
20780 wxPyEndAllowThreads(__tstate);
20781 if (PyErr_Occurred()) SWIG_fail;
20782 }
20783 resultobj = PyInt_FromLong((long)result);
20784 {
20785 if (temp8)
20786 delete arg8;
20787 }
20788 return resultobj;
20789 fail:
20790 {
20791 if (temp8)
20792 delete arg8;
20793 }
20794 return NULL;
20795 }
20796
20797
20798 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20799 PyObject *resultobj;
20800 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20801 PyObject *arg2 = (PyObject *) 0 ;
20802 PyObject *arg3 = (PyObject *) 0 ;
20803 PyObject * obj0 = 0 ;
20804 PyObject * obj1 = 0 ;
20805 PyObject * obj2 = 0 ;
20806 char *kwnames[] = {
20807 (char *) "self",(char *) "self",(char *) "_class", NULL
20808 };
20809
20810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20812 arg2 = obj1;
20813 arg3 = obj2;
20814 {
20815 PyThreadState* __tstate = wxPyBeginAllowThreads();
20816 (arg1)->_setCallbackInfo(arg2,arg3);
20817
20818 wxPyEndAllowThreads(__tstate);
20819 if (PyErr_Occurred()) SWIG_fail;
20820 }
20821 Py_INCREF(Py_None); resultobj = Py_None;
20822 return resultobj;
20823 fail:
20824 return NULL;
20825 }
20826
20827
20828 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20829 PyObject *resultobj;
20830 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20831 size_t result;
20832 PyObject * obj0 = 0 ;
20833 char *kwnames[] = {
20834 (char *) "self", NULL
20835 };
20836
20837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20839 {
20840 PyThreadState* __tstate = wxPyBeginAllowThreads();
20841 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20842
20843 wxPyEndAllowThreads(__tstate);
20844 if (PyErr_Occurred()) SWIG_fail;
20845 }
20846 resultobj = PyInt_FromLong((long)result);
20847 return resultobj;
20848 fail:
20849 return NULL;
20850 }
20851
20852
20853 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20854 PyObject *resultobj;
20855 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20856 unsigned int result;
20857 PyObject * obj0 = 0 ;
20858 char *kwnames[] = {
20859 (char *) "self", NULL
20860 };
20861
20862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20864 {
20865 PyThreadState* __tstate = wxPyBeginAllowThreads();
20866 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20867
20868 wxPyEndAllowThreads(__tstate);
20869 if (PyErr_Occurred()) SWIG_fail;
20870 }
20871 resultobj = PyInt_FromLong((long)result);
20872 return resultobj;
20873 fail:
20874 return NULL;
20875 }
20876
20877
20878 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20879 PyObject *resultobj;
20880 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20881 unsigned int arg2 ;
20882 PyObject * obj0 = 0 ;
20883 PyObject * obj1 = 0 ;
20884 char *kwnames[] = {
20885 (char *) "self",(char *) "indent", NULL
20886 };
20887
20888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20890 arg2 = (unsigned int) PyInt_AsLong(obj1);
20891 if (PyErr_Occurred()) SWIG_fail;
20892 {
20893 PyThreadState* __tstate = wxPyBeginAllowThreads();
20894 (arg1)->SetIndent(arg2);
20895
20896 wxPyEndAllowThreads(__tstate);
20897 if (PyErr_Occurred()) SWIG_fail;
20898 }
20899 Py_INCREF(Py_None); resultobj = Py_None;
20900 return resultobj;
20901 fail:
20902 return NULL;
20903 }
20904
20905
20906 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20907 PyObject *resultobj;
20908 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20909 unsigned int result;
20910 PyObject * obj0 = 0 ;
20911 char *kwnames[] = {
20912 (char *) "self", NULL
20913 };
20914
20915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20917 {
20918 PyThreadState* __tstate = wxPyBeginAllowThreads();
20919 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20920
20921 wxPyEndAllowThreads(__tstate);
20922 if (PyErr_Occurred()) SWIG_fail;
20923 }
20924 resultobj = PyInt_FromLong((long)result);
20925 return resultobj;
20926 fail:
20927 return NULL;
20928 }
20929
20930
20931 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20932 PyObject *resultobj;
20933 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20934 unsigned int arg2 ;
20935 PyObject * obj0 = 0 ;
20936 PyObject * obj1 = 0 ;
20937 char *kwnames[] = {
20938 (char *) "self",(char *) "spacing", NULL
20939 };
20940
20941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20943 arg2 = (unsigned int) PyInt_AsLong(obj1);
20944 if (PyErr_Occurred()) SWIG_fail;
20945 {
20946 PyThreadState* __tstate = wxPyBeginAllowThreads();
20947 (arg1)->SetSpacing(arg2);
20948
20949 wxPyEndAllowThreads(__tstate);
20950 if (PyErr_Occurred()) SWIG_fail;
20951 }
20952 Py_INCREF(Py_None); resultobj = Py_None;
20953 return resultobj;
20954 fail:
20955 return NULL;
20956 }
20957
20958
20959 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20960 PyObject *resultobj;
20961 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20962 wxImageList *result;
20963 PyObject * obj0 = 0 ;
20964 char *kwnames[] = {
20965 (char *) "self", NULL
20966 };
20967
20968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20970 {
20971 PyThreadState* __tstate = wxPyBeginAllowThreads();
20972 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20973
20974 wxPyEndAllowThreads(__tstate);
20975 if (PyErr_Occurred()) SWIG_fail;
20976 }
20977 {
20978 resultobj = wxPyMake_wxObject(result);
20979 }
20980 return resultobj;
20981 fail:
20982 return NULL;
20983 }
20984
20985
20986 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20987 PyObject *resultobj;
20988 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20989 wxImageList *result;
20990 PyObject * obj0 = 0 ;
20991 char *kwnames[] = {
20992 (char *) "self", NULL
20993 };
20994
20995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20997 {
20998 PyThreadState* __tstate = wxPyBeginAllowThreads();
20999 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
21000
21001 wxPyEndAllowThreads(__tstate);
21002 if (PyErr_Occurred()) SWIG_fail;
21003 }
21004 {
21005 resultobj = wxPyMake_wxObject(result);
21006 }
21007 return resultobj;
21008 fail:
21009 return NULL;
21010 }
21011
21012
21013 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21014 PyObject *resultobj;
21015 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21016 wxImageList *arg2 = (wxImageList *) 0 ;
21017 PyObject * obj0 = 0 ;
21018 PyObject * obj1 = 0 ;
21019 char *kwnames[] = {
21020 (char *) "self",(char *) "imageList", NULL
21021 };
21022
21023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21026 {
21027 PyThreadState* __tstate = wxPyBeginAllowThreads();
21028 (arg1)->SetImageList(arg2);
21029
21030 wxPyEndAllowThreads(__tstate);
21031 if (PyErr_Occurred()) SWIG_fail;
21032 }
21033 Py_INCREF(Py_None); resultobj = Py_None;
21034 return resultobj;
21035 fail:
21036 return NULL;
21037 }
21038
21039
21040 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21041 PyObject *resultobj;
21042 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21043 wxImageList *arg2 = (wxImageList *) 0 ;
21044 PyObject * obj0 = 0 ;
21045 PyObject * obj1 = 0 ;
21046 char *kwnames[] = {
21047 (char *) "self",(char *) "imageList", NULL
21048 };
21049
21050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21052 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21053 {
21054 PyThreadState* __tstate = wxPyBeginAllowThreads();
21055 (arg1)->SetStateImageList(arg2);
21056
21057 wxPyEndAllowThreads(__tstate);
21058 if (PyErr_Occurred()) SWIG_fail;
21059 }
21060 Py_INCREF(Py_None); resultobj = Py_None;
21061 return resultobj;
21062 fail:
21063 return NULL;
21064 }
21065
21066
21067 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21068 PyObject *resultobj;
21069 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21070 wxImageList *arg2 = (wxImageList *) 0 ;
21071 PyObject * obj0 = 0 ;
21072 PyObject * obj1 = 0 ;
21073 char *kwnames[] = {
21074 (char *) "self",(char *) "imageList", NULL
21075 };
21076
21077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21079 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21080 {
21081 PyThreadState* __tstate = wxPyBeginAllowThreads();
21082 (arg1)->AssignImageList(arg2);
21083
21084 wxPyEndAllowThreads(__tstate);
21085 if (PyErr_Occurred()) SWIG_fail;
21086 }
21087 Py_INCREF(Py_None); resultobj = Py_None;
21088 return resultobj;
21089 fail:
21090 return NULL;
21091 }
21092
21093
21094 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21095 PyObject *resultobj;
21096 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21097 wxImageList *arg2 = (wxImageList *) 0 ;
21098 PyObject * obj0 = 0 ;
21099 PyObject * obj1 = 0 ;
21100 char *kwnames[] = {
21101 (char *) "self",(char *) "imageList", NULL
21102 };
21103
21104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21106 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21107 {
21108 PyThreadState* __tstate = wxPyBeginAllowThreads();
21109 (arg1)->AssignStateImageList(arg2);
21110
21111 wxPyEndAllowThreads(__tstate);
21112 if (PyErr_Occurred()) SWIG_fail;
21113 }
21114 Py_INCREF(Py_None); resultobj = Py_None;
21115 return resultobj;
21116 fail:
21117 return NULL;
21118 }
21119
21120
21121 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21122 PyObject *resultobj;
21123 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21124 wxTreeItemId *arg2 = 0 ;
21125 wxString result;
21126 PyObject * obj0 = 0 ;
21127 PyObject * obj1 = 0 ;
21128 char *kwnames[] = {
21129 (char *) "self",(char *) "item", NULL
21130 };
21131
21132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21134 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21135 if (arg2 == NULL) {
21136 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21137 }
21138 {
21139 PyThreadState* __tstate = wxPyBeginAllowThreads();
21140 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21141
21142 wxPyEndAllowThreads(__tstate);
21143 if (PyErr_Occurred()) SWIG_fail;
21144 }
21145 {
21146 #if wxUSE_UNICODE
21147 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21148 #else
21149 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21150 #endif
21151 }
21152 return resultobj;
21153 fail:
21154 return NULL;
21155 }
21156
21157
21158 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21159 PyObject *resultobj;
21160 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21161 wxTreeItemId *arg2 = 0 ;
21162 int arg3 = (int) wxTreeItemIcon_Normal ;
21163 int result;
21164 PyObject * obj0 = 0 ;
21165 PyObject * obj1 = 0 ;
21166 char *kwnames[] = {
21167 (char *) "self",(char *) "item",(char *) "which", NULL
21168 };
21169
21170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21172 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21173 if (arg2 == NULL) {
21174 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21175 }
21176 {
21177 PyThreadState* __tstate = wxPyBeginAllowThreads();
21178 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21179
21180 wxPyEndAllowThreads(__tstate);
21181 if (PyErr_Occurred()) SWIG_fail;
21182 }
21183 resultobj = PyInt_FromLong((long)result);
21184 return resultobj;
21185 fail:
21186 return NULL;
21187 }
21188
21189
21190 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21191 PyObject *resultobj;
21192 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21193 wxTreeItemId *arg2 = 0 ;
21194 wxPyTreeItemData *result;
21195 PyObject * obj0 = 0 ;
21196 PyObject * obj1 = 0 ;
21197 char *kwnames[] = {
21198 (char *) "self",(char *) "item", NULL
21199 };
21200
21201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21203 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21204 if (arg2 == NULL) {
21205 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21206 }
21207 {
21208 PyThreadState* __tstate = wxPyBeginAllowThreads();
21209 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21210
21211 wxPyEndAllowThreads(__tstate);
21212 if (PyErr_Occurred()) SWIG_fail;
21213 }
21214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21215 return resultobj;
21216 fail:
21217 return NULL;
21218 }
21219
21220
21221 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21222 PyObject *resultobj;
21223 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21224 wxTreeItemId *arg2 = 0 ;
21225 PyObject *result;
21226 PyObject * obj0 = 0 ;
21227 PyObject * obj1 = 0 ;
21228 char *kwnames[] = {
21229 (char *) "self",(char *) "item", NULL
21230 };
21231
21232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21234 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21235 if (arg2 == NULL) {
21236 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21237 }
21238 {
21239 PyThreadState* __tstate = wxPyBeginAllowThreads();
21240 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21241
21242 wxPyEndAllowThreads(__tstate);
21243 if (PyErr_Occurred()) SWIG_fail;
21244 }
21245 resultobj = result;
21246 return resultobj;
21247 fail:
21248 return NULL;
21249 }
21250
21251
21252 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21253 PyObject *resultobj;
21254 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21255 wxTreeItemId *arg2 = 0 ;
21256 wxColour result;
21257 PyObject * obj0 = 0 ;
21258 PyObject * obj1 = 0 ;
21259 char *kwnames[] = {
21260 (char *) "self",(char *) "item", NULL
21261 };
21262
21263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21265 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21266 if (arg2 == NULL) {
21267 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21268 }
21269 {
21270 PyThreadState* __tstate = wxPyBeginAllowThreads();
21271 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21272
21273 wxPyEndAllowThreads(__tstate);
21274 if (PyErr_Occurred()) SWIG_fail;
21275 }
21276 {
21277 wxColour * resultptr;
21278 resultptr = new wxColour((wxColour &) result);
21279 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21280 }
21281 return resultobj;
21282 fail:
21283 return NULL;
21284 }
21285
21286
21287 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21288 PyObject *resultobj;
21289 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21290 wxTreeItemId *arg2 = 0 ;
21291 wxColour result;
21292 PyObject * obj0 = 0 ;
21293 PyObject * obj1 = 0 ;
21294 char *kwnames[] = {
21295 (char *) "self",(char *) "item", NULL
21296 };
21297
21298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21301 if (arg2 == NULL) {
21302 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21303 }
21304 {
21305 PyThreadState* __tstate = wxPyBeginAllowThreads();
21306 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21307
21308 wxPyEndAllowThreads(__tstate);
21309 if (PyErr_Occurred()) SWIG_fail;
21310 }
21311 {
21312 wxColour * resultptr;
21313 resultptr = new wxColour((wxColour &) result);
21314 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21315 }
21316 return resultobj;
21317 fail:
21318 return NULL;
21319 }
21320
21321
21322 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21323 PyObject *resultobj;
21324 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21325 wxTreeItemId *arg2 = 0 ;
21326 wxFont result;
21327 PyObject * obj0 = 0 ;
21328 PyObject * obj1 = 0 ;
21329 char *kwnames[] = {
21330 (char *) "self",(char *) "item", NULL
21331 };
21332
21333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21336 if (arg2 == NULL) {
21337 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21338 }
21339 {
21340 PyThreadState* __tstate = wxPyBeginAllowThreads();
21341 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21342
21343 wxPyEndAllowThreads(__tstate);
21344 if (PyErr_Occurred()) SWIG_fail;
21345 }
21346 {
21347 wxFont * resultptr;
21348 resultptr = new wxFont((wxFont &) result);
21349 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21350 }
21351 return resultobj;
21352 fail:
21353 return NULL;
21354 }
21355
21356
21357 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21358 PyObject *resultobj;
21359 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21360 wxTreeItemId *arg2 = 0 ;
21361 wxString *arg3 = 0 ;
21362 bool temp3 = False ;
21363 PyObject * obj0 = 0 ;
21364 PyObject * obj1 = 0 ;
21365 PyObject * obj2 = 0 ;
21366 char *kwnames[] = {
21367 (char *) "self",(char *) "item",(char *) "text", NULL
21368 };
21369
21370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21372 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21373 if (arg2 == NULL) {
21374 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21375 }
21376 {
21377 arg3 = wxString_in_helper(obj2);
21378 if (arg3 == NULL) SWIG_fail;
21379 temp3 = True;
21380 }
21381 {
21382 PyThreadState* __tstate = wxPyBeginAllowThreads();
21383 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21384
21385 wxPyEndAllowThreads(__tstate);
21386 if (PyErr_Occurred()) SWIG_fail;
21387 }
21388 Py_INCREF(Py_None); resultobj = Py_None;
21389 {
21390 if (temp3)
21391 delete arg3;
21392 }
21393 return resultobj;
21394 fail:
21395 {
21396 if (temp3)
21397 delete arg3;
21398 }
21399 return NULL;
21400 }
21401
21402
21403 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21404 PyObject *resultobj;
21405 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21406 wxTreeItemId *arg2 = 0 ;
21407 int arg3 ;
21408 int arg4 = (int) wxTreeItemIcon_Normal ;
21409 PyObject * obj0 = 0 ;
21410 PyObject * obj1 = 0 ;
21411 char *kwnames[] = {
21412 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21413 };
21414
21415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21417 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21418 if (arg2 == NULL) {
21419 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21420 }
21421 {
21422 PyThreadState* __tstate = wxPyBeginAllowThreads();
21423 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21424
21425 wxPyEndAllowThreads(__tstate);
21426 if (PyErr_Occurred()) SWIG_fail;
21427 }
21428 Py_INCREF(Py_None); resultobj = Py_None;
21429 return resultobj;
21430 fail:
21431 return NULL;
21432 }
21433
21434
21435 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21436 PyObject *resultobj;
21437 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21438 wxTreeItemId *arg2 = 0 ;
21439 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21440 PyObject * obj0 = 0 ;
21441 PyObject * obj1 = 0 ;
21442 PyObject * obj2 = 0 ;
21443 char *kwnames[] = {
21444 (char *) "self",(char *) "item",(char *) "data", NULL
21445 };
21446
21447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21450 if (arg2 == NULL) {
21451 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21452 }
21453 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
21456 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21457
21458 wxPyEndAllowThreads(__tstate);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 Py_INCREF(Py_None); resultobj = Py_None;
21462 return resultobj;
21463 fail:
21464 return NULL;
21465 }
21466
21467
21468 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21469 PyObject *resultobj;
21470 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21471 wxTreeItemId *arg2 = 0 ;
21472 PyObject *arg3 = (PyObject *) 0 ;
21473 PyObject * obj0 = 0 ;
21474 PyObject * obj1 = 0 ;
21475 PyObject * obj2 = 0 ;
21476 char *kwnames[] = {
21477 (char *) "self",(char *) "item",(char *) "obj", NULL
21478 };
21479
21480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21483 if (arg2 == NULL) {
21484 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21485 }
21486 arg3 = obj2;
21487 {
21488 PyThreadState* __tstate = wxPyBeginAllowThreads();
21489 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21490
21491 wxPyEndAllowThreads(__tstate);
21492 if (PyErr_Occurred()) SWIG_fail;
21493 }
21494 Py_INCREF(Py_None); resultobj = Py_None;
21495 return resultobj;
21496 fail:
21497 return NULL;
21498 }
21499
21500
21501 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21502 PyObject *resultobj;
21503 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21504 wxTreeItemId *arg2 = 0 ;
21505 bool arg3 = (bool) True ;
21506 PyObject * obj0 = 0 ;
21507 PyObject * obj1 = 0 ;
21508 PyObject * obj2 = 0 ;
21509 char *kwnames[] = {
21510 (char *) "self",(char *) "item",(char *) "has", NULL
21511 };
21512
21513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21515 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21516 if (arg2 == NULL) {
21517 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21518 }
21519 if (obj2) {
21520 arg3 = PyInt_AsLong(obj2) ? true : false;
21521 if (PyErr_Occurred()) SWIG_fail;
21522 }
21523 {
21524 PyThreadState* __tstate = wxPyBeginAllowThreads();
21525 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21526
21527 wxPyEndAllowThreads(__tstate);
21528 if (PyErr_Occurred()) SWIG_fail;
21529 }
21530 Py_INCREF(Py_None); resultobj = Py_None;
21531 return resultobj;
21532 fail:
21533 return NULL;
21534 }
21535
21536
21537 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21538 PyObject *resultobj;
21539 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21540 wxTreeItemId *arg2 = 0 ;
21541 bool arg3 = (bool) True ;
21542 PyObject * obj0 = 0 ;
21543 PyObject * obj1 = 0 ;
21544 PyObject * obj2 = 0 ;
21545 char *kwnames[] = {
21546 (char *) "self",(char *) "item",(char *) "bold", NULL
21547 };
21548
21549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21551 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21552 if (arg2 == NULL) {
21553 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21554 }
21555 if (obj2) {
21556 arg3 = PyInt_AsLong(obj2) ? true : false;
21557 if (PyErr_Occurred()) SWIG_fail;
21558 }
21559 {
21560 PyThreadState* __tstate = wxPyBeginAllowThreads();
21561 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21562
21563 wxPyEndAllowThreads(__tstate);
21564 if (PyErr_Occurred()) SWIG_fail;
21565 }
21566 Py_INCREF(Py_None); resultobj = Py_None;
21567 return resultobj;
21568 fail:
21569 return NULL;
21570 }
21571
21572
21573 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21574 PyObject *resultobj;
21575 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21576 wxTreeItemId *arg2 = 0 ;
21577 bool arg3 = (bool) True ;
21578 PyObject * obj0 = 0 ;
21579 PyObject * obj1 = 0 ;
21580 PyObject * obj2 = 0 ;
21581 char *kwnames[] = {
21582 (char *) "self",(char *) "item",(char *) "highlight", NULL
21583 };
21584
21585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
21586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21587 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21588 if (arg2 == NULL) {
21589 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21590 }
21591 if (obj2) {
21592 arg3 = PyInt_AsLong(obj2) ? true : false;
21593 if (PyErr_Occurred()) SWIG_fail;
21594 }
21595 {
21596 PyThreadState* __tstate = wxPyBeginAllowThreads();
21597 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
21598
21599 wxPyEndAllowThreads(__tstate);
21600 if (PyErr_Occurred()) SWIG_fail;
21601 }
21602 Py_INCREF(Py_None); resultobj = Py_None;
21603 return resultobj;
21604 fail:
21605 return NULL;
21606 }
21607
21608
21609 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21610 PyObject *resultobj;
21611 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21612 wxTreeItemId *arg2 = 0 ;
21613 wxColour *arg3 = 0 ;
21614 wxColour temp3 ;
21615 PyObject * obj0 = 0 ;
21616 PyObject * obj1 = 0 ;
21617 PyObject * obj2 = 0 ;
21618 char *kwnames[] = {
21619 (char *) "self",(char *) "item",(char *) "col", NULL
21620 };
21621
21622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21624 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21625 if (arg2 == NULL) {
21626 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21627 }
21628 {
21629 arg3 = &temp3;
21630 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21631 }
21632 {
21633 PyThreadState* __tstate = wxPyBeginAllowThreads();
21634 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21635
21636 wxPyEndAllowThreads(__tstate);
21637 if (PyErr_Occurred()) SWIG_fail;
21638 }
21639 Py_INCREF(Py_None); resultobj = Py_None;
21640 return resultobj;
21641 fail:
21642 return NULL;
21643 }
21644
21645
21646 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21647 PyObject *resultobj;
21648 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21649 wxTreeItemId *arg2 = 0 ;
21650 wxColour *arg3 = 0 ;
21651 wxColour temp3 ;
21652 PyObject * obj0 = 0 ;
21653 PyObject * obj1 = 0 ;
21654 PyObject * obj2 = 0 ;
21655 char *kwnames[] = {
21656 (char *) "self",(char *) "item",(char *) "col", NULL
21657 };
21658
21659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21661 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21662 if (arg2 == NULL) {
21663 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21664 }
21665 {
21666 arg3 = &temp3;
21667 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21668 }
21669 {
21670 PyThreadState* __tstate = wxPyBeginAllowThreads();
21671 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21672
21673 wxPyEndAllowThreads(__tstate);
21674 if (PyErr_Occurred()) SWIG_fail;
21675 }
21676 Py_INCREF(Py_None); resultobj = Py_None;
21677 return resultobj;
21678 fail:
21679 return NULL;
21680 }
21681
21682
21683 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21684 PyObject *resultobj;
21685 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21686 wxTreeItemId *arg2 = 0 ;
21687 wxFont *arg3 = 0 ;
21688 PyObject * obj0 = 0 ;
21689 PyObject * obj1 = 0 ;
21690 PyObject * obj2 = 0 ;
21691 char *kwnames[] = {
21692 (char *) "self",(char *) "item",(char *) "font", NULL
21693 };
21694
21695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21697 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21698 if (arg2 == NULL) {
21699 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21700 }
21701 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21702 if (arg3 == NULL) {
21703 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21704 }
21705 {
21706 PyThreadState* __tstate = wxPyBeginAllowThreads();
21707 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21708
21709 wxPyEndAllowThreads(__tstate);
21710 if (PyErr_Occurred()) SWIG_fail;
21711 }
21712 Py_INCREF(Py_None); resultobj = Py_None;
21713 return resultobj;
21714 fail:
21715 return NULL;
21716 }
21717
21718
21719 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21720 PyObject *resultobj;
21721 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21722 wxTreeItemId *arg2 = 0 ;
21723 bool result;
21724 PyObject * obj0 = 0 ;
21725 PyObject * obj1 = 0 ;
21726 char *kwnames[] = {
21727 (char *) "self",(char *) "item", NULL
21728 };
21729
21730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21732 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21733 if (arg2 == NULL) {
21734 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21735 }
21736 {
21737 PyThreadState* __tstate = wxPyBeginAllowThreads();
21738 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21739
21740 wxPyEndAllowThreads(__tstate);
21741 if (PyErr_Occurred()) SWIG_fail;
21742 }
21743 resultobj = PyInt_FromLong((long)result);
21744 return resultobj;
21745 fail:
21746 return NULL;
21747 }
21748
21749
21750 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21751 PyObject *resultobj;
21752 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21753 wxTreeItemId *arg2 = 0 ;
21754 bool result;
21755 PyObject * obj0 = 0 ;
21756 PyObject * obj1 = 0 ;
21757 char *kwnames[] = {
21758 (char *) "self",(char *) "item", NULL
21759 };
21760
21761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21763 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21764 if (arg2 == NULL) {
21765 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21766 }
21767 {
21768 PyThreadState* __tstate = wxPyBeginAllowThreads();
21769 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21770
21771 wxPyEndAllowThreads(__tstate);
21772 if (PyErr_Occurred()) SWIG_fail;
21773 }
21774 resultobj = PyInt_FromLong((long)result);
21775 return resultobj;
21776 fail:
21777 return NULL;
21778 }
21779
21780
21781 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21782 PyObject *resultobj;
21783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21784 wxTreeItemId *arg2 = 0 ;
21785 bool result;
21786 PyObject * obj0 = 0 ;
21787 PyObject * obj1 = 0 ;
21788 char *kwnames[] = {
21789 (char *) "self",(char *) "item", NULL
21790 };
21791
21792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21794 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21795 if (arg2 == NULL) {
21796 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21797 }
21798 {
21799 PyThreadState* __tstate = wxPyBeginAllowThreads();
21800 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21801
21802 wxPyEndAllowThreads(__tstate);
21803 if (PyErr_Occurred()) SWIG_fail;
21804 }
21805 resultobj = PyInt_FromLong((long)result);
21806 return resultobj;
21807 fail:
21808 return NULL;
21809 }
21810
21811
21812 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21813 PyObject *resultobj;
21814 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21815 wxTreeItemId *arg2 = 0 ;
21816 bool result;
21817 PyObject * obj0 = 0 ;
21818 PyObject * obj1 = 0 ;
21819 char *kwnames[] = {
21820 (char *) "self",(char *) "item", NULL
21821 };
21822
21823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21825 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21826 if (arg2 == NULL) {
21827 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21828 }
21829 {
21830 PyThreadState* __tstate = wxPyBeginAllowThreads();
21831 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21832
21833 wxPyEndAllowThreads(__tstate);
21834 if (PyErr_Occurred()) SWIG_fail;
21835 }
21836 resultobj = PyInt_FromLong((long)result);
21837 return resultobj;
21838 fail:
21839 return NULL;
21840 }
21841
21842
21843 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21844 PyObject *resultobj;
21845 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21846 wxTreeItemId *arg2 = 0 ;
21847 bool result;
21848 PyObject * obj0 = 0 ;
21849 PyObject * obj1 = 0 ;
21850 char *kwnames[] = {
21851 (char *) "self",(char *) "item", NULL
21852 };
21853
21854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21856 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21857 if (arg2 == NULL) {
21858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21859 }
21860 {
21861 PyThreadState* __tstate = wxPyBeginAllowThreads();
21862 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21863
21864 wxPyEndAllowThreads(__tstate);
21865 if (PyErr_Occurred()) SWIG_fail;
21866 }
21867 resultobj = PyInt_FromLong((long)result);
21868 return resultobj;
21869 fail:
21870 return NULL;
21871 }
21872
21873
21874 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21875 PyObject *resultobj;
21876 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21877 wxTreeItemId *arg2 = 0 ;
21878 bool arg3 = (bool) True ;
21879 size_t result;
21880 PyObject * obj0 = 0 ;
21881 PyObject * obj1 = 0 ;
21882 PyObject * obj2 = 0 ;
21883 char *kwnames[] = {
21884 (char *) "self",(char *) "item",(char *) "recursively", NULL
21885 };
21886
21887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21889 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21890 if (arg2 == NULL) {
21891 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21892 }
21893 if (obj2) {
21894 arg3 = PyInt_AsLong(obj2) ? true : false;
21895 if (PyErr_Occurred()) SWIG_fail;
21896 }
21897 {
21898 PyThreadState* __tstate = wxPyBeginAllowThreads();
21899 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21900
21901 wxPyEndAllowThreads(__tstate);
21902 if (PyErr_Occurred()) SWIG_fail;
21903 }
21904 resultobj = PyInt_FromLong((long)result);
21905 return resultobj;
21906 fail:
21907 return NULL;
21908 }
21909
21910
21911 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21912 PyObject *resultobj;
21913 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21914 wxTreeItemId result;
21915 PyObject * obj0 = 0 ;
21916 char *kwnames[] = {
21917 (char *) "self", NULL
21918 };
21919
21920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21922 {
21923 PyThreadState* __tstate = wxPyBeginAllowThreads();
21924 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21925
21926 wxPyEndAllowThreads(__tstate);
21927 if (PyErr_Occurred()) SWIG_fail;
21928 }
21929 {
21930 wxTreeItemId * resultptr;
21931 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21932 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21933 }
21934 return resultobj;
21935 fail:
21936 return NULL;
21937 }
21938
21939
21940 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21941 PyObject *resultobj;
21942 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21943 wxTreeItemId result;
21944 PyObject * obj0 = 0 ;
21945 char *kwnames[] = {
21946 (char *) "self", NULL
21947 };
21948
21949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21951 {
21952 PyThreadState* __tstate = wxPyBeginAllowThreads();
21953 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21954
21955 wxPyEndAllowThreads(__tstate);
21956 if (PyErr_Occurred()) SWIG_fail;
21957 }
21958 {
21959 wxTreeItemId * resultptr;
21960 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21961 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21962 }
21963 return resultobj;
21964 fail:
21965 return NULL;
21966 }
21967
21968
21969 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21970 PyObject *resultobj;
21971 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21972 PyObject *result;
21973 PyObject * obj0 = 0 ;
21974 char *kwnames[] = {
21975 (char *) "self", NULL
21976 };
21977
21978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21980 {
21981 PyThreadState* __tstate = wxPyBeginAllowThreads();
21982 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21983
21984 wxPyEndAllowThreads(__tstate);
21985 if (PyErr_Occurred()) SWIG_fail;
21986 }
21987 resultobj = result;
21988 return resultobj;
21989 fail:
21990 return NULL;
21991 }
21992
21993
21994 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21995 PyObject *resultobj;
21996 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21997 wxTreeItemId *arg2 = 0 ;
21998 wxTreeItemId result;
21999 PyObject * obj0 = 0 ;
22000 PyObject * obj1 = 0 ;
22001 char *kwnames[] = {
22002 (char *) "self",(char *) "item", NULL
22003 };
22004
22005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
22006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22007 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22008 if (arg2 == NULL) {
22009 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22010 }
22011 {
22012 PyThreadState* __tstate = wxPyBeginAllowThreads();
22013 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
22014
22015 wxPyEndAllowThreads(__tstate);
22016 if (PyErr_Occurred()) SWIG_fail;
22017 }
22018 {
22019 wxTreeItemId * resultptr;
22020 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22021 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22022 }
22023 return resultobj;
22024 fail:
22025 return NULL;
22026 }
22027
22028
22029 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22030 PyObject *resultobj;
22031 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22032 wxTreeItemId *arg2 = 0 ;
22033 PyObject *result;
22034 PyObject * obj0 = 0 ;
22035 PyObject * obj1 = 0 ;
22036 char *kwnames[] = {
22037 (char *) "self",(char *) "item", NULL
22038 };
22039
22040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22043 if (arg2 == NULL) {
22044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22045 }
22046 {
22047 PyThreadState* __tstate = wxPyBeginAllowThreads();
22048 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22049
22050 wxPyEndAllowThreads(__tstate);
22051 if (PyErr_Occurred()) SWIG_fail;
22052 }
22053 resultobj = result;
22054 return resultobj;
22055 fail:
22056 return NULL;
22057 }
22058
22059
22060 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22061 PyObject *resultobj;
22062 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22063 wxTreeItemId *arg2 = 0 ;
22064 wxTreeItemIdValue *arg3 = 0 ;
22065 PyObject *result;
22066 PyObject * obj0 = 0 ;
22067 PyObject * obj1 = 0 ;
22068 PyObject * obj2 = 0 ;
22069 char *kwnames[] = {
22070 (char *) "self",(char *) "item",(char *) "cookie", NULL
22071 };
22072
22073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22075 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22076 if (arg2 == NULL) {
22077 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22078 }
22079 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22080 if (arg3 == NULL) {
22081 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22082 }
22083 {
22084 PyThreadState* __tstate = wxPyBeginAllowThreads();
22085 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22086
22087 wxPyEndAllowThreads(__tstate);
22088 if (PyErr_Occurred()) SWIG_fail;
22089 }
22090 resultobj = result;
22091 return resultobj;
22092 fail:
22093 return NULL;
22094 }
22095
22096
22097 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22098 PyObject *resultobj;
22099 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22100 wxTreeItemId *arg2 = 0 ;
22101 wxTreeItemId result;
22102 PyObject * obj0 = 0 ;
22103 PyObject * obj1 = 0 ;
22104 char *kwnames[] = {
22105 (char *) "self",(char *) "item", NULL
22106 };
22107
22108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22111 if (arg2 == NULL) {
22112 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22113 }
22114 {
22115 PyThreadState* __tstate = wxPyBeginAllowThreads();
22116 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22117
22118 wxPyEndAllowThreads(__tstate);
22119 if (PyErr_Occurred()) SWIG_fail;
22120 }
22121 {
22122 wxTreeItemId * resultptr;
22123 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22124 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22125 }
22126 return resultobj;
22127 fail:
22128 return NULL;
22129 }
22130
22131
22132 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22133 PyObject *resultobj;
22134 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22135 wxTreeItemId *arg2 = 0 ;
22136 wxTreeItemId result;
22137 PyObject * obj0 = 0 ;
22138 PyObject * obj1 = 0 ;
22139 char *kwnames[] = {
22140 (char *) "self",(char *) "item", NULL
22141 };
22142
22143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22145 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22146 if (arg2 == NULL) {
22147 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22148 }
22149 {
22150 PyThreadState* __tstate = wxPyBeginAllowThreads();
22151 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22152
22153 wxPyEndAllowThreads(__tstate);
22154 if (PyErr_Occurred()) SWIG_fail;
22155 }
22156 {
22157 wxTreeItemId * resultptr;
22158 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22159 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22160 }
22161 return resultobj;
22162 fail:
22163 return NULL;
22164 }
22165
22166
22167 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22168 PyObject *resultobj;
22169 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22170 wxTreeItemId *arg2 = 0 ;
22171 wxTreeItemId result;
22172 PyObject * obj0 = 0 ;
22173 PyObject * obj1 = 0 ;
22174 char *kwnames[] = {
22175 (char *) "self",(char *) "item", NULL
22176 };
22177
22178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22180 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22181 if (arg2 == NULL) {
22182 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22183 }
22184 {
22185 PyThreadState* __tstate = wxPyBeginAllowThreads();
22186 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22187
22188 wxPyEndAllowThreads(__tstate);
22189 if (PyErr_Occurred()) SWIG_fail;
22190 }
22191 {
22192 wxTreeItemId * resultptr;
22193 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22194 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22195 }
22196 return resultobj;
22197 fail:
22198 return NULL;
22199 }
22200
22201
22202 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22203 PyObject *resultobj;
22204 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22205 wxTreeItemId result;
22206 PyObject * obj0 = 0 ;
22207 char *kwnames[] = {
22208 (char *) "self", NULL
22209 };
22210
22211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22213 {
22214 PyThreadState* __tstate = wxPyBeginAllowThreads();
22215 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22216
22217 wxPyEndAllowThreads(__tstate);
22218 if (PyErr_Occurred()) SWIG_fail;
22219 }
22220 {
22221 wxTreeItemId * resultptr;
22222 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22223 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22224 }
22225 return resultobj;
22226 fail:
22227 return NULL;
22228 }
22229
22230
22231 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22232 PyObject *resultobj;
22233 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22234 wxTreeItemId *arg2 = 0 ;
22235 wxTreeItemId result;
22236 PyObject * obj0 = 0 ;
22237 PyObject * obj1 = 0 ;
22238 char *kwnames[] = {
22239 (char *) "self",(char *) "item", NULL
22240 };
22241
22242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22245 if (arg2 == NULL) {
22246 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22247 }
22248 {
22249 PyThreadState* __tstate = wxPyBeginAllowThreads();
22250 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22251
22252 wxPyEndAllowThreads(__tstate);
22253 if (PyErr_Occurred()) SWIG_fail;
22254 }
22255 {
22256 wxTreeItemId * resultptr;
22257 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22258 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22259 }
22260 return resultobj;
22261 fail:
22262 return NULL;
22263 }
22264
22265
22266 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22267 PyObject *resultobj;
22268 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22269 wxTreeItemId *arg2 = 0 ;
22270 wxTreeItemId result;
22271 PyObject * obj0 = 0 ;
22272 PyObject * obj1 = 0 ;
22273 char *kwnames[] = {
22274 (char *) "self",(char *) "item", NULL
22275 };
22276
22277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22279 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22280 if (arg2 == NULL) {
22281 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22282 }
22283 {
22284 PyThreadState* __tstate = wxPyBeginAllowThreads();
22285 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22286
22287 wxPyEndAllowThreads(__tstate);
22288 if (PyErr_Occurred()) SWIG_fail;
22289 }
22290 {
22291 wxTreeItemId * resultptr;
22292 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22293 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22294 }
22295 return resultobj;
22296 fail:
22297 return NULL;
22298 }
22299
22300
22301 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22302 PyObject *resultobj;
22303 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22304 wxString *arg2 = 0 ;
22305 int arg3 = (int) -1 ;
22306 int arg4 = (int) -1 ;
22307 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22308 wxTreeItemId result;
22309 bool temp2 = False ;
22310 PyObject * obj0 = 0 ;
22311 PyObject * obj1 = 0 ;
22312 PyObject * obj4 = 0 ;
22313 char *kwnames[] = {
22314 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22315 };
22316
22317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22319 {
22320 arg2 = wxString_in_helper(obj1);
22321 if (arg2 == NULL) SWIG_fail;
22322 temp2 = True;
22323 }
22324 if (obj4) {
22325 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22326 }
22327 {
22328 PyThreadState* __tstate = wxPyBeginAllowThreads();
22329 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22330
22331 wxPyEndAllowThreads(__tstate);
22332 if (PyErr_Occurred()) SWIG_fail;
22333 }
22334 {
22335 wxTreeItemId * resultptr;
22336 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22337 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22338 }
22339 {
22340 if (temp2)
22341 delete arg2;
22342 }
22343 return resultobj;
22344 fail:
22345 {
22346 if (temp2)
22347 delete arg2;
22348 }
22349 return NULL;
22350 }
22351
22352
22353 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22354 PyObject *resultobj;
22355 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22356 wxTreeItemId *arg2 = 0 ;
22357 wxString *arg3 = 0 ;
22358 int arg4 = (int) -1 ;
22359 int arg5 = (int) -1 ;
22360 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22361 wxTreeItemId result;
22362 bool temp3 = False ;
22363 PyObject * obj0 = 0 ;
22364 PyObject * obj1 = 0 ;
22365 PyObject * obj2 = 0 ;
22366 PyObject * obj5 = 0 ;
22367 char *kwnames[] = {
22368 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22369 };
22370
22371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22374 if (arg2 == NULL) {
22375 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22376 }
22377 {
22378 arg3 = wxString_in_helper(obj2);
22379 if (arg3 == NULL) SWIG_fail;
22380 temp3 = True;
22381 }
22382 if (obj5) {
22383 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22384 }
22385 {
22386 PyThreadState* __tstate = wxPyBeginAllowThreads();
22387 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22388
22389 wxPyEndAllowThreads(__tstate);
22390 if (PyErr_Occurred()) SWIG_fail;
22391 }
22392 {
22393 wxTreeItemId * resultptr;
22394 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22395 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22396 }
22397 {
22398 if (temp3)
22399 delete arg3;
22400 }
22401 return resultobj;
22402 fail:
22403 {
22404 if (temp3)
22405 delete arg3;
22406 }
22407 return NULL;
22408 }
22409
22410
22411 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22412 PyObject *resultobj;
22413 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22414 wxTreeItemId *arg2 = 0 ;
22415 wxTreeItemId *arg3 = 0 ;
22416 wxString *arg4 = 0 ;
22417 int arg5 = (int) -1 ;
22418 int arg6 = (int) -1 ;
22419 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22420 wxTreeItemId result;
22421 bool temp4 = False ;
22422 PyObject * obj0 = 0 ;
22423 PyObject * obj1 = 0 ;
22424 PyObject * obj2 = 0 ;
22425 PyObject * obj3 = 0 ;
22426 PyObject * obj6 = 0 ;
22427 char *kwnames[] = {
22428 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22429 };
22430
22431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22433 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22434 if (arg2 == NULL) {
22435 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22436 }
22437 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22438 if (arg3 == NULL) {
22439 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22440 }
22441 {
22442 arg4 = wxString_in_helper(obj3);
22443 if (arg4 == NULL) SWIG_fail;
22444 temp4 = True;
22445 }
22446 if (obj6) {
22447 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22448 }
22449 {
22450 PyThreadState* __tstate = wxPyBeginAllowThreads();
22451 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22452
22453 wxPyEndAllowThreads(__tstate);
22454 if (PyErr_Occurred()) SWIG_fail;
22455 }
22456 {
22457 wxTreeItemId * resultptr;
22458 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22459 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22460 }
22461 {
22462 if (temp4)
22463 delete arg4;
22464 }
22465 return resultobj;
22466 fail:
22467 {
22468 if (temp4)
22469 delete arg4;
22470 }
22471 return NULL;
22472 }
22473
22474
22475 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22476 PyObject *resultobj;
22477 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22478 wxTreeItemId *arg2 = 0 ;
22479 size_t arg3 ;
22480 wxString *arg4 = 0 ;
22481 int arg5 = (int) -1 ;
22482 int arg6 = (int) -1 ;
22483 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22484 wxTreeItemId result;
22485 bool temp4 = False ;
22486 PyObject * obj0 = 0 ;
22487 PyObject * obj1 = 0 ;
22488 PyObject * obj2 = 0 ;
22489 PyObject * obj3 = 0 ;
22490 PyObject * obj6 = 0 ;
22491 char *kwnames[] = {
22492 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22493 };
22494
22495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22497 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22498 if (arg2 == NULL) {
22499 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22500 }
22501 arg3 = (size_t) PyInt_AsLong(obj2);
22502 if (PyErr_Occurred()) SWIG_fail;
22503 {
22504 arg4 = wxString_in_helper(obj3);
22505 if (arg4 == NULL) SWIG_fail;
22506 temp4 = True;
22507 }
22508 if (obj6) {
22509 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22510 }
22511 {
22512 PyThreadState* __tstate = wxPyBeginAllowThreads();
22513 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22514
22515 wxPyEndAllowThreads(__tstate);
22516 if (PyErr_Occurred()) SWIG_fail;
22517 }
22518 {
22519 wxTreeItemId * resultptr;
22520 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22521 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22522 }
22523 {
22524 if (temp4)
22525 delete arg4;
22526 }
22527 return resultobj;
22528 fail:
22529 {
22530 if (temp4)
22531 delete arg4;
22532 }
22533 return NULL;
22534 }
22535
22536
22537 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22538 PyObject *resultobj;
22539 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22540 wxTreeItemId *arg2 = 0 ;
22541 wxString *arg3 = 0 ;
22542 int arg4 = (int) -1 ;
22543 int arg5 = (int) -1 ;
22544 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22545 wxTreeItemId result;
22546 bool temp3 = False ;
22547 PyObject * obj0 = 0 ;
22548 PyObject * obj1 = 0 ;
22549 PyObject * obj2 = 0 ;
22550 PyObject * obj5 = 0 ;
22551 char *kwnames[] = {
22552 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22553 };
22554
22555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22558 if (arg2 == NULL) {
22559 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22560 }
22561 {
22562 arg3 = wxString_in_helper(obj2);
22563 if (arg3 == NULL) SWIG_fail;
22564 temp3 = True;
22565 }
22566 if (obj5) {
22567 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22568 }
22569 {
22570 PyThreadState* __tstate = wxPyBeginAllowThreads();
22571 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22572
22573 wxPyEndAllowThreads(__tstate);
22574 if (PyErr_Occurred()) SWIG_fail;
22575 }
22576 {
22577 wxTreeItemId * resultptr;
22578 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22579 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22580 }
22581 {
22582 if (temp3)
22583 delete arg3;
22584 }
22585 return resultobj;
22586 fail:
22587 {
22588 if (temp3)
22589 delete arg3;
22590 }
22591 return NULL;
22592 }
22593
22594
22595 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22596 PyObject *resultobj;
22597 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22598 wxTreeItemId *arg2 = 0 ;
22599 PyObject * obj0 = 0 ;
22600 PyObject * obj1 = 0 ;
22601 char *kwnames[] = {
22602 (char *) "self",(char *) "item", NULL
22603 };
22604
22605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22608 if (arg2 == NULL) {
22609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22610 }
22611 {
22612 PyThreadState* __tstate = wxPyBeginAllowThreads();
22613 (arg1)->Delete((wxTreeItemId const &)*arg2);
22614
22615 wxPyEndAllowThreads(__tstate);
22616 if (PyErr_Occurred()) SWIG_fail;
22617 }
22618 Py_INCREF(Py_None); resultobj = Py_None;
22619 return resultobj;
22620 fail:
22621 return NULL;
22622 }
22623
22624
22625 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22626 PyObject *resultobj;
22627 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22628 wxTreeItemId *arg2 = 0 ;
22629 PyObject * obj0 = 0 ;
22630 PyObject * obj1 = 0 ;
22631 char *kwnames[] = {
22632 (char *) "self",(char *) "item", NULL
22633 };
22634
22635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22638 if (arg2 == NULL) {
22639 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22640 }
22641 {
22642 PyThreadState* __tstate = wxPyBeginAllowThreads();
22643 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22644
22645 wxPyEndAllowThreads(__tstate);
22646 if (PyErr_Occurred()) SWIG_fail;
22647 }
22648 Py_INCREF(Py_None); resultobj = Py_None;
22649 return resultobj;
22650 fail:
22651 return NULL;
22652 }
22653
22654
22655 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22656 PyObject *resultobj;
22657 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22658 PyObject * obj0 = 0 ;
22659 char *kwnames[] = {
22660 (char *) "self", NULL
22661 };
22662
22663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22665 {
22666 PyThreadState* __tstate = wxPyBeginAllowThreads();
22667 (arg1)->DeleteAllItems();
22668
22669 wxPyEndAllowThreads(__tstate);
22670 if (PyErr_Occurred()) SWIG_fail;
22671 }
22672 Py_INCREF(Py_None); resultobj = Py_None;
22673 return resultobj;
22674 fail:
22675 return NULL;
22676 }
22677
22678
22679 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22680 PyObject *resultobj;
22681 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22682 wxTreeItemId *arg2 = 0 ;
22683 PyObject * obj0 = 0 ;
22684 PyObject * obj1 = 0 ;
22685 char *kwnames[] = {
22686 (char *) "self",(char *) "item", NULL
22687 };
22688
22689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22691 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22692 if (arg2 == NULL) {
22693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22694 }
22695 {
22696 PyThreadState* __tstate = wxPyBeginAllowThreads();
22697 (arg1)->Expand((wxTreeItemId const &)*arg2);
22698
22699 wxPyEndAllowThreads(__tstate);
22700 if (PyErr_Occurred()) SWIG_fail;
22701 }
22702 Py_INCREF(Py_None); resultobj = Py_None;
22703 return resultobj;
22704 fail:
22705 return NULL;
22706 }
22707
22708
22709 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22710 PyObject *resultobj;
22711 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22712 wxTreeItemId *arg2 = 0 ;
22713 PyObject * obj0 = 0 ;
22714 PyObject * obj1 = 0 ;
22715 char *kwnames[] = {
22716 (char *) "self",(char *) "item", NULL
22717 };
22718
22719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22721 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22722 if (arg2 == NULL) {
22723 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22724 }
22725 {
22726 PyThreadState* __tstate = wxPyBeginAllowThreads();
22727 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22728
22729 wxPyEndAllowThreads(__tstate);
22730 if (PyErr_Occurred()) SWIG_fail;
22731 }
22732 Py_INCREF(Py_None); resultobj = Py_None;
22733 return resultobj;
22734 fail:
22735 return NULL;
22736 }
22737
22738
22739 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22740 PyObject *resultobj;
22741 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22742 wxTreeItemId *arg2 = 0 ;
22743 PyObject * obj0 = 0 ;
22744 PyObject * obj1 = 0 ;
22745 char *kwnames[] = {
22746 (char *) "self",(char *) "item", NULL
22747 };
22748
22749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22751 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22752 if (arg2 == NULL) {
22753 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22754 }
22755 {
22756 PyThreadState* __tstate = wxPyBeginAllowThreads();
22757 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22758
22759 wxPyEndAllowThreads(__tstate);
22760 if (PyErr_Occurred()) SWIG_fail;
22761 }
22762 Py_INCREF(Py_None); resultobj = Py_None;
22763 return resultobj;
22764 fail:
22765 return NULL;
22766 }
22767
22768
22769 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22770 PyObject *resultobj;
22771 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22772 wxTreeItemId *arg2 = 0 ;
22773 PyObject * obj0 = 0 ;
22774 PyObject * obj1 = 0 ;
22775 char *kwnames[] = {
22776 (char *) "self",(char *) "item", NULL
22777 };
22778
22779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22781 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22782 if (arg2 == NULL) {
22783 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22784 }
22785 {
22786 PyThreadState* __tstate = wxPyBeginAllowThreads();
22787 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22788
22789 wxPyEndAllowThreads(__tstate);
22790 if (PyErr_Occurred()) SWIG_fail;
22791 }
22792 Py_INCREF(Py_None); resultobj = Py_None;
22793 return resultobj;
22794 fail:
22795 return NULL;
22796 }
22797
22798
22799 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22800 PyObject *resultobj;
22801 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22802 PyObject * obj0 = 0 ;
22803 char *kwnames[] = {
22804 (char *) "self", NULL
22805 };
22806
22807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22809 {
22810 PyThreadState* __tstate = wxPyBeginAllowThreads();
22811 (arg1)->Unselect();
22812
22813 wxPyEndAllowThreads(__tstate);
22814 if (PyErr_Occurred()) SWIG_fail;
22815 }
22816 Py_INCREF(Py_None); resultobj = Py_None;
22817 return resultobj;
22818 fail:
22819 return NULL;
22820 }
22821
22822
22823 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22824 PyObject *resultobj;
22825 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22826 PyObject * obj0 = 0 ;
22827 char *kwnames[] = {
22828 (char *) "self", NULL
22829 };
22830
22831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22833 {
22834 PyThreadState* __tstate = wxPyBeginAllowThreads();
22835 (arg1)->UnselectAll();
22836
22837 wxPyEndAllowThreads(__tstate);
22838 if (PyErr_Occurred()) SWIG_fail;
22839 }
22840 Py_INCREF(Py_None); resultobj = Py_None;
22841 return resultobj;
22842 fail:
22843 return NULL;
22844 }
22845
22846
22847 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22848 PyObject *resultobj;
22849 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22850 wxTreeItemId *arg2 = 0 ;
22851 PyObject * obj0 = 0 ;
22852 PyObject * obj1 = 0 ;
22853 char *kwnames[] = {
22854 (char *) "self",(char *) "item", NULL
22855 };
22856
22857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22859 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22860 if (arg2 == NULL) {
22861 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22862 }
22863 {
22864 PyThreadState* __tstate = wxPyBeginAllowThreads();
22865 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22866
22867 wxPyEndAllowThreads(__tstate);
22868 if (PyErr_Occurred()) SWIG_fail;
22869 }
22870 Py_INCREF(Py_None); resultobj = Py_None;
22871 return resultobj;
22872 fail:
22873 return NULL;
22874 }
22875
22876
22877 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22878 PyObject *resultobj;
22879 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22880 wxTreeItemId *arg2 = 0 ;
22881 PyObject * obj0 = 0 ;
22882 PyObject * obj1 = 0 ;
22883 char *kwnames[] = {
22884 (char *) "self",(char *) "item", NULL
22885 };
22886
22887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22889 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22890 if (arg2 == NULL) {
22891 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22892 }
22893 {
22894 PyThreadState* __tstate = wxPyBeginAllowThreads();
22895 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22896
22897 wxPyEndAllowThreads(__tstate);
22898 if (PyErr_Occurred()) SWIG_fail;
22899 }
22900 Py_INCREF(Py_None); resultobj = Py_None;
22901 return resultobj;
22902 fail:
22903 return NULL;
22904 }
22905
22906
22907 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22908 PyObject *resultobj;
22909 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22910 wxTreeItemId *arg2 = 0 ;
22911 PyObject * obj0 = 0 ;
22912 PyObject * obj1 = 0 ;
22913 char *kwnames[] = {
22914 (char *) "self",(char *) "item", NULL
22915 };
22916
22917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22919 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22920 if (arg2 == NULL) {
22921 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22922 }
22923 {
22924 PyThreadState* __tstate = wxPyBeginAllowThreads();
22925 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22926
22927 wxPyEndAllowThreads(__tstate);
22928 if (PyErr_Occurred()) SWIG_fail;
22929 }
22930 Py_INCREF(Py_None); resultobj = Py_None;
22931 return resultobj;
22932 fail:
22933 return NULL;
22934 }
22935
22936
22937 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22938 PyObject *resultobj;
22939 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22940 wxTreeItemId *arg2 = 0 ;
22941 PyObject * obj0 = 0 ;
22942 PyObject * obj1 = 0 ;
22943 char *kwnames[] = {
22944 (char *) "self",(char *) "item", NULL
22945 };
22946
22947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22949 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22950 if (arg2 == NULL) {
22951 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22952 }
22953 {
22954 PyThreadState* __tstate = wxPyBeginAllowThreads();
22955 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22956
22957 wxPyEndAllowThreads(__tstate);
22958 if (PyErr_Occurred()) SWIG_fail;
22959 }
22960 Py_INCREF(Py_None); resultobj = Py_None;
22961 return resultobj;
22962 fail:
22963 return NULL;
22964 }
22965
22966
22967 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22968 PyObject *resultobj;
22969 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22970 wxTextCtrl *result;
22971 PyObject * obj0 = 0 ;
22972 char *kwnames[] = {
22973 (char *) "self", NULL
22974 };
22975
22976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22978 {
22979 PyThreadState* __tstate = wxPyBeginAllowThreads();
22980 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22981
22982 wxPyEndAllowThreads(__tstate);
22983 if (PyErr_Occurred()) SWIG_fail;
22984 }
22985 {
22986 resultobj = wxPyMake_wxObject(result);
22987 }
22988 return resultobj;
22989 fail:
22990 return NULL;
22991 }
22992
22993
22994 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22995 PyObject *resultobj;
22996 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22997 wxTreeItemId *arg2 = 0 ;
22998 bool arg3 = (bool) False ;
22999 PyObject * obj0 = 0 ;
23000 PyObject * obj1 = 0 ;
23001 PyObject * obj2 = 0 ;
23002 char *kwnames[] = {
23003 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
23004 };
23005
23006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
23007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23008 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23009 if (arg2 == NULL) {
23010 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23011 }
23012 if (obj2) {
23013 arg3 = PyInt_AsLong(obj2) ? true : false;
23014 if (PyErr_Occurred()) SWIG_fail;
23015 }
23016 {
23017 PyThreadState* __tstate = wxPyBeginAllowThreads();
23018 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
23019
23020 wxPyEndAllowThreads(__tstate);
23021 if (PyErr_Occurred()) SWIG_fail;
23022 }
23023 Py_INCREF(Py_None); resultobj = Py_None;
23024 return resultobj;
23025 fail:
23026 return NULL;
23027 }
23028
23029
23030 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23031 PyObject *resultobj;
23032 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23033 wxTreeItemId *arg2 = 0 ;
23034 PyObject * obj0 = 0 ;
23035 PyObject * obj1 = 0 ;
23036 char *kwnames[] = {
23037 (char *) "self",(char *) "item", NULL
23038 };
23039
23040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23043 if (arg2 == NULL) {
23044 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23045 }
23046 {
23047 PyThreadState* __tstate = wxPyBeginAllowThreads();
23048 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23049
23050 wxPyEndAllowThreads(__tstate);
23051 if (PyErr_Occurred()) SWIG_fail;
23052 }
23053 Py_INCREF(Py_None); resultobj = Py_None;
23054 return resultobj;
23055 fail:
23056 return NULL;
23057 }
23058
23059
23060 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23061 PyObject *resultobj;
23062 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23063 wxPoint *arg2 = 0 ;
23064 int *arg3 = 0 ;
23065 wxTreeItemId result;
23066 wxPoint temp2 ;
23067 int temp3 ;
23068 PyObject * obj0 = 0 ;
23069 PyObject * obj1 = 0 ;
23070 char *kwnames[] = {
23071 (char *) "self",(char *) "point", NULL
23072 };
23073
23074 arg3 = &temp3;
23075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23077 {
23078 arg2 = &temp2;
23079 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23080 }
23081 {
23082 PyThreadState* __tstate = wxPyBeginAllowThreads();
23083 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23084
23085 wxPyEndAllowThreads(__tstate);
23086 if (PyErr_Occurred()) SWIG_fail;
23087 }
23088 {
23089 wxTreeItemId * resultptr;
23090 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23091 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23092 }
23093 {
23094 PyObject *o = PyInt_FromLong((long) (*arg3));
23095 resultobj = t_output_helper(resultobj,o);
23096 }
23097 return resultobj;
23098 fail:
23099 return NULL;
23100 }
23101
23102
23103 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23104 PyObject *resultobj;
23105 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23106 wxTreeItemId *arg2 = 0 ;
23107 bool arg3 = (bool) False ;
23108 PyObject *result;
23109 PyObject * obj0 = 0 ;
23110 PyObject * obj1 = 0 ;
23111 PyObject * obj2 = 0 ;
23112 char *kwnames[] = {
23113 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23114 };
23115
23116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23119 if (arg2 == NULL) {
23120 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23121 }
23122 if (obj2) {
23123 arg3 = PyInt_AsLong(obj2) ? true : false;
23124 if (PyErr_Occurred()) SWIG_fail;
23125 }
23126 {
23127 PyThreadState* __tstate = wxPyBeginAllowThreads();
23128 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23129
23130 wxPyEndAllowThreads(__tstate);
23131 if (PyErr_Occurred()) SWIG_fail;
23132 }
23133 resultobj = result;
23134 return resultobj;
23135 fail:
23136 return NULL;
23137 }
23138
23139
23140 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23141 PyObject *obj;
23142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23143 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23144 Py_INCREF(obj);
23145 return Py_BuildValue((char *)"");
23146 }
23147 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23148 PyObject *resultobj;
23149 wxWindow *arg1 = (wxWindow *) 0 ;
23150 int arg2 = (int) (int)-1 ;
23151 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23152 wxString *arg3 = (wxString *) &arg3_defvalue ;
23153 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23154 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23155 wxSize const &arg5_defvalue = wxDefaultSize ;
23156 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23157 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23158 wxString const &arg7_defvalue = wxPyEmptyString ;
23159 wxString *arg7 = (wxString *) &arg7_defvalue ;
23160 int arg8 = (int) 0 ;
23161 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
23162 wxString *arg9 = (wxString *) &arg9_defvalue ;
23163 wxGenericDirCtrl *result;
23164 bool temp3 = False ;
23165 wxPoint temp4 ;
23166 wxSize temp5 ;
23167 bool temp7 = False ;
23168 bool temp9 = False ;
23169 PyObject * obj0 = 0 ;
23170 PyObject * obj2 = 0 ;
23171 PyObject * obj3 = 0 ;
23172 PyObject * obj4 = 0 ;
23173 PyObject * obj6 = 0 ;
23174 PyObject * obj8 = 0 ;
23175 char *kwnames[] = {
23176 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23177 };
23178
23179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23181 if (obj2) {
23182 {
23183 arg3 = wxString_in_helper(obj2);
23184 if (arg3 == NULL) SWIG_fail;
23185 temp3 = True;
23186 }
23187 }
23188 if (obj3) {
23189 {
23190 arg4 = &temp4;
23191 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23192 }
23193 }
23194 if (obj4) {
23195 {
23196 arg5 = &temp5;
23197 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23198 }
23199 }
23200 if (obj6) {
23201 {
23202 arg7 = wxString_in_helper(obj6);
23203 if (arg7 == NULL) SWIG_fail;
23204 temp7 = True;
23205 }
23206 }
23207 if (obj8) {
23208 {
23209 arg9 = wxString_in_helper(obj8);
23210 if (arg9 == NULL) SWIG_fail;
23211 temp9 = True;
23212 }
23213 }
23214 {
23215 PyThreadState* __tstate = wxPyBeginAllowThreads();
23216 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23217
23218 wxPyEndAllowThreads(__tstate);
23219 if (PyErr_Occurred()) SWIG_fail;
23220 }
23221 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23222 {
23223 if (temp3)
23224 delete arg3;
23225 }
23226 {
23227 if (temp7)
23228 delete arg7;
23229 }
23230 {
23231 if (temp9)
23232 delete arg9;
23233 }
23234 return resultobj;
23235 fail:
23236 {
23237 if (temp3)
23238 delete arg3;
23239 }
23240 {
23241 if (temp7)
23242 delete arg7;
23243 }
23244 {
23245 if (temp9)
23246 delete arg9;
23247 }
23248 return NULL;
23249 }
23250
23251
23252 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23253 PyObject *resultobj;
23254 wxGenericDirCtrl *result;
23255 char *kwnames[] = {
23256 NULL
23257 };
23258
23259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23260 {
23261 PyThreadState* __tstate = wxPyBeginAllowThreads();
23262 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23263
23264 wxPyEndAllowThreads(__tstate);
23265 if (PyErr_Occurred()) SWIG_fail;
23266 }
23267 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23268 return resultobj;
23269 fail:
23270 return NULL;
23271 }
23272
23273
23274 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23275 PyObject *resultobj;
23276 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23277 wxWindow *arg2 = (wxWindow *) 0 ;
23278 int arg3 = (int) (int)-1 ;
23279 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23280 wxString *arg4 = (wxString *) &arg4_defvalue ;
23281 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23282 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23283 wxSize const &arg6_defvalue = wxDefaultSize ;
23284 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23285 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23286 wxString const &arg8_defvalue = wxPyEmptyString ;
23287 wxString *arg8 = (wxString *) &arg8_defvalue ;
23288 int arg9 = (int) 0 ;
23289 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
23290 wxString *arg10 = (wxString *) &arg10_defvalue ;
23291 bool result;
23292 bool temp4 = False ;
23293 wxPoint temp5 ;
23294 wxSize temp6 ;
23295 bool temp8 = False ;
23296 bool temp10 = False ;
23297 PyObject * obj0 = 0 ;
23298 PyObject * obj1 = 0 ;
23299 PyObject * obj3 = 0 ;
23300 PyObject * obj4 = 0 ;
23301 PyObject * obj5 = 0 ;
23302 PyObject * obj7 = 0 ;
23303 PyObject * obj9 = 0 ;
23304 char *kwnames[] = {
23305 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23306 };
23307
23308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23310 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23311 if (obj3) {
23312 {
23313 arg4 = wxString_in_helper(obj3);
23314 if (arg4 == NULL) SWIG_fail;
23315 temp4 = True;
23316 }
23317 }
23318 if (obj4) {
23319 {
23320 arg5 = &temp5;
23321 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23322 }
23323 }
23324 if (obj5) {
23325 {
23326 arg6 = &temp6;
23327 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23328 }
23329 }
23330 if (obj7) {
23331 {
23332 arg8 = wxString_in_helper(obj7);
23333 if (arg8 == NULL) SWIG_fail;
23334 temp8 = True;
23335 }
23336 }
23337 if (obj9) {
23338 {
23339 arg10 = wxString_in_helper(obj9);
23340 if (arg10 == NULL) SWIG_fail;
23341 temp10 = True;
23342 }
23343 }
23344 {
23345 PyThreadState* __tstate = wxPyBeginAllowThreads();
23346 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23347
23348 wxPyEndAllowThreads(__tstate);
23349 if (PyErr_Occurred()) SWIG_fail;
23350 }
23351 resultobj = PyInt_FromLong((long)result);
23352 {
23353 if (temp4)
23354 delete arg4;
23355 }
23356 {
23357 if (temp8)
23358 delete arg8;
23359 }
23360 {
23361 if (temp10)
23362 delete arg10;
23363 }
23364 return resultobj;
23365 fail:
23366 {
23367 if (temp4)
23368 delete arg4;
23369 }
23370 {
23371 if (temp8)
23372 delete arg8;
23373 }
23374 {
23375 if (temp10)
23376 delete arg10;
23377 }
23378 return NULL;
23379 }
23380
23381
23382 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23383 PyObject *resultobj;
23384 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23385 wxString *arg2 = 0 ;
23386 bool result;
23387 bool temp2 = False ;
23388 PyObject * obj0 = 0 ;
23389 PyObject * obj1 = 0 ;
23390 char *kwnames[] = {
23391 (char *) "self",(char *) "path", NULL
23392 };
23393
23394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23396 {
23397 arg2 = wxString_in_helper(obj1);
23398 if (arg2 == NULL) SWIG_fail;
23399 temp2 = True;
23400 }
23401 {
23402 PyThreadState* __tstate = wxPyBeginAllowThreads();
23403 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23404
23405 wxPyEndAllowThreads(__tstate);
23406 if (PyErr_Occurred()) SWIG_fail;
23407 }
23408 resultobj = PyInt_FromLong((long)result);
23409 {
23410 if (temp2)
23411 delete arg2;
23412 }
23413 return resultobj;
23414 fail:
23415 {
23416 if (temp2)
23417 delete arg2;
23418 }
23419 return NULL;
23420 }
23421
23422
23423 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23424 PyObject *resultobj;
23425 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23426 wxString result;
23427 PyObject * obj0 = 0 ;
23428 char *kwnames[] = {
23429 (char *) "self", NULL
23430 };
23431
23432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23434 {
23435 PyThreadState* __tstate = wxPyBeginAllowThreads();
23436 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23437
23438 wxPyEndAllowThreads(__tstate);
23439 if (PyErr_Occurred()) SWIG_fail;
23440 }
23441 {
23442 #if wxUSE_UNICODE
23443 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23444 #else
23445 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23446 #endif
23447 }
23448 return resultobj;
23449 fail:
23450 return NULL;
23451 }
23452
23453
23454 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23455 PyObject *resultobj;
23456 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23457 wxString *arg2 = 0 ;
23458 bool temp2 = False ;
23459 PyObject * obj0 = 0 ;
23460 PyObject * obj1 = 0 ;
23461 char *kwnames[] = {
23462 (char *) "self",(char *) "path", NULL
23463 };
23464
23465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23467 {
23468 arg2 = wxString_in_helper(obj1);
23469 if (arg2 == NULL) SWIG_fail;
23470 temp2 = True;
23471 }
23472 {
23473 PyThreadState* __tstate = wxPyBeginAllowThreads();
23474 (arg1)->SetDefaultPath((wxString const &)*arg2);
23475
23476 wxPyEndAllowThreads(__tstate);
23477 if (PyErr_Occurred()) SWIG_fail;
23478 }
23479 Py_INCREF(Py_None); resultobj = Py_None;
23480 {
23481 if (temp2)
23482 delete arg2;
23483 }
23484 return resultobj;
23485 fail:
23486 {
23487 if (temp2)
23488 delete arg2;
23489 }
23490 return NULL;
23491 }
23492
23493
23494 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23495 PyObject *resultobj;
23496 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23497 wxString result;
23498 PyObject * obj0 = 0 ;
23499 char *kwnames[] = {
23500 (char *) "self", NULL
23501 };
23502
23503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23505 {
23506 PyThreadState* __tstate = wxPyBeginAllowThreads();
23507 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23508
23509 wxPyEndAllowThreads(__tstate);
23510 if (PyErr_Occurred()) SWIG_fail;
23511 }
23512 {
23513 #if wxUSE_UNICODE
23514 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23515 #else
23516 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23517 #endif
23518 }
23519 return resultobj;
23520 fail:
23521 return NULL;
23522 }
23523
23524
23525 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23526 PyObject *resultobj;
23527 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23528 wxString result;
23529 PyObject * obj0 = 0 ;
23530 char *kwnames[] = {
23531 (char *) "self", NULL
23532 };
23533
23534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23536 {
23537 PyThreadState* __tstate = wxPyBeginAllowThreads();
23538 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23539
23540 wxPyEndAllowThreads(__tstate);
23541 if (PyErr_Occurred()) SWIG_fail;
23542 }
23543 {
23544 #if wxUSE_UNICODE
23545 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23546 #else
23547 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23548 #endif
23549 }
23550 return resultobj;
23551 fail:
23552 return NULL;
23553 }
23554
23555
23556 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23557 PyObject *resultobj;
23558 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23559 wxString *arg2 = 0 ;
23560 bool temp2 = False ;
23561 PyObject * obj0 = 0 ;
23562 PyObject * obj1 = 0 ;
23563 char *kwnames[] = {
23564 (char *) "self",(char *) "path", NULL
23565 };
23566
23567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23569 {
23570 arg2 = wxString_in_helper(obj1);
23571 if (arg2 == NULL) SWIG_fail;
23572 temp2 = True;
23573 }
23574 {
23575 PyThreadState* __tstate = wxPyBeginAllowThreads();
23576 (arg1)->SetPath((wxString const &)*arg2);
23577
23578 wxPyEndAllowThreads(__tstate);
23579 if (PyErr_Occurred()) SWIG_fail;
23580 }
23581 Py_INCREF(Py_None); resultobj = Py_None;
23582 {
23583 if (temp2)
23584 delete arg2;
23585 }
23586 return resultobj;
23587 fail:
23588 {
23589 if (temp2)
23590 delete arg2;
23591 }
23592 return NULL;
23593 }
23594
23595
23596 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23597 PyObject *resultobj;
23598 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23599 bool arg2 ;
23600 PyObject * obj0 = 0 ;
23601 PyObject * obj1 = 0 ;
23602 char *kwnames[] = {
23603 (char *) "self",(char *) "show", NULL
23604 };
23605
23606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23608 arg2 = PyInt_AsLong(obj1) ? true : false;
23609 if (PyErr_Occurred()) SWIG_fail;
23610 {
23611 PyThreadState* __tstate = wxPyBeginAllowThreads();
23612 (arg1)->ShowHidden(arg2);
23613
23614 wxPyEndAllowThreads(__tstate);
23615 if (PyErr_Occurred()) SWIG_fail;
23616 }
23617 Py_INCREF(Py_None); resultobj = Py_None;
23618 return resultobj;
23619 fail:
23620 return NULL;
23621 }
23622
23623
23624 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23625 PyObject *resultobj;
23626 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23627 bool result;
23628 PyObject * obj0 = 0 ;
23629 char *kwnames[] = {
23630 (char *) "self", NULL
23631 };
23632
23633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23635 {
23636 PyThreadState* __tstate = wxPyBeginAllowThreads();
23637 result = (bool)(arg1)->GetShowHidden();
23638
23639 wxPyEndAllowThreads(__tstate);
23640 if (PyErr_Occurred()) SWIG_fail;
23641 }
23642 resultobj = PyInt_FromLong((long)result);
23643 return resultobj;
23644 fail:
23645 return NULL;
23646 }
23647
23648
23649 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23650 PyObject *resultobj;
23651 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23652 wxString result;
23653 PyObject * obj0 = 0 ;
23654 char *kwnames[] = {
23655 (char *) "self", NULL
23656 };
23657
23658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23660 {
23661 PyThreadState* __tstate = wxPyBeginAllowThreads();
23662 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23663
23664 wxPyEndAllowThreads(__tstate);
23665 if (PyErr_Occurred()) SWIG_fail;
23666 }
23667 {
23668 #if wxUSE_UNICODE
23669 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23670 #else
23671 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23672 #endif
23673 }
23674 return resultobj;
23675 fail:
23676 return NULL;
23677 }
23678
23679
23680 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23681 PyObject *resultobj;
23682 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23683 wxString *arg2 = 0 ;
23684 bool temp2 = False ;
23685 PyObject * obj0 = 0 ;
23686 PyObject * obj1 = 0 ;
23687 char *kwnames[] = {
23688 (char *) "self",(char *) "filter", NULL
23689 };
23690
23691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23693 {
23694 arg2 = wxString_in_helper(obj1);
23695 if (arg2 == NULL) SWIG_fail;
23696 temp2 = True;
23697 }
23698 {
23699 PyThreadState* __tstate = wxPyBeginAllowThreads();
23700 (arg1)->SetFilter((wxString const &)*arg2);
23701
23702 wxPyEndAllowThreads(__tstate);
23703 if (PyErr_Occurred()) SWIG_fail;
23704 }
23705 Py_INCREF(Py_None); resultobj = Py_None;
23706 {
23707 if (temp2)
23708 delete arg2;
23709 }
23710 return resultobj;
23711 fail:
23712 {
23713 if (temp2)
23714 delete arg2;
23715 }
23716 return NULL;
23717 }
23718
23719
23720 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23721 PyObject *resultobj;
23722 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23723 int result;
23724 PyObject * obj0 = 0 ;
23725 char *kwnames[] = {
23726 (char *) "self", NULL
23727 };
23728
23729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23731 {
23732 PyThreadState* __tstate = wxPyBeginAllowThreads();
23733 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23734
23735 wxPyEndAllowThreads(__tstate);
23736 if (PyErr_Occurred()) SWIG_fail;
23737 }
23738 resultobj = PyInt_FromLong((long)result);
23739 return resultobj;
23740 fail:
23741 return NULL;
23742 }
23743
23744
23745 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23746 PyObject *resultobj;
23747 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23748 int arg2 ;
23749 PyObject * obj0 = 0 ;
23750 char *kwnames[] = {
23751 (char *) "self",(char *) "n", NULL
23752 };
23753
23754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23756 {
23757 PyThreadState* __tstate = wxPyBeginAllowThreads();
23758 (arg1)->SetFilterIndex(arg2);
23759
23760 wxPyEndAllowThreads(__tstate);
23761 if (PyErr_Occurred()) SWIG_fail;
23762 }
23763 Py_INCREF(Py_None); resultobj = Py_None;
23764 return resultobj;
23765 fail:
23766 return NULL;
23767 }
23768
23769
23770 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23771 PyObject *resultobj;
23772 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23773 wxTreeItemId result;
23774 PyObject * obj0 = 0 ;
23775 char *kwnames[] = {
23776 (char *) "self", NULL
23777 };
23778
23779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23781 {
23782 PyThreadState* __tstate = wxPyBeginAllowThreads();
23783 result = (arg1)->GetRootId();
23784
23785 wxPyEndAllowThreads(__tstate);
23786 if (PyErr_Occurred()) SWIG_fail;
23787 }
23788 {
23789 wxTreeItemId * resultptr;
23790 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23791 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23792 }
23793 return resultobj;
23794 fail:
23795 return NULL;
23796 }
23797
23798
23799 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23800 PyObject *resultobj;
23801 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23802 wxTreeCtrl *result;
23803 PyObject * obj0 = 0 ;
23804 char *kwnames[] = {
23805 (char *) "self", NULL
23806 };
23807
23808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23810 {
23811 PyThreadState* __tstate = wxPyBeginAllowThreads();
23812 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23813
23814 wxPyEndAllowThreads(__tstate);
23815 if (PyErr_Occurred()) SWIG_fail;
23816 }
23817 {
23818 resultobj = wxPyMake_wxObject(result);
23819 }
23820 return resultobj;
23821 fail:
23822 return NULL;
23823 }
23824
23825
23826 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23827 PyObject *resultobj;
23828 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23829 wxDirFilterListCtrl *result;
23830 PyObject * obj0 = 0 ;
23831 char *kwnames[] = {
23832 (char *) "self", NULL
23833 };
23834
23835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23837 {
23838 PyThreadState* __tstate = wxPyBeginAllowThreads();
23839 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23840
23841 wxPyEndAllowThreads(__tstate);
23842 if (PyErr_Occurred()) SWIG_fail;
23843 }
23844 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23845 return resultobj;
23846 fail:
23847 return NULL;
23848 }
23849
23850
23851 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23852 PyObject *resultobj;
23853 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23854 wxTreeItemId arg2 ;
23855 wxString *arg3 = 0 ;
23856 bool *arg4 = 0 ;
23857 wxTreeItemId result;
23858 wxTreeItemId *argp2 ;
23859 bool temp3 = False ;
23860 bool temp4 ;
23861 PyObject * obj0 = 0 ;
23862 PyObject * obj1 = 0 ;
23863 PyObject * obj2 = 0 ;
23864 char *kwnames[] = {
23865 (char *) "self",(char *) "parentId",(char *) "path", NULL
23866 };
23867
23868 arg4 = &temp4;
23869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23871 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23872 arg2 = *argp2;
23873 {
23874 arg3 = wxString_in_helper(obj2);
23875 if (arg3 == NULL) SWIG_fail;
23876 temp3 = True;
23877 }
23878 {
23879 PyThreadState* __tstate = wxPyBeginAllowThreads();
23880 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23881
23882 wxPyEndAllowThreads(__tstate);
23883 if (PyErr_Occurred()) SWIG_fail;
23884 }
23885 {
23886 wxTreeItemId * resultptr;
23887 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23888 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23889 }
23890 {
23891 PyObject *o = PyInt_FromLong((long) (*arg4));
23892 resultobj = t_output_helper(resultobj,o);
23893 }
23894 {
23895 if (temp3)
23896 delete arg3;
23897 }
23898 return resultobj;
23899 fail:
23900 {
23901 if (temp3)
23902 delete arg3;
23903 }
23904 return NULL;
23905 }
23906
23907
23908 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23909 PyObject *resultobj;
23910 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23911 PyObject * obj0 = 0 ;
23912 char *kwnames[] = {
23913 (char *) "self", NULL
23914 };
23915
23916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23918 {
23919 PyThreadState* __tstate = wxPyBeginAllowThreads();
23920 (arg1)->DoResize();
23921
23922 wxPyEndAllowThreads(__tstate);
23923 if (PyErr_Occurred()) SWIG_fail;
23924 }
23925 Py_INCREF(Py_None); resultobj = Py_None;
23926 return resultobj;
23927 fail:
23928 return NULL;
23929 }
23930
23931
23932 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23933 PyObject *resultobj;
23934 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23935 PyObject * obj0 = 0 ;
23936 char *kwnames[] = {
23937 (char *) "self", NULL
23938 };
23939
23940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23942 {
23943 PyThreadState* __tstate = wxPyBeginAllowThreads();
23944 (arg1)->ReCreateTree();
23945
23946 wxPyEndAllowThreads(__tstate);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 Py_INCREF(Py_None); resultobj = Py_None;
23950 return resultobj;
23951 fail:
23952 return NULL;
23953 }
23954
23955
23956 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23957 PyObject *obj;
23958 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23959 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23960 Py_INCREF(obj);
23961 return Py_BuildValue((char *)"");
23962 }
23963 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23964 PyObject *resultobj;
23965 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23966 int arg2 = (int) (int)-1 ;
23967 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23968 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23969 wxSize const &arg4_defvalue = wxDefaultSize ;
23970 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23971 long arg5 = (long) 0 ;
23972 wxDirFilterListCtrl *result;
23973 wxPoint temp3 ;
23974 wxSize temp4 ;
23975 PyObject * obj0 = 0 ;
23976 PyObject * obj2 = 0 ;
23977 PyObject * obj3 = 0 ;
23978 char *kwnames[] = {
23979 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23980 };
23981
23982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23984 if (obj2) {
23985 {
23986 arg3 = &temp3;
23987 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23988 }
23989 }
23990 if (obj3) {
23991 {
23992 arg4 = &temp4;
23993 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23994 }
23995 }
23996 {
23997 PyThreadState* __tstate = wxPyBeginAllowThreads();
23998 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23999
24000 wxPyEndAllowThreads(__tstate);
24001 if (PyErr_Occurred()) SWIG_fail;
24002 }
24003 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24004 return resultobj;
24005 fail:
24006 return NULL;
24007 }
24008
24009
24010 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24011 PyObject *resultobj;
24012 wxDirFilterListCtrl *result;
24013 char *kwnames[] = {
24014 NULL
24015 };
24016
24017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24018 {
24019 PyThreadState* __tstate = wxPyBeginAllowThreads();
24020 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24021
24022 wxPyEndAllowThreads(__tstate);
24023 if (PyErr_Occurred()) SWIG_fail;
24024 }
24025 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24026 return resultobj;
24027 fail:
24028 return NULL;
24029 }
24030
24031
24032 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24033 PyObject *resultobj;
24034 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24035 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
24036 int arg3 = (int) (int)-1 ;
24037 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24038 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24039 wxSize const &arg5_defvalue = wxDefaultSize ;
24040 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24041 long arg6 = (long) 0 ;
24042 bool result;
24043 wxPoint temp4 ;
24044 wxSize temp5 ;
24045 PyObject * obj0 = 0 ;
24046 PyObject * obj1 = 0 ;
24047 PyObject * obj3 = 0 ;
24048 PyObject * obj4 = 0 ;
24049 char *kwnames[] = {
24050 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24051 };
24052
24053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24056 if (obj3) {
24057 {
24058 arg4 = &temp4;
24059 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24060 }
24061 }
24062 if (obj4) {
24063 {
24064 arg5 = &temp5;
24065 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24066 }
24067 }
24068 {
24069 PyThreadState* __tstate = wxPyBeginAllowThreads();
24070 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24071
24072 wxPyEndAllowThreads(__tstate);
24073 if (PyErr_Occurred()) SWIG_fail;
24074 }
24075 resultobj = PyInt_FromLong((long)result);
24076 return resultobj;
24077 fail:
24078 return NULL;
24079 }
24080
24081
24082 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24083 PyObject *resultobj;
24084 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24085 wxString *arg2 = 0 ;
24086 int arg3 ;
24087 bool temp2 = False ;
24088 PyObject * obj0 = 0 ;
24089 PyObject * obj1 = 0 ;
24090 char *kwnames[] = {
24091 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24092 };
24093
24094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24096 {
24097 arg2 = wxString_in_helper(obj1);
24098 if (arg2 == NULL) SWIG_fail;
24099 temp2 = True;
24100 }
24101 {
24102 PyThreadState* __tstate = wxPyBeginAllowThreads();
24103 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24104
24105 wxPyEndAllowThreads(__tstate);
24106 if (PyErr_Occurred()) SWIG_fail;
24107 }
24108 Py_INCREF(Py_None); resultobj = Py_None;
24109 {
24110 if (temp2)
24111 delete arg2;
24112 }
24113 return resultobj;
24114 fail:
24115 {
24116 if (temp2)
24117 delete arg2;
24118 }
24119 return NULL;
24120 }
24121
24122
24123 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24124 PyObject *obj;
24125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24126 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24127 Py_INCREF(obj);
24128 return Py_BuildValue((char *)"");
24129 }
24130 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24131 PyObject *resultobj;
24132 wxWindow *arg1 = (wxWindow *) 0 ;
24133 int arg2 ;
24134 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24135 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24136 wxSize const &arg4_defvalue = wxDefaultSize ;
24137 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24138 long arg5 = (long) 0 ;
24139 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24140 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24141 wxString const &arg7_defvalue = wxPyControlNameStr ;
24142 wxString *arg7 = (wxString *) &arg7_defvalue ;
24143 wxPyControl *result;
24144 wxPoint temp3 ;
24145 wxSize temp4 ;
24146 bool temp7 = False ;
24147 PyObject * obj0 = 0 ;
24148 PyObject * obj2 = 0 ;
24149 PyObject * obj3 = 0 ;
24150 PyObject * obj5 = 0 ;
24151 PyObject * obj6 = 0 ;
24152 char *kwnames[] = {
24153 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24154 };
24155
24156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24158 if (obj2) {
24159 {
24160 arg3 = &temp3;
24161 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24162 }
24163 }
24164 if (obj3) {
24165 {
24166 arg4 = &temp4;
24167 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24168 }
24169 }
24170 if (obj5) {
24171 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24172 if (arg6 == NULL) {
24173 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24174 }
24175 }
24176 if (obj6) {
24177 {
24178 arg7 = wxString_in_helper(obj6);
24179 if (arg7 == NULL) SWIG_fail;
24180 temp7 = True;
24181 }
24182 }
24183 {
24184 PyThreadState* __tstate = wxPyBeginAllowThreads();
24185 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24186
24187 wxPyEndAllowThreads(__tstate);
24188 if (PyErr_Occurred()) SWIG_fail;
24189 }
24190 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24191 {
24192 if (temp7)
24193 delete arg7;
24194 }
24195 return resultobj;
24196 fail:
24197 {
24198 if (temp7)
24199 delete arg7;
24200 }
24201 return NULL;
24202 }
24203
24204
24205 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24206 PyObject *resultobj;
24207 wxPyControl *arg1 = (wxPyControl *) 0 ;
24208 PyObject *arg2 = (PyObject *) 0 ;
24209 PyObject *arg3 = (PyObject *) 0 ;
24210 PyObject * obj0 = 0 ;
24211 PyObject * obj1 = 0 ;
24212 PyObject * obj2 = 0 ;
24213 char *kwnames[] = {
24214 (char *) "self",(char *) "self",(char *) "_class", NULL
24215 };
24216
24217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24219 arg2 = obj1;
24220 arg3 = obj2;
24221 {
24222 PyThreadState* __tstate = wxPyBeginAllowThreads();
24223 (arg1)->_setCallbackInfo(arg2,arg3);
24224
24225 wxPyEndAllowThreads(__tstate);
24226 if (PyErr_Occurred()) SWIG_fail;
24227 }
24228 Py_INCREF(Py_None); resultobj = Py_None;
24229 return resultobj;
24230 fail:
24231 return NULL;
24232 }
24233
24234
24235 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24236 PyObject *resultobj;
24237 wxPyControl *arg1 = (wxPyControl *) 0 ;
24238 int arg2 ;
24239 int arg3 ;
24240 int arg4 ;
24241 int arg5 ;
24242 PyObject * obj0 = 0 ;
24243 char *kwnames[] = {
24244 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24245 };
24246
24247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24249 {
24250 PyThreadState* __tstate = wxPyBeginAllowThreads();
24251 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24252
24253 wxPyEndAllowThreads(__tstate);
24254 if (PyErr_Occurred()) SWIG_fail;
24255 }
24256 Py_INCREF(Py_None); resultobj = Py_None;
24257 return resultobj;
24258 fail:
24259 return NULL;
24260 }
24261
24262
24263 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24264 PyObject *resultobj;
24265 wxPyControl *arg1 = (wxPyControl *) 0 ;
24266 int arg2 ;
24267 int arg3 ;
24268 int arg4 ;
24269 int arg5 ;
24270 int arg6 = (int) wxSIZE_AUTO ;
24271 PyObject * obj0 = 0 ;
24272 char *kwnames[] = {
24273 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24274 };
24275
24276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24278 {
24279 PyThreadState* __tstate = wxPyBeginAllowThreads();
24280 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24281
24282 wxPyEndAllowThreads(__tstate);
24283 if (PyErr_Occurred()) SWIG_fail;
24284 }
24285 Py_INCREF(Py_None); resultobj = Py_None;
24286 return resultobj;
24287 fail:
24288 return NULL;
24289 }
24290
24291
24292 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24293 PyObject *resultobj;
24294 wxPyControl *arg1 = (wxPyControl *) 0 ;
24295 int arg2 ;
24296 int arg3 ;
24297 PyObject * obj0 = 0 ;
24298 char *kwnames[] = {
24299 (char *) "self",(char *) "width",(char *) "height", NULL
24300 };
24301
24302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24304 {
24305 PyThreadState* __tstate = wxPyBeginAllowThreads();
24306 (arg1)->base_DoSetClientSize(arg2,arg3);
24307
24308 wxPyEndAllowThreads(__tstate);
24309 if (PyErr_Occurred()) SWIG_fail;
24310 }
24311 Py_INCREF(Py_None); resultobj = Py_None;
24312 return resultobj;
24313 fail:
24314 return NULL;
24315 }
24316
24317
24318 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24319 PyObject *resultobj;
24320 wxPyControl *arg1 = (wxPyControl *) 0 ;
24321 int arg2 ;
24322 int arg3 ;
24323 PyObject * obj0 = 0 ;
24324 char *kwnames[] = {
24325 (char *) "self",(char *) "x",(char *) "y", NULL
24326 };
24327
24328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24330 {
24331 PyThreadState* __tstate = wxPyBeginAllowThreads();
24332 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24333
24334 wxPyEndAllowThreads(__tstate);
24335 if (PyErr_Occurred()) SWIG_fail;
24336 }
24337 Py_INCREF(Py_None); resultobj = Py_None;
24338 return resultobj;
24339 fail:
24340 return NULL;
24341 }
24342
24343
24344 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24345 PyObject *resultobj;
24346 wxPyControl *arg1 = (wxPyControl *) 0 ;
24347 int *arg2 = (int *) 0 ;
24348 int *arg3 = (int *) 0 ;
24349 int temp2 ;
24350 int temp3 ;
24351 PyObject * obj0 = 0 ;
24352 char *kwnames[] = {
24353 (char *) "self", NULL
24354 };
24355
24356 arg2 = &temp2;
24357 arg3 = &temp3;
24358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24360 {
24361 PyThreadState* __tstate = wxPyBeginAllowThreads();
24362 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24363
24364 wxPyEndAllowThreads(__tstate);
24365 if (PyErr_Occurred()) SWIG_fail;
24366 }
24367 Py_INCREF(Py_None); resultobj = Py_None;
24368 {
24369 PyObject *o = PyInt_FromLong((long) (*arg2));
24370 resultobj = t_output_helper(resultobj,o);
24371 }
24372 {
24373 PyObject *o = PyInt_FromLong((long) (*arg3));
24374 resultobj = t_output_helper(resultobj,o);
24375 }
24376 return resultobj;
24377 fail:
24378 return NULL;
24379 }
24380
24381
24382 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24383 PyObject *resultobj;
24384 wxPyControl *arg1 = (wxPyControl *) 0 ;
24385 int *arg2 = (int *) 0 ;
24386 int *arg3 = (int *) 0 ;
24387 int temp2 ;
24388 int temp3 ;
24389 PyObject * obj0 = 0 ;
24390 char *kwnames[] = {
24391 (char *) "self", NULL
24392 };
24393
24394 arg2 = &temp2;
24395 arg3 = &temp3;
24396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24398 {
24399 PyThreadState* __tstate = wxPyBeginAllowThreads();
24400 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24401
24402 wxPyEndAllowThreads(__tstate);
24403 if (PyErr_Occurred()) SWIG_fail;
24404 }
24405 Py_INCREF(Py_None); resultobj = Py_None;
24406 {
24407 PyObject *o = PyInt_FromLong((long) (*arg2));
24408 resultobj = t_output_helper(resultobj,o);
24409 }
24410 {
24411 PyObject *o = PyInt_FromLong((long) (*arg3));
24412 resultobj = t_output_helper(resultobj,o);
24413 }
24414 return resultobj;
24415 fail:
24416 return NULL;
24417 }
24418
24419
24420 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24421 PyObject *resultobj;
24422 wxPyControl *arg1 = (wxPyControl *) 0 ;
24423 int *arg2 = (int *) 0 ;
24424 int *arg3 = (int *) 0 ;
24425 int temp2 ;
24426 int temp3 ;
24427 PyObject * obj0 = 0 ;
24428 char *kwnames[] = {
24429 (char *) "self", NULL
24430 };
24431
24432 arg2 = &temp2;
24433 arg3 = &temp3;
24434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24436 {
24437 PyThreadState* __tstate = wxPyBeginAllowThreads();
24438 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24439
24440 wxPyEndAllowThreads(__tstate);
24441 if (PyErr_Occurred()) SWIG_fail;
24442 }
24443 Py_INCREF(Py_None); resultobj = Py_None;
24444 {
24445 PyObject *o = PyInt_FromLong((long) (*arg2));
24446 resultobj = t_output_helper(resultobj,o);
24447 }
24448 {
24449 PyObject *o = PyInt_FromLong((long) (*arg3));
24450 resultobj = t_output_helper(resultobj,o);
24451 }
24452 return resultobj;
24453 fail:
24454 return NULL;
24455 }
24456
24457
24458 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24459 PyObject *resultobj;
24460 wxPyControl *arg1 = (wxPyControl *) 0 ;
24461 wxSize result;
24462 PyObject * obj0 = 0 ;
24463 char *kwnames[] = {
24464 (char *) "self", NULL
24465 };
24466
24467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24469 {
24470 PyThreadState* __tstate = wxPyBeginAllowThreads();
24471 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24472
24473 wxPyEndAllowThreads(__tstate);
24474 if (PyErr_Occurred()) SWIG_fail;
24475 }
24476 {
24477 wxSize * resultptr;
24478 resultptr = new wxSize((wxSize &) result);
24479 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24480 }
24481 return resultobj;
24482 fail:
24483 return NULL;
24484 }
24485
24486
24487 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24488 PyObject *resultobj;
24489 wxPyControl *arg1 = (wxPyControl *) 0 ;
24490 wxSize result;
24491 PyObject * obj0 = 0 ;
24492 char *kwnames[] = {
24493 (char *) "self", NULL
24494 };
24495
24496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24498 {
24499 PyThreadState* __tstate = wxPyBeginAllowThreads();
24500 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24501
24502 wxPyEndAllowThreads(__tstate);
24503 if (PyErr_Occurred()) SWIG_fail;
24504 }
24505 {
24506 wxSize * resultptr;
24507 resultptr = new wxSize((wxSize &) result);
24508 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24509 }
24510 return resultobj;
24511 fail:
24512 return NULL;
24513 }
24514
24515
24516 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24517 PyObject *resultobj;
24518 wxPyControl *arg1 = (wxPyControl *) 0 ;
24519 PyObject * obj0 = 0 ;
24520 char *kwnames[] = {
24521 (char *) "self", NULL
24522 };
24523
24524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24526 {
24527 PyThreadState* __tstate = wxPyBeginAllowThreads();
24528 (arg1)->base_InitDialog();
24529
24530 wxPyEndAllowThreads(__tstate);
24531 if (PyErr_Occurred()) SWIG_fail;
24532 }
24533 Py_INCREF(Py_None); resultobj = Py_None;
24534 return resultobj;
24535 fail:
24536 return NULL;
24537 }
24538
24539
24540 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24541 PyObject *resultobj;
24542 wxPyControl *arg1 = (wxPyControl *) 0 ;
24543 bool result;
24544 PyObject * obj0 = 0 ;
24545 char *kwnames[] = {
24546 (char *) "self", NULL
24547 };
24548
24549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24551 {
24552 PyThreadState* __tstate = wxPyBeginAllowThreads();
24553 result = (bool)(arg1)->base_TransferDataToWindow();
24554
24555 wxPyEndAllowThreads(__tstate);
24556 if (PyErr_Occurred()) SWIG_fail;
24557 }
24558 resultobj = PyInt_FromLong((long)result);
24559 return resultobj;
24560 fail:
24561 return NULL;
24562 }
24563
24564
24565 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24566 PyObject *resultobj;
24567 wxPyControl *arg1 = (wxPyControl *) 0 ;
24568 bool result;
24569 PyObject * obj0 = 0 ;
24570 char *kwnames[] = {
24571 (char *) "self", NULL
24572 };
24573
24574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24576 {
24577 PyThreadState* __tstate = wxPyBeginAllowThreads();
24578 result = (bool)(arg1)->base_TransferDataFromWindow();
24579
24580 wxPyEndAllowThreads(__tstate);
24581 if (PyErr_Occurred()) SWIG_fail;
24582 }
24583 resultobj = PyInt_FromLong((long)result);
24584 return resultobj;
24585 fail:
24586 return NULL;
24587 }
24588
24589
24590 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24591 PyObject *resultobj;
24592 wxPyControl *arg1 = (wxPyControl *) 0 ;
24593 bool result;
24594 PyObject * obj0 = 0 ;
24595 char *kwnames[] = {
24596 (char *) "self", NULL
24597 };
24598
24599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24601 {
24602 PyThreadState* __tstate = wxPyBeginAllowThreads();
24603 result = (bool)(arg1)->base_Validate();
24604
24605 wxPyEndAllowThreads(__tstate);
24606 if (PyErr_Occurred()) SWIG_fail;
24607 }
24608 resultobj = PyInt_FromLong((long)result);
24609 return resultobj;
24610 fail:
24611 return NULL;
24612 }
24613
24614
24615 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24616 PyObject *resultobj;
24617 wxPyControl *arg1 = (wxPyControl *) 0 ;
24618 bool result;
24619 PyObject * obj0 = 0 ;
24620 char *kwnames[] = {
24621 (char *) "self", NULL
24622 };
24623
24624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24626 {
24627 PyThreadState* __tstate = wxPyBeginAllowThreads();
24628 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24629
24630 wxPyEndAllowThreads(__tstate);
24631 if (PyErr_Occurred()) SWIG_fail;
24632 }
24633 resultobj = PyInt_FromLong((long)result);
24634 return resultobj;
24635 fail:
24636 return NULL;
24637 }
24638
24639
24640 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24641 PyObject *resultobj;
24642 wxPyControl *arg1 = (wxPyControl *) 0 ;
24643 bool result;
24644 PyObject * obj0 = 0 ;
24645 char *kwnames[] = {
24646 (char *) "self", NULL
24647 };
24648
24649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24651 {
24652 PyThreadState* __tstate = wxPyBeginAllowThreads();
24653 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24654
24655 wxPyEndAllowThreads(__tstate);
24656 if (PyErr_Occurred()) SWIG_fail;
24657 }
24658 resultobj = PyInt_FromLong((long)result);
24659 return resultobj;
24660 fail:
24661 return NULL;
24662 }
24663
24664
24665 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24666 PyObject *resultobj;
24667 wxPyControl *arg1 = (wxPyControl *) 0 ;
24668 wxSize result;
24669 PyObject * obj0 = 0 ;
24670 char *kwnames[] = {
24671 (char *) "self", NULL
24672 };
24673
24674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24676 {
24677 PyThreadState* __tstate = wxPyBeginAllowThreads();
24678 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24679
24680 wxPyEndAllowThreads(__tstate);
24681 if (PyErr_Occurred()) SWIG_fail;
24682 }
24683 {
24684 wxSize * resultptr;
24685 resultptr = new wxSize((wxSize &) result);
24686 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24687 }
24688 return resultobj;
24689 fail:
24690 return NULL;
24691 }
24692
24693
24694 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24695 PyObject *resultobj;
24696 wxPyControl *arg1 = (wxPyControl *) 0 ;
24697 wxWindow *arg2 = (wxWindow *) 0 ;
24698 PyObject * obj0 = 0 ;
24699 PyObject * obj1 = 0 ;
24700 char *kwnames[] = {
24701 (char *) "self",(char *) "child", NULL
24702 };
24703
24704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24706 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24707 {
24708 PyThreadState* __tstate = wxPyBeginAllowThreads();
24709 (arg1)->base_AddChild(arg2);
24710
24711 wxPyEndAllowThreads(__tstate);
24712 if (PyErr_Occurred()) SWIG_fail;
24713 }
24714 Py_INCREF(Py_None); resultobj = Py_None;
24715 return resultobj;
24716 fail:
24717 return NULL;
24718 }
24719
24720
24721 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24722 PyObject *resultobj;
24723 wxPyControl *arg1 = (wxPyControl *) 0 ;
24724 wxWindow *arg2 = (wxWindow *) 0 ;
24725 PyObject * obj0 = 0 ;
24726 PyObject * obj1 = 0 ;
24727 char *kwnames[] = {
24728 (char *) "self",(char *) "child", NULL
24729 };
24730
24731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24734 {
24735 PyThreadState* __tstate = wxPyBeginAllowThreads();
24736 (arg1)->base_RemoveChild(arg2);
24737
24738 wxPyEndAllowThreads(__tstate);
24739 if (PyErr_Occurred()) SWIG_fail;
24740 }
24741 Py_INCREF(Py_None); resultobj = Py_None;
24742 return resultobj;
24743 fail:
24744 return NULL;
24745 }
24746
24747
24748 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24749 PyObject *obj;
24750 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24751 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24752 Py_INCREF(obj);
24753 return Py_BuildValue((char *)"");
24754 }
24755 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24756 PyObject *resultobj;
24757 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24758 int arg2 = (int) 0 ;
24759 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24760 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24761 wxHelpEvent *result;
24762 wxPoint temp3 ;
24763 PyObject * obj2 = 0 ;
24764 char *kwnames[] = {
24765 (char *) "type",(char *) "winid",(char *) "pt", NULL
24766 };
24767
24768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24769 if (obj2) {
24770 {
24771 arg3 = &temp3;
24772 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24773 }
24774 }
24775 {
24776 PyThreadState* __tstate = wxPyBeginAllowThreads();
24777 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24778
24779 wxPyEndAllowThreads(__tstate);
24780 if (PyErr_Occurred()) SWIG_fail;
24781 }
24782 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24783 return resultobj;
24784 fail:
24785 return NULL;
24786 }
24787
24788
24789 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24790 PyObject *resultobj;
24791 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24792 wxPoint *result;
24793 PyObject * obj0 = 0 ;
24794 char *kwnames[] = {
24795 (char *) "self", NULL
24796 };
24797
24798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24800 {
24801 PyThreadState* __tstate = wxPyBeginAllowThreads();
24802 {
24803 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24804 result = (wxPoint *) &_result_ref;
24805 }
24806
24807 wxPyEndAllowThreads(__tstate);
24808 if (PyErr_Occurred()) SWIG_fail;
24809 }
24810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24811 return resultobj;
24812 fail:
24813 return NULL;
24814 }
24815
24816
24817 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24818 PyObject *resultobj;
24819 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24820 wxPoint *arg2 = 0 ;
24821 wxPoint temp2 ;
24822 PyObject * obj0 = 0 ;
24823 PyObject * obj1 = 0 ;
24824 char *kwnames[] = {
24825 (char *) "self",(char *) "pos", NULL
24826 };
24827
24828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24830 {
24831 arg2 = &temp2;
24832 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24833 }
24834 {
24835 PyThreadState* __tstate = wxPyBeginAllowThreads();
24836 (arg1)->SetPosition((wxPoint const &)*arg2);
24837
24838 wxPyEndAllowThreads(__tstate);
24839 if (PyErr_Occurred()) SWIG_fail;
24840 }
24841 Py_INCREF(Py_None); resultobj = Py_None;
24842 return resultobj;
24843 fail:
24844 return NULL;
24845 }
24846
24847
24848 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24849 PyObject *resultobj;
24850 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24851 wxString *result;
24852 PyObject * obj0 = 0 ;
24853 char *kwnames[] = {
24854 (char *) "self", NULL
24855 };
24856
24857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24859 {
24860 PyThreadState* __tstate = wxPyBeginAllowThreads();
24861 {
24862 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24863 result = (wxString *) &_result_ref;
24864 }
24865
24866 wxPyEndAllowThreads(__tstate);
24867 if (PyErr_Occurred()) SWIG_fail;
24868 }
24869 {
24870 #if wxUSE_UNICODE
24871 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24872 #else
24873 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24874 #endif
24875 }
24876 return resultobj;
24877 fail:
24878 return NULL;
24879 }
24880
24881
24882 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24883 PyObject *resultobj;
24884 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24885 wxString *arg2 = 0 ;
24886 bool temp2 = False ;
24887 PyObject * obj0 = 0 ;
24888 PyObject * obj1 = 0 ;
24889 char *kwnames[] = {
24890 (char *) "self",(char *) "link", NULL
24891 };
24892
24893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24895 {
24896 arg2 = wxString_in_helper(obj1);
24897 if (arg2 == NULL) SWIG_fail;
24898 temp2 = True;
24899 }
24900 {
24901 PyThreadState* __tstate = wxPyBeginAllowThreads();
24902 (arg1)->SetLink((wxString const &)*arg2);
24903
24904 wxPyEndAllowThreads(__tstate);
24905 if (PyErr_Occurred()) SWIG_fail;
24906 }
24907 Py_INCREF(Py_None); resultobj = Py_None;
24908 {
24909 if (temp2)
24910 delete arg2;
24911 }
24912 return resultobj;
24913 fail:
24914 {
24915 if (temp2)
24916 delete arg2;
24917 }
24918 return NULL;
24919 }
24920
24921
24922 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24923 PyObject *resultobj;
24924 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24925 wxString *result;
24926 PyObject * obj0 = 0 ;
24927 char *kwnames[] = {
24928 (char *) "self", NULL
24929 };
24930
24931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24933 {
24934 PyThreadState* __tstate = wxPyBeginAllowThreads();
24935 {
24936 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24937 result = (wxString *) &_result_ref;
24938 }
24939
24940 wxPyEndAllowThreads(__tstate);
24941 if (PyErr_Occurred()) SWIG_fail;
24942 }
24943 {
24944 #if wxUSE_UNICODE
24945 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24946 #else
24947 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24948 #endif
24949 }
24950 return resultobj;
24951 fail:
24952 return NULL;
24953 }
24954
24955
24956 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24957 PyObject *resultobj;
24958 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24959 wxString *arg2 = 0 ;
24960 bool temp2 = False ;
24961 PyObject * obj0 = 0 ;
24962 PyObject * obj1 = 0 ;
24963 char *kwnames[] = {
24964 (char *) "self",(char *) "target", NULL
24965 };
24966
24967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24969 {
24970 arg2 = wxString_in_helper(obj1);
24971 if (arg2 == NULL) SWIG_fail;
24972 temp2 = True;
24973 }
24974 {
24975 PyThreadState* __tstate = wxPyBeginAllowThreads();
24976 (arg1)->SetTarget((wxString const &)*arg2);
24977
24978 wxPyEndAllowThreads(__tstate);
24979 if (PyErr_Occurred()) SWIG_fail;
24980 }
24981 Py_INCREF(Py_None); resultobj = Py_None;
24982 {
24983 if (temp2)
24984 delete arg2;
24985 }
24986 return resultobj;
24987 fail:
24988 {
24989 if (temp2)
24990 delete arg2;
24991 }
24992 return NULL;
24993 }
24994
24995
24996 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24997 PyObject *obj;
24998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24999 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
25000 Py_INCREF(obj);
25001 return Py_BuildValue((char *)"");
25002 }
25003 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25004 PyObject *resultobj;
25005 wxWindow *arg1 = (wxWindow *) NULL ;
25006 bool arg2 = (bool) True ;
25007 wxContextHelp *result;
25008 PyObject * obj0 = 0 ;
25009 PyObject * obj1 = 0 ;
25010 char *kwnames[] = {
25011 (char *) "window",(char *) "doNow", NULL
25012 };
25013
25014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
25015 if (obj0) {
25016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25017 }
25018 if (obj1) {
25019 arg2 = PyInt_AsLong(obj1) ? true : false;
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 {
25023 PyThreadState* __tstate = wxPyBeginAllowThreads();
25024 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
25025
25026 wxPyEndAllowThreads(__tstate);
25027 if (PyErr_Occurred()) SWIG_fail;
25028 }
25029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25030 return resultobj;
25031 fail:
25032 return NULL;
25033 }
25034
25035
25036 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25037 PyObject *resultobj;
25038 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25039 PyObject * obj0 = 0 ;
25040 char *kwnames[] = {
25041 (char *) "self", NULL
25042 };
25043
25044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25046 {
25047 PyThreadState* __tstate = wxPyBeginAllowThreads();
25048 delete arg1;
25049
25050 wxPyEndAllowThreads(__tstate);
25051 if (PyErr_Occurred()) SWIG_fail;
25052 }
25053 Py_INCREF(Py_None); resultobj = Py_None;
25054 return resultobj;
25055 fail:
25056 return NULL;
25057 }
25058
25059
25060 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25061 PyObject *resultobj;
25062 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25063 wxWindow *arg2 = (wxWindow *) NULL ;
25064 bool result;
25065 PyObject * obj0 = 0 ;
25066 PyObject * obj1 = 0 ;
25067 char *kwnames[] = {
25068 (char *) "self",(char *) "window", NULL
25069 };
25070
25071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25073 if (obj1) {
25074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25075 }
25076 {
25077 PyThreadState* __tstate = wxPyBeginAllowThreads();
25078 result = (bool)(arg1)->BeginContextHelp(arg2);
25079
25080 wxPyEndAllowThreads(__tstate);
25081 if (PyErr_Occurred()) SWIG_fail;
25082 }
25083 resultobj = PyInt_FromLong((long)result);
25084 return resultobj;
25085 fail:
25086 return NULL;
25087 }
25088
25089
25090 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25091 PyObject *resultobj;
25092 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25093 bool result;
25094 PyObject * obj0 = 0 ;
25095 char *kwnames[] = {
25096 (char *) "self", NULL
25097 };
25098
25099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25101 {
25102 PyThreadState* __tstate = wxPyBeginAllowThreads();
25103 result = (bool)(arg1)->EndContextHelp();
25104
25105 wxPyEndAllowThreads(__tstate);
25106 if (PyErr_Occurred()) SWIG_fail;
25107 }
25108 resultobj = PyInt_FromLong((long)result);
25109 return resultobj;
25110 fail:
25111 return NULL;
25112 }
25113
25114
25115 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25116 PyObject *obj;
25117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25118 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25119 Py_INCREF(obj);
25120 return Py_BuildValue((char *)"");
25121 }
25122 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25123 PyObject *resultobj;
25124 wxWindow *arg1 = (wxWindow *) 0 ;
25125 int arg2 = (int) wxID_CONTEXT_HELP ;
25126 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25127 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25128 wxSize const &arg4_defvalue = wxDefaultSize ;
25129 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25130 long arg5 = (long) wxBU_AUTODRAW ;
25131 wxContextHelpButton *result;
25132 wxPoint temp3 ;
25133 wxSize temp4 ;
25134 PyObject * obj0 = 0 ;
25135 PyObject * obj2 = 0 ;
25136 PyObject * obj3 = 0 ;
25137 char *kwnames[] = {
25138 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25139 };
25140
25141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25143 if (obj2) {
25144 {
25145 arg3 = &temp3;
25146 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25147 }
25148 }
25149 if (obj3) {
25150 {
25151 arg4 = &temp4;
25152 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25153 }
25154 }
25155 {
25156 PyThreadState* __tstate = wxPyBeginAllowThreads();
25157 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25158
25159 wxPyEndAllowThreads(__tstate);
25160 if (PyErr_Occurred()) SWIG_fail;
25161 }
25162 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25163 return resultobj;
25164 fail:
25165 return NULL;
25166 }
25167
25168
25169 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25170 PyObject *obj;
25171 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25172 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25173 Py_INCREF(obj);
25174 return Py_BuildValue((char *)"");
25175 }
25176 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25177 PyObject *resultobj;
25178 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25179 wxHelpProvider *result;
25180 PyObject * obj0 = 0 ;
25181 char *kwnames[] = {
25182 (char *) "helpProvider", NULL
25183 };
25184
25185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25187 {
25188 PyThreadState* __tstate = wxPyBeginAllowThreads();
25189 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25190
25191 wxPyEndAllowThreads(__tstate);
25192 if (PyErr_Occurred()) SWIG_fail;
25193 }
25194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25195 return resultobj;
25196 fail:
25197 return NULL;
25198 }
25199
25200
25201 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25202 PyObject *resultobj;
25203 wxHelpProvider *result;
25204 char *kwnames[] = {
25205 NULL
25206 };
25207
25208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25209 {
25210 PyThreadState* __tstate = wxPyBeginAllowThreads();
25211 result = (wxHelpProvider *)wxHelpProvider::Get();
25212
25213 wxPyEndAllowThreads(__tstate);
25214 if (PyErr_Occurred()) SWIG_fail;
25215 }
25216 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25217 return resultobj;
25218 fail:
25219 return NULL;
25220 }
25221
25222
25223 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25224 PyObject *resultobj;
25225 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25226 wxWindow *arg2 = (wxWindow *) 0 ;
25227 wxString result;
25228 PyObject * obj0 = 0 ;
25229 PyObject * obj1 = 0 ;
25230 char *kwnames[] = {
25231 (char *) "self",(char *) "window", NULL
25232 };
25233
25234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25236 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25237 {
25238 PyThreadState* __tstate = wxPyBeginAllowThreads();
25239 result = (arg1)->GetHelp((wxWindow const *)arg2);
25240
25241 wxPyEndAllowThreads(__tstate);
25242 if (PyErr_Occurred()) SWIG_fail;
25243 }
25244 {
25245 #if wxUSE_UNICODE
25246 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25247 #else
25248 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25249 #endif
25250 }
25251 return resultobj;
25252 fail:
25253 return NULL;
25254 }
25255
25256
25257 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25258 PyObject *resultobj;
25259 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25260 wxWindow *arg2 = (wxWindow *) 0 ;
25261 bool result;
25262 PyObject * obj0 = 0 ;
25263 PyObject * obj1 = 0 ;
25264 char *kwnames[] = {
25265 (char *) "self",(char *) "window", NULL
25266 };
25267
25268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25271 {
25272 PyThreadState* __tstate = wxPyBeginAllowThreads();
25273 result = (bool)(arg1)->ShowHelp(arg2);
25274
25275 wxPyEndAllowThreads(__tstate);
25276 if (PyErr_Occurred()) SWIG_fail;
25277 }
25278 resultobj = PyInt_FromLong((long)result);
25279 return resultobj;
25280 fail:
25281 return NULL;
25282 }
25283
25284
25285 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25286 PyObject *resultobj;
25287 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25288 wxWindow *arg2 = (wxWindow *) 0 ;
25289 wxString *arg3 = 0 ;
25290 bool temp3 = False ;
25291 PyObject * obj0 = 0 ;
25292 PyObject * obj1 = 0 ;
25293 PyObject * obj2 = 0 ;
25294 char *kwnames[] = {
25295 (char *) "self",(char *) "window",(char *) "text", NULL
25296 };
25297
25298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25300 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25301 {
25302 arg3 = wxString_in_helper(obj2);
25303 if (arg3 == NULL) SWIG_fail;
25304 temp3 = True;
25305 }
25306 {
25307 PyThreadState* __tstate = wxPyBeginAllowThreads();
25308 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25309
25310 wxPyEndAllowThreads(__tstate);
25311 if (PyErr_Occurred()) SWIG_fail;
25312 }
25313 Py_INCREF(Py_None); resultobj = Py_None;
25314 {
25315 if (temp3)
25316 delete arg3;
25317 }
25318 return resultobj;
25319 fail:
25320 {
25321 if (temp3)
25322 delete arg3;
25323 }
25324 return NULL;
25325 }
25326
25327
25328 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25329 PyObject *resultobj;
25330 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25331 int arg2 ;
25332 wxString *arg3 = 0 ;
25333 bool temp3 = False ;
25334 PyObject * obj0 = 0 ;
25335 PyObject * obj2 = 0 ;
25336 char *kwnames[] = {
25337 (char *) "self",(char *) "id",(char *) "text", NULL
25338 };
25339
25340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25342 {
25343 arg3 = wxString_in_helper(obj2);
25344 if (arg3 == NULL) SWIG_fail;
25345 temp3 = True;
25346 }
25347 {
25348 PyThreadState* __tstate = wxPyBeginAllowThreads();
25349 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25350
25351 wxPyEndAllowThreads(__tstate);
25352 if (PyErr_Occurred()) SWIG_fail;
25353 }
25354 Py_INCREF(Py_None); resultobj = Py_None;
25355 {
25356 if (temp3)
25357 delete arg3;
25358 }
25359 return resultobj;
25360 fail:
25361 {
25362 if (temp3)
25363 delete arg3;
25364 }
25365 return NULL;
25366 }
25367
25368
25369 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25370 PyObject *resultobj;
25371 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25372 PyObject * obj0 = 0 ;
25373 char *kwnames[] = {
25374 (char *) "self", NULL
25375 };
25376
25377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25379 {
25380 PyThreadState* __tstate = wxPyBeginAllowThreads();
25381 wxHelpProvider_Destroy(arg1);
25382
25383 wxPyEndAllowThreads(__tstate);
25384 if (PyErr_Occurred()) SWIG_fail;
25385 }
25386 Py_INCREF(Py_None); resultobj = Py_None;
25387 return resultobj;
25388 fail:
25389 return NULL;
25390 }
25391
25392
25393 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25394 PyObject *obj;
25395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25396 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25397 Py_INCREF(obj);
25398 return Py_BuildValue((char *)"");
25399 }
25400 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25401 PyObject *resultobj;
25402 wxSimpleHelpProvider *result;
25403 char *kwnames[] = {
25404 NULL
25405 };
25406
25407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25408 {
25409 PyThreadState* __tstate = wxPyBeginAllowThreads();
25410 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25411
25412 wxPyEndAllowThreads(__tstate);
25413 if (PyErr_Occurred()) SWIG_fail;
25414 }
25415 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25416 return resultobj;
25417 fail:
25418 return NULL;
25419 }
25420
25421
25422 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25423 PyObject *obj;
25424 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25425 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25426 Py_INCREF(obj);
25427 return Py_BuildValue((char *)"");
25428 }
25429 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25430 PyObject *resultobj;
25431 wxBitmap *arg1 = 0 ;
25432 wxCursor const &arg2_defvalue = wxNullCursor ;
25433 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25434 wxGenericDragImage *result;
25435 PyObject * obj0 = 0 ;
25436 PyObject * obj1 = 0 ;
25437 char *kwnames[] = {
25438 (char *) "image",(char *) "cursor", NULL
25439 };
25440
25441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25443 if (arg1 == NULL) {
25444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25445 }
25446 if (obj1) {
25447 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25448 if (arg2 == NULL) {
25449 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25450 }
25451 }
25452 {
25453 PyThreadState* __tstate = wxPyBeginAllowThreads();
25454 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25455
25456 wxPyEndAllowThreads(__tstate);
25457 if (PyErr_Occurred()) SWIG_fail;
25458 }
25459 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25460 return resultobj;
25461 fail:
25462 return NULL;
25463 }
25464
25465
25466 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25467 PyObject *resultobj;
25468 wxIcon *arg1 = 0 ;
25469 wxCursor const &arg2_defvalue = wxNullCursor ;
25470 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25471 wxGenericDragImage *result;
25472 PyObject * obj0 = 0 ;
25473 PyObject * obj1 = 0 ;
25474 char *kwnames[] = {
25475 (char *) "image",(char *) "cursor", NULL
25476 };
25477
25478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25480 if (arg1 == NULL) {
25481 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25482 }
25483 if (obj1) {
25484 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25485 if (arg2 == NULL) {
25486 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25487 }
25488 }
25489 {
25490 PyThreadState* __tstate = wxPyBeginAllowThreads();
25491 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25492
25493 wxPyEndAllowThreads(__tstate);
25494 if (PyErr_Occurred()) SWIG_fail;
25495 }
25496 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25497 return resultobj;
25498 fail:
25499 return NULL;
25500 }
25501
25502
25503 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25504 PyObject *resultobj;
25505 wxString *arg1 = 0 ;
25506 wxCursor const &arg2_defvalue = wxNullCursor ;
25507 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25508 wxGenericDragImage *result;
25509 bool temp1 = False ;
25510 PyObject * obj0 = 0 ;
25511 PyObject * obj1 = 0 ;
25512 char *kwnames[] = {
25513 (char *) "str",(char *) "cursor", NULL
25514 };
25515
25516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25517 {
25518 arg1 = wxString_in_helper(obj0);
25519 if (arg1 == NULL) SWIG_fail;
25520 temp1 = True;
25521 }
25522 if (obj1) {
25523 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25524 if (arg2 == NULL) {
25525 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25526 }
25527 }
25528 {
25529 PyThreadState* __tstate = wxPyBeginAllowThreads();
25530 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25531
25532 wxPyEndAllowThreads(__tstate);
25533 if (PyErr_Occurred()) SWIG_fail;
25534 }
25535 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25536 {
25537 if (temp1)
25538 delete arg1;
25539 }
25540 return resultobj;
25541 fail:
25542 {
25543 if (temp1)
25544 delete arg1;
25545 }
25546 return NULL;
25547 }
25548
25549
25550 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25551 PyObject *resultobj;
25552 wxPyTreeCtrl *arg1 = 0 ;
25553 wxTreeItemId *arg2 = 0 ;
25554 wxGenericDragImage *result;
25555 PyObject * obj0 = 0 ;
25556 PyObject * obj1 = 0 ;
25557 char *kwnames[] = {
25558 (char *) "treeCtrl",(char *) "id", NULL
25559 };
25560
25561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25563 if (arg1 == NULL) {
25564 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25565 }
25566 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25567 if (arg2 == NULL) {
25568 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25569 }
25570 {
25571 PyThreadState* __tstate = wxPyBeginAllowThreads();
25572 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25573
25574 wxPyEndAllowThreads(__tstate);
25575 if (PyErr_Occurred()) SWIG_fail;
25576 }
25577 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25578 return resultobj;
25579 fail:
25580 return NULL;
25581 }
25582
25583
25584 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25585 PyObject *resultobj;
25586 wxPyListCtrl *arg1 = 0 ;
25587 long arg2 ;
25588 wxGenericDragImage *result;
25589 PyObject * obj0 = 0 ;
25590 char *kwnames[] = {
25591 (char *) "listCtrl",(char *) "id", NULL
25592 };
25593
25594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25596 if (arg1 == NULL) {
25597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25598 }
25599 {
25600 PyThreadState* __tstate = wxPyBeginAllowThreads();
25601 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25602
25603 wxPyEndAllowThreads(__tstate);
25604 if (PyErr_Occurred()) SWIG_fail;
25605 }
25606 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25607 return resultobj;
25608 fail:
25609 return NULL;
25610 }
25611
25612
25613 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25614 PyObject *resultobj;
25615 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25616 PyObject * obj0 = 0 ;
25617 char *kwnames[] = {
25618 (char *) "self", NULL
25619 };
25620
25621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25623 {
25624 PyThreadState* __tstate = wxPyBeginAllowThreads();
25625 delete arg1;
25626
25627 wxPyEndAllowThreads(__tstate);
25628 if (PyErr_Occurred()) SWIG_fail;
25629 }
25630 Py_INCREF(Py_None); resultobj = Py_None;
25631 return resultobj;
25632 fail:
25633 return NULL;
25634 }
25635
25636
25637 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25638 PyObject *resultobj;
25639 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25640 wxBitmap *arg2 = (wxBitmap *) 0 ;
25641 PyObject * obj0 = 0 ;
25642 PyObject * obj1 = 0 ;
25643 char *kwnames[] = {
25644 (char *) "self",(char *) "bitmap", NULL
25645 };
25646
25647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25649 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25650 {
25651 PyThreadState* __tstate = wxPyBeginAllowThreads();
25652 (arg1)->SetBackingBitmap(arg2);
25653
25654 wxPyEndAllowThreads(__tstate);
25655 if (PyErr_Occurred()) SWIG_fail;
25656 }
25657 Py_INCREF(Py_None); resultobj = Py_None;
25658 return resultobj;
25659 fail:
25660 return NULL;
25661 }
25662
25663
25664 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25665 PyObject *resultobj;
25666 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25667 wxPoint *arg2 = 0 ;
25668 wxWindow *arg3 = (wxWindow *) 0 ;
25669 bool arg4 = (bool) False ;
25670 wxRect *arg5 = (wxRect *) NULL ;
25671 bool result;
25672 wxPoint temp2 ;
25673 PyObject * obj0 = 0 ;
25674 PyObject * obj1 = 0 ;
25675 PyObject * obj2 = 0 ;
25676 PyObject * obj3 = 0 ;
25677 PyObject * obj4 = 0 ;
25678 char *kwnames[] = {
25679 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25680 };
25681
25682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25684 {
25685 arg2 = &temp2;
25686 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25687 }
25688 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25689 if (obj3) {
25690 arg4 = PyInt_AsLong(obj3) ? true : false;
25691 if (PyErr_Occurred()) SWIG_fail;
25692 }
25693 if (obj4) {
25694 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25695 }
25696 {
25697 PyThreadState* __tstate = wxPyBeginAllowThreads();
25698 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25699
25700 wxPyEndAllowThreads(__tstate);
25701 if (PyErr_Occurred()) SWIG_fail;
25702 }
25703 resultobj = PyInt_FromLong((long)result);
25704 return resultobj;
25705 fail:
25706 return NULL;
25707 }
25708
25709
25710 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25711 PyObject *resultobj;
25712 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25713 wxPoint *arg2 = 0 ;
25714 wxWindow *arg3 = (wxWindow *) 0 ;
25715 wxWindow *arg4 = (wxWindow *) 0 ;
25716 bool result;
25717 wxPoint temp2 ;
25718 PyObject * obj0 = 0 ;
25719 PyObject * obj1 = 0 ;
25720 PyObject * obj2 = 0 ;
25721 PyObject * obj3 = 0 ;
25722 char *kwnames[] = {
25723 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25724 };
25725
25726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25728 {
25729 arg2 = &temp2;
25730 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25731 }
25732 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25733 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25734 {
25735 PyThreadState* __tstate = wxPyBeginAllowThreads();
25736 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
25737
25738 wxPyEndAllowThreads(__tstate);
25739 if (PyErr_Occurred()) SWIG_fail;
25740 }
25741 resultobj = PyInt_FromLong((long)result);
25742 return resultobj;
25743 fail:
25744 return NULL;
25745 }
25746
25747
25748 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25749 PyObject *resultobj;
25750 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25751 bool result;
25752 PyObject * obj0 = 0 ;
25753 char *kwnames[] = {
25754 (char *) "self", NULL
25755 };
25756
25757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
25758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25759 {
25760 PyThreadState* __tstate = wxPyBeginAllowThreads();
25761 result = (bool)(arg1)->EndDrag();
25762
25763 wxPyEndAllowThreads(__tstate);
25764 if (PyErr_Occurred()) SWIG_fail;
25765 }
25766 resultobj = PyInt_FromLong((long)result);
25767 return resultobj;
25768 fail:
25769 return NULL;
25770 }
25771
25772
25773 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
25774 PyObject *resultobj;
25775 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25776 wxPoint *arg2 = 0 ;
25777 bool result;
25778 wxPoint temp2 ;
25779 PyObject * obj0 = 0 ;
25780 PyObject * obj1 = 0 ;
25781 char *kwnames[] = {
25782 (char *) "self",(char *) "pt", NULL
25783 };
25784
25785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
25786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25787 {
25788 arg2 = &temp2;
25789 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25790 }
25791 {
25792 PyThreadState* __tstate = wxPyBeginAllowThreads();
25793 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
25794
25795 wxPyEndAllowThreads(__tstate);
25796 if (PyErr_Occurred()) SWIG_fail;
25797 }
25798 resultobj = PyInt_FromLong((long)result);
25799 return resultobj;
25800 fail:
25801 return NULL;
25802 }
25803
25804
25805 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
25806 PyObject *resultobj;
25807 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25808 bool result;
25809 PyObject * obj0 = 0 ;
25810 char *kwnames[] = {
25811 (char *) "self", NULL
25812 };
25813
25814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
25815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25816 {
25817 PyThreadState* __tstate = wxPyBeginAllowThreads();
25818 result = (bool)(arg1)->Show();
25819
25820 wxPyEndAllowThreads(__tstate);
25821 if (PyErr_Occurred()) SWIG_fail;
25822 }
25823 resultobj = PyInt_FromLong((long)result);
25824 return resultobj;
25825 fail:
25826 return NULL;
25827 }
25828
25829
25830 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
25831 PyObject *resultobj;
25832 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25833 bool result;
25834 PyObject * obj0 = 0 ;
25835 char *kwnames[] = {
25836 (char *) "self", NULL
25837 };
25838
25839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
25840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25841 {
25842 PyThreadState* __tstate = wxPyBeginAllowThreads();
25843 result = (bool)(arg1)->Hide();
25844
25845 wxPyEndAllowThreads(__tstate);
25846 if (PyErr_Occurred()) SWIG_fail;
25847 }
25848 resultobj = PyInt_FromLong((long)result);
25849 return resultobj;
25850 fail:
25851 return NULL;
25852 }
25853
25854
25855 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25856 PyObject *resultobj;
25857 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25858 wxPoint *arg2 = 0 ;
25859 wxRect result;
25860 wxPoint temp2 ;
25861 PyObject * obj0 = 0 ;
25862 PyObject * obj1 = 0 ;
25863 char *kwnames[] = {
25864 (char *) "self",(char *) "pos", NULL
25865 };
25866
25867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
25868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25869 {
25870 arg2 = &temp2;
25871 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25872 }
25873 {
25874 PyThreadState* __tstate = wxPyBeginAllowThreads();
25875 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
25876
25877 wxPyEndAllowThreads(__tstate);
25878 if (PyErr_Occurred()) SWIG_fail;
25879 }
25880 {
25881 wxRect * resultptr;
25882 resultptr = new wxRect((wxRect &) result);
25883 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
25884 }
25885 return resultobj;
25886 fail:
25887 return NULL;
25888 }
25889
25890
25891 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25892 PyObject *resultobj;
25893 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25894 wxDC *arg2 = 0 ;
25895 wxPoint *arg3 = 0 ;
25896 bool result;
25897 wxPoint temp3 ;
25898 PyObject * obj0 = 0 ;
25899 PyObject * obj1 = 0 ;
25900 PyObject * obj2 = 0 ;
25901 char *kwnames[] = {
25902 (char *) "self",(char *) "dc",(char *) "pos", NULL
25903 };
25904
25905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25907 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25908 if (arg2 == NULL) {
25909 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25910 }
25911 {
25912 arg3 = &temp3;
25913 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25914 }
25915 {
25916 PyThreadState* __tstate = wxPyBeginAllowThreads();
25917 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
25918
25919 wxPyEndAllowThreads(__tstate);
25920 if (PyErr_Occurred()) SWIG_fail;
25921 }
25922 resultobj = PyInt_FromLong((long)result);
25923 return resultobj;
25924 fail:
25925 return NULL;
25926 }
25927
25928
25929 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25930 PyObject *resultobj;
25931 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25932 wxDC *arg2 = 0 ;
25933 wxMemoryDC *arg3 = 0 ;
25934 wxRect *arg4 = 0 ;
25935 wxRect *arg5 = 0 ;
25936 bool result;
25937 wxRect temp4 ;
25938 wxRect temp5 ;
25939 PyObject * obj0 = 0 ;
25940 PyObject * obj1 = 0 ;
25941 PyObject * obj2 = 0 ;
25942 PyObject * obj3 = 0 ;
25943 PyObject * obj4 = 0 ;
25944 char *kwnames[] = {
25945 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25946 };
25947
25948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25950 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25951 if (arg2 == NULL) {
25952 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25953 }
25954 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25955 if (arg3 == NULL) {
25956 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25957 }
25958 {
25959 arg4 = &temp4;
25960 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
25961 }
25962 {
25963 arg5 = &temp5;
25964 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
25965 }
25966 {
25967 PyThreadState* __tstate = wxPyBeginAllowThreads();
25968 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
25969
25970 wxPyEndAllowThreads(__tstate);
25971 if (PyErr_Occurred()) SWIG_fail;
25972 }
25973 resultobj = PyInt_FromLong((long)result);
25974 return resultobj;
25975 fail:
25976 return NULL;
25977 }
25978
25979
25980 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25981 PyObject *resultobj;
25982 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25983 wxPoint *arg2 = 0 ;
25984 wxPoint *arg3 = 0 ;
25985 bool arg4 ;
25986 bool arg5 ;
25987 bool result;
25988 wxPoint temp2 ;
25989 wxPoint temp3 ;
25990 PyObject * obj0 = 0 ;
25991 PyObject * obj1 = 0 ;
25992 PyObject * obj2 = 0 ;
25993 PyObject * obj3 = 0 ;
25994 PyObject * obj4 = 0 ;
25995 char *kwnames[] = {
25996 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25997 };
25998
25999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26001 {
26002 arg2 = &temp2;
26003 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26004 }
26005 {
26006 arg3 = &temp3;
26007 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26008 }
26009 arg4 = PyInt_AsLong(obj3) ? true : false;
26010 if (PyErr_Occurred()) SWIG_fail;
26011 arg5 = PyInt_AsLong(obj4) ? true : false;
26012 if (PyErr_Occurred()) SWIG_fail;
26013 {
26014 PyThreadState* __tstate = wxPyBeginAllowThreads();
26015 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
26016
26017 wxPyEndAllowThreads(__tstate);
26018 if (PyErr_Occurred()) SWIG_fail;
26019 }
26020 resultobj = PyInt_FromLong((long)result);
26021 return resultobj;
26022 fail:
26023 return NULL;
26024 }
26025
26026
26027 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
26028 PyObject *obj;
26029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26030 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26031 Py_INCREF(obj);
26032 return Py_BuildValue((char *)"");
26033 }
26034 static PyMethodDef SwigMethods[] = {
26035 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26036 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"Button_SetImageLabel", (PyCFunction) _wrap_Button_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"Button_SetImageMargins", (PyCFunction) _wrap_Button_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
26041 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26043 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26049 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26053 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26054 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26058 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26062 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26064 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26068 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26069 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26077 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26078 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26084 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26091 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26094 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26096 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26109 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26113 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26119 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26123 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26130 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26132 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26149 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26158 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26159 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26169 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26187 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26242 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26247 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26258 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26270 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26275 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26281 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26298 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26301 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26304 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26307 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26316 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26317 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26329 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26336 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26343 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26345 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26356 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26362 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26370 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26372 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26374 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26379 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26381 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26386 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26391 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26421 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26447 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26463 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26468 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26480 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26532 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26559 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26600 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26629 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26641 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26649 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26656 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26671 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26745 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26767 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26772 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26787 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26793 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26801 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26806 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26808 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26809 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26814 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26816 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
26818 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
26835 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
26836 { NULL, NULL }
26837 };
26838
26839
26840 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26841
26842 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26843 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26844 }
26845 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26846 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26847 }
26848 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26849 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26850 }
26851 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26852 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26853 }
26854 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26855 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26856 }
26857 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26858 return (void *)((wxSizer *) ((wxGridSizer *) x));
26859 }
26860 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26861 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26862 }
26863 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26864 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26865 }
26866 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26867 return (void *)((wxSizer *) ((wxPySizer *) x));
26868 }
26869 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26870 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26871 }
26872 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26873 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26874 }
26875 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26876 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26877 }
26878 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26879 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26880 }
26881 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26882 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26883 }
26884 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26885 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26886 }
26887 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26888 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26889 }
26890 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26891 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26892 }
26893 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26894 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26895 }
26896 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26897 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26898 }
26899 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26900 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26901 }
26902 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26903 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26904 }
26905 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26906 return (void *)((wxEvent *) ((wxPyEvent *) x));
26907 }
26908 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26909 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26910 }
26911 static void *_p_wxListEventTo_p_wxEvent(void *x) {
26912 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26913 }
26914 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26915 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26916 }
26917 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26918 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26919 }
26920 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26921 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26922 }
26923 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26924 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26925 }
26926 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26927 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26928 }
26929 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26930 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26931 }
26932 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26933 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26934 }
26935 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26936 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26937 }
26938 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26939 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26940 }
26941 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26942 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26943 }
26944 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26945 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26946 }
26947 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26948 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26949 }
26950 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26951 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26952 }
26953 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26954 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26955 }
26956 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26957 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26958 }
26959 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26960 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26961 }
26962 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26963 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26964 }
26965 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26966 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26967 }
26968 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26969 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26970 }
26971 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26972 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26973 }
26974 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26975 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26976 }
26977 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26978 return (void *)((wxEvent *) ((wxShowEvent *) x));
26979 }
26980 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26981 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26982 }
26983 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26984 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26985 }
26986 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26987 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26988 }
26989 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26990 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26991 }
26992 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26993 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26994 }
26995 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26996 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26997 }
26998 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
26999 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27000 }
27001 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
27002 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27003 }
27004 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
27005 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
27006 }
27007 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
27008 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
27009 }
27010 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
27011 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
27012 }
27013 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
27014 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27015 }
27016 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
27017 return (void *)((wxPyListCtrl *) ((wxListView *) x));
27018 }
27019 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
27020 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27021 }
27022 static void *_p_wxListBoxTo_p_wxControl(void *x) {
27023 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
27024 }
27025 static void *_p_wxChoiceTo_p_wxControl(void *x) {
27026 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
27027 }
27028 static void *_p_wxToolBarTo_p_wxControl(void *x) {
27029 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27030 }
27031 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27032 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27033 }
27034 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27035 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27036 }
27037 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27038 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27039 }
27040 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27041 return (void *)((wxControl *) ((wxStaticBox *) x));
27042 }
27043 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27044 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27045 }
27046 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27047 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27048 }
27049 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27050 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27051 }
27052 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27053 return (void *)((wxControl *) ((wxScrollBar *) x));
27054 }
27055 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27056 return (void *)((wxControl *) ((wxBookCtrl *) x));
27057 }
27058 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27059 return (void *)((wxControl *) ((wxRadioButton *) x));
27060 }
27061 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27062 return (void *)((wxControl *) ((wxToggleButton *) x));
27063 }
27064 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27065 return (void *)((wxControl *) ((wxGauge *) x));
27066 }
27067 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27068 return (void *)((wxControl *) ((wxToolBarBase *) x));
27069 }
27070 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27071 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27072 }
27073 static void *_p_wxButtonTo_p_wxControl(void *x) {
27074 return (void *)((wxControl *) ((wxButton *) x));
27075 }
27076 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27077 return (void *)((wxControl *) ((wxSpinButton *) x));
27078 }
27079 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27080 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27081 }
27082 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27083 return (void *)((wxControl *) ((wxControlWithItems *) x));
27084 }
27085 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27086 return (void *)((wxControl *) ((wxRadioBox *) x));
27087 }
27088 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27089 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27090 }
27091 static void *_p_wxListbookTo_p_wxControl(void *x) {
27092 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27093 }
27094 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27095 return (void *)((wxControl *) ((wxCheckBox *) x));
27096 }
27097 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27098 return (void *)((wxControl *) ((wxTextCtrl *) x));
27099 }
27100 static void *_p_wxListViewTo_p_wxControl(void *x) {
27101 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27102 }
27103 static void *_p_wxSliderTo_p_wxControl(void *x) {
27104 return (void *)((wxControl *) ((wxSlider *) x));
27105 }
27106 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
27107 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
27108 }
27109 static void *_p_wxPyControlTo_p_wxControl(void *x) {
27110 return (void *)((wxControl *) ((wxPyControl *) x));
27111 }
27112 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27113 return (void *)((wxControl *) ((wxStaticLine *) x));
27114 }
27115 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27116 return (void *)((wxControl *) ((wxStaticText *) x));
27117 }
27118 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27119 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27120 }
27121 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
27122 return (void *)((wxChoice *) ((wxComboBox *) x));
27123 }
27124 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27125 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27126 }
27127 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27128 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27129 }
27130 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27131 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27132 }
27133 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27134 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27135 }
27136 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27137 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27138 }
27139 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27140 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27141 }
27142 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27143 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27144 }
27145 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27146 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27147 }
27148 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27149 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27150 }
27151 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27152 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27153 }
27154 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27155 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27156 }
27157 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27158 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27159 }
27160 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27161 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27162 }
27163 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27164 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27165 }
27166 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27167 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27168 }
27169 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27170 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27171 }
27172 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27173 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27174 }
27175 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27176 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27177 }
27178 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27179 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27180 }
27181 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27182 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27183 }
27184 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27185 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27186 }
27187 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27188 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27189 }
27190 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27191 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27192 }
27193 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27194 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27195 }
27196 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27197 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27198 }
27199 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27200 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27201 }
27202 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27203 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27204 }
27205 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27206 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27207 }
27208 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27209 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27210 }
27211 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27212 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27213 }
27214 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27215 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27216 }
27217 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27218 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27219 }
27220 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27221 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27222 }
27223 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27224 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27225 }
27226 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27227 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27228 }
27229 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27230 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27231 }
27232 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27233 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27234 }
27235 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27236 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27237 }
27238 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27239 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27240 }
27241 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27242 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27243 }
27244 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27245 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27246 }
27247 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27248 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27249 }
27250 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27251 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27252 }
27253 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27254 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27255 }
27256 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27257 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27258 }
27259 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27260 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27261 }
27262 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27263 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27264 }
27265 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27266 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27267 }
27268 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27269 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27270 }
27271 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27272 return (void *)((wxButton *) ((wxBitmapButton *) x));
27273 }
27274 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27275 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27276 }
27277 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27278 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27279 }
27280 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27281 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27282 }
27283 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27284 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27285 }
27286 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27287 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27288 }
27289 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27290 return (void *)((wxObject *) ((wxSizerItem *) x));
27291 }
27292 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27293 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27294 }
27295 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27296 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27297 }
27298 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27299 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27300 }
27301 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27302 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27303 }
27304 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27305 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27306 }
27307 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27308 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27309 }
27310 static void *_p_wxSizerTo_p_wxObject(void *x) {
27311 return (void *)((wxObject *) ((wxSizer *) x));
27312 }
27313 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27314 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27315 }
27316 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27318 }
27319 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27321 }
27322 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27323 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27324 }
27325 static void *_p_wxEventTo_p_wxObject(void *x) {
27326 return (void *)((wxObject *) ((wxEvent *) x));
27327 }
27328 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27329 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27330 }
27331 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27332 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27333 }
27334 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27335 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27336 }
27337 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27338 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27339 }
27340 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27342 }
27343 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27345 }
27346 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27347 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27348 }
27349 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27350 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27351 }
27352 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27353 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27354 }
27355 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27356 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27357 }
27358 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27359 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27360 }
27361 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27362 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27363 }
27364 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27366 }
27367 static void *_p_wxControlTo_p_wxObject(void *x) {
27368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27369 }
27370 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27372 }
27373 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27375 }
27376 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27377 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27378 }
27379 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27381 }
27382 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27384 }
27385 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27386 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27387 }
27388 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27390 }
27391 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27392 return (void *)((wxObject *) ((wxFSFile *) x));
27393 }
27394 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27395 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27396 }
27397 static void *_p_wxListViewTo_p_wxObject(void *x) {
27398 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27399 }
27400 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27402 }
27403 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27404 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27405 }
27406 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27407 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27408 }
27409 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27410 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27411 }
27412 static void *_p_wxListbookTo_p_wxObject(void *x) {
27413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27414 }
27415 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27416 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27417 }
27418 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27419 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27420 }
27421 static void *_p_wxSliderTo_p_wxObject(void *x) {
27422 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27423 }
27424 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27425 return (void *)((wxObject *) ((wxMenuItem *) x));
27426 }
27427 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27428 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27429 }
27430 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27431 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27432 }
27433 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27434 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27435 }
27436 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27437 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27438 }
27439 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27440 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27441 }
27442 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27443 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27444 }
27445 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27446 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27447 }
27448 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27449 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27450 }
27451 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27452 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27453 }
27454 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27455 return (void *)((wxObject *) ((wxContextHelp *) x));
27456 }
27457 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27458 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27459 }
27460 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27461 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27462 }
27463 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27464 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27465 }
27466 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27467 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27468 }
27469 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27470 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27471 }
27472 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27473 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27474 }
27475 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27476 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27477 }
27478 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27479 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27480 }
27481 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27482 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27483 }
27484 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27485 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27486 }
27487 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27488 return (void *)((wxObject *) ((wxImageHandler *) x));
27489 }
27490 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27491 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27492 }
27493 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27494 return (void *)((wxObject *) ((wxEvtHandler *) x));
27495 }
27496 static void *_p_wxListEventTo_p_wxObject(void *x) {
27497 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27498 }
27499 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27500 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27501 }
27502 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27503 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27504 }
27505 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27506 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27507 }
27508 static void *_p_wxButtonTo_p_wxObject(void *x) {
27509 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27510 }
27511 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27512 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27513 }
27514 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27515 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27516 }
27517 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27518 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27519 }
27520 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27521 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27522 }
27523 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27524 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27525 }
27526 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27527 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27528 }
27529 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27530 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27531 }
27532 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27533 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27534 }
27535 static void *_p_wxListItemTo_p_wxObject(void *x) {
27536 return (void *)((wxObject *) ((wxListItem *) x));
27537 }
27538 static void *_p_wxImageTo_p_wxObject(void *x) {
27539 return (void *)((wxObject *) ((wxImage *) x));
27540 }
27541 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27542 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27543 }
27544 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27545 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27546 }
27547 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27548 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27549 }
27550 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27552 }
27553 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27554 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27555 }
27556 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27557 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27558 }
27559 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27560 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27561 }
27562 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27563 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27564 }
27565 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27566 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27567 }
27568 static void *_p_wxWindowTo_p_wxObject(void *x) {
27569 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27570 }
27571 static void *_p_wxMenuTo_p_wxObject(void *x) {
27572 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27573 }
27574 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27575 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27576 }
27577 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27578 return (void *)((wxObject *) ((wxFileSystem *) x));
27579 }
27580 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27581 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27582 }
27583 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27584 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27585 }
27586 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27587 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27588 }
27589 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27590 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27591 }
27592 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27593 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27594 }
27595 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27596 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27597 }
27598 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27599 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27600 }
27601 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27602 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27603 }
27604 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27605 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27606 }
27607 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27608 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27609 }
27610 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27611 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27612 }
27613 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27614 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27615 }
27616 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27617 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27618 }
27619 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27620 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27621 }
27622 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27623 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27624 }
27625 static void *_p_wxToolBarTo_p_wxObject(void *x) {
27626 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27627 }
27628 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27629 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27630 }
27631 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27632 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27633 }
27634 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27635 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27636 }
27637 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27638 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27639 }
27640 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27641 return (void *)((wxWindow *) ((wxMenuBar *) x));
27642 }
27643 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27644 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27645 }
27646 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27647 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27648 }
27649 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27650 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27651 }
27652 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27653 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27654 }
27655 static void *_p_wxControlTo_p_wxWindow(void *x) {
27656 return (void *)((wxWindow *) ((wxControl *) x));
27657 }
27658 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27659 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27660 }
27661 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27662 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27663 }
27664 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27665 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27666 }
27667 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27668 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27669 }
27670 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27671 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27672 }
27673 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27674 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27675 }
27676 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27677 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27678 }
27679 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27680 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27681 }
27682 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27683 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27684 }
27685 static void *_p_wxListbookTo_p_wxWindow(void *x) {
27686 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27687 }
27688 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27689 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27690 }
27691 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27692 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27693 }
27694 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27695 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27696 }
27697 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27698 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27699 }
27700 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27701 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27702 }
27703 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27704 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27705 }
27706 static void *_p_wxListViewTo_p_wxWindow(void *x) {
27707 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27708 }
27709 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27710 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27711 }
27712 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27713 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27714 }
27715 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27716 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27717 }
27718 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27719 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27720 }
27721 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27722 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27723 }
27724 static void *_p_wxSliderTo_p_wxWindow(void *x) {
27725 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27726 }
27727 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27728 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27729 }
27730 static void *_p_wxButtonTo_p_wxWindow(void *x) {
27731 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27732 }
27733 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27734 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27735 }
27736 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27737 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27738 }
27739 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27740 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27741 }
27742 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27743 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27744 }
27745 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27746 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27747 }
27748 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27749 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27750 }
27751 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27752 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27753 }
27754 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27755 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27756 }
27757 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27758 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27759 }
27760 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27761 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27762 }
27763 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27764 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27765 }
27766 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27767 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27768 }
27769 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27770 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27771 }
27772 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27773 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27774 }
27775 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27776 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27777 }
27778 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27779 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27780 }
27781 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27782 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27783 }
27784 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27785 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27786 }
27787 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
27788 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
27789 }
27790 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27791 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27792 }
27793 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27794 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27795 }
27796 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27797 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27798 }
27799 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27800 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27801 }
27802 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27803 return (void *)((wxValidator *) ((wxPyValidator *) x));
27804 }
27805 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27806 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}};
27807 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}};
27808 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27809 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27810 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27811 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27812 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}};
27813 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27814 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27815 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27816 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}};
27817 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27818 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27819 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27820 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}};
27821 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27822 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27823 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27824 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27825 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27826 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27827 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}};
27828 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27829 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27830 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27831 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27832 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27833 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27834 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27835 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27836 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27837 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}};
27838 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27839 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27840 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27841 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27842 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27843 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27844 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27845 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27846 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}};
27847 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27848 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27849 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27850 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}};
27851 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27852 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}};
27853 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27854 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27855 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27856 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27857 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27858 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27859 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27860 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27861 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27862 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27863 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27864 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27865 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27866 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27867 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27868 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27869 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27870 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27871 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27872 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
27873 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27874 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27875 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}};
27876 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27877 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27878 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27879 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27880 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}};
27881 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27882 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}};
27883 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27884 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27885 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27886 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27887 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27888
27889 static swig_type_info *swig_types_initial[] = {
27890 _swigt__p_wxTextUrlEvent,
27891 _swigt__p_wxBookCtrlEvent,
27892 _swigt__p_wxSizer,
27893 _swigt__p_wxTreeItemIdValue,
27894 _swigt__wxTreeItemIdValue,
27895 _swigt__p_wxCheckBox,
27896 _swigt__p_wxPyTreeCtrl,
27897 _swigt__p_wxEvent,
27898 _swigt__p_wxGenericDirCtrl,
27899 _swigt__p_bool,
27900 _swigt__p_wxPyTreeItemData,
27901 _swigt__p_wxItemContainer,
27902 _swigt__p_wxDirFilterListCtrl,
27903 _swigt__p_wxPyListCtrl,
27904 _swigt__p_wxStaticLine,
27905 _swigt__p_wxControl,
27906 _swigt__p_wxPyControl,
27907 _swigt__p_wxGauge,
27908 _swigt__p_wxToolBarBase,
27909 _swigt__p_wxFont,
27910 _swigt__p_wxToggleButton,
27911 _swigt__p_wxRadioButton,
27912 _swigt__p_wxChoice,
27913 _swigt__p_wxMemoryDC,
27914 _swigt__p_wxListItemAttr,
27915 _swigt__p_int,
27916 _swigt__p_wxSize,
27917 _swigt__p_wxDC,
27918 _swigt__p_wxListView,
27919 _swigt__p_wxIcon,
27920 _swigt__p_wxTextCtrl,
27921 _swigt__p_wxNotebook,
27922 _swigt__p_wxNotifyEvent,
27923 _swigt__p_wxArrayString,
27924 _swigt__p_wxListbook,
27925 _swigt__p_wxStaticBitmap,
27926 _swigt__p_wxSlider,
27927 _swigt__p_wxStaticBox,
27928 _swigt__p_wxArrayInt,
27929 _swigt__p_wxContextHelp,
27930 _swigt__p_long,
27931 _swigt__p_wxEvtHandler,
27932 _swigt__p_wxListEvent,
27933 _swigt__p_wxListBox,
27934 _swigt__p_wxCheckListBox,
27935 _swigt__p_wxBookCtrl,
27936 _swigt__p_wxSpinButton,
27937 _swigt__p_wxButton,
27938 _swigt__p_wxBitmapButton,
27939 _swigt__p_wxRect,
27940 _swigt__p_wxContextHelpButton,
27941 _swigt__p_wxRadioBox,
27942 _swigt__p_wxScrollBar,
27943 _swigt__p_wxTreeItemId,
27944 _swigt__p_wxComboBox,
27945 _swigt__p_wxHelpEvent,
27946 _swigt__p_wxListItem,
27947 _swigt__p_wxNotebookSizer,
27948 _swigt__p_wxGenericDragImage,
27949 _swigt__p_wxSpinCtrl,
27950 _swigt__p_wxImageList,
27951 _swigt__p_wxHelpProvider,
27952 _swigt__p_wxTextAttr,
27953 _swigt__p_wxSimpleHelpProvider,
27954 _swigt__p_wxPoint,
27955 _swigt__p_wxListbookEvent,
27956 _swigt__p_wxNotebookEvent,
27957 _swigt__p_wxObject,
27958 _swigt__p_wxCursor,
27959 _swigt__p_wxKeyEvent,
27960 _swigt__p_wxWindow,
27961 _swigt__p_wxString,
27962 _swigt__p_wxBitmap,
27963 _swigt__p_wxTreeEvent,
27964 _swigt__p_wxMouseEvent,
27965 _swigt__p_wxCommandEvent,
27966 _swigt__p_wxStaticText,
27967 _swigt__p_wxControlWithItems,
27968 _swigt__p_wxToolBarToolBase,
27969 _swigt__p_wxColour,
27970 _swigt__p_wxToolBar,
27971 _swigt__p_wxBookCtrlSizer,
27972 _swigt__p_wxValidator,
27973 0
27974 };
27975
27976
27977 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27978
27979 static swig_const_info swig_const_table[] = {
27980 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
27981 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
27982 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
27983 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
27984 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
27985 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
27986 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
27987 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
27988 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
27989 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
27990 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
27991 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
27992 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
27993 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
27994 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
27995 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
27996 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
27997 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
27998 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
27999 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
28000 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
28001 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
28002 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
28003 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
28004 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
28005 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
28006 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
28007 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
28008 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
28009 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
28010 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
28011 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
28012 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
28013 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
28014 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
28015 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
28016 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
28017 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
28018 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
28019 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
28020 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
28021 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
28022 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
28023 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
28024 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
28025 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
28026 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
28027 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
28028 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
28029 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
28030 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
28031 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28032 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28033 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28034 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28035 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28036 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28037 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28038 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28039 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28040 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28041 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28042 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28043 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28044 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28045 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28046 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28047 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28048 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28049 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28050 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28051 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28052 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28053 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28054 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28055 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28056 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28057 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28058 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28059 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28060 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28061 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28062 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28063 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28064 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28065 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28066 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28067 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28068 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28069 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28070 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28071 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28072 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28073 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28074 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28075 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28076 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28077 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28078 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28079 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28080 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28081 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28082 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28083 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28084 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28085 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28086 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28087 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28088 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28089 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28090 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28091 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28092 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28093 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28094 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28095 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28096 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
28097 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
28098 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
28099 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
28100 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
28101 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
28102 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
28103 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
28104 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
28105 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
28106 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
28107 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
28108 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
28109 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
28110 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
28111 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
28112 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
28113 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
28114 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
28115 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
28116 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
28117 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28118 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28119 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28120 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28121 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28122 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28123 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28124 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28125 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28126 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28127 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28128 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28129 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28130 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28131 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28132 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28133 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28134 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28135 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28136 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28137 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28138 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28139 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28140 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28141 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28142 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28143 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28144 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28145 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28146 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28147 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28148 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28149 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28150 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28151 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28152 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28153 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28154 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28155 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28156 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28157 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28158 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28159 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28160 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28161 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28162 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28163 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28164 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28165 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28166 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28167 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28168 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28169 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28170 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28171 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28172 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28173 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28174 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28175 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28176 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28177 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28178 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28179 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28180 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28181 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28182 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28183 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28184 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28185 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28186 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28187 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28188 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28189 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28190 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28191 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28192 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28193 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28194 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28195 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28196 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28197 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28198 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28199 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28200 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28201 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28202 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28203 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28204 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28205 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28206 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28207 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28208 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28209 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28210 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28211 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28212 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28213 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28214 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28215 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28216 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28217 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28218 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28219 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28220 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28221 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28222 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28223 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28224 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28225 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28226 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28227 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28228 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28229 {0}};
28230
28231 #ifdef __cplusplus
28232 }
28233 #endif
28234
28235 #ifdef __cplusplus
28236 extern "C"
28237 #endif
28238 SWIGEXPORT(void) SWIG_init(void) {
28239 static PyObject *SWIG_globals = 0;
28240 static int typeinit = 0;
28241 PyObject *m, *d;
28242 int i;
28243 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28244 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28245 d = PyModule_GetDict(m);
28246
28247 if (!typeinit) {
28248 for (i = 0; swig_types_initial[i]; i++) {
28249 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28250 }
28251 typeinit = 1;
28252 }
28253 SWIG_InstallConstants(d,swig_const_table);
28254
28255 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28256 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28257 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28258 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28259 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28260 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28261 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28262 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28263 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28264 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28265 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28266 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28267 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28268 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28269 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28270 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28271 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28272 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28273 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28274 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28275 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28276 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28277 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28278 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28279 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28280 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28281 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28282 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28283 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28284 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28285 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28286 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28287
28288 // Map renamed classes back to their common name for OOR
28289 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28290
28291 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28292 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28293 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28294 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28295 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28296 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28297 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28298 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28299 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28300 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28301 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28302 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28303 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28304 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28305 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28306 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28307 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28308 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28309 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28310
28311 // Map renamed classes back to their common name for OOR
28312 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28313 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28314
28315 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28316 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28317
28318 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28319
28320 }
28321