]> 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
49
50 /***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60 #include <string.h>
61
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
67 # else
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
70 # endif
71 # else
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
75 # else
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
78 # endif
79 # endif
80 #else
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
83 #endif
84
85 #ifdef SWIG_GLOBAL
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
87 #else
88 #define SWIGRUNTIME(a) static a
89 #endif
90
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119 #ifdef __cplusplus
120 }
121
122 #endif
123
124 /***********************************************************************
125 * pyrun.swg for wxPython
126 *
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
130 * anyway.
131 *
132 ************************************************************************/
133
134
135 #include "Python.h"
136
137 #ifdef __cplusplus
138 extern "C" {
139 #endif
140
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
146
147 /* Flags for pointer conversion */
148
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
151
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
154
155 /* Constant information structure */
156 typedef struct swig_const_info {
157 int type;
158 char *name;
159 long lvalue;
160 double dvalue;
161 void *pvalue;
162 swig_type_info **ptype;
163 } swig_const_info;
164
165
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
190
191
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193 SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196 SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201 SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205 /* Contract support */
206
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
208
209
210 #ifdef __cplusplus
211 }
212 #endif
213
214
215
216 /* -------- TYPES TABLE (BEGIN) -------- */
217
218 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
219 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
220 #define SWIGTYPE_p_wxSizer swig_types[2]
221 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
222 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
223 #define SWIGTYPE_p_wxCheckBox swig_types[5]
224 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
225 #define SWIGTYPE_p_wxEvent swig_types[7]
226 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
227 #define SWIGTYPE_p_bool swig_types[9]
228 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
229 #define SWIGTYPE_p_wxItemContainer swig_types[11]
230 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
231 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
232 #define SWIGTYPE_p_wxStaticLine swig_types[14]
233 #define SWIGTYPE_p_wxControl swig_types[15]
234 #define SWIGTYPE_p_wxPyControl swig_types[16]
235 #define SWIGTYPE_p_wxGauge swig_types[17]
236 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
237 #define SWIGTYPE_p_wxFont swig_types[19]
238 #define SWIGTYPE_p_wxToggleButton swig_types[20]
239 #define SWIGTYPE_p_wxRadioButton swig_types[21]
240 #define SWIGTYPE_p_wxChoice swig_types[22]
241 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
242 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
243 #define SWIGTYPE_p_int swig_types[25]
244 #define SWIGTYPE_p_wxSize swig_types[26]
245 #define SWIGTYPE_p_wxDC swig_types[27]
246 #define SWIGTYPE_p_wxListView swig_types[28]
247 #define SWIGTYPE_p_wxIcon swig_types[29]
248 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
249 #define SWIGTYPE_p_wxNotebook swig_types[31]
250 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
251 #define SWIGTYPE_p_wxArrayString swig_types[33]
252 #define SWIGTYPE_p_wxListbook swig_types[34]
253 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
254 #define SWIGTYPE_p_wxSlider swig_types[36]
255 #define SWIGTYPE_p_wxStaticBox swig_types[37]
256 #define SWIGTYPE_p_wxArrayInt swig_types[38]
257 #define SWIGTYPE_p_wxContextHelp swig_types[39]
258 #define SWIGTYPE_p_long swig_types[40]
259 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
260 #define SWIGTYPE_p_wxListEvent swig_types[42]
261 #define SWIGTYPE_p_wxListBox swig_types[43]
262 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
263 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
264 #define SWIGTYPE_p_wxSpinButton swig_types[46]
265 #define SWIGTYPE_p_wxButton swig_types[47]
266 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
267 #define SWIGTYPE_p_wxRect swig_types[49]
268 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
269 #define SWIGTYPE_p_wxRadioBox swig_types[51]
270 #define SWIGTYPE_p_wxScrollBar swig_types[52]
271 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
272 #define SWIGTYPE_p_wxComboBox swig_types[54]
273 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
274 #define SWIGTYPE_p_wxListItem swig_types[56]
275 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
276 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
277 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
278 #define SWIGTYPE_p_wxImageList swig_types[60]
279 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
280 #define SWIGTYPE_p_wxTextAttr swig_types[62]
281 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
282 #define SWIGTYPE_p_wxPoint swig_types[64]
283 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
284 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
285 #define SWIGTYPE_p_wxObject swig_types[67]
286 #define SWIGTYPE_p_wxCursor swig_types[68]
287 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
288 #define SWIGTYPE_p_wxWindow swig_types[70]
289 #define SWIGTYPE_p_wxString swig_types[71]
290 #define SWIGTYPE_p_wxBitmap swig_types[72]
291 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
292 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
293 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
294 #define SWIGTYPE_p_wxStaticText swig_types[76]
295 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
296 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
297 #define SWIGTYPE_p_wxColour swig_types[79]
298 #define SWIGTYPE_p_wxToolBar swig_types[80]
299 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
300 #define SWIGTYPE_p_wxValidator swig_types[82]
301 static swig_type_info *swig_types[84];
302
303 /* -------- TYPES TABLE (END) -------- */
304
305
306 /*-----------------------------------------------
307 @(target):= _controls.so
308 ------------------------------------------------*/
309 #define SWIG_init init_controls
310
311 #define SWIG_name "_controls"
312
313 #include "wx/wxPython/wxPython.h"
314 #include "wx/wxPython/pyclasses.h"
315
316 DECLARE_DEF_STRING(PanelNameStr);
317 DECLARE_DEF_STRING(EmptyString);
318 DECLARE_DEF_STRING(ControlNameStr);
319
320
321
322 DECLARE_DEF_STRING(ButtonNameStr);
323
324
325 DECLARE_DEF_STRING(CheckBoxNameStr);
326
327
328 DECLARE_DEF_STRING(ChoiceNameStr);
329
330
331 DECLARE_DEF_STRING(ComboBoxNameStr);
332
333
334 DECLARE_DEF_STRING(GaugeNameStr);
335
336
337 DECLARE_DEF_STRING(StaticBitmapNameStr);
338 DECLARE_DEF_STRING(StaticBoxNameStr);
339 DECLARE_DEF_STRING(StaticTextNameStr);
340
341
342 #include <wx/checklst.h>
343
344 DECLARE_DEF_STRING(ListBoxNameStr);
345
346 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
347 if (clientData) {
348 wxPyClientData* data = new wxPyClientData(clientData);
349 self->Insert(item, pos, data);
350 } else
351 self->Insert(item, pos);
352 }
353 PyObject *wxListBox_GetSelections(wxListBox *self){
354 wxArrayInt lst;
355 self->GetSelections(lst);
356 PyObject *tup = PyTuple_New(lst.GetCount());
357 for(size_t i=0; i<lst.GetCount(); i++) {
358 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
359 }
360 return tup;
361 }
362
363 DECLARE_DEF_STRING(TextCtrlNameStr);
364
365
366 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
367 PyObject* o2;
368 PyObject* o3;
369
370 if (!target) {
371 target = o;
372 } else if (target == Py_None) {
373 Py_DECREF(Py_None);
374 target = o;
375 } else {
376 if (!PyTuple_Check(target)) {
377 o2 = target;
378 target = PyTuple_New(1);
379 PyTuple_SetItem(target, 0, o2);
380 }
381 o3 = PyTuple_New(1);
382 PyTuple_SetItem(o3, 0, o);
383
384 o2 = target;
385 target = PySequence_Concat(o2, o3);
386 Py_DECREF(o2);
387 Py_DECREF(o3);
388 }
389 return target;
390 }
391
392 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
393 self->AppendText(text);
394 }
395 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
396 return self->GetValue().Mid(from, to - from);
397 }
398
399 DECLARE_DEF_STRING(ScrollBarNameStr);
400
401
402 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
403 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
404 DECLARE_DEF_STRING(SpinCtrlNameStr);
405
406
407 DECLARE_DEF_STRING(RadioBoxNameStr);
408 DECLARE_DEF_STRING(RadioButtonNameStr);
409
410
411 #include <wx/slider.h>
412
413 DECLARE_DEF_STRING(SliderNameStr);
414
415
416 wxChar* wxToggleButtonNameStr = _T("wxToggleButton");
417 DECLARE_DEF_STRING(ToggleButtonNameStr);
418
419
420 #ifdef __WXMAC__
421 // implement dummy classes and such for wxMac
422
423 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
424
425 class wxToggleButton : public wxControl
426 {
427 public:
428 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
429 const wxPoint&, const wxSize&, long,
430 const wxValidator&, const wxString&)
431 { PyErr_SetNone(PyExc_NotImplementedError); }
432
433 wxToggleButton()
434 { PyErr_SetNone(PyExc_NotImplementedError); }
435 };
436 #endif
437
438
439 DECLARE_DEF_STRING(NOTEBOOK_NAME);
440
441
442 DECLARE_DEF_STRING(ToolBarNameStr);
443
444 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
445 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
446 if (udata) {
447 Py_INCREF(udata->m_obj);
448 return udata->m_obj;
449 } else {
450 Py_INCREF(Py_None);
451 return Py_None;
452 }
453 }
454 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
455 self->SetClientData(new wxPyUserData(clientData));
456 }
457 wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
458 wxPyUserData* udata = NULL;
459 if (clientData && clientData != Py_None)
460 udata = new wxPyUserData(clientData);
461 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
462 shortHelp, longHelp, udata);
463 }
464 wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
465 wxPyUserData* udata = NULL;
466 if (clientData && clientData != Py_None)
467 udata = new wxPyUserData(clientData);
468 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
469 shortHelp, longHelp, udata);
470 }
471 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
472 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
473 if (udata) {
474 Py_INCREF(udata->m_obj);
475 return udata->m_obj;
476 } else {
477 Py_INCREF(Py_None);
478 return Py_None;
479 }
480 }
481 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
482 self->SetToolClientData(id, new wxPyUserData(clientData));
483 }
484
485 #include <wx/listctrl.h>
486
487 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
488 DECLARE_DEF_STRING(ListCtrlNameStr);
489
490 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
491 // Python aware sorting function for wxPyListCtrl
492 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
493 int retval = 0;
494 PyObject* func = (PyObject*)funcPtr;
495 wxPyBeginBlockThreads();
496
497 PyObject* args = Py_BuildValue("(ii)", item1, item2);
498 PyObject* result = PyEval_CallObject(func, args);
499 Py_DECREF(args);
500 if (result) {
501 retval = PyInt_AsLong(result);
502 Py_DECREF(result);
503 }
504
505 wxPyEndBlockThreads();
506 return retval;
507 }
508
509 // C++ Version of a Python aware class
510 class wxPyListCtrl : public wxListCtrl {
511 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
512 public:
513 wxPyListCtrl() : wxListCtrl() {}
514 wxPyListCtrl(wxWindow* parent, wxWindowID id,
515 const wxPoint& pos,
516 const wxSize& size,
517 long style,
518 const wxValidator& validator,
519 const wxString& name) :
520 wxListCtrl(parent, id, pos, size, style, validator, name) {}
521
522 bool Create(wxWindow* parent, wxWindowID id,
523 const wxPoint& pos,
524 const wxSize& size,
525 long style,
526 const wxValidator& validator,
527 const wxString& name) {
528 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
529 }
530
531 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
532 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
533 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
534
535 PYPRIVATE;
536 };
537
538 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
539
540 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
541 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
542 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
543
544 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
545 wxListItem item;
546 item.SetMask( wxLIST_MASK_STATE |
547 wxLIST_MASK_TEXT |
548 wxLIST_MASK_IMAGE |
549 wxLIST_MASK_DATA |
550 wxLIST_SET_ITEM |
551 wxLIST_MASK_WIDTH |
552 wxLIST_MASK_FORMAT
553 );
554 if (self->GetColumn(col, item))
555 return new wxListItem(item);
556 else
557 return NULL;
558 }
559 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
560 wxListItem* info = new wxListItem;
561 info->m_itemId = itemId;
562 info->m_col = col;
563 info->m_mask = 0xFFFF;
564 self->GetItem(*info);
565 return info;
566 }
567 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
568 wxPoint pos;
569 self->GetItemPosition(item, pos);
570 return pos;
571 }
572 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
573 wxRect rect;
574 self->GetItemRect(item, rect, code);
575 return rect;
576 }
577 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
578 if (!PyCallable_Check(func))
579 return False;
580 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
581 }
582 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
583
584 return self;
585
586
587
588 }
589
590 #include <wx/treectrl.h>
591 #include "wx/wxPython/pytree.h"
592
593 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
594 DECLARE_DEF_STRING(_TreeCtrlNameStr);
595
596 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
597 if (!other) return False;
598 return *self == *other;
599 }
600 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
601 if (!other) return True;
602 return *self != *other;
603 }
604 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
605 // C++ version of Python aware wxTreeCtrl
606 class wxPyTreeCtrl : public wxTreeCtrl {
607 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
608 public:
609 wxPyTreeCtrl() : wxTreeCtrl() {}
610 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
611 const wxPoint& pos,
612 const wxSize& size,
613 long style,
614 const wxValidator& validator,
615 const wxString& name) :
616 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
617
618 bool Create(wxWindow *parent, wxWindowID id,
619 const wxPoint& pos,
620 const wxSize& size,
621 long style,
622 const wxValidator& validator,
623 const wxString& name) {
624 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
625 }
626
627
628 int OnCompareItems(const wxTreeItemId& item1,
629 const wxTreeItemId& item2) {
630 int rval = 0;
631 bool found;
632 wxPyBeginBlockThreads();
633 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
634 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
635 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
636 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
637 Py_DECREF(o1);
638 Py_DECREF(o2);
639 }
640 wxPyEndBlockThreads();
641 if (! found)
642 rval = wxTreeCtrl::OnCompareItems(item1, item2);
643 return rval;
644 }
645 PYPRIVATE;
646 };
647
648 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
649
650
651 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
652 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
653 if (data == NULL) {
654 data = new wxPyTreeItemData();
655 data->SetId(item); // set the id
656 self->SetItemData(item, data);
657 }
658 return data;
659 }
660 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
661 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
662 if (data == NULL) {
663 data = new wxPyTreeItemData();
664 data->SetId(item); // set the id
665 self->SetItemData(item, data);
666 }
667 return data->GetData();
668 }
669 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
670 data->SetId(item); // set the id
671 self->SetItemData(item, data);
672 }
673 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
674 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
675 if (data == NULL) {
676 data = new wxPyTreeItemData(obj);
677 data->SetId(item); // set the id
678 self->SetItemData(item, data);
679 } else
680 data->SetData(obj);
681 }
682 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
683 wxPyBeginBlockThreads();
684 PyObject* rval = PyList_New(0);
685 wxArrayTreeItemIds array;
686 size_t num, x;
687 num = self->GetSelections(array);
688 for (x=0; x < num; x++) {
689 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
690 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
691 PyList_Append(rval, item);
692 }
693 wxPyEndBlockThreads();
694 return rval;
695 }
696 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
697 wxTreeItemIdValue cookie = 0;
698 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
699 wxPyBeginBlockThreads();
700 PyObject* tup = PyTuple_New(2);
701 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
702 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
703 wxPyEndBlockThreads();
704 return tup;
705 }
706 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
707 wxTreeItemId ritem = self->GetNextChild(item, cookie);
708 wxPyBeginBlockThreads();
709 PyObject* tup = PyTuple_New(2);
710 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
711 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
712 wxPyEndBlockThreads();
713 return tup;
714 }
715 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
716 wxRect rect;
717 if (self->GetBoundingRect(item, rect, textOnly)) {
718 wxPyBeginBlockThreads();
719 wxRect* r = new wxRect(rect);
720 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
721 wxPyEndBlockThreads();
722 return val;
723 }
724 else
725 RETURN_NONE();
726 }
727
728 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
729
730 // C++ version of Python aware wxControl
731 class wxPyControl : public wxControl
732 {
733 DECLARE_DYNAMIC_CLASS(wxPyControl)
734 public:
735 wxPyControl() : wxControl() {}
736 wxPyControl(wxWindow* parent, const wxWindowID id,
737 const wxPoint& pos = wxDefaultPosition,
738 const wxSize& size = wxDefaultSize,
739 long style = 0,
740 const wxValidator& validator=wxDefaultValidator,
741 const wxString& name = wxPyControlNameStr)
742 : wxControl(parent, id, pos, size, style, validator, name) {}
743
744
745 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
746 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
747 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
748 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
749
750 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
751 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
752 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
753
754 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
755 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
756
757 DEC_PYCALLBACK__(InitDialog);
758 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
759 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
760 DEC_PYCALLBACK_BOOL_(Validate);
761
762 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
763 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
764 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
765
766 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
767 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
768
769 PYPRIVATE;
770 };
771
772 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
773
774 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
775 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
776 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
777 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
778
779 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
780 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
781 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
782
783 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
784 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
785
786 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
787 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
788 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
789 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
790
791 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
792 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
793 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
794
795 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
796 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
797
798
799
800
801 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
802
803 #include <wx/generic/dragimgg.h>
804
805 #ifdef __cplusplus
806 extern "C" {
807 #endif
808 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
809 PyObject *resultobj;
810 wxWindow *arg1 = (wxWindow *) 0 ;
811 int arg2 ;
812 wxString *arg3 = 0 ;
813 wxPoint const &arg4_defvalue = wxDefaultPosition ;
814 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
815 wxSize const &arg5_defvalue = wxDefaultSize ;
816 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
817 long arg6 = (long) 0 ;
818 wxValidator const &arg7_defvalue = wxDefaultValidator ;
819 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
820 wxString const &arg8_defvalue = wxPyButtonNameStr ;
821 wxString *arg8 = (wxString *) &arg8_defvalue ;
822 wxButton *result;
823 bool temp3 = False ;
824 wxPoint temp4 ;
825 wxSize temp5 ;
826 bool temp8 = False ;
827 PyObject * obj0 = 0 ;
828 PyObject * obj2 = 0 ;
829 PyObject * obj3 = 0 ;
830 PyObject * obj4 = 0 ;
831 PyObject * obj6 = 0 ;
832 PyObject * obj7 = 0 ;
833 char *kwnames[] = {
834 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
835 };
836
837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
839 {
840 arg3 = wxString_in_helper(obj2);
841 if (arg3 == NULL) SWIG_fail;
842 temp3 = True;
843 }
844 if (obj3) {
845 {
846 arg4 = &temp4;
847 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
848 }
849 }
850 if (obj4) {
851 {
852 arg5 = &temp5;
853 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
854 }
855 }
856 if (obj6) {
857 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
858 if (arg7 == NULL) {
859 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
860 }
861 }
862 if (obj7) {
863 {
864 arg8 = wxString_in_helper(obj7);
865 if (arg8 == NULL) SWIG_fail;
866 temp8 = True;
867 }
868 }
869 {
870 PyThreadState* __tstate = wxPyBeginAllowThreads();
871 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
872
873 wxPyEndAllowThreads(__tstate);
874 if (PyErr_Occurred()) SWIG_fail;
875 }
876 {
877 resultobj = wxPyMake_wxObject(result);
878 }
879 {
880 if (temp3)
881 delete arg3;
882 }
883 {
884 if (temp8)
885 delete arg8;
886 }
887 return resultobj;
888 fail:
889 {
890 if (temp3)
891 delete arg3;
892 }
893 {
894 if (temp8)
895 delete arg8;
896 }
897 return NULL;
898 }
899
900
901 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
902 PyObject *resultobj;
903 wxButton *result;
904 char *kwnames[] = {
905 NULL
906 };
907
908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
909 {
910 PyThreadState* __tstate = wxPyBeginAllowThreads();
911 result = (wxButton *)new wxButton();
912
913 wxPyEndAllowThreads(__tstate);
914 if (PyErr_Occurred()) SWIG_fail;
915 }
916 {
917 resultobj = wxPyMake_wxObject(result);
918 }
919 return resultobj;
920 fail:
921 return NULL;
922 }
923
924
925 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
926 PyObject *resultobj;
927 wxButton *arg1 = (wxButton *) 0 ;
928 wxWindow *arg2 = (wxWindow *) 0 ;
929 int arg3 ;
930 wxString *arg4 = 0 ;
931 wxPoint const &arg5_defvalue = wxDefaultPosition ;
932 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
933 wxSize const &arg6_defvalue = wxDefaultSize ;
934 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
935 long arg7 = (long) 0 ;
936 wxValidator const &arg8_defvalue = wxDefaultValidator ;
937 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
938 wxString const &arg9_defvalue = wxPyButtonNameStr ;
939 wxString *arg9 = (wxString *) &arg9_defvalue ;
940 bool result;
941 bool temp4 = False ;
942 wxPoint temp5 ;
943 wxSize temp6 ;
944 bool temp9 = False ;
945 PyObject * obj0 = 0 ;
946 PyObject * obj1 = 0 ;
947 PyObject * obj3 = 0 ;
948 PyObject * obj4 = 0 ;
949 PyObject * obj5 = 0 ;
950 PyObject * obj7 = 0 ;
951 PyObject * obj8 = 0 ;
952 char *kwnames[] = {
953 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
954 };
955
956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
958 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
959 {
960 arg4 = wxString_in_helper(obj3);
961 if (arg4 == NULL) SWIG_fail;
962 temp4 = True;
963 }
964 if (obj4) {
965 {
966 arg5 = &temp5;
967 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
968 }
969 }
970 if (obj5) {
971 {
972 arg6 = &temp6;
973 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
974 }
975 }
976 if (obj7) {
977 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
978 if (arg8 == NULL) {
979 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
980 }
981 }
982 if (obj8) {
983 {
984 arg9 = wxString_in_helper(obj8);
985 if (arg9 == NULL) SWIG_fail;
986 temp9 = True;
987 }
988 }
989 {
990 PyThreadState* __tstate = wxPyBeginAllowThreads();
991 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
992
993 wxPyEndAllowThreads(__tstate);
994 if (PyErr_Occurred()) SWIG_fail;
995 }
996 resultobj = PyInt_FromLong((long)result);
997 {
998 if (temp4)
999 delete arg4;
1000 }
1001 {
1002 if (temp9)
1003 delete arg9;
1004 }
1005 return resultobj;
1006 fail:
1007 {
1008 if (temp4)
1009 delete arg4;
1010 }
1011 {
1012 if (temp9)
1013 delete arg9;
1014 }
1015 return NULL;
1016 }
1017
1018
1019 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1020 PyObject *resultobj;
1021 wxButton *arg1 = (wxButton *) 0 ;
1022 PyObject * obj0 = 0 ;
1023 char *kwnames[] = {
1024 (char *) "self", NULL
1025 };
1026
1027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1029 {
1030 PyThreadState* __tstate = wxPyBeginAllowThreads();
1031 (arg1)->SetDefault();
1032
1033 wxPyEndAllowThreads(__tstate);
1034 if (PyErr_Occurred()) SWIG_fail;
1035 }
1036 Py_INCREF(Py_None); resultobj = Py_None;
1037 return resultobj;
1038 fail:
1039 return NULL;
1040 }
1041
1042
1043 static PyObject *_wrap_Button_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1044 PyObject *resultobj;
1045 wxButton *arg1 = (wxButton *) 0 ;
1046 wxBitmap *arg2 = 0 ;
1047 PyObject * obj0 = 0 ;
1048 PyObject * obj1 = 0 ;
1049 char *kwnames[] = {
1050 (char *) "self",(char *) "bitmap", NULL
1051 };
1052
1053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Button_SetImageLabel",kwnames,&obj0,&obj1)) goto fail;
1054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1056 if (arg2 == NULL) {
1057 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1058 }
1059 {
1060 PyThreadState* __tstate = wxPyBeginAllowThreads();
1061 (arg1)->SetImageLabel((wxBitmap const &)*arg2);
1062
1063 wxPyEndAllowThreads(__tstate);
1064 if (PyErr_Occurred()) SWIG_fail;
1065 }
1066 Py_INCREF(Py_None); resultobj = Py_None;
1067 return resultobj;
1068 fail:
1069 return NULL;
1070 }
1071
1072
1073 static PyObject *_wrap_Button_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1074 PyObject *resultobj;
1075 wxButton *arg1 = (wxButton *) 0 ;
1076 int arg2 ;
1077 int arg3 ;
1078 PyObject * obj0 = 0 ;
1079 char *kwnames[] = {
1080 (char *) "self",(char *) "x",(char *) "y", NULL
1081 };
1082
1083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Button_SetImageMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1085 {
1086 PyThreadState* __tstate = wxPyBeginAllowThreads();
1087 (arg1)->SetImageMargins(arg2,arg3);
1088
1089 wxPyEndAllowThreads(__tstate);
1090 if (PyErr_Occurred()) SWIG_fail;
1091 }
1092 Py_INCREF(Py_None); resultobj = Py_None;
1093 return resultobj;
1094 fail:
1095 return NULL;
1096 }
1097
1098
1099 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1100 PyObject *resultobj;
1101 wxSize result;
1102 char *kwnames[] = {
1103 NULL
1104 };
1105
1106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1107 {
1108 PyThreadState* __tstate = wxPyBeginAllowThreads();
1109 result = wxButton::GetDefaultSize();
1110
1111 wxPyEndAllowThreads(__tstate);
1112 if (PyErr_Occurred()) SWIG_fail;
1113 }
1114 {
1115 wxSize * resultptr;
1116 resultptr = new wxSize((wxSize &) result);
1117 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1118 }
1119 return resultobj;
1120 fail:
1121 return NULL;
1122 }
1123
1124
1125 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1126 PyObject *obj;
1127 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1128 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1129 Py_INCREF(obj);
1130 return Py_BuildValue((char *)"");
1131 }
1132 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1133 PyObject *resultobj;
1134 wxWindow *arg1 = (wxWindow *) 0 ;
1135 int arg2 ;
1136 wxBitmap *arg3 = 0 ;
1137 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1138 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1139 wxSize const &arg5_defvalue = wxDefaultSize ;
1140 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1141 long arg6 = (long) wxBU_AUTODRAW ;
1142 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1143 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1144 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1145 wxString *arg8 = (wxString *) &arg8_defvalue ;
1146 wxBitmapButton *result;
1147 wxPoint temp4 ;
1148 wxSize temp5 ;
1149 bool temp8 = False ;
1150 PyObject * obj0 = 0 ;
1151 PyObject * obj2 = 0 ;
1152 PyObject * obj3 = 0 ;
1153 PyObject * obj4 = 0 ;
1154 PyObject * obj6 = 0 ;
1155 PyObject * obj7 = 0 ;
1156 char *kwnames[] = {
1157 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1158 };
1159
1160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1162 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1163 if (arg3 == NULL) {
1164 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1165 }
1166 if (obj3) {
1167 {
1168 arg4 = &temp4;
1169 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1170 }
1171 }
1172 if (obj4) {
1173 {
1174 arg5 = &temp5;
1175 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1176 }
1177 }
1178 if (obj6) {
1179 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1180 if (arg7 == NULL) {
1181 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1182 }
1183 }
1184 if (obj7) {
1185 {
1186 arg8 = wxString_in_helper(obj7);
1187 if (arg8 == NULL) SWIG_fail;
1188 temp8 = True;
1189 }
1190 }
1191 {
1192 PyThreadState* __tstate = wxPyBeginAllowThreads();
1193 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1194
1195 wxPyEndAllowThreads(__tstate);
1196 if (PyErr_Occurred()) SWIG_fail;
1197 }
1198 {
1199 resultobj = wxPyMake_wxObject(result);
1200 }
1201 {
1202 if (temp8)
1203 delete arg8;
1204 }
1205 return resultobj;
1206 fail:
1207 {
1208 if (temp8)
1209 delete arg8;
1210 }
1211 return NULL;
1212 }
1213
1214
1215 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1216 PyObject *resultobj;
1217 wxBitmapButton *result;
1218 char *kwnames[] = {
1219 NULL
1220 };
1221
1222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1223 {
1224 PyThreadState* __tstate = wxPyBeginAllowThreads();
1225 result = (wxBitmapButton *)new wxBitmapButton();
1226
1227 wxPyEndAllowThreads(__tstate);
1228 if (PyErr_Occurred()) SWIG_fail;
1229 }
1230 {
1231 resultobj = wxPyMake_wxObject(result);
1232 }
1233 return resultobj;
1234 fail:
1235 return NULL;
1236 }
1237
1238
1239 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1240 PyObject *resultobj;
1241 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1242 wxWindow *arg2 = (wxWindow *) 0 ;
1243 int arg3 ;
1244 wxBitmap *arg4 = 0 ;
1245 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1246 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1247 wxSize const &arg6_defvalue = wxDefaultSize ;
1248 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1249 long arg7 = (long) wxBU_AUTODRAW ;
1250 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1251 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1252 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1253 wxString *arg9 = (wxString *) &arg9_defvalue ;
1254 bool result;
1255 wxPoint temp5 ;
1256 wxSize temp6 ;
1257 bool temp9 = False ;
1258 PyObject * obj0 = 0 ;
1259 PyObject * obj1 = 0 ;
1260 PyObject * obj3 = 0 ;
1261 PyObject * obj4 = 0 ;
1262 PyObject * obj5 = 0 ;
1263 PyObject * obj7 = 0 ;
1264 PyObject * obj8 = 0 ;
1265 char *kwnames[] = {
1266 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1267 };
1268
1269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1272 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1273 if (arg4 == NULL) {
1274 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1275 }
1276 if (obj4) {
1277 {
1278 arg5 = &temp5;
1279 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1280 }
1281 }
1282 if (obj5) {
1283 {
1284 arg6 = &temp6;
1285 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1286 }
1287 }
1288 if (obj7) {
1289 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1290 if (arg8 == NULL) {
1291 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1292 }
1293 }
1294 if (obj8) {
1295 {
1296 arg9 = wxString_in_helper(obj8);
1297 if (arg9 == NULL) SWIG_fail;
1298 temp9 = True;
1299 }
1300 }
1301 {
1302 PyThreadState* __tstate = wxPyBeginAllowThreads();
1303 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1304
1305 wxPyEndAllowThreads(__tstate);
1306 if (PyErr_Occurred()) SWIG_fail;
1307 }
1308 resultobj = PyInt_FromLong((long)result);
1309 {
1310 if (temp9)
1311 delete arg9;
1312 }
1313 return resultobj;
1314 fail:
1315 {
1316 if (temp9)
1317 delete arg9;
1318 }
1319 return NULL;
1320 }
1321
1322
1323 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1324 PyObject *resultobj;
1325 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1326 wxBitmap result;
1327 PyObject * obj0 = 0 ;
1328 char *kwnames[] = {
1329 (char *) "self", NULL
1330 };
1331
1332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1334 {
1335 PyThreadState* __tstate = wxPyBeginAllowThreads();
1336 result = (arg1)->GetBitmapLabel();
1337
1338 wxPyEndAllowThreads(__tstate);
1339 if (PyErr_Occurred()) SWIG_fail;
1340 }
1341 {
1342 wxBitmap * resultptr;
1343 resultptr = new wxBitmap((wxBitmap &) result);
1344 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1345 }
1346 return resultobj;
1347 fail:
1348 return NULL;
1349 }
1350
1351
1352 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1353 PyObject *resultobj;
1354 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1355 wxBitmap result;
1356 PyObject * obj0 = 0 ;
1357 char *kwnames[] = {
1358 (char *) "self", NULL
1359 };
1360
1361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1363 {
1364 PyThreadState* __tstate = wxPyBeginAllowThreads();
1365 result = (arg1)->GetBitmapDisabled();
1366
1367 wxPyEndAllowThreads(__tstate);
1368 if (PyErr_Occurred()) SWIG_fail;
1369 }
1370 {
1371 wxBitmap * resultptr;
1372 resultptr = new wxBitmap((wxBitmap &) result);
1373 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1374 }
1375 return resultobj;
1376 fail:
1377 return NULL;
1378 }
1379
1380
1381 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1382 PyObject *resultobj;
1383 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1384 wxBitmap result;
1385 PyObject * obj0 = 0 ;
1386 char *kwnames[] = {
1387 (char *) "self", NULL
1388 };
1389
1390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1392 {
1393 PyThreadState* __tstate = wxPyBeginAllowThreads();
1394 result = (arg1)->GetBitmapFocus();
1395
1396 wxPyEndAllowThreads(__tstate);
1397 if (PyErr_Occurred()) SWIG_fail;
1398 }
1399 {
1400 wxBitmap * resultptr;
1401 resultptr = new wxBitmap((wxBitmap &) result);
1402 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1403 }
1404 return resultobj;
1405 fail:
1406 return NULL;
1407 }
1408
1409
1410 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1411 PyObject *resultobj;
1412 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1413 wxBitmap result;
1414 PyObject * obj0 = 0 ;
1415 char *kwnames[] = {
1416 (char *) "self", NULL
1417 };
1418
1419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1421 {
1422 PyThreadState* __tstate = wxPyBeginAllowThreads();
1423 result = (arg1)->GetBitmapSelected();
1424
1425 wxPyEndAllowThreads(__tstate);
1426 if (PyErr_Occurred()) SWIG_fail;
1427 }
1428 {
1429 wxBitmap * resultptr;
1430 resultptr = new wxBitmap((wxBitmap &) result);
1431 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1432 }
1433 return resultobj;
1434 fail:
1435 return NULL;
1436 }
1437
1438
1439 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1440 PyObject *resultobj;
1441 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1442 wxBitmap *arg2 = 0 ;
1443 PyObject * obj0 = 0 ;
1444 PyObject * obj1 = 0 ;
1445 char *kwnames[] = {
1446 (char *) "self",(char *) "bitmap", NULL
1447 };
1448
1449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1451 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1452 if (arg2 == NULL) {
1453 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1454 }
1455 {
1456 PyThreadState* __tstate = wxPyBeginAllowThreads();
1457 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1458
1459 wxPyEndAllowThreads(__tstate);
1460 if (PyErr_Occurred()) SWIG_fail;
1461 }
1462 Py_INCREF(Py_None); resultobj = Py_None;
1463 return resultobj;
1464 fail:
1465 return NULL;
1466 }
1467
1468
1469 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1470 PyObject *resultobj;
1471 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1472 wxBitmap *arg2 = 0 ;
1473 PyObject * obj0 = 0 ;
1474 PyObject * obj1 = 0 ;
1475 char *kwnames[] = {
1476 (char *) "self",(char *) "bitmap", NULL
1477 };
1478
1479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1482 if (arg2 == NULL) {
1483 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1484 }
1485 {
1486 PyThreadState* __tstate = wxPyBeginAllowThreads();
1487 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1488
1489 wxPyEndAllowThreads(__tstate);
1490 if (PyErr_Occurred()) SWIG_fail;
1491 }
1492 Py_INCREF(Py_None); resultobj = Py_None;
1493 return resultobj;
1494 fail:
1495 return NULL;
1496 }
1497
1498
1499 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1500 PyObject *resultobj;
1501 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1502 wxBitmap *arg2 = 0 ;
1503 PyObject * obj0 = 0 ;
1504 PyObject * obj1 = 0 ;
1505 char *kwnames[] = {
1506 (char *) "self",(char *) "bitmap", NULL
1507 };
1508
1509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1512 if (arg2 == NULL) {
1513 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1514 }
1515 {
1516 PyThreadState* __tstate = wxPyBeginAllowThreads();
1517 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1518
1519 wxPyEndAllowThreads(__tstate);
1520 if (PyErr_Occurred()) SWIG_fail;
1521 }
1522 Py_INCREF(Py_None); resultobj = Py_None;
1523 return resultobj;
1524 fail:
1525 return NULL;
1526 }
1527
1528
1529 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1530 PyObject *resultobj;
1531 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1532 wxBitmap *arg2 = 0 ;
1533 PyObject * obj0 = 0 ;
1534 PyObject * obj1 = 0 ;
1535 char *kwnames[] = {
1536 (char *) "self",(char *) "bitmap", NULL
1537 };
1538
1539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1542 if (arg2 == NULL) {
1543 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1544 }
1545 {
1546 PyThreadState* __tstate = wxPyBeginAllowThreads();
1547 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1548
1549 wxPyEndAllowThreads(__tstate);
1550 if (PyErr_Occurred()) SWIG_fail;
1551 }
1552 Py_INCREF(Py_None); resultobj = Py_None;
1553 return resultobj;
1554 fail:
1555 return NULL;
1556 }
1557
1558
1559 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1560 PyObject *resultobj;
1561 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1562 int arg2 ;
1563 int arg3 ;
1564 PyObject * obj0 = 0 ;
1565 char *kwnames[] = {
1566 (char *) "self",(char *) "x",(char *) "y", NULL
1567 };
1568
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1571 {
1572 PyThreadState* __tstate = wxPyBeginAllowThreads();
1573 (arg1)->SetMargins(arg2,arg3);
1574
1575 wxPyEndAllowThreads(__tstate);
1576 if (PyErr_Occurred()) SWIG_fail;
1577 }
1578 Py_INCREF(Py_None); resultobj = Py_None;
1579 return resultobj;
1580 fail:
1581 return NULL;
1582 }
1583
1584
1585 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1586 PyObject *resultobj;
1587 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1588 int result;
1589 PyObject * obj0 = 0 ;
1590 char *kwnames[] = {
1591 (char *) "self", NULL
1592 };
1593
1594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1596 {
1597 PyThreadState* __tstate = wxPyBeginAllowThreads();
1598 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1599
1600 wxPyEndAllowThreads(__tstate);
1601 if (PyErr_Occurred()) SWIG_fail;
1602 }
1603 resultobj = PyInt_FromLong((long)result);
1604 return resultobj;
1605 fail:
1606 return NULL;
1607 }
1608
1609
1610 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1611 PyObject *resultobj;
1612 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1613 int result;
1614 PyObject * obj0 = 0 ;
1615 char *kwnames[] = {
1616 (char *) "self", NULL
1617 };
1618
1619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1621 {
1622 PyThreadState* __tstate = wxPyBeginAllowThreads();
1623 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1624
1625 wxPyEndAllowThreads(__tstate);
1626 if (PyErr_Occurred()) SWIG_fail;
1627 }
1628 resultobj = PyInt_FromLong((long)result);
1629 return resultobj;
1630 fail:
1631 return NULL;
1632 }
1633
1634
1635 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1636 PyObject *obj;
1637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1638 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1639 Py_INCREF(obj);
1640 return Py_BuildValue((char *)"");
1641 }
1642 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1643 PyObject *resultobj;
1644 wxWindow *arg1 = (wxWindow *) 0 ;
1645 int arg2 ;
1646 wxString *arg3 = 0 ;
1647 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1648 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1649 wxSize const &arg5_defvalue = wxDefaultSize ;
1650 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1651 long arg6 = (long) 0 ;
1652 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1653 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1654 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1655 wxString *arg8 = (wxString *) &arg8_defvalue ;
1656 wxCheckBox *result;
1657 bool temp3 = False ;
1658 wxPoint temp4 ;
1659 wxSize temp5 ;
1660 bool temp8 = False ;
1661 PyObject * obj0 = 0 ;
1662 PyObject * obj2 = 0 ;
1663 PyObject * obj3 = 0 ;
1664 PyObject * obj4 = 0 ;
1665 PyObject * obj6 = 0 ;
1666 PyObject * obj7 = 0 ;
1667 char *kwnames[] = {
1668 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1669 };
1670
1671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1673 {
1674 arg3 = wxString_in_helper(obj2);
1675 if (arg3 == NULL) SWIG_fail;
1676 temp3 = True;
1677 }
1678 if (obj3) {
1679 {
1680 arg4 = &temp4;
1681 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1682 }
1683 }
1684 if (obj4) {
1685 {
1686 arg5 = &temp5;
1687 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1688 }
1689 }
1690 if (obj6) {
1691 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1692 if (arg7 == NULL) {
1693 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1694 }
1695 }
1696 if (obj7) {
1697 {
1698 arg8 = wxString_in_helper(obj7);
1699 if (arg8 == NULL) SWIG_fail;
1700 temp8 = True;
1701 }
1702 }
1703 {
1704 PyThreadState* __tstate = wxPyBeginAllowThreads();
1705 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1706
1707 wxPyEndAllowThreads(__tstate);
1708 if (PyErr_Occurred()) SWIG_fail;
1709 }
1710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1711 {
1712 if (temp3)
1713 delete arg3;
1714 }
1715 {
1716 if (temp8)
1717 delete arg8;
1718 }
1719 return resultobj;
1720 fail:
1721 {
1722 if (temp3)
1723 delete arg3;
1724 }
1725 {
1726 if (temp8)
1727 delete arg8;
1728 }
1729 return NULL;
1730 }
1731
1732
1733 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1734 PyObject *resultobj;
1735 wxCheckBox *result;
1736 char *kwnames[] = {
1737 NULL
1738 };
1739
1740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1741 {
1742 PyThreadState* __tstate = wxPyBeginAllowThreads();
1743 result = (wxCheckBox *)new wxCheckBox();
1744
1745 wxPyEndAllowThreads(__tstate);
1746 if (PyErr_Occurred()) SWIG_fail;
1747 }
1748 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1749 return resultobj;
1750 fail:
1751 return NULL;
1752 }
1753
1754
1755 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1756 PyObject *resultobj;
1757 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1758 wxWindow *arg2 = (wxWindow *) 0 ;
1759 int arg3 ;
1760 wxString *arg4 = 0 ;
1761 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1762 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1763 wxSize const &arg6_defvalue = wxDefaultSize ;
1764 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1765 long arg7 = (long) 0 ;
1766 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1767 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1768 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1769 wxString *arg9 = (wxString *) &arg9_defvalue ;
1770 bool result;
1771 bool temp4 = False ;
1772 wxPoint temp5 ;
1773 wxSize temp6 ;
1774 bool temp9 = False ;
1775 PyObject * obj0 = 0 ;
1776 PyObject * obj1 = 0 ;
1777 PyObject * obj3 = 0 ;
1778 PyObject * obj4 = 0 ;
1779 PyObject * obj5 = 0 ;
1780 PyObject * obj7 = 0 ;
1781 PyObject * obj8 = 0 ;
1782 char *kwnames[] = {
1783 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1784 };
1785
1786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1789 {
1790 arg4 = wxString_in_helper(obj3);
1791 if (arg4 == NULL) SWIG_fail;
1792 temp4 = True;
1793 }
1794 if (obj4) {
1795 {
1796 arg5 = &temp5;
1797 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1798 }
1799 }
1800 if (obj5) {
1801 {
1802 arg6 = &temp6;
1803 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1804 }
1805 }
1806 if (obj7) {
1807 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1808 if (arg8 == NULL) {
1809 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1810 }
1811 }
1812 if (obj8) {
1813 {
1814 arg9 = wxString_in_helper(obj8);
1815 if (arg9 == NULL) SWIG_fail;
1816 temp9 = True;
1817 }
1818 }
1819 {
1820 PyThreadState* __tstate = wxPyBeginAllowThreads();
1821 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1822
1823 wxPyEndAllowThreads(__tstate);
1824 if (PyErr_Occurred()) SWIG_fail;
1825 }
1826 resultobj = PyInt_FromLong((long)result);
1827 {
1828 if (temp4)
1829 delete arg4;
1830 }
1831 {
1832 if (temp9)
1833 delete arg9;
1834 }
1835 return resultobj;
1836 fail:
1837 {
1838 if (temp4)
1839 delete arg4;
1840 }
1841 {
1842 if (temp9)
1843 delete arg9;
1844 }
1845 return NULL;
1846 }
1847
1848
1849 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1850 PyObject *resultobj;
1851 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1852 bool result;
1853 PyObject * obj0 = 0 ;
1854 char *kwnames[] = {
1855 (char *) "self", NULL
1856 };
1857
1858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1860 {
1861 PyThreadState* __tstate = wxPyBeginAllowThreads();
1862 result = (bool)(arg1)->GetValue();
1863
1864 wxPyEndAllowThreads(__tstate);
1865 if (PyErr_Occurred()) SWIG_fail;
1866 }
1867 resultobj = PyInt_FromLong((long)result);
1868 return resultobj;
1869 fail:
1870 return NULL;
1871 }
1872
1873
1874 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1875 PyObject *resultobj;
1876 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1877 bool result;
1878 PyObject * obj0 = 0 ;
1879 char *kwnames[] = {
1880 (char *) "self", NULL
1881 };
1882
1883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1885 {
1886 PyThreadState* __tstate = wxPyBeginAllowThreads();
1887 result = (bool)(arg1)->IsChecked();
1888
1889 wxPyEndAllowThreads(__tstate);
1890 if (PyErr_Occurred()) SWIG_fail;
1891 }
1892 resultobj = PyInt_FromLong((long)result);
1893 return resultobj;
1894 fail:
1895 return NULL;
1896 }
1897
1898
1899 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1900 PyObject *resultobj;
1901 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1902 bool arg2 ;
1903 PyObject * obj0 = 0 ;
1904 PyObject * obj1 = 0 ;
1905 char *kwnames[] = {
1906 (char *) "self",(char *) "state", NULL
1907 };
1908
1909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1911 arg2 = PyInt_AsLong(obj1) ? true : false;
1912 if (PyErr_Occurred()) SWIG_fail;
1913 {
1914 PyThreadState* __tstate = wxPyBeginAllowThreads();
1915 (arg1)->SetValue(arg2);
1916
1917 wxPyEndAllowThreads(__tstate);
1918 if (PyErr_Occurred()) SWIG_fail;
1919 }
1920 Py_INCREF(Py_None); resultobj = Py_None;
1921 return resultobj;
1922 fail:
1923 return NULL;
1924 }
1925
1926
1927 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1928 PyObject *resultobj;
1929 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1930 int result;
1931 PyObject * obj0 = 0 ;
1932 char *kwnames[] = {
1933 (char *) "self", NULL
1934 };
1935
1936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1938 {
1939 PyThreadState* __tstate = wxPyBeginAllowThreads();
1940 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1941
1942 wxPyEndAllowThreads(__tstate);
1943 if (PyErr_Occurred()) SWIG_fail;
1944 }
1945 resultobj = PyInt_FromLong((long)result);
1946 return resultobj;
1947 fail:
1948 return NULL;
1949 }
1950
1951
1952 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1953 PyObject *resultobj;
1954 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1955 int arg2 ;
1956 PyObject * obj0 = 0 ;
1957 char *kwnames[] = {
1958 (char *) "self",(char *) "state", NULL
1959 };
1960
1961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1963 {
1964 PyThreadState* __tstate = wxPyBeginAllowThreads();
1965 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1966
1967 wxPyEndAllowThreads(__tstate);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 }
1970 Py_INCREF(Py_None); resultobj = Py_None;
1971 return resultobj;
1972 fail:
1973 return NULL;
1974 }
1975
1976
1977 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1980 bool result;
1981 PyObject * obj0 = 0 ;
1982 char *kwnames[] = {
1983 (char *) "self", NULL
1984 };
1985
1986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1988 {
1989 PyThreadState* __tstate = wxPyBeginAllowThreads();
1990 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1991
1992 wxPyEndAllowThreads(__tstate);
1993 if (PyErr_Occurred()) SWIG_fail;
1994 }
1995 resultobj = PyInt_FromLong((long)result);
1996 return resultobj;
1997 fail:
1998 return NULL;
1999 }
2000
2001
2002 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
2003 PyObject *resultobj;
2004 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
2005 bool result;
2006 PyObject * obj0 = 0 ;
2007 char *kwnames[] = {
2008 (char *) "self", NULL
2009 };
2010
2011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2013 {
2014 PyThreadState* __tstate = wxPyBeginAllowThreads();
2015 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2016
2017 wxPyEndAllowThreads(__tstate);
2018 if (PyErr_Occurred()) SWIG_fail;
2019 }
2020 resultobj = PyInt_FromLong((long)result);
2021 return resultobj;
2022 fail:
2023 return NULL;
2024 }
2025
2026
2027 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2028 PyObject *obj;
2029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2030 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2031 Py_INCREF(obj);
2032 return Py_BuildValue((char *)"");
2033 }
2034 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2035 PyObject *resultobj;
2036 wxWindow *arg1 = (wxWindow *) 0 ;
2037 int arg2 ;
2038 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2039 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2040 wxSize const &arg4_defvalue = wxDefaultSize ;
2041 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2042 int arg5 = (int) 0 ;
2043 wxString *arg6 = (wxString *) NULL ;
2044 long arg7 = (long) 0 ;
2045 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2046 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2047 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2048 wxString *arg9 = (wxString *) &arg9_defvalue ;
2049 wxChoice *result;
2050 wxPoint temp3 ;
2051 wxSize temp4 ;
2052 bool temp8 = False ;
2053 PyObject * obj0 = 0 ;
2054 PyObject * obj2 = 0 ;
2055 PyObject * obj3 = 0 ;
2056 PyObject * obj4 = 0 ;
2057 PyObject * obj6 = 0 ;
2058 PyObject * obj7 = 0 ;
2059 char *kwnames[] = {
2060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2061 };
2062
2063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2065 if (obj2) {
2066 {
2067 arg3 = &temp3;
2068 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2069 }
2070 }
2071 if (obj3) {
2072 {
2073 arg4 = &temp4;
2074 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2075 }
2076 }
2077 if (obj4) {
2078 {
2079 arg5 = PyList_Size(obj4);
2080 arg6 = wxString_LIST_helper(obj4);
2081 if (arg6 == NULL) SWIG_fail;
2082 }
2083 }
2084 if (obj6) {
2085 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2086 if (arg8 == NULL) {
2087 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2088 }
2089 }
2090 if (obj7) {
2091 {
2092 arg9 = wxString_in_helper(obj7);
2093 if (arg9 == NULL) SWIG_fail;
2094 temp8 = True;
2095 }
2096 }
2097 {
2098 PyThreadState* __tstate = wxPyBeginAllowThreads();
2099 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2100
2101 wxPyEndAllowThreads(__tstate);
2102 if (PyErr_Occurred()) SWIG_fail;
2103 }
2104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2105 {
2106 if (arg6) delete [] arg6;
2107 }
2108 {
2109 if (temp8)
2110 delete arg9;
2111 }
2112 return resultobj;
2113 fail:
2114 {
2115 if (arg6) delete [] arg6;
2116 }
2117 {
2118 if (temp8)
2119 delete arg9;
2120 }
2121 return NULL;
2122 }
2123
2124
2125 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2126 PyObject *resultobj;
2127 wxChoice *result;
2128 char *kwnames[] = {
2129 NULL
2130 };
2131
2132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2133 {
2134 PyThreadState* __tstate = wxPyBeginAllowThreads();
2135 result = (wxChoice *)new wxChoice();
2136
2137 wxPyEndAllowThreads(__tstate);
2138 if (PyErr_Occurred()) SWIG_fail;
2139 }
2140 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2141 return resultobj;
2142 fail:
2143 return NULL;
2144 }
2145
2146
2147 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2148 PyObject *resultobj;
2149 wxChoice *arg1 = (wxChoice *) 0 ;
2150 wxWindow *arg2 = (wxWindow *) 0 ;
2151 int arg3 ;
2152 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2153 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2154 wxSize const &arg5_defvalue = wxDefaultSize ;
2155 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2156 int arg6 = (int) 0 ;
2157 wxString *arg7 = (wxString *) NULL ;
2158 long arg8 = (long) 0 ;
2159 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2160 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2161 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2162 wxString *arg10 = (wxString *) &arg10_defvalue ;
2163 bool result;
2164 wxPoint temp4 ;
2165 wxSize temp5 ;
2166 bool temp9 = False ;
2167 PyObject * obj0 = 0 ;
2168 PyObject * obj1 = 0 ;
2169 PyObject * obj3 = 0 ;
2170 PyObject * obj4 = 0 ;
2171 PyObject * obj5 = 0 ;
2172 PyObject * obj7 = 0 ;
2173 PyObject * obj8 = 0 ;
2174 char *kwnames[] = {
2175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2176 };
2177
2178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2180 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2181 if (obj3) {
2182 {
2183 arg4 = &temp4;
2184 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2185 }
2186 }
2187 if (obj4) {
2188 {
2189 arg5 = &temp5;
2190 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2191 }
2192 }
2193 if (obj5) {
2194 {
2195 arg6 = PyList_Size(obj5);
2196 arg7 = wxString_LIST_helper(obj5);
2197 if (arg7 == NULL) SWIG_fail;
2198 }
2199 }
2200 if (obj7) {
2201 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2202 if (arg9 == NULL) {
2203 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2204 }
2205 }
2206 if (obj8) {
2207 {
2208 arg10 = wxString_in_helper(obj8);
2209 if (arg10 == NULL) SWIG_fail;
2210 temp9 = True;
2211 }
2212 }
2213 {
2214 PyThreadState* __tstate = wxPyBeginAllowThreads();
2215 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2216
2217 wxPyEndAllowThreads(__tstate);
2218 if (PyErr_Occurred()) SWIG_fail;
2219 }
2220 resultobj = PyInt_FromLong((long)result);
2221 {
2222 if (arg7) delete [] arg7;
2223 }
2224 {
2225 if (temp9)
2226 delete arg10;
2227 }
2228 return resultobj;
2229 fail:
2230 {
2231 if (arg7) delete [] arg7;
2232 }
2233 {
2234 if (temp9)
2235 delete arg10;
2236 }
2237 return NULL;
2238 }
2239
2240
2241 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2242 PyObject *resultobj;
2243 wxChoice *arg1 = (wxChoice *) 0 ;
2244 int result;
2245 PyObject * obj0 = 0 ;
2246 char *kwnames[] = {
2247 (char *) "self", NULL
2248 };
2249
2250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2252 {
2253 PyThreadState* __tstate = wxPyBeginAllowThreads();
2254 result = (int)(arg1)->GetColumns();
2255
2256 wxPyEndAllowThreads(__tstate);
2257 if (PyErr_Occurred()) SWIG_fail;
2258 }
2259 resultobj = PyInt_FromLong((long)result);
2260 return resultobj;
2261 fail:
2262 return NULL;
2263 }
2264
2265
2266 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2267 PyObject *resultobj;
2268 wxChoice *arg1 = (wxChoice *) 0 ;
2269 int arg2 = (int) (int)1 ;
2270 PyObject * obj0 = 0 ;
2271 char *kwnames[] = {
2272 (char *) "self",(char *) "n", NULL
2273 };
2274
2275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 (arg1)->SetColumns(arg2);
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 Py_INCREF(Py_None); resultobj = Py_None;
2285 return resultobj;
2286 fail:
2287 return NULL;
2288 }
2289
2290
2291 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2292 PyObject *resultobj;
2293 wxChoice *arg1 = (wxChoice *) 0 ;
2294 int arg2 ;
2295 PyObject * obj0 = 0 ;
2296 char *kwnames[] = {
2297 (char *) "self",(char *) "n", NULL
2298 };
2299
2300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2302 {
2303 PyThreadState* __tstate = wxPyBeginAllowThreads();
2304 (arg1)->SetSelection(arg2);
2305
2306 wxPyEndAllowThreads(__tstate);
2307 if (PyErr_Occurred()) SWIG_fail;
2308 }
2309 Py_INCREF(Py_None); resultobj = Py_None;
2310 return resultobj;
2311 fail:
2312 return NULL;
2313 }
2314
2315
2316 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2317 PyObject *resultobj;
2318 wxChoice *arg1 = (wxChoice *) 0 ;
2319 wxString *arg2 = 0 ;
2320 bool temp2 = False ;
2321 PyObject * obj0 = 0 ;
2322 PyObject * obj1 = 0 ;
2323 char *kwnames[] = {
2324 (char *) "self",(char *) "string", NULL
2325 };
2326
2327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2329 {
2330 arg2 = wxString_in_helper(obj1);
2331 if (arg2 == NULL) SWIG_fail;
2332 temp2 = True;
2333 }
2334 {
2335 PyThreadState* __tstate = wxPyBeginAllowThreads();
2336 (arg1)->SetStringSelection((wxString const &)*arg2);
2337
2338 wxPyEndAllowThreads(__tstate);
2339 if (PyErr_Occurred()) SWIG_fail;
2340 }
2341 Py_INCREF(Py_None); resultobj = Py_None;
2342 {
2343 if (temp2)
2344 delete arg2;
2345 }
2346 return resultobj;
2347 fail:
2348 {
2349 if (temp2)
2350 delete arg2;
2351 }
2352 return NULL;
2353 }
2354
2355
2356 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2357 PyObject *resultobj;
2358 wxChoice *arg1 = (wxChoice *) 0 ;
2359 int arg2 ;
2360 wxString *arg3 = 0 ;
2361 bool temp3 = False ;
2362 PyObject * obj0 = 0 ;
2363 PyObject * obj2 = 0 ;
2364 char *kwnames[] = {
2365 (char *) "self",(char *) "n",(char *) "s", NULL
2366 };
2367
2368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2370 {
2371 arg3 = wxString_in_helper(obj2);
2372 if (arg3 == NULL) SWIG_fail;
2373 temp3 = True;
2374 }
2375 {
2376 PyThreadState* __tstate = wxPyBeginAllowThreads();
2377 (arg1)->SetString(arg2,(wxString const &)*arg3);
2378
2379 wxPyEndAllowThreads(__tstate);
2380 if (PyErr_Occurred()) SWIG_fail;
2381 }
2382 Py_INCREF(Py_None); resultobj = Py_None;
2383 {
2384 if (temp3)
2385 delete arg3;
2386 }
2387 return resultobj;
2388 fail:
2389 {
2390 if (temp3)
2391 delete arg3;
2392 }
2393 return NULL;
2394 }
2395
2396
2397 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2398 PyObject *obj;
2399 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2400 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2401 Py_INCREF(obj);
2402 return Py_BuildValue((char *)"");
2403 }
2404 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2405 PyObject *resultobj;
2406 wxWindow *arg1 = (wxWindow *) 0 ;
2407 int arg2 ;
2408 wxString const &arg3_defvalue = wxPyEmptyString ;
2409 wxString *arg3 = (wxString *) &arg3_defvalue ;
2410 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2411 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2412 wxSize const &arg5_defvalue = wxDefaultSize ;
2413 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2414 int arg6 = (int) 0 ;
2415 wxString *arg7 = (wxString *) NULL ;
2416 long arg8 = (long) 0 ;
2417 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2418 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2419 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2420 wxString *arg10 = (wxString *) &arg10_defvalue ;
2421 wxComboBox *result;
2422 bool temp3 = False ;
2423 wxPoint temp4 ;
2424 wxSize temp5 ;
2425 bool temp9 = False ;
2426 PyObject * obj0 = 0 ;
2427 PyObject * obj2 = 0 ;
2428 PyObject * obj3 = 0 ;
2429 PyObject * obj4 = 0 ;
2430 PyObject * obj5 = 0 ;
2431 PyObject * obj7 = 0 ;
2432 PyObject * obj8 = 0 ;
2433 char *kwnames[] = {
2434 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2435 };
2436
2437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2439 if (obj2) {
2440 {
2441 arg3 = wxString_in_helper(obj2);
2442 if (arg3 == NULL) SWIG_fail;
2443 temp3 = True;
2444 }
2445 }
2446 if (obj3) {
2447 {
2448 arg4 = &temp4;
2449 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2450 }
2451 }
2452 if (obj4) {
2453 {
2454 arg5 = &temp5;
2455 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2456 }
2457 }
2458 if (obj5) {
2459 {
2460 arg6 = PyList_Size(obj5);
2461 arg7 = wxString_LIST_helper(obj5);
2462 if (arg7 == NULL) SWIG_fail;
2463 }
2464 }
2465 if (obj7) {
2466 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2467 if (arg9 == NULL) {
2468 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2469 }
2470 }
2471 if (obj8) {
2472 {
2473 arg10 = wxString_in_helper(obj8);
2474 if (arg10 == NULL) SWIG_fail;
2475 temp9 = True;
2476 }
2477 }
2478 {
2479 PyThreadState* __tstate = wxPyBeginAllowThreads();
2480 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2481
2482 wxPyEndAllowThreads(__tstate);
2483 if (PyErr_Occurred()) SWIG_fail;
2484 }
2485 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2486 {
2487 if (temp3)
2488 delete arg3;
2489 }
2490 {
2491 if (arg7) delete [] arg7;
2492 }
2493 {
2494 if (temp9)
2495 delete arg10;
2496 }
2497 return resultobj;
2498 fail:
2499 {
2500 if (temp3)
2501 delete arg3;
2502 }
2503 {
2504 if (arg7) delete [] arg7;
2505 }
2506 {
2507 if (temp9)
2508 delete arg10;
2509 }
2510 return NULL;
2511 }
2512
2513
2514 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2515 PyObject *resultobj;
2516 wxComboBox *result;
2517 char *kwnames[] = {
2518 NULL
2519 };
2520
2521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2522 {
2523 PyThreadState* __tstate = wxPyBeginAllowThreads();
2524 result = (wxComboBox *)new wxComboBox();
2525
2526 wxPyEndAllowThreads(__tstate);
2527 if (PyErr_Occurred()) SWIG_fail;
2528 }
2529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2530 return resultobj;
2531 fail:
2532 return NULL;
2533 }
2534
2535
2536 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2537 PyObject *resultobj;
2538 wxComboBox *arg1 = (wxComboBox *) 0 ;
2539 wxWindow *arg2 = (wxWindow *) 0 ;
2540 int arg3 ;
2541 wxString const &arg4_defvalue = wxPyEmptyString ;
2542 wxString *arg4 = (wxString *) &arg4_defvalue ;
2543 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2544 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2545 wxSize const &arg6_defvalue = wxDefaultSize ;
2546 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2547 int arg7 = (int) 0 ;
2548 wxString *arg8 = (wxString *) NULL ;
2549 long arg9 = (long) 0 ;
2550 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2551 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2552 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2553 wxString *arg11 = (wxString *) &arg11_defvalue ;
2554 bool result;
2555 bool temp4 = False ;
2556 wxPoint temp5 ;
2557 wxSize temp6 ;
2558 bool temp10 = False ;
2559 PyObject * obj0 = 0 ;
2560 PyObject * obj1 = 0 ;
2561 PyObject * obj3 = 0 ;
2562 PyObject * obj4 = 0 ;
2563 PyObject * obj5 = 0 ;
2564 PyObject * obj6 = 0 ;
2565 PyObject * obj8 = 0 ;
2566 PyObject * obj9 = 0 ;
2567 char *kwnames[] = {
2568 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2569 };
2570
2571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2573 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2574 if (obj3) {
2575 {
2576 arg4 = wxString_in_helper(obj3);
2577 if (arg4 == NULL) SWIG_fail;
2578 temp4 = True;
2579 }
2580 }
2581 if (obj4) {
2582 {
2583 arg5 = &temp5;
2584 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2585 }
2586 }
2587 if (obj5) {
2588 {
2589 arg6 = &temp6;
2590 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2591 }
2592 }
2593 if (obj6) {
2594 {
2595 arg7 = PyList_Size(obj6);
2596 arg8 = wxString_LIST_helper(obj6);
2597 if (arg8 == NULL) SWIG_fail;
2598 }
2599 }
2600 if (obj8) {
2601 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2602 if (arg10 == NULL) {
2603 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2604 }
2605 }
2606 if (obj9) {
2607 {
2608 arg11 = wxString_in_helper(obj9);
2609 if (arg11 == NULL) SWIG_fail;
2610 temp10 = True;
2611 }
2612 }
2613 {
2614 PyThreadState* __tstate = wxPyBeginAllowThreads();
2615 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2616
2617 wxPyEndAllowThreads(__tstate);
2618 if (PyErr_Occurred()) SWIG_fail;
2619 }
2620 resultobj = PyInt_FromLong((long)result);
2621 {
2622 if (temp4)
2623 delete arg4;
2624 }
2625 {
2626 if (arg8) delete [] arg8;
2627 }
2628 {
2629 if (temp10)
2630 delete arg11;
2631 }
2632 return resultobj;
2633 fail:
2634 {
2635 if (temp4)
2636 delete arg4;
2637 }
2638 {
2639 if (arg8) delete [] arg8;
2640 }
2641 {
2642 if (temp10)
2643 delete arg11;
2644 }
2645 return NULL;
2646 }
2647
2648
2649 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2650 PyObject *resultobj;
2651 wxComboBox *arg1 = (wxComboBox *) 0 ;
2652 wxString result;
2653 PyObject * obj0 = 0 ;
2654 char *kwnames[] = {
2655 (char *) "self", NULL
2656 };
2657
2658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2660 {
2661 PyThreadState* __tstate = wxPyBeginAllowThreads();
2662 result = ((wxComboBox const *)arg1)->GetValue();
2663
2664 wxPyEndAllowThreads(__tstate);
2665 if (PyErr_Occurred()) SWIG_fail;
2666 }
2667 {
2668 #if wxUSE_UNICODE
2669 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2670 #else
2671 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2672 #endif
2673 }
2674 return resultobj;
2675 fail:
2676 return NULL;
2677 }
2678
2679
2680 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2681 PyObject *resultobj;
2682 wxComboBox *arg1 = (wxComboBox *) 0 ;
2683 wxString *arg2 = 0 ;
2684 bool temp2 = False ;
2685 PyObject * obj0 = 0 ;
2686 PyObject * obj1 = 0 ;
2687 char *kwnames[] = {
2688 (char *) "self",(char *) "value", NULL
2689 };
2690
2691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2693 {
2694 arg2 = wxString_in_helper(obj1);
2695 if (arg2 == NULL) SWIG_fail;
2696 temp2 = True;
2697 }
2698 {
2699 PyThreadState* __tstate = wxPyBeginAllowThreads();
2700 (arg1)->SetValue((wxString const &)*arg2);
2701
2702 wxPyEndAllowThreads(__tstate);
2703 if (PyErr_Occurred()) SWIG_fail;
2704 }
2705 Py_INCREF(Py_None); resultobj = Py_None;
2706 {
2707 if (temp2)
2708 delete arg2;
2709 }
2710 return resultobj;
2711 fail:
2712 {
2713 if (temp2)
2714 delete arg2;
2715 }
2716 return NULL;
2717 }
2718
2719
2720 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2721 PyObject *resultobj;
2722 wxComboBox *arg1 = (wxComboBox *) 0 ;
2723 PyObject * obj0 = 0 ;
2724 char *kwnames[] = {
2725 (char *) "self", NULL
2726 };
2727
2728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2730 {
2731 PyThreadState* __tstate = wxPyBeginAllowThreads();
2732 (arg1)->Copy();
2733
2734 wxPyEndAllowThreads(__tstate);
2735 if (PyErr_Occurred()) SWIG_fail;
2736 }
2737 Py_INCREF(Py_None); resultobj = Py_None;
2738 return resultobj;
2739 fail:
2740 return NULL;
2741 }
2742
2743
2744 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2745 PyObject *resultobj;
2746 wxComboBox *arg1 = (wxComboBox *) 0 ;
2747 PyObject * obj0 = 0 ;
2748 char *kwnames[] = {
2749 (char *) "self", NULL
2750 };
2751
2752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2754 {
2755 PyThreadState* __tstate = wxPyBeginAllowThreads();
2756 (arg1)->Cut();
2757
2758 wxPyEndAllowThreads(__tstate);
2759 if (PyErr_Occurred()) SWIG_fail;
2760 }
2761 Py_INCREF(Py_None); resultobj = Py_None;
2762 return resultobj;
2763 fail:
2764 return NULL;
2765 }
2766
2767
2768 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2769 PyObject *resultobj;
2770 wxComboBox *arg1 = (wxComboBox *) 0 ;
2771 PyObject * obj0 = 0 ;
2772 char *kwnames[] = {
2773 (char *) "self", NULL
2774 };
2775
2776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2778 {
2779 PyThreadState* __tstate = wxPyBeginAllowThreads();
2780 (arg1)->Paste();
2781
2782 wxPyEndAllowThreads(__tstate);
2783 if (PyErr_Occurred()) SWIG_fail;
2784 }
2785 Py_INCREF(Py_None); resultobj = Py_None;
2786 return resultobj;
2787 fail:
2788 return NULL;
2789 }
2790
2791
2792 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2793 PyObject *resultobj;
2794 wxComboBox *arg1 = (wxComboBox *) 0 ;
2795 long arg2 ;
2796 PyObject * obj0 = 0 ;
2797 char *kwnames[] = {
2798 (char *) "self",(char *) "pos", NULL
2799 };
2800
2801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2803 {
2804 PyThreadState* __tstate = wxPyBeginAllowThreads();
2805 (arg1)->SetInsertionPoint(arg2);
2806
2807 wxPyEndAllowThreads(__tstate);
2808 if (PyErr_Occurred()) SWIG_fail;
2809 }
2810 Py_INCREF(Py_None); resultobj = Py_None;
2811 return resultobj;
2812 fail:
2813 return NULL;
2814 }
2815
2816
2817 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2818 PyObject *resultobj;
2819 wxComboBox *arg1 = (wxComboBox *) 0 ;
2820 long result;
2821 PyObject * obj0 = 0 ;
2822 char *kwnames[] = {
2823 (char *) "self", NULL
2824 };
2825
2826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2828 {
2829 PyThreadState* __tstate = wxPyBeginAllowThreads();
2830 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2831
2832 wxPyEndAllowThreads(__tstate);
2833 if (PyErr_Occurred()) SWIG_fail;
2834 }
2835 resultobj = PyInt_FromLong((long)result);
2836 return resultobj;
2837 fail:
2838 return NULL;
2839 }
2840
2841
2842 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2843 PyObject *resultobj;
2844 wxComboBox *arg1 = (wxComboBox *) 0 ;
2845 long result;
2846 PyObject * obj0 = 0 ;
2847 char *kwnames[] = {
2848 (char *) "self", NULL
2849 };
2850
2851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2853 {
2854 PyThreadState* __tstate = wxPyBeginAllowThreads();
2855 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2856
2857 wxPyEndAllowThreads(__tstate);
2858 if (PyErr_Occurred()) SWIG_fail;
2859 }
2860 resultobj = PyInt_FromLong((long)result);
2861 return resultobj;
2862 fail:
2863 return NULL;
2864 }
2865
2866
2867 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2868 PyObject *resultobj;
2869 wxComboBox *arg1 = (wxComboBox *) 0 ;
2870 long arg2 ;
2871 long arg3 ;
2872 wxString *arg4 = 0 ;
2873 bool temp4 = False ;
2874 PyObject * obj0 = 0 ;
2875 PyObject * obj3 = 0 ;
2876 char *kwnames[] = {
2877 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2878 };
2879
2880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2882 {
2883 arg4 = wxString_in_helper(obj3);
2884 if (arg4 == NULL) SWIG_fail;
2885 temp4 = True;
2886 }
2887 {
2888 PyThreadState* __tstate = wxPyBeginAllowThreads();
2889 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2890
2891 wxPyEndAllowThreads(__tstate);
2892 if (PyErr_Occurred()) SWIG_fail;
2893 }
2894 Py_INCREF(Py_None); resultobj = Py_None;
2895 {
2896 if (temp4)
2897 delete arg4;
2898 }
2899 return resultobj;
2900 fail:
2901 {
2902 if (temp4)
2903 delete arg4;
2904 }
2905 return NULL;
2906 }
2907
2908
2909 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2910 PyObject *resultobj;
2911 wxComboBox *arg1 = (wxComboBox *) 0 ;
2912 int arg2 ;
2913 PyObject * obj0 = 0 ;
2914 char *kwnames[] = {
2915 (char *) "self",(char *) "n", NULL
2916 };
2917
2918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2920 {
2921 PyThreadState* __tstate = wxPyBeginAllowThreads();
2922 (arg1)->SetSelection(arg2);
2923
2924 wxPyEndAllowThreads(__tstate);
2925 if (PyErr_Occurred()) SWIG_fail;
2926 }
2927 Py_INCREF(Py_None); resultobj = Py_None;
2928 return resultobj;
2929 fail:
2930 return NULL;
2931 }
2932
2933
2934 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2935 PyObject *resultobj;
2936 wxComboBox *arg1 = (wxComboBox *) 0 ;
2937 long arg2 ;
2938 long arg3 ;
2939 PyObject * obj0 = 0 ;
2940 char *kwnames[] = {
2941 (char *) "self",(char *) "from",(char *) "to", NULL
2942 };
2943
2944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2946 {
2947 PyThreadState* __tstate = wxPyBeginAllowThreads();
2948 (arg1)->SetSelection(arg2,arg3);
2949
2950 wxPyEndAllowThreads(__tstate);
2951 if (PyErr_Occurred()) SWIG_fail;
2952 }
2953 Py_INCREF(Py_None); resultobj = Py_None;
2954 return resultobj;
2955 fail:
2956 return NULL;
2957 }
2958
2959
2960 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2961 PyObject *resultobj;
2962 wxComboBox *arg1 = (wxComboBox *) 0 ;
2963 bool arg2 ;
2964 PyObject * obj0 = 0 ;
2965 PyObject * obj1 = 0 ;
2966 char *kwnames[] = {
2967 (char *) "self",(char *) "editable", NULL
2968 };
2969
2970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2972 arg2 = PyInt_AsLong(obj1) ? true : false;
2973 if (PyErr_Occurred()) SWIG_fail;
2974 {
2975 PyThreadState* __tstate = wxPyBeginAllowThreads();
2976 (arg1)->SetEditable(arg2);
2977
2978 wxPyEndAllowThreads(__tstate);
2979 if (PyErr_Occurred()) SWIG_fail;
2980 }
2981 Py_INCREF(Py_None); resultobj = Py_None;
2982 return resultobj;
2983 fail:
2984 return NULL;
2985 }
2986
2987
2988 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2989 PyObject *resultobj;
2990 wxComboBox *arg1 = (wxComboBox *) 0 ;
2991 PyObject * obj0 = 0 ;
2992 char *kwnames[] = {
2993 (char *) "self", NULL
2994 };
2995
2996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2998 {
2999 PyThreadState* __tstate = wxPyBeginAllowThreads();
3000 (arg1)->SetInsertionPointEnd();
3001
3002 wxPyEndAllowThreads(__tstate);
3003 if (PyErr_Occurred()) SWIG_fail;
3004 }
3005 Py_INCREF(Py_None); resultobj = Py_None;
3006 return resultobj;
3007 fail:
3008 return NULL;
3009 }
3010
3011
3012 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3013 PyObject *resultobj;
3014 wxComboBox *arg1 = (wxComboBox *) 0 ;
3015 long arg2 ;
3016 long arg3 ;
3017 PyObject * obj0 = 0 ;
3018 char *kwnames[] = {
3019 (char *) "self",(char *) "from",(char *) "to", NULL
3020 };
3021
3022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
3023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3024 {
3025 PyThreadState* __tstate = wxPyBeginAllowThreads();
3026 (arg1)->Remove(arg2,arg3);
3027
3028 wxPyEndAllowThreads(__tstate);
3029 if (PyErr_Occurred()) SWIG_fail;
3030 }
3031 Py_INCREF(Py_None); resultobj = Py_None;
3032 return resultobj;
3033 fail:
3034 return NULL;
3035 }
3036
3037
3038 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3039 PyObject *obj;
3040 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3041 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3042 Py_INCREF(obj);
3043 return Py_BuildValue((char *)"");
3044 }
3045 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3046 PyObject *resultobj;
3047 wxWindow *arg1 = (wxWindow *) 0 ;
3048 int arg2 ;
3049 int arg3 ;
3050 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3051 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3052 wxSize const &arg5_defvalue = wxDefaultSize ;
3053 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3054 long arg6 = (long) wxGA_HORIZONTAL ;
3055 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3056 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3057 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3058 wxString *arg8 = (wxString *) &arg8_defvalue ;
3059 wxGauge *result;
3060 wxPoint temp4 ;
3061 wxSize temp5 ;
3062 bool temp8 = False ;
3063 PyObject * obj0 = 0 ;
3064 PyObject * obj3 = 0 ;
3065 PyObject * obj4 = 0 ;
3066 PyObject * obj6 = 0 ;
3067 PyObject * obj7 = 0 ;
3068 char *kwnames[] = {
3069 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3070 };
3071
3072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3074 if (obj3) {
3075 {
3076 arg4 = &temp4;
3077 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3078 }
3079 }
3080 if (obj4) {
3081 {
3082 arg5 = &temp5;
3083 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3084 }
3085 }
3086 if (obj6) {
3087 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3088 if (arg7 == NULL) {
3089 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3090 }
3091 }
3092 if (obj7) {
3093 {
3094 arg8 = wxString_in_helper(obj7);
3095 if (arg8 == NULL) SWIG_fail;
3096 temp8 = True;
3097 }
3098 }
3099 {
3100 PyThreadState* __tstate = wxPyBeginAllowThreads();
3101 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3102
3103 wxPyEndAllowThreads(__tstate);
3104 if (PyErr_Occurred()) SWIG_fail;
3105 }
3106 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3107 {
3108 if (temp8)
3109 delete arg8;
3110 }
3111 return resultobj;
3112 fail:
3113 {
3114 if (temp8)
3115 delete arg8;
3116 }
3117 return NULL;
3118 }
3119
3120
3121 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3122 PyObject *resultobj;
3123 wxGauge *result;
3124 char *kwnames[] = {
3125 NULL
3126 };
3127
3128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3129 {
3130 PyThreadState* __tstate = wxPyBeginAllowThreads();
3131 result = (wxGauge *)new wxGauge();
3132
3133 wxPyEndAllowThreads(__tstate);
3134 if (PyErr_Occurred()) SWIG_fail;
3135 }
3136 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3137 return resultobj;
3138 fail:
3139 return NULL;
3140 }
3141
3142
3143 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3144 PyObject *resultobj;
3145 wxGauge *arg1 = (wxGauge *) 0 ;
3146 wxWindow *arg2 = (wxWindow *) 0 ;
3147 int arg3 ;
3148 int arg4 ;
3149 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3150 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3151 wxSize const &arg6_defvalue = wxDefaultSize ;
3152 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3153 long arg7 = (long) wxGA_HORIZONTAL ;
3154 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3155 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3156 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3157 wxString *arg9 = (wxString *) &arg9_defvalue ;
3158 bool result;
3159 wxPoint temp5 ;
3160 wxSize temp6 ;
3161 bool temp9 = False ;
3162 PyObject * obj0 = 0 ;
3163 PyObject * obj1 = 0 ;
3164 PyObject * obj4 = 0 ;
3165 PyObject * obj5 = 0 ;
3166 PyObject * obj7 = 0 ;
3167 PyObject * obj8 = 0 ;
3168 char *kwnames[] = {
3169 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3170 };
3171
3172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3175 if (obj4) {
3176 {
3177 arg5 = &temp5;
3178 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3179 }
3180 }
3181 if (obj5) {
3182 {
3183 arg6 = &temp6;
3184 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3185 }
3186 }
3187 if (obj7) {
3188 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3189 if (arg8 == NULL) {
3190 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3191 }
3192 }
3193 if (obj8) {
3194 {
3195 arg9 = wxString_in_helper(obj8);
3196 if (arg9 == NULL) SWIG_fail;
3197 temp9 = True;
3198 }
3199 }
3200 {
3201 PyThreadState* __tstate = wxPyBeginAllowThreads();
3202 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3203
3204 wxPyEndAllowThreads(__tstate);
3205 if (PyErr_Occurred()) SWIG_fail;
3206 }
3207 resultobj = PyInt_FromLong((long)result);
3208 {
3209 if (temp9)
3210 delete arg9;
3211 }
3212 return resultobj;
3213 fail:
3214 {
3215 if (temp9)
3216 delete arg9;
3217 }
3218 return NULL;
3219 }
3220
3221
3222 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3223 PyObject *resultobj;
3224 wxGauge *arg1 = (wxGauge *) 0 ;
3225 int arg2 ;
3226 PyObject * obj0 = 0 ;
3227 char *kwnames[] = {
3228 (char *) "self",(char *) "range", NULL
3229 };
3230
3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3233 {
3234 PyThreadState* __tstate = wxPyBeginAllowThreads();
3235 (arg1)->SetRange(arg2);
3236
3237 wxPyEndAllowThreads(__tstate);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 }
3240 Py_INCREF(Py_None); resultobj = Py_None;
3241 return resultobj;
3242 fail:
3243 return NULL;
3244 }
3245
3246
3247 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3248 PyObject *resultobj;
3249 wxGauge *arg1 = (wxGauge *) 0 ;
3250 int result;
3251 PyObject * obj0 = 0 ;
3252 char *kwnames[] = {
3253 (char *) "self", NULL
3254 };
3255
3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3258 {
3259 PyThreadState* __tstate = wxPyBeginAllowThreads();
3260 result = (int)((wxGauge const *)arg1)->GetRange();
3261
3262 wxPyEndAllowThreads(__tstate);
3263 if (PyErr_Occurred()) SWIG_fail;
3264 }
3265 resultobj = PyInt_FromLong((long)result);
3266 return resultobj;
3267 fail:
3268 return NULL;
3269 }
3270
3271
3272 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3273 PyObject *resultobj;
3274 wxGauge *arg1 = (wxGauge *) 0 ;
3275 int arg2 ;
3276 PyObject * obj0 = 0 ;
3277 char *kwnames[] = {
3278 (char *) "self",(char *) "pos", NULL
3279 };
3280
3281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3283 {
3284 PyThreadState* __tstate = wxPyBeginAllowThreads();
3285 (arg1)->SetValue(arg2);
3286
3287 wxPyEndAllowThreads(__tstate);
3288 if (PyErr_Occurred()) SWIG_fail;
3289 }
3290 Py_INCREF(Py_None); resultobj = Py_None;
3291 return resultobj;
3292 fail:
3293 return NULL;
3294 }
3295
3296
3297 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3298 PyObject *resultobj;
3299 wxGauge *arg1 = (wxGauge *) 0 ;
3300 int result;
3301 PyObject * obj0 = 0 ;
3302 char *kwnames[] = {
3303 (char *) "self", NULL
3304 };
3305
3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3308 {
3309 PyThreadState* __tstate = wxPyBeginAllowThreads();
3310 result = (int)((wxGauge const *)arg1)->GetValue();
3311
3312 wxPyEndAllowThreads(__tstate);
3313 if (PyErr_Occurred()) SWIG_fail;
3314 }
3315 resultobj = PyInt_FromLong((long)result);
3316 return resultobj;
3317 fail:
3318 return NULL;
3319 }
3320
3321
3322 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3323 PyObject *resultobj;
3324 wxGauge *arg1 = (wxGauge *) 0 ;
3325 bool result;
3326 PyObject * obj0 = 0 ;
3327 char *kwnames[] = {
3328 (char *) "self", NULL
3329 };
3330
3331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3333 {
3334 PyThreadState* __tstate = wxPyBeginAllowThreads();
3335 result = (bool)((wxGauge const *)arg1)->IsVertical();
3336
3337 wxPyEndAllowThreads(__tstate);
3338 if (PyErr_Occurred()) SWIG_fail;
3339 }
3340 resultobj = PyInt_FromLong((long)result);
3341 return resultobj;
3342 fail:
3343 return NULL;
3344 }
3345
3346
3347 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3348 PyObject *resultobj;
3349 wxGauge *arg1 = (wxGauge *) 0 ;
3350 int arg2 ;
3351 PyObject * obj0 = 0 ;
3352 char *kwnames[] = {
3353 (char *) "self",(char *) "w", NULL
3354 };
3355
3356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3358 {
3359 PyThreadState* __tstate = wxPyBeginAllowThreads();
3360 (arg1)->SetShadowWidth(arg2);
3361
3362 wxPyEndAllowThreads(__tstate);
3363 if (PyErr_Occurred()) SWIG_fail;
3364 }
3365 Py_INCREF(Py_None); resultobj = Py_None;
3366 return resultobj;
3367 fail:
3368 return NULL;
3369 }
3370
3371
3372 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3373 PyObject *resultobj;
3374 wxGauge *arg1 = (wxGauge *) 0 ;
3375 int result;
3376 PyObject * obj0 = 0 ;
3377 char *kwnames[] = {
3378 (char *) "self", NULL
3379 };
3380
3381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3383 {
3384 PyThreadState* __tstate = wxPyBeginAllowThreads();
3385 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3386
3387 wxPyEndAllowThreads(__tstate);
3388 if (PyErr_Occurred()) SWIG_fail;
3389 }
3390 resultobj = PyInt_FromLong((long)result);
3391 return resultobj;
3392 fail:
3393 return NULL;
3394 }
3395
3396
3397 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3398 PyObject *resultobj;
3399 wxGauge *arg1 = (wxGauge *) 0 ;
3400 int arg2 ;
3401 PyObject * obj0 = 0 ;
3402 char *kwnames[] = {
3403 (char *) "self",(char *) "w", NULL
3404 };
3405
3406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3408 {
3409 PyThreadState* __tstate = wxPyBeginAllowThreads();
3410 (arg1)->SetBezelFace(arg2);
3411
3412 wxPyEndAllowThreads(__tstate);
3413 if (PyErr_Occurred()) SWIG_fail;
3414 }
3415 Py_INCREF(Py_None); resultobj = Py_None;
3416 return resultobj;
3417 fail:
3418 return NULL;
3419 }
3420
3421
3422 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3423 PyObject *resultobj;
3424 wxGauge *arg1 = (wxGauge *) 0 ;
3425 int result;
3426 PyObject * obj0 = 0 ;
3427 char *kwnames[] = {
3428 (char *) "self", NULL
3429 };
3430
3431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3433 {
3434 PyThreadState* __tstate = wxPyBeginAllowThreads();
3435 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3436
3437 wxPyEndAllowThreads(__tstate);
3438 if (PyErr_Occurred()) SWIG_fail;
3439 }
3440 resultobj = PyInt_FromLong((long)result);
3441 return resultobj;
3442 fail:
3443 return NULL;
3444 }
3445
3446
3447 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3448 PyObject *obj;
3449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3450 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3451 Py_INCREF(obj);
3452 return Py_BuildValue((char *)"");
3453 }
3454 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3455 PyObject *resultobj;
3456 wxWindow *arg1 = (wxWindow *) 0 ;
3457 int arg2 ;
3458 wxString *arg3 = 0 ;
3459 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3460 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3461 wxSize const &arg5_defvalue = wxDefaultSize ;
3462 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3463 long arg6 = (long) 0 ;
3464 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3465 wxString *arg7 = (wxString *) &arg7_defvalue ;
3466 wxStaticBox *result;
3467 bool temp3 = False ;
3468 wxPoint temp4 ;
3469 wxSize temp5 ;
3470 bool temp7 = False ;
3471 PyObject * obj0 = 0 ;
3472 PyObject * obj2 = 0 ;
3473 PyObject * obj3 = 0 ;
3474 PyObject * obj4 = 0 ;
3475 PyObject * obj6 = 0 ;
3476 char *kwnames[] = {
3477 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3478 };
3479
3480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3482 {
3483 arg3 = wxString_in_helper(obj2);
3484 if (arg3 == NULL) SWIG_fail;
3485 temp3 = True;
3486 }
3487 if (obj3) {
3488 {
3489 arg4 = &temp4;
3490 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3491 }
3492 }
3493 if (obj4) {
3494 {
3495 arg5 = &temp5;
3496 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3497 }
3498 }
3499 if (obj6) {
3500 {
3501 arg7 = wxString_in_helper(obj6);
3502 if (arg7 == NULL) SWIG_fail;
3503 temp7 = True;
3504 }
3505 }
3506 {
3507 PyThreadState* __tstate = wxPyBeginAllowThreads();
3508 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3509
3510 wxPyEndAllowThreads(__tstate);
3511 if (PyErr_Occurred()) SWIG_fail;
3512 }
3513 {
3514 resultobj = wxPyMake_wxObject(result);
3515 }
3516 {
3517 if (temp3)
3518 delete arg3;
3519 }
3520 {
3521 if (temp7)
3522 delete arg7;
3523 }
3524 return resultobj;
3525 fail:
3526 {
3527 if (temp3)
3528 delete arg3;
3529 }
3530 {
3531 if (temp7)
3532 delete arg7;
3533 }
3534 return NULL;
3535 }
3536
3537
3538 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3539 PyObject *resultobj;
3540 wxStaticBox *result;
3541 char *kwnames[] = {
3542 NULL
3543 };
3544
3545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3546 {
3547 PyThreadState* __tstate = wxPyBeginAllowThreads();
3548 result = (wxStaticBox *)new wxStaticBox();
3549
3550 wxPyEndAllowThreads(__tstate);
3551 if (PyErr_Occurred()) SWIG_fail;
3552 }
3553 {
3554 resultobj = wxPyMake_wxObject(result);
3555 }
3556 return resultobj;
3557 fail:
3558 return NULL;
3559 }
3560
3561
3562 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3563 PyObject *resultobj;
3564 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3565 wxWindow *arg2 = (wxWindow *) 0 ;
3566 int arg3 ;
3567 wxString *arg4 = 0 ;
3568 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3569 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3570 wxSize const &arg6_defvalue = wxDefaultSize ;
3571 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3572 long arg7 = (long) 0 ;
3573 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3574 wxString *arg8 = (wxString *) &arg8_defvalue ;
3575 bool result;
3576 bool temp4 = False ;
3577 wxPoint temp5 ;
3578 wxSize temp6 ;
3579 bool temp8 = False ;
3580 PyObject * obj0 = 0 ;
3581 PyObject * obj1 = 0 ;
3582 PyObject * obj3 = 0 ;
3583 PyObject * obj4 = 0 ;
3584 PyObject * obj5 = 0 ;
3585 PyObject * obj7 = 0 ;
3586 char *kwnames[] = {
3587 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3588 };
3589
3590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3593 {
3594 arg4 = wxString_in_helper(obj3);
3595 if (arg4 == NULL) SWIG_fail;
3596 temp4 = True;
3597 }
3598 if (obj4) {
3599 {
3600 arg5 = &temp5;
3601 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3602 }
3603 }
3604 if (obj5) {
3605 {
3606 arg6 = &temp6;
3607 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3608 }
3609 }
3610 if (obj7) {
3611 {
3612 arg8 = wxString_in_helper(obj7);
3613 if (arg8 == NULL) SWIG_fail;
3614 temp8 = True;
3615 }
3616 }
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 resultobj = PyInt_FromLong((long)result);
3625 {
3626 if (temp4)
3627 delete arg4;
3628 }
3629 {
3630 if (temp8)
3631 delete arg8;
3632 }
3633 return resultobj;
3634 fail:
3635 {
3636 if (temp4)
3637 delete arg4;
3638 }
3639 {
3640 if (temp8)
3641 delete arg8;
3642 }
3643 return NULL;
3644 }
3645
3646
3647 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3648 PyObject *obj;
3649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3650 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3651 Py_INCREF(obj);
3652 return Py_BuildValue((char *)"");
3653 }
3654 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3655 PyObject *resultobj;
3656 wxWindow *arg1 = (wxWindow *) 0 ;
3657 int arg2 ;
3658 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3659 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3660 wxSize const &arg4_defvalue = wxDefaultSize ;
3661 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3662 long arg5 = (long) wxLI_HORIZONTAL ;
3663 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3664 wxString *arg6 = (wxString *) &arg6_defvalue ;
3665 wxStaticLine *result;
3666 wxPoint temp3 ;
3667 wxSize temp4 ;
3668 bool temp6 = False ;
3669 PyObject * obj0 = 0 ;
3670 PyObject * obj2 = 0 ;
3671 PyObject * obj3 = 0 ;
3672 PyObject * obj5 = 0 ;
3673 char *kwnames[] = {
3674 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3675 };
3676
3677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3679 if (obj2) {
3680 {
3681 arg3 = &temp3;
3682 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3683 }
3684 }
3685 if (obj3) {
3686 {
3687 arg4 = &temp4;
3688 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3689 }
3690 }
3691 if (obj5) {
3692 {
3693 arg6 = wxString_in_helper(obj5);
3694 if (arg6 == NULL) SWIG_fail;
3695 temp6 = True;
3696 }
3697 }
3698 {
3699 PyThreadState* __tstate = wxPyBeginAllowThreads();
3700 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3701
3702 wxPyEndAllowThreads(__tstate);
3703 if (PyErr_Occurred()) SWIG_fail;
3704 }
3705 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3706 {
3707 if (temp6)
3708 delete arg6;
3709 }
3710 return resultobj;
3711 fail:
3712 {
3713 if (temp6)
3714 delete arg6;
3715 }
3716 return NULL;
3717 }
3718
3719
3720 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3721 PyObject *resultobj;
3722 wxStaticLine *result;
3723 char *kwnames[] = {
3724 NULL
3725 };
3726
3727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3728 {
3729 PyThreadState* __tstate = wxPyBeginAllowThreads();
3730 result = (wxStaticLine *)new wxStaticLine();
3731
3732 wxPyEndAllowThreads(__tstate);
3733 if (PyErr_Occurred()) SWIG_fail;
3734 }
3735 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3736 return resultobj;
3737 fail:
3738 return NULL;
3739 }
3740
3741
3742 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3743 PyObject *resultobj;
3744 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3745 wxWindow *arg2 = (wxWindow *) 0 ;
3746 int arg3 ;
3747 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3748 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3749 wxSize const &arg5_defvalue = wxDefaultSize ;
3750 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3751 long arg6 = (long) wxLI_HORIZONTAL ;
3752 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3753 wxString *arg7 = (wxString *) &arg7_defvalue ;
3754 bool result;
3755 wxPoint temp4 ;
3756 wxSize temp5 ;
3757 bool temp7 = False ;
3758 PyObject * obj0 = 0 ;
3759 PyObject * obj1 = 0 ;
3760 PyObject * obj3 = 0 ;
3761 PyObject * obj4 = 0 ;
3762 PyObject * obj6 = 0 ;
3763 char *kwnames[] = {
3764 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3765 };
3766
3767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3769 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3770 if (obj3) {
3771 {
3772 arg4 = &temp4;
3773 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3774 }
3775 }
3776 if (obj4) {
3777 {
3778 arg5 = &temp5;
3779 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3780 }
3781 }
3782 if (obj6) {
3783 {
3784 arg7 = wxString_in_helper(obj6);
3785 if (arg7 == NULL) SWIG_fail;
3786 temp7 = True;
3787 }
3788 }
3789 {
3790 PyThreadState* __tstate = wxPyBeginAllowThreads();
3791 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3792
3793 wxPyEndAllowThreads(__tstate);
3794 if (PyErr_Occurred()) SWIG_fail;
3795 }
3796 resultobj = PyInt_FromLong((long)result);
3797 {
3798 if (temp7)
3799 delete arg7;
3800 }
3801 return resultobj;
3802 fail:
3803 {
3804 if (temp7)
3805 delete arg7;
3806 }
3807 return NULL;
3808 }
3809
3810
3811 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3812 PyObject *resultobj;
3813 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3814 bool result;
3815 PyObject * obj0 = 0 ;
3816 char *kwnames[] = {
3817 (char *) "self", NULL
3818 };
3819
3820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3822 {
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3825
3826 wxPyEndAllowThreads(__tstate);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 }
3829 resultobj = PyInt_FromLong((long)result);
3830 return resultobj;
3831 fail:
3832 return NULL;
3833 }
3834
3835
3836 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3837 PyObject *resultobj;
3838 int result;
3839 char *kwnames[] = {
3840 NULL
3841 };
3842
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3844 {
3845 PyThreadState* __tstate = wxPyBeginAllowThreads();
3846 result = (int)wxStaticLine::GetDefaultSize();
3847
3848 wxPyEndAllowThreads(__tstate);
3849 if (PyErr_Occurred()) SWIG_fail;
3850 }
3851 resultobj = PyInt_FromLong((long)result);
3852 return resultobj;
3853 fail:
3854 return NULL;
3855 }
3856
3857
3858 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3859 PyObject *obj;
3860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3861 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3862 Py_INCREF(obj);
3863 return Py_BuildValue((char *)"");
3864 }
3865 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3866 PyObject *resultobj;
3867 wxWindow *arg1 = (wxWindow *) 0 ;
3868 int arg2 ;
3869 wxString *arg3 = 0 ;
3870 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3871 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3872 wxSize const &arg5_defvalue = wxDefaultSize ;
3873 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3874 long arg6 = (long) 0 ;
3875 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3876 wxString *arg7 = (wxString *) &arg7_defvalue ;
3877 wxStaticText *result;
3878 bool temp3 = False ;
3879 wxPoint temp4 ;
3880 wxSize temp5 ;
3881 bool temp7 = False ;
3882 PyObject * obj0 = 0 ;
3883 PyObject * obj2 = 0 ;
3884 PyObject * obj3 = 0 ;
3885 PyObject * obj4 = 0 ;
3886 PyObject * obj6 = 0 ;
3887 char *kwnames[] = {
3888 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3889 };
3890
3891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3893 {
3894 arg3 = wxString_in_helper(obj2);
3895 if (arg3 == NULL) SWIG_fail;
3896 temp3 = True;
3897 }
3898 if (obj3) {
3899 {
3900 arg4 = &temp4;
3901 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3902 }
3903 }
3904 if (obj4) {
3905 {
3906 arg5 = &temp5;
3907 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3908 }
3909 }
3910 if (obj6) {
3911 {
3912 arg7 = wxString_in_helper(obj6);
3913 if (arg7 == NULL) SWIG_fail;
3914 temp7 = True;
3915 }
3916 }
3917 {
3918 PyThreadState* __tstate = wxPyBeginAllowThreads();
3919 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3920
3921 wxPyEndAllowThreads(__tstate);
3922 if (PyErr_Occurred()) SWIG_fail;
3923 }
3924 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3925 {
3926 if (temp3)
3927 delete arg3;
3928 }
3929 {
3930 if (temp7)
3931 delete arg7;
3932 }
3933 return resultobj;
3934 fail:
3935 {
3936 if (temp3)
3937 delete arg3;
3938 }
3939 {
3940 if (temp7)
3941 delete arg7;
3942 }
3943 return NULL;
3944 }
3945
3946
3947 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3948 PyObject *resultobj;
3949 wxStaticText *result;
3950 char *kwnames[] = {
3951 NULL
3952 };
3953
3954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3955 {
3956 PyThreadState* __tstate = wxPyBeginAllowThreads();
3957 result = (wxStaticText *)new wxStaticText();
3958
3959 wxPyEndAllowThreads(__tstate);
3960 if (PyErr_Occurred()) SWIG_fail;
3961 }
3962 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3963 return resultobj;
3964 fail:
3965 return NULL;
3966 }
3967
3968
3969 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3970 PyObject *resultobj;
3971 wxStaticText *arg1 = (wxStaticText *) 0 ;
3972 wxWindow *arg2 = (wxWindow *) 0 ;
3973 int arg3 ;
3974 wxString *arg4 = 0 ;
3975 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3976 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3977 wxSize const &arg6_defvalue = wxDefaultSize ;
3978 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3979 long arg7 = (long) 0 ;
3980 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3981 wxString *arg8 = (wxString *) &arg8_defvalue ;
3982 bool result;
3983 bool temp4 = False ;
3984 wxPoint temp5 ;
3985 wxSize temp6 ;
3986 bool temp8 = False ;
3987 PyObject * obj0 = 0 ;
3988 PyObject * obj1 = 0 ;
3989 PyObject * obj3 = 0 ;
3990 PyObject * obj4 = 0 ;
3991 PyObject * obj5 = 0 ;
3992 PyObject * obj7 = 0 ;
3993 char *kwnames[] = {
3994 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3995 };
3996
3997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3999 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4000 {
4001 arg4 = wxString_in_helper(obj3);
4002 if (arg4 == NULL) SWIG_fail;
4003 temp4 = True;
4004 }
4005 if (obj4) {
4006 {
4007 arg5 = &temp5;
4008 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4009 }
4010 }
4011 if (obj5) {
4012 {
4013 arg6 = &temp6;
4014 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4015 }
4016 }
4017 if (obj7) {
4018 {
4019 arg8 = wxString_in_helper(obj7);
4020 if (arg8 == NULL) SWIG_fail;
4021 temp8 = True;
4022 }
4023 }
4024 {
4025 PyThreadState* __tstate = wxPyBeginAllowThreads();
4026 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4027
4028 wxPyEndAllowThreads(__tstate);
4029 if (PyErr_Occurred()) SWIG_fail;
4030 }
4031 resultobj = PyInt_FromLong((long)result);
4032 {
4033 if (temp4)
4034 delete arg4;
4035 }
4036 {
4037 if (temp8)
4038 delete arg8;
4039 }
4040 return resultobj;
4041 fail:
4042 {
4043 if (temp4)
4044 delete arg4;
4045 }
4046 {
4047 if (temp8)
4048 delete arg8;
4049 }
4050 return NULL;
4051 }
4052
4053
4054 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4055 PyObject *obj;
4056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4057 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4058 Py_INCREF(obj);
4059 return Py_BuildValue((char *)"");
4060 }
4061 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4062 PyObject *resultobj;
4063 wxWindow *arg1 = (wxWindow *) 0 ;
4064 int arg2 ;
4065 wxBitmap *arg3 = 0 ;
4066 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4067 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4068 wxSize const &arg5_defvalue = wxDefaultSize ;
4069 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4070 long arg6 = (long) 0 ;
4071 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4072 wxString *arg7 = (wxString *) &arg7_defvalue ;
4073 wxStaticBitmap *result;
4074 wxPoint temp4 ;
4075 wxSize temp5 ;
4076 bool temp7 = False ;
4077 PyObject * obj0 = 0 ;
4078 PyObject * obj2 = 0 ;
4079 PyObject * obj3 = 0 ;
4080 PyObject * obj4 = 0 ;
4081 PyObject * obj6 = 0 ;
4082 char *kwnames[] = {
4083 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4084 };
4085
4086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4088 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4089 if (arg3 == NULL) {
4090 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4091 }
4092 if (obj3) {
4093 {
4094 arg4 = &temp4;
4095 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4096 }
4097 }
4098 if (obj4) {
4099 {
4100 arg5 = &temp5;
4101 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4102 }
4103 }
4104 if (obj6) {
4105 {
4106 arg7 = wxString_in_helper(obj6);
4107 if (arg7 == NULL) SWIG_fail;
4108 temp7 = True;
4109 }
4110 }
4111 {
4112 PyThreadState* __tstate = wxPyBeginAllowThreads();
4113 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4114
4115 wxPyEndAllowThreads(__tstate);
4116 if (PyErr_Occurred()) SWIG_fail;
4117 }
4118 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4119 {
4120 if (temp7)
4121 delete arg7;
4122 }
4123 return resultobj;
4124 fail:
4125 {
4126 if (temp7)
4127 delete arg7;
4128 }
4129 return NULL;
4130 }
4131
4132
4133 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4134 PyObject *resultobj;
4135 wxStaticBitmap *result;
4136 char *kwnames[] = {
4137 NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4141 {
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (wxStaticBitmap *)new wxStaticBitmap();
4144
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4149 return resultobj;
4150 fail:
4151 return NULL;
4152 }
4153
4154
4155 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4156 PyObject *resultobj;
4157 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4158 wxWindow *arg2 = (wxWindow *) 0 ;
4159 int arg3 ;
4160 wxBitmap *arg4 = 0 ;
4161 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4162 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4163 wxSize const &arg6_defvalue = wxDefaultSize ;
4164 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4165 long arg7 = (long) 0 ;
4166 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4167 wxString *arg8 = (wxString *) &arg8_defvalue ;
4168 bool result;
4169 wxPoint temp5 ;
4170 wxSize temp6 ;
4171 bool temp8 = False ;
4172 PyObject * obj0 = 0 ;
4173 PyObject * obj1 = 0 ;
4174 PyObject * obj3 = 0 ;
4175 PyObject * obj4 = 0 ;
4176 PyObject * obj5 = 0 ;
4177 PyObject * obj7 = 0 ;
4178 char *kwnames[] = {
4179 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4180 };
4181
4182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4184 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4185 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4186 if (arg4 == NULL) {
4187 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4188 }
4189 if (obj4) {
4190 {
4191 arg5 = &temp5;
4192 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4193 }
4194 }
4195 if (obj5) {
4196 {
4197 arg6 = &temp6;
4198 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4199 }
4200 }
4201 if (obj7) {
4202 {
4203 arg8 = wxString_in_helper(obj7);
4204 if (arg8 == NULL) SWIG_fail;
4205 temp8 = True;
4206 }
4207 }
4208 {
4209 PyThreadState* __tstate = wxPyBeginAllowThreads();
4210 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4211
4212 wxPyEndAllowThreads(__tstate);
4213 if (PyErr_Occurred()) SWIG_fail;
4214 }
4215 resultobj = PyInt_FromLong((long)result);
4216 {
4217 if (temp8)
4218 delete arg8;
4219 }
4220 return resultobj;
4221 fail:
4222 {
4223 if (temp8)
4224 delete arg8;
4225 }
4226 return NULL;
4227 }
4228
4229
4230 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4231 PyObject *resultobj;
4232 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4233 wxBitmap result;
4234 PyObject * obj0 = 0 ;
4235 char *kwnames[] = {
4236 (char *) "self", NULL
4237 };
4238
4239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4241 {
4242 PyThreadState* __tstate = wxPyBeginAllowThreads();
4243 result = (arg1)->GetBitmap();
4244
4245 wxPyEndAllowThreads(__tstate);
4246 if (PyErr_Occurred()) SWIG_fail;
4247 }
4248 {
4249 wxBitmap * resultptr;
4250 resultptr = new wxBitmap((wxBitmap &) result);
4251 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4252 }
4253 return resultobj;
4254 fail:
4255 return NULL;
4256 }
4257
4258
4259 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4260 PyObject *resultobj;
4261 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4262 wxBitmap *arg2 = 0 ;
4263 PyObject * obj0 = 0 ;
4264 PyObject * obj1 = 0 ;
4265 char *kwnames[] = {
4266 (char *) "self",(char *) "bitmap", NULL
4267 };
4268
4269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4272 if (arg2 == NULL) {
4273 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4274 }
4275 {
4276 PyThreadState* __tstate = wxPyBeginAllowThreads();
4277 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4278
4279 wxPyEndAllowThreads(__tstate);
4280 if (PyErr_Occurred()) SWIG_fail;
4281 }
4282 Py_INCREF(Py_None); resultobj = Py_None;
4283 return resultobj;
4284 fail:
4285 return NULL;
4286 }
4287
4288
4289 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4290 PyObject *resultobj;
4291 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4292 wxIcon *arg2 = 0 ;
4293 PyObject * obj0 = 0 ;
4294 PyObject * obj1 = 0 ;
4295 char *kwnames[] = {
4296 (char *) "self",(char *) "icon", NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4301 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4302 if (arg2 == NULL) {
4303 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4304 }
4305 {
4306 PyThreadState* __tstate = wxPyBeginAllowThreads();
4307 (arg1)->SetIcon((wxIcon const &)*arg2);
4308
4309 wxPyEndAllowThreads(__tstate);
4310 if (PyErr_Occurred()) SWIG_fail;
4311 }
4312 Py_INCREF(Py_None); resultobj = Py_None;
4313 return resultobj;
4314 fail:
4315 return NULL;
4316 }
4317
4318
4319 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4320 PyObject *obj;
4321 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4322 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4323 Py_INCREF(obj);
4324 return Py_BuildValue((char *)"");
4325 }
4326 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4327 PyObject *resultobj;
4328 wxWindow *arg1 = (wxWindow *) 0 ;
4329 int arg2 ;
4330 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4331 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4332 wxSize const &arg4_defvalue = wxDefaultSize ;
4333 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4334 int arg5 = (int) 0 ;
4335 wxString *arg6 = (wxString *) NULL ;
4336 long arg7 = (long) 0 ;
4337 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4338 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4339 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4340 wxString *arg9 = (wxString *) &arg9_defvalue ;
4341 wxListBox *result;
4342 wxPoint temp3 ;
4343 wxSize temp4 ;
4344 bool temp8 = False ;
4345 PyObject * obj0 = 0 ;
4346 PyObject * obj2 = 0 ;
4347 PyObject * obj3 = 0 ;
4348 PyObject * obj4 = 0 ;
4349 PyObject * obj6 = 0 ;
4350 PyObject * obj7 = 0 ;
4351 char *kwnames[] = {
4352 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4353 };
4354
4355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4357 if (obj2) {
4358 {
4359 arg3 = &temp3;
4360 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4361 }
4362 }
4363 if (obj3) {
4364 {
4365 arg4 = &temp4;
4366 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4367 }
4368 }
4369 if (obj4) {
4370 {
4371 arg5 = PyList_Size(obj4);
4372 arg6 = wxString_LIST_helper(obj4);
4373 if (arg6 == NULL) SWIG_fail;
4374 }
4375 }
4376 if (obj6) {
4377 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4378 if (arg8 == NULL) {
4379 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4380 }
4381 }
4382 if (obj7) {
4383 {
4384 arg9 = wxString_in_helper(obj7);
4385 if (arg9 == NULL) SWIG_fail;
4386 temp8 = True;
4387 }
4388 }
4389 {
4390 PyThreadState* __tstate = wxPyBeginAllowThreads();
4391 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4392
4393 wxPyEndAllowThreads(__tstate);
4394 if (PyErr_Occurred()) SWIG_fail;
4395 }
4396 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4397 {
4398 if (arg6) delete [] arg6;
4399 }
4400 {
4401 if (temp8)
4402 delete arg9;
4403 }
4404 return resultobj;
4405 fail:
4406 {
4407 if (arg6) delete [] arg6;
4408 }
4409 {
4410 if (temp8)
4411 delete arg9;
4412 }
4413 return NULL;
4414 }
4415
4416
4417 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4418 PyObject *resultobj;
4419 wxListBox *result;
4420 char *kwnames[] = {
4421 NULL
4422 };
4423
4424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4425 {
4426 PyThreadState* __tstate = wxPyBeginAllowThreads();
4427 result = (wxListBox *)new wxListBox();
4428
4429 wxPyEndAllowThreads(__tstate);
4430 if (PyErr_Occurred()) SWIG_fail;
4431 }
4432 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4433 return resultobj;
4434 fail:
4435 return NULL;
4436 }
4437
4438
4439 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4440 PyObject *resultobj;
4441 wxListBox *arg1 = (wxListBox *) 0 ;
4442 wxWindow *arg2 = (wxWindow *) 0 ;
4443 int arg3 ;
4444 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4445 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4446 wxSize const &arg5_defvalue = wxDefaultSize ;
4447 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4448 int arg6 = (int) 0 ;
4449 wxString *arg7 = (wxString *) NULL ;
4450 long arg8 = (long) 0 ;
4451 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4452 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4453 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4454 wxString *arg10 = (wxString *) &arg10_defvalue ;
4455 bool result;
4456 wxPoint temp4 ;
4457 wxSize temp5 ;
4458 bool temp9 = False ;
4459 PyObject * obj0 = 0 ;
4460 PyObject * obj1 = 0 ;
4461 PyObject * obj3 = 0 ;
4462 PyObject * obj4 = 0 ;
4463 PyObject * obj5 = 0 ;
4464 PyObject * obj7 = 0 ;
4465 PyObject * obj8 = 0 ;
4466 char *kwnames[] = {
4467 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4468 };
4469
4470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4473 if (obj3) {
4474 {
4475 arg4 = &temp4;
4476 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4477 }
4478 }
4479 if (obj4) {
4480 {
4481 arg5 = &temp5;
4482 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4483 }
4484 }
4485 if (obj5) {
4486 {
4487 arg6 = PyList_Size(obj5);
4488 arg7 = wxString_LIST_helper(obj5);
4489 if (arg7 == NULL) SWIG_fail;
4490 }
4491 }
4492 if (obj7) {
4493 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4494 if (arg9 == NULL) {
4495 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4496 }
4497 }
4498 if (obj8) {
4499 {
4500 arg10 = wxString_in_helper(obj8);
4501 if (arg10 == NULL) SWIG_fail;
4502 temp9 = True;
4503 }
4504 }
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 resultobj = PyInt_FromLong((long)result);
4513 {
4514 if (arg7) delete [] arg7;
4515 }
4516 {
4517 if (temp9)
4518 delete arg10;
4519 }
4520 return resultobj;
4521 fail:
4522 {
4523 if (arg7) delete [] arg7;
4524 }
4525 {
4526 if (temp9)
4527 delete arg10;
4528 }
4529 return NULL;
4530 }
4531
4532
4533 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4534 PyObject *resultobj;
4535 wxListBox *arg1 = (wxListBox *) 0 ;
4536 wxString *arg2 = 0 ;
4537 int arg3 ;
4538 PyObject *arg4 = (PyObject *) NULL ;
4539 bool temp2 = False ;
4540 PyObject * obj0 = 0 ;
4541 PyObject * obj1 = 0 ;
4542 PyObject * obj3 = 0 ;
4543 char *kwnames[] = {
4544 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4545 };
4546
4547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4549 {
4550 arg2 = wxString_in_helper(obj1);
4551 if (arg2 == NULL) SWIG_fail;
4552 temp2 = True;
4553 }
4554 if (obj3) {
4555 arg4 = obj3;
4556 }
4557 {
4558 PyThreadState* __tstate = wxPyBeginAllowThreads();
4559 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4560
4561 wxPyEndAllowThreads(__tstate);
4562 if (PyErr_Occurred()) SWIG_fail;
4563 }
4564 Py_INCREF(Py_None); resultobj = Py_None;
4565 {
4566 if (temp2)
4567 delete arg2;
4568 }
4569 return resultobj;
4570 fail:
4571 {
4572 if (temp2)
4573 delete arg2;
4574 }
4575 return NULL;
4576 }
4577
4578
4579 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4580 PyObject *resultobj;
4581 wxListBox *arg1 = (wxListBox *) 0 ;
4582 wxArrayString *arg2 = 0 ;
4583 int arg3 ;
4584 PyObject * obj0 = 0 ;
4585 PyObject * obj1 = 0 ;
4586 char *kwnames[] = {
4587 (char *) "self",(char *) "items",(char *) "pos", NULL
4588 };
4589
4590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4592 {
4593 if (! PySequence_Check(obj1)) {
4594 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4595 SWIG_fail;
4596 }
4597 arg2 = new wxArrayString;
4598 int i, len=PySequence_Length(obj1);
4599 for (i=0; i<len; i++) {
4600 PyObject* item = PySequence_GetItem(obj1, i);
4601 #if wxUSE_UNICODE
4602 PyObject* str = PyObject_Unicode(item);
4603 #else
4604 PyObject* str = PyObject_Str(item);
4605 #endif
4606 arg2->Add(Py2wxString(str));
4607 Py_DECREF(item);
4608 Py_DECREF(str);
4609 }
4610 }
4611 {
4612 PyThreadState* __tstate = wxPyBeginAllowThreads();
4613 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4614
4615 wxPyEndAllowThreads(__tstate);
4616 if (PyErr_Occurred()) SWIG_fail;
4617 }
4618 Py_INCREF(Py_None); resultobj = Py_None;
4619 {
4620 if (arg2) delete arg2;
4621 }
4622 return resultobj;
4623 fail:
4624 {
4625 if (arg2) delete arg2;
4626 }
4627 return NULL;
4628 }
4629
4630
4631 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 wxListBox *arg1 = (wxListBox *) 0 ;
4634 wxArrayString *arg2 = 0 ;
4635 PyObject * obj0 = 0 ;
4636 PyObject * obj1 = 0 ;
4637 char *kwnames[] = {
4638 (char *) "self",(char *) "items", NULL
4639 };
4640
4641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4643 {
4644 if (! PySequence_Check(obj1)) {
4645 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4646 SWIG_fail;
4647 }
4648 arg2 = new wxArrayString;
4649 int i, len=PySequence_Length(obj1);
4650 for (i=0; i<len; i++) {
4651 PyObject* item = PySequence_GetItem(obj1, i);
4652 #if wxUSE_UNICODE
4653 PyObject* str = PyObject_Unicode(item);
4654 #else
4655 PyObject* str = PyObject_Str(item);
4656 #endif
4657 arg2->Add(Py2wxString(str));
4658 Py_DECREF(item);
4659 Py_DECREF(str);
4660 }
4661 }
4662 {
4663 PyThreadState* __tstate = wxPyBeginAllowThreads();
4664 (arg1)->Set((wxArrayString const &)*arg2);
4665
4666 wxPyEndAllowThreads(__tstate);
4667 if (PyErr_Occurred()) SWIG_fail;
4668 }
4669 Py_INCREF(Py_None); resultobj = Py_None;
4670 {
4671 if (arg2) delete arg2;
4672 }
4673 return resultobj;
4674 fail:
4675 {
4676 if (arg2) delete arg2;
4677 }
4678 return NULL;
4679 }
4680
4681
4682 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4683 PyObject *resultobj;
4684 wxListBox *arg1 = (wxListBox *) 0 ;
4685 int arg2 ;
4686 bool result;
4687 PyObject * obj0 = 0 ;
4688 char *kwnames[] = {
4689 (char *) "self",(char *) "n", NULL
4690 };
4691
4692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4694 {
4695 PyThreadState* __tstate = wxPyBeginAllowThreads();
4696 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4697
4698 wxPyEndAllowThreads(__tstate);
4699 if (PyErr_Occurred()) SWIG_fail;
4700 }
4701 resultobj = PyInt_FromLong((long)result);
4702 return resultobj;
4703 fail:
4704 return NULL;
4705 }
4706
4707
4708 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4709 PyObject *resultobj;
4710 wxListBox *arg1 = (wxListBox *) 0 ;
4711 int arg2 ;
4712 bool arg3 = (bool) True ;
4713 PyObject * obj0 = 0 ;
4714 PyObject * obj2 = 0 ;
4715 char *kwnames[] = {
4716 (char *) "self",(char *) "n",(char *) "select", NULL
4717 };
4718
4719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4721 if (obj2) {
4722 arg3 = PyInt_AsLong(obj2) ? true : false;
4723 if (PyErr_Occurred()) SWIG_fail;
4724 }
4725 {
4726 PyThreadState* __tstate = wxPyBeginAllowThreads();
4727 (arg1)->SetSelection(arg2,arg3);
4728
4729 wxPyEndAllowThreads(__tstate);
4730 if (PyErr_Occurred()) SWIG_fail;
4731 }
4732 Py_INCREF(Py_None); resultobj = Py_None;
4733 return resultobj;
4734 fail:
4735 return NULL;
4736 }
4737
4738
4739 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4740 PyObject *resultobj;
4741 wxListBox *arg1 = (wxListBox *) 0 ;
4742 int arg2 ;
4743 PyObject * obj0 = 0 ;
4744 char *kwnames[] = {
4745 (char *) "self",(char *) "n", NULL
4746 };
4747
4748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4750 {
4751 PyThreadState* __tstate = wxPyBeginAllowThreads();
4752 (arg1)->Select(arg2);
4753
4754 wxPyEndAllowThreads(__tstate);
4755 if (PyErr_Occurred()) SWIG_fail;
4756 }
4757 Py_INCREF(Py_None); resultobj = Py_None;
4758 return resultobj;
4759 fail:
4760 return NULL;
4761 }
4762
4763
4764 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4765 PyObject *resultobj;
4766 wxListBox *arg1 = (wxListBox *) 0 ;
4767 int arg2 ;
4768 PyObject * obj0 = 0 ;
4769 char *kwnames[] = {
4770 (char *) "self",(char *) "n", NULL
4771 };
4772
4773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4775 {
4776 PyThreadState* __tstate = wxPyBeginAllowThreads();
4777 (arg1)->Deselect(arg2);
4778
4779 wxPyEndAllowThreads(__tstate);
4780 if (PyErr_Occurred()) SWIG_fail;
4781 }
4782 Py_INCREF(Py_None); resultobj = Py_None;
4783 return resultobj;
4784 fail:
4785 return NULL;
4786 }
4787
4788
4789 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4790 PyObject *resultobj;
4791 wxListBox *arg1 = (wxListBox *) 0 ;
4792 int arg2 = (int) -1 ;
4793 PyObject * obj0 = 0 ;
4794 char *kwnames[] = {
4795 (char *) "self",(char *) "itemToLeaveSelected", NULL
4796 };
4797
4798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4800 {
4801 PyThreadState* __tstate = wxPyBeginAllowThreads();
4802 (arg1)->DeselectAll(arg2);
4803
4804 wxPyEndAllowThreads(__tstate);
4805 if (PyErr_Occurred()) SWIG_fail;
4806 }
4807 Py_INCREF(Py_None); resultobj = Py_None;
4808 return resultobj;
4809 fail:
4810 return NULL;
4811 }
4812
4813
4814 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4815 PyObject *resultobj;
4816 wxListBox *arg1 = (wxListBox *) 0 ;
4817 wxString *arg2 = 0 ;
4818 bool arg3 = (bool) True ;
4819 bool result;
4820 bool temp2 = False ;
4821 PyObject * obj0 = 0 ;
4822 PyObject * obj1 = 0 ;
4823 PyObject * obj2 = 0 ;
4824 char *kwnames[] = {
4825 (char *) "self",(char *) "s",(char *) "select", NULL
4826 };
4827
4828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4830 {
4831 arg2 = wxString_in_helper(obj1);
4832 if (arg2 == NULL) SWIG_fail;
4833 temp2 = True;
4834 }
4835 if (obj2) {
4836 arg3 = PyInt_AsLong(obj2) ? true : false;
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4842
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 resultobj = PyInt_FromLong((long)result);
4847 {
4848 if (temp2)
4849 delete arg2;
4850 }
4851 return resultobj;
4852 fail:
4853 {
4854 if (temp2)
4855 delete arg2;
4856 }
4857 return NULL;
4858 }
4859
4860
4861 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4862 PyObject *resultobj;
4863 wxListBox *arg1 = (wxListBox *) 0 ;
4864 PyObject *result;
4865 PyObject * obj0 = 0 ;
4866 char *kwnames[] = {
4867 (char *) "self", NULL
4868 };
4869
4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4872 {
4873 PyThreadState* __tstate = wxPyBeginAllowThreads();
4874 result = (PyObject *)wxListBox_GetSelections(arg1);
4875
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 resultobj = result;
4880 return resultobj;
4881 fail:
4882 return NULL;
4883 }
4884
4885
4886 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject *resultobj;
4888 wxListBox *arg1 = (wxListBox *) 0 ;
4889 int arg2 ;
4890 PyObject * obj0 = 0 ;
4891 char *kwnames[] = {
4892 (char *) "self",(char *) "n", NULL
4893 };
4894
4895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4897 {
4898 PyThreadState* __tstate = wxPyBeginAllowThreads();
4899 (arg1)->SetFirstItem(arg2);
4900
4901 wxPyEndAllowThreads(__tstate);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 }
4904 Py_INCREF(Py_None); resultobj = Py_None;
4905 return resultobj;
4906 fail:
4907 return NULL;
4908 }
4909
4910
4911 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4912 PyObject *resultobj;
4913 wxListBox *arg1 = (wxListBox *) 0 ;
4914 wxString *arg2 = 0 ;
4915 bool temp2 = False ;
4916 PyObject * obj0 = 0 ;
4917 PyObject * obj1 = 0 ;
4918 char *kwnames[] = {
4919 (char *) "self",(char *) "s", NULL
4920 };
4921
4922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4924 {
4925 arg2 = wxString_in_helper(obj1);
4926 if (arg2 == NULL) SWIG_fail;
4927 temp2 = True;
4928 }
4929 {
4930 PyThreadState* __tstate = wxPyBeginAllowThreads();
4931 (arg1)->SetFirstItem((wxString const &)*arg2);
4932
4933 wxPyEndAllowThreads(__tstate);
4934 if (PyErr_Occurred()) SWIG_fail;
4935 }
4936 Py_INCREF(Py_None); resultobj = Py_None;
4937 {
4938 if (temp2)
4939 delete arg2;
4940 }
4941 return resultobj;
4942 fail:
4943 {
4944 if (temp2)
4945 delete arg2;
4946 }
4947 return NULL;
4948 }
4949
4950
4951 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4952 PyObject *resultobj;
4953 wxListBox *arg1 = (wxListBox *) 0 ;
4954 int arg2 ;
4955 PyObject * obj0 = 0 ;
4956 char *kwnames[] = {
4957 (char *) "self",(char *) "n", NULL
4958 };
4959
4960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4962 {
4963 PyThreadState* __tstate = wxPyBeginAllowThreads();
4964 (arg1)->EnsureVisible(arg2);
4965
4966 wxPyEndAllowThreads(__tstate);
4967 if (PyErr_Occurred()) SWIG_fail;
4968 }
4969 Py_INCREF(Py_None); resultobj = Py_None;
4970 return resultobj;
4971 fail:
4972 return NULL;
4973 }
4974
4975
4976 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4977 PyObject *resultobj;
4978 wxListBox *arg1 = (wxListBox *) 0 ;
4979 wxString *arg2 = 0 ;
4980 bool temp2 = False ;
4981 PyObject * obj0 = 0 ;
4982 PyObject * obj1 = 0 ;
4983 char *kwnames[] = {
4984 (char *) "self",(char *) "s", NULL
4985 };
4986
4987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4989 {
4990 arg2 = wxString_in_helper(obj1);
4991 if (arg2 == NULL) SWIG_fail;
4992 temp2 = True;
4993 }
4994 {
4995 PyThreadState* __tstate = wxPyBeginAllowThreads();
4996 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4997
4998 wxPyEndAllowThreads(__tstate);
4999 if (PyErr_Occurred()) SWIG_fail;
5000 }
5001 Py_INCREF(Py_None); resultobj = Py_None;
5002 {
5003 if (temp2)
5004 delete arg2;
5005 }
5006 return resultobj;
5007 fail:
5008 {
5009 if (temp2)
5010 delete arg2;
5011 }
5012 return NULL;
5013 }
5014
5015
5016 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5017 PyObject *resultobj;
5018 wxListBox *arg1 = (wxListBox *) 0 ;
5019 bool result;
5020 PyObject * obj0 = 0 ;
5021 char *kwnames[] = {
5022 (char *) "self", NULL
5023 };
5024
5025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5027 {
5028 PyThreadState* __tstate = wxPyBeginAllowThreads();
5029 result = (bool)((wxListBox const *)arg1)->IsSorted();
5030
5031 wxPyEndAllowThreads(__tstate);
5032 if (PyErr_Occurred()) SWIG_fail;
5033 }
5034 resultobj = PyInt_FromLong((long)result);
5035 return resultobj;
5036 fail:
5037 return NULL;
5038 }
5039
5040
5041 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5042 PyObject *obj;
5043 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5044 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5045 Py_INCREF(obj);
5046 return Py_BuildValue((char *)"");
5047 }
5048 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5049 PyObject *resultobj;
5050 wxWindow *arg1 = (wxWindow *) 0 ;
5051 int arg2 ;
5052 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5053 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5054 wxSize const &arg4_defvalue = wxDefaultSize ;
5055 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5056 int arg5 = (int) 0 ;
5057 wxString *arg6 = (wxString *) NULL ;
5058 long arg7 = (long) 0 ;
5059 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5060 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5061 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5062 wxString *arg9 = (wxString *) &arg9_defvalue ;
5063 wxCheckListBox *result;
5064 wxPoint temp3 ;
5065 wxSize temp4 ;
5066 bool temp8 = False ;
5067 PyObject * obj0 = 0 ;
5068 PyObject * obj2 = 0 ;
5069 PyObject * obj3 = 0 ;
5070 PyObject * obj4 = 0 ;
5071 PyObject * obj6 = 0 ;
5072 PyObject * obj7 = 0 ;
5073 char *kwnames[] = {
5074 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5075 };
5076
5077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5079 if (obj2) {
5080 {
5081 arg3 = &temp3;
5082 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5083 }
5084 }
5085 if (obj3) {
5086 {
5087 arg4 = &temp4;
5088 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5089 }
5090 }
5091 if (obj4) {
5092 {
5093 arg5 = PyList_Size(obj4);
5094 arg6 = wxString_LIST_helper(obj4);
5095 if (arg6 == NULL) SWIG_fail;
5096 }
5097 }
5098 if (obj6) {
5099 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5100 if (arg8 == NULL) {
5101 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5102 }
5103 }
5104 if (obj7) {
5105 {
5106 arg9 = wxString_in_helper(obj7);
5107 if (arg9 == NULL) SWIG_fail;
5108 temp8 = True;
5109 }
5110 }
5111 {
5112 PyThreadState* __tstate = wxPyBeginAllowThreads();
5113 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5114
5115 wxPyEndAllowThreads(__tstate);
5116 if (PyErr_Occurred()) SWIG_fail;
5117 }
5118 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5119 {
5120 if (arg6) delete [] arg6;
5121 }
5122 {
5123 if (temp8)
5124 delete arg9;
5125 }
5126 return resultobj;
5127 fail:
5128 {
5129 if (arg6) delete [] arg6;
5130 }
5131 {
5132 if (temp8)
5133 delete arg9;
5134 }
5135 return NULL;
5136 }
5137
5138
5139 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5140 PyObject *resultobj;
5141 wxCheckListBox *result;
5142 char *kwnames[] = {
5143 NULL
5144 };
5145
5146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5147 {
5148 PyThreadState* __tstate = wxPyBeginAllowThreads();
5149 result = (wxCheckListBox *)new wxCheckListBox();
5150
5151 wxPyEndAllowThreads(__tstate);
5152 if (PyErr_Occurred()) SWIG_fail;
5153 }
5154 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5155 return resultobj;
5156 fail:
5157 return NULL;
5158 }
5159
5160
5161 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5162 PyObject *resultobj;
5163 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5164 wxWindow *arg2 = (wxWindow *) 0 ;
5165 int arg3 ;
5166 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5167 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5168 wxSize const &arg5_defvalue = wxDefaultSize ;
5169 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5170 int arg6 = (int) 0 ;
5171 wxString *arg7 = (wxString *) NULL ;
5172 long arg8 = (long) 0 ;
5173 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5174 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5175 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5176 wxString *arg10 = (wxString *) &arg10_defvalue ;
5177 bool result;
5178 wxPoint temp4 ;
5179 wxSize temp5 ;
5180 bool temp9 = False ;
5181 PyObject * obj0 = 0 ;
5182 PyObject * obj1 = 0 ;
5183 PyObject * obj3 = 0 ;
5184 PyObject * obj4 = 0 ;
5185 PyObject * obj5 = 0 ;
5186 PyObject * obj7 = 0 ;
5187 PyObject * obj8 = 0 ;
5188 char *kwnames[] = {
5189 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5190 };
5191
5192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5195 if (obj3) {
5196 {
5197 arg4 = &temp4;
5198 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5199 }
5200 }
5201 if (obj4) {
5202 {
5203 arg5 = &temp5;
5204 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5205 }
5206 }
5207 if (obj5) {
5208 {
5209 arg6 = PyList_Size(obj5);
5210 arg7 = wxString_LIST_helper(obj5);
5211 if (arg7 == NULL) SWIG_fail;
5212 }
5213 }
5214 if (obj7) {
5215 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5216 if (arg9 == NULL) {
5217 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5218 }
5219 }
5220 if (obj8) {
5221 {
5222 arg10 = wxString_in_helper(obj8);
5223 if (arg10 == NULL) SWIG_fail;
5224 temp9 = True;
5225 }
5226 }
5227 {
5228 PyThreadState* __tstate = wxPyBeginAllowThreads();
5229 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5230
5231 wxPyEndAllowThreads(__tstate);
5232 if (PyErr_Occurred()) SWIG_fail;
5233 }
5234 resultobj = PyInt_FromLong((long)result);
5235 {
5236 if (arg7) delete [] arg7;
5237 }
5238 {
5239 if (temp9)
5240 delete arg10;
5241 }
5242 return resultobj;
5243 fail:
5244 {
5245 if (arg7) delete [] arg7;
5246 }
5247 {
5248 if (temp9)
5249 delete arg10;
5250 }
5251 return NULL;
5252 }
5253
5254
5255 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5256 PyObject *resultobj;
5257 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5258 int arg2 ;
5259 bool result;
5260 PyObject * obj0 = 0 ;
5261 char *kwnames[] = {
5262 (char *) "self",(char *) "index", NULL
5263 };
5264
5265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5267 {
5268 PyThreadState* __tstate = wxPyBeginAllowThreads();
5269 result = (bool)(arg1)->IsChecked(arg2);
5270
5271 wxPyEndAllowThreads(__tstate);
5272 if (PyErr_Occurred()) SWIG_fail;
5273 }
5274 resultobj = PyInt_FromLong((long)result);
5275 return resultobj;
5276 fail:
5277 return NULL;
5278 }
5279
5280
5281 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5282 PyObject *resultobj;
5283 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5284 int arg2 ;
5285 int arg3 = (int) True ;
5286 PyObject * obj0 = 0 ;
5287 char *kwnames[] = {
5288 (char *) "self",(char *) "index",(char *) "check", NULL
5289 };
5290
5291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5293 {
5294 PyThreadState* __tstate = wxPyBeginAllowThreads();
5295 (arg1)->Check(arg2,arg3);
5296
5297 wxPyEndAllowThreads(__tstate);
5298 if (PyErr_Occurred()) SWIG_fail;
5299 }
5300 Py_INCREF(Py_None); resultobj = Py_None;
5301 return resultobj;
5302 fail:
5303 return NULL;
5304 }
5305
5306
5307 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5308 PyObject *resultobj;
5309 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5310 int result;
5311 PyObject * obj0 = 0 ;
5312 char *kwnames[] = {
5313 (char *) "self", NULL
5314 };
5315
5316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5318 {
5319 PyThreadState* __tstate = wxPyBeginAllowThreads();
5320 result = (int)(arg1)->GetItemHeight();
5321
5322 wxPyEndAllowThreads(__tstate);
5323 if (PyErr_Occurred()) SWIG_fail;
5324 }
5325 resultobj = PyInt_FromLong((long)result);
5326 return resultobj;
5327 fail:
5328 return NULL;
5329 }
5330
5331
5332 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5333 PyObject *resultobj;
5334 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5335 wxPoint *arg2 = 0 ;
5336 int result;
5337 wxPoint temp2 ;
5338 PyObject * obj0 = 0 ;
5339 PyObject * obj1 = 0 ;
5340 char *kwnames[] = {
5341 (char *) "self",(char *) "pt", NULL
5342 };
5343
5344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5346 {
5347 arg2 = &temp2;
5348 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5349 }
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) SWIG_fail;
5356 }
5357 resultobj = PyInt_FromLong((long)result);
5358 return resultobj;
5359 fail:
5360 return NULL;
5361 }
5362
5363
5364 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5365 PyObject *resultobj;
5366 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5367 int arg2 ;
5368 int arg3 ;
5369 int result;
5370 PyObject * obj0 = 0 ;
5371 char *kwnames[] = {
5372 (char *) "self",(char *) "x",(char *) "y", NULL
5373 };
5374
5375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5377 {
5378 PyThreadState* __tstate = wxPyBeginAllowThreads();
5379 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5380
5381 wxPyEndAllowThreads(__tstate);
5382 if (PyErr_Occurred()) SWIG_fail;
5383 }
5384 resultobj = PyInt_FromLong((long)result);
5385 return resultobj;
5386 fail:
5387 return NULL;
5388 }
5389
5390
5391 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5392 PyObject *obj;
5393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5394 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5395 Py_INCREF(obj);
5396 return Py_BuildValue((char *)"");
5397 }
5398 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5399 PyObject *resultobj;
5400 wxTextAttr *result;
5401
5402 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5403 {
5404 PyThreadState* __tstate = wxPyBeginAllowThreads();
5405 result = (wxTextAttr *)new wxTextAttr();
5406
5407 wxPyEndAllowThreads(__tstate);
5408 if (PyErr_Occurred()) SWIG_fail;
5409 }
5410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5411 return resultobj;
5412 fail:
5413 return NULL;
5414 }
5415
5416
5417 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5418 PyObject *resultobj;
5419 wxColour *arg1 = 0 ;
5420 wxColour const &arg2_defvalue = wxNullColour ;
5421 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5422 wxFont const &arg3_defvalue = wxNullFont ;
5423 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5424 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5425 wxTextAttr *result;
5426 wxColour temp1 ;
5427 wxColour temp2 ;
5428 PyObject * obj0 = 0 ;
5429 PyObject * obj1 = 0 ;
5430 PyObject * obj2 = 0 ;
5431
5432 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5433 {
5434 arg1 = &temp1;
5435 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5436 }
5437 if (obj1) {
5438 {
5439 arg2 = &temp2;
5440 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5441 }
5442 }
5443 if (obj2) {
5444 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5445 if (arg3 == NULL) {
5446 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5447 }
5448 }
5449 {
5450 PyThreadState* __tstate = wxPyBeginAllowThreads();
5451 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5452
5453 wxPyEndAllowThreads(__tstate);
5454 if (PyErr_Occurred()) SWIG_fail;
5455 }
5456 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5457 return resultobj;
5458 fail:
5459 return NULL;
5460 }
5461
5462
5463 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5464 int argc;
5465 PyObject *argv[5];
5466 int ii;
5467
5468 argc = PyObject_Length(args);
5469 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5470 argv[ii] = PyTuple_GetItem(args,ii);
5471 }
5472 if (argc == 0) {
5473 return _wrap_new_TextAttr__SWIG_0(self,args);
5474 }
5475 if ((argc >= 1) && (argc <= 4)) {
5476 int _v;
5477 {
5478 _v = wxColour_typecheck(argv[0]);
5479 }
5480 if (_v) {
5481 if (argc <= 1) {
5482 return _wrap_new_TextAttr__SWIG_1(self,args);
5483 }
5484 {
5485 _v = wxColour_typecheck(argv[1]);
5486 }
5487 if (_v) {
5488 if (argc <= 2) {
5489 return _wrap_new_TextAttr__SWIG_1(self,args);
5490 }
5491 {
5492 void *ptr;
5493 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5494 _v = 0;
5495 PyErr_Clear();
5496 } else {
5497 _v = 1;
5498 }
5499 }
5500 if (_v) {
5501 if (argc <= 3) {
5502 return _wrap_new_TextAttr__SWIG_1(self,args);
5503 }
5504 {
5505 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5506 }
5507 if (_v) {
5508 return _wrap_new_TextAttr__SWIG_1(self,args);
5509 }
5510 }
5511 }
5512 }
5513 }
5514
5515 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5516 return NULL;
5517 }
5518
5519
5520 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5521 PyObject *resultobj;
5522 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5523 PyObject * obj0 = 0 ;
5524 char *kwnames[] = {
5525 (char *) "self", NULL
5526 };
5527
5528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5530 {
5531 PyThreadState* __tstate = wxPyBeginAllowThreads();
5532 (arg1)->Init();
5533
5534 wxPyEndAllowThreads(__tstate);
5535 if (PyErr_Occurred()) SWIG_fail;
5536 }
5537 Py_INCREF(Py_None); resultobj = Py_None;
5538 return resultobj;
5539 fail:
5540 return NULL;
5541 }
5542
5543
5544 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5545 PyObject *resultobj;
5546 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5547 wxColour *arg2 = 0 ;
5548 wxColour temp2 ;
5549 PyObject * obj0 = 0 ;
5550 PyObject * obj1 = 0 ;
5551 char *kwnames[] = {
5552 (char *) "self",(char *) "colText", NULL
5553 };
5554
5555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5557 {
5558 arg2 = &temp2;
5559 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5560 }
5561 {
5562 PyThreadState* __tstate = wxPyBeginAllowThreads();
5563 (arg1)->SetTextColour((wxColour const &)*arg2);
5564
5565 wxPyEndAllowThreads(__tstate);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 }
5568 Py_INCREF(Py_None); resultobj = Py_None;
5569 return resultobj;
5570 fail:
5571 return NULL;
5572 }
5573
5574
5575 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5576 PyObject *resultobj;
5577 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5578 wxColour *arg2 = 0 ;
5579 wxColour temp2 ;
5580 PyObject * obj0 = 0 ;
5581 PyObject * obj1 = 0 ;
5582 char *kwnames[] = {
5583 (char *) "self",(char *) "colBack", NULL
5584 };
5585
5586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5588 {
5589 arg2 = &temp2;
5590 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5591 }
5592 {
5593 PyThreadState* __tstate = wxPyBeginAllowThreads();
5594 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5595
5596 wxPyEndAllowThreads(__tstate);
5597 if (PyErr_Occurred()) SWIG_fail;
5598 }
5599 Py_INCREF(Py_None); resultobj = Py_None;
5600 return resultobj;
5601 fail:
5602 return NULL;
5603 }
5604
5605
5606 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5607 PyObject *resultobj;
5608 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5609 wxFont *arg2 = 0 ;
5610 long arg3 = (long) wxTEXT_ATTR_FONT ;
5611 PyObject * obj0 = 0 ;
5612 PyObject * obj1 = 0 ;
5613 char *kwnames[] = {
5614 (char *) "self",(char *) "font",(char *) "flags", NULL
5615 };
5616
5617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5619 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5620 if (arg2 == NULL) {
5621 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5622 }
5623 {
5624 PyThreadState* __tstate = wxPyBeginAllowThreads();
5625 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5626
5627 wxPyEndAllowThreads(__tstate);
5628 if (PyErr_Occurred()) SWIG_fail;
5629 }
5630 Py_INCREF(Py_None); resultobj = Py_None;
5631 return resultobj;
5632 fail:
5633 return NULL;
5634 }
5635
5636
5637 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5638 PyObject *resultobj;
5639 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5640 int arg2 ;
5641 PyObject * obj0 = 0 ;
5642 char *kwnames[] = {
5643 (char *) "self",(char *) "alignment", NULL
5644 };
5645
5646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5648 {
5649 PyThreadState* __tstate = wxPyBeginAllowThreads();
5650 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5651
5652 wxPyEndAllowThreads(__tstate);
5653 if (PyErr_Occurred()) SWIG_fail;
5654 }
5655 Py_INCREF(Py_None); resultobj = Py_None;
5656 return resultobj;
5657 fail:
5658 return NULL;
5659 }
5660
5661
5662 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5663 PyObject *resultobj;
5664 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5665 wxArrayInt *arg2 = 0 ;
5666 PyObject * obj0 = 0 ;
5667 PyObject * obj1 = 0 ;
5668 char *kwnames[] = {
5669 (char *) "self",(char *) "tabs", NULL
5670 };
5671
5672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5674 {
5675 if (! PySequence_Check(obj1)) {
5676 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5677 SWIG_fail;
5678 }
5679 arg2 = new wxArrayInt;
5680 int i, len=PySequence_Length(obj1);
5681 for (i=0; i<len; i++) {
5682 PyObject* item = PySequence_GetItem(obj1, i);
5683 PyObject* number = PyNumber_Int(item);
5684 arg2->Add(PyInt_AS_LONG(number));
5685 Py_DECREF(item);
5686 Py_DECREF(number);
5687 }
5688 }
5689 {
5690 PyThreadState* __tstate = wxPyBeginAllowThreads();
5691 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5692
5693 wxPyEndAllowThreads(__tstate);
5694 if (PyErr_Occurred()) SWIG_fail;
5695 }
5696 Py_INCREF(Py_None); resultobj = Py_None;
5697 {
5698 if (arg2) delete arg2;
5699 }
5700 return resultobj;
5701 fail:
5702 {
5703 if (arg2) delete arg2;
5704 }
5705 return NULL;
5706 }
5707
5708
5709 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5710 PyObject *resultobj;
5711 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5712 int arg2 ;
5713 PyObject * obj0 = 0 ;
5714 char *kwnames[] = {
5715 (char *) "self",(char *) "indent", NULL
5716 };
5717
5718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5720 {
5721 PyThreadState* __tstate = wxPyBeginAllowThreads();
5722 (arg1)->SetLeftIndent(arg2);
5723
5724 wxPyEndAllowThreads(__tstate);
5725 if (PyErr_Occurred()) SWIG_fail;
5726 }
5727 Py_INCREF(Py_None); resultobj = Py_None;
5728 return resultobj;
5729 fail:
5730 return NULL;
5731 }
5732
5733
5734 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5735 PyObject *resultobj;
5736 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5737 int arg2 ;
5738 PyObject * obj0 = 0 ;
5739 char *kwnames[] = {
5740 (char *) "self",(char *) "indent", NULL
5741 };
5742
5743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5745 {
5746 PyThreadState* __tstate = wxPyBeginAllowThreads();
5747 (arg1)->SetRightIndent(arg2);
5748
5749 wxPyEndAllowThreads(__tstate);
5750 if (PyErr_Occurred()) SWIG_fail;
5751 }
5752 Py_INCREF(Py_None); resultobj = Py_None;
5753 return resultobj;
5754 fail:
5755 return NULL;
5756 }
5757
5758
5759 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5760 PyObject *resultobj;
5761 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5762 long arg2 ;
5763 PyObject * obj0 = 0 ;
5764 char *kwnames[] = {
5765 (char *) "self",(char *) "flags", NULL
5766 };
5767
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5770 {
5771 PyThreadState* __tstate = wxPyBeginAllowThreads();
5772 (arg1)->SetFlags(arg2);
5773
5774 wxPyEndAllowThreads(__tstate);
5775 if (PyErr_Occurred()) SWIG_fail;
5776 }
5777 Py_INCREF(Py_None); resultobj = Py_None;
5778 return resultobj;
5779 fail:
5780 return NULL;
5781 }
5782
5783
5784 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5785 PyObject *resultobj;
5786 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5787 bool result;
5788 PyObject * obj0 = 0 ;
5789 char *kwnames[] = {
5790 (char *) "self", NULL
5791 };
5792
5793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5795 {
5796 PyThreadState* __tstate = wxPyBeginAllowThreads();
5797 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5798
5799 wxPyEndAllowThreads(__tstate);
5800 if (PyErr_Occurred()) SWIG_fail;
5801 }
5802 resultobj = PyInt_FromLong((long)result);
5803 return resultobj;
5804 fail:
5805 return NULL;
5806 }
5807
5808
5809 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5810 PyObject *resultobj;
5811 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5812 bool result;
5813 PyObject * obj0 = 0 ;
5814 char *kwnames[] = {
5815 (char *) "self", NULL
5816 };
5817
5818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5820 {
5821 PyThreadState* __tstate = wxPyBeginAllowThreads();
5822 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5823
5824 wxPyEndAllowThreads(__tstate);
5825 if (PyErr_Occurred()) SWIG_fail;
5826 }
5827 resultobj = PyInt_FromLong((long)result);
5828 return resultobj;
5829 fail:
5830 return NULL;
5831 }
5832
5833
5834 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5835 PyObject *resultobj;
5836 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5837 bool result;
5838 PyObject * obj0 = 0 ;
5839 char *kwnames[] = {
5840 (char *) "self", NULL
5841 };
5842
5843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5845 {
5846 PyThreadState* __tstate = wxPyBeginAllowThreads();
5847 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5848
5849 wxPyEndAllowThreads(__tstate);
5850 if (PyErr_Occurred()) SWIG_fail;
5851 }
5852 resultobj = PyInt_FromLong((long)result);
5853 return resultobj;
5854 fail:
5855 return NULL;
5856 }
5857
5858
5859 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5860 PyObject *resultobj;
5861 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5862 bool result;
5863 PyObject * obj0 = 0 ;
5864 char *kwnames[] = {
5865 (char *) "self", NULL
5866 };
5867
5868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5870 {
5871 PyThreadState* __tstate = wxPyBeginAllowThreads();
5872 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5873
5874 wxPyEndAllowThreads(__tstate);
5875 if (PyErr_Occurred()) SWIG_fail;
5876 }
5877 resultobj = PyInt_FromLong((long)result);
5878 return resultobj;
5879 fail:
5880 return NULL;
5881 }
5882
5883
5884 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5885 PyObject *resultobj;
5886 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5887 bool result;
5888 PyObject * obj0 = 0 ;
5889 char *kwnames[] = {
5890 (char *) "self", NULL
5891 };
5892
5893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5895 {
5896 PyThreadState* __tstate = wxPyBeginAllowThreads();
5897 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5898
5899 wxPyEndAllowThreads(__tstate);
5900 if (PyErr_Occurred()) SWIG_fail;
5901 }
5902 resultobj = PyInt_FromLong((long)result);
5903 return resultobj;
5904 fail:
5905 return NULL;
5906 }
5907
5908
5909 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5910 PyObject *resultobj;
5911 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5912 bool result;
5913 PyObject * obj0 = 0 ;
5914 char *kwnames[] = {
5915 (char *) "self", NULL
5916 };
5917
5918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5920 {
5921 PyThreadState* __tstate = wxPyBeginAllowThreads();
5922 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
5923
5924 wxPyEndAllowThreads(__tstate);
5925 if (PyErr_Occurred()) SWIG_fail;
5926 }
5927 resultobj = PyInt_FromLong((long)result);
5928 return resultobj;
5929 fail:
5930 return NULL;
5931 }
5932
5933
5934 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5935 PyObject *resultobj;
5936 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5937 bool result;
5938 PyObject * obj0 = 0 ;
5939 char *kwnames[] = {
5940 (char *) "self", NULL
5941 };
5942
5943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5945 {
5946 PyThreadState* __tstate = wxPyBeginAllowThreads();
5947 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5948
5949 wxPyEndAllowThreads(__tstate);
5950 if (PyErr_Occurred()) SWIG_fail;
5951 }
5952 resultobj = PyInt_FromLong((long)result);
5953 return resultobj;
5954 fail:
5955 return NULL;
5956 }
5957
5958
5959 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5960 PyObject *resultobj;
5961 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5962 long arg2 ;
5963 bool result;
5964 PyObject * obj0 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "self",(char *) "flag", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
5970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5971 {
5972 PyThreadState* __tstate = wxPyBeginAllowThreads();
5973 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5974
5975 wxPyEndAllowThreads(__tstate);
5976 if (PyErr_Occurred()) SWIG_fail;
5977 }
5978 resultobj = PyInt_FromLong((long)result);
5979 return resultobj;
5980 fail:
5981 return NULL;
5982 }
5983
5984
5985 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5986 PyObject *resultobj;
5987 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5988 wxColour *result;
5989 PyObject * obj0 = 0 ;
5990 char *kwnames[] = {
5991 (char *) "self", NULL
5992 };
5993
5994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5996 {
5997 PyThreadState* __tstate = wxPyBeginAllowThreads();
5998 {
5999 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
6000 result = (wxColour *) &_result_ref;
6001 }
6002
6003 wxPyEndAllowThreads(__tstate);
6004 if (PyErr_Occurred()) SWIG_fail;
6005 }
6006 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6007 return resultobj;
6008 fail:
6009 return NULL;
6010 }
6011
6012
6013 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6014 PyObject *resultobj;
6015 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6016 wxColour *result;
6017 PyObject * obj0 = 0 ;
6018 char *kwnames[] = {
6019 (char *) "self", NULL
6020 };
6021
6022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6024 {
6025 PyThreadState* __tstate = wxPyBeginAllowThreads();
6026 {
6027 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6028 result = (wxColour *) &_result_ref;
6029 }
6030
6031 wxPyEndAllowThreads(__tstate);
6032 if (PyErr_Occurred()) SWIG_fail;
6033 }
6034 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6035 return resultobj;
6036 fail:
6037 return NULL;
6038 }
6039
6040
6041 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6042 PyObject *resultobj;
6043 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6044 wxFont *result;
6045 PyObject * obj0 = 0 ;
6046 char *kwnames[] = {
6047 (char *) "self", NULL
6048 };
6049
6050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6052 {
6053 PyThreadState* __tstate = wxPyBeginAllowThreads();
6054 {
6055 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6056 result = (wxFont *) &_result_ref;
6057 }
6058
6059 wxPyEndAllowThreads(__tstate);
6060 if (PyErr_Occurred()) SWIG_fail;
6061 }
6062 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6063 return resultobj;
6064 fail:
6065 return NULL;
6066 }
6067
6068
6069 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6070 PyObject *resultobj;
6071 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6072 int result;
6073 PyObject * obj0 = 0 ;
6074 char *kwnames[] = {
6075 (char *) "self", NULL
6076 };
6077
6078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6080 {
6081 PyThreadState* __tstate = wxPyBeginAllowThreads();
6082 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6083
6084 wxPyEndAllowThreads(__tstate);
6085 if (PyErr_Occurred()) SWIG_fail;
6086 }
6087 resultobj = PyInt_FromLong((long)result);
6088 return resultobj;
6089 fail:
6090 return NULL;
6091 }
6092
6093
6094 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6095 PyObject *resultobj;
6096 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6097 wxArrayInt *result;
6098 PyObject * obj0 = 0 ;
6099 char *kwnames[] = {
6100 (char *) "self", NULL
6101 };
6102
6103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6105 {
6106 PyThreadState* __tstate = wxPyBeginAllowThreads();
6107 {
6108 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6109 result = (wxArrayInt *) &_result_ref;
6110 }
6111
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 {
6116 resultobj = PyList_New(0);
6117 size_t idx;
6118 for (idx = 0; idx < result->GetCount(); idx += 1) {
6119 PyObject* val = PyInt_FromLong( result->Item(idx) );
6120 PyList_Append(resultobj, val);
6121 Py_DECREF(val);
6122 }
6123 }
6124 return resultobj;
6125 fail:
6126 return NULL;
6127 }
6128
6129
6130 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6131 PyObject *resultobj;
6132 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6133 long result;
6134 PyObject * obj0 = 0 ;
6135 char *kwnames[] = {
6136 (char *) "self", NULL
6137 };
6138
6139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6141 {
6142 PyThreadState* __tstate = wxPyBeginAllowThreads();
6143 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6144
6145 wxPyEndAllowThreads(__tstate);
6146 if (PyErr_Occurred()) SWIG_fail;
6147 }
6148 resultobj = PyInt_FromLong((long)result);
6149 return resultobj;
6150 fail:
6151 return NULL;
6152 }
6153
6154
6155 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6156 PyObject *resultobj;
6157 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6158 long result;
6159 PyObject * obj0 = 0 ;
6160 char *kwnames[] = {
6161 (char *) "self", NULL
6162 };
6163
6164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6166 {
6167 PyThreadState* __tstate = wxPyBeginAllowThreads();
6168 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6169
6170 wxPyEndAllowThreads(__tstate);
6171 if (PyErr_Occurred()) SWIG_fail;
6172 }
6173 resultobj = PyInt_FromLong((long)result);
6174 return resultobj;
6175 fail:
6176 return NULL;
6177 }
6178
6179
6180 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6181 PyObject *resultobj;
6182 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6183 long result;
6184 PyObject * obj0 = 0 ;
6185 char *kwnames[] = {
6186 (char *) "self", NULL
6187 };
6188
6189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6191 {
6192 PyThreadState* __tstate = wxPyBeginAllowThreads();
6193 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6194
6195 wxPyEndAllowThreads(__tstate);
6196 if (PyErr_Occurred()) SWIG_fail;
6197 }
6198 resultobj = PyInt_FromLong((long)result);
6199 return resultobj;
6200 fail:
6201 return NULL;
6202 }
6203
6204
6205 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6206 PyObject *resultobj;
6207 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6208 bool result;
6209 PyObject * obj0 = 0 ;
6210 char *kwnames[] = {
6211 (char *) "self", NULL
6212 };
6213
6214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6216 {
6217 PyThreadState* __tstate = wxPyBeginAllowThreads();
6218 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6219
6220 wxPyEndAllowThreads(__tstate);
6221 if (PyErr_Occurred()) SWIG_fail;
6222 }
6223 resultobj = PyInt_FromLong((long)result);
6224 return resultobj;
6225 fail:
6226 return NULL;
6227 }
6228
6229
6230 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6231 PyObject *resultobj;
6232 wxTextAttr *arg1 = 0 ;
6233 wxTextAttr *arg2 = 0 ;
6234 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6235 wxTextAttr result;
6236 PyObject * obj0 = 0 ;
6237 PyObject * obj1 = 0 ;
6238 PyObject * obj2 = 0 ;
6239 char *kwnames[] = {
6240 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6241 };
6242
6243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6245 if (arg1 == NULL) {
6246 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6247 }
6248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6249 if (arg2 == NULL) {
6250 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6251 }
6252 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6253 {
6254 PyThreadState* __tstate = wxPyBeginAllowThreads();
6255 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6256
6257 wxPyEndAllowThreads(__tstate);
6258 if (PyErr_Occurred()) SWIG_fail;
6259 }
6260 {
6261 wxTextAttr * resultptr;
6262 resultptr = new wxTextAttr((wxTextAttr &) result);
6263 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6264 }
6265 return resultobj;
6266 fail:
6267 return NULL;
6268 }
6269
6270
6271 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6272 PyObject *obj;
6273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6274 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6275 Py_INCREF(obj);
6276 return Py_BuildValue((char *)"");
6277 }
6278 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6279 PyObject *resultobj;
6280 wxWindow *arg1 = (wxWindow *) 0 ;
6281 int arg2 ;
6282 wxString const &arg3_defvalue = wxPyEmptyString ;
6283 wxString *arg3 = (wxString *) &arg3_defvalue ;
6284 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6285 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6286 wxSize const &arg5_defvalue = wxDefaultSize ;
6287 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6288 long arg6 = (long) 0 ;
6289 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6290 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6291 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6292 wxString *arg8 = (wxString *) &arg8_defvalue ;
6293 wxTextCtrl *result;
6294 bool temp3 = False ;
6295 wxPoint temp4 ;
6296 wxSize temp5 ;
6297 bool temp8 = False ;
6298 PyObject * obj0 = 0 ;
6299 PyObject * obj2 = 0 ;
6300 PyObject * obj3 = 0 ;
6301 PyObject * obj4 = 0 ;
6302 PyObject * obj6 = 0 ;
6303 PyObject * obj7 = 0 ;
6304 char *kwnames[] = {
6305 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6306 };
6307
6308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6310 if (obj2) {
6311 {
6312 arg3 = wxString_in_helper(obj2);
6313 if (arg3 == NULL) SWIG_fail;
6314 temp3 = True;
6315 }
6316 }
6317 if (obj3) {
6318 {
6319 arg4 = &temp4;
6320 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6321 }
6322 }
6323 if (obj4) {
6324 {
6325 arg5 = &temp5;
6326 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6327 }
6328 }
6329 if (obj6) {
6330 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6331 if (arg7 == NULL) {
6332 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6333 }
6334 }
6335 if (obj7) {
6336 {
6337 arg8 = wxString_in_helper(obj7);
6338 if (arg8 == NULL) SWIG_fail;
6339 temp8 = True;
6340 }
6341 }
6342 {
6343 PyThreadState* __tstate = wxPyBeginAllowThreads();
6344 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6345
6346 wxPyEndAllowThreads(__tstate);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
6349 {
6350 resultobj = wxPyMake_wxObject(result);
6351 }
6352 {
6353 if (temp3)
6354 delete arg3;
6355 }
6356 {
6357 if (temp8)
6358 delete arg8;
6359 }
6360 return resultobj;
6361 fail:
6362 {
6363 if (temp3)
6364 delete arg3;
6365 }
6366 {
6367 if (temp8)
6368 delete arg8;
6369 }
6370 return NULL;
6371 }
6372
6373
6374 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6375 PyObject *resultobj;
6376 wxTextCtrl *result;
6377 char *kwnames[] = {
6378 NULL
6379 };
6380
6381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6382 {
6383 PyThreadState* __tstate = wxPyBeginAllowThreads();
6384 result = (wxTextCtrl *)new wxTextCtrl();
6385
6386 wxPyEndAllowThreads(__tstate);
6387 if (PyErr_Occurred()) SWIG_fail;
6388 }
6389 {
6390 resultobj = wxPyMake_wxObject(result);
6391 }
6392 return resultobj;
6393 fail:
6394 return NULL;
6395 }
6396
6397
6398 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6399 PyObject *resultobj;
6400 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6401 wxWindow *arg2 = (wxWindow *) 0 ;
6402 int arg3 ;
6403 wxString const &arg4_defvalue = wxPyEmptyString ;
6404 wxString *arg4 = (wxString *) &arg4_defvalue ;
6405 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6406 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6407 wxSize const &arg6_defvalue = wxDefaultSize ;
6408 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6409 long arg7 = (long) 0 ;
6410 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6411 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6412 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6413 wxString *arg9 = (wxString *) &arg9_defvalue ;
6414 bool result;
6415 bool temp4 = False ;
6416 wxPoint temp5 ;
6417 wxSize temp6 ;
6418 bool temp9 = False ;
6419 PyObject * obj0 = 0 ;
6420 PyObject * obj1 = 0 ;
6421 PyObject * obj3 = 0 ;
6422 PyObject * obj4 = 0 ;
6423 PyObject * obj5 = 0 ;
6424 PyObject * obj7 = 0 ;
6425 PyObject * obj8 = 0 ;
6426 char *kwnames[] = {
6427 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6428 };
6429
6430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6432 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6433 if (obj3) {
6434 {
6435 arg4 = wxString_in_helper(obj3);
6436 if (arg4 == NULL) SWIG_fail;
6437 temp4 = True;
6438 }
6439 }
6440 if (obj4) {
6441 {
6442 arg5 = &temp5;
6443 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6444 }
6445 }
6446 if (obj5) {
6447 {
6448 arg6 = &temp6;
6449 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6450 }
6451 }
6452 if (obj7) {
6453 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6454 if (arg8 == NULL) {
6455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6456 }
6457 }
6458 if (obj8) {
6459 {
6460 arg9 = wxString_in_helper(obj8);
6461 if (arg9 == NULL) SWIG_fail;
6462 temp9 = True;
6463 }
6464 }
6465 {
6466 PyThreadState* __tstate = wxPyBeginAllowThreads();
6467 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6468
6469 wxPyEndAllowThreads(__tstate);
6470 if (PyErr_Occurred()) SWIG_fail;
6471 }
6472 resultobj = PyInt_FromLong((long)result);
6473 {
6474 if (temp4)
6475 delete arg4;
6476 }
6477 {
6478 if (temp9)
6479 delete arg9;
6480 }
6481 return resultobj;
6482 fail:
6483 {
6484 if (temp4)
6485 delete arg4;
6486 }
6487 {
6488 if (temp9)
6489 delete arg9;
6490 }
6491 return NULL;
6492 }
6493
6494
6495 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6496 PyObject *resultobj;
6497 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6498 wxString result;
6499 PyObject * obj0 = 0 ;
6500 char *kwnames[] = {
6501 (char *) "self", NULL
6502 };
6503
6504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6506 {
6507 PyThreadState* __tstate = wxPyBeginAllowThreads();
6508 result = ((wxTextCtrl const *)arg1)->GetValue();
6509
6510 wxPyEndAllowThreads(__tstate);
6511 if (PyErr_Occurred()) SWIG_fail;
6512 }
6513 {
6514 #if wxUSE_UNICODE
6515 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6516 #else
6517 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6518 #endif
6519 }
6520 return resultobj;
6521 fail:
6522 return NULL;
6523 }
6524
6525
6526 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6527 PyObject *resultobj;
6528 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6529 wxString *arg2 = 0 ;
6530 bool temp2 = False ;
6531 PyObject * obj0 = 0 ;
6532 PyObject * obj1 = 0 ;
6533 char *kwnames[] = {
6534 (char *) "self",(char *) "value", NULL
6535 };
6536
6537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6539 {
6540 arg2 = wxString_in_helper(obj1);
6541 if (arg2 == NULL) SWIG_fail;
6542 temp2 = True;
6543 }
6544 {
6545 PyThreadState* __tstate = wxPyBeginAllowThreads();
6546 (arg1)->SetValue((wxString const &)*arg2);
6547
6548 wxPyEndAllowThreads(__tstate);
6549 if (PyErr_Occurred()) SWIG_fail;
6550 }
6551 Py_INCREF(Py_None); resultobj = Py_None;
6552 {
6553 if (temp2)
6554 delete arg2;
6555 }
6556 return resultobj;
6557 fail:
6558 {
6559 if (temp2)
6560 delete arg2;
6561 }
6562 return NULL;
6563 }
6564
6565
6566 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6569 long arg2 ;
6570 long arg3 ;
6571 wxString result;
6572 PyObject * obj0 = 0 ;
6573 char *kwnames[] = {
6574 (char *) "self",(char *) "from",(char *) "to", NULL
6575 };
6576
6577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6579 {
6580 PyThreadState* __tstate = wxPyBeginAllowThreads();
6581 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6582
6583 wxPyEndAllowThreads(__tstate);
6584 if (PyErr_Occurred()) SWIG_fail;
6585 }
6586 {
6587 #if wxUSE_UNICODE
6588 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6589 #else
6590 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6591 #endif
6592 }
6593 return resultobj;
6594 fail:
6595 return NULL;
6596 }
6597
6598
6599 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6600 PyObject *resultobj;
6601 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6602 long arg2 ;
6603 int result;
6604 PyObject * obj0 = 0 ;
6605 char *kwnames[] = {
6606 (char *) "self",(char *) "lineNo", NULL
6607 };
6608
6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 resultobj = PyInt_FromLong((long)result);
6619 return resultobj;
6620 fail:
6621 return NULL;
6622 }
6623
6624
6625 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj;
6627 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6628 long arg2 ;
6629 wxString result;
6630 PyObject * obj0 = 0 ;
6631 char *kwnames[] = {
6632 (char *) "self",(char *) "lineNo", NULL
6633 };
6634
6635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6637 {
6638 PyThreadState* __tstate = wxPyBeginAllowThreads();
6639 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6640
6641 wxPyEndAllowThreads(__tstate);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
6644 {
6645 #if wxUSE_UNICODE
6646 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6647 #else
6648 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6649 #endif
6650 }
6651 return resultobj;
6652 fail:
6653 return NULL;
6654 }
6655
6656
6657 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6658 PyObject *resultobj;
6659 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6660 int result;
6661 PyObject * obj0 = 0 ;
6662 char *kwnames[] = {
6663 (char *) "self", NULL
6664 };
6665
6666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6668 {
6669 PyThreadState* __tstate = wxPyBeginAllowThreads();
6670 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6671
6672 wxPyEndAllowThreads(__tstate);
6673 if (PyErr_Occurred()) SWIG_fail;
6674 }
6675 resultobj = PyInt_FromLong((long)result);
6676 return resultobj;
6677 fail:
6678 return NULL;
6679 }
6680
6681
6682 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6683 PyObject *resultobj;
6684 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6685 bool result;
6686 PyObject * obj0 = 0 ;
6687 char *kwnames[] = {
6688 (char *) "self", NULL
6689 };
6690
6691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6693 {
6694 PyThreadState* __tstate = wxPyBeginAllowThreads();
6695 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6696
6697 wxPyEndAllowThreads(__tstate);
6698 if (PyErr_Occurred()) SWIG_fail;
6699 }
6700 resultobj = PyInt_FromLong((long)result);
6701 return resultobj;
6702 fail:
6703 return NULL;
6704 }
6705
6706
6707 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6708 PyObject *resultobj;
6709 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6710 bool result;
6711 PyObject * obj0 = 0 ;
6712 char *kwnames[] = {
6713 (char *) "self", NULL
6714 };
6715
6716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6718 {
6719 PyThreadState* __tstate = wxPyBeginAllowThreads();
6720 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6721
6722 wxPyEndAllowThreads(__tstate);
6723 if (PyErr_Occurred()) SWIG_fail;
6724 }
6725 resultobj = PyInt_FromLong((long)result);
6726 return resultobj;
6727 fail:
6728 return NULL;
6729 }
6730
6731
6732 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj;
6734 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6735 bool result;
6736 PyObject * obj0 = 0 ;
6737 char *kwnames[] = {
6738 (char *) "self", NULL
6739 };
6740
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6743 {
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6746
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 resultobj = PyInt_FromLong((long)result);
6751 return resultobj;
6752 fail:
6753 return NULL;
6754 }
6755
6756
6757 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6758 PyObject *resultobj;
6759 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6760 bool result;
6761 PyObject * obj0 = 0 ;
6762 char *kwnames[] = {
6763 (char *) "self", NULL
6764 };
6765
6766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6768 {
6769 PyThreadState* __tstate = wxPyBeginAllowThreads();
6770 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6771
6772 wxPyEndAllowThreads(__tstate);
6773 if (PyErr_Occurred()) SWIG_fail;
6774 }
6775 resultobj = PyInt_FromLong((long)result);
6776 return resultobj;
6777 fail:
6778 return NULL;
6779 }
6780
6781
6782 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6783 PyObject *resultobj;
6784 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6785 long *arg2 = (long *) 0 ;
6786 long *arg3 = (long *) 0 ;
6787 long temp2 ;
6788 long temp3 ;
6789 PyObject * obj0 = 0 ;
6790 char *kwnames[] = {
6791 (char *) "self", NULL
6792 };
6793
6794 arg2 = &temp2;
6795 arg3 = &temp3;
6796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
6800 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6801
6802 wxPyEndAllowThreads(__tstate);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
6805 Py_INCREF(Py_None); resultobj = Py_None;
6806 {
6807 PyObject *o = PyInt_FromLong((long) (*arg2));
6808 resultobj = t_output_helper(resultobj,o);
6809 }
6810 {
6811 PyObject *o = PyInt_FromLong((long) (*arg3));
6812 resultobj = t_output_helper(resultobj,o);
6813 }
6814 return resultobj;
6815 fail:
6816 return NULL;
6817 }
6818
6819
6820 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6821 PyObject *resultobj;
6822 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6823 wxString result;
6824 PyObject * obj0 = 0 ;
6825 char *kwnames[] = {
6826 (char *) "self", NULL
6827 };
6828
6829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6831 {
6832 PyThreadState* __tstate = wxPyBeginAllowThreads();
6833 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6834
6835 wxPyEndAllowThreads(__tstate);
6836 if (PyErr_Occurred()) SWIG_fail;
6837 }
6838 {
6839 #if wxUSE_UNICODE
6840 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6841 #else
6842 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6843 #endif
6844 }
6845 return resultobj;
6846 fail:
6847 return NULL;
6848 }
6849
6850
6851 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6852 PyObject *resultobj;
6853 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6854 PyObject * obj0 = 0 ;
6855 char *kwnames[] = {
6856 (char *) "self", NULL
6857 };
6858
6859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6861 {
6862 PyThreadState* __tstate = wxPyBeginAllowThreads();
6863 (arg1)->Clear();
6864
6865 wxPyEndAllowThreads(__tstate);
6866 if (PyErr_Occurred()) SWIG_fail;
6867 }
6868 Py_INCREF(Py_None); resultobj = Py_None;
6869 return resultobj;
6870 fail:
6871 return NULL;
6872 }
6873
6874
6875 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6876 PyObject *resultobj;
6877 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6878 long arg2 ;
6879 long arg3 ;
6880 wxString *arg4 = 0 ;
6881 bool temp4 = False ;
6882 PyObject * obj0 = 0 ;
6883 PyObject * obj3 = 0 ;
6884 char *kwnames[] = {
6885 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6886 };
6887
6888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6890 {
6891 arg4 = wxString_in_helper(obj3);
6892 if (arg4 == NULL) SWIG_fail;
6893 temp4 = True;
6894 }
6895 {
6896 PyThreadState* __tstate = wxPyBeginAllowThreads();
6897 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6898
6899 wxPyEndAllowThreads(__tstate);
6900 if (PyErr_Occurred()) SWIG_fail;
6901 }
6902 Py_INCREF(Py_None); resultobj = Py_None;
6903 {
6904 if (temp4)
6905 delete arg4;
6906 }
6907 return resultobj;
6908 fail:
6909 {
6910 if (temp4)
6911 delete arg4;
6912 }
6913 return NULL;
6914 }
6915
6916
6917 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6918 PyObject *resultobj;
6919 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6920 long arg2 ;
6921 long arg3 ;
6922 PyObject * obj0 = 0 ;
6923 char *kwnames[] = {
6924 (char *) "self",(char *) "from",(char *) "to", NULL
6925 };
6926
6927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6929 {
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 (arg1)->Remove(arg2,arg3);
6932
6933 wxPyEndAllowThreads(__tstate);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 Py_INCREF(Py_None); resultobj = Py_None;
6937 return resultobj;
6938 fail:
6939 return NULL;
6940 }
6941
6942
6943 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6944 PyObject *resultobj;
6945 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6946 wxString *arg2 = 0 ;
6947 bool result;
6948 bool temp2 = False ;
6949 PyObject * obj0 = 0 ;
6950 PyObject * obj1 = 0 ;
6951 char *kwnames[] = {
6952 (char *) "self",(char *) "file", NULL
6953 };
6954
6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6957 {
6958 arg2 = wxString_in_helper(obj1);
6959 if (arg2 == NULL) SWIG_fail;
6960 temp2 = True;
6961 }
6962 {
6963 PyThreadState* __tstate = wxPyBeginAllowThreads();
6964 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6965
6966 wxPyEndAllowThreads(__tstate);
6967 if (PyErr_Occurred()) SWIG_fail;
6968 }
6969 resultobj = PyInt_FromLong((long)result);
6970 {
6971 if (temp2)
6972 delete arg2;
6973 }
6974 return resultobj;
6975 fail:
6976 {
6977 if (temp2)
6978 delete arg2;
6979 }
6980 return NULL;
6981 }
6982
6983
6984 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6985 PyObject *resultobj;
6986 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6987 wxString const &arg2_defvalue = wxPyEmptyString ;
6988 wxString *arg2 = (wxString *) &arg2_defvalue ;
6989 bool result;
6990 bool temp2 = False ;
6991 PyObject * obj0 = 0 ;
6992 PyObject * obj1 = 0 ;
6993 char *kwnames[] = {
6994 (char *) "self",(char *) "file", NULL
6995 };
6996
6997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6999 if (obj1) {
7000 {
7001 arg2 = wxString_in_helper(obj1);
7002 if (arg2 == NULL) SWIG_fail;
7003 temp2 = True;
7004 }
7005 }
7006 {
7007 PyThreadState* __tstate = wxPyBeginAllowThreads();
7008 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7009
7010 wxPyEndAllowThreads(__tstate);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 }
7013 resultobj = PyInt_FromLong((long)result);
7014 {
7015 if (temp2)
7016 delete arg2;
7017 }
7018 return resultobj;
7019 fail:
7020 {
7021 if (temp2)
7022 delete arg2;
7023 }
7024 return NULL;
7025 }
7026
7027
7028 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7029 PyObject *resultobj;
7030 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7031 PyObject * obj0 = 0 ;
7032 char *kwnames[] = {
7033 (char *) "self", NULL
7034 };
7035
7036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7038 {
7039 PyThreadState* __tstate = wxPyBeginAllowThreads();
7040 (arg1)->MarkDirty();
7041
7042 wxPyEndAllowThreads(__tstate);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 Py_INCREF(Py_None); resultobj = Py_None;
7046 return resultobj;
7047 fail:
7048 return NULL;
7049 }
7050
7051
7052 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7053 PyObject *resultobj;
7054 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7055 PyObject * obj0 = 0 ;
7056 char *kwnames[] = {
7057 (char *) "self", NULL
7058 };
7059
7060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7062 {
7063 PyThreadState* __tstate = wxPyBeginAllowThreads();
7064 (arg1)->DiscardEdits();
7065
7066 wxPyEndAllowThreads(__tstate);
7067 if (PyErr_Occurred()) SWIG_fail;
7068 }
7069 Py_INCREF(Py_None); resultobj = Py_None;
7070 return resultobj;
7071 fail:
7072 return NULL;
7073 }
7074
7075
7076 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7077 PyObject *resultobj;
7078 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7079 unsigned long arg2 ;
7080 PyObject * obj0 = 0 ;
7081 PyObject * obj1 = 0 ;
7082 char *kwnames[] = {
7083 (char *) "self",(char *) "len", NULL
7084 };
7085
7086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7088 arg2 = (unsigned long) PyInt_AsLong(obj1);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 (arg1)->SetMaxLength(arg2);
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 Py_INCREF(Py_None); resultobj = Py_None;
7098 return resultobj;
7099 fail:
7100 return NULL;
7101 }
7102
7103
7104 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7105 PyObject *resultobj;
7106 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7107 wxString *arg2 = 0 ;
7108 bool temp2 = False ;
7109 PyObject * obj0 = 0 ;
7110 PyObject * obj1 = 0 ;
7111 char *kwnames[] = {
7112 (char *) "self",(char *) "text", NULL
7113 };
7114
7115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7117 {
7118 arg2 = wxString_in_helper(obj1);
7119 if (arg2 == NULL) SWIG_fail;
7120 temp2 = True;
7121 }
7122 {
7123 PyThreadState* __tstate = wxPyBeginAllowThreads();
7124 (arg1)->WriteText((wxString const &)*arg2);
7125
7126 wxPyEndAllowThreads(__tstate);
7127 if (PyErr_Occurred()) SWIG_fail;
7128 }
7129 Py_INCREF(Py_None); resultobj = Py_None;
7130 {
7131 if (temp2)
7132 delete arg2;
7133 }
7134 return resultobj;
7135 fail:
7136 {
7137 if (temp2)
7138 delete arg2;
7139 }
7140 return NULL;
7141 }
7142
7143
7144 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7145 PyObject *resultobj;
7146 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7147 wxString *arg2 = 0 ;
7148 bool temp2 = False ;
7149 PyObject * obj0 = 0 ;
7150 PyObject * obj1 = 0 ;
7151 char *kwnames[] = {
7152 (char *) "self",(char *) "text", NULL
7153 };
7154
7155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7157 {
7158 arg2 = wxString_in_helper(obj1);
7159 if (arg2 == NULL) SWIG_fail;
7160 temp2 = True;
7161 }
7162 {
7163 PyThreadState* __tstate = wxPyBeginAllowThreads();
7164 (arg1)->AppendText((wxString const &)*arg2);
7165
7166 wxPyEndAllowThreads(__tstate);
7167 if (PyErr_Occurred()) SWIG_fail;
7168 }
7169 Py_INCREF(Py_None); resultobj = Py_None;
7170 {
7171 if (temp2)
7172 delete arg2;
7173 }
7174 return resultobj;
7175 fail:
7176 {
7177 if (temp2)
7178 delete arg2;
7179 }
7180 return NULL;
7181 }
7182
7183
7184 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7185 PyObject *resultobj;
7186 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7187 wxKeyEvent *arg2 = 0 ;
7188 bool result;
7189 PyObject * obj0 = 0 ;
7190 PyObject * obj1 = 0 ;
7191 char *kwnames[] = {
7192 (char *) "self",(char *) "event", NULL
7193 };
7194
7195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7197 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7198 if (arg2 == NULL) {
7199 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7200 }
7201 {
7202 PyThreadState* __tstate = wxPyBeginAllowThreads();
7203 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7204
7205 wxPyEndAllowThreads(__tstate);
7206 if (PyErr_Occurred()) SWIG_fail;
7207 }
7208 resultobj = PyInt_FromLong((long)result);
7209 return resultobj;
7210 fail:
7211 return NULL;
7212 }
7213
7214
7215 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7216 PyObject *resultobj;
7217 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7218 long arg2 ;
7219 long arg3 ;
7220 wxTextAttr *arg4 = 0 ;
7221 bool result;
7222 PyObject * obj0 = 0 ;
7223 PyObject * obj3 = 0 ;
7224 char *kwnames[] = {
7225 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7226 };
7227
7228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7230 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7231 if (arg4 == NULL) {
7232 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7233 }
7234 {
7235 PyThreadState* __tstate = wxPyBeginAllowThreads();
7236 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7237
7238 wxPyEndAllowThreads(__tstate);
7239 if (PyErr_Occurred()) SWIG_fail;
7240 }
7241 resultobj = PyInt_FromLong((long)result);
7242 return resultobj;
7243 fail:
7244 return NULL;
7245 }
7246
7247
7248 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7249 PyObject *resultobj;
7250 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7251 long arg2 ;
7252 wxTextAttr *arg3 = 0 ;
7253 bool result;
7254 PyObject * obj0 = 0 ;
7255 PyObject * obj2 = 0 ;
7256 char *kwnames[] = {
7257 (char *) "self",(char *) "position",(char *) "style", NULL
7258 };
7259
7260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7262 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7263 if (arg3 == NULL) {
7264 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7265 }
7266 {
7267 PyThreadState* __tstate = wxPyBeginAllowThreads();
7268 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7269
7270 wxPyEndAllowThreads(__tstate);
7271 if (PyErr_Occurred()) SWIG_fail;
7272 }
7273 resultobj = PyInt_FromLong((long)result);
7274 return resultobj;
7275 fail:
7276 return NULL;
7277 }
7278
7279
7280 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7281 PyObject *resultobj;
7282 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7283 wxTextAttr *arg2 = 0 ;
7284 bool result;
7285 PyObject * obj0 = 0 ;
7286 PyObject * obj1 = 0 ;
7287 char *kwnames[] = {
7288 (char *) "self",(char *) "style", NULL
7289 };
7290
7291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7293 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7294 if (arg2 == NULL) {
7295 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7296 }
7297 {
7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
7299 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7300
7301 wxPyEndAllowThreads(__tstate);
7302 if (PyErr_Occurred()) SWIG_fail;
7303 }
7304 resultobj = PyInt_FromLong((long)result);
7305 return resultobj;
7306 fail:
7307 return NULL;
7308 }
7309
7310
7311 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7312 PyObject *resultobj;
7313 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7314 wxTextAttr *result;
7315 PyObject * obj0 = 0 ;
7316 char *kwnames[] = {
7317 (char *) "self", NULL
7318 };
7319
7320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7322 {
7323 PyThreadState* __tstate = wxPyBeginAllowThreads();
7324 {
7325 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7326 result = (wxTextAttr *) &_result_ref;
7327 }
7328
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7333 return resultobj;
7334 fail:
7335 return NULL;
7336 }
7337
7338
7339 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7340 PyObject *resultobj;
7341 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7342 long arg2 ;
7343 long arg3 ;
7344 long result;
7345 PyObject * obj0 = 0 ;
7346 char *kwnames[] = {
7347 (char *) "self",(char *) "x",(char *) "y", NULL
7348 };
7349
7350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7352 {
7353 PyThreadState* __tstate = wxPyBeginAllowThreads();
7354 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7355
7356 wxPyEndAllowThreads(__tstate);
7357 if (PyErr_Occurred()) SWIG_fail;
7358 }
7359 resultobj = PyInt_FromLong((long)result);
7360 return resultobj;
7361 fail:
7362 return NULL;
7363 }
7364
7365
7366 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7367 PyObject *resultobj;
7368 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7369 long arg2 ;
7370 long *arg3 = (long *) 0 ;
7371 long *arg4 = (long *) 0 ;
7372 long temp3 ;
7373 long temp4 ;
7374 PyObject * obj0 = 0 ;
7375 char *kwnames[] = {
7376 (char *) "self",(char *) "pos", NULL
7377 };
7378
7379 arg3 = &temp3;
7380 arg4 = &temp4;
7381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7383 {
7384 PyThreadState* __tstate = wxPyBeginAllowThreads();
7385 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7386
7387 wxPyEndAllowThreads(__tstate);
7388 if (PyErr_Occurred()) SWIG_fail;
7389 }
7390 Py_INCREF(Py_None); resultobj = Py_None;
7391 {
7392 PyObject *o = PyInt_FromLong((long) (*arg3));
7393 resultobj = t_output_helper(resultobj,o);
7394 }
7395 {
7396 PyObject *o = PyInt_FromLong((long) (*arg4));
7397 resultobj = t_output_helper(resultobj,o);
7398 }
7399 return resultobj;
7400 fail:
7401 return NULL;
7402 }
7403
7404
7405 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7406 PyObject *resultobj;
7407 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7408 long arg2 ;
7409 PyObject * obj0 = 0 ;
7410 char *kwnames[] = {
7411 (char *) "self",(char *) "pos", NULL
7412 };
7413
7414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7416 {
7417 PyThreadState* __tstate = wxPyBeginAllowThreads();
7418 (arg1)->ShowPosition(arg2);
7419
7420 wxPyEndAllowThreads(__tstate);
7421 if (PyErr_Occurred()) SWIG_fail;
7422 }
7423 Py_INCREF(Py_None); resultobj = Py_None;
7424 return resultobj;
7425 fail:
7426 return NULL;
7427 }
7428
7429
7430 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7431 PyObject *resultobj;
7432 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7433 PyObject * obj0 = 0 ;
7434 char *kwnames[] = {
7435 (char *) "self", NULL
7436 };
7437
7438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7440 {
7441 PyThreadState* __tstate = wxPyBeginAllowThreads();
7442 (arg1)->Copy();
7443
7444 wxPyEndAllowThreads(__tstate);
7445 if (PyErr_Occurred()) SWIG_fail;
7446 }
7447 Py_INCREF(Py_None); resultobj = Py_None;
7448 return resultobj;
7449 fail:
7450 return NULL;
7451 }
7452
7453
7454 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7455 PyObject *resultobj;
7456 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7457 PyObject * obj0 = 0 ;
7458 char *kwnames[] = {
7459 (char *) "self", NULL
7460 };
7461
7462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7464 {
7465 PyThreadState* __tstate = wxPyBeginAllowThreads();
7466 (arg1)->Cut();
7467
7468 wxPyEndAllowThreads(__tstate);
7469 if (PyErr_Occurred()) SWIG_fail;
7470 }
7471 Py_INCREF(Py_None); resultobj = Py_None;
7472 return resultobj;
7473 fail:
7474 return NULL;
7475 }
7476
7477
7478 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7479 PyObject *resultobj;
7480 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7481 PyObject * obj0 = 0 ;
7482 char *kwnames[] = {
7483 (char *) "self", NULL
7484 };
7485
7486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7488 {
7489 PyThreadState* __tstate = wxPyBeginAllowThreads();
7490 (arg1)->Paste();
7491
7492 wxPyEndAllowThreads(__tstate);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 }
7495 Py_INCREF(Py_None); resultobj = Py_None;
7496 return resultobj;
7497 fail:
7498 return NULL;
7499 }
7500
7501
7502 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7503 PyObject *resultobj;
7504 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7505 bool result;
7506 PyObject * obj0 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "self", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 resultobj = PyInt_FromLong((long)result);
7521 return resultobj;
7522 fail:
7523 return NULL;
7524 }
7525
7526
7527 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7528 PyObject *resultobj;
7529 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7530 bool result;
7531 PyObject * obj0 = 0 ;
7532 char *kwnames[] = {
7533 (char *) "self", NULL
7534 };
7535
7536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7538 {
7539 PyThreadState* __tstate = wxPyBeginAllowThreads();
7540 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7541
7542 wxPyEndAllowThreads(__tstate);
7543 if (PyErr_Occurred()) SWIG_fail;
7544 }
7545 resultobj = PyInt_FromLong((long)result);
7546 return resultobj;
7547 fail:
7548 return NULL;
7549 }
7550
7551
7552 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj;
7554 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7555 bool result;
7556 PyObject * obj0 = 0 ;
7557 char *kwnames[] = {
7558 (char *) "self", NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7563 {
7564 PyThreadState* __tstate = wxPyBeginAllowThreads();
7565 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7566
7567 wxPyEndAllowThreads(__tstate);
7568 if (PyErr_Occurred()) SWIG_fail;
7569 }
7570 resultobj = PyInt_FromLong((long)result);
7571 return resultobj;
7572 fail:
7573 return NULL;
7574 }
7575
7576
7577 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7578 PyObject *resultobj;
7579 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7580 PyObject * obj0 = 0 ;
7581 char *kwnames[] = {
7582 (char *) "self", NULL
7583 };
7584
7585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7587 {
7588 PyThreadState* __tstate = wxPyBeginAllowThreads();
7589 (arg1)->Undo();
7590
7591 wxPyEndAllowThreads(__tstate);
7592 if (PyErr_Occurred()) SWIG_fail;
7593 }
7594 Py_INCREF(Py_None); resultobj = Py_None;
7595 return resultobj;
7596 fail:
7597 return NULL;
7598 }
7599
7600
7601 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7602 PyObject *resultobj;
7603 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7604 PyObject * obj0 = 0 ;
7605 char *kwnames[] = {
7606 (char *) "self", NULL
7607 };
7608
7609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7611 {
7612 PyThreadState* __tstate = wxPyBeginAllowThreads();
7613 (arg1)->Redo();
7614
7615 wxPyEndAllowThreads(__tstate);
7616 if (PyErr_Occurred()) SWIG_fail;
7617 }
7618 Py_INCREF(Py_None); resultobj = Py_None;
7619 return resultobj;
7620 fail:
7621 return NULL;
7622 }
7623
7624
7625 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7626 PyObject *resultobj;
7627 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7628 bool result;
7629 PyObject * obj0 = 0 ;
7630 char *kwnames[] = {
7631 (char *) "self", NULL
7632 };
7633
7634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7636 {
7637 PyThreadState* __tstate = wxPyBeginAllowThreads();
7638 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7639
7640 wxPyEndAllowThreads(__tstate);
7641 if (PyErr_Occurred()) SWIG_fail;
7642 }
7643 resultobj = PyInt_FromLong((long)result);
7644 return resultobj;
7645 fail:
7646 return NULL;
7647 }
7648
7649
7650 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7651 PyObject *resultobj;
7652 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7653 bool result;
7654 PyObject * obj0 = 0 ;
7655 char *kwnames[] = {
7656 (char *) "self", NULL
7657 };
7658
7659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7661 {
7662 PyThreadState* __tstate = wxPyBeginAllowThreads();
7663 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7664
7665 wxPyEndAllowThreads(__tstate);
7666 if (PyErr_Occurred()) SWIG_fail;
7667 }
7668 resultobj = PyInt_FromLong((long)result);
7669 return resultobj;
7670 fail:
7671 return NULL;
7672 }
7673
7674
7675 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7676 PyObject *resultobj;
7677 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7678 long arg2 ;
7679 PyObject * obj0 = 0 ;
7680 char *kwnames[] = {
7681 (char *) "self",(char *) "pos", NULL
7682 };
7683
7684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7686 {
7687 PyThreadState* __tstate = wxPyBeginAllowThreads();
7688 (arg1)->SetInsertionPoint(arg2);
7689
7690 wxPyEndAllowThreads(__tstate);
7691 if (PyErr_Occurred()) SWIG_fail;
7692 }
7693 Py_INCREF(Py_None); resultobj = Py_None;
7694 return resultobj;
7695 fail:
7696 return NULL;
7697 }
7698
7699
7700 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7701 PyObject *resultobj;
7702 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7703 PyObject * obj0 = 0 ;
7704 char *kwnames[] = {
7705 (char *) "self", NULL
7706 };
7707
7708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7710 {
7711 PyThreadState* __tstate = wxPyBeginAllowThreads();
7712 (arg1)->SetInsertionPointEnd();
7713
7714 wxPyEndAllowThreads(__tstate);
7715 if (PyErr_Occurred()) SWIG_fail;
7716 }
7717 Py_INCREF(Py_None); resultobj = Py_None;
7718 return resultobj;
7719 fail:
7720 return NULL;
7721 }
7722
7723
7724 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7725 PyObject *resultobj;
7726 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7727 long result;
7728 PyObject * obj0 = 0 ;
7729 char *kwnames[] = {
7730 (char *) "self", NULL
7731 };
7732
7733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7735 {
7736 PyThreadState* __tstate = wxPyBeginAllowThreads();
7737 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7738
7739 wxPyEndAllowThreads(__tstate);
7740 if (PyErr_Occurred()) SWIG_fail;
7741 }
7742 resultobj = PyInt_FromLong((long)result);
7743 return resultobj;
7744 fail:
7745 return NULL;
7746 }
7747
7748
7749 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj;
7751 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7752 long result;
7753 PyObject * obj0 = 0 ;
7754 char *kwnames[] = {
7755 (char *) "self", NULL
7756 };
7757
7758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7760 {
7761 PyThreadState* __tstate = wxPyBeginAllowThreads();
7762 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7763
7764 wxPyEndAllowThreads(__tstate);
7765 if (PyErr_Occurred()) SWIG_fail;
7766 }
7767 resultobj = PyInt_FromLong((long)result);
7768 return resultobj;
7769 fail:
7770 return NULL;
7771 }
7772
7773
7774 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7775 PyObject *resultobj;
7776 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7777 long arg2 ;
7778 long arg3 ;
7779 PyObject * obj0 = 0 ;
7780 char *kwnames[] = {
7781 (char *) "self",(char *) "from",(char *) "to", NULL
7782 };
7783
7784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7786 {
7787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7788 (arg1)->SetSelection(arg2,arg3);
7789
7790 wxPyEndAllowThreads(__tstate);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 Py_INCREF(Py_None); resultobj = Py_None;
7794 return resultobj;
7795 fail:
7796 return NULL;
7797 }
7798
7799
7800 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7801 PyObject *resultobj;
7802 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7803 PyObject * obj0 = 0 ;
7804 char *kwnames[] = {
7805 (char *) "self", NULL
7806 };
7807
7808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 (arg1)->SelectAll();
7813
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 Py_INCREF(Py_None); resultobj = Py_None;
7818 return resultobj;
7819 fail:
7820 return NULL;
7821 }
7822
7823
7824 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7825 PyObject *resultobj;
7826 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7827 bool arg2 ;
7828 PyObject * obj0 = 0 ;
7829 PyObject * obj1 = 0 ;
7830 char *kwnames[] = {
7831 (char *) "self",(char *) "editable", NULL
7832 };
7833
7834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7836 arg2 = PyInt_AsLong(obj1) ? true : false;
7837 if (PyErr_Occurred()) SWIG_fail;
7838 {
7839 PyThreadState* __tstate = wxPyBeginAllowThreads();
7840 (arg1)->SetEditable(arg2);
7841
7842 wxPyEndAllowThreads(__tstate);
7843 if (PyErr_Occurred()) SWIG_fail;
7844 }
7845 Py_INCREF(Py_None); resultobj = Py_None;
7846 return resultobj;
7847 fail:
7848 return NULL;
7849 }
7850
7851
7852 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
7853 PyObject *resultobj;
7854 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7855 bool arg2 = (bool) True ;
7856 bool result;
7857 PyObject * obj0 = 0 ;
7858 PyObject * obj1 = 0 ;
7859 char *kwnames[] = {
7860 (char *) "self",(char *) "show", NULL
7861 };
7862
7863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
7864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7865 if (obj1) {
7866 arg2 = PyInt_AsLong(obj1) ? true : false;
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 {
7870 PyThreadState* __tstate = wxPyBeginAllowThreads();
7871 result = (bool)(arg1)->ShowNativeCaret(arg2);
7872
7873 wxPyEndAllowThreads(__tstate);
7874 if (PyErr_Occurred()) SWIG_fail;
7875 }
7876 resultobj = PyInt_FromLong((long)result);
7877 return resultobj;
7878 fail:
7879 return NULL;
7880 }
7881
7882
7883 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
7884 PyObject *resultobj;
7885 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7886 bool result;
7887 PyObject * obj0 = 0 ;
7888 char *kwnames[] = {
7889 (char *) "self", NULL
7890 };
7891
7892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
7893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7894 {
7895 PyThreadState* __tstate = wxPyBeginAllowThreads();
7896 result = (bool)(arg1)->HideNativeCaret();
7897
7898 wxPyEndAllowThreads(__tstate);
7899 if (PyErr_Occurred()) SWIG_fail;
7900 }
7901 resultobj = PyInt_FromLong((long)result);
7902 return resultobj;
7903 fail:
7904 return NULL;
7905 }
7906
7907
7908 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7909 PyObject *resultobj;
7910 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7911 wxString *arg2 = 0 ;
7912 bool temp2 = False ;
7913 PyObject * obj0 = 0 ;
7914 PyObject * obj1 = 0 ;
7915 char *kwnames[] = {
7916 (char *) "self",(char *) "text", NULL
7917 };
7918
7919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7921 {
7922 arg2 = wxString_in_helper(obj1);
7923 if (arg2 == NULL) SWIG_fail;
7924 temp2 = True;
7925 }
7926 {
7927 PyThreadState* __tstate = wxPyBeginAllowThreads();
7928 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7929
7930 wxPyEndAllowThreads(__tstate);
7931 if (PyErr_Occurred()) SWIG_fail;
7932 }
7933 Py_INCREF(Py_None); resultobj = Py_None;
7934 {
7935 if (temp2)
7936 delete arg2;
7937 }
7938 return resultobj;
7939 fail:
7940 {
7941 if (temp2)
7942 delete arg2;
7943 }
7944 return NULL;
7945 }
7946
7947
7948 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7949 PyObject *resultobj;
7950 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7951 long arg2 ;
7952 long arg3 ;
7953 wxString result;
7954 PyObject * obj0 = 0 ;
7955 char *kwnames[] = {
7956 (char *) "self",(char *) "from",(char *) "to", NULL
7957 };
7958
7959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7961 {
7962 PyThreadState* __tstate = wxPyBeginAllowThreads();
7963 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7964
7965 wxPyEndAllowThreads(__tstate);
7966 if (PyErr_Occurred()) SWIG_fail;
7967 }
7968 {
7969 #if wxUSE_UNICODE
7970 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7971 #else
7972 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7973 #endif
7974 }
7975 return resultobj;
7976 fail:
7977 return NULL;
7978 }
7979
7980
7981 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7982 PyObject *obj;
7983 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7984 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7985 Py_INCREF(obj);
7986 return Py_BuildValue((char *)"");
7987 }
7988 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7989 PyObject *resultobj;
7990 int arg1 ;
7991 wxMouseEvent *arg2 = 0 ;
7992 long arg3 ;
7993 long arg4 ;
7994 wxTextUrlEvent *result;
7995 PyObject * obj1 = 0 ;
7996 char *kwnames[] = {
7997 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7998 };
7999
8000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
8001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8002 if (arg2 == NULL) {
8003 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8004 }
8005 {
8006 PyThreadState* __tstate = wxPyBeginAllowThreads();
8007 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8008
8009 wxPyEndAllowThreads(__tstate);
8010 if (PyErr_Occurred()) SWIG_fail;
8011 }
8012 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8013 return resultobj;
8014 fail:
8015 return NULL;
8016 }
8017
8018
8019 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8020 PyObject *resultobj;
8021 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8022 wxMouseEvent *result;
8023 PyObject * obj0 = 0 ;
8024 char *kwnames[] = {
8025 (char *) "self", NULL
8026 };
8027
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8030 {
8031 PyThreadState* __tstate = wxPyBeginAllowThreads();
8032 {
8033 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8034 result = (wxMouseEvent *) &_result_ref;
8035 }
8036
8037 wxPyEndAllowThreads(__tstate);
8038 if (PyErr_Occurred()) SWIG_fail;
8039 }
8040 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8041 return resultobj;
8042 fail:
8043 return NULL;
8044 }
8045
8046
8047 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8048 PyObject *resultobj;
8049 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8050 long result;
8051 PyObject * obj0 = 0 ;
8052 char *kwnames[] = {
8053 (char *) "self", NULL
8054 };
8055
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 resultobj = PyInt_FromLong((long)result);
8066 return resultobj;
8067 fail:
8068 return NULL;
8069 }
8070
8071
8072 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8075 long result;
8076 PyObject * obj0 = 0 ;
8077 char *kwnames[] = {
8078 (char *) "self", NULL
8079 };
8080
8081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8083 {
8084 PyThreadState* __tstate = wxPyBeginAllowThreads();
8085 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8086
8087 wxPyEndAllowThreads(__tstate);
8088 if (PyErr_Occurred()) SWIG_fail;
8089 }
8090 resultobj = PyInt_FromLong((long)result);
8091 return resultobj;
8092 fail:
8093 return NULL;
8094 }
8095
8096
8097 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8098 PyObject *obj;
8099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8100 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8101 Py_INCREF(obj);
8102 return Py_BuildValue((char *)"");
8103 }
8104 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8105 PyObject *resultobj;
8106 wxWindow *arg1 = (wxWindow *) 0 ;
8107 int arg2 = (int) -1 ;
8108 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8109 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8110 wxSize const &arg4_defvalue = wxDefaultSize ;
8111 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8112 long arg5 = (long) wxSB_HORIZONTAL ;
8113 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8114 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8115 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8116 wxString *arg7 = (wxString *) &arg7_defvalue ;
8117 wxScrollBar *result;
8118 wxPoint temp3 ;
8119 wxSize temp4 ;
8120 bool temp7 = False ;
8121 PyObject * obj0 = 0 ;
8122 PyObject * obj2 = 0 ;
8123 PyObject * obj3 = 0 ;
8124 PyObject * obj5 = 0 ;
8125 PyObject * obj6 = 0 ;
8126 char *kwnames[] = {
8127 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8128 };
8129
8130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8132 if (obj2) {
8133 {
8134 arg3 = &temp3;
8135 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8136 }
8137 }
8138 if (obj3) {
8139 {
8140 arg4 = &temp4;
8141 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8142 }
8143 }
8144 if (obj5) {
8145 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8146 if (arg6 == NULL) {
8147 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8148 }
8149 }
8150 if (obj6) {
8151 {
8152 arg7 = wxString_in_helper(obj6);
8153 if (arg7 == NULL) SWIG_fail;
8154 temp7 = True;
8155 }
8156 }
8157 {
8158 PyThreadState* __tstate = wxPyBeginAllowThreads();
8159 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8160
8161 wxPyEndAllowThreads(__tstate);
8162 if (PyErr_Occurred()) SWIG_fail;
8163 }
8164 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8165 {
8166 if (temp7)
8167 delete arg7;
8168 }
8169 return resultobj;
8170 fail:
8171 {
8172 if (temp7)
8173 delete arg7;
8174 }
8175 return NULL;
8176 }
8177
8178
8179 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8180 PyObject *resultobj;
8181 wxScrollBar *result;
8182 char *kwnames[] = {
8183 NULL
8184 };
8185
8186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8187 {
8188 PyThreadState* __tstate = wxPyBeginAllowThreads();
8189 result = (wxScrollBar *)new wxScrollBar();
8190
8191 wxPyEndAllowThreads(__tstate);
8192 if (PyErr_Occurred()) SWIG_fail;
8193 }
8194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8195 return resultobj;
8196 fail:
8197 return NULL;
8198 }
8199
8200
8201 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8202 PyObject *resultobj;
8203 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8204 wxWindow *arg2 = (wxWindow *) 0 ;
8205 int arg3 = (int) -1 ;
8206 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8207 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8208 wxSize const &arg5_defvalue = wxDefaultSize ;
8209 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8210 long arg6 = (long) wxSB_HORIZONTAL ;
8211 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8212 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8213 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8214 wxString *arg8 = (wxString *) &arg8_defvalue ;
8215 bool result;
8216 wxPoint temp4 ;
8217 wxSize temp5 ;
8218 bool temp8 = False ;
8219 PyObject * obj0 = 0 ;
8220 PyObject * obj1 = 0 ;
8221 PyObject * obj3 = 0 ;
8222 PyObject * obj4 = 0 ;
8223 PyObject * obj6 = 0 ;
8224 PyObject * obj7 = 0 ;
8225 char *kwnames[] = {
8226 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8227 };
8228
8229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8232 if (obj3) {
8233 {
8234 arg4 = &temp4;
8235 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8236 }
8237 }
8238 if (obj4) {
8239 {
8240 arg5 = &temp5;
8241 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8242 }
8243 }
8244 if (obj6) {
8245 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8246 if (arg7 == NULL) {
8247 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8248 }
8249 }
8250 if (obj7) {
8251 {
8252 arg8 = wxString_in_helper(obj7);
8253 if (arg8 == NULL) SWIG_fail;
8254 temp8 = True;
8255 }
8256 }
8257 {
8258 PyThreadState* __tstate = wxPyBeginAllowThreads();
8259 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8260
8261 wxPyEndAllowThreads(__tstate);
8262 if (PyErr_Occurred()) SWIG_fail;
8263 }
8264 resultobj = PyInt_FromLong((long)result);
8265 {
8266 if (temp8)
8267 delete arg8;
8268 }
8269 return resultobj;
8270 fail:
8271 {
8272 if (temp8)
8273 delete arg8;
8274 }
8275 return NULL;
8276 }
8277
8278
8279 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj;
8281 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8282 int result;
8283 PyObject * obj0 = 0 ;
8284 char *kwnames[] = {
8285 (char *) "self", NULL
8286 };
8287
8288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8290 {
8291 PyThreadState* __tstate = wxPyBeginAllowThreads();
8292 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8293
8294 wxPyEndAllowThreads(__tstate);
8295 if (PyErr_Occurred()) SWIG_fail;
8296 }
8297 resultobj = PyInt_FromLong((long)result);
8298 return resultobj;
8299 fail:
8300 return NULL;
8301 }
8302
8303
8304 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8305 PyObject *resultobj;
8306 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8307 int result;
8308 PyObject * obj0 = 0 ;
8309 char *kwnames[] = {
8310 (char *) "self", NULL
8311 };
8312
8313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8318
8319 wxPyEndAllowThreads(__tstate);
8320 if (PyErr_Occurred()) SWIG_fail;
8321 }
8322 resultobj = PyInt_FromLong((long)result);
8323 return resultobj;
8324 fail:
8325 return NULL;
8326 }
8327
8328
8329 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8330 PyObject *resultobj;
8331 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8332 int result;
8333 PyObject * obj0 = 0 ;
8334 char *kwnames[] = {
8335 (char *) "self", NULL
8336 };
8337
8338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8340 {
8341 PyThreadState* __tstate = wxPyBeginAllowThreads();
8342 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8343
8344 wxPyEndAllowThreads(__tstate);
8345 if (PyErr_Occurred()) SWIG_fail;
8346 }
8347 resultobj = PyInt_FromLong((long)result);
8348 return resultobj;
8349 fail:
8350 return NULL;
8351 }
8352
8353
8354 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8355 PyObject *resultobj;
8356 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8357 int result;
8358 PyObject * obj0 = 0 ;
8359 char *kwnames[] = {
8360 (char *) "self", NULL
8361 };
8362
8363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8365 {
8366 PyThreadState* __tstate = wxPyBeginAllowThreads();
8367 result = (int)((wxScrollBar const *)arg1)->GetRange();
8368
8369 wxPyEndAllowThreads(__tstate);
8370 if (PyErr_Occurred()) SWIG_fail;
8371 }
8372 resultobj = PyInt_FromLong((long)result);
8373 return resultobj;
8374 fail:
8375 return NULL;
8376 }
8377
8378
8379 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8380 PyObject *resultobj;
8381 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8382 bool result;
8383 PyObject * obj0 = 0 ;
8384 char *kwnames[] = {
8385 (char *) "self", NULL
8386 };
8387
8388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8393
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 resultobj = PyInt_FromLong((long)result);
8398 return resultobj;
8399 fail:
8400 return NULL;
8401 }
8402
8403
8404 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8405 PyObject *resultobj;
8406 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8407 int arg2 ;
8408 PyObject * obj0 = 0 ;
8409 char *kwnames[] = {
8410 (char *) "self",(char *) "viewStart", NULL
8411 };
8412
8413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8415 {
8416 PyThreadState* __tstate = wxPyBeginAllowThreads();
8417 (arg1)->SetThumbPosition(arg2);
8418
8419 wxPyEndAllowThreads(__tstate);
8420 if (PyErr_Occurred()) SWIG_fail;
8421 }
8422 Py_INCREF(Py_None); resultobj = Py_None;
8423 return resultobj;
8424 fail:
8425 return NULL;
8426 }
8427
8428
8429 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8430 PyObject *resultobj;
8431 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8432 int arg2 ;
8433 int arg3 ;
8434 int arg4 ;
8435 int arg5 ;
8436 bool arg6 = (bool) True ;
8437 PyObject * obj0 = 0 ;
8438 PyObject * obj5 = 0 ;
8439 char *kwnames[] = {
8440 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8441 };
8442
8443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8445 if (obj5) {
8446 arg6 = PyInt_AsLong(obj5) ? true : false;
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 {
8450 PyThreadState* __tstate = wxPyBeginAllowThreads();
8451 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8452
8453 wxPyEndAllowThreads(__tstate);
8454 if (PyErr_Occurred()) SWIG_fail;
8455 }
8456 Py_INCREF(Py_None); resultobj = Py_None;
8457 return resultobj;
8458 fail:
8459 return NULL;
8460 }
8461
8462
8463 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8464 PyObject *obj;
8465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8466 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8467 Py_INCREF(obj);
8468 return Py_BuildValue((char *)"");
8469 }
8470 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8471 PyObject *resultobj;
8472 wxWindow *arg1 = (wxWindow *) 0 ;
8473 int arg2 = (int) -1 ;
8474 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8475 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8476 wxSize const &arg4_defvalue = wxDefaultSize ;
8477 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8478 long arg5 = (long) wxSP_HORIZONTAL ;
8479 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8480 wxString *arg6 = (wxString *) &arg6_defvalue ;
8481 wxSpinButton *result;
8482 wxPoint temp3 ;
8483 wxSize temp4 ;
8484 bool temp6 = False ;
8485 PyObject * obj0 = 0 ;
8486 PyObject * obj2 = 0 ;
8487 PyObject * obj3 = 0 ;
8488 PyObject * obj5 = 0 ;
8489 char *kwnames[] = {
8490 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8491 };
8492
8493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8495 if (obj2) {
8496 {
8497 arg3 = &temp3;
8498 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8499 }
8500 }
8501 if (obj3) {
8502 {
8503 arg4 = &temp4;
8504 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8505 }
8506 }
8507 if (obj5) {
8508 {
8509 arg6 = wxString_in_helper(obj5);
8510 if (arg6 == NULL) SWIG_fail;
8511 temp6 = True;
8512 }
8513 }
8514 {
8515 PyThreadState* __tstate = wxPyBeginAllowThreads();
8516 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8517
8518 wxPyEndAllowThreads(__tstate);
8519 if (PyErr_Occurred()) SWIG_fail;
8520 }
8521 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8522 {
8523 if (temp6)
8524 delete arg6;
8525 }
8526 return resultobj;
8527 fail:
8528 {
8529 if (temp6)
8530 delete arg6;
8531 }
8532 return NULL;
8533 }
8534
8535
8536 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8537 PyObject *resultobj;
8538 wxSpinButton *result;
8539 char *kwnames[] = {
8540 NULL
8541 };
8542
8543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8544 {
8545 PyThreadState* __tstate = wxPyBeginAllowThreads();
8546 result = (wxSpinButton *)new wxSpinButton();
8547
8548 wxPyEndAllowThreads(__tstate);
8549 if (PyErr_Occurred()) SWIG_fail;
8550 }
8551 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8552 return resultobj;
8553 fail:
8554 return NULL;
8555 }
8556
8557
8558 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8559 PyObject *resultobj;
8560 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8561 wxWindow *arg2 = (wxWindow *) 0 ;
8562 int arg3 = (int) -1 ;
8563 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8564 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8565 wxSize const &arg5_defvalue = wxDefaultSize ;
8566 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8567 long arg6 = (long) wxSP_HORIZONTAL ;
8568 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8569 wxString *arg7 = (wxString *) &arg7_defvalue ;
8570 bool result;
8571 wxPoint temp4 ;
8572 wxSize temp5 ;
8573 bool temp7 = False ;
8574 PyObject * obj0 = 0 ;
8575 PyObject * obj1 = 0 ;
8576 PyObject * obj3 = 0 ;
8577 PyObject * obj4 = 0 ;
8578 PyObject * obj6 = 0 ;
8579 char *kwnames[] = {
8580 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8581 };
8582
8583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8586 if (obj3) {
8587 {
8588 arg4 = &temp4;
8589 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8590 }
8591 }
8592 if (obj4) {
8593 {
8594 arg5 = &temp5;
8595 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8596 }
8597 }
8598 if (obj6) {
8599 {
8600 arg7 = wxString_in_helper(obj6);
8601 if (arg7 == NULL) SWIG_fail;
8602 temp7 = True;
8603 }
8604 }
8605 {
8606 PyThreadState* __tstate = wxPyBeginAllowThreads();
8607 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8608
8609 wxPyEndAllowThreads(__tstate);
8610 if (PyErr_Occurred()) SWIG_fail;
8611 }
8612 resultobj = PyInt_FromLong((long)result);
8613 {
8614 if (temp7)
8615 delete arg7;
8616 }
8617 return resultobj;
8618 fail:
8619 {
8620 if (temp7)
8621 delete arg7;
8622 }
8623 return NULL;
8624 }
8625
8626
8627 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8628 PyObject *resultobj;
8629 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8630 int result;
8631 PyObject * obj0 = 0 ;
8632 char *kwnames[] = {
8633 (char *) "self", NULL
8634 };
8635
8636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8638 {
8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
8640 result = (int)((wxSpinButton const *)arg1)->GetValue();
8641
8642 wxPyEndAllowThreads(__tstate);
8643 if (PyErr_Occurred()) SWIG_fail;
8644 }
8645 resultobj = PyInt_FromLong((long)result);
8646 return resultobj;
8647 fail:
8648 return NULL;
8649 }
8650
8651
8652 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8653 PyObject *resultobj;
8654 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8655 int result;
8656 PyObject * obj0 = 0 ;
8657 char *kwnames[] = {
8658 (char *) "self", NULL
8659 };
8660
8661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8663 {
8664 PyThreadState* __tstate = wxPyBeginAllowThreads();
8665 result = (int)((wxSpinButton const *)arg1)->GetMin();
8666
8667 wxPyEndAllowThreads(__tstate);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 }
8670 resultobj = PyInt_FromLong((long)result);
8671 return resultobj;
8672 fail:
8673 return NULL;
8674 }
8675
8676
8677 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8678 PyObject *resultobj;
8679 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8680 int result;
8681 PyObject * obj0 = 0 ;
8682 char *kwnames[] = {
8683 (char *) "self", NULL
8684 };
8685
8686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8688 {
8689 PyThreadState* __tstate = wxPyBeginAllowThreads();
8690 result = (int)((wxSpinButton const *)arg1)->GetMax();
8691
8692 wxPyEndAllowThreads(__tstate);
8693 if (PyErr_Occurred()) SWIG_fail;
8694 }
8695 resultobj = PyInt_FromLong((long)result);
8696 return resultobj;
8697 fail:
8698 return NULL;
8699 }
8700
8701
8702 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8703 PyObject *resultobj;
8704 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8705 int arg2 ;
8706 PyObject * obj0 = 0 ;
8707 char *kwnames[] = {
8708 (char *) "self",(char *) "val", NULL
8709 };
8710
8711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 (arg1)->SetValue(arg2);
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 Py_INCREF(Py_None); resultobj = Py_None;
8721 return resultobj;
8722 fail:
8723 return NULL;
8724 }
8725
8726
8727 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj;
8729 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8730 int arg2 ;
8731 PyObject * obj0 = 0 ;
8732 char *kwnames[] = {
8733 (char *) "self",(char *) "minVal", NULL
8734 };
8735
8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8738 {
8739 PyThreadState* __tstate = wxPyBeginAllowThreads();
8740 (arg1)->SetMin(arg2);
8741
8742 wxPyEndAllowThreads(__tstate);
8743 if (PyErr_Occurred()) SWIG_fail;
8744 }
8745 Py_INCREF(Py_None); resultobj = Py_None;
8746 return resultobj;
8747 fail:
8748 return NULL;
8749 }
8750
8751
8752 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8753 PyObject *resultobj;
8754 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8755 int arg2 ;
8756 PyObject * obj0 = 0 ;
8757 char *kwnames[] = {
8758 (char *) "self",(char *) "maxVal", NULL
8759 };
8760
8761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8763 {
8764 PyThreadState* __tstate = wxPyBeginAllowThreads();
8765 (arg1)->SetMax(arg2);
8766
8767 wxPyEndAllowThreads(__tstate);
8768 if (PyErr_Occurred()) SWIG_fail;
8769 }
8770 Py_INCREF(Py_None); resultobj = Py_None;
8771 return resultobj;
8772 fail:
8773 return NULL;
8774 }
8775
8776
8777 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8778 PyObject *resultobj;
8779 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8780 int arg2 ;
8781 int arg3 ;
8782 PyObject * obj0 = 0 ;
8783 char *kwnames[] = {
8784 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8785 };
8786
8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8789 {
8790 PyThreadState* __tstate = wxPyBeginAllowThreads();
8791 (arg1)->SetRange(arg2,arg3);
8792
8793 wxPyEndAllowThreads(__tstate);
8794 if (PyErr_Occurred()) SWIG_fail;
8795 }
8796 Py_INCREF(Py_None); resultobj = Py_None;
8797 return resultobj;
8798 fail:
8799 return NULL;
8800 }
8801
8802
8803 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8804 PyObject *resultobj;
8805 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8806 bool result;
8807 PyObject * obj0 = 0 ;
8808 char *kwnames[] = {
8809 (char *) "self", NULL
8810 };
8811
8812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 resultobj = PyInt_FromLong((long)result);
8822 return resultobj;
8823 fail:
8824 return NULL;
8825 }
8826
8827
8828 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8829 PyObject *obj;
8830 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8831 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8832 Py_INCREF(obj);
8833 return Py_BuildValue((char *)"");
8834 }
8835 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8836 PyObject *resultobj;
8837 wxWindow *arg1 = (wxWindow *) 0 ;
8838 int arg2 = (int) -1 ;
8839 wxString const &arg3_defvalue = wxPyEmptyString ;
8840 wxString *arg3 = (wxString *) &arg3_defvalue ;
8841 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8842 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8843 wxSize const &arg5_defvalue = wxDefaultSize ;
8844 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8845 long arg6 = (long) wxSP_ARROW_KEYS ;
8846 int arg7 = (int) 0 ;
8847 int arg8 = (int) 100 ;
8848 int arg9 = (int) 0 ;
8849 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8850 wxString *arg10 = (wxString *) &arg10_defvalue ;
8851 wxSpinCtrl *result;
8852 bool temp3 = False ;
8853 wxPoint temp4 ;
8854 wxSize temp5 ;
8855 bool temp10 = False ;
8856 PyObject * obj0 = 0 ;
8857 PyObject * obj2 = 0 ;
8858 PyObject * obj3 = 0 ;
8859 PyObject * obj4 = 0 ;
8860 PyObject * obj9 = 0 ;
8861 char *kwnames[] = {
8862 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8863 };
8864
8865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8867 if (obj2) {
8868 {
8869 arg3 = wxString_in_helper(obj2);
8870 if (arg3 == NULL) SWIG_fail;
8871 temp3 = True;
8872 }
8873 }
8874 if (obj3) {
8875 {
8876 arg4 = &temp4;
8877 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8878 }
8879 }
8880 if (obj4) {
8881 {
8882 arg5 = &temp5;
8883 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8884 }
8885 }
8886 if (obj9) {
8887 {
8888 arg10 = wxString_in_helper(obj9);
8889 if (arg10 == NULL) SWIG_fail;
8890 temp10 = True;
8891 }
8892 }
8893 {
8894 PyThreadState* __tstate = wxPyBeginAllowThreads();
8895 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8896
8897 wxPyEndAllowThreads(__tstate);
8898 if (PyErr_Occurred()) SWIG_fail;
8899 }
8900 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8901 {
8902 if (temp3)
8903 delete arg3;
8904 }
8905 {
8906 if (temp10)
8907 delete arg10;
8908 }
8909 return resultobj;
8910 fail:
8911 {
8912 if (temp3)
8913 delete arg3;
8914 }
8915 {
8916 if (temp10)
8917 delete arg10;
8918 }
8919 return NULL;
8920 }
8921
8922
8923 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8924 PyObject *resultobj;
8925 wxSpinCtrl *result;
8926 char *kwnames[] = {
8927 NULL
8928 };
8929
8930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8931 {
8932 PyThreadState* __tstate = wxPyBeginAllowThreads();
8933 result = (wxSpinCtrl *)new wxSpinCtrl();
8934
8935 wxPyEndAllowThreads(__tstate);
8936 if (PyErr_Occurred()) SWIG_fail;
8937 }
8938 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8939 return resultobj;
8940 fail:
8941 return NULL;
8942 }
8943
8944
8945 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8946 PyObject *resultobj;
8947 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8948 wxWindow *arg2 = (wxWindow *) 0 ;
8949 int arg3 = (int) -1 ;
8950 wxString const &arg4_defvalue = wxPyEmptyString ;
8951 wxString *arg4 = (wxString *) &arg4_defvalue ;
8952 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8953 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8954 wxSize const &arg6_defvalue = wxDefaultSize ;
8955 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8956 long arg7 = (long) wxSP_ARROW_KEYS ;
8957 int arg8 = (int) 0 ;
8958 int arg9 = (int) 100 ;
8959 int arg10 = (int) 0 ;
8960 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8961 wxString *arg11 = (wxString *) &arg11_defvalue ;
8962 bool result;
8963 bool temp4 = False ;
8964 wxPoint temp5 ;
8965 wxSize temp6 ;
8966 bool temp11 = False ;
8967 PyObject * obj0 = 0 ;
8968 PyObject * obj1 = 0 ;
8969 PyObject * obj3 = 0 ;
8970 PyObject * obj4 = 0 ;
8971 PyObject * obj5 = 0 ;
8972 PyObject * obj10 = 0 ;
8973 char *kwnames[] = {
8974 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8975 };
8976
8977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8979 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8980 if (obj3) {
8981 {
8982 arg4 = wxString_in_helper(obj3);
8983 if (arg4 == NULL) SWIG_fail;
8984 temp4 = True;
8985 }
8986 }
8987 if (obj4) {
8988 {
8989 arg5 = &temp5;
8990 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8991 }
8992 }
8993 if (obj5) {
8994 {
8995 arg6 = &temp6;
8996 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8997 }
8998 }
8999 if (obj10) {
9000 {
9001 arg11 = wxString_in_helper(obj10);
9002 if (arg11 == NULL) SWIG_fail;
9003 temp11 = True;
9004 }
9005 }
9006 {
9007 PyThreadState* __tstate = wxPyBeginAllowThreads();
9008 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
9009
9010 wxPyEndAllowThreads(__tstate);
9011 if (PyErr_Occurred()) SWIG_fail;
9012 }
9013 resultobj = PyInt_FromLong((long)result);
9014 {
9015 if (temp4)
9016 delete arg4;
9017 }
9018 {
9019 if (temp11)
9020 delete arg11;
9021 }
9022 return resultobj;
9023 fail:
9024 {
9025 if (temp4)
9026 delete arg4;
9027 }
9028 {
9029 if (temp11)
9030 delete arg11;
9031 }
9032 return NULL;
9033 }
9034
9035
9036 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9039 int result;
9040 PyObject * obj0 = 0 ;
9041 char *kwnames[] = {
9042 (char *) "self", NULL
9043 };
9044
9045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 resultobj = PyInt_FromLong((long)result);
9055 return resultobj;
9056 fail:
9057 return NULL;
9058 }
9059
9060
9061 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9062 PyObject *resultobj;
9063 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9064 int arg2 ;
9065 PyObject * obj0 = 0 ;
9066 char *kwnames[] = {
9067 (char *) "self",(char *) "value", NULL
9068 };
9069
9070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9072 {
9073 PyThreadState* __tstate = wxPyBeginAllowThreads();
9074 (arg1)->SetValue(arg2);
9075
9076 wxPyEndAllowThreads(__tstate);
9077 if (PyErr_Occurred()) SWIG_fail;
9078 }
9079 Py_INCREF(Py_None); resultobj = Py_None;
9080 return resultobj;
9081 fail:
9082 return NULL;
9083 }
9084
9085
9086 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9087 PyObject *resultobj;
9088 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9089 wxString *arg2 = 0 ;
9090 bool temp2 = False ;
9091 PyObject * obj0 = 0 ;
9092 PyObject * obj1 = 0 ;
9093 char *kwnames[] = {
9094 (char *) "self",(char *) "text", NULL
9095 };
9096
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9099 {
9100 arg2 = wxString_in_helper(obj1);
9101 if (arg2 == NULL) SWIG_fail;
9102 temp2 = True;
9103 }
9104 {
9105 PyThreadState* __tstate = wxPyBeginAllowThreads();
9106 (arg1)->SetValue((wxString const &)*arg2);
9107
9108 wxPyEndAllowThreads(__tstate);
9109 if (PyErr_Occurred()) SWIG_fail;
9110 }
9111 Py_INCREF(Py_None); resultobj = Py_None;
9112 {
9113 if (temp2)
9114 delete arg2;
9115 }
9116 return resultobj;
9117 fail:
9118 {
9119 if (temp2)
9120 delete arg2;
9121 }
9122 return NULL;
9123 }
9124
9125
9126 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9127 PyObject *resultobj;
9128 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9129 int arg2 ;
9130 int arg3 ;
9131 PyObject * obj0 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 (arg1)->SetRange(arg2,arg3);
9141
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 Py_INCREF(Py_None); resultobj = Py_None;
9146 return resultobj;
9147 fail:
9148 return NULL;
9149 }
9150
9151
9152 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9153 PyObject *resultobj;
9154 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9155 int result;
9156 PyObject * obj0 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self", NULL
9159 };
9160
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9163 {
9164 PyThreadState* __tstate = wxPyBeginAllowThreads();
9165 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9166
9167 wxPyEndAllowThreads(__tstate);
9168 if (PyErr_Occurred()) SWIG_fail;
9169 }
9170 resultobj = PyInt_FromLong((long)result);
9171 return resultobj;
9172 fail:
9173 return NULL;
9174 }
9175
9176
9177 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9178 PyObject *resultobj;
9179 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9180 int result;
9181 PyObject * obj0 = 0 ;
9182 char *kwnames[] = {
9183 (char *) "self", NULL
9184 };
9185
9186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9188 {
9189 PyThreadState* __tstate = wxPyBeginAllowThreads();
9190 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9191
9192 wxPyEndAllowThreads(__tstate);
9193 if (PyErr_Occurred()) SWIG_fail;
9194 }
9195 resultobj = PyInt_FromLong((long)result);
9196 return resultobj;
9197 fail:
9198 return NULL;
9199 }
9200
9201
9202 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9203 PyObject *resultobj;
9204 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9205 long arg2 ;
9206 long arg3 ;
9207 PyObject * obj0 = 0 ;
9208 char *kwnames[] = {
9209 (char *) "self",(char *) "from",(char *) "to", NULL
9210 };
9211
9212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9214 {
9215 PyThreadState* __tstate = wxPyBeginAllowThreads();
9216 (arg1)->SetSelection(arg2,arg3);
9217
9218 wxPyEndAllowThreads(__tstate);
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
9221 Py_INCREF(Py_None); resultobj = Py_None;
9222 return resultobj;
9223 fail:
9224 return NULL;
9225 }
9226
9227
9228 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9229 PyObject *obj;
9230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9231 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9232 Py_INCREF(obj);
9233 return Py_BuildValue((char *)"");
9234 }
9235 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9236 PyObject *resultobj;
9237 wxWindow *arg1 = (wxWindow *) 0 ;
9238 int arg2 ;
9239 wxString *arg3 = 0 ;
9240 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9241 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9242 wxSize const &arg5_defvalue = wxDefaultSize ;
9243 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9244 int arg6 = (int) 0 ;
9245 wxString *arg7 = (wxString *) NULL ;
9246 int arg8 = (int) 0 ;
9247 long arg9 = (long) wxRA_HORIZONTAL ;
9248 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9249 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9250 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9251 wxString *arg11 = (wxString *) &arg11_defvalue ;
9252 wxRadioBox *result;
9253 bool temp3 = False ;
9254 wxPoint temp4 ;
9255 wxSize temp5 ;
9256 bool temp10 = False ;
9257 PyObject * obj0 = 0 ;
9258 PyObject * obj2 = 0 ;
9259 PyObject * obj3 = 0 ;
9260 PyObject * obj4 = 0 ;
9261 PyObject * obj5 = 0 ;
9262 PyObject * obj8 = 0 ;
9263 PyObject * obj9 = 0 ;
9264 char *kwnames[] = {
9265 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9266 };
9267
9268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9270 {
9271 arg3 = wxString_in_helper(obj2);
9272 if (arg3 == NULL) SWIG_fail;
9273 temp3 = True;
9274 }
9275 if (obj3) {
9276 {
9277 arg4 = &temp4;
9278 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9279 }
9280 }
9281 if (obj4) {
9282 {
9283 arg5 = &temp5;
9284 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9285 }
9286 }
9287 if (obj5) {
9288 {
9289 arg6 = PyList_Size(obj5);
9290 arg7 = wxString_LIST_helper(obj5);
9291 if (arg7 == NULL) SWIG_fail;
9292 }
9293 }
9294 if (obj8) {
9295 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9296 if (arg10 == NULL) {
9297 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9298 }
9299 }
9300 if (obj9) {
9301 {
9302 arg11 = wxString_in_helper(obj9);
9303 if (arg11 == NULL) SWIG_fail;
9304 temp10 = True;
9305 }
9306 }
9307 {
9308 PyThreadState* __tstate = wxPyBeginAllowThreads();
9309 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);
9310
9311 wxPyEndAllowThreads(__tstate);
9312 if (PyErr_Occurred()) SWIG_fail;
9313 }
9314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9315 {
9316 if (temp3)
9317 delete arg3;
9318 }
9319 {
9320 if (arg7) delete [] arg7;
9321 }
9322 {
9323 if (temp10)
9324 delete arg11;
9325 }
9326 return resultobj;
9327 fail:
9328 {
9329 if (temp3)
9330 delete arg3;
9331 }
9332 {
9333 if (arg7) delete [] arg7;
9334 }
9335 {
9336 if (temp10)
9337 delete arg11;
9338 }
9339 return NULL;
9340 }
9341
9342
9343 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9344 PyObject *resultobj;
9345 wxRadioBox *result;
9346 char *kwnames[] = {
9347 NULL
9348 };
9349
9350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9351 {
9352 PyThreadState* __tstate = wxPyBeginAllowThreads();
9353 result = (wxRadioBox *)new wxRadioBox();
9354
9355 wxPyEndAllowThreads(__tstate);
9356 if (PyErr_Occurred()) SWIG_fail;
9357 }
9358 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9359 return resultobj;
9360 fail:
9361 return NULL;
9362 }
9363
9364
9365 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9366 PyObject *resultobj;
9367 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9368 wxWindow *arg2 = (wxWindow *) 0 ;
9369 int arg3 ;
9370 wxString *arg4 = 0 ;
9371 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9372 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9373 wxSize const &arg6_defvalue = wxDefaultSize ;
9374 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9375 int arg7 = (int) 0 ;
9376 wxString *arg8 = (wxString *) NULL ;
9377 int arg9 = (int) 0 ;
9378 long arg10 = (long) wxRA_HORIZONTAL ;
9379 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9380 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9381 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9382 wxString *arg12 = (wxString *) &arg12_defvalue ;
9383 bool result;
9384 bool temp4 = False ;
9385 wxPoint temp5 ;
9386 wxSize temp6 ;
9387 bool temp11 = False ;
9388 PyObject * obj0 = 0 ;
9389 PyObject * obj1 = 0 ;
9390 PyObject * obj3 = 0 ;
9391 PyObject * obj4 = 0 ;
9392 PyObject * obj5 = 0 ;
9393 PyObject * obj6 = 0 ;
9394 PyObject * obj9 = 0 ;
9395 PyObject * obj10 = 0 ;
9396 char *kwnames[] = {
9397 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9398 };
9399
9400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9403 {
9404 arg4 = wxString_in_helper(obj3);
9405 if (arg4 == NULL) SWIG_fail;
9406 temp4 = True;
9407 }
9408 if (obj4) {
9409 {
9410 arg5 = &temp5;
9411 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9412 }
9413 }
9414 if (obj5) {
9415 {
9416 arg6 = &temp6;
9417 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9418 }
9419 }
9420 if (obj6) {
9421 {
9422 arg7 = PyList_Size(obj6);
9423 arg8 = wxString_LIST_helper(obj6);
9424 if (arg8 == NULL) SWIG_fail;
9425 }
9426 }
9427 if (obj9) {
9428 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9429 if (arg11 == NULL) {
9430 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9431 }
9432 }
9433 if (obj10) {
9434 {
9435 arg12 = wxString_in_helper(obj10);
9436 if (arg12 == NULL) SWIG_fail;
9437 temp11 = True;
9438 }
9439 }
9440 {
9441 PyThreadState* __tstate = wxPyBeginAllowThreads();
9442 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);
9443
9444 wxPyEndAllowThreads(__tstate);
9445 if (PyErr_Occurred()) SWIG_fail;
9446 }
9447 resultobj = PyInt_FromLong((long)result);
9448 {
9449 if (temp4)
9450 delete arg4;
9451 }
9452 {
9453 if (arg8) delete [] arg8;
9454 }
9455 {
9456 if (temp11)
9457 delete arg12;
9458 }
9459 return resultobj;
9460 fail:
9461 {
9462 if (temp4)
9463 delete arg4;
9464 }
9465 {
9466 if (arg8) delete [] arg8;
9467 }
9468 {
9469 if (temp11)
9470 delete arg12;
9471 }
9472 return NULL;
9473 }
9474
9475
9476 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9477 PyObject *resultobj;
9478 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9479 int arg2 ;
9480 PyObject * obj0 = 0 ;
9481 char *kwnames[] = {
9482 (char *) "self",(char *) "n", NULL
9483 };
9484
9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9487 {
9488 PyThreadState* __tstate = wxPyBeginAllowThreads();
9489 (arg1)->SetSelection(arg2);
9490
9491 wxPyEndAllowThreads(__tstate);
9492 if (PyErr_Occurred()) SWIG_fail;
9493 }
9494 Py_INCREF(Py_None); resultobj = Py_None;
9495 return resultobj;
9496 fail:
9497 return NULL;
9498 }
9499
9500
9501 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9502 PyObject *resultobj;
9503 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9504 int result;
9505 PyObject * obj0 = 0 ;
9506 char *kwnames[] = {
9507 (char *) "self", NULL
9508 };
9509
9510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9512 {
9513 PyThreadState* __tstate = wxPyBeginAllowThreads();
9514 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9515
9516 wxPyEndAllowThreads(__tstate);
9517 if (PyErr_Occurred()) SWIG_fail;
9518 }
9519 resultobj = PyInt_FromLong((long)result);
9520 return resultobj;
9521 fail:
9522 return NULL;
9523 }
9524
9525
9526 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9527 PyObject *resultobj;
9528 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9529 wxString result;
9530 PyObject * obj0 = 0 ;
9531 char *kwnames[] = {
9532 (char *) "self", NULL
9533 };
9534
9535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9537 {
9538 PyThreadState* __tstate = wxPyBeginAllowThreads();
9539 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9540
9541 wxPyEndAllowThreads(__tstate);
9542 if (PyErr_Occurred()) SWIG_fail;
9543 }
9544 {
9545 #if wxUSE_UNICODE
9546 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9547 #else
9548 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9549 #endif
9550 }
9551 return resultobj;
9552 fail:
9553 return NULL;
9554 }
9555
9556
9557 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9558 PyObject *resultobj;
9559 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9560 wxString *arg2 = 0 ;
9561 bool result;
9562 bool temp2 = False ;
9563 PyObject * obj0 = 0 ;
9564 PyObject * obj1 = 0 ;
9565 char *kwnames[] = {
9566 (char *) "self",(char *) "s", NULL
9567 };
9568
9569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9571 {
9572 arg2 = wxString_in_helper(obj1);
9573 if (arg2 == NULL) SWIG_fail;
9574 temp2 = True;
9575 }
9576 {
9577 PyThreadState* __tstate = wxPyBeginAllowThreads();
9578 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9579
9580 wxPyEndAllowThreads(__tstate);
9581 if (PyErr_Occurred()) SWIG_fail;
9582 }
9583 resultobj = PyInt_FromLong((long)result);
9584 {
9585 if (temp2)
9586 delete arg2;
9587 }
9588 return resultobj;
9589 fail:
9590 {
9591 if (temp2)
9592 delete arg2;
9593 }
9594 return NULL;
9595 }
9596
9597
9598 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9599 PyObject *resultobj;
9600 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9601 int result;
9602 PyObject * obj0 = 0 ;
9603 char *kwnames[] = {
9604 (char *) "self", NULL
9605 };
9606
9607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9609 {
9610 PyThreadState* __tstate = wxPyBeginAllowThreads();
9611 result = (int)((wxRadioBox const *)arg1)->GetCount();
9612
9613 wxPyEndAllowThreads(__tstate);
9614 if (PyErr_Occurred()) SWIG_fail;
9615 }
9616 resultobj = PyInt_FromLong((long)result);
9617 return resultobj;
9618 fail:
9619 return NULL;
9620 }
9621
9622
9623 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9624 PyObject *resultobj;
9625 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9626 wxString *arg2 = 0 ;
9627 int result;
9628 bool temp2 = False ;
9629 PyObject * obj0 = 0 ;
9630 PyObject * obj1 = 0 ;
9631 char *kwnames[] = {
9632 (char *) "self",(char *) "s", NULL
9633 };
9634
9635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9637 {
9638 arg2 = wxString_in_helper(obj1);
9639 if (arg2 == NULL) SWIG_fail;
9640 temp2 = True;
9641 }
9642 {
9643 PyThreadState* __tstate = wxPyBeginAllowThreads();
9644 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9645
9646 wxPyEndAllowThreads(__tstate);
9647 if (PyErr_Occurred()) SWIG_fail;
9648 }
9649 resultobj = PyInt_FromLong((long)result);
9650 {
9651 if (temp2)
9652 delete arg2;
9653 }
9654 return resultobj;
9655 fail:
9656 {
9657 if (temp2)
9658 delete arg2;
9659 }
9660 return NULL;
9661 }
9662
9663
9664 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9665 PyObject *resultobj;
9666 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9667 int arg2 ;
9668 wxString result;
9669 PyObject * obj0 = 0 ;
9670 char *kwnames[] = {
9671 (char *) "self",(char *) "n", NULL
9672 };
9673
9674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9676 {
9677 PyThreadState* __tstate = wxPyBeginAllowThreads();
9678 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9679
9680 wxPyEndAllowThreads(__tstate);
9681 if (PyErr_Occurred()) SWIG_fail;
9682 }
9683 {
9684 #if wxUSE_UNICODE
9685 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9686 #else
9687 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9688 #endif
9689 }
9690 return resultobj;
9691 fail:
9692 return NULL;
9693 }
9694
9695
9696 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9697 PyObject *resultobj;
9698 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9699 int arg2 ;
9700 wxString *arg3 = 0 ;
9701 bool temp3 = False ;
9702 PyObject * obj0 = 0 ;
9703 PyObject * obj2 = 0 ;
9704 char *kwnames[] = {
9705 (char *) "self",(char *) "n",(char *) "label", NULL
9706 };
9707
9708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9710 {
9711 arg3 = wxString_in_helper(obj2);
9712 if (arg3 == NULL) SWIG_fail;
9713 temp3 = True;
9714 }
9715 {
9716 PyThreadState* __tstate = wxPyBeginAllowThreads();
9717 (arg1)->SetString(arg2,(wxString const &)*arg3);
9718
9719 wxPyEndAllowThreads(__tstate);
9720 if (PyErr_Occurred()) SWIG_fail;
9721 }
9722 Py_INCREF(Py_None); resultobj = Py_None;
9723 {
9724 if (temp3)
9725 delete arg3;
9726 }
9727 return resultobj;
9728 fail:
9729 {
9730 if (temp3)
9731 delete arg3;
9732 }
9733 return NULL;
9734 }
9735
9736
9737 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9738 PyObject *resultobj;
9739 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9740 int arg2 ;
9741 bool arg3 = (bool) True ;
9742 PyObject * obj0 = 0 ;
9743 PyObject * obj2 = 0 ;
9744 char *kwnames[] = {
9745 (char *) "self",(char *) "n",(char *) "enable", NULL
9746 };
9747
9748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9750 if (obj2) {
9751 arg3 = PyInt_AsLong(obj2) ? true : false;
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 {
9755 PyThreadState* __tstate = wxPyBeginAllowThreads();
9756 (arg1)->Enable(arg2,arg3);
9757
9758 wxPyEndAllowThreads(__tstate);
9759 if (PyErr_Occurred()) SWIG_fail;
9760 }
9761 Py_INCREF(Py_None); resultobj = Py_None;
9762 return resultobj;
9763 fail:
9764 return NULL;
9765 }
9766
9767
9768 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9769 PyObject *resultobj;
9770 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9771 int arg2 ;
9772 bool arg3 = (bool) True ;
9773 PyObject * obj0 = 0 ;
9774 PyObject * obj2 = 0 ;
9775 char *kwnames[] = {
9776 (char *) "self",(char *) "n",(char *) "show", NULL
9777 };
9778
9779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9781 if (obj2) {
9782 arg3 = PyInt_AsLong(obj2) ? true : false;
9783 if (PyErr_Occurred()) SWIG_fail;
9784 }
9785 {
9786 PyThreadState* __tstate = wxPyBeginAllowThreads();
9787 (arg1)->Show(arg2,arg3);
9788
9789 wxPyEndAllowThreads(__tstate);
9790 if (PyErr_Occurred()) SWIG_fail;
9791 }
9792 Py_INCREF(Py_None); resultobj = Py_None;
9793 return resultobj;
9794 fail:
9795 return NULL;
9796 }
9797
9798
9799 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9800 PyObject *resultobj;
9801 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9802 int result;
9803 PyObject * obj0 = 0 ;
9804 char *kwnames[] = {
9805 (char *) "self", NULL
9806 };
9807
9808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9810 {
9811 PyThreadState* __tstate = wxPyBeginAllowThreads();
9812 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
9813
9814 wxPyEndAllowThreads(__tstate);
9815 if (PyErr_Occurred()) SWIG_fail;
9816 }
9817 resultobj = PyInt_FromLong((long)result);
9818 return resultobj;
9819 fail:
9820 return NULL;
9821 }
9822
9823
9824 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9825 PyObject *resultobj;
9826 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9827 int result;
9828 PyObject * obj0 = 0 ;
9829 char *kwnames[] = {
9830 (char *) "self", NULL
9831 };
9832
9833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9835 {
9836 PyThreadState* __tstate = wxPyBeginAllowThreads();
9837 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
9838
9839 wxPyEndAllowThreads(__tstate);
9840 if (PyErr_Occurred()) SWIG_fail;
9841 }
9842 resultobj = PyInt_FromLong((long)result);
9843 return resultobj;
9844 fail:
9845 return NULL;
9846 }
9847
9848
9849 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9850 PyObject *resultobj;
9851 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9852 int arg2 ;
9853 int arg3 ;
9854 long arg4 ;
9855 int result;
9856 PyObject * obj0 = 0 ;
9857 char *kwnames[] = {
9858 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9859 };
9860
9861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9863 {
9864 PyThreadState* __tstate = wxPyBeginAllowThreads();
9865 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
9866
9867 wxPyEndAllowThreads(__tstate);
9868 if (PyErr_Occurred()) SWIG_fail;
9869 }
9870 resultobj = PyInt_FromLong((long)result);
9871 return resultobj;
9872 fail:
9873 return NULL;
9874 }
9875
9876
9877 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9878 PyObject *obj;
9879 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9880 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9881 Py_INCREF(obj);
9882 return Py_BuildValue((char *)"");
9883 }
9884 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9885 PyObject *resultobj;
9886 wxWindow *arg1 = (wxWindow *) 0 ;
9887 int arg2 ;
9888 wxString *arg3 = 0 ;
9889 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9890 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9891 wxSize const &arg5_defvalue = wxDefaultSize ;
9892 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9893 long arg6 = (long) 0 ;
9894 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9895 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9896 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9897 wxString *arg8 = (wxString *) &arg8_defvalue ;
9898 wxRadioButton *result;
9899 bool temp3 = False ;
9900 wxPoint temp4 ;
9901 wxSize temp5 ;
9902 bool temp8 = False ;
9903 PyObject * obj0 = 0 ;
9904 PyObject * obj2 = 0 ;
9905 PyObject * obj3 = 0 ;
9906 PyObject * obj4 = 0 ;
9907 PyObject * obj6 = 0 ;
9908 PyObject * obj7 = 0 ;
9909 char *kwnames[] = {
9910 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9911 };
9912
9913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9915 {
9916 arg3 = wxString_in_helper(obj2);
9917 if (arg3 == NULL) SWIG_fail;
9918 temp3 = True;
9919 }
9920 if (obj3) {
9921 {
9922 arg4 = &temp4;
9923 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9924 }
9925 }
9926 if (obj4) {
9927 {
9928 arg5 = &temp5;
9929 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9930 }
9931 }
9932 if (obj6) {
9933 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9934 if (arg7 == NULL) {
9935 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9936 }
9937 }
9938 if (obj7) {
9939 {
9940 arg8 = wxString_in_helper(obj7);
9941 if (arg8 == NULL) SWIG_fail;
9942 temp8 = True;
9943 }
9944 }
9945 {
9946 PyThreadState* __tstate = wxPyBeginAllowThreads();
9947 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9948
9949 wxPyEndAllowThreads(__tstate);
9950 if (PyErr_Occurred()) SWIG_fail;
9951 }
9952 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9953 {
9954 if (temp3)
9955 delete arg3;
9956 }
9957 {
9958 if (temp8)
9959 delete arg8;
9960 }
9961 return resultobj;
9962 fail:
9963 {
9964 if (temp3)
9965 delete arg3;
9966 }
9967 {
9968 if (temp8)
9969 delete arg8;
9970 }
9971 return NULL;
9972 }
9973
9974
9975 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9976 PyObject *resultobj;
9977 wxRadioButton *result;
9978 char *kwnames[] = {
9979 NULL
9980 };
9981
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9983 {
9984 PyThreadState* __tstate = wxPyBeginAllowThreads();
9985 result = (wxRadioButton *)new wxRadioButton();
9986
9987 wxPyEndAllowThreads(__tstate);
9988 if (PyErr_Occurred()) SWIG_fail;
9989 }
9990 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9991 return resultobj;
9992 fail:
9993 return NULL;
9994 }
9995
9996
9997 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9998 PyObject *resultobj;
9999 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10000 wxWindow *arg2 = (wxWindow *) 0 ;
10001 int arg3 ;
10002 wxString *arg4 = 0 ;
10003 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10004 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10005 wxSize const &arg6_defvalue = wxDefaultSize ;
10006 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10007 long arg7 = (long) 0 ;
10008 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10009 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10010 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
10011 wxString *arg9 = (wxString *) &arg9_defvalue ;
10012 bool result;
10013 bool temp4 = False ;
10014 wxPoint temp5 ;
10015 wxSize temp6 ;
10016 bool temp9 = False ;
10017 PyObject * obj0 = 0 ;
10018 PyObject * obj1 = 0 ;
10019 PyObject * obj3 = 0 ;
10020 PyObject * obj4 = 0 ;
10021 PyObject * obj5 = 0 ;
10022 PyObject * obj7 = 0 ;
10023 PyObject * obj8 = 0 ;
10024 char *kwnames[] = {
10025 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10026 };
10027
10028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10030 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10031 {
10032 arg4 = wxString_in_helper(obj3);
10033 if (arg4 == NULL) SWIG_fail;
10034 temp4 = True;
10035 }
10036 if (obj4) {
10037 {
10038 arg5 = &temp5;
10039 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10040 }
10041 }
10042 if (obj5) {
10043 {
10044 arg6 = &temp6;
10045 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10046 }
10047 }
10048 if (obj7) {
10049 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10050 if (arg8 == NULL) {
10051 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10052 }
10053 }
10054 if (obj8) {
10055 {
10056 arg9 = wxString_in_helper(obj8);
10057 if (arg9 == NULL) SWIG_fail;
10058 temp9 = True;
10059 }
10060 }
10061 {
10062 PyThreadState* __tstate = wxPyBeginAllowThreads();
10063 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10064
10065 wxPyEndAllowThreads(__tstate);
10066 if (PyErr_Occurred()) SWIG_fail;
10067 }
10068 resultobj = PyInt_FromLong((long)result);
10069 {
10070 if (temp4)
10071 delete arg4;
10072 }
10073 {
10074 if (temp9)
10075 delete arg9;
10076 }
10077 return resultobj;
10078 fail:
10079 {
10080 if (temp4)
10081 delete arg4;
10082 }
10083 {
10084 if (temp9)
10085 delete arg9;
10086 }
10087 return NULL;
10088 }
10089
10090
10091 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10092 PyObject *resultobj;
10093 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10094 bool result;
10095 PyObject * obj0 = 0 ;
10096 char *kwnames[] = {
10097 (char *) "self", NULL
10098 };
10099
10100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10102 {
10103 PyThreadState* __tstate = wxPyBeginAllowThreads();
10104 result = (bool)(arg1)->GetValue();
10105
10106 wxPyEndAllowThreads(__tstate);
10107 if (PyErr_Occurred()) SWIG_fail;
10108 }
10109 resultobj = PyInt_FromLong((long)result);
10110 return resultobj;
10111 fail:
10112 return NULL;
10113 }
10114
10115
10116 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10117 PyObject *resultobj;
10118 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10119 bool arg2 ;
10120 PyObject * obj0 = 0 ;
10121 PyObject * obj1 = 0 ;
10122 char *kwnames[] = {
10123 (char *) "self",(char *) "value", NULL
10124 };
10125
10126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10128 arg2 = PyInt_AsLong(obj1) ? true : false;
10129 if (PyErr_Occurred()) SWIG_fail;
10130 {
10131 PyThreadState* __tstate = wxPyBeginAllowThreads();
10132 (arg1)->SetValue(arg2);
10133
10134 wxPyEndAllowThreads(__tstate);
10135 if (PyErr_Occurred()) SWIG_fail;
10136 }
10137 Py_INCREF(Py_None); resultobj = Py_None;
10138 return resultobj;
10139 fail:
10140 return NULL;
10141 }
10142
10143
10144 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10145 PyObject *obj;
10146 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10147 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10148 Py_INCREF(obj);
10149 return Py_BuildValue((char *)"");
10150 }
10151 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10152 PyObject *resultobj;
10153 wxWindow *arg1 = (wxWindow *) 0 ;
10154 int arg2 ;
10155 int arg3 ;
10156 int arg4 ;
10157 int arg5 ;
10158 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10159 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10160 wxSize const &arg7_defvalue = wxDefaultSize ;
10161 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10162 long arg8 = (long) wxSL_HORIZONTAL ;
10163 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10164 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10165 wxString const &arg10_defvalue = wxPySliderNameStr ;
10166 wxString *arg10 = (wxString *) &arg10_defvalue ;
10167 wxSlider *result;
10168 wxPoint temp6 ;
10169 wxSize temp7 ;
10170 bool temp10 = False ;
10171 PyObject * obj0 = 0 ;
10172 PyObject * obj5 = 0 ;
10173 PyObject * obj6 = 0 ;
10174 PyObject * obj8 = 0 ;
10175 PyObject * obj9 = 0 ;
10176 char *kwnames[] = {
10177 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10178 };
10179
10180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10182 if (obj5) {
10183 {
10184 arg6 = &temp6;
10185 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10186 }
10187 }
10188 if (obj6) {
10189 {
10190 arg7 = &temp7;
10191 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10192 }
10193 }
10194 if (obj8) {
10195 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10196 if (arg9 == NULL) {
10197 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10198 }
10199 }
10200 if (obj9) {
10201 {
10202 arg10 = wxString_in_helper(obj9);
10203 if (arg10 == NULL) SWIG_fail;
10204 temp10 = True;
10205 }
10206 }
10207 {
10208 PyThreadState* __tstate = wxPyBeginAllowThreads();
10209 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10210
10211 wxPyEndAllowThreads(__tstate);
10212 if (PyErr_Occurred()) SWIG_fail;
10213 }
10214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10215 {
10216 if (temp10)
10217 delete arg10;
10218 }
10219 return resultobj;
10220 fail:
10221 {
10222 if (temp10)
10223 delete arg10;
10224 }
10225 return NULL;
10226 }
10227
10228
10229 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10230 PyObject *resultobj;
10231 wxSlider *result;
10232 char *kwnames[] = {
10233 NULL
10234 };
10235
10236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10237 {
10238 PyThreadState* __tstate = wxPyBeginAllowThreads();
10239 result = (wxSlider *)new wxSlider();
10240
10241 wxPyEndAllowThreads(__tstate);
10242 if (PyErr_Occurred()) SWIG_fail;
10243 }
10244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10245 return resultobj;
10246 fail:
10247 return NULL;
10248 }
10249
10250
10251 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10252 PyObject *resultobj;
10253 wxSlider *arg1 = (wxSlider *) 0 ;
10254 wxWindow *arg2 = (wxWindow *) 0 ;
10255 int arg3 ;
10256 int arg4 ;
10257 int arg5 ;
10258 int arg6 ;
10259 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10260 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10261 wxSize const &arg8_defvalue = wxDefaultSize ;
10262 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10263 long arg9 = (long) wxSL_HORIZONTAL ;
10264 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10265 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10266 wxString const &arg11_defvalue = wxPySliderNameStr ;
10267 wxString *arg11 = (wxString *) &arg11_defvalue ;
10268 bool result;
10269 wxPoint temp7 ;
10270 wxSize temp8 ;
10271 bool temp11 = False ;
10272 PyObject * obj0 = 0 ;
10273 PyObject * obj1 = 0 ;
10274 PyObject * obj6 = 0 ;
10275 PyObject * obj7 = 0 ;
10276 PyObject * obj9 = 0 ;
10277 PyObject * obj10 = 0 ;
10278 char *kwnames[] = {
10279 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10280 };
10281
10282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10285 if (obj6) {
10286 {
10287 arg7 = &temp7;
10288 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10289 }
10290 }
10291 if (obj7) {
10292 {
10293 arg8 = &temp8;
10294 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10295 }
10296 }
10297 if (obj9) {
10298 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10299 if (arg10 == NULL) {
10300 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10301 }
10302 }
10303 if (obj10) {
10304 {
10305 arg11 = wxString_in_helper(obj10);
10306 if (arg11 == NULL) SWIG_fail;
10307 temp11 = True;
10308 }
10309 }
10310 {
10311 PyThreadState* __tstate = wxPyBeginAllowThreads();
10312 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10313
10314 wxPyEndAllowThreads(__tstate);
10315 if (PyErr_Occurred()) SWIG_fail;
10316 }
10317 resultobj = PyInt_FromLong((long)result);
10318 {
10319 if (temp11)
10320 delete arg11;
10321 }
10322 return resultobj;
10323 fail:
10324 {
10325 if (temp11)
10326 delete arg11;
10327 }
10328 return NULL;
10329 }
10330
10331
10332 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10333 PyObject *resultobj;
10334 wxSlider *arg1 = (wxSlider *) 0 ;
10335 int result;
10336 PyObject * obj0 = 0 ;
10337 char *kwnames[] = {
10338 (char *) "self", NULL
10339 };
10340
10341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10343 {
10344 PyThreadState* __tstate = wxPyBeginAllowThreads();
10345 result = (int)((wxSlider const *)arg1)->GetValue();
10346
10347 wxPyEndAllowThreads(__tstate);
10348 if (PyErr_Occurred()) SWIG_fail;
10349 }
10350 resultobj = PyInt_FromLong((long)result);
10351 return resultobj;
10352 fail:
10353 return NULL;
10354 }
10355
10356
10357 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10358 PyObject *resultobj;
10359 wxSlider *arg1 = (wxSlider *) 0 ;
10360 int arg2 ;
10361 PyObject * obj0 = 0 ;
10362 char *kwnames[] = {
10363 (char *) "self",(char *) "value", NULL
10364 };
10365
10366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10368 {
10369 PyThreadState* __tstate = wxPyBeginAllowThreads();
10370 (arg1)->SetValue(arg2);
10371
10372 wxPyEndAllowThreads(__tstate);
10373 if (PyErr_Occurred()) SWIG_fail;
10374 }
10375 Py_INCREF(Py_None); resultobj = Py_None;
10376 return resultobj;
10377 fail:
10378 return NULL;
10379 }
10380
10381
10382 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10383 PyObject *resultobj;
10384 wxSlider *arg1 = (wxSlider *) 0 ;
10385 int arg2 ;
10386 int arg3 ;
10387 PyObject * obj0 = 0 ;
10388 char *kwnames[] = {
10389 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10390 };
10391
10392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10394 {
10395 PyThreadState* __tstate = wxPyBeginAllowThreads();
10396 (arg1)->SetRange(arg2,arg3);
10397
10398 wxPyEndAllowThreads(__tstate);
10399 if (PyErr_Occurred()) SWIG_fail;
10400 }
10401 Py_INCREF(Py_None); resultobj = Py_None;
10402 return resultobj;
10403 fail:
10404 return NULL;
10405 }
10406
10407
10408 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10409 PyObject *resultobj;
10410 wxSlider *arg1 = (wxSlider *) 0 ;
10411 int result;
10412 PyObject * obj0 = 0 ;
10413 char *kwnames[] = {
10414 (char *) "self", NULL
10415 };
10416
10417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10419 {
10420 PyThreadState* __tstate = wxPyBeginAllowThreads();
10421 result = (int)((wxSlider const *)arg1)->GetMin();
10422
10423 wxPyEndAllowThreads(__tstate);
10424 if (PyErr_Occurred()) SWIG_fail;
10425 }
10426 resultobj = PyInt_FromLong((long)result);
10427 return resultobj;
10428 fail:
10429 return NULL;
10430 }
10431
10432
10433 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10434 PyObject *resultobj;
10435 wxSlider *arg1 = (wxSlider *) 0 ;
10436 int result;
10437 PyObject * obj0 = 0 ;
10438 char *kwnames[] = {
10439 (char *) "self", NULL
10440 };
10441
10442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10444 {
10445 PyThreadState* __tstate = wxPyBeginAllowThreads();
10446 result = (int)((wxSlider const *)arg1)->GetMax();
10447
10448 wxPyEndAllowThreads(__tstate);
10449 if (PyErr_Occurred()) SWIG_fail;
10450 }
10451 resultobj = PyInt_FromLong((long)result);
10452 return resultobj;
10453 fail:
10454 return NULL;
10455 }
10456
10457
10458 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10459 PyObject *resultobj;
10460 wxSlider *arg1 = (wxSlider *) 0 ;
10461 int arg2 ;
10462 PyObject * obj0 = 0 ;
10463 char *kwnames[] = {
10464 (char *) "self",(char *) "minValue", NULL
10465 };
10466
10467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10469 {
10470 PyThreadState* __tstate = wxPyBeginAllowThreads();
10471 (arg1)->SetMin(arg2);
10472
10473 wxPyEndAllowThreads(__tstate);
10474 if (PyErr_Occurred()) SWIG_fail;
10475 }
10476 Py_INCREF(Py_None); resultobj = Py_None;
10477 return resultobj;
10478 fail:
10479 return NULL;
10480 }
10481
10482
10483 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10484 PyObject *resultobj;
10485 wxSlider *arg1 = (wxSlider *) 0 ;
10486 int arg2 ;
10487 PyObject * obj0 = 0 ;
10488 char *kwnames[] = {
10489 (char *) "self",(char *) "maxValue", NULL
10490 };
10491
10492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10494 {
10495 PyThreadState* __tstate = wxPyBeginAllowThreads();
10496 (arg1)->SetMax(arg2);
10497
10498 wxPyEndAllowThreads(__tstate);
10499 if (PyErr_Occurred()) SWIG_fail;
10500 }
10501 Py_INCREF(Py_None); resultobj = Py_None;
10502 return resultobj;
10503 fail:
10504 return NULL;
10505 }
10506
10507
10508 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10509 PyObject *resultobj;
10510 wxSlider *arg1 = (wxSlider *) 0 ;
10511 int arg2 ;
10512 PyObject * obj0 = 0 ;
10513 char *kwnames[] = {
10514 (char *) "self",(char *) "lineSize", NULL
10515 };
10516
10517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10519 {
10520 PyThreadState* __tstate = wxPyBeginAllowThreads();
10521 (arg1)->SetLineSize(arg2);
10522
10523 wxPyEndAllowThreads(__tstate);
10524 if (PyErr_Occurred()) SWIG_fail;
10525 }
10526 Py_INCREF(Py_None); resultobj = Py_None;
10527 return resultobj;
10528 fail:
10529 return NULL;
10530 }
10531
10532
10533 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10534 PyObject *resultobj;
10535 wxSlider *arg1 = (wxSlider *) 0 ;
10536 int arg2 ;
10537 PyObject * obj0 = 0 ;
10538 char *kwnames[] = {
10539 (char *) "self",(char *) "pageSize", NULL
10540 };
10541
10542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 (arg1)->SetPageSize(arg2);
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 Py_INCREF(Py_None); resultobj = Py_None;
10552 return resultobj;
10553 fail:
10554 return NULL;
10555 }
10556
10557
10558 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10559 PyObject *resultobj;
10560 wxSlider *arg1 = (wxSlider *) 0 ;
10561 int result;
10562 PyObject * obj0 = 0 ;
10563 char *kwnames[] = {
10564 (char *) "self", NULL
10565 };
10566
10567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10569 {
10570 PyThreadState* __tstate = wxPyBeginAllowThreads();
10571 result = (int)((wxSlider const *)arg1)->GetLineSize();
10572
10573 wxPyEndAllowThreads(__tstate);
10574 if (PyErr_Occurred()) SWIG_fail;
10575 }
10576 resultobj = PyInt_FromLong((long)result);
10577 return resultobj;
10578 fail:
10579 return NULL;
10580 }
10581
10582
10583 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10584 PyObject *resultobj;
10585 wxSlider *arg1 = (wxSlider *) 0 ;
10586 int result;
10587 PyObject * obj0 = 0 ;
10588 char *kwnames[] = {
10589 (char *) "self", NULL
10590 };
10591
10592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10594 {
10595 PyThreadState* __tstate = wxPyBeginAllowThreads();
10596 result = (int)((wxSlider const *)arg1)->GetPageSize();
10597
10598 wxPyEndAllowThreads(__tstate);
10599 if (PyErr_Occurred()) SWIG_fail;
10600 }
10601 resultobj = PyInt_FromLong((long)result);
10602 return resultobj;
10603 fail:
10604 return NULL;
10605 }
10606
10607
10608 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10609 PyObject *resultobj;
10610 wxSlider *arg1 = (wxSlider *) 0 ;
10611 int arg2 ;
10612 PyObject * obj0 = 0 ;
10613 char *kwnames[] = {
10614 (char *) "self",(char *) "lenPixels", NULL
10615 };
10616
10617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10619 {
10620 PyThreadState* __tstate = wxPyBeginAllowThreads();
10621 (arg1)->SetThumbLength(arg2);
10622
10623 wxPyEndAllowThreads(__tstate);
10624 if (PyErr_Occurred()) SWIG_fail;
10625 }
10626 Py_INCREF(Py_None); resultobj = Py_None;
10627 return resultobj;
10628 fail:
10629 return NULL;
10630 }
10631
10632
10633 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10634 PyObject *resultobj;
10635 wxSlider *arg1 = (wxSlider *) 0 ;
10636 int result;
10637 PyObject * obj0 = 0 ;
10638 char *kwnames[] = {
10639 (char *) "self", NULL
10640 };
10641
10642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10644 {
10645 PyThreadState* __tstate = wxPyBeginAllowThreads();
10646 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10647
10648 wxPyEndAllowThreads(__tstate);
10649 if (PyErr_Occurred()) SWIG_fail;
10650 }
10651 resultobj = PyInt_FromLong((long)result);
10652 return resultobj;
10653 fail:
10654 return NULL;
10655 }
10656
10657
10658 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10659 PyObject *resultobj;
10660 wxSlider *arg1 = (wxSlider *) 0 ;
10661 int arg2 ;
10662 int arg3 ;
10663 PyObject * obj0 = 0 ;
10664 char *kwnames[] = {
10665 (char *) "self",(char *) "n",(char *) "pos", NULL
10666 };
10667
10668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10670 {
10671 PyThreadState* __tstate = wxPyBeginAllowThreads();
10672 (arg1)->SetTickFreq(arg2,arg3);
10673
10674 wxPyEndAllowThreads(__tstate);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 }
10677 Py_INCREF(Py_None); resultobj = Py_None;
10678 return resultobj;
10679 fail:
10680 return NULL;
10681 }
10682
10683
10684 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10685 PyObject *resultobj;
10686 wxSlider *arg1 = (wxSlider *) 0 ;
10687 int result;
10688 PyObject * obj0 = 0 ;
10689 char *kwnames[] = {
10690 (char *) "self", NULL
10691 };
10692
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10695 {
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10698
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 resultobj = PyInt_FromLong((long)result);
10703 return resultobj;
10704 fail:
10705 return NULL;
10706 }
10707
10708
10709 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10710 PyObject *resultobj;
10711 wxSlider *arg1 = (wxSlider *) 0 ;
10712 PyObject * obj0 = 0 ;
10713 char *kwnames[] = {
10714 (char *) "self", NULL
10715 };
10716
10717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10719 {
10720 PyThreadState* __tstate = wxPyBeginAllowThreads();
10721 (arg1)->ClearTicks();
10722
10723 wxPyEndAllowThreads(__tstate);
10724 if (PyErr_Occurred()) SWIG_fail;
10725 }
10726 Py_INCREF(Py_None); resultobj = Py_None;
10727 return resultobj;
10728 fail:
10729 return NULL;
10730 }
10731
10732
10733 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10734 PyObject *resultobj;
10735 wxSlider *arg1 = (wxSlider *) 0 ;
10736 int arg2 ;
10737 PyObject * obj0 = 0 ;
10738 char *kwnames[] = {
10739 (char *) "self",(char *) "tickPos", NULL
10740 };
10741
10742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10744 {
10745 PyThreadState* __tstate = wxPyBeginAllowThreads();
10746 (arg1)->SetTick(arg2);
10747
10748 wxPyEndAllowThreads(__tstate);
10749 if (PyErr_Occurred()) SWIG_fail;
10750 }
10751 Py_INCREF(Py_None); resultobj = Py_None;
10752 return resultobj;
10753 fail:
10754 return NULL;
10755 }
10756
10757
10758 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10759 PyObject *resultobj;
10760 wxSlider *arg1 = (wxSlider *) 0 ;
10761 PyObject * obj0 = 0 ;
10762 char *kwnames[] = {
10763 (char *) "self", NULL
10764 };
10765
10766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10768 {
10769 PyThreadState* __tstate = wxPyBeginAllowThreads();
10770 (arg1)->ClearSel();
10771
10772 wxPyEndAllowThreads(__tstate);
10773 if (PyErr_Occurred()) SWIG_fail;
10774 }
10775 Py_INCREF(Py_None); resultobj = Py_None;
10776 return resultobj;
10777 fail:
10778 return NULL;
10779 }
10780
10781
10782 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10783 PyObject *resultobj;
10784 wxSlider *arg1 = (wxSlider *) 0 ;
10785 int result;
10786 PyObject * obj0 = 0 ;
10787 char *kwnames[] = {
10788 (char *) "self", NULL
10789 };
10790
10791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10793 {
10794 PyThreadState* __tstate = wxPyBeginAllowThreads();
10795 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10796
10797 wxPyEndAllowThreads(__tstate);
10798 if (PyErr_Occurred()) SWIG_fail;
10799 }
10800 resultobj = PyInt_FromLong((long)result);
10801 return resultobj;
10802 fail:
10803 return NULL;
10804 }
10805
10806
10807 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10808 PyObject *resultobj;
10809 wxSlider *arg1 = (wxSlider *) 0 ;
10810 int result;
10811 PyObject * obj0 = 0 ;
10812 char *kwnames[] = {
10813 (char *) "self", NULL
10814 };
10815
10816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10818 {
10819 PyThreadState* __tstate = wxPyBeginAllowThreads();
10820 result = (int)((wxSlider const *)arg1)->GetSelStart();
10821
10822 wxPyEndAllowThreads(__tstate);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 }
10825 resultobj = PyInt_FromLong((long)result);
10826 return resultobj;
10827 fail:
10828 return NULL;
10829 }
10830
10831
10832 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10833 PyObject *resultobj;
10834 wxSlider *arg1 = (wxSlider *) 0 ;
10835 int arg2 ;
10836 int arg3 ;
10837 PyObject * obj0 = 0 ;
10838 char *kwnames[] = {
10839 (char *) "self",(char *) "min",(char *) "max", NULL
10840 };
10841
10842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10844 {
10845 PyThreadState* __tstate = wxPyBeginAllowThreads();
10846 (arg1)->SetSelection(arg2,arg3);
10847
10848 wxPyEndAllowThreads(__tstate);
10849 if (PyErr_Occurred()) SWIG_fail;
10850 }
10851 Py_INCREF(Py_None); resultobj = Py_None;
10852 return resultobj;
10853 fail:
10854 return NULL;
10855 }
10856
10857
10858 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10859 PyObject *obj;
10860 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10861 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10862 Py_INCREF(obj);
10863 return Py_BuildValue((char *)"");
10864 }
10865 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10866 PyObject *resultobj;
10867 wxWindow *arg1 = (wxWindow *) 0 ;
10868 int arg2 ;
10869 wxString *arg3 = 0 ;
10870 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10871 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10872 wxSize const &arg5_defvalue = wxDefaultSize ;
10873 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10874 long arg6 = (long) 0 ;
10875 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10876 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10877 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10878 wxString *arg8 = (wxString *) &arg8_defvalue ;
10879 wxToggleButton *result;
10880 bool temp3 = False ;
10881 wxPoint temp4 ;
10882 wxSize temp5 ;
10883 bool temp8 = False ;
10884 PyObject * obj0 = 0 ;
10885 PyObject * obj2 = 0 ;
10886 PyObject * obj3 = 0 ;
10887 PyObject * obj4 = 0 ;
10888 PyObject * obj6 = 0 ;
10889 PyObject * obj7 = 0 ;
10890 char *kwnames[] = {
10891 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10892 };
10893
10894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10896 {
10897 arg3 = wxString_in_helper(obj2);
10898 if (arg3 == NULL) SWIG_fail;
10899 temp3 = True;
10900 }
10901 if (obj3) {
10902 {
10903 arg4 = &temp4;
10904 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10905 }
10906 }
10907 if (obj4) {
10908 {
10909 arg5 = &temp5;
10910 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10911 }
10912 }
10913 if (obj6) {
10914 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10915 if (arg7 == NULL) {
10916 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10917 }
10918 }
10919 if (obj7) {
10920 {
10921 arg8 = wxString_in_helper(obj7);
10922 if (arg8 == NULL) SWIG_fail;
10923 temp8 = True;
10924 }
10925 }
10926 {
10927 PyThreadState* __tstate = wxPyBeginAllowThreads();
10928 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10929
10930 wxPyEndAllowThreads(__tstate);
10931 if (PyErr_Occurred()) SWIG_fail;
10932 }
10933 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10934 {
10935 if (temp3)
10936 delete arg3;
10937 }
10938 {
10939 if (temp8)
10940 delete arg8;
10941 }
10942 return resultobj;
10943 fail:
10944 {
10945 if (temp3)
10946 delete arg3;
10947 }
10948 {
10949 if (temp8)
10950 delete arg8;
10951 }
10952 return NULL;
10953 }
10954
10955
10956 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10957 PyObject *resultobj;
10958 wxToggleButton *result;
10959 char *kwnames[] = {
10960 NULL
10961 };
10962
10963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10964 {
10965 PyThreadState* __tstate = wxPyBeginAllowThreads();
10966 result = (wxToggleButton *)new wxToggleButton();
10967
10968 wxPyEndAllowThreads(__tstate);
10969 if (PyErr_Occurred()) SWIG_fail;
10970 }
10971 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10972 return resultobj;
10973 fail:
10974 return NULL;
10975 }
10976
10977
10978 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10979 PyObject *resultobj;
10980 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10981 wxWindow *arg2 = (wxWindow *) 0 ;
10982 int arg3 ;
10983 wxString *arg4 = 0 ;
10984 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10985 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10986 wxSize const &arg6_defvalue = wxDefaultSize ;
10987 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10988 long arg7 = (long) 0 ;
10989 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10990 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10991 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
10992 wxString *arg9 = (wxString *) &arg9_defvalue ;
10993 bool result;
10994 bool temp4 = False ;
10995 wxPoint temp5 ;
10996 wxSize temp6 ;
10997 bool temp9 = False ;
10998 PyObject * obj0 = 0 ;
10999 PyObject * obj1 = 0 ;
11000 PyObject * obj3 = 0 ;
11001 PyObject * obj4 = 0 ;
11002 PyObject * obj5 = 0 ;
11003 PyObject * obj7 = 0 ;
11004 PyObject * obj8 = 0 ;
11005 char *kwnames[] = {
11006 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11007 };
11008
11009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
11010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11011 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11012 {
11013 arg4 = wxString_in_helper(obj3);
11014 if (arg4 == NULL) SWIG_fail;
11015 temp4 = True;
11016 }
11017 if (obj4) {
11018 {
11019 arg5 = &temp5;
11020 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11021 }
11022 }
11023 if (obj5) {
11024 {
11025 arg6 = &temp6;
11026 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11027 }
11028 }
11029 if (obj7) {
11030 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11031 if (arg8 == NULL) {
11032 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11033 }
11034 }
11035 if (obj8) {
11036 {
11037 arg9 = wxString_in_helper(obj8);
11038 if (arg9 == NULL) SWIG_fail;
11039 temp9 = True;
11040 }
11041 }
11042 {
11043 PyThreadState* __tstate = wxPyBeginAllowThreads();
11044 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11045
11046 wxPyEndAllowThreads(__tstate);
11047 if (PyErr_Occurred()) SWIG_fail;
11048 }
11049 resultobj = PyInt_FromLong((long)result);
11050 {
11051 if (temp4)
11052 delete arg4;
11053 }
11054 {
11055 if (temp9)
11056 delete arg9;
11057 }
11058 return resultobj;
11059 fail:
11060 {
11061 if (temp4)
11062 delete arg4;
11063 }
11064 {
11065 if (temp9)
11066 delete arg9;
11067 }
11068 return NULL;
11069 }
11070
11071
11072 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11073 PyObject *resultobj;
11074 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11075 bool arg2 ;
11076 PyObject * obj0 = 0 ;
11077 PyObject * obj1 = 0 ;
11078 char *kwnames[] = {
11079 (char *) "self",(char *) "value", NULL
11080 };
11081
11082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11084 arg2 = PyInt_AsLong(obj1) ? true : false;
11085 if (PyErr_Occurred()) SWIG_fail;
11086 {
11087 PyThreadState* __tstate = wxPyBeginAllowThreads();
11088 (arg1)->SetValue(arg2);
11089
11090 wxPyEndAllowThreads(__tstate);
11091 if (PyErr_Occurred()) SWIG_fail;
11092 }
11093 Py_INCREF(Py_None); resultobj = Py_None;
11094 return resultobj;
11095 fail:
11096 return NULL;
11097 }
11098
11099
11100 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11101 PyObject *resultobj;
11102 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11103 bool result;
11104 PyObject * obj0 = 0 ;
11105 char *kwnames[] = {
11106 (char *) "self", NULL
11107 };
11108
11109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
11110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11111 {
11112 PyThreadState* __tstate = wxPyBeginAllowThreads();
11113 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11114
11115 wxPyEndAllowThreads(__tstate);
11116 if (PyErr_Occurred()) SWIG_fail;
11117 }
11118 resultobj = PyInt_FromLong((long)result);
11119 return resultobj;
11120 fail:
11121 return NULL;
11122 }
11123
11124
11125 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11126 PyObject *resultobj;
11127 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11128 wxString *arg2 = 0 ;
11129 bool temp2 = False ;
11130 PyObject * obj0 = 0 ;
11131 PyObject * obj1 = 0 ;
11132 char *kwnames[] = {
11133 (char *) "self",(char *) "label", NULL
11134 };
11135
11136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11138 {
11139 arg2 = wxString_in_helper(obj1);
11140 if (arg2 == NULL) SWIG_fail;
11141 temp2 = True;
11142 }
11143 {
11144 PyThreadState* __tstate = wxPyBeginAllowThreads();
11145 (arg1)->SetLabel((wxString const &)*arg2);
11146
11147 wxPyEndAllowThreads(__tstate);
11148 if (PyErr_Occurred()) SWIG_fail;
11149 }
11150 Py_INCREF(Py_None); resultobj = Py_None;
11151 {
11152 if (temp2)
11153 delete arg2;
11154 }
11155 return resultobj;
11156 fail:
11157 {
11158 if (temp2)
11159 delete arg2;
11160 }
11161 return NULL;
11162 }
11163
11164
11165 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11166 PyObject *obj;
11167 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11168 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11169 Py_INCREF(obj);
11170 return Py_BuildValue((char *)"");
11171 }
11172 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11173 PyObject *resultobj;
11174 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11175 size_t result;
11176 PyObject * obj0 = 0 ;
11177 char *kwnames[] = {
11178 (char *) "self", NULL
11179 };
11180
11181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11183 {
11184 PyThreadState* __tstate = wxPyBeginAllowThreads();
11185 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11186
11187 wxPyEndAllowThreads(__tstate);
11188 if (PyErr_Occurred()) SWIG_fail;
11189 }
11190 resultobj = PyInt_FromLong((long)result);
11191 return resultobj;
11192 fail:
11193 return NULL;
11194 }
11195
11196
11197 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11198 PyObject *resultobj;
11199 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11200 size_t arg2 ;
11201 wxWindow *result;
11202 PyObject * obj0 = 0 ;
11203 PyObject * obj1 = 0 ;
11204 char *kwnames[] = {
11205 (char *) "self",(char *) "n", NULL
11206 };
11207
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11210 arg2 = (size_t) PyInt_AsLong(obj1);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 {
11213 PyThreadState* __tstate = wxPyBeginAllowThreads();
11214 result = (wxWindow *)(arg1)->GetPage(arg2);
11215
11216 wxPyEndAllowThreads(__tstate);
11217 if (PyErr_Occurred()) SWIG_fail;
11218 }
11219 {
11220 resultobj = wxPyMake_wxObject(result);
11221 }
11222 return resultobj;
11223 fail:
11224 return NULL;
11225 }
11226
11227
11228 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11229 PyObject *resultobj;
11230 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11231 int result;
11232 PyObject * obj0 = 0 ;
11233 char *kwnames[] = {
11234 (char *) "self", NULL
11235 };
11236
11237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11239 {
11240 PyThreadState* __tstate = wxPyBeginAllowThreads();
11241 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11242
11243 wxPyEndAllowThreads(__tstate);
11244 if (PyErr_Occurred()) SWIG_fail;
11245 }
11246 resultobj = PyInt_FromLong((long)result);
11247 return resultobj;
11248 fail:
11249 return NULL;
11250 }
11251
11252
11253 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11254 PyObject *resultobj;
11255 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11256 size_t arg2 ;
11257 wxString *arg3 = 0 ;
11258 bool result;
11259 bool temp3 = False ;
11260 PyObject * obj0 = 0 ;
11261 PyObject * obj1 = 0 ;
11262 PyObject * obj2 = 0 ;
11263 char *kwnames[] = {
11264 (char *) "self",(char *) "n",(char *) "strText", NULL
11265 };
11266
11267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11269 arg2 = (size_t) PyInt_AsLong(obj1);
11270 if (PyErr_Occurred()) SWIG_fail;
11271 {
11272 arg3 = wxString_in_helper(obj2);
11273 if (arg3 == NULL) SWIG_fail;
11274 temp3 = True;
11275 }
11276 {
11277 PyThreadState* __tstate = wxPyBeginAllowThreads();
11278 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11279
11280 wxPyEndAllowThreads(__tstate);
11281 if (PyErr_Occurred()) SWIG_fail;
11282 }
11283 resultobj = PyInt_FromLong((long)result);
11284 {
11285 if (temp3)
11286 delete arg3;
11287 }
11288 return resultobj;
11289 fail:
11290 {
11291 if (temp3)
11292 delete arg3;
11293 }
11294 return NULL;
11295 }
11296
11297
11298 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11299 PyObject *resultobj;
11300 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11301 size_t arg2 ;
11302 wxString result;
11303 PyObject * obj0 = 0 ;
11304 PyObject * obj1 = 0 ;
11305 char *kwnames[] = {
11306 (char *) "self",(char *) "n", NULL
11307 };
11308
11309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11311 arg2 = (size_t) PyInt_AsLong(obj1);
11312 if (PyErr_Occurred()) SWIG_fail;
11313 {
11314 PyThreadState* __tstate = wxPyBeginAllowThreads();
11315 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11316
11317 wxPyEndAllowThreads(__tstate);
11318 if (PyErr_Occurred()) SWIG_fail;
11319 }
11320 {
11321 #if wxUSE_UNICODE
11322 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11323 #else
11324 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11325 #endif
11326 }
11327 return resultobj;
11328 fail:
11329 return NULL;
11330 }
11331
11332
11333 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11334 PyObject *resultobj;
11335 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11336 wxImageList *arg2 = (wxImageList *) 0 ;
11337 PyObject * obj0 = 0 ;
11338 PyObject * obj1 = 0 ;
11339 char *kwnames[] = {
11340 (char *) "self",(char *) "imageList", NULL
11341 };
11342
11343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11346 {
11347 PyThreadState* __tstate = wxPyBeginAllowThreads();
11348 (arg1)->SetImageList(arg2);
11349
11350 wxPyEndAllowThreads(__tstate);
11351 if (PyErr_Occurred()) SWIG_fail;
11352 }
11353 Py_INCREF(Py_None); resultobj = Py_None;
11354 return resultobj;
11355 fail:
11356 return NULL;
11357 }
11358
11359
11360 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11361 PyObject *resultobj;
11362 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11363 wxImageList *arg2 = (wxImageList *) 0 ;
11364 PyObject * obj0 = 0 ;
11365 PyObject * obj1 = 0 ;
11366 char *kwnames[] = {
11367 (char *) "self",(char *) "imageList", NULL
11368 };
11369
11370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11372 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11373 {
11374 PyThreadState* __tstate = wxPyBeginAllowThreads();
11375 (arg1)->AssignImageList(arg2);
11376
11377 wxPyEndAllowThreads(__tstate);
11378 if (PyErr_Occurred()) SWIG_fail;
11379 }
11380 Py_INCREF(Py_None); resultobj = Py_None;
11381 return resultobj;
11382 fail:
11383 return NULL;
11384 }
11385
11386
11387 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11388 PyObject *resultobj;
11389 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11390 wxImageList *result;
11391 PyObject * obj0 = 0 ;
11392 char *kwnames[] = {
11393 (char *) "self", NULL
11394 };
11395
11396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11398 {
11399 PyThreadState* __tstate = wxPyBeginAllowThreads();
11400 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11401
11402 wxPyEndAllowThreads(__tstate);
11403 if (PyErr_Occurred()) SWIG_fail;
11404 }
11405 {
11406 resultobj = wxPyMake_wxObject(result);
11407 }
11408 return resultobj;
11409 fail:
11410 return NULL;
11411 }
11412
11413
11414 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11415 PyObject *resultobj;
11416 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11417 size_t arg2 ;
11418 int result;
11419 PyObject * obj0 = 0 ;
11420 PyObject * obj1 = 0 ;
11421 char *kwnames[] = {
11422 (char *) "self",(char *) "n", NULL
11423 };
11424
11425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11427 arg2 = (size_t) PyInt_AsLong(obj1);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 {
11430 PyThreadState* __tstate = wxPyBeginAllowThreads();
11431 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11432
11433 wxPyEndAllowThreads(__tstate);
11434 if (PyErr_Occurred()) SWIG_fail;
11435 }
11436 resultobj = PyInt_FromLong((long)result);
11437 return resultobj;
11438 fail:
11439 return NULL;
11440 }
11441
11442
11443 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11444 PyObject *resultobj;
11445 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11446 size_t arg2 ;
11447 int arg3 ;
11448 bool result;
11449 PyObject * obj0 = 0 ;
11450 PyObject * obj1 = 0 ;
11451 char *kwnames[] = {
11452 (char *) "self",(char *) "n",(char *) "imageId", NULL
11453 };
11454
11455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11457 arg2 = (size_t) PyInt_AsLong(obj1);
11458 if (PyErr_Occurred()) SWIG_fail;
11459 {
11460 PyThreadState* __tstate = wxPyBeginAllowThreads();
11461 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11462
11463 wxPyEndAllowThreads(__tstate);
11464 if (PyErr_Occurred()) SWIG_fail;
11465 }
11466 resultobj = PyInt_FromLong((long)result);
11467 return resultobj;
11468 fail:
11469 return NULL;
11470 }
11471
11472
11473 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11474 PyObject *resultobj;
11475 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11476 wxSize *arg2 = 0 ;
11477 wxSize temp2 ;
11478 PyObject * obj0 = 0 ;
11479 PyObject * obj1 = 0 ;
11480 char *kwnames[] = {
11481 (char *) "self",(char *) "size", NULL
11482 };
11483
11484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11486 {
11487 arg2 = &temp2;
11488 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11489 }
11490 {
11491 PyThreadState* __tstate = wxPyBeginAllowThreads();
11492 (arg1)->SetPageSize((wxSize const &)*arg2);
11493
11494 wxPyEndAllowThreads(__tstate);
11495 if (PyErr_Occurred()) SWIG_fail;
11496 }
11497 Py_INCREF(Py_None); resultobj = Py_None;
11498 return resultobj;
11499 fail:
11500 return NULL;
11501 }
11502
11503
11504 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11505 PyObject *resultobj;
11506 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11507 wxSize *arg2 = 0 ;
11508 wxSize result;
11509 wxSize temp2 ;
11510 PyObject * obj0 = 0 ;
11511 PyObject * obj1 = 0 ;
11512 char *kwnames[] = {
11513 (char *) "self",(char *) "sizePage", NULL
11514 };
11515
11516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11518 {
11519 arg2 = &temp2;
11520 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11521 }
11522 {
11523 PyThreadState* __tstate = wxPyBeginAllowThreads();
11524 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11525
11526 wxPyEndAllowThreads(__tstate);
11527 if (PyErr_Occurred()) SWIG_fail;
11528 }
11529 {
11530 wxSize * resultptr;
11531 resultptr = new wxSize((wxSize &) result);
11532 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11533 }
11534 return resultobj;
11535 fail:
11536 return NULL;
11537 }
11538
11539
11540 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11541 PyObject *resultobj;
11542 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11543 size_t arg2 ;
11544 bool result;
11545 PyObject * obj0 = 0 ;
11546 PyObject * obj1 = 0 ;
11547 char *kwnames[] = {
11548 (char *) "self",(char *) "n", NULL
11549 };
11550
11551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11553 arg2 = (size_t) PyInt_AsLong(obj1);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 {
11556 PyThreadState* __tstate = wxPyBeginAllowThreads();
11557 result = (bool)(arg1)->DeletePage(arg2);
11558
11559 wxPyEndAllowThreads(__tstate);
11560 if (PyErr_Occurred()) SWIG_fail;
11561 }
11562 resultobj = PyInt_FromLong((long)result);
11563 return resultobj;
11564 fail:
11565 return NULL;
11566 }
11567
11568
11569 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11570 PyObject *resultobj;
11571 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11572 size_t arg2 ;
11573 bool result;
11574 PyObject * obj0 = 0 ;
11575 PyObject * obj1 = 0 ;
11576 char *kwnames[] = {
11577 (char *) "self",(char *) "n", NULL
11578 };
11579
11580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11582 arg2 = (size_t) PyInt_AsLong(obj1);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 {
11585 PyThreadState* __tstate = wxPyBeginAllowThreads();
11586 result = (bool)(arg1)->RemovePage(arg2);
11587
11588 wxPyEndAllowThreads(__tstate);
11589 if (PyErr_Occurred()) SWIG_fail;
11590 }
11591 resultobj = PyInt_FromLong((long)result);
11592 return resultobj;
11593 fail:
11594 return NULL;
11595 }
11596
11597
11598 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11599 PyObject *resultobj;
11600 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11601 bool result;
11602 PyObject * obj0 = 0 ;
11603 char *kwnames[] = {
11604 (char *) "self", NULL
11605 };
11606
11607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11609 {
11610 PyThreadState* __tstate = wxPyBeginAllowThreads();
11611 result = (bool)(arg1)->DeleteAllPages();
11612
11613 wxPyEndAllowThreads(__tstate);
11614 if (PyErr_Occurred()) SWIG_fail;
11615 }
11616 resultobj = PyInt_FromLong((long)result);
11617 return resultobj;
11618 fail:
11619 return NULL;
11620 }
11621
11622
11623 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11624 PyObject *resultobj;
11625 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11626 wxWindow *arg2 = (wxWindow *) 0 ;
11627 wxString *arg3 = 0 ;
11628 bool arg4 = (bool) False ;
11629 int arg5 = (int) -1 ;
11630 bool result;
11631 bool temp3 = False ;
11632 PyObject * obj0 = 0 ;
11633 PyObject * obj1 = 0 ;
11634 PyObject * obj2 = 0 ;
11635 PyObject * obj3 = 0 ;
11636 char *kwnames[] = {
11637 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11638 };
11639
11640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11642 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11643 {
11644 arg3 = wxString_in_helper(obj2);
11645 if (arg3 == NULL) SWIG_fail;
11646 temp3 = True;
11647 }
11648 if (obj3) {
11649 arg4 = PyInt_AsLong(obj3) ? true : false;
11650 if (PyErr_Occurred()) SWIG_fail;
11651 }
11652 {
11653 PyThreadState* __tstate = wxPyBeginAllowThreads();
11654 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11655
11656 wxPyEndAllowThreads(__tstate);
11657 if (PyErr_Occurred()) SWIG_fail;
11658 }
11659 resultobj = PyInt_FromLong((long)result);
11660 {
11661 if (temp3)
11662 delete arg3;
11663 }
11664 return resultobj;
11665 fail:
11666 {
11667 if (temp3)
11668 delete arg3;
11669 }
11670 return NULL;
11671 }
11672
11673
11674 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11675 PyObject *resultobj;
11676 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11677 size_t arg2 ;
11678 wxWindow *arg3 = (wxWindow *) 0 ;
11679 wxString *arg4 = 0 ;
11680 bool arg5 = (bool) False ;
11681 int arg6 = (int) -1 ;
11682 bool result;
11683 bool temp4 = False ;
11684 PyObject * obj0 = 0 ;
11685 PyObject * obj1 = 0 ;
11686 PyObject * obj2 = 0 ;
11687 PyObject * obj3 = 0 ;
11688 PyObject * obj4 = 0 ;
11689 char *kwnames[] = {
11690 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11691 };
11692
11693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11695 arg2 = (size_t) PyInt_AsLong(obj1);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11698 {
11699 arg4 = wxString_in_helper(obj3);
11700 if (arg4 == NULL) SWIG_fail;
11701 temp4 = True;
11702 }
11703 if (obj4) {
11704 arg5 = PyInt_AsLong(obj4) ? true : false;
11705 if (PyErr_Occurred()) SWIG_fail;
11706 }
11707 {
11708 PyThreadState* __tstate = wxPyBeginAllowThreads();
11709 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11710
11711 wxPyEndAllowThreads(__tstate);
11712 if (PyErr_Occurred()) SWIG_fail;
11713 }
11714 resultobj = PyInt_FromLong((long)result);
11715 {
11716 if (temp4)
11717 delete arg4;
11718 }
11719 return resultobj;
11720 fail:
11721 {
11722 if (temp4)
11723 delete arg4;
11724 }
11725 return NULL;
11726 }
11727
11728
11729 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11730 PyObject *resultobj;
11731 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11732 size_t arg2 ;
11733 int result;
11734 PyObject * obj0 = 0 ;
11735 PyObject * obj1 = 0 ;
11736 char *kwnames[] = {
11737 (char *) "self",(char *) "n", NULL
11738 };
11739
11740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11742 arg2 = (size_t) PyInt_AsLong(obj1);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 result = (int)(arg1)->SetSelection(arg2);
11747
11748 wxPyEndAllowThreads(__tstate);
11749 if (PyErr_Occurred()) SWIG_fail;
11750 }
11751 resultobj = PyInt_FromLong((long)result);
11752 return resultobj;
11753 fail:
11754 return NULL;
11755 }
11756
11757
11758 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj;
11760 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11761 bool arg2 = (bool) True ;
11762 PyObject * obj0 = 0 ;
11763 PyObject * obj1 = 0 ;
11764 char *kwnames[] = {
11765 (char *) "self",(char *) "forward", NULL
11766 };
11767
11768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11770 if (obj1) {
11771 arg2 = PyInt_AsLong(obj1) ? true : false;
11772 if (PyErr_Occurred()) SWIG_fail;
11773 }
11774 {
11775 PyThreadState* __tstate = wxPyBeginAllowThreads();
11776 (arg1)->AdvanceSelection(arg2);
11777
11778 wxPyEndAllowThreads(__tstate);
11779 if (PyErr_Occurred()) SWIG_fail;
11780 }
11781 Py_INCREF(Py_None); resultobj = Py_None;
11782 return resultobj;
11783 fail:
11784 return NULL;
11785 }
11786
11787
11788 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11789 PyObject *obj;
11790 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11791 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11792 Py_INCREF(obj);
11793 return Py_BuildValue((char *)"");
11794 }
11795 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11796 PyObject *resultobj;
11797 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11798 int arg2 = (int) 0 ;
11799 int arg3 = (int) -1 ;
11800 int arg4 = (int) -1 ;
11801 wxBookCtrlEvent *result;
11802 char *kwnames[] = {
11803 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11804 };
11805
11806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11815 return resultobj;
11816 fail:
11817 return NULL;
11818 }
11819
11820
11821 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11822 PyObject *resultobj;
11823 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11824 int result;
11825 PyObject * obj0 = 0 ;
11826 char *kwnames[] = {
11827 (char *) "self", NULL
11828 };
11829
11830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11832 {
11833 PyThreadState* __tstate = wxPyBeginAllowThreads();
11834 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11835
11836 wxPyEndAllowThreads(__tstate);
11837 if (PyErr_Occurred()) SWIG_fail;
11838 }
11839 resultobj = PyInt_FromLong((long)result);
11840 return resultobj;
11841 fail:
11842 return NULL;
11843 }
11844
11845
11846 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11847 PyObject *resultobj;
11848 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11849 int arg2 ;
11850 PyObject * obj0 = 0 ;
11851 char *kwnames[] = {
11852 (char *) "self",(char *) "nSel", NULL
11853 };
11854
11855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11857 {
11858 PyThreadState* __tstate = wxPyBeginAllowThreads();
11859 (arg1)->SetSelection(arg2);
11860
11861 wxPyEndAllowThreads(__tstate);
11862 if (PyErr_Occurred()) SWIG_fail;
11863 }
11864 Py_INCREF(Py_None); resultobj = Py_None;
11865 return resultobj;
11866 fail:
11867 return NULL;
11868 }
11869
11870
11871 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11872 PyObject *resultobj;
11873 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11874 int result;
11875 PyObject * obj0 = 0 ;
11876 char *kwnames[] = {
11877 (char *) "self", NULL
11878 };
11879
11880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11882 {
11883 PyThreadState* __tstate = wxPyBeginAllowThreads();
11884 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11885
11886 wxPyEndAllowThreads(__tstate);
11887 if (PyErr_Occurred()) SWIG_fail;
11888 }
11889 resultobj = PyInt_FromLong((long)result);
11890 return resultobj;
11891 fail:
11892 return NULL;
11893 }
11894
11895
11896 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11897 PyObject *resultobj;
11898 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11899 int arg2 ;
11900 PyObject * obj0 = 0 ;
11901 char *kwnames[] = {
11902 (char *) "self",(char *) "nOldSel", NULL
11903 };
11904
11905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11907 {
11908 PyThreadState* __tstate = wxPyBeginAllowThreads();
11909 (arg1)->SetOldSelection(arg2);
11910
11911 wxPyEndAllowThreads(__tstate);
11912 if (PyErr_Occurred()) SWIG_fail;
11913 }
11914 Py_INCREF(Py_None); resultobj = Py_None;
11915 return resultobj;
11916 fail:
11917 return NULL;
11918 }
11919
11920
11921 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11922 PyObject *obj;
11923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11924 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11925 Py_INCREF(obj);
11926 return Py_BuildValue((char *)"");
11927 }
11928 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11929 PyObject *resultobj;
11930 wxWindow *arg1 = (wxWindow *) 0 ;
11931 int arg2 ;
11932 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11933 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11934 wxSize const &arg4_defvalue = wxDefaultSize ;
11935 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11936 long arg5 = (long) 0 ;
11937 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11938 wxString *arg6 = (wxString *) &arg6_defvalue ;
11939 wxNotebook *result;
11940 wxPoint temp3 ;
11941 wxSize temp4 ;
11942 bool temp6 = False ;
11943 PyObject * obj0 = 0 ;
11944 PyObject * obj2 = 0 ;
11945 PyObject * obj3 = 0 ;
11946 PyObject * obj5 = 0 ;
11947 char *kwnames[] = {
11948 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11949 };
11950
11951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11953 if (obj2) {
11954 {
11955 arg3 = &temp3;
11956 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11957 }
11958 }
11959 if (obj3) {
11960 {
11961 arg4 = &temp4;
11962 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11963 }
11964 }
11965 if (obj5) {
11966 {
11967 arg6 = wxString_in_helper(obj5);
11968 if (arg6 == NULL) SWIG_fail;
11969 temp6 = True;
11970 }
11971 }
11972 {
11973 PyThreadState* __tstate = wxPyBeginAllowThreads();
11974 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11975
11976 wxPyEndAllowThreads(__tstate);
11977 if (PyErr_Occurred()) SWIG_fail;
11978 }
11979 {
11980 resultobj = wxPyMake_wxObject(result);
11981 }
11982 {
11983 if (temp6)
11984 delete arg6;
11985 }
11986 return resultobj;
11987 fail:
11988 {
11989 if (temp6)
11990 delete arg6;
11991 }
11992 return NULL;
11993 }
11994
11995
11996 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11997 PyObject *resultobj;
11998 wxNotebook *result;
11999 char *kwnames[] = {
12000 NULL
12001 };
12002
12003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
12004 {
12005 PyThreadState* __tstate = wxPyBeginAllowThreads();
12006 result = (wxNotebook *)new wxNotebook();
12007
12008 wxPyEndAllowThreads(__tstate);
12009 if (PyErr_Occurred()) SWIG_fail;
12010 }
12011 {
12012 resultobj = wxPyMake_wxObject(result);
12013 }
12014 return resultobj;
12015 fail:
12016 return NULL;
12017 }
12018
12019
12020 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12021 PyObject *resultobj;
12022 wxNotebook *arg1 = (wxNotebook *) 0 ;
12023 wxWindow *arg2 = (wxWindow *) 0 ;
12024 int arg3 ;
12025 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12026 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12027 wxSize const &arg5_defvalue = wxDefaultSize ;
12028 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12029 long arg6 = (long) 0 ;
12030 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12031 wxString *arg7 = (wxString *) &arg7_defvalue ;
12032 bool result;
12033 wxPoint temp4 ;
12034 wxSize temp5 ;
12035 bool temp7 = False ;
12036 PyObject * obj0 = 0 ;
12037 PyObject * obj1 = 0 ;
12038 PyObject * obj3 = 0 ;
12039 PyObject * obj4 = 0 ;
12040 PyObject * obj6 = 0 ;
12041 char *kwnames[] = {
12042 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12043 };
12044
12045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12047 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12048 if (obj3) {
12049 {
12050 arg4 = &temp4;
12051 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12052 }
12053 }
12054 if (obj4) {
12055 {
12056 arg5 = &temp5;
12057 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12058 }
12059 }
12060 if (obj6) {
12061 {
12062 arg7 = wxString_in_helper(obj6);
12063 if (arg7 == NULL) SWIG_fail;
12064 temp7 = True;
12065 }
12066 }
12067 {
12068 PyThreadState* __tstate = wxPyBeginAllowThreads();
12069 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12070
12071 wxPyEndAllowThreads(__tstate);
12072 if (PyErr_Occurred()) SWIG_fail;
12073 }
12074 resultobj = PyInt_FromLong((long)result);
12075 {
12076 if (temp7)
12077 delete arg7;
12078 }
12079 return resultobj;
12080 fail:
12081 {
12082 if (temp7)
12083 delete arg7;
12084 }
12085 return NULL;
12086 }
12087
12088
12089 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12090 PyObject *resultobj;
12091 wxNotebook *arg1 = (wxNotebook *) 0 ;
12092 int result;
12093 PyObject * obj0 = 0 ;
12094 char *kwnames[] = {
12095 (char *) "self", NULL
12096 };
12097
12098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12100 {
12101 PyThreadState* __tstate = wxPyBeginAllowThreads();
12102 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12103
12104 wxPyEndAllowThreads(__tstate);
12105 if (PyErr_Occurred()) SWIG_fail;
12106 }
12107 resultobj = PyInt_FromLong((long)result);
12108 return resultobj;
12109 fail:
12110 return NULL;
12111 }
12112
12113
12114 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12115 PyObject *resultobj;
12116 wxNotebook *arg1 = (wxNotebook *) 0 ;
12117 wxSize *arg2 = 0 ;
12118 wxSize temp2 ;
12119 PyObject * obj0 = 0 ;
12120 PyObject * obj1 = 0 ;
12121 char *kwnames[] = {
12122 (char *) "self",(char *) "padding", NULL
12123 };
12124
12125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12127 {
12128 arg2 = &temp2;
12129 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12130 }
12131 {
12132 PyThreadState* __tstate = wxPyBeginAllowThreads();
12133 (arg1)->SetPadding((wxSize const &)*arg2);
12134
12135 wxPyEndAllowThreads(__tstate);
12136 if (PyErr_Occurred()) SWIG_fail;
12137 }
12138 Py_INCREF(Py_None); resultobj = Py_None;
12139 return resultobj;
12140 fail:
12141 return NULL;
12142 }
12143
12144
12145 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12146 PyObject *resultobj;
12147 wxNotebook *arg1 = (wxNotebook *) 0 ;
12148 wxSize *arg2 = 0 ;
12149 wxSize temp2 ;
12150 PyObject * obj0 = 0 ;
12151 PyObject * obj1 = 0 ;
12152 char *kwnames[] = {
12153 (char *) "self",(char *) "sz", NULL
12154 };
12155
12156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12158 {
12159 arg2 = &temp2;
12160 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12161 }
12162 {
12163 PyThreadState* __tstate = wxPyBeginAllowThreads();
12164 (arg1)->SetTabSize((wxSize const &)*arg2);
12165
12166 wxPyEndAllowThreads(__tstate);
12167 if (PyErr_Occurred()) SWIG_fail;
12168 }
12169 Py_INCREF(Py_None); resultobj = Py_None;
12170 return resultobj;
12171 fail:
12172 return NULL;
12173 }
12174
12175
12176 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12177 PyObject *resultobj;
12178 wxNotebook *arg1 = (wxNotebook *) 0 ;
12179 wxPoint *arg2 = 0 ;
12180 long *arg3 = (long *) 0 ;
12181 int result;
12182 wxPoint temp2 ;
12183 long temp3 ;
12184 PyObject * obj0 = 0 ;
12185 PyObject * obj1 = 0 ;
12186 char *kwnames[] = {
12187 (char *) "self",(char *) "pt", NULL
12188 };
12189
12190 arg3 = &temp3;
12191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12193 {
12194 arg2 = &temp2;
12195 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12196 }
12197 {
12198 PyThreadState* __tstate = wxPyBeginAllowThreads();
12199 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12200
12201 wxPyEndAllowThreads(__tstate);
12202 if (PyErr_Occurred()) SWIG_fail;
12203 }
12204 resultobj = PyInt_FromLong((long)result);
12205 {
12206 PyObject *o = PyInt_FromLong((long) (*arg3));
12207 resultobj = t_output_helper(resultobj,o);
12208 }
12209 return resultobj;
12210 fail:
12211 return NULL;
12212 }
12213
12214
12215 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12216 PyObject *resultobj;
12217 wxNotebook *arg1 = (wxNotebook *) 0 ;
12218 wxSize *arg2 = 0 ;
12219 wxSize result;
12220 wxSize temp2 ;
12221 PyObject * obj0 = 0 ;
12222 PyObject * obj1 = 0 ;
12223 char *kwnames[] = {
12224 (char *) "self",(char *) "sizePage", NULL
12225 };
12226
12227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12229 {
12230 arg2 = &temp2;
12231 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12232 }
12233 {
12234 PyThreadState* __tstate = wxPyBeginAllowThreads();
12235 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12236
12237 wxPyEndAllowThreads(__tstate);
12238 if (PyErr_Occurred()) SWIG_fail;
12239 }
12240 {
12241 wxSize * resultptr;
12242 resultptr = new wxSize((wxSize &) result);
12243 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12244 }
12245 return resultobj;
12246 fail:
12247 return NULL;
12248 }
12249
12250
12251 static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12252 PyObject *resultobj;
12253 wxNotebook *arg1 = (wxNotebook *) 0 ;
12254 wxWindow *arg2 = (wxWindow *) 0 ;
12255 wxColour *arg3 = 0 ;
12256 wxColour temp3 ;
12257 PyObject * obj0 = 0 ;
12258 PyObject * obj1 = 0 ;
12259 PyObject * obj2 = 0 ;
12260 char *kwnames[] = {
12261 (char *) "self",(char *) "window",(char *) "colour", NULL
12262 };
12263
12264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
12265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12266 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12267 {
12268 arg3 = &temp3;
12269 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12270 }
12271 {
12272 PyThreadState* __tstate = wxPyBeginAllowThreads();
12273 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
12274
12275 wxPyEndAllowThreads(__tstate);
12276 if (PyErr_Occurred()) SWIG_fail;
12277 }
12278 Py_INCREF(Py_None); resultobj = Py_None;
12279 return resultobj;
12280 fail:
12281 return NULL;
12282 }
12283
12284
12285 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12286 PyObject *obj;
12287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12288 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12289 Py_INCREF(obj);
12290 return Py_BuildValue((char *)"");
12291 }
12292 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12293 PyObject *resultobj;
12294 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12295 int arg2 = (int) 0 ;
12296 int arg3 = (int) -1 ;
12297 int arg4 = (int) -1 ;
12298 wxNotebookEvent *result;
12299 char *kwnames[] = {
12300 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12301 };
12302
12303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12304 {
12305 PyThreadState* __tstate = wxPyBeginAllowThreads();
12306 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12307
12308 wxPyEndAllowThreads(__tstate);
12309 if (PyErr_Occurred()) SWIG_fail;
12310 }
12311 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12312 return resultobj;
12313 fail:
12314 return NULL;
12315 }
12316
12317
12318 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12319 PyObject *obj;
12320 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12321 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12322 Py_INCREF(obj);
12323 return Py_BuildValue((char *)"");
12324 }
12325 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12326 PyObject *resultobj;
12327 wxWindow *arg1 = (wxWindow *) 0 ;
12328 int arg2 ;
12329 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12330 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12331 wxSize const &arg4_defvalue = wxDefaultSize ;
12332 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12333 long arg5 = (long) 0 ;
12334 wxString const &arg6_defvalue = wxPyEmptyString ;
12335 wxString *arg6 = (wxString *) &arg6_defvalue ;
12336 wxListbook *result;
12337 wxPoint temp3 ;
12338 wxSize temp4 ;
12339 bool temp6 = False ;
12340 PyObject * obj0 = 0 ;
12341 PyObject * obj2 = 0 ;
12342 PyObject * obj3 = 0 ;
12343 PyObject * obj5 = 0 ;
12344 char *kwnames[] = {
12345 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12346 };
12347
12348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12350 if (obj2) {
12351 {
12352 arg3 = &temp3;
12353 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12354 }
12355 }
12356 if (obj3) {
12357 {
12358 arg4 = &temp4;
12359 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12360 }
12361 }
12362 if (obj5) {
12363 {
12364 arg6 = wxString_in_helper(obj5);
12365 if (arg6 == NULL) SWIG_fail;
12366 temp6 = True;
12367 }
12368 }
12369 {
12370 PyThreadState* __tstate = wxPyBeginAllowThreads();
12371 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12372
12373 wxPyEndAllowThreads(__tstate);
12374 if (PyErr_Occurred()) SWIG_fail;
12375 }
12376 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12377 {
12378 if (temp6)
12379 delete arg6;
12380 }
12381 return resultobj;
12382 fail:
12383 {
12384 if (temp6)
12385 delete arg6;
12386 }
12387 return NULL;
12388 }
12389
12390
12391 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12392 PyObject *resultobj;
12393 wxListbook *result;
12394 char *kwnames[] = {
12395 NULL
12396 };
12397
12398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12399 {
12400 PyThreadState* __tstate = wxPyBeginAllowThreads();
12401 result = (wxListbook *)new wxListbook();
12402
12403 wxPyEndAllowThreads(__tstate);
12404 if (PyErr_Occurred()) SWIG_fail;
12405 }
12406 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12407 return resultobj;
12408 fail:
12409 return NULL;
12410 }
12411
12412
12413 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12414 PyObject *resultobj;
12415 wxListbook *arg1 = (wxListbook *) 0 ;
12416 wxWindow *arg2 = (wxWindow *) 0 ;
12417 int arg3 ;
12418 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12419 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12420 wxSize const &arg5_defvalue = wxDefaultSize ;
12421 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12422 long arg6 = (long) 0 ;
12423 wxString const &arg7_defvalue = wxPyEmptyString ;
12424 wxString *arg7 = (wxString *) &arg7_defvalue ;
12425 bool result;
12426 wxPoint temp4 ;
12427 wxSize temp5 ;
12428 bool temp7 = False ;
12429 PyObject * obj0 = 0 ;
12430 PyObject * obj1 = 0 ;
12431 PyObject * obj3 = 0 ;
12432 PyObject * obj4 = 0 ;
12433 PyObject * obj6 = 0 ;
12434 char *kwnames[] = {
12435 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12436 };
12437
12438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12440 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12441 if (obj3) {
12442 {
12443 arg4 = &temp4;
12444 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12445 }
12446 }
12447 if (obj4) {
12448 {
12449 arg5 = &temp5;
12450 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12451 }
12452 }
12453 if (obj6) {
12454 {
12455 arg7 = wxString_in_helper(obj6);
12456 if (arg7 == NULL) SWIG_fail;
12457 temp7 = True;
12458 }
12459 }
12460 {
12461 PyThreadState* __tstate = wxPyBeginAllowThreads();
12462 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 resultobj = PyInt_FromLong((long)result);
12468 {
12469 if (temp7)
12470 delete arg7;
12471 }
12472 return resultobj;
12473 fail:
12474 {
12475 if (temp7)
12476 delete arg7;
12477 }
12478 return NULL;
12479 }
12480
12481
12482 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12483 PyObject *resultobj;
12484 wxListbook *arg1 = (wxListbook *) 0 ;
12485 bool result;
12486 PyObject * obj0 = 0 ;
12487 char *kwnames[] = {
12488 (char *) "self", NULL
12489 };
12490
12491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12493 {
12494 PyThreadState* __tstate = wxPyBeginAllowThreads();
12495 result = (bool)((wxListbook const *)arg1)->IsVertical();
12496
12497 wxPyEndAllowThreads(__tstate);
12498 if (PyErr_Occurred()) SWIG_fail;
12499 }
12500 resultobj = PyInt_FromLong((long)result);
12501 return resultobj;
12502 fail:
12503 return NULL;
12504 }
12505
12506
12507 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12508 PyObject *obj;
12509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12510 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12511 Py_INCREF(obj);
12512 return Py_BuildValue((char *)"");
12513 }
12514 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12515 PyObject *resultobj;
12516 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12517 int arg2 = (int) 0 ;
12518 int arg3 = (int) -1 ;
12519 int arg4 = (int) -1 ;
12520 wxListbookEvent *result;
12521 char *kwnames[] = {
12522 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12523 };
12524
12525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12526 {
12527 PyThreadState* __tstate = wxPyBeginAllowThreads();
12528 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12529
12530 wxPyEndAllowThreads(__tstate);
12531 if (PyErr_Occurred()) SWIG_fail;
12532 }
12533 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12534 return resultobj;
12535 fail:
12536 return NULL;
12537 }
12538
12539
12540 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12541 PyObject *obj;
12542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12543 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12544 Py_INCREF(obj);
12545 return Py_BuildValue((char *)"");
12546 }
12547 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12548 PyObject *resultobj;
12549 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12550 wxBookCtrlSizer *result;
12551 PyObject * obj0 = 0 ;
12552 char *kwnames[] = {
12553 (char *) "nb", NULL
12554 };
12555
12556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12558 {
12559 PyThreadState* __tstate = wxPyBeginAllowThreads();
12560 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12561
12562 wxPyEndAllowThreads(__tstate);
12563 if (PyErr_Occurred()) SWIG_fail;
12564 }
12565 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12566 return resultobj;
12567 fail:
12568 return NULL;
12569 }
12570
12571
12572 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12573 PyObject *resultobj;
12574 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12575 PyObject * obj0 = 0 ;
12576 char *kwnames[] = {
12577 (char *) "self", NULL
12578 };
12579
12580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12582 {
12583 PyThreadState* __tstate = wxPyBeginAllowThreads();
12584 (arg1)->RecalcSizes();
12585
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 Py_INCREF(Py_None); resultobj = Py_None;
12590 return resultobj;
12591 fail:
12592 return NULL;
12593 }
12594
12595
12596 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12597 PyObject *resultobj;
12598 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12599 wxSize result;
12600 PyObject * obj0 = 0 ;
12601 char *kwnames[] = {
12602 (char *) "self", NULL
12603 };
12604
12605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12607 {
12608 PyThreadState* __tstate = wxPyBeginAllowThreads();
12609 result = (arg1)->CalcMin();
12610
12611 wxPyEndAllowThreads(__tstate);
12612 if (PyErr_Occurred()) SWIG_fail;
12613 }
12614 {
12615 wxSize * resultptr;
12616 resultptr = new wxSize((wxSize &) result);
12617 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12618 }
12619 return resultobj;
12620 fail:
12621 return NULL;
12622 }
12623
12624
12625 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12626 PyObject *resultobj;
12627 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12628 wxBookCtrl *result;
12629 PyObject * obj0 = 0 ;
12630 char *kwnames[] = {
12631 (char *) "self", NULL
12632 };
12633
12634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12636 {
12637 PyThreadState* __tstate = wxPyBeginAllowThreads();
12638 result = (wxBookCtrl *)(arg1)->GetControl();
12639
12640 wxPyEndAllowThreads(__tstate);
12641 if (PyErr_Occurred()) SWIG_fail;
12642 }
12643 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12644 return resultobj;
12645 fail:
12646 return NULL;
12647 }
12648
12649
12650 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12651 PyObject *obj;
12652 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12653 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12654 Py_INCREF(obj);
12655 return Py_BuildValue((char *)"");
12656 }
12657 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12658 PyObject *resultobj;
12659 wxNotebook *arg1 = (wxNotebook *) 0 ;
12660 wxNotebookSizer *result;
12661 PyObject * obj0 = 0 ;
12662 char *kwnames[] = {
12663 (char *) "nb", NULL
12664 };
12665
12666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12668 {
12669 PyThreadState* __tstate = wxPyBeginAllowThreads();
12670 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12671
12672 wxPyEndAllowThreads(__tstate);
12673 if (PyErr_Occurred()) SWIG_fail;
12674 }
12675 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12676 return resultobj;
12677 fail:
12678 return NULL;
12679 }
12680
12681
12682 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12683 PyObject *resultobj;
12684 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12685 PyObject * obj0 = 0 ;
12686 char *kwnames[] = {
12687 (char *) "self", NULL
12688 };
12689
12690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12692 {
12693 PyThreadState* __tstate = wxPyBeginAllowThreads();
12694 (arg1)->RecalcSizes();
12695
12696 wxPyEndAllowThreads(__tstate);
12697 if (PyErr_Occurred()) SWIG_fail;
12698 }
12699 Py_INCREF(Py_None); resultobj = Py_None;
12700 return resultobj;
12701 fail:
12702 return NULL;
12703 }
12704
12705
12706 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12707 PyObject *resultobj;
12708 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12709 wxSize result;
12710 PyObject * obj0 = 0 ;
12711 char *kwnames[] = {
12712 (char *) "self", NULL
12713 };
12714
12715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12717 {
12718 PyThreadState* __tstate = wxPyBeginAllowThreads();
12719 result = (arg1)->CalcMin();
12720
12721 wxPyEndAllowThreads(__tstate);
12722 if (PyErr_Occurred()) SWIG_fail;
12723 }
12724 {
12725 wxSize * resultptr;
12726 resultptr = new wxSize((wxSize &) result);
12727 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12728 }
12729 return resultobj;
12730 fail:
12731 return NULL;
12732 }
12733
12734
12735 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12736 PyObject *resultobj;
12737 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12738 wxNotebook *result;
12739 PyObject * obj0 = 0 ;
12740 char *kwnames[] = {
12741 (char *) "self", NULL
12742 };
12743
12744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12746 {
12747 PyThreadState* __tstate = wxPyBeginAllowThreads();
12748 result = (wxNotebook *)(arg1)->GetNotebook();
12749
12750 wxPyEndAllowThreads(__tstate);
12751 if (PyErr_Occurred()) SWIG_fail;
12752 }
12753 {
12754 resultobj = wxPyMake_wxObject(result);
12755 }
12756 return resultobj;
12757 fail:
12758 return NULL;
12759 }
12760
12761
12762 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12763 PyObject *obj;
12764 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12765 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12766 Py_INCREF(obj);
12767 return Py_BuildValue((char *)"");
12768 }
12769 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12770 PyObject *resultobj;
12771 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12772 int result;
12773 PyObject * obj0 = 0 ;
12774 char *kwnames[] = {
12775 (char *) "self", NULL
12776 };
12777
12778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12780 {
12781 PyThreadState* __tstate = wxPyBeginAllowThreads();
12782 result = (int)(arg1)->GetId();
12783
12784 wxPyEndAllowThreads(__tstate);
12785 if (PyErr_Occurred()) SWIG_fail;
12786 }
12787 resultobj = PyInt_FromLong((long)result);
12788 return resultobj;
12789 fail:
12790 return NULL;
12791 }
12792
12793
12794 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12795 PyObject *resultobj;
12796 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12797 wxControl *result;
12798 PyObject * obj0 = 0 ;
12799 char *kwnames[] = {
12800 (char *) "self", NULL
12801 };
12802
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12805 {
12806 PyThreadState* __tstate = wxPyBeginAllowThreads();
12807 result = (wxControl *)(arg1)->GetControl();
12808
12809 wxPyEndAllowThreads(__tstate);
12810 if (PyErr_Occurred()) SWIG_fail;
12811 }
12812 {
12813 resultobj = wxPyMake_wxObject(result);
12814 }
12815 return resultobj;
12816 fail:
12817 return NULL;
12818 }
12819
12820
12821 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12822 PyObject *resultobj;
12823 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12824 wxToolBarBase *result;
12825 PyObject * obj0 = 0 ;
12826 char *kwnames[] = {
12827 (char *) "self", NULL
12828 };
12829
12830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12832 {
12833 PyThreadState* __tstate = wxPyBeginAllowThreads();
12834 result = (wxToolBarBase *)(arg1)->GetToolBar();
12835
12836 wxPyEndAllowThreads(__tstate);
12837 if (PyErr_Occurred()) SWIG_fail;
12838 }
12839 {
12840 resultobj = wxPyMake_wxObject(result);
12841 }
12842 return resultobj;
12843 fail:
12844 return NULL;
12845 }
12846
12847
12848 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12849 PyObject *resultobj;
12850 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12851 int result;
12852 PyObject * obj0 = 0 ;
12853 char *kwnames[] = {
12854 (char *) "self", NULL
12855 };
12856
12857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12859 {
12860 PyThreadState* __tstate = wxPyBeginAllowThreads();
12861 result = (int)(arg1)->IsButton();
12862
12863 wxPyEndAllowThreads(__tstate);
12864 if (PyErr_Occurred()) SWIG_fail;
12865 }
12866 resultobj = PyInt_FromLong((long)result);
12867 return resultobj;
12868 fail:
12869 return NULL;
12870 }
12871
12872
12873 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12874 PyObject *resultobj;
12875 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12876 int result;
12877 PyObject * obj0 = 0 ;
12878 char *kwnames[] = {
12879 (char *) "self", NULL
12880 };
12881
12882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12884 {
12885 PyThreadState* __tstate = wxPyBeginAllowThreads();
12886 result = (int)(arg1)->IsControl();
12887
12888 wxPyEndAllowThreads(__tstate);
12889 if (PyErr_Occurred()) SWIG_fail;
12890 }
12891 resultobj = PyInt_FromLong((long)result);
12892 return resultobj;
12893 fail:
12894 return NULL;
12895 }
12896
12897
12898 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12899 PyObject *resultobj;
12900 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12901 int result;
12902 PyObject * obj0 = 0 ;
12903 char *kwnames[] = {
12904 (char *) "self", NULL
12905 };
12906
12907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12909 {
12910 PyThreadState* __tstate = wxPyBeginAllowThreads();
12911 result = (int)(arg1)->IsSeparator();
12912
12913 wxPyEndAllowThreads(__tstate);
12914 if (PyErr_Occurred()) SWIG_fail;
12915 }
12916 resultobj = PyInt_FromLong((long)result);
12917 return resultobj;
12918 fail:
12919 return NULL;
12920 }
12921
12922
12923 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12924 PyObject *resultobj;
12925 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12926 int result;
12927 PyObject * obj0 = 0 ;
12928 char *kwnames[] = {
12929 (char *) "self", NULL
12930 };
12931
12932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12934 {
12935 PyThreadState* __tstate = wxPyBeginAllowThreads();
12936 result = (int)(arg1)->GetStyle();
12937
12938 wxPyEndAllowThreads(__tstate);
12939 if (PyErr_Occurred()) SWIG_fail;
12940 }
12941 resultobj = PyInt_FromLong((long)result);
12942 return resultobj;
12943 fail:
12944 return NULL;
12945 }
12946
12947
12948 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12949 PyObject *resultobj;
12950 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12951 int result;
12952 PyObject * obj0 = 0 ;
12953 char *kwnames[] = {
12954 (char *) "self", NULL
12955 };
12956
12957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12959 {
12960 PyThreadState* __tstate = wxPyBeginAllowThreads();
12961 result = (int)(arg1)->GetKind();
12962
12963 wxPyEndAllowThreads(__tstate);
12964 if (PyErr_Occurred()) SWIG_fail;
12965 }
12966 resultobj = PyInt_FromLong((long)result);
12967 return resultobj;
12968 fail:
12969 return NULL;
12970 }
12971
12972
12973 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12974 PyObject *resultobj;
12975 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12976 bool result;
12977 PyObject * obj0 = 0 ;
12978 char *kwnames[] = {
12979 (char *) "self", NULL
12980 };
12981
12982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
12983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12984 {
12985 PyThreadState* __tstate = wxPyBeginAllowThreads();
12986 result = (bool)(arg1)->IsEnabled();
12987
12988 wxPyEndAllowThreads(__tstate);
12989 if (PyErr_Occurred()) SWIG_fail;
12990 }
12991 resultobj = PyInt_FromLong((long)result);
12992 return resultobj;
12993 fail:
12994 return NULL;
12995 }
12996
12997
12998 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12999 PyObject *resultobj;
13000 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13001 bool result;
13002 PyObject * obj0 = 0 ;
13003 char *kwnames[] = {
13004 (char *) "self", NULL
13005 };
13006
13007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
13008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13009 {
13010 PyThreadState* __tstate = wxPyBeginAllowThreads();
13011 result = (bool)(arg1)->IsToggled();
13012
13013 wxPyEndAllowThreads(__tstate);
13014 if (PyErr_Occurred()) SWIG_fail;
13015 }
13016 resultobj = PyInt_FromLong((long)result);
13017 return resultobj;
13018 fail:
13019 return NULL;
13020 }
13021
13022
13023 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13024 PyObject *resultobj;
13025 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13026 bool result;
13027 PyObject * obj0 = 0 ;
13028 char *kwnames[] = {
13029 (char *) "self", NULL
13030 };
13031
13032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13034 {
13035 PyThreadState* __tstate = wxPyBeginAllowThreads();
13036 result = (bool)(arg1)->CanBeToggled();
13037
13038 wxPyEndAllowThreads(__tstate);
13039 if (PyErr_Occurred()) SWIG_fail;
13040 }
13041 resultobj = PyInt_FromLong((long)result);
13042 return resultobj;
13043 fail:
13044 return NULL;
13045 }
13046
13047
13048 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13049 PyObject *resultobj;
13050 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13051 wxBitmap *result;
13052 PyObject * obj0 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13059 {
13060 PyThreadState* __tstate = wxPyBeginAllowThreads();
13061 {
13062 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13063 result = (wxBitmap *) &_result_ref;
13064 }
13065
13066 wxPyEndAllowThreads(__tstate);
13067 if (PyErr_Occurred()) SWIG_fail;
13068 }
13069 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13070 return resultobj;
13071 fail:
13072 return NULL;
13073 }
13074
13075
13076 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13077 PyObject *resultobj;
13078 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13079 wxBitmap *result;
13080 PyObject * obj0 = 0 ;
13081 char *kwnames[] = {
13082 (char *) "self", NULL
13083 };
13084
13085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13087 {
13088 PyThreadState* __tstate = wxPyBeginAllowThreads();
13089 {
13090 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13091 result = (wxBitmap *) &_result_ref;
13092 }
13093
13094 wxPyEndAllowThreads(__tstate);
13095 if (PyErr_Occurred()) SWIG_fail;
13096 }
13097 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13098 return resultobj;
13099 fail:
13100 return NULL;
13101 }
13102
13103
13104 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13105 PyObject *resultobj;
13106 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13107 wxBitmap result;
13108 PyObject * obj0 = 0 ;
13109 char *kwnames[] = {
13110 (char *) "self", NULL
13111 };
13112
13113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13115 {
13116 PyThreadState* __tstate = wxPyBeginAllowThreads();
13117 result = (arg1)->GetBitmap();
13118
13119 wxPyEndAllowThreads(__tstate);
13120 if (PyErr_Occurred()) SWIG_fail;
13121 }
13122 {
13123 wxBitmap * resultptr;
13124 resultptr = new wxBitmap((wxBitmap &) result);
13125 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13126 }
13127 return resultobj;
13128 fail:
13129 return NULL;
13130 }
13131
13132
13133 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13134 PyObject *resultobj;
13135 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13136 wxString result;
13137 PyObject * obj0 = 0 ;
13138 char *kwnames[] = {
13139 (char *) "self", NULL
13140 };
13141
13142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13144 {
13145 PyThreadState* __tstate = wxPyBeginAllowThreads();
13146 result = (arg1)->GetLabel();
13147
13148 wxPyEndAllowThreads(__tstate);
13149 if (PyErr_Occurred()) SWIG_fail;
13150 }
13151 {
13152 #if wxUSE_UNICODE
13153 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13154 #else
13155 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13156 #endif
13157 }
13158 return resultobj;
13159 fail:
13160 return NULL;
13161 }
13162
13163
13164 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13165 PyObject *resultobj;
13166 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13167 wxString result;
13168 PyObject * obj0 = 0 ;
13169 char *kwnames[] = {
13170 (char *) "self", NULL
13171 };
13172
13173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13175 {
13176 PyThreadState* __tstate = wxPyBeginAllowThreads();
13177 result = (arg1)->GetShortHelp();
13178
13179 wxPyEndAllowThreads(__tstate);
13180 if (PyErr_Occurred()) SWIG_fail;
13181 }
13182 {
13183 #if wxUSE_UNICODE
13184 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13185 #else
13186 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13187 #endif
13188 }
13189 return resultobj;
13190 fail:
13191 return NULL;
13192 }
13193
13194
13195 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13196 PyObject *resultobj;
13197 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13198 wxString result;
13199 PyObject * obj0 = 0 ;
13200 char *kwnames[] = {
13201 (char *) "self", NULL
13202 };
13203
13204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13206 {
13207 PyThreadState* __tstate = wxPyBeginAllowThreads();
13208 result = (arg1)->GetLongHelp();
13209
13210 wxPyEndAllowThreads(__tstate);
13211 if (PyErr_Occurred()) SWIG_fail;
13212 }
13213 {
13214 #if wxUSE_UNICODE
13215 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13216 #else
13217 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13218 #endif
13219 }
13220 return resultobj;
13221 fail:
13222 return NULL;
13223 }
13224
13225
13226 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13227 PyObject *resultobj;
13228 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13229 bool arg2 ;
13230 bool result;
13231 PyObject * obj0 = 0 ;
13232 PyObject * obj1 = 0 ;
13233 char *kwnames[] = {
13234 (char *) "self",(char *) "enable", NULL
13235 };
13236
13237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13239 arg2 = PyInt_AsLong(obj1) ? true : false;
13240 if (PyErr_Occurred()) SWIG_fail;
13241 {
13242 PyThreadState* __tstate = wxPyBeginAllowThreads();
13243 result = (bool)(arg1)->Enable(arg2);
13244
13245 wxPyEndAllowThreads(__tstate);
13246 if (PyErr_Occurred()) SWIG_fail;
13247 }
13248 resultobj = PyInt_FromLong((long)result);
13249 return resultobj;
13250 fail:
13251 return NULL;
13252 }
13253
13254
13255 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13256 PyObject *resultobj;
13257 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13258 PyObject * obj0 = 0 ;
13259 char *kwnames[] = {
13260 (char *) "self", NULL
13261 };
13262
13263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13265 {
13266 PyThreadState* __tstate = wxPyBeginAllowThreads();
13267 (arg1)->Toggle();
13268
13269 wxPyEndAllowThreads(__tstate);
13270 if (PyErr_Occurred()) SWIG_fail;
13271 }
13272 Py_INCREF(Py_None); resultobj = Py_None;
13273 return resultobj;
13274 fail:
13275 return NULL;
13276 }
13277
13278
13279 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13280 PyObject *resultobj;
13281 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13282 bool arg2 ;
13283 bool result;
13284 PyObject * obj0 = 0 ;
13285 PyObject * obj1 = 0 ;
13286 char *kwnames[] = {
13287 (char *) "self",(char *) "toggle", NULL
13288 };
13289
13290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13292 arg2 = PyInt_AsLong(obj1) ? true : false;
13293 if (PyErr_Occurred()) SWIG_fail;
13294 {
13295 PyThreadState* __tstate = wxPyBeginAllowThreads();
13296 result = (bool)(arg1)->SetToggle(arg2);
13297
13298 wxPyEndAllowThreads(__tstate);
13299 if (PyErr_Occurred()) SWIG_fail;
13300 }
13301 resultobj = PyInt_FromLong((long)result);
13302 return resultobj;
13303 fail:
13304 return NULL;
13305 }
13306
13307
13308 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13309 PyObject *resultobj;
13310 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13311 wxString *arg2 = 0 ;
13312 bool result;
13313 bool temp2 = False ;
13314 PyObject * obj0 = 0 ;
13315 PyObject * obj1 = 0 ;
13316 char *kwnames[] = {
13317 (char *) "self",(char *) "help", NULL
13318 };
13319
13320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13322 {
13323 arg2 = wxString_in_helper(obj1);
13324 if (arg2 == NULL) SWIG_fail;
13325 temp2 = True;
13326 }
13327 {
13328 PyThreadState* __tstate = wxPyBeginAllowThreads();
13329 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13330
13331 wxPyEndAllowThreads(__tstate);
13332 if (PyErr_Occurred()) SWIG_fail;
13333 }
13334 resultobj = PyInt_FromLong((long)result);
13335 {
13336 if (temp2)
13337 delete arg2;
13338 }
13339 return resultobj;
13340 fail:
13341 {
13342 if (temp2)
13343 delete arg2;
13344 }
13345 return NULL;
13346 }
13347
13348
13349 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13350 PyObject *resultobj;
13351 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13352 wxString *arg2 = 0 ;
13353 bool result;
13354 bool temp2 = False ;
13355 PyObject * obj0 = 0 ;
13356 PyObject * obj1 = 0 ;
13357 char *kwnames[] = {
13358 (char *) "self",(char *) "help", NULL
13359 };
13360
13361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13363 {
13364 arg2 = wxString_in_helper(obj1);
13365 if (arg2 == NULL) SWIG_fail;
13366 temp2 = True;
13367 }
13368 {
13369 PyThreadState* __tstate = wxPyBeginAllowThreads();
13370 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13371
13372 wxPyEndAllowThreads(__tstate);
13373 if (PyErr_Occurred()) SWIG_fail;
13374 }
13375 resultobj = PyInt_FromLong((long)result);
13376 {
13377 if (temp2)
13378 delete arg2;
13379 }
13380 return resultobj;
13381 fail:
13382 {
13383 if (temp2)
13384 delete arg2;
13385 }
13386 return NULL;
13387 }
13388
13389
13390 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13391 PyObject *resultobj;
13392 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13393 wxBitmap *arg2 = 0 ;
13394 PyObject * obj0 = 0 ;
13395 PyObject * obj1 = 0 ;
13396 char *kwnames[] = {
13397 (char *) "self",(char *) "bmp", NULL
13398 };
13399
13400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13403 if (arg2 == NULL) {
13404 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13405 }
13406 {
13407 PyThreadState* __tstate = wxPyBeginAllowThreads();
13408 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13409
13410 wxPyEndAllowThreads(__tstate);
13411 if (PyErr_Occurred()) SWIG_fail;
13412 }
13413 Py_INCREF(Py_None); resultobj = Py_None;
13414 return resultobj;
13415 fail:
13416 return NULL;
13417 }
13418
13419
13420 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13421 PyObject *resultobj;
13422 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13423 wxBitmap *arg2 = 0 ;
13424 PyObject * obj0 = 0 ;
13425 PyObject * obj1 = 0 ;
13426 char *kwnames[] = {
13427 (char *) "self",(char *) "bmp", NULL
13428 };
13429
13430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13432 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13433 if (arg2 == NULL) {
13434 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13435 }
13436 {
13437 PyThreadState* __tstate = wxPyBeginAllowThreads();
13438 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13439
13440 wxPyEndAllowThreads(__tstate);
13441 if (PyErr_Occurred()) SWIG_fail;
13442 }
13443 Py_INCREF(Py_None); resultobj = Py_None;
13444 return resultobj;
13445 fail:
13446 return NULL;
13447 }
13448
13449
13450 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13451 PyObject *resultobj;
13452 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13453 wxString *arg2 = 0 ;
13454 bool temp2 = False ;
13455 PyObject * obj0 = 0 ;
13456 PyObject * obj1 = 0 ;
13457 char *kwnames[] = {
13458 (char *) "self",(char *) "label", NULL
13459 };
13460
13461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13463 {
13464 arg2 = wxString_in_helper(obj1);
13465 if (arg2 == NULL) SWIG_fail;
13466 temp2 = True;
13467 }
13468 {
13469 PyThreadState* __tstate = wxPyBeginAllowThreads();
13470 (arg1)->SetLabel((wxString const &)*arg2);
13471
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 Py_INCREF(Py_None); resultobj = Py_None;
13476 {
13477 if (temp2)
13478 delete arg2;
13479 }
13480 return resultobj;
13481 fail:
13482 {
13483 if (temp2)
13484 delete arg2;
13485 }
13486 return NULL;
13487 }
13488
13489
13490 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13491 PyObject *resultobj;
13492 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13493 PyObject * obj0 = 0 ;
13494 char *kwnames[] = {
13495 (char *) "self", NULL
13496 };
13497
13498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13500 {
13501 PyThreadState* __tstate = wxPyBeginAllowThreads();
13502 (arg1)->Detach();
13503
13504 wxPyEndAllowThreads(__tstate);
13505 if (PyErr_Occurred()) SWIG_fail;
13506 }
13507 Py_INCREF(Py_None); resultobj = Py_None;
13508 return resultobj;
13509 fail:
13510 return NULL;
13511 }
13512
13513
13514 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13515 PyObject *resultobj;
13516 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13517 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13518 PyObject * obj0 = 0 ;
13519 PyObject * obj1 = 0 ;
13520 char *kwnames[] = {
13521 (char *) "self",(char *) "tbar", NULL
13522 };
13523
13524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13526 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13527 {
13528 PyThreadState* __tstate = wxPyBeginAllowThreads();
13529 (arg1)->Attach(arg2);
13530
13531 wxPyEndAllowThreads(__tstate);
13532 if (PyErr_Occurred()) SWIG_fail;
13533 }
13534 Py_INCREF(Py_None); resultobj = Py_None;
13535 return resultobj;
13536 fail:
13537 return NULL;
13538 }
13539
13540
13541 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13542 PyObject *resultobj;
13543 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13544 PyObject *result;
13545 PyObject * obj0 = 0 ;
13546 char *kwnames[] = {
13547 (char *) "self", NULL
13548 };
13549
13550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13552 {
13553 PyThreadState* __tstate = wxPyBeginAllowThreads();
13554 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13555
13556 wxPyEndAllowThreads(__tstate);
13557 if (PyErr_Occurred()) SWIG_fail;
13558 }
13559 resultobj = result;
13560 return resultobj;
13561 fail:
13562 return NULL;
13563 }
13564
13565
13566 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13567 PyObject *resultobj;
13568 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13569 PyObject *arg2 = (PyObject *) 0 ;
13570 PyObject * obj0 = 0 ;
13571 PyObject * obj1 = 0 ;
13572 char *kwnames[] = {
13573 (char *) "self",(char *) "clientData", NULL
13574 };
13575
13576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13578 arg2 = obj1;
13579 {
13580 PyThreadState* __tstate = wxPyBeginAllowThreads();
13581 wxToolBarToolBase_SetClientData(arg1,arg2);
13582
13583 wxPyEndAllowThreads(__tstate);
13584 if (PyErr_Occurred()) SWIG_fail;
13585 }
13586 Py_INCREF(Py_None); resultobj = Py_None;
13587 return resultobj;
13588 fail:
13589 return NULL;
13590 }
13591
13592
13593 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13594 PyObject *obj;
13595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13596 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13597 Py_INCREF(obj);
13598 return Py_BuildValue((char *)"");
13599 }
13600 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13601 PyObject *resultobj;
13602 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13603 int arg2 ;
13604 wxString *arg3 = 0 ;
13605 wxBitmap *arg4 = 0 ;
13606 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13607 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13608 int arg6 = (int) wxITEM_NORMAL ;
13609 wxString const &arg7_defvalue = wxPyEmptyString ;
13610 wxString *arg7 = (wxString *) &arg7_defvalue ;
13611 wxString const &arg8_defvalue = wxPyEmptyString ;
13612 wxString *arg8 = (wxString *) &arg8_defvalue ;
13613 PyObject *arg9 = (PyObject *) NULL ;
13614 wxToolBarToolBase *result;
13615 bool temp3 = False ;
13616 bool temp7 = False ;
13617 bool temp8 = False ;
13618 PyObject * obj0 = 0 ;
13619 PyObject * obj2 = 0 ;
13620 PyObject * obj3 = 0 ;
13621 PyObject * obj4 = 0 ;
13622 PyObject * obj6 = 0 ;
13623 PyObject * obj7 = 0 ;
13624 PyObject * obj8 = 0 ;
13625 char *kwnames[] = {
13626 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13627 };
13628
13629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13631 {
13632 arg3 = wxString_in_helper(obj2);
13633 if (arg3 == NULL) SWIG_fail;
13634 temp3 = True;
13635 }
13636 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13637 if (arg4 == NULL) {
13638 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13639 }
13640 if (obj4) {
13641 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13642 if (arg5 == NULL) {
13643 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13644 }
13645 }
13646 if (obj6) {
13647 {
13648 arg7 = wxString_in_helper(obj6);
13649 if (arg7 == NULL) SWIG_fail;
13650 temp7 = True;
13651 }
13652 }
13653 if (obj7) {
13654 {
13655 arg8 = wxString_in_helper(obj7);
13656 if (arg8 == NULL) SWIG_fail;
13657 temp8 = True;
13658 }
13659 }
13660 if (obj8) {
13661 arg9 = obj8;
13662 }
13663 {
13664 PyThreadState* __tstate = wxPyBeginAllowThreads();
13665 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13666
13667 wxPyEndAllowThreads(__tstate);
13668 if (PyErr_Occurred()) SWIG_fail;
13669 }
13670 {
13671 resultobj = wxPyMake_wxObject(result);
13672 }
13673 {
13674 if (temp3)
13675 delete arg3;
13676 }
13677 {
13678 if (temp7)
13679 delete arg7;
13680 }
13681 {
13682 if (temp8)
13683 delete arg8;
13684 }
13685 return resultobj;
13686 fail:
13687 {
13688 if (temp3)
13689 delete arg3;
13690 }
13691 {
13692 if (temp7)
13693 delete arg7;
13694 }
13695 {
13696 if (temp8)
13697 delete arg8;
13698 }
13699 return NULL;
13700 }
13701
13702
13703 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13704 PyObject *resultobj;
13705 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13706 size_t arg2 ;
13707 int arg3 ;
13708 wxString *arg4 = 0 ;
13709 wxBitmap *arg5 = 0 ;
13710 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13711 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13712 int arg7 = (int) wxITEM_NORMAL ;
13713 wxString const &arg8_defvalue = wxPyEmptyString ;
13714 wxString *arg8 = (wxString *) &arg8_defvalue ;
13715 wxString const &arg9_defvalue = wxPyEmptyString ;
13716 wxString *arg9 = (wxString *) &arg9_defvalue ;
13717 PyObject *arg10 = (PyObject *) NULL ;
13718 wxToolBarToolBase *result;
13719 bool temp4 = False ;
13720 bool temp8 = False ;
13721 bool temp9 = False ;
13722 PyObject * obj0 = 0 ;
13723 PyObject * obj1 = 0 ;
13724 PyObject * obj3 = 0 ;
13725 PyObject * obj4 = 0 ;
13726 PyObject * obj5 = 0 ;
13727 PyObject * obj7 = 0 ;
13728 PyObject * obj8 = 0 ;
13729 PyObject * obj9 = 0 ;
13730 char *kwnames[] = {
13731 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13732 };
13733
13734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13736 arg2 = (size_t) PyInt_AsLong(obj1);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 {
13739 arg4 = wxString_in_helper(obj3);
13740 if (arg4 == NULL) SWIG_fail;
13741 temp4 = True;
13742 }
13743 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13744 if (arg5 == NULL) {
13745 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13746 }
13747 if (obj5) {
13748 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13749 if (arg6 == NULL) {
13750 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13751 }
13752 }
13753 if (obj7) {
13754 {
13755 arg8 = wxString_in_helper(obj7);
13756 if (arg8 == NULL) SWIG_fail;
13757 temp8 = True;
13758 }
13759 }
13760 if (obj8) {
13761 {
13762 arg9 = wxString_in_helper(obj8);
13763 if (arg9 == NULL) SWIG_fail;
13764 temp9 = True;
13765 }
13766 }
13767 if (obj9) {
13768 arg10 = obj9;
13769 }
13770 {
13771 PyThreadState* __tstate = wxPyBeginAllowThreads();
13772 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);
13773
13774 wxPyEndAllowThreads(__tstate);
13775 if (PyErr_Occurred()) SWIG_fail;
13776 }
13777 {
13778 resultobj = wxPyMake_wxObject(result);
13779 }
13780 {
13781 if (temp4)
13782 delete arg4;
13783 }
13784 {
13785 if (temp8)
13786 delete arg8;
13787 }
13788 {
13789 if (temp9)
13790 delete arg9;
13791 }
13792 return resultobj;
13793 fail:
13794 {
13795 if (temp4)
13796 delete arg4;
13797 }
13798 {
13799 if (temp8)
13800 delete arg8;
13801 }
13802 {
13803 if (temp9)
13804 delete arg9;
13805 }
13806 return NULL;
13807 }
13808
13809
13810 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13811 PyObject *resultobj;
13812 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13813 wxControl *arg2 = (wxControl *) 0 ;
13814 wxToolBarToolBase *result;
13815 PyObject * obj0 = 0 ;
13816 PyObject * obj1 = 0 ;
13817 char *kwnames[] = {
13818 (char *) "self",(char *) "control", NULL
13819 };
13820
13821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13823 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13824 {
13825 PyThreadState* __tstate = wxPyBeginAllowThreads();
13826 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13827
13828 wxPyEndAllowThreads(__tstate);
13829 if (PyErr_Occurred()) SWIG_fail;
13830 }
13831 {
13832 resultobj = wxPyMake_wxObject(result);
13833 }
13834 return resultobj;
13835 fail:
13836 return NULL;
13837 }
13838
13839
13840 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13841 PyObject *resultobj;
13842 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13843 size_t arg2 ;
13844 wxControl *arg3 = (wxControl *) 0 ;
13845 wxToolBarToolBase *result;
13846 PyObject * obj0 = 0 ;
13847 PyObject * obj1 = 0 ;
13848 PyObject * obj2 = 0 ;
13849 char *kwnames[] = {
13850 (char *) "self",(char *) "pos",(char *) "control", NULL
13851 };
13852
13853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13855 arg2 = (size_t) PyInt_AsLong(obj1);
13856 if (PyErr_Occurred()) SWIG_fail;
13857 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13858 {
13859 PyThreadState* __tstate = wxPyBeginAllowThreads();
13860 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13861
13862 wxPyEndAllowThreads(__tstate);
13863 if (PyErr_Occurred()) SWIG_fail;
13864 }
13865 {
13866 resultobj = wxPyMake_wxObject(result);
13867 }
13868 return resultobj;
13869 fail:
13870 return NULL;
13871 }
13872
13873
13874 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13875 PyObject *resultobj;
13876 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13877 int arg2 ;
13878 wxControl *result;
13879 PyObject * obj0 = 0 ;
13880 char *kwnames[] = {
13881 (char *) "self",(char *) "id", NULL
13882 };
13883
13884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13886 {
13887 PyThreadState* __tstate = wxPyBeginAllowThreads();
13888 result = (wxControl *)(arg1)->FindControl(arg2);
13889
13890 wxPyEndAllowThreads(__tstate);
13891 if (PyErr_Occurred()) SWIG_fail;
13892 }
13893 {
13894 resultobj = wxPyMake_wxObject(result);
13895 }
13896 return resultobj;
13897 fail:
13898 return NULL;
13899 }
13900
13901
13902 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13903 PyObject *resultobj;
13904 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13905 wxToolBarToolBase *result;
13906 PyObject * obj0 = 0 ;
13907 char *kwnames[] = {
13908 (char *) "self", NULL
13909 };
13910
13911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13913 {
13914 PyThreadState* __tstate = wxPyBeginAllowThreads();
13915 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13916
13917 wxPyEndAllowThreads(__tstate);
13918 if (PyErr_Occurred()) SWIG_fail;
13919 }
13920 {
13921 resultobj = wxPyMake_wxObject(result);
13922 }
13923 return resultobj;
13924 fail:
13925 return NULL;
13926 }
13927
13928
13929 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13930 PyObject *resultobj;
13931 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13932 size_t arg2 ;
13933 wxToolBarToolBase *result;
13934 PyObject * obj0 = 0 ;
13935 PyObject * obj1 = 0 ;
13936 char *kwnames[] = {
13937 (char *) "self",(char *) "pos", NULL
13938 };
13939
13940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13942 arg2 = (size_t) PyInt_AsLong(obj1);
13943 if (PyErr_Occurred()) SWIG_fail;
13944 {
13945 PyThreadState* __tstate = wxPyBeginAllowThreads();
13946 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13947
13948 wxPyEndAllowThreads(__tstate);
13949 if (PyErr_Occurred()) SWIG_fail;
13950 }
13951 {
13952 resultobj = wxPyMake_wxObject(result);
13953 }
13954 return resultobj;
13955 fail:
13956 return NULL;
13957 }
13958
13959
13960 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13961 PyObject *resultobj;
13962 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13963 int arg2 ;
13964 wxToolBarToolBase *result;
13965 PyObject * obj0 = 0 ;
13966 char *kwnames[] = {
13967 (char *) "self",(char *) "id", NULL
13968 };
13969
13970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13972 {
13973 PyThreadState* __tstate = wxPyBeginAllowThreads();
13974 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13975
13976 wxPyEndAllowThreads(__tstate);
13977 if (PyErr_Occurred()) SWIG_fail;
13978 }
13979 {
13980 resultobj = wxPyMake_wxObject(result);
13981 }
13982 return resultobj;
13983 fail:
13984 return NULL;
13985 }
13986
13987
13988 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13989 PyObject *resultobj;
13990 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13991 size_t arg2 ;
13992 bool result;
13993 PyObject * obj0 = 0 ;
13994 PyObject * obj1 = 0 ;
13995 char *kwnames[] = {
13996 (char *) "self",(char *) "pos", NULL
13997 };
13998
13999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
14000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14001 arg2 = (size_t) PyInt_AsLong(obj1);
14002 if (PyErr_Occurred()) SWIG_fail;
14003 {
14004 PyThreadState* __tstate = wxPyBeginAllowThreads();
14005 result = (bool)(arg1)->DeleteToolByPos(arg2);
14006
14007 wxPyEndAllowThreads(__tstate);
14008 if (PyErr_Occurred()) SWIG_fail;
14009 }
14010 resultobj = PyInt_FromLong((long)result);
14011 return resultobj;
14012 fail:
14013 return NULL;
14014 }
14015
14016
14017 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14018 PyObject *resultobj;
14019 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14020 int arg2 ;
14021 bool result;
14022 PyObject * obj0 = 0 ;
14023 char *kwnames[] = {
14024 (char *) "self",(char *) "id", NULL
14025 };
14026
14027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14029 {
14030 PyThreadState* __tstate = wxPyBeginAllowThreads();
14031 result = (bool)(arg1)->DeleteTool(arg2);
14032
14033 wxPyEndAllowThreads(__tstate);
14034 if (PyErr_Occurred()) SWIG_fail;
14035 }
14036 resultobj = PyInt_FromLong((long)result);
14037 return resultobj;
14038 fail:
14039 return NULL;
14040 }
14041
14042
14043 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14044 PyObject *resultobj;
14045 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14046 PyObject * obj0 = 0 ;
14047 char *kwnames[] = {
14048 (char *) "self", NULL
14049 };
14050
14051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14053 {
14054 PyThreadState* __tstate = wxPyBeginAllowThreads();
14055 (arg1)->ClearTools();
14056
14057 wxPyEndAllowThreads(__tstate);
14058 if (PyErr_Occurred()) SWIG_fail;
14059 }
14060 Py_INCREF(Py_None); resultobj = Py_None;
14061 return resultobj;
14062 fail:
14063 return NULL;
14064 }
14065
14066
14067 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14068 PyObject *resultobj;
14069 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14070 bool result;
14071 PyObject * obj0 = 0 ;
14072 char *kwnames[] = {
14073 (char *) "self", NULL
14074 };
14075
14076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14078 {
14079 PyThreadState* __tstate = wxPyBeginAllowThreads();
14080 result = (bool)(arg1)->Realize();
14081
14082 wxPyEndAllowThreads(__tstate);
14083 if (PyErr_Occurred()) SWIG_fail;
14084 }
14085 resultobj = PyInt_FromLong((long)result);
14086 return resultobj;
14087 fail:
14088 return NULL;
14089 }
14090
14091
14092 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14093 PyObject *resultobj;
14094 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14095 int arg2 ;
14096 bool arg3 ;
14097 PyObject * obj0 = 0 ;
14098 PyObject * obj2 = 0 ;
14099 char *kwnames[] = {
14100 (char *) "self",(char *) "id",(char *) "enable", NULL
14101 };
14102
14103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14105 arg3 = PyInt_AsLong(obj2) ? true : false;
14106 if (PyErr_Occurred()) SWIG_fail;
14107 {
14108 PyThreadState* __tstate = wxPyBeginAllowThreads();
14109 (arg1)->EnableTool(arg2,arg3);
14110
14111 wxPyEndAllowThreads(__tstate);
14112 if (PyErr_Occurred()) SWIG_fail;
14113 }
14114 Py_INCREF(Py_None); resultobj = Py_None;
14115 return resultobj;
14116 fail:
14117 return NULL;
14118 }
14119
14120
14121 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14122 PyObject *resultobj;
14123 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14124 int arg2 ;
14125 bool arg3 ;
14126 PyObject * obj0 = 0 ;
14127 PyObject * obj2 = 0 ;
14128 char *kwnames[] = {
14129 (char *) "self",(char *) "id",(char *) "toggle", NULL
14130 };
14131
14132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14134 arg3 = PyInt_AsLong(obj2) ? true : false;
14135 if (PyErr_Occurred()) SWIG_fail;
14136 {
14137 PyThreadState* __tstate = wxPyBeginAllowThreads();
14138 (arg1)->ToggleTool(arg2,arg3);
14139
14140 wxPyEndAllowThreads(__tstate);
14141 if (PyErr_Occurred()) SWIG_fail;
14142 }
14143 Py_INCREF(Py_None); resultobj = Py_None;
14144 return resultobj;
14145 fail:
14146 return NULL;
14147 }
14148
14149
14150 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14151 PyObject *resultobj;
14152 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14153 int arg2 ;
14154 bool arg3 ;
14155 PyObject * obj0 = 0 ;
14156 PyObject * obj2 = 0 ;
14157 char *kwnames[] = {
14158 (char *) "self",(char *) "id",(char *) "toggle", NULL
14159 };
14160
14161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14163 arg3 = PyInt_AsLong(obj2) ? true : false;
14164 if (PyErr_Occurred()) SWIG_fail;
14165 {
14166 PyThreadState* __tstate = wxPyBeginAllowThreads();
14167 (arg1)->SetToggle(arg2,arg3);
14168
14169 wxPyEndAllowThreads(__tstate);
14170 if (PyErr_Occurred()) SWIG_fail;
14171 }
14172 Py_INCREF(Py_None); resultobj = Py_None;
14173 return resultobj;
14174 fail:
14175 return NULL;
14176 }
14177
14178
14179 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14180 PyObject *resultobj;
14181 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14182 int arg2 ;
14183 PyObject *result;
14184 PyObject * obj0 = 0 ;
14185 char *kwnames[] = {
14186 (char *) "self",(char *) "id", NULL
14187 };
14188
14189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14191 {
14192 PyThreadState* __tstate = wxPyBeginAllowThreads();
14193 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14194
14195 wxPyEndAllowThreads(__tstate);
14196 if (PyErr_Occurred()) SWIG_fail;
14197 }
14198 resultobj = result;
14199 return resultobj;
14200 fail:
14201 return NULL;
14202 }
14203
14204
14205 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14206 PyObject *resultobj;
14207 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14208 int arg2 ;
14209 PyObject *arg3 = (PyObject *) 0 ;
14210 PyObject * obj0 = 0 ;
14211 PyObject * obj2 = 0 ;
14212 char *kwnames[] = {
14213 (char *) "self",(char *) "id",(char *) "clientData", NULL
14214 };
14215
14216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14218 arg3 = obj2;
14219 {
14220 PyThreadState* __tstate = wxPyBeginAllowThreads();
14221 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14222
14223 wxPyEndAllowThreads(__tstate);
14224 if (PyErr_Occurred()) SWIG_fail;
14225 }
14226 Py_INCREF(Py_None); resultobj = Py_None;
14227 return resultobj;
14228 fail:
14229 return NULL;
14230 }
14231
14232
14233 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14234 PyObject *resultobj;
14235 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14236 int arg2 ;
14237 int result;
14238 PyObject * obj0 = 0 ;
14239 char *kwnames[] = {
14240 (char *) "self",(char *) "id", NULL
14241 };
14242
14243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14245 {
14246 PyThreadState* __tstate = wxPyBeginAllowThreads();
14247 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14248
14249 wxPyEndAllowThreads(__tstate);
14250 if (PyErr_Occurred()) SWIG_fail;
14251 }
14252 resultobj = PyInt_FromLong((long)result);
14253 return resultobj;
14254 fail:
14255 return NULL;
14256 }
14257
14258
14259 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14260 PyObject *resultobj;
14261 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14262 int arg2 ;
14263 bool result;
14264 PyObject * obj0 = 0 ;
14265 char *kwnames[] = {
14266 (char *) "self",(char *) "id", NULL
14267 };
14268
14269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14271 {
14272 PyThreadState* __tstate = wxPyBeginAllowThreads();
14273 result = (bool)(arg1)->GetToolState(arg2);
14274
14275 wxPyEndAllowThreads(__tstate);
14276 if (PyErr_Occurred()) SWIG_fail;
14277 }
14278 resultobj = PyInt_FromLong((long)result);
14279 return resultobj;
14280 fail:
14281 return NULL;
14282 }
14283
14284
14285 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14286 PyObject *resultobj;
14287 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14288 int arg2 ;
14289 bool result;
14290 PyObject * obj0 = 0 ;
14291 char *kwnames[] = {
14292 (char *) "self",(char *) "id", NULL
14293 };
14294
14295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14297 {
14298 PyThreadState* __tstate = wxPyBeginAllowThreads();
14299 result = (bool)(arg1)->GetToolEnabled(arg2);
14300
14301 wxPyEndAllowThreads(__tstate);
14302 if (PyErr_Occurred()) SWIG_fail;
14303 }
14304 resultobj = PyInt_FromLong((long)result);
14305 return resultobj;
14306 fail:
14307 return NULL;
14308 }
14309
14310
14311 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14312 PyObject *resultobj;
14313 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14314 int arg2 ;
14315 wxString *arg3 = 0 ;
14316 bool temp3 = False ;
14317 PyObject * obj0 = 0 ;
14318 PyObject * obj2 = 0 ;
14319 char *kwnames[] = {
14320 (char *) "self",(char *) "id",(char *) "helpString", NULL
14321 };
14322
14323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14325 {
14326 arg3 = wxString_in_helper(obj2);
14327 if (arg3 == NULL) SWIG_fail;
14328 temp3 = True;
14329 }
14330 {
14331 PyThreadState* __tstate = wxPyBeginAllowThreads();
14332 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14333
14334 wxPyEndAllowThreads(__tstate);
14335 if (PyErr_Occurred()) SWIG_fail;
14336 }
14337 Py_INCREF(Py_None); resultobj = Py_None;
14338 {
14339 if (temp3)
14340 delete arg3;
14341 }
14342 return resultobj;
14343 fail:
14344 {
14345 if (temp3)
14346 delete arg3;
14347 }
14348 return NULL;
14349 }
14350
14351
14352 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14353 PyObject *resultobj;
14354 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14355 int arg2 ;
14356 wxString result;
14357 PyObject * obj0 = 0 ;
14358 char *kwnames[] = {
14359 (char *) "self",(char *) "id", NULL
14360 };
14361
14362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14364 {
14365 PyThreadState* __tstate = wxPyBeginAllowThreads();
14366 result = (arg1)->GetToolShortHelp(arg2);
14367
14368 wxPyEndAllowThreads(__tstate);
14369 if (PyErr_Occurred()) SWIG_fail;
14370 }
14371 {
14372 #if wxUSE_UNICODE
14373 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14374 #else
14375 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14376 #endif
14377 }
14378 return resultobj;
14379 fail:
14380 return NULL;
14381 }
14382
14383
14384 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14385 PyObject *resultobj;
14386 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14387 int arg2 ;
14388 wxString *arg3 = 0 ;
14389 bool temp3 = False ;
14390 PyObject * obj0 = 0 ;
14391 PyObject * obj2 = 0 ;
14392 char *kwnames[] = {
14393 (char *) "self",(char *) "id",(char *) "helpString", NULL
14394 };
14395
14396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14398 {
14399 arg3 = wxString_in_helper(obj2);
14400 if (arg3 == NULL) SWIG_fail;
14401 temp3 = True;
14402 }
14403 {
14404 PyThreadState* __tstate = wxPyBeginAllowThreads();
14405 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14406
14407 wxPyEndAllowThreads(__tstate);
14408 if (PyErr_Occurred()) SWIG_fail;
14409 }
14410 Py_INCREF(Py_None); resultobj = Py_None;
14411 {
14412 if (temp3)
14413 delete arg3;
14414 }
14415 return resultobj;
14416 fail:
14417 {
14418 if (temp3)
14419 delete arg3;
14420 }
14421 return NULL;
14422 }
14423
14424
14425 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14426 PyObject *resultobj;
14427 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14428 int arg2 ;
14429 wxString result;
14430 PyObject * obj0 = 0 ;
14431 char *kwnames[] = {
14432 (char *) "self",(char *) "id", NULL
14433 };
14434
14435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14437 {
14438 PyThreadState* __tstate = wxPyBeginAllowThreads();
14439 result = (arg1)->GetToolLongHelp(arg2);
14440
14441 wxPyEndAllowThreads(__tstate);
14442 if (PyErr_Occurred()) SWIG_fail;
14443 }
14444 {
14445 #if wxUSE_UNICODE
14446 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14447 #else
14448 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14449 #endif
14450 }
14451 return resultobj;
14452 fail:
14453 return NULL;
14454 }
14455
14456
14457 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14458 PyObject *resultobj;
14459 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14460 int arg2 ;
14461 int arg3 ;
14462 PyObject * obj0 = 0 ;
14463 char *kwnames[] = {
14464 (char *) "self",(char *) "x",(char *) "y", NULL
14465 };
14466
14467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14469 {
14470 PyThreadState* __tstate = wxPyBeginAllowThreads();
14471 (arg1)->SetMargins(arg2,arg3);
14472
14473 wxPyEndAllowThreads(__tstate);
14474 if (PyErr_Occurred()) SWIG_fail;
14475 }
14476 Py_INCREF(Py_None); resultobj = Py_None;
14477 return resultobj;
14478 fail:
14479 return NULL;
14480 }
14481
14482
14483 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14484 PyObject *resultobj;
14485 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14486 wxSize *arg2 = 0 ;
14487 wxSize temp2 ;
14488 PyObject * obj0 = 0 ;
14489 PyObject * obj1 = 0 ;
14490 char *kwnames[] = {
14491 (char *) "self",(char *) "size", NULL
14492 };
14493
14494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14496 {
14497 arg2 = &temp2;
14498 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14499 }
14500 {
14501 PyThreadState* __tstate = wxPyBeginAllowThreads();
14502 (arg1)->SetMargins((wxSize const &)*arg2);
14503
14504 wxPyEndAllowThreads(__tstate);
14505 if (PyErr_Occurred()) SWIG_fail;
14506 }
14507 Py_INCREF(Py_None); resultobj = Py_None;
14508 return resultobj;
14509 fail:
14510 return NULL;
14511 }
14512
14513
14514 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14515 PyObject *resultobj;
14516 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14517 int arg2 ;
14518 PyObject * obj0 = 0 ;
14519 char *kwnames[] = {
14520 (char *) "self",(char *) "packing", NULL
14521 };
14522
14523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14525 {
14526 PyThreadState* __tstate = wxPyBeginAllowThreads();
14527 (arg1)->SetToolPacking(arg2);
14528
14529 wxPyEndAllowThreads(__tstate);
14530 if (PyErr_Occurred()) SWIG_fail;
14531 }
14532 Py_INCREF(Py_None); resultobj = Py_None;
14533 return resultobj;
14534 fail:
14535 return NULL;
14536 }
14537
14538
14539 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14540 PyObject *resultobj;
14541 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14542 int arg2 ;
14543 PyObject * obj0 = 0 ;
14544 char *kwnames[] = {
14545 (char *) "self",(char *) "separation", NULL
14546 };
14547
14548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14550 {
14551 PyThreadState* __tstate = wxPyBeginAllowThreads();
14552 (arg1)->SetToolSeparation(arg2);
14553
14554 wxPyEndAllowThreads(__tstate);
14555 if (PyErr_Occurred()) SWIG_fail;
14556 }
14557 Py_INCREF(Py_None); resultobj = Py_None;
14558 return resultobj;
14559 fail:
14560 return NULL;
14561 }
14562
14563
14564 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14565 PyObject *resultobj;
14566 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14567 wxSize result;
14568 PyObject * obj0 = 0 ;
14569 char *kwnames[] = {
14570 (char *) "self", NULL
14571 };
14572
14573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14575 {
14576 PyThreadState* __tstate = wxPyBeginAllowThreads();
14577 result = (arg1)->GetToolMargins();
14578
14579 wxPyEndAllowThreads(__tstate);
14580 if (PyErr_Occurred()) SWIG_fail;
14581 }
14582 {
14583 wxSize * resultptr;
14584 resultptr = new wxSize((wxSize &) result);
14585 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14586 }
14587 return resultobj;
14588 fail:
14589 return NULL;
14590 }
14591
14592
14593 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14594 PyObject *resultobj;
14595 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14596 wxSize result;
14597 PyObject * obj0 = 0 ;
14598 char *kwnames[] = {
14599 (char *) "self", NULL
14600 };
14601
14602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14604 {
14605 PyThreadState* __tstate = wxPyBeginAllowThreads();
14606 result = (arg1)->GetMargins();
14607
14608 wxPyEndAllowThreads(__tstate);
14609 if (PyErr_Occurred()) SWIG_fail;
14610 }
14611 {
14612 wxSize * resultptr;
14613 resultptr = new wxSize((wxSize &) result);
14614 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14615 }
14616 return resultobj;
14617 fail:
14618 return NULL;
14619 }
14620
14621
14622 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14623 PyObject *resultobj;
14624 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14625 int result;
14626 PyObject * obj0 = 0 ;
14627 char *kwnames[] = {
14628 (char *) "self", NULL
14629 };
14630
14631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14633 {
14634 PyThreadState* __tstate = wxPyBeginAllowThreads();
14635 result = (int)(arg1)->GetToolPacking();
14636
14637 wxPyEndAllowThreads(__tstate);
14638 if (PyErr_Occurred()) SWIG_fail;
14639 }
14640 resultobj = PyInt_FromLong((long)result);
14641 return resultobj;
14642 fail:
14643 return NULL;
14644 }
14645
14646
14647 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14648 PyObject *resultobj;
14649 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14650 int result;
14651 PyObject * obj0 = 0 ;
14652 char *kwnames[] = {
14653 (char *) "self", NULL
14654 };
14655
14656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14658 {
14659 PyThreadState* __tstate = wxPyBeginAllowThreads();
14660 result = (int)(arg1)->GetToolSeparation();
14661
14662 wxPyEndAllowThreads(__tstate);
14663 if (PyErr_Occurred()) SWIG_fail;
14664 }
14665 resultobj = PyInt_FromLong((long)result);
14666 return resultobj;
14667 fail:
14668 return NULL;
14669 }
14670
14671
14672 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14673 PyObject *resultobj;
14674 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14675 int arg2 ;
14676 PyObject * obj0 = 0 ;
14677 char *kwnames[] = {
14678 (char *) "self",(char *) "nRows", NULL
14679 };
14680
14681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14683 {
14684 PyThreadState* __tstate = wxPyBeginAllowThreads();
14685 (arg1)->SetRows(arg2);
14686
14687 wxPyEndAllowThreads(__tstate);
14688 if (PyErr_Occurred()) SWIG_fail;
14689 }
14690 Py_INCREF(Py_None); resultobj = Py_None;
14691 return resultobj;
14692 fail:
14693 return NULL;
14694 }
14695
14696
14697 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14698 PyObject *resultobj;
14699 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14700 int arg2 ;
14701 int arg3 ;
14702 PyObject * obj0 = 0 ;
14703 char *kwnames[] = {
14704 (char *) "self",(char *) "rows",(char *) "cols", NULL
14705 };
14706
14707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14709 {
14710 PyThreadState* __tstate = wxPyBeginAllowThreads();
14711 (arg1)->SetMaxRowsCols(arg2,arg3);
14712
14713 wxPyEndAllowThreads(__tstate);
14714 if (PyErr_Occurred()) SWIG_fail;
14715 }
14716 Py_INCREF(Py_None); resultobj = Py_None;
14717 return resultobj;
14718 fail:
14719 return NULL;
14720 }
14721
14722
14723 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14724 PyObject *resultobj;
14725 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14726 int result;
14727 PyObject * obj0 = 0 ;
14728 char *kwnames[] = {
14729 (char *) "self", NULL
14730 };
14731
14732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14734 {
14735 PyThreadState* __tstate = wxPyBeginAllowThreads();
14736 result = (int)(arg1)->GetMaxRows();
14737
14738 wxPyEndAllowThreads(__tstate);
14739 if (PyErr_Occurred()) SWIG_fail;
14740 }
14741 resultobj = PyInt_FromLong((long)result);
14742 return resultobj;
14743 fail:
14744 return NULL;
14745 }
14746
14747
14748 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14749 PyObject *resultobj;
14750 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14751 int result;
14752 PyObject * obj0 = 0 ;
14753 char *kwnames[] = {
14754 (char *) "self", NULL
14755 };
14756
14757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14759 {
14760 PyThreadState* __tstate = wxPyBeginAllowThreads();
14761 result = (int)(arg1)->GetMaxCols();
14762
14763 wxPyEndAllowThreads(__tstate);
14764 if (PyErr_Occurred()) SWIG_fail;
14765 }
14766 resultobj = PyInt_FromLong((long)result);
14767 return resultobj;
14768 fail:
14769 return NULL;
14770 }
14771
14772
14773 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14774 PyObject *resultobj;
14775 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14776 wxSize *arg2 = 0 ;
14777 wxSize temp2 ;
14778 PyObject * obj0 = 0 ;
14779 PyObject * obj1 = 0 ;
14780 char *kwnames[] = {
14781 (char *) "self",(char *) "size", NULL
14782 };
14783
14784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14786 {
14787 arg2 = &temp2;
14788 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14789 }
14790 {
14791 PyThreadState* __tstate = wxPyBeginAllowThreads();
14792 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14793
14794 wxPyEndAllowThreads(__tstate);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 Py_INCREF(Py_None); resultobj = Py_None;
14798 return resultobj;
14799 fail:
14800 return NULL;
14801 }
14802
14803
14804 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14805 PyObject *resultobj;
14806 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14807 wxSize result;
14808 PyObject * obj0 = 0 ;
14809 char *kwnames[] = {
14810 (char *) "self", NULL
14811 };
14812
14813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14815 {
14816 PyThreadState* __tstate = wxPyBeginAllowThreads();
14817 result = (arg1)->GetToolBitmapSize();
14818
14819 wxPyEndAllowThreads(__tstate);
14820 if (PyErr_Occurred()) SWIG_fail;
14821 }
14822 {
14823 wxSize * resultptr;
14824 resultptr = new wxSize((wxSize &) result);
14825 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14826 }
14827 return resultobj;
14828 fail:
14829 return NULL;
14830 }
14831
14832
14833 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14834 PyObject *resultobj;
14835 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14836 wxSize result;
14837 PyObject * obj0 = 0 ;
14838 char *kwnames[] = {
14839 (char *) "self", NULL
14840 };
14841
14842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14844 {
14845 PyThreadState* __tstate = wxPyBeginAllowThreads();
14846 result = (arg1)->GetToolSize();
14847
14848 wxPyEndAllowThreads(__tstate);
14849 if (PyErr_Occurred()) SWIG_fail;
14850 }
14851 {
14852 wxSize * resultptr;
14853 resultptr = new wxSize((wxSize &) result);
14854 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14855 }
14856 return resultobj;
14857 fail:
14858 return NULL;
14859 }
14860
14861
14862 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14863 PyObject *resultobj;
14864 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14865 int arg2 ;
14866 int arg3 ;
14867 wxToolBarToolBase *result;
14868 PyObject * obj0 = 0 ;
14869 char *kwnames[] = {
14870 (char *) "self",(char *) "x",(char *) "y", NULL
14871 };
14872
14873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14875 {
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14878
14879 wxPyEndAllowThreads(__tstate);
14880 if (PyErr_Occurred()) SWIG_fail;
14881 }
14882 {
14883 resultobj = wxPyMake_wxObject(result);
14884 }
14885 return resultobj;
14886 fail:
14887 return NULL;
14888 }
14889
14890
14891 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14892 PyObject *resultobj;
14893 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14894 bool result;
14895 PyObject * obj0 = 0 ;
14896 char *kwnames[] = {
14897 (char *) "self", NULL
14898 };
14899
14900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14902 {
14903 PyThreadState* __tstate = wxPyBeginAllowThreads();
14904 result = (bool)(arg1)->IsVertical();
14905
14906 wxPyEndAllowThreads(__tstate);
14907 if (PyErr_Occurred()) SWIG_fail;
14908 }
14909 resultobj = PyInt_FromLong((long)result);
14910 return resultobj;
14911 fail:
14912 return NULL;
14913 }
14914
14915
14916 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14917 PyObject *obj;
14918 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14919 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14920 Py_INCREF(obj);
14921 return Py_BuildValue((char *)"");
14922 }
14923 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14924 PyObject *resultobj;
14925 wxWindow *arg1 = (wxWindow *) 0 ;
14926 int arg2 ;
14927 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14928 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14929 wxSize const &arg4_defvalue = wxDefaultSize ;
14930 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14931 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14932 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14933 wxString *arg6 = (wxString *) &arg6_defvalue ;
14934 wxToolBar *result;
14935 wxPoint temp3 ;
14936 wxSize temp4 ;
14937 bool temp6 = False ;
14938 PyObject * obj0 = 0 ;
14939 PyObject * obj2 = 0 ;
14940 PyObject * obj3 = 0 ;
14941 PyObject * obj5 = 0 ;
14942 char *kwnames[] = {
14943 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14944 };
14945
14946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14948 if (obj2) {
14949 {
14950 arg3 = &temp3;
14951 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14952 }
14953 }
14954 if (obj3) {
14955 {
14956 arg4 = &temp4;
14957 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14958 }
14959 }
14960 if (obj5) {
14961 {
14962 arg6 = wxString_in_helper(obj5);
14963 if (arg6 == NULL) SWIG_fail;
14964 temp6 = True;
14965 }
14966 }
14967 {
14968 PyThreadState* __tstate = wxPyBeginAllowThreads();
14969 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14970
14971 wxPyEndAllowThreads(__tstate);
14972 if (PyErr_Occurred()) SWIG_fail;
14973 }
14974 {
14975 resultobj = wxPyMake_wxObject(result);
14976 }
14977 {
14978 if (temp6)
14979 delete arg6;
14980 }
14981 return resultobj;
14982 fail:
14983 {
14984 if (temp6)
14985 delete arg6;
14986 }
14987 return NULL;
14988 }
14989
14990
14991 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14992 PyObject *resultobj;
14993 wxToolBar *result;
14994 char *kwnames[] = {
14995 NULL
14996 };
14997
14998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14999 {
15000 PyThreadState* __tstate = wxPyBeginAllowThreads();
15001 result = (wxToolBar *)new wxToolBar();
15002
15003 wxPyEndAllowThreads(__tstate);
15004 if (PyErr_Occurred()) SWIG_fail;
15005 }
15006 {
15007 resultobj = wxPyMake_wxObject(result);
15008 }
15009 return resultobj;
15010 fail:
15011 return NULL;
15012 }
15013
15014
15015 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15016 PyObject *resultobj;
15017 wxToolBar *arg1 = (wxToolBar *) 0 ;
15018 wxWindow *arg2 = (wxWindow *) 0 ;
15019 int arg3 ;
15020 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15021 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15022 wxSize const &arg5_defvalue = wxDefaultSize ;
15023 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15024 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15025 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15026 wxString *arg7 = (wxString *) &arg7_defvalue ;
15027 bool result;
15028 wxPoint temp4 ;
15029 wxSize temp5 ;
15030 bool temp7 = False ;
15031 PyObject * obj0 = 0 ;
15032 PyObject * obj1 = 0 ;
15033 PyObject * obj3 = 0 ;
15034 PyObject * obj4 = 0 ;
15035 PyObject * obj6 = 0 ;
15036 char *kwnames[] = {
15037 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15038 };
15039
15040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15042 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15043 if (obj3) {
15044 {
15045 arg4 = &temp4;
15046 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15047 }
15048 }
15049 if (obj4) {
15050 {
15051 arg5 = &temp5;
15052 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15053 }
15054 }
15055 if (obj6) {
15056 {
15057 arg7 = wxString_in_helper(obj6);
15058 if (arg7 == NULL) SWIG_fail;
15059 temp7 = True;
15060 }
15061 }
15062 {
15063 PyThreadState* __tstate = wxPyBeginAllowThreads();
15064 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15065
15066 wxPyEndAllowThreads(__tstate);
15067 if (PyErr_Occurred()) SWIG_fail;
15068 }
15069 resultobj = PyInt_FromLong((long)result);
15070 {
15071 if (temp7)
15072 delete arg7;
15073 }
15074 return resultobj;
15075 fail:
15076 {
15077 if (temp7)
15078 delete arg7;
15079 }
15080 return NULL;
15081 }
15082
15083
15084 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15085 PyObject *resultobj;
15086 wxToolBar *arg1 = (wxToolBar *) 0 ;
15087 int arg2 ;
15088 int arg3 ;
15089 wxToolBarToolBase *result;
15090 PyObject * obj0 = 0 ;
15091 char *kwnames[] = {
15092 (char *) "self",(char *) "x",(char *) "y", NULL
15093 };
15094
15095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15097 {
15098 PyThreadState* __tstate = wxPyBeginAllowThreads();
15099 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15100
15101 wxPyEndAllowThreads(__tstate);
15102 if (PyErr_Occurred()) SWIG_fail;
15103 }
15104 {
15105 resultobj = wxPyMake_wxObject(result);
15106 }
15107 return resultobj;
15108 fail:
15109 return NULL;
15110 }
15111
15112
15113 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15114 PyObject *obj;
15115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15116 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15117 Py_INCREF(obj);
15118 return Py_BuildValue((char *)"");
15119 }
15120 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15121 PyObject *resultobj;
15122 wxColour const &arg1_defvalue = wxNullColour ;
15123 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15124 wxColour const &arg2_defvalue = wxNullColour ;
15125 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15126 wxFont const &arg3_defvalue = wxNullFont ;
15127 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15128 wxListItemAttr *result;
15129 wxColour temp1 ;
15130 wxColour temp2 ;
15131 PyObject * obj0 = 0 ;
15132 PyObject * obj1 = 0 ;
15133 PyObject * obj2 = 0 ;
15134 char *kwnames[] = {
15135 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15136 };
15137
15138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15139 if (obj0) {
15140 {
15141 arg1 = &temp1;
15142 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15143 }
15144 }
15145 if (obj1) {
15146 {
15147 arg2 = &temp2;
15148 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15149 }
15150 }
15151 if (obj2) {
15152 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15153 if (arg3 == NULL) {
15154 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15155 }
15156 }
15157 {
15158 PyThreadState* __tstate = wxPyBeginAllowThreads();
15159 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15160
15161 wxPyEndAllowThreads(__tstate);
15162 if (PyErr_Occurred()) SWIG_fail;
15163 }
15164 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15165 return resultobj;
15166 fail:
15167 return NULL;
15168 }
15169
15170
15171 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15172 PyObject *resultobj;
15173 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15174 wxColour *arg2 = 0 ;
15175 wxColour temp2 ;
15176 PyObject * obj0 = 0 ;
15177 PyObject * obj1 = 0 ;
15178 char *kwnames[] = {
15179 (char *) "self",(char *) "colText", NULL
15180 };
15181
15182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15184 {
15185 arg2 = &temp2;
15186 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15187 }
15188 {
15189 PyThreadState* __tstate = wxPyBeginAllowThreads();
15190 (arg1)->SetTextColour((wxColour const &)*arg2);
15191
15192 wxPyEndAllowThreads(__tstate);
15193 if (PyErr_Occurred()) SWIG_fail;
15194 }
15195 Py_INCREF(Py_None); resultobj = Py_None;
15196 return resultobj;
15197 fail:
15198 return NULL;
15199 }
15200
15201
15202 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15203 PyObject *resultobj;
15204 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15205 wxColour *arg2 = 0 ;
15206 wxColour temp2 ;
15207 PyObject * obj0 = 0 ;
15208 PyObject * obj1 = 0 ;
15209 char *kwnames[] = {
15210 (char *) "self",(char *) "colBack", NULL
15211 };
15212
15213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15215 {
15216 arg2 = &temp2;
15217 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15218 }
15219 {
15220 PyThreadState* __tstate = wxPyBeginAllowThreads();
15221 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15222
15223 wxPyEndAllowThreads(__tstate);
15224 if (PyErr_Occurred()) SWIG_fail;
15225 }
15226 Py_INCREF(Py_None); resultobj = Py_None;
15227 return resultobj;
15228 fail:
15229 return NULL;
15230 }
15231
15232
15233 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15234 PyObject *resultobj;
15235 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15236 wxFont *arg2 = 0 ;
15237 PyObject * obj0 = 0 ;
15238 PyObject * obj1 = 0 ;
15239 char *kwnames[] = {
15240 (char *) "self",(char *) "font", NULL
15241 };
15242
15243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15245 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15246 if (arg2 == NULL) {
15247 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15248 }
15249 {
15250 PyThreadState* __tstate = wxPyBeginAllowThreads();
15251 (arg1)->SetFont((wxFont const &)*arg2);
15252
15253 wxPyEndAllowThreads(__tstate);
15254 if (PyErr_Occurred()) SWIG_fail;
15255 }
15256 Py_INCREF(Py_None); resultobj = Py_None;
15257 return resultobj;
15258 fail:
15259 return NULL;
15260 }
15261
15262
15263 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15264 PyObject *resultobj;
15265 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15266 bool result;
15267 PyObject * obj0 = 0 ;
15268 char *kwnames[] = {
15269 (char *) "self", NULL
15270 };
15271
15272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15274 {
15275 PyThreadState* __tstate = wxPyBeginAllowThreads();
15276 result = (bool)(arg1)->HasTextColour();
15277
15278 wxPyEndAllowThreads(__tstate);
15279 if (PyErr_Occurred()) SWIG_fail;
15280 }
15281 resultobj = PyInt_FromLong((long)result);
15282 return resultobj;
15283 fail:
15284 return NULL;
15285 }
15286
15287
15288 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15289 PyObject *resultobj;
15290 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15291 bool result;
15292 PyObject * obj0 = 0 ;
15293 char *kwnames[] = {
15294 (char *) "self", NULL
15295 };
15296
15297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15299 {
15300 PyThreadState* __tstate = wxPyBeginAllowThreads();
15301 result = (bool)(arg1)->HasBackgroundColour();
15302
15303 wxPyEndAllowThreads(__tstate);
15304 if (PyErr_Occurred()) SWIG_fail;
15305 }
15306 resultobj = PyInt_FromLong((long)result);
15307 return resultobj;
15308 fail:
15309 return NULL;
15310 }
15311
15312
15313 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15314 PyObject *resultobj;
15315 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15316 bool result;
15317 PyObject * obj0 = 0 ;
15318 char *kwnames[] = {
15319 (char *) "self", NULL
15320 };
15321
15322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15324 {
15325 PyThreadState* __tstate = wxPyBeginAllowThreads();
15326 result = (bool)(arg1)->HasFont();
15327
15328 wxPyEndAllowThreads(__tstate);
15329 if (PyErr_Occurred()) SWIG_fail;
15330 }
15331 resultobj = PyInt_FromLong((long)result);
15332 return resultobj;
15333 fail:
15334 return NULL;
15335 }
15336
15337
15338 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15339 PyObject *resultobj;
15340 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15341 wxColour result;
15342 PyObject * obj0 = 0 ;
15343 char *kwnames[] = {
15344 (char *) "self", NULL
15345 };
15346
15347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15349 {
15350 PyThreadState* __tstate = wxPyBeginAllowThreads();
15351 result = (arg1)->GetTextColour();
15352
15353 wxPyEndAllowThreads(__tstate);
15354 if (PyErr_Occurred()) SWIG_fail;
15355 }
15356 {
15357 wxColour * resultptr;
15358 resultptr = new wxColour((wxColour &) result);
15359 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15360 }
15361 return resultobj;
15362 fail:
15363 return NULL;
15364 }
15365
15366
15367 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15368 PyObject *resultobj;
15369 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15370 wxColour result;
15371 PyObject * obj0 = 0 ;
15372 char *kwnames[] = {
15373 (char *) "self", NULL
15374 };
15375
15376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15378 {
15379 PyThreadState* __tstate = wxPyBeginAllowThreads();
15380 result = (arg1)->GetBackgroundColour();
15381
15382 wxPyEndAllowThreads(__tstate);
15383 if (PyErr_Occurred()) SWIG_fail;
15384 }
15385 {
15386 wxColour * resultptr;
15387 resultptr = new wxColour((wxColour &) result);
15388 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15389 }
15390 return resultobj;
15391 fail:
15392 return NULL;
15393 }
15394
15395
15396 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15397 PyObject *resultobj;
15398 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15399 wxFont result;
15400 PyObject * obj0 = 0 ;
15401 char *kwnames[] = {
15402 (char *) "self", NULL
15403 };
15404
15405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15407 {
15408 PyThreadState* __tstate = wxPyBeginAllowThreads();
15409 result = (arg1)->GetFont();
15410
15411 wxPyEndAllowThreads(__tstate);
15412 if (PyErr_Occurred()) SWIG_fail;
15413 }
15414 {
15415 wxFont * resultptr;
15416 resultptr = new wxFont((wxFont &) result);
15417 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15418 }
15419 return resultobj;
15420 fail:
15421 return NULL;
15422 }
15423
15424
15425 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15426 PyObject *resultobj;
15427 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15428 PyObject * obj0 = 0 ;
15429 char *kwnames[] = {
15430 (char *) "self", NULL
15431 };
15432
15433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15435 {
15436 PyThreadState* __tstate = wxPyBeginAllowThreads();
15437 wxListItemAttr_Destroy(arg1);
15438
15439 wxPyEndAllowThreads(__tstate);
15440 if (PyErr_Occurred()) SWIG_fail;
15441 }
15442 Py_INCREF(Py_None); resultobj = Py_None;
15443 return resultobj;
15444 fail:
15445 return NULL;
15446 }
15447
15448
15449 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15450 PyObject *obj;
15451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15452 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15453 Py_INCREF(obj);
15454 return Py_BuildValue((char *)"");
15455 }
15456 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15457 PyObject *resultobj;
15458 wxListItem *result;
15459 char *kwnames[] = {
15460 NULL
15461 };
15462
15463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15464 {
15465 PyThreadState* __tstate = wxPyBeginAllowThreads();
15466 result = (wxListItem *)new wxListItem();
15467
15468 wxPyEndAllowThreads(__tstate);
15469 if (PyErr_Occurred()) SWIG_fail;
15470 }
15471 {
15472 resultobj = wxPyMake_wxObject(result);
15473 }
15474 return resultobj;
15475 fail:
15476 return NULL;
15477 }
15478
15479
15480 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15481 PyObject *resultobj;
15482 wxListItem *arg1 = (wxListItem *) 0 ;
15483 PyObject * obj0 = 0 ;
15484 char *kwnames[] = {
15485 (char *) "self", NULL
15486 };
15487
15488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15490 {
15491 PyThreadState* __tstate = wxPyBeginAllowThreads();
15492 delete arg1;
15493
15494 wxPyEndAllowThreads(__tstate);
15495 if (PyErr_Occurred()) SWIG_fail;
15496 }
15497 Py_INCREF(Py_None); resultobj = Py_None;
15498 return resultobj;
15499 fail:
15500 return NULL;
15501 }
15502
15503
15504 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15505 PyObject *resultobj;
15506 wxListItem *arg1 = (wxListItem *) 0 ;
15507 PyObject * obj0 = 0 ;
15508 char *kwnames[] = {
15509 (char *) "self", NULL
15510 };
15511
15512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15514 {
15515 PyThreadState* __tstate = wxPyBeginAllowThreads();
15516 (arg1)->Clear();
15517
15518 wxPyEndAllowThreads(__tstate);
15519 if (PyErr_Occurred()) SWIG_fail;
15520 }
15521 Py_INCREF(Py_None); resultobj = Py_None;
15522 return resultobj;
15523 fail:
15524 return NULL;
15525 }
15526
15527
15528 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15529 PyObject *resultobj;
15530 wxListItem *arg1 = (wxListItem *) 0 ;
15531 PyObject * obj0 = 0 ;
15532 char *kwnames[] = {
15533 (char *) "self", NULL
15534 };
15535
15536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15538 {
15539 PyThreadState* __tstate = wxPyBeginAllowThreads();
15540 (arg1)->ClearAttributes();
15541
15542 wxPyEndAllowThreads(__tstate);
15543 if (PyErr_Occurred()) SWIG_fail;
15544 }
15545 Py_INCREF(Py_None); resultobj = Py_None;
15546 return resultobj;
15547 fail:
15548 return NULL;
15549 }
15550
15551
15552 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15553 PyObject *resultobj;
15554 wxListItem *arg1 = (wxListItem *) 0 ;
15555 long arg2 ;
15556 PyObject * obj0 = 0 ;
15557 char *kwnames[] = {
15558 (char *) "self",(char *) "mask", NULL
15559 };
15560
15561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15563 {
15564 PyThreadState* __tstate = wxPyBeginAllowThreads();
15565 (arg1)->SetMask(arg2);
15566
15567 wxPyEndAllowThreads(__tstate);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 }
15570 Py_INCREF(Py_None); resultobj = Py_None;
15571 return resultobj;
15572 fail:
15573 return NULL;
15574 }
15575
15576
15577 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15578 PyObject *resultobj;
15579 wxListItem *arg1 = (wxListItem *) 0 ;
15580 long arg2 ;
15581 PyObject * obj0 = 0 ;
15582 char *kwnames[] = {
15583 (char *) "self",(char *) "id", NULL
15584 };
15585
15586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 (arg1)->SetId(arg2);
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 Py_INCREF(Py_None); resultobj = Py_None;
15596 return resultobj;
15597 fail:
15598 return NULL;
15599 }
15600
15601
15602 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15603 PyObject *resultobj;
15604 wxListItem *arg1 = (wxListItem *) 0 ;
15605 int arg2 ;
15606 PyObject * obj0 = 0 ;
15607 char *kwnames[] = {
15608 (char *) "self",(char *) "col", NULL
15609 };
15610
15611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15613 {
15614 PyThreadState* __tstate = wxPyBeginAllowThreads();
15615 (arg1)->SetColumn(arg2);
15616
15617 wxPyEndAllowThreads(__tstate);
15618 if (PyErr_Occurred()) SWIG_fail;
15619 }
15620 Py_INCREF(Py_None); resultobj = Py_None;
15621 return resultobj;
15622 fail:
15623 return NULL;
15624 }
15625
15626
15627 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15628 PyObject *resultobj;
15629 wxListItem *arg1 = (wxListItem *) 0 ;
15630 long arg2 ;
15631 PyObject * obj0 = 0 ;
15632 char *kwnames[] = {
15633 (char *) "self",(char *) "state", NULL
15634 };
15635
15636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15638 {
15639 PyThreadState* __tstate = wxPyBeginAllowThreads();
15640 (arg1)->SetState(arg2);
15641
15642 wxPyEndAllowThreads(__tstate);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 }
15645 Py_INCREF(Py_None); resultobj = Py_None;
15646 return resultobj;
15647 fail:
15648 return NULL;
15649 }
15650
15651
15652 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15653 PyObject *resultobj;
15654 wxListItem *arg1 = (wxListItem *) 0 ;
15655 long arg2 ;
15656 PyObject * obj0 = 0 ;
15657 char *kwnames[] = {
15658 (char *) "self",(char *) "stateMask", NULL
15659 };
15660
15661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15663 {
15664 PyThreadState* __tstate = wxPyBeginAllowThreads();
15665 (arg1)->SetStateMask(arg2);
15666
15667 wxPyEndAllowThreads(__tstate);
15668 if (PyErr_Occurred()) SWIG_fail;
15669 }
15670 Py_INCREF(Py_None); resultobj = Py_None;
15671 return resultobj;
15672 fail:
15673 return NULL;
15674 }
15675
15676
15677 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15678 PyObject *resultobj;
15679 wxListItem *arg1 = (wxListItem *) 0 ;
15680 wxString *arg2 = 0 ;
15681 bool temp2 = False ;
15682 PyObject * obj0 = 0 ;
15683 PyObject * obj1 = 0 ;
15684 char *kwnames[] = {
15685 (char *) "self",(char *) "text", NULL
15686 };
15687
15688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15690 {
15691 arg2 = wxString_in_helper(obj1);
15692 if (arg2 == NULL) SWIG_fail;
15693 temp2 = True;
15694 }
15695 {
15696 PyThreadState* __tstate = wxPyBeginAllowThreads();
15697 (arg1)->SetText((wxString const &)*arg2);
15698
15699 wxPyEndAllowThreads(__tstate);
15700 if (PyErr_Occurred()) SWIG_fail;
15701 }
15702 Py_INCREF(Py_None); resultobj = Py_None;
15703 {
15704 if (temp2)
15705 delete arg2;
15706 }
15707 return resultobj;
15708 fail:
15709 {
15710 if (temp2)
15711 delete arg2;
15712 }
15713 return NULL;
15714 }
15715
15716
15717 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15718 PyObject *resultobj;
15719 wxListItem *arg1 = (wxListItem *) 0 ;
15720 int arg2 ;
15721 PyObject * obj0 = 0 ;
15722 char *kwnames[] = {
15723 (char *) "self",(char *) "image", NULL
15724 };
15725
15726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15728 {
15729 PyThreadState* __tstate = wxPyBeginAllowThreads();
15730 (arg1)->SetImage(arg2);
15731
15732 wxPyEndAllowThreads(__tstate);
15733 if (PyErr_Occurred()) SWIG_fail;
15734 }
15735 Py_INCREF(Py_None); resultobj = Py_None;
15736 return resultobj;
15737 fail:
15738 return NULL;
15739 }
15740
15741
15742 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15743 PyObject *resultobj;
15744 wxListItem *arg1 = (wxListItem *) 0 ;
15745 long arg2 ;
15746 PyObject * obj0 = 0 ;
15747 char *kwnames[] = {
15748 (char *) "self",(char *) "data", NULL
15749 };
15750
15751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15753 {
15754 PyThreadState* __tstate = wxPyBeginAllowThreads();
15755 (arg1)->SetData(arg2);
15756
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 Py_INCREF(Py_None); resultobj = Py_None;
15761 return resultobj;
15762 fail:
15763 return NULL;
15764 }
15765
15766
15767 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15768 PyObject *resultobj;
15769 wxListItem *arg1 = (wxListItem *) 0 ;
15770 int arg2 ;
15771 PyObject * obj0 = 0 ;
15772 char *kwnames[] = {
15773 (char *) "self",(char *) "width", NULL
15774 };
15775
15776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
15777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15778 {
15779 PyThreadState* __tstate = wxPyBeginAllowThreads();
15780 (arg1)->SetWidth(arg2);
15781
15782 wxPyEndAllowThreads(__tstate);
15783 if (PyErr_Occurred()) SWIG_fail;
15784 }
15785 Py_INCREF(Py_None); resultobj = Py_None;
15786 return resultobj;
15787 fail:
15788 return NULL;
15789 }
15790
15791
15792 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15793 PyObject *resultobj;
15794 wxListItem *arg1 = (wxListItem *) 0 ;
15795 int arg2 ;
15796 PyObject * obj0 = 0 ;
15797 char *kwnames[] = {
15798 (char *) "self",(char *) "align", NULL
15799 };
15800
15801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15803 {
15804 PyThreadState* __tstate = wxPyBeginAllowThreads();
15805 (arg1)->SetAlign((wxListColumnFormat )arg2);
15806
15807 wxPyEndAllowThreads(__tstate);
15808 if (PyErr_Occurred()) SWIG_fail;
15809 }
15810 Py_INCREF(Py_None); resultobj = Py_None;
15811 return resultobj;
15812 fail:
15813 return NULL;
15814 }
15815
15816
15817 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15818 PyObject *resultobj;
15819 wxListItem *arg1 = (wxListItem *) 0 ;
15820 wxColour *arg2 = 0 ;
15821 wxColour temp2 ;
15822 PyObject * obj0 = 0 ;
15823 PyObject * obj1 = 0 ;
15824 char *kwnames[] = {
15825 (char *) "self",(char *) "colText", NULL
15826 };
15827
15828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15830 {
15831 arg2 = &temp2;
15832 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15833 }
15834 {
15835 PyThreadState* __tstate = wxPyBeginAllowThreads();
15836 (arg1)->SetTextColour((wxColour const &)*arg2);
15837
15838 wxPyEndAllowThreads(__tstate);
15839 if (PyErr_Occurred()) SWIG_fail;
15840 }
15841 Py_INCREF(Py_None); resultobj = Py_None;
15842 return resultobj;
15843 fail:
15844 return NULL;
15845 }
15846
15847
15848 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15849 PyObject *resultobj;
15850 wxListItem *arg1 = (wxListItem *) 0 ;
15851 wxColour *arg2 = 0 ;
15852 wxColour temp2 ;
15853 PyObject * obj0 = 0 ;
15854 PyObject * obj1 = 0 ;
15855 char *kwnames[] = {
15856 (char *) "self",(char *) "colBack", NULL
15857 };
15858
15859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15861 {
15862 arg2 = &temp2;
15863 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15864 }
15865 {
15866 PyThreadState* __tstate = wxPyBeginAllowThreads();
15867 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15868
15869 wxPyEndAllowThreads(__tstate);
15870 if (PyErr_Occurred()) SWIG_fail;
15871 }
15872 Py_INCREF(Py_None); resultobj = Py_None;
15873 return resultobj;
15874 fail:
15875 return NULL;
15876 }
15877
15878
15879 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15880 PyObject *resultobj;
15881 wxListItem *arg1 = (wxListItem *) 0 ;
15882 wxFont *arg2 = 0 ;
15883 PyObject * obj0 = 0 ;
15884 PyObject * obj1 = 0 ;
15885 char *kwnames[] = {
15886 (char *) "self",(char *) "font", NULL
15887 };
15888
15889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15891 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15892 if (arg2 == NULL) {
15893 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15894 }
15895 {
15896 PyThreadState* __tstate = wxPyBeginAllowThreads();
15897 (arg1)->SetFont((wxFont const &)*arg2);
15898
15899 wxPyEndAllowThreads(__tstate);
15900 if (PyErr_Occurred()) SWIG_fail;
15901 }
15902 Py_INCREF(Py_None); resultobj = Py_None;
15903 return resultobj;
15904 fail:
15905 return NULL;
15906 }
15907
15908
15909 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15910 PyObject *resultobj;
15911 wxListItem *arg1 = (wxListItem *) 0 ;
15912 long result;
15913 PyObject * obj0 = 0 ;
15914 char *kwnames[] = {
15915 (char *) "self", NULL
15916 };
15917
15918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15920 {
15921 PyThreadState* __tstate = wxPyBeginAllowThreads();
15922 result = (long)(arg1)->GetMask();
15923
15924 wxPyEndAllowThreads(__tstate);
15925 if (PyErr_Occurred()) SWIG_fail;
15926 }
15927 resultobj = PyInt_FromLong((long)result);
15928 return resultobj;
15929 fail:
15930 return NULL;
15931 }
15932
15933
15934 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15935 PyObject *resultobj;
15936 wxListItem *arg1 = (wxListItem *) 0 ;
15937 long result;
15938 PyObject * obj0 = 0 ;
15939 char *kwnames[] = {
15940 (char *) "self", NULL
15941 };
15942
15943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15945 {
15946 PyThreadState* __tstate = wxPyBeginAllowThreads();
15947 result = (long)(arg1)->GetId();
15948
15949 wxPyEndAllowThreads(__tstate);
15950 if (PyErr_Occurred()) SWIG_fail;
15951 }
15952 resultobj = PyInt_FromLong((long)result);
15953 return resultobj;
15954 fail:
15955 return NULL;
15956 }
15957
15958
15959 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15960 PyObject *resultobj;
15961 wxListItem *arg1 = (wxListItem *) 0 ;
15962 int result;
15963 PyObject * obj0 = 0 ;
15964 char *kwnames[] = {
15965 (char *) "self", NULL
15966 };
15967
15968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15970 {
15971 PyThreadState* __tstate = wxPyBeginAllowThreads();
15972 result = (int)(arg1)->GetColumn();
15973
15974 wxPyEndAllowThreads(__tstate);
15975 if (PyErr_Occurred()) SWIG_fail;
15976 }
15977 resultobj = PyInt_FromLong((long)result);
15978 return resultobj;
15979 fail:
15980 return NULL;
15981 }
15982
15983
15984 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15985 PyObject *resultobj;
15986 wxListItem *arg1 = (wxListItem *) 0 ;
15987 long result;
15988 PyObject * obj0 = 0 ;
15989 char *kwnames[] = {
15990 (char *) "self", NULL
15991 };
15992
15993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15995 {
15996 PyThreadState* __tstate = wxPyBeginAllowThreads();
15997 result = (long)(arg1)->GetState();
15998
15999 wxPyEndAllowThreads(__tstate);
16000 if (PyErr_Occurred()) SWIG_fail;
16001 }
16002 resultobj = PyInt_FromLong((long)result);
16003 return resultobj;
16004 fail:
16005 return NULL;
16006 }
16007
16008
16009 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16010 PyObject *resultobj;
16011 wxListItem *arg1 = (wxListItem *) 0 ;
16012 wxString *result;
16013 PyObject * obj0 = 0 ;
16014 char *kwnames[] = {
16015 (char *) "self", NULL
16016 };
16017
16018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
16019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16020 {
16021 PyThreadState* __tstate = wxPyBeginAllowThreads();
16022 {
16023 wxString const &_result_ref = (arg1)->GetText();
16024 result = (wxString *) &_result_ref;
16025 }
16026
16027 wxPyEndAllowThreads(__tstate);
16028 if (PyErr_Occurred()) SWIG_fail;
16029 }
16030 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
16031 return resultobj;
16032 fail:
16033 return NULL;
16034 }
16035
16036
16037 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16038 PyObject *resultobj;
16039 wxListItem *arg1 = (wxListItem *) 0 ;
16040 int result;
16041 PyObject * obj0 = 0 ;
16042 char *kwnames[] = {
16043 (char *) "self", NULL
16044 };
16045
16046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16048 {
16049 PyThreadState* __tstate = wxPyBeginAllowThreads();
16050 result = (int)(arg1)->GetImage();
16051
16052 wxPyEndAllowThreads(__tstate);
16053 if (PyErr_Occurred()) SWIG_fail;
16054 }
16055 resultobj = PyInt_FromLong((long)result);
16056 return resultobj;
16057 fail:
16058 return NULL;
16059 }
16060
16061
16062 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16063 PyObject *resultobj;
16064 wxListItem *arg1 = (wxListItem *) 0 ;
16065 long result;
16066 PyObject * obj0 = 0 ;
16067 char *kwnames[] = {
16068 (char *) "self", NULL
16069 };
16070
16071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16073 {
16074 PyThreadState* __tstate = wxPyBeginAllowThreads();
16075 result = (long)(arg1)->GetData();
16076
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 resultobj = PyInt_FromLong((long)result);
16081 return resultobj;
16082 fail:
16083 return NULL;
16084 }
16085
16086
16087 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16088 PyObject *resultobj;
16089 wxListItem *arg1 = (wxListItem *) 0 ;
16090 int result;
16091 PyObject * obj0 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "self", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16098 {
16099 PyThreadState* __tstate = wxPyBeginAllowThreads();
16100 result = (int)(arg1)->GetWidth();
16101
16102 wxPyEndAllowThreads(__tstate);
16103 if (PyErr_Occurred()) SWIG_fail;
16104 }
16105 resultobj = PyInt_FromLong((long)result);
16106 return resultobj;
16107 fail:
16108 return NULL;
16109 }
16110
16111
16112 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16113 PyObject *resultobj;
16114 wxListItem *arg1 = (wxListItem *) 0 ;
16115 int result;
16116 PyObject * obj0 = 0 ;
16117 char *kwnames[] = {
16118 (char *) "self", NULL
16119 };
16120
16121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16123 {
16124 PyThreadState* __tstate = wxPyBeginAllowThreads();
16125 result = (int)(arg1)->GetAlign();
16126
16127 wxPyEndAllowThreads(__tstate);
16128 if (PyErr_Occurred()) SWIG_fail;
16129 }
16130 resultobj = PyInt_FromLong((long)result);
16131 return resultobj;
16132 fail:
16133 return NULL;
16134 }
16135
16136
16137 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16138 PyObject *resultobj;
16139 wxListItem *arg1 = (wxListItem *) 0 ;
16140 wxListItemAttr *result;
16141 PyObject * obj0 = 0 ;
16142 char *kwnames[] = {
16143 (char *) "self", NULL
16144 };
16145
16146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16148 {
16149 PyThreadState* __tstate = wxPyBeginAllowThreads();
16150 result = (wxListItemAttr *)(arg1)->GetAttributes();
16151
16152 wxPyEndAllowThreads(__tstate);
16153 if (PyErr_Occurred()) SWIG_fail;
16154 }
16155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16156 return resultobj;
16157 fail:
16158 return NULL;
16159 }
16160
16161
16162 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16163 PyObject *resultobj;
16164 wxListItem *arg1 = (wxListItem *) 0 ;
16165 bool result;
16166 PyObject * obj0 = 0 ;
16167 char *kwnames[] = {
16168 (char *) "self", NULL
16169 };
16170
16171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 result = (bool)(arg1)->HasAttributes();
16176
16177 wxPyEndAllowThreads(__tstate);
16178 if (PyErr_Occurred()) SWIG_fail;
16179 }
16180 resultobj = PyInt_FromLong((long)result);
16181 return resultobj;
16182 fail:
16183 return NULL;
16184 }
16185
16186
16187 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16188 PyObject *resultobj;
16189 wxListItem *arg1 = (wxListItem *) 0 ;
16190 wxColour result;
16191 PyObject * obj0 = 0 ;
16192 char *kwnames[] = {
16193 (char *) "self", NULL
16194 };
16195
16196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16198 {
16199 PyThreadState* __tstate = wxPyBeginAllowThreads();
16200 result = ((wxListItem const *)arg1)->GetTextColour();
16201
16202 wxPyEndAllowThreads(__tstate);
16203 if (PyErr_Occurred()) SWIG_fail;
16204 }
16205 {
16206 wxColour * resultptr;
16207 resultptr = new wxColour((wxColour &) result);
16208 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16209 }
16210 return resultobj;
16211 fail:
16212 return NULL;
16213 }
16214
16215
16216 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16217 PyObject *resultobj;
16218 wxListItem *arg1 = (wxListItem *) 0 ;
16219 wxColour result;
16220 PyObject * obj0 = 0 ;
16221 char *kwnames[] = {
16222 (char *) "self", NULL
16223 };
16224
16225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16227 {
16228 PyThreadState* __tstate = wxPyBeginAllowThreads();
16229 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16230
16231 wxPyEndAllowThreads(__tstate);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 {
16235 wxColour * resultptr;
16236 resultptr = new wxColour((wxColour &) result);
16237 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16238 }
16239 return resultobj;
16240 fail:
16241 return NULL;
16242 }
16243
16244
16245 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16246 PyObject *resultobj;
16247 wxListItem *arg1 = (wxListItem *) 0 ;
16248 wxFont result;
16249 PyObject * obj0 = 0 ;
16250 char *kwnames[] = {
16251 (char *) "self", NULL
16252 };
16253
16254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16256 {
16257 PyThreadState* __tstate = wxPyBeginAllowThreads();
16258 result = ((wxListItem const *)arg1)->GetFont();
16259
16260 wxPyEndAllowThreads(__tstate);
16261 if (PyErr_Occurred()) SWIG_fail;
16262 }
16263 {
16264 wxFont * resultptr;
16265 resultptr = new wxFont((wxFont &) result);
16266 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16267 }
16268 return resultobj;
16269 fail:
16270 return NULL;
16271 }
16272
16273
16274 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16275 PyObject *resultobj;
16276 wxListItem *arg1 = (wxListItem *) 0 ;
16277 long arg2 ;
16278 PyObject * obj0 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self",(char *) "m_mask", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16285 if (arg1) (arg1)->m_mask = arg2;
16286
16287 Py_INCREF(Py_None); resultobj = Py_None;
16288 return resultobj;
16289 fail:
16290 return NULL;
16291 }
16292
16293
16294 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16295 PyObject *resultobj;
16296 wxListItem *arg1 = (wxListItem *) 0 ;
16297 long result;
16298 PyObject * obj0 = 0 ;
16299 char *kwnames[] = {
16300 (char *) "self", NULL
16301 };
16302
16303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16305 result = (long) ((arg1)->m_mask);
16306
16307 resultobj = PyInt_FromLong((long)result);
16308 return resultobj;
16309 fail:
16310 return NULL;
16311 }
16312
16313
16314 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj;
16316 wxListItem *arg1 = (wxListItem *) 0 ;
16317 long arg2 ;
16318 PyObject * obj0 = 0 ;
16319 char *kwnames[] = {
16320 (char *) "self",(char *) "m_itemId", NULL
16321 };
16322
16323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16325 if (arg1) (arg1)->m_itemId = arg2;
16326
16327 Py_INCREF(Py_None); resultobj = Py_None;
16328 return resultobj;
16329 fail:
16330 return NULL;
16331 }
16332
16333
16334 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16335 PyObject *resultobj;
16336 wxListItem *arg1 = (wxListItem *) 0 ;
16337 long result;
16338 PyObject * obj0 = 0 ;
16339 char *kwnames[] = {
16340 (char *) "self", NULL
16341 };
16342
16343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16345 result = (long) ((arg1)->m_itemId);
16346
16347 resultobj = PyInt_FromLong((long)result);
16348 return resultobj;
16349 fail:
16350 return NULL;
16351 }
16352
16353
16354 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16355 PyObject *resultobj;
16356 wxListItem *arg1 = (wxListItem *) 0 ;
16357 int arg2 ;
16358 PyObject * obj0 = 0 ;
16359 char *kwnames[] = {
16360 (char *) "self",(char *) "m_col", NULL
16361 };
16362
16363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16365 if (arg1) (arg1)->m_col = arg2;
16366
16367 Py_INCREF(Py_None); resultobj = Py_None;
16368 return resultobj;
16369 fail:
16370 return NULL;
16371 }
16372
16373
16374 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16375 PyObject *resultobj;
16376 wxListItem *arg1 = (wxListItem *) 0 ;
16377 int result;
16378 PyObject * obj0 = 0 ;
16379 char *kwnames[] = {
16380 (char *) "self", NULL
16381 };
16382
16383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16385 result = (int) ((arg1)->m_col);
16386
16387 resultobj = PyInt_FromLong((long)result);
16388 return resultobj;
16389 fail:
16390 return NULL;
16391 }
16392
16393
16394 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16395 PyObject *resultobj;
16396 wxListItem *arg1 = (wxListItem *) 0 ;
16397 long arg2 ;
16398 PyObject * obj0 = 0 ;
16399 char *kwnames[] = {
16400 (char *) "self",(char *) "m_state", NULL
16401 };
16402
16403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16405 if (arg1) (arg1)->m_state = arg2;
16406
16407 Py_INCREF(Py_None); resultobj = Py_None;
16408 return resultobj;
16409 fail:
16410 return NULL;
16411 }
16412
16413
16414 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16415 PyObject *resultobj;
16416 wxListItem *arg1 = (wxListItem *) 0 ;
16417 long result;
16418 PyObject * obj0 = 0 ;
16419 char *kwnames[] = {
16420 (char *) "self", NULL
16421 };
16422
16423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16425 result = (long) ((arg1)->m_state);
16426
16427 resultobj = PyInt_FromLong((long)result);
16428 return resultobj;
16429 fail:
16430 return NULL;
16431 }
16432
16433
16434 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16435 PyObject *resultobj;
16436 wxListItem *arg1 = (wxListItem *) 0 ;
16437 long arg2 ;
16438 PyObject * obj0 = 0 ;
16439 char *kwnames[] = {
16440 (char *) "self",(char *) "m_stateMask", NULL
16441 };
16442
16443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16445 if (arg1) (arg1)->m_stateMask = arg2;
16446
16447 Py_INCREF(Py_None); resultobj = Py_None;
16448 return resultobj;
16449 fail:
16450 return NULL;
16451 }
16452
16453
16454 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16455 PyObject *resultobj;
16456 wxListItem *arg1 = (wxListItem *) 0 ;
16457 long result;
16458 PyObject * obj0 = 0 ;
16459 char *kwnames[] = {
16460 (char *) "self", NULL
16461 };
16462
16463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16465 result = (long) ((arg1)->m_stateMask);
16466
16467 resultobj = PyInt_FromLong((long)result);
16468 return resultobj;
16469 fail:
16470 return NULL;
16471 }
16472
16473
16474 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16475 PyObject *resultobj;
16476 wxListItem *arg1 = (wxListItem *) 0 ;
16477 wxString arg2 ;
16478 PyObject * obj0 = 0 ;
16479 PyObject * obj1 = 0 ;
16480 char *kwnames[] = {
16481 (char *) "self",(char *) "m_text", NULL
16482 };
16483
16484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16486 {
16487 wxString* sptr = wxString_in_helper(obj1);
16488 if (sptr == NULL) SWIG_fail;
16489 arg2 = *sptr;
16490 delete sptr;
16491 }
16492 if (arg1) (arg1)->m_text = arg2;
16493
16494 Py_INCREF(Py_None); resultobj = Py_None;
16495 return resultobj;
16496 fail:
16497 return NULL;
16498 }
16499
16500
16501 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16502 PyObject *resultobj;
16503 wxListItem *arg1 = (wxListItem *) 0 ;
16504 wxString result;
16505 PyObject * obj0 = 0 ;
16506 char *kwnames[] = {
16507 (char *) "self", NULL
16508 };
16509
16510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16512 result = ((arg1)->m_text);
16513
16514 {
16515 #if wxUSE_UNICODE
16516 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16517 #else
16518 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16519 #endif
16520 }
16521 return resultobj;
16522 fail:
16523 return NULL;
16524 }
16525
16526
16527 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16528 PyObject *resultobj;
16529 wxListItem *arg1 = (wxListItem *) 0 ;
16530 int arg2 ;
16531 PyObject * obj0 = 0 ;
16532 char *kwnames[] = {
16533 (char *) "self",(char *) "m_image", NULL
16534 };
16535
16536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16538 if (arg1) (arg1)->m_image = arg2;
16539
16540 Py_INCREF(Py_None); resultobj = Py_None;
16541 return resultobj;
16542 fail:
16543 return NULL;
16544 }
16545
16546
16547 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16548 PyObject *resultobj;
16549 wxListItem *arg1 = (wxListItem *) 0 ;
16550 int result;
16551 PyObject * obj0 = 0 ;
16552 char *kwnames[] = {
16553 (char *) "self", NULL
16554 };
16555
16556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16558 result = (int) ((arg1)->m_image);
16559
16560 resultobj = PyInt_FromLong((long)result);
16561 return resultobj;
16562 fail:
16563 return NULL;
16564 }
16565
16566
16567 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16568 PyObject *resultobj;
16569 wxListItem *arg1 = (wxListItem *) 0 ;
16570 long arg2 ;
16571 PyObject * obj0 = 0 ;
16572 char *kwnames[] = {
16573 (char *) "self",(char *) "m_data", NULL
16574 };
16575
16576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16578 if (arg1) (arg1)->m_data = arg2;
16579
16580 Py_INCREF(Py_None); resultobj = Py_None;
16581 return resultobj;
16582 fail:
16583 return NULL;
16584 }
16585
16586
16587 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16588 PyObject *resultobj;
16589 wxListItem *arg1 = (wxListItem *) 0 ;
16590 long result;
16591 PyObject * obj0 = 0 ;
16592 char *kwnames[] = {
16593 (char *) "self", NULL
16594 };
16595
16596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16598 result = (long) ((arg1)->m_data);
16599
16600 resultobj = PyInt_FromLong((long)result);
16601 return resultobj;
16602 fail:
16603 return NULL;
16604 }
16605
16606
16607 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16608 PyObject *resultobj;
16609 wxListItem *arg1 = (wxListItem *) 0 ;
16610 int arg2 ;
16611 PyObject * obj0 = 0 ;
16612 char *kwnames[] = {
16613 (char *) "self",(char *) "m_format", NULL
16614 };
16615
16616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16618 if (arg1) (arg1)->m_format = arg2;
16619
16620 Py_INCREF(Py_None); resultobj = Py_None;
16621 return resultobj;
16622 fail:
16623 return NULL;
16624 }
16625
16626
16627 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16628 PyObject *resultobj;
16629 wxListItem *arg1 = (wxListItem *) 0 ;
16630 int result;
16631 PyObject * obj0 = 0 ;
16632 char *kwnames[] = {
16633 (char *) "self", NULL
16634 };
16635
16636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16638 result = (int) ((arg1)->m_format);
16639
16640 resultobj = PyInt_FromLong((long)result);
16641 return resultobj;
16642 fail:
16643 return NULL;
16644 }
16645
16646
16647 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16648 PyObject *resultobj;
16649 wxListItem *arg1 = (wxListItem *) 0 ;
16650 int arg2 ;
16651 PyObject * obj0 = 0 ;
16652 char *kwnames[] = {
16653 (char *) "self",(char *) "m_width", NULL
16654 };
16655
16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16658 if (arg1) (arg1)->m_width = arg2;
16659
16660 Py_INCREF(Py_None); resultobj = Py_None;
16661 return resultobj;
16662 fail:
16663 return NULL;
16664 }
16665
16666
16667 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16668 PyObject *resultobj;
16669 wxListItem *arg1 = (wxListItem *) 0 ;
16670 int result;
16671 PyObject * obj0 = 0 ;
16672 char *kwnames[] = {
16673 (char *) "self", NULL
16674 };
16675
16676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16678 result = (int) ((arg1)->m_width);
16679
16680 resultobj = PyInt_FromLong((long)result);
16681 return resultobj;
16682 fail:
16683 return NULL;
16684 }
16685
16686
16687 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16688 PyObject *obj;
16689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16690 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16691 Py_INCREF(obj);
16692 return Py_BuildValue((char *)"");
16693 }
16694 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16695 PyObject *resultobj;
16696 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16697 int arg2 = (int) 0 ;
16698 wxListEvent *result;
16699 char *kwnames[] = {
16700 (char *) "commandType",(char *) "id", NULL
16701 };
16702
16703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16704 {
16705 PyThreadState* __tstate = wxPyBeginAllowThreads();
16706 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16707
16708 wxPyEndAllowThreads(__tstate);
16709 if (PyErr_Occurred()) SWIG_fail;
16710 }
16711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16712 return resultobj;
16713 fail:
16714 return NULL;
16715 }
16716
16717
16718 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16719 PyObject *resultobj;
16720 wxListEvent *arg1 = (wxListEvent *) 0 ;
16721 int arg2 ;
16722 PyObject * obj0 = 0 ;
16723 char *kwnames[] = {
16724 (char *) "self",(char *) "m_code", NULL
16725 };
16726
16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16729 if (arg1) (arg1)->m_code = arg2;
16730
16731 Py_INCREF(Py_None); resultobj = Py_None;
16732 return resultobj;
16733 fail:
16734 return NULL;
16735 }
16736
16737
16738 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16739 PyObject *resultobj;
16740 wxListEvent *arg1 = (wxListEvent *) 0 ;
16741 int result;
16742 PyObject * obj0 = 0 ;
16743 char *kwnames[] = {
16744 (char *) "self", NULL
16745 };
16746
16747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16749 result = (int) ((arg1)->m_code);
16750
16751 resultobj = PyInt_FromLong((long)result);
16752 return resultobj;
16753 fail:
16754 return NULL;
16755 }
16756
16757
16758 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16759 PyObject *resultobj;
16760 wxListEvent *arg1 = (wxListEvent *) 0 ;
16761 long arg2 ;
16762 PyObject * obj0 = 0 ;
16763 char *kwnames[] = {
16764 (char *) "self",(char *) "m_oldItemIndex", NULL
16765 };
16766
16767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16769 if (arg1) (arg1)->m_oldItemIndex = arg2;
16770
16771 Py_INCREF(Py_None); resultobj = Py_None;
16772 return resultobj;
16773 fail:
16774 return NULL;
16775 }
16776
16777
16778 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16779 PyObject *resultobj;
16780 wxListEvent *arg1 = (wxListEvent *) 0 ;
16781 long result;
16782 PyObject * obj0 = 0 ;
16783 char *kwnames[] = {
16784 (char *) "self", NULL
16785 };
16786
16787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16789 result = (long) ((arg1)->m_oldItemIndex);
16790
16791 resultobj = PyInt_FromLong((long)result);
16792 return resultobj;
16793 fail:
16794 return NULL;
16795 }
16796
16797
16798 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16799 PyObject *resultobj;
16800 wxListEvent *arg1 = (wxListEvent *) 0 ;
16801 long arg2 ;
16802 PyObject * obj0 = 0 ;
16803 char *kwnames[] = {
16804 (char *) "self",(char *) "m_itemIndex", NULL
16805 };
16806
16807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16809 if (arg1) (arg1)->m_itemIndex = arg2;
16810
16811 Py_INCREF(Py_None); resultobj = Py_None;
16812 return resultobj;
16813 fail:
16814 return NULL;
16815 }
16816
16817
16818 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16819 PyObject *resultobj;
16820 wxListEvent *arg1 = (wxListEvent *) 0 ;
16821 long result;
16822 PyObject * obj0 = 0 ;
16823 char *kwnames[] = {
16824 (char *) "self", NULL
16825 };
16826
16827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16829 result = (long) ((arg1)->m_itemIndex);
16830
16831 resultobj = PyInt_FromLong((long)result);
16832 return resultobj;
16833 fail:
16834 return NULL;
16835 }
16836
16837
16838 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16839 PyObject *resultobj;
16840 wxListEvent *arg1 = (wxListEvent *) 0 ;
16841 int arg2 ;
16842 PyObject * obj0 = 0 ;
16843 char *kwnames[] = {
16844 (char *) "self",(char *) "m_col", NULL
16845 };
16846
16847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16849 if (arg1) (arg1)->m_col = arg2;
16850
16851 Py_INCREF(Py_None); resultobj = Py_None;
16852 return resultobj;
16853 fail:
16854 return NULL;
16855 }
16856
16857
16858 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16859 PyObject *resultobj;
16860 wxListEvent *arg1 = (wxListEvent *) 0 ;
16861 int result;
16862 PyObject * obj0 = 0 ;
16863 char *kwnames[] = {
16864 (char *) "self", NULL
16865 };
16866
16867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16869 result = (int) ((arg1)->m_col);
16870
16871 resultobj = PyInt_FromLong((long)result);
16872 return resultobj;
16873 fail:
16874 return NULL;
16875 }
16876
16877
16878 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16879 PyObject *resultobj;
16880 wxListEvent *arg1 = (wxListEvent *) 0 ;
16881 wxPoint *arg2 = (wxPoint *) 0 ;
16882 PyObject * obj0 = 0 ;
16883 PyObject * obj1 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "self",(char *) "m_pointDrag", NULL
16886 };
16887
16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16890 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16891 if (arg1) (arg1)->m_pointDrag = *arg2;
16892
16893 Py_INCREF(Py_None); resultobj = Py_None;
16894 return resultobj;
16895 fail:
16896 return NULL;
16897 }
16898
16899
16900 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16901 PyObject *resultobj;
16902 wxListEvent *arg1 = (wxListEvent *) 0 ;
16903 wxPoint *result;
16904 PyObject * obj0 = 0 ;
16905 char *kwnames[] = {
16906 (char *) "self", NULL
16907 };
16908
16909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16911 result = (wxPoint *)& ((arg1)->m_pointDrag);
16912
16913 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16914 return resultobj;
16915 fail:
16916 return NULL;
16917 }
16918
16919
16920 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16921 PyObject *resultobj;
16922 wxListEvent *arg1 = (wxListEvent *) 0 ;
16923 wxListItem *result;
16924 PyObject * obj0 = 0 ;
16925 char *kwnames[] = {
16926 (char *) "self", NULL
16927 };
16928
16929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16931 result = (wxListItem *)& ((arg1)->m_item);
16932
16933 {
16934 resultobj = wxPyMake_wxObject(result);
16935 }
16936 return resultobj;
16937 fail:
16938 return NULL;
16939 }
16940
16941
16942 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16943 PyObject *resultobj;
16944 wxListEvent *arg1 = (wxListEvent *) 0 ;
16945 int result;
16946 PyObject * obj0 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "self", NULL
16949 };
16950
16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16953 {
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 result = (int)(arg1)->GetKeyCode();
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 resultobj = PyInt_FromLong((long)result);
16961 return resultobj;
16962 fail:
16963 return NULL;
16964 }
16965
16966
16967 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16968 PyObject *resultobj;
16969 wxListEvent *arg1 = (wxListEvent *) 0 ;
16970 long result;
16971 PyObject * obj0 = 0 ;
16972 char *kwnames[] = {
16973 (char *) "self", NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16978 {
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 result = (long)(arg1)->GetIndex();
16981
16982 wxPyEndAllowThreads(__tstate);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 }
16985 resultobj = PyInt_FromLong((long)result);
16986 return resultobj;
16987 fail:
16988 return NULL;
16989 }
16990
16991
16992 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16993 PyObject *resultobj;
16994 wxListEvent *arg1 = (wxListEvent *) 0 ;
16995 int result;
16996 PyObject * obj0 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "self", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 result = (int)(arg1)->GetColumn();
17006
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
17010 resultobj = PyInt_FromLong((long)result);
17011 return resultobj;
17012 fail:
17013 return NULL;
17014 }
17015
17016
17017 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 wxListEvent *arg1 = (wxListEvent *) 0 ;
17020 wxPoint result;
17021 PyObject * obj0 = 0 ;
17022 char *kwnames[] = {
17023 (char *) "self", NULL
17024 };
17025
17026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 result = (arg1)->GetPoint();
17031
17032 wxPyEndAllowThreads(__tstate);
17033 if (PyErr_Occurred()) SWIG_fail;
17034 }
17035 {
17036 wxPoint * resultptr;
17037 resultptr = new wxPoint((wxPoint &) result);
17038 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17039 }
17040 return resultobj;
17041 fail:
17042 return NULL;
17043 }
17044
17045
17046 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17047 PyObject *resultobj;
17048 wxListEvent *arg1 = (wxListEvent *) 0 ;
17049 wxString *result;
17050 PyObject * obj0 = 0 ;
17051 char *kwnames[] = {
17052 (char *) "self", NULL
17053 };
17054
17055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17057 {
17058 PyThreadState* __tstate = wxPyBeginAllowThreads();
17059 {
17060 wxString const &_result_ref = (arg1)->GetLabel();
17061 result = (wxString *) &_result_ref;
17062 }
17063
17064 wxPyEndAllowThreads(__tstate);
17065 if (PyErr_Occurred()) SWIG_fail;
17066 }
17067 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
17068 return resultobj;
17069 fail:
17070 return NULL;
17071 }
17072
17073
17074 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17075 PyObject *resultobj;
17076 wxListEvent *arg1 = (wxListEvent *) 0 ;
17077 wxString *result;
17078 PyObject * obj0 = 0 ;
17079 char *kwnames[] = {
17080 (char *) "self", NULL
17081 };
17082
17083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17085 {
17086 PyThreadState* __tstate = wxPyBeginAllowThreads();
17087 {
17088 wxString const &_result_ref = (arg1)->GetText();
17089 result = (wxString *) &_result_ref;
17090 }
17091
17092 wxPyEndAllowThreads(__tstate);
17093 if (PyErr_Occurred()) SWIG_fail;
17094 }
17095 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
17096 return resultobj;
17097 fail:
17098 return NULL;
17099 }
17100
17101
17102 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17103 PyObject *resultobj;
17104 wxListEvent *arg1 = (wxListEvent *) 0 ;
17105 int result;
17106 PyObject * obj0 = 0 ;
17107 char *kwnames[] = {
17108 (char *) "self", NULL
17109 };
17110
17111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17113 {
17114 PyThreadState* __tstate = wxPyBeginAllowThreads();
17115 result = (int)(arg1)->GetImage();
17116
17117 wxPyEndAllowThreads(__tstate);
17118 if (PyErr_Occurred()) SWIG_fail;
17119 }
17120 resultobj = PyInt_FromLong((long)result);
17121 return resultobj;
17122 fail:
17123 return NULL;
17124 }
17125
17126
17127 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17128 PyObject *resultobj;
17129 wxListEvent *arg1 = (wxListEvent *) 0 ;
17130 long result;
17131 PyObject * obj0 = 0 ;
17132 char *kwnames[] = {
17133 (char *) "self", NULL
17134 };
17135
17136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17138 {
17139 PyThreadState* __tstate = wxPyBeginAllowThreads();
17140 result = (long)(arg1)->GetData();
17141
17142 wxPyEndAllowThreads(__tstate);
17143 if (PyErr_Occurred()) SWIG_fail;
17144 }
17145 resultobj = PyInt_FromLong((long)result);
17146 return resultobj;
17147 fail:
17148 return NULL;
17149 }
17150
17151
17152 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17153 PyObject *resultobj;
17154 wxListEvent *arg1 = (wxListEvent *) 0 ;
17155 long result;
17156 PyObject * obj0 = 0 ;
17157 char *kwnames[] = {
17158 (char *) "self", NULL
17159 };
17160
17161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17163 {
17164 PyThreadState* __tstate = wxPyBeginAllowThreads();
17165 result = (long)(arg1)->GetMask();
17166
17167 wxPyEndAllowThreads(__tstate);
17168 if (PyErr_Occurred()) SWIG_fail;
17169 }
17170 resultobj = PyInt_FromLong((long)result);
17171 return resultobj;
17172 fail:
17173 return NULL;
17174 }
17175
17176
17177 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17178 PyObject *resultobj;
17179 wxListEvent *arg1 = (wxListEvent *) 0 ;
17180 wxListItem *result;
17181 PyObject * obj0 = 0 ;
17182 char *kwnames[] = {
17183 (char *) "self", NULL
17184 };
17185
17186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17188 {
17189 PyThreadState* __tstate = wxPyBeginAllowThreads();
17190 {
17191 wxListItem const &_result_ref = (arg1)->GetItem();
17192 result = (wxListItem *) &_result_ref;
17193 }
17194
17195 wxPyEndAllowThreads(__tstate);
17196 if (PyErr_Occurred()) SWIG_fail;
17197 }
17198 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17199 return resultobj;
17200 fail:
17201 return NULL;
17202 }
17203
17204
17205 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17206 PyObject *resultobj;
17207 wxListEvent *arg1 = (wxListEvent *) 0 ;
17208 long result;
17209 PyObject * obj0 = 0 ;
17210 char *kwnames[] = {
17211 (char *) "self", NULL
17212 };
17213
17214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17216 {
17217 PyThreadState* __tstate = wxPyBeginAllowThreads();
17218 result = (long)(arg1)->GetCacheFrom();
17219
17220 wxPyEndAllowThreads(__tstate);
17221 if (PyErr_Occurred()) SWIG_fail;
17222 }
17223 resultobj = PyInt_FromLong((long)result);
17224 return resultobj;
17225 fail:
17226 return NULL;
17227 }
17228
17229
17230 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17231 PyObject *resultobj;
17232 wxListEvent *arg1 = (wxListEvent *) 0 ;
17233 long result;
17234 PyObject * obj0 = 0 ;
17235 char *kwnames[] = {
17236 (char *) "self", NULL
17237 };
17238
17239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17241 {
17242 PyThreadState* __tstate = wxPyBeginAllowThreads();
17243 result = (long)(arg1)->GetCacheTo();
17244
17245 wxPyEndAllowThreads(__tstate);
17246 if (PyErr_Occurred()) SWIG_fail;
17247 }
17248 resultobj = PyInt_FromLong((long)result);
17249 return resultobj;
17250 fail:
17251 return NULL;
17252 }
17253
17254
17255 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17256 PyObject *resultobj;
17257 wxListEvent *arg1 = (wxListEvent *) 0 ;
17258 bool result;
17259 PyObject * obj0 = 0 ;
17260 char *kwnames[] = {
17261 (char *) "self", NULL
17262 };
17263
17264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17266 {
17267 PyThreadState* __tstate = wxPyBeginAllowThreads();
17268 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17269
17270 wxPyEndAllowThreads(__tstate);
17271 if (PyErr_Occurred()) SWIG_fail;
17272 }
17273 resultobj = PyInt_FromLong((long)result);
17274 return resultobj;
17275 fail:
17276 return NULL;
17277 }
17278
17279
17280 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17281 PyObject *resultobj;
17282 wxListEvent *arg1 = (wxListEvent *) 0 ;
17283 bool arg2 ;
17284 PyObject * obj0 = 0 ;
17285 PyObject * obj1 = 0 ;
17286 char *kwnames[] = {
17287 (char *) "self",(char *) "editCancelled", NULL
17288 };
17289
17290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17292 arg2 = PyInt_AsLong(obj1) ? true : false;
17293 if (PyErr_Occurred()) SWIG_fail;
17294 {
17295 PyThreadState* __tstate = wxPyBeginAllowThreads();
17296 (arg1)->SetEditCanceled(arg2);
17297
17298 wxPyEndAllowThreads(__tstate);
17299 if (PyErr_Occurred()) SWIG_fail;
17300 }
17301 Py_INCREF(Py_None); resultobj = Py_None;
17302 return resultobj;
17303 fail:
17304 return NULL;
17305 }
17306
17307
17308 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17309 PyObject *obj;
17310 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17311 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17312 Py_INCREF(obj);
17313 return Py_BuildValue((char *)"");
17314 }
17315 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17316 PyObject *resultobj;
17317 wxWindow *arg1 = (wxWindow *) 0 ;
17318 int arg2 = (int) -1 ;
17319 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17320 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17321 wxSize const &arg4_defvalue = wxDefaultSize ;
17322 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17323 long arg5 = (long) wxLC_ICON ;
17324 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17325 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17326 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17327 wxString *arg7 = (wxString *) &arg7_defvalue ;
17328 wxPyListCtrl *result;
17329 wxPoint temp3 ;
17330 wxSize temp4 ;
17331 bool temp7 = False ;
17332 PyObject * obj0 = 0 ;
17333 PyObject * obj2 = 0 ;
17334 PyObject * obj3 = 0 ;
17335 PyObject * obj5 = 0 ;
17336 PyObject * obj6 = 0 ;
17337 char *kwnames[] = {
17338 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17339 };
17340
17341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17343 if (obj2) {
17344 {
17345 arg3 = &temp3;
17346 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17347 }
17348 }
17349 if (obj3) {
17350 {
17351 arg4 = &temp4;
17352 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17353 }
17354 }
17355 if (obj5) {
17356 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17357 if (arg6 == NULL) {
17358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17359 }
17360 }
17361 if (obj6) {
17362 {
17363 arg7 = wxString_in_helper(obj6);
17364 if (arg7 == NULL) SWIG_fail;
17365 temp7 = True;
17366 }
17367 }
17368 {
17369 PyThreadState* __tstate = wxPyBeginAllowThreads();
17370 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17371
17372 wxPyEndAllowThreads(__tstate);
17373 if (PyErr_Occurred()) SWIG_fail;
17374 }
17375 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17376 {
17377 if (temp7)
17378 delete arg7;
17379 }
17380 return resultobj;
17381 fail:
17382 {
17383 if (temp7)
17384 delete arg7;
17385 }
17386 return NULL;
17387 }
17388
17389
17390 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17391 PyObject *resultobj;
17392 wxPyListCtrl *result;
17393 char *kwnames[] = {
17394 NULL
17395 };
17396
17397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 result = (wxPyListCtrl *)new wxPyListCtrl();
17401
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17406 return resultobj;
17407 fail:
17408 return NULL;
17409 }
17410
17411
17412 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17413 PyObject *resultobj;
17414 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17415 wxWindow *arg2 = (wxWindow *) 0 ;
17416 int arg3 = (int) -1 ;
17417 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17418 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17419 wxSize const &arg5_defvalue = wxDefaultSize ;
17420 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17421 long arg6 = (long) wxLC_ICON ;
17422 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17423 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17424 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17425 wxString *arg8 = (wxString *) &arg8_defvalue ;
17426 bool result;
17427 wxPoint temp4 ;
17428 wxSize temp5 ;
17429 bool temp8 = False ;
17430 PyObject * obj0 = 0 ;
17431 PyObject * obj1 = 0 ;
17432 PyObject * obj3 = 0 ;
17433 PyObject * obj4 = 0 ;
17434 PyObject * obj6 = 0 ;
17435 PyObject * obj7 = 0 ;
17436 char *kwnames[] = {
17437 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17438 };
17439
17440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17442 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17443 if (obj3) {
17444 {
17445 arg4 = &temp4;
17446 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17447 }
17448 }
17449 if (obj4) {
17450 {
17451 arg5 = &temp5;
17452 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17453 }
17454 }
17455 if (obj6) {
17456 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17457 if (arg7 == NULL) {
17458 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17459 }
17460 }
17461 if (obj7) {
17462 {
17463 arg8 = wxString_in_helper(obj7);
17464 if (arg8 == NULL) SWIG_fail;
17465 temp8 = True;
17466 }
17467 }
17468 {
17469 PyThreadState* __tstate = wxPyBeginAllowThreads();
17470 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17471
17472 wxPyEndAllowThreads(__tstate);
17473 if (PyErr_Occurred()) SWIG_fail;
17474 }
17475 resultobj = PyInt_FromLong((long)result);
17476 {
17477 if (temp8)
17478 delete arg8;
17479 }
17480 return resultobj;
17481 fail:
17482 {
17483 if (temp8)
17484 delete arg8;
17485 }
17486 return NULL;
17487 }
17488
17489
17490 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17491 PyObject *resultobj;
17492 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17493 PyObject *arg2 = (PyObject *) 0 ;
17494 PyObject *arg3 = (PyObject *) 0 ;
17495 PyObject * obj0 = 0 ;
17496 PyObject * obj1 = 0 ;
17497 PyObject * obj2 = 0 ;
17498 char *kwnames[] = {
17499 (char *) "self",(char *) "self",(char *) "_class", NULL
17500 };
17501
17502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17504 arg2 = obj1;
17505 arg3 = obj2;
17506 {
17507 PyThreadState* __tstate = wxPyBeginAllowThreads();
17508 (arg1)->_setCallbackInfo(arg2,arg3);
17509
17510 wxPyEndAllowThreads(__tstate);
17511 if (PyErr_Occurred()) SWIG_fail;
17512 }
17513 Py_INCREF(Py_None); resultobj = Py_None;
17514 return resultobj;
17515 fail:
17516 return NULL;
17517 }
17518
17519
17520 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17521 PyObject *resultobj;
17522 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17523 wxColour *arg2 = 0 ;
17524 bool result;
17525 wxColour temp2 ;
17526 PyObject * obj0 = 0 ;
17527 PyObject * obj1 = 0 ;
17528 char *kwnames[] = {
17529 (char *) "self",(char *) "col", NULL
17530 };
17531
17532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17534 {
17535 arg2 = &temp2;
17536 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17537 }
17538 {
17539 PyThreadState* __tstate = wxPyBeginAllowThreads();
17540 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17541
17542 wxPyEndAllowThreads(__tstate);
17543 if (PyErr_Occurred()) SWIG_fail;
17544 }
17545 resultobj = PyInt_FromLong((long)result);
17546 return resultobj;
17547 fail:
17548 return NULL;
17549 }
17550
17551
17552 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17553 PyObject *resultobj;
17554 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17555 wxColour *arg2 = 0 ;
17556 bool result;
17557 wxColour temp2 ;
17558 PyObject * obj0 = 0 ;
17559 PyObject * obj1 = 0 ;
17560 char *kwnames[] = {
17561 (char *) "self",(char *) "col", NULL
17562 };
17563
17564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17566 {
17567 arg2 = &temp2;
17568 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17569 }
17570 {
17571 PyThreadState* __tstate = wxPyBeginAllowThreads();
17572 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17573
17574 wxPyEndAllowThreads(__tstate);
17575 if (PyErr_Occurred()) SWIG_fail;
17576 }
17577 resultobj = PyInt_FromLong((long)result);
17578 return resultobj;
17579 fail:
17580 return NULL;
17581 }
17582
17583
17584 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17585 PyObject *resultobj;
17586 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17587 int arg2 ;
17588 wxListItem *result;
17589 PyObject * obj0 = 0 ;
17590 char *kwnames[] = {
17591 (char *) "self",(char *) "col", NULL
17592 };
17593
17594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17596 {
17597 PyThreadState* __tstate = wxPyBeginAllowThreads();
17598 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17599
17600 wxPyEndAllowThreads(__tstate);
17601 if (PyErr_Occurred()) SWIG_fail;
17602 }
17603 {
17604 resultobj = wxPyMake_wxObject(result);
17605 }
17606 return resultobj;
17607 fail:
17608 return NULL;
17609 }
17610
17611
17612 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17613 PyObject *resultobj;
17614 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17615 int arg2 ;
17616 wxListItem *arg3 = 0 ;
17617 bool result;
17618 PyObject * obj0 = 0 ;
17619 PyObject * obj2 = 0 ;
17620 char *kwnames[] = {
17621 (char *) "self",(char *) "col",(char *) "item", NULL
17622 };
17623
17624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17626 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17627 if (arg3 == NULL) {
17628 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17629 }
17630 {
17631 PyThreadState* __tstate = wxPyBeginAllowThreads();
17632 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17633
17634 wxPyEndAllowThreads(__tstate);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
17637 resultobj = PyInt_FromLong((long)result);
17638 return resultobj;
17639 fail:
17640 return NULL;
17641 }
17642
17643
17644 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17645 PyObject *resultobj;
17646 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17647 int arg2 ;
17648 int result;
17649 PyObject * obj0 = 0 ;
17650 char *kwnames[] = {
17651 (char *) "self",(char *) "col", NULL
17652 };
17653
17654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17656 {
17657 PyThreadState* __tstate = wxPyBeginAllowThreads();
17658 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17659
17660 wxPyEndAllowThreads(__tstate);
17661 if (PyErr_Occurred()) SWIG_fail;
17662 }
17663 resultobj = PyInt_FromLong((long)result);
17664 return resultobj;
17665 fail:
17666 return NULL;
17667 }
17668
17669
17670 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17671 PyObject *resultobj;
17672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17673 int arg2 ;
17674 int arg3 ;
17675 bool result;
17676 PyObject * obj0 = 0 ;
17677 char *kwnames[] = {
17678 (char *) "self",(char *) "col",(char *) "width", NULL
17679 };
17680
17681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17683 {
17684 PyThreadState* __tstate = wxPyBeginAllowThreads();
17685 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17686
17687 wxPyEndAllowThreads(__tstate);
17688 if (PyErr_Occurred()) SWIG_fail;
17689 }
17690 resultobj = PyInt_FromLong((long)result);
17691 return resultobj;
17692 fail:
17693 return NULL;
17694 }
17695
17696
17697 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17698 PyObject *resultobj;
17699 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17700 int result;
17701 PyObject * obj0 = 0 ;
17702 char *kwnames[] = {
17703 (char *) "self", NULL
17704 };
17705
17706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17708 {
17709 PyThreadState* __tstate = wxPyBeginAllowThreads();
17710 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17711
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 resultobj = PyInt_FromLong((long)result);
17716 return resultobj;
17717 fail:
17718 return NULL;
17719 }
17720
17721
17722 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17723 PyObject *resultobj;
17724 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17725 wxRect result;
17726 PyObject * obj0 = 0 ;
17727 char *kwnames[] = {
17728 (char *) "self", NULL
17729 };
17730
17731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17733 {
17734 PyThreadState* __tstate = wxPyBeginAllowThreads();
17735 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17736
17737 wxPyEndAllowThreads(__tstate);
17738 if (PyErr_Occurred()) SWIG_fail;
17739 }
17740 {
17741 wxRect * resultptr;
17742 resultptr = new wxRect((wxRect &) result);
17743 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17744 }
17745 return resultobj;
17746 fail:
17747 return NULL;
17748 }
17749
17750
17751 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17752 PyObject *resultobj;
17753 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17754 wxTextCtrl *result;
17755 PyObject * obj0 = 0 ;
17756 char *kwnames[] = {
17757 (char *) "self", NULL
17758 };
17759
17760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
17761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17762 {
17763 PyThreadState* __tstate = wxPyBeginAllowThreads();
17764 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
17765
17766 wxPyEndAllowThreads(__tstate);
17767 if (PyErr_Occurred()) SWIG_fail;
17768 }
17769 {
17770 resultobj = wxPyMake_wxObject(result);
17771 }
17772 return resultobj;
17773 fail:
17774 return NULL;
17775 }
17776
17777
17778 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17779 PyObject *resultobj;
17780 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17781 long arg2 ;
17782 int arg3 = (int) 0 ;
17783 wxListItem *result;
17784 PyObject * obj0 = 0 ;
17785 char *kwnames[] = {
17786 (char *) "self",(char *) "itemId",(char *) "col", NULL
17787 };
17788
17789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17791 {
17792 PyThreadState* __tstate = wxPyBeginAllowThreads();
17793 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17794
17795 wxPyEndAllowThreads(__tstate);
17796 if (PyErr_Occurred()) SWIG_fail;
17797 }
17798 {
17799 resultobj = wxPyMake_wxObject(result);
17800 }
17801 return resultobj;
17802 fail:
17803 return NULL;
17804 }
17805
17806
17807 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17808 PyObject *resultobj;
17809 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17810 wxListItem *arg2 = 0 ;
17811 bool result;
17812 PyObject * obj0 = 0 ;
17813 PyObject * obj1 = 0 ;
17814 char *kwnames[] = {
17815 (char *) "self",(char *) "info", NULL
17816 };
17817
17818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17820 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17821 if (arg2 == NULL) {
17822 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17823 }
17824 {
17825 PyThreadState* __tstate = wxPyBeginAllowThreads();
17826 result = (bool)(arg1)->SetItem(*arg2);
17827
17828 wxPyEndAllowThreads(__tstate);
17829 if (PyErr_Occurred()) SWIG_fail;
17830 }
17831 resultobj = PyInt_FromLong((long)result);
17832 return resultobj;
17833 fail:
17834 return NULL;
17835 }
17836
17837
17838 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17839 PyObject *resultobj;
17840 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17841 long arg2 ;
17842 int arg3 ;
17843 wxString *arg4 = 0 ;
17844 int arg5 = (int) -1 ;
17845 long result;
17846 bool temp4 = False ;
17847 PyObject * obj0 = 0 ;
17848 PyObject * obj3 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17851 };
17852
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17855 {
17856 arg4 = wxString_in_helper(obj3);
17857 if (arg4 == NULL) SWIG_fail;
17858 temp4 = True;
17859 }
17860 {
17861 PyThreadState* __tstate = wxPyBeginAllowThreads();
17862 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17863
17864 wxPyEndAllowThreads(__tstate);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 resultobj = PyInt_FromLong((long)result);
17868 {
17869 if (temp4)
17870 delete arg4;
17871 }
17872 return resultobj;
17873 fail:
17874 {
17875 if (temp4)
17876 delete arg4;
17877 }
17878 return NULL;
17879 }
17880
17881
17882 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17883 PyObject *resultobj;
17884 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17885 long arg2 ;
17886 long arg3 ;
17887 int result;
17888 PyObject * obj0 = 0 ;
17889 char *kwnames[] = {
17890 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17891 };
17892
17893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17895 {
17896 PyThreadState* __tstate = wxPyBeginAllowThreads();
17897 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17898
17899 wxPyEndAllowThreads(__tstate);
17900 if (PyErr_Occurred()) SWIG_fail;
17901 }
17902 resultobj = PyInt_FromLong((long)result);
17903 return resultobj;
17904 fail:
17905 return NULL;
17906 }
17907
17908
17909 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17910 PyObject *resultobj;
17911 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17912 long arg2 ;
17913 long arg3 ;
17914 long arg4 ;
17915 bool result;
17916 PyObject * obj0 = 0 ;
17917 char *kwnames[] = {
17918 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17919 };
17920
17921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17923 {
17924 PyThreadState* __tstate = wxPyBeginAllowThreads();
17925 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17926
17927 wxPyEndAllowThreads(__tstate);
17928 if (PyErr_Occurred()) SWIG_fail;
17929 }
17930 resultobj = PyInt_FromLong((long)result);
17931 return resultobj;
17932 fail:
17933 return NULL;
17934 }
17935
17936
17937 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17938 PyObject *resultobj;
17939 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17940 long arg2 ;
17941 int arg3 ;
17942 int arg4 ;
17943 bool result;
17944 PyObject * obj0 = 0 ;
17945 char *kwnames[] = {
17946 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17947 };
17948
17949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17951 {
17952 PyThreadState* __tstate = wxPyBeginAllowThreads();
17953 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17954
17955 wxPyEndAllowThreads(__tstate);
17956 if (PyErr_Occurred()) SWIG_fail;
17957 }
17958 resultobj = PyInt_FromLong((long)result);
17959 return resultobj;
17960 fail:
17961 return NULL;
17962 }
17963
17964
17965 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17966 PyObject *resultobj;
17967 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17968 long arg2 ;
17969 wxString result;
17970 PyObject * obj0 = 0 ;
17971 char *kwnames[] = {
17972 (char *) "self",(char *) "item", NULL
17973 };
17974
17975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17977 {
17978 PyThreadState* __tstate = wxPyBeginAllowThreads();
17979 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17980
17981 wxPyEndAllowThreads(__tstate);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
17984 {
17985 #if wxUSE_UNICODE
17986 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17987 #else
17988 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17989 #endif
17990 }
17991 return resultobj;
17992 fail:
17993 return NULL;
17994 }
17995
17996
17997 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17998 PyObject *resultobj;
17999 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18000 long arg2 ;
18001 wxString *arg3 = 0 ;
18002 bool temp3 = False ;
18003 PyObject * obj0 = 0 ;
18004 PyObject * obj2 = 0 ;
18005 char *kwnames[] = {
18006 (char *) "self",(char *) "item",(char *) "str", NULL
18007 };
18008
18009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18011 {
18012 arg3 = wxString_in_helper(obj2);
18013 if (arg3 == NULL) SWIG_fail;
18014 temp3 = True;
18015 }
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 Py_INCREF(Py_None); resultobj = Py_None;
18024 {
18025 if (temp3)
18026 delete arg3;
18027 }
18028 return resultobj;
18029 fail:
18030 {
18031 if (temp3)
18032 delete arg3;
18033 }
18034 return NULL;
18035 }
18036
18037
18038 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18039 PyObject *resultobj;
18040 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18041 long arg2 ;
18042 long result;
18043 PyObject * obj0 = 0 ;
18044 char *kwnames[] = {
18045 (char *) "self",(char *) "item", NULL
18046 };
18047
18048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18050 {
18051 PyThreadState* __tstate = wxPyBeginAllowThreads();
18052 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18053
18054 wxPyEndAllowThreads(__tstate);
18055 if (PyErr_Occurred()) SWIG_fail;
18056 }
18057 resultobj = PyInt_FromLong((long)result);
18058 return resultobj;
18059 fail:
18060 return NULL;
18061 }
18062
18063
18064 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18065 PyObject *resultobj;
18066 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18067 long arg2 ;
18068 long arg3 ;
18069 bool result;
18070 PyObject * obj0 = 0 ;
18071 char *kwnames[] = {
18072 (char *) "self",(char *) "item",(char *) "data", NULL
18073 };
18074
18075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18077 {
18078 PyThreadState* __tstate = wxPyBeginAllowThreads();
18079 result = (bool)(arg1)->SetItemData(arg2,arg3);
18080
18081 wxPyEndAllowThreads(__tstate);
18082 if (PyErr_Occurred()) SWIG_fail;
18083 }
18084 resultobj = PyInt_FromLong((long)result);
18085 return resultobj;
18086 fail:
18087 return NULL;
18088 }
18089
18090
18091 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18092 PyObject *resultobj;
18093 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18094 long arg2 ;
18095 wxPoint result;
18096 PyObject * obj0 = 0 ;
18097 char *kwnames[] = {
18098 (char *) "self",(char *) "item", NULL
18099 };
18100
18101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18103 {
18104 PyThreadState* __tstate = wxPyBeginAllowThreads();
18105 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18106
18107 wxPyEndAllowThreads(__tstate);
18108 if (PyErr_Occurred()) SWIG_fail;
18109 }
18110 {
18111 wxPoint * resultptr;
18112 resultptr = new wxPoint((wxPoint &) result);
18113 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18114 }
18115 return resultobj;
18116 fail:
18117 return NULL;
18118 }
18119
18120
18121 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18122 PyObject *resultobj;
18123 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18124 long arg2 ;
18125 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18126 wxRect result;
18127 PyObject * obj0 = 0 ;
18128 char *kwnames[] = {
18129 (char *) "self",(char *) "item",(char *) "code", NULL
18130 };
18131
18132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18134 {
18135 PyThreadState* __tstate = wxPyBeginAllowThreads();
18136 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18137
18138 wxPyEndAllowThreads(__tstate);
18139 if (PyErr_Occurred()) SWIG_fail;
18140 }
18141 {
18142 wxRect * resultptr;
18143 resultptr = new wxRect((wxRect &) result);
18144 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18145 }
18146 return resultobj;
18147 fail:
18148 return NULL;
18149 }
18150
18151
18152 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18153 PyObject *resultobj;
18154 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18155 long arg2 ;
18156 wxPoint *arg3 = 0 ;
18157 bool result;
18158 wxPoint temp3 ;
18159 PyObject * obj0 = 0 ;
18160 PyObject * obj2 = 0 ;
18161 char *kwnames[] = {
18162 (char *) "self",(char *) "item",(char *) "pos", NULL
18163 };
18164
18165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18167 {
18168 arg3 = &temp3;
18169 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18170 }
18171 {
18172 PyThreadState* __tstate = wxPyBeginAllowThreads();
18173 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18174
18175 wxPyEndAllowThreads(__tstate);
18176 if (PyErr_Occurred()) SWIG_fail;
18177 }
18178 resultobj = PyInt_FromLong((long)result);
18179 return resultobj;
18180 fail:
18181 return NULL;
18182 }
18183
18184
18185 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18186 PyObject *resultobj;
18187 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18188 int result;
18189 PyObject * obj0 = 0 ;
18190 char *kwnames[] = {
18191 (char *) "self", NULL
18192 };
18193
18194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18196 {
18197 PyThreadState* __tstate = wxPyBeginAllowThreads();
18198 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18199
18200 wxPyEndAllowThreads(__tstate);
18201 if (PyErr_Occurred()) SWIG_fail;
18202 }
18203 resultobj = PyInt_FromLong((long)result);
18204 return resultobj;
18205 fail:
18206 return NULL;
18207 }
18208
18209
18210 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18211 PyObject *resultobj;
18212 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18213 int result;
18214 PyObject * obj0 = 0 ;
18215 char *kwnames[] = {
18216 (char *) "self", NULL
18217 };
18218
18219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18221 {
18222 PyThreadState* __tstate = wxPyBeginAllowThreads();
18223 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18224
18225 wxPyEndAllowThreads(__tstate);
18226 if (PyErr_Occurred()) SWIG_fail;
18227 }
18228 resultobj = PyInt_FromLong((long)result);
18229 return resultobj;
18230 fail:
18231 return NULL;
18232 }
18233
18234
18235 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18236 PyObject *resultobj;
18237 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18238 wxSize result;
18239 PyObject * obj0 = 0 ;
18240 char *kwnames[] = {
18241 (char *) "self", NULL
18242 };
18243
18244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18246 {
18247 PyThreadState* __tstate = wxPyBeginAllowThreads();
18248 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18249
18250 wxPyEndAllowThreads(__tstate);
18251 if (PyErr_Occurred()) SWIG_fail;
18252 }
18253 {
18254 wxSize * resultptr;
18255 resultptr = new wxSize((wxSize &) result);
18256 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18257 }
18258 return resultobj;
18259 fail:
18260 return NULL;
18261 }
18262
18263
18264 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18265 PyObject *resultobj;
18266 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18267 int result;
18268 PyObject * obj0 = 0 ;
18269 char *kwnames[] = {
18270 (char *) "self", NULL
18271 };
18272
18273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18275 {
18276 PyThreadState* __tstate = wxPyBeginAllowThreads();
18277 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18278
18279 wxPyEndAllowThreads(__tstate);
18280 if (PyErr_Occurred()) SWIG_fail;
18281 }
18282 resultobj = PyInt_FromLong((long)result);
18283 return resultobj;
18284 fail:
18285 return NULL;
18286 }
18287
18288
18289 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18290 PyObject *resultobj;
18291 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18292 wxColour result;
18293 PyObject * obj0 = 0 ;
18294 char *kwnames[] = {
18295 (char *) "self", NULL
18296 };
18297
18298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18300 {
18301 PyThreadState* __tstate = wxPyBeginAllowThreads();
18302 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18303
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 {
18308 wxColour * resultptr;
18309 resultptr = new wxColour((wxColour &) result);
18310 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18311 }
18312 return resultobj;
18313 fail:
18314 return NULL;
18315 }
18316
18317
18318 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18319 PyObject *resultobj;
18320 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18321 wxColour *arg2 = 0 ;
18322 wxColour temp2 ;
18323 PyObject * obj0 = 0 ;
18324 PyObject * obj1 = 0 ;
18325 char *kwnames[] = {
18326 (char *) "self",(char *) "col", NULL
18327 };
18328
18329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18331 {
18332 arg2 = &temp2;
18333 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18334 }
18335 {
18336 PyThreadState* __tstate = wxPyBeginAllowThreads();
18337 (arg1)->SetTextColour((wxColour const &)*arg2);
18338
18339 wxPyEndAllowThreads(__tstate);
18340 if (PyErr_Occurred()) SWIG_fail;
18341 }
18342 Py_INCREF(Py_None); resultobj = Py_None;
18343 return resultobj;
18344 fail:
18345 return NULL;
18346 }
18347
18348
18349 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18350 PyObject *resultobj;
18351 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18352 long result;
18353 PyObject * obj0 = 0 ;
18354 char *kwnames[] = {
18355 (char *) "self", NULL
18356 };
18357
18358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18363
18364 wxPyEndAllowThreads(__tstate);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
18367 resultobj = PyInt_FromLong((long)result);
18368 return resultobj;
18369 fail:
18370 return NULL;
18371 }
18372
18373
18374 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18375 PyObject *resultobj;
18376 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18377 long arg2 ;
18378 bool arg3 = (bool) True ;
18379 PyObject * obj0 = 0 ;
18380 PyObject * obj2 = 0 ;
18381 char *kwnames[] = {
18382 (char *) "self",(char *) "style",(char *) "add", NULL
18383 };
18384
18385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18387 if (obj2) {
18388 arg3 = PyInt_AsLong(obj2) ? true : false;
18389 if (PyErr_Occurred()) SWIG_fail;
18390 }
18391 {
18392 PyThreadState* __tstate = wxPyBeginAllowThreads();
18393 (arg1)->SetSingleStyle(arg2,arg3);
18394
18395 wxPyEndAllowThreads(__tstate);
18396 if (PyErr_Occurred()) SWIG_fail;
18397 }
18398 Py_INCREF(Py_None); resultobj = Py_None;
18399 return resultobj;
18400 fail:
18401 return NULL;
18402 }
18403
18404
18405 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18406 PyObject *resultobj;
18407 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18408 long arg2 ;
18409 PyObject * obj0 = 0 ;
18410 char *kwnames[] = {
18411 (char *) "self",(char *) "style", NULL
18412 };
18413
18414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18416 {
18417 PyThreadState* __tstate = wxPyBeginAllowThreads();
18418 (arg1)->SetWindowStyleFlag(arg2);
18419
18420 wxPyEndAllowThreads(__tstate);
18421 if (PyErr_Occurred()) SWIG_fail;
18422 }
18423 Py_INCREF(Py_None); resultobj = Py_None;
18424 return resultobj;
18425 fail:
18426 return NULL;
18427 }
18428
18429
18430 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18431 PyObject *resultobj;
18432 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18433 long arg2 ;
18434 int arg3 = (int) wxLIST_NEXT_ALL ;
18435 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18436 long result;
18437 PyObject * obj0 = 0 ;
18438 char *kwnames[] = {
18439 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18440 };
18441
18442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18444 {
18445 PyThreadState* __tstate = wxPyBeginAllowThreads();
18446 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18447
18448 wxPyEndAllowThreads(__tstate);
18449 if (PyErr_Occurred()) SWIG_fail;
18450 }
18451 resultobj = PyInt_FromLong((long)result);
18452 return resultobj;
18453 fail:
18454 return NULL;
18455 }
18456
18457
18458 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18459 PyObject *resultobj;
18460 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18461 int arg2 ;
18462 wxImageList *result;
18463 PyObject * obj0 = 0 ;
18464 char *kwnames[] = {
18465 (char *) "self",(char *) "which", NULL
18466 };
18467
18468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18470 {
18471 PyThreadState* __tstate = wxPyBeginAllowThreads();
18472 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18473
18474 wxPyEndAllowThreads(__tstate);
18475 if (PyErr_Occurred()) SWIG_fail;
18476 }
18477 {
18478 resultobj = wxPyMake_wxObject(result);
18479 }
18480 return resultobj;
18481 fail:
18482 return NULL;
18483 }
18484
18485
18486 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18487 PyObject *resultobj;
18488 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18489 wxImageList *arg2 = (wxImageList *) 0 ;
18490 int arg3 ;
18491 PyObject * obj0 = 0 ;
18492 PyObject * obj1 = 0 ;
18493 char *kwnames[] = {
18494 (char *) "self",(char *) "imageList",(char *) "which", NULL
18495 };
18496
18497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18499 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18500 {
18501 PyThreadState* __tstate = wxPyBeginAllowThreads();
18502 (arg1)->SetImageList(arg2,arg3);
18503
18504 wxPyEndAllowThreads(__tstate);
18505 if (PyErr_Occurred()) SWIG_fail;
18506 }
18507 Py_INCREF(Py_None); resultobj = Py_None;
18508 return resultobj;
18509 fail:
18510 return NULL;
18511 }
18512
18513
18514 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18515 PyObject *resultobj;
18516 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18517 wxImageList *arg2 = (wxImageList *) 0 ;
18518 int arg3 ;
18519 PyObject * obj0 = 0 ;
18520 PyObject * obj1 = 0 ;
18521 char *kwnames[] = {
18522 (char *) "self",(char *) "imageList",(char *) "which", NULL
18523 };
18524
18525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18528 {
18529 PyThreadState* __tstate = wxPyBeginAllowThreads();
18530 (arg1)->AssignImageList(arg2,arg3);
18531
18532 wxPyEndAllowThreads(__tstate);
18533 if (PyErr_Occurred()) SWIG_fail;
18534 }
18535 Py_INCREF(Py_None); resultobj = Py_None;
18536 return resultobj;
18537 fail:
18538 return NULL;
18539 }
18540
18541
18542 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18543 PyObject *resultobj;
18544 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18545 bool result;
18546 PyObject * obj0 = 0 ;
18547 char *kwnames[] = {
18548 (char *) "self", NULL
18549 };
18550
18551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18553 {
18554 PyThreadState* __tstate = wxPyBeginAllowThreads();
18555 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18556
18557 wxPyEndAllowThreads(__tstate);
18558 if (PyErr_Occurred()) SWIG_fail;
18559 }
18560 resultobj = PyInt_FromLong((long)result);
18561 return resultobj;
18562 fail:
18563 return NULL;
18564 }
18565
18566
18567 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18568 PyObject *resultobj;
18569 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18570 long arg2 ;
18571 PyObject * obj0 = 0 ;
18572 char *kwnames[] = {
18573 (char *) "self",(char *) "item", NULL
18574 };
18575
18576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18578 {
18579 PyThreadState* __tstate = wxPyBeginAllowThreads();
18580 (arg1)->RefreshItem(arg2);
18581
18582 wxPyEndAllowThreads(__tstate);
18583 if (PyErr_Occurred()) SWIG_fail;
18584 }
18585 Py_INCREF(Py_None); resultobj = Py_None;
18586 return resultobj;
18587 fail:
18588 return NULL;
18589 }
18590
18591
18592 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18593 PyObject *resultobj;
18594 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18595 long arg2 ;
18596 long arg3 ;
18597 PyObject * obj0 = 0 ;
18598 char *kwnames[] = {
18599 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18600 };
18601
18602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18604 {
18605 PyThreadState* __tstate = wxPyBeginAllowThreads();
18606 (arg1)->RefreshItems(arg2,arg3);
18607
18608 wxPyEndAllowThreads(__tstate);
18609 if (PyErr_Occurred()) SWIG_fail;
18610 }
18611 Py_INCREF(Py_None); resultobj = Py_None;
18612 return resultobj;
18613 fail:
18614 return NULL;
18615 }
18616
18617
18618 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18619 PyObject *resultobj;
18620 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18621 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18622 bool result;
18623 PyObject * obj0 = 0 ;
18624 char *kwnames[] = {
18625 (char *) "self",(char *) "flag", NULL
18626 };
18627
18628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18630 {
18631 PyThreadState* __tstate = wxPyBeginAllowThreads();
18632 result = (bool)(arg1)->Arrange(arg2);
18633
18634 wxPyEndAllowThreads(__tstate);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 }
18637 resultobj = PyInt_FromLong((long)result);
18638 return resultobj;
18639 fail:
18640 return NULL;
18641 }
18642
18643
18644 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18645 PyObject *resultobj;
18646 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18647 long arg2 ;
18648 bool result;
18649 PyObject * obj0 = 0 ;
18650 char *kwnames[] = {
18651 (char *) "self",(char *) "item", NULL
18652 };
18653
18654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18656 {
18657 PyThreadState* __tstate = wxPyBeginAllowThreads();
18658 result = (bool)(arg1)->DeleteItem(arg2);
18659
18660 wxPyEndAllowThreads(__tstate);
18661 if (PyErr_Occurred()) SWIG_fail;
18662 }
18663 resultobj = PyInt_FromLong((long)result);
18664 return resultobj;
18665 fail:
18666 return NULL;
18667 }
18668
18669
18670 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18671 PyObject *resultobj;
18672 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18673 bool result;
18674 PyObject * obj0 = 0 ;
18675 char *kwnames[] = {
18676 (char *) "self", NULL
18677 };
18678
18679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18681 {
18682 PyThreadState* __tstate = wxPyBeginAllowThreads();
18683 result = (bool)(arg1)->DeleteAllItems();
18684
18685 wxPyEndAllowThreads(__tstate);
18686 if (PyErr_Occurred()) SWIG_fail;
18687 }
18688 resultobj = PyInt_FromLong((long)result);
18689 return resultobj;
18690 fail:
18691 return NULL;
18692 }
18693
18694
18695 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18696 PyObject *resultobj;
18697 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18698 int arg2 ;
18699 bool result;
18700 PyObject * obj0 = 0 ;
18701 char *kwnames[] = {
18702 (char *) "self",(char *) "col", NULL
18703 };
18704
18705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18707 {
18708 PyThreadState* __tstate = wxPyBeginAllowThreads();
18709 result = (bool)(arg1)->DeleteColumn(arg2);
18710
18711 wxPyEndAllowThreads(__tstate);
18712 if (PyErr_Occurred()) SWIG_fail;
18713 }
18714 resultobj = PyInt_FromLong((long)result);
18715 return resultobj;
18716 fail:
18717 return NULL;
18718 }
18719
18720
18721 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18722 PyObject *resultobj;
18723 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18724 bool result;
18725 PyObject * obj0 = 0 ;
18726 char *kwnames[] = {
18727 (char *) "self", NULL
18728 };
18729
18730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18732 {
18733 PyThreadState* __tstate = wxPyBeginAllowThreads();
18734 result = (bool)(arg1)->DeleteAllColumns();
18735
18736 wxPyEndAllowThreads(__tstate);
18737 if (PyErr_Occurred()) SWIG_fail;
18738 }
18739 resultobj = PyInt_FromLong((long)result);
18740 return resultobj;
18741 fail:
18742 return NULL;
18743 }
18744
18745
18746 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18747 PyObject *resultobj;
18748 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18749 PyObject * obj0 = 0 ;
18750 char *kwnames[] = {
18751 (char *) "self", NULL
18752 };
18753
18754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18756 {
18757 PyThreadState* __tstate = wxPyBeginAllowThreads();
18758 (arg1)->ClearAll();
18759
18760 wxPyEndAllowThreads(__tstate);
18761 if (PyErr_Occurred()) SWIG_fail;
18762 }
18763 Py_INCREF(Py_None); resultobj = Py_None;
18764 return resultobj;
18765 fail:
18766 return NULL;
18767 }
18768
18769
18770 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18771 PyObject *resultobj;
18772 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18773 long arg2 ;
18774 wxTextCtrl *result;
18775 PyObject * obj0 = 0 ;
18776 char *kwnames[] = {
18777 (char *) "self",(char *) "item", NULL
18778 };
18779
18780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18782 {
18783 PyThreadState* __tstate = wxPyBeginAllowThreads();
18784 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
18785
18786 wxPyEndAllowThreads(__tstate);
18787 if (PyErr_Occurred()) SWIG_fail;
18788 }
18789 {
18790 resultobj = wxPyMake_wxObject(result);
18791 }
18792 return resultobj;
18793 fail:
18794 return NULL;
18795 }
18796
18797
18798 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18799 PyObject *resultobj;
18800 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18801 bool arg2 ;
18802 bool result;
18803 PyObject * obj0 = 0 ;
18804 PyObject * obj1 = 0 ;
18805 char *kwnames[] = {
18806 (char *) "self",(char *) "cancel", NULL
18807 };
18808
18809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
18810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18811 arg2 = PyInt_AsLong(obj1) ? true : false;
18812 if (PyErr_Occurred()) SWIG_fail;
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
18815 result = (bool)(arg1)->EndEditLabel(arg2);
18816
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 resultobj = PyInt_FromLong((long)result);
18821 return resultobj;
18822 fail:
18823 return NULL;
18824 }
18825
18826
18827 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18828 PyObject *resultobj;
18829 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18830 long arg2 ;
18831 bool result;
18832 PyObject * obj0 = 0 ;
18833 char *kwnames[] = {
18834 (char *) "self",(char *) "item", NULL
18835 };
18836
18837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18839 {
18840 PyThreadState* __tstate = wxPyBeginAllowThreads();
18841 result = (bool)(arg1)->EnsureVisible(arg2);
18842
18843 wxPyEndAllowThreads(__tstate);
18844 if (PyErr_Occurred()) SWIG_fail;
18845 }
18846 resultobj = PyInt_FromLong((long)result);
18847 return resultobj;
18848 fail:
18849 return NULL;
18850 }
18851
18852
18853 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18854 PyObject *resultobj;
18855 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18856 long arg2 ;
18857 wxString *arg3 = 0 ;
18858 bool arg4 = (bool) False ;
18859 long result;
18860 bool temp3 = False ;
18861 PyObject * obj0 = 0 ;
18862 PyObject * obj2 = 0 ;
18863 PyObject * obj3 = 0 ;
18864 char *kwnames[] = {
18865 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18866 };
18867
18868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18870 {
18871 arg3 = wxString_in_helper(obj2);
18872 if (arg3 == NULL) SWIG_fail;
18873 temp3 = True;
18874 }
18875 if (obj3) {
18876 arg4 = PyInt_AsLong(obj3) ? true : false;
18877 if (PyErr_Occurred()) SWIG_fail;
18878 }
18879 {
18880 PyThreadState* __tstate = wxPyBeginAllowThreads();
18881 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18882
18883 wxPyEndAllowThreads(__tstate);
18884 if (PyErr_Occurred()) SWIG_fail;
18885 }
18886 resultobj = PyInt_FromLong((long)result);
18887 {
18888 if (temp3)
18889 delete arg3;
18890 }
18891 return resultobj;
18892 fail:
18893 {
18894 if (temp3)
18895 delete arg3;
18896 }
18897 return NULL;
18898 }
18899
18900
18901 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18902 PyObject *resultobj;
18903 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18904 long arg2 ;
18905 long arg3 ;
18906 long result;
18907 PyObject * obj0 = 0 ;
18908 char *kwnames[] = {
18909 (char *) "self",(char *) "start",(char *) "data", NULL
18910 };
18911
18912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18914 {
18915 PyThreadState* __tstate = wxPyBeginAllowThreads();
18916 result = (long)(arg1)->FindItem(arg2,arg3);
18917
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
18921 resultobj = PyInt_FromLong((long)result);
18922 return resultobj;
18923 fail:
18924 return NULL;
18925 }
18926
18927
18928 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18929 PyObject *resultobj;
18930 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18931 long arg2 ;
18932 wxPoint *arg3 = 0 ;
18933 int arg4 ;
18934 long result;
18935 wxPoint temp3 ;
18936 PyObject * obj0 = 0 ;
18937 PyObject * obj2 = 0 ;
18938 char *kwnames[] = {
18939 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18940 };
18941
18942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18944 {
18945 arg3 = &temp3;
18946 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18947 }
18948 {
18949 PyThreadState* __tstate = wxPyBeginAllowThreads();
18950 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18951
18952 wxPyEndAllowThreads(__tstate);
18953 if (PyErr_Occurred()) SWIG_fail;
18954 }
18955 resultobj = PyInt_FromLong((long)result);
18956 return resultobj;
18957 fail:
18958 return NULL;
18959 }
18960
18961
18962 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18963 PyObject *resultobj;
18964 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18965 wxPoint *arg2 = 0 ;
18966 int *arg3 = 0 ;
18967 long result;
18968 wxPoint temp2 ;
18969 int temp3 ;
18970 PyObject * obj0 = 0 ;
18971 PyObject * obj1 = 0 ;
18972 char *kwnames[] = {
18973 (char *) "self",(char *) "point", NULL
18974 };
18975
18976 arg3 = &temp3;
18977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18979 {
18980 arg2 = &temp2;
18981 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18982 }
18983 {
18984 PyThreadState* __tstate = wxPyBeginAllowThreads();
18985 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18986
18987 wxPyEndAllowThreads(__tstate);
18988 if (PyErr_Occurred()) SWIG_fail;
18989 }
18990 resultobj = PyInt_FromLong((long)result);
18991 {
18992 PyObject *o = PyInt_FromLong((long) (*arg3));
18993 resultobj = t_output_helper(resultobj,o);
18994 }
18995 return resultobj;
18996 fail:
18997 return NULL;
18998 }
18999
19000
19001 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19002 PyObject *resultobj;
19003 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19004 wxListItem *arg2 = 0 ;
19005 long result;
19006 PyObject * obj0 = 0 ;
19007 PyObject * obj1 = 0 ;
19008 char *kwnames[] = {
19009 (char *) "self",(char *) "info", NULL
19010 };
19011
19012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19014 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19015 if (arg2 == NULL) {
19016 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19017 }
19018 {
19019 PyThreadState* __tstate = wxPyBeginAllowThreads();
19020 result = (long)(arg1)->InsertItem(*arg2);
19021
19022 wxPyEndAllowThreads(__tstate);
19023 if (PyErr_Occurred()) SWIG_fail;
19024 }
19025 resultobj = PyInt_FromLong((long)result);
19026 return resultobj;
19027 fail:
19028 return NULL;
19029 }
19030
19031
19032 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19033 PyObject *resultobj;
19034 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19035 long arg2 ;
19036 wxString *arg3 = 0 ;
19037 long result;
19038 bool temp3 = False ;
19039 PyObject * obj0 = 0 ;
19040 PyObject * obj2 = 0 ;
19041 char *kwnames[] = {
19042 (char *) "self",(char *) "index",(char *) "label", NULL
19043 };
19044
19045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19047 {
19048 arg3 = wxString_in_helper(obj2);
19049 if (arg3 == NULL) SWIG_fail;
19050 temp3 = True;
19051 }
19052 {
19053 PyThreadState* __tstate = wxPyBeginAllowThreads();
19054 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19055
19056 wxPyEndAllowThreads(__tstate);
19057 if (PyErr_Occurred()) SWIG_fail;
19058 }
19059 resultobj = PyInt_FromLong((long)result);
19060 {
19061 if (temp3)
19062 delete arg3;
19063 }
19064 return resultobj;
19065 fail:
19066 {
19067 if (temp3)
19068 delete arg3;
19069 }
19070 return NULL;
19071 }
19072
19073
19074 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19075 PyObject *resultobj;
19076 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19077 long arg2 ;
19078 int arg3 ;
19079 long result;
19080 PyObject * obj0 = 0 ;
19081 char *kwnames[] = {
19082 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19083 };
19084
19085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19087 {
19088 PyThreadState* __tstate = wxPyBeginAllowThreads();
19089 result = (long)(arg1)->InsertItem(arg2,arg3);
19090
19091 wxPyEndAllowThreads(__tstate);
19092 if (PyErr_Occurred()) SWIG_fail;
19093 }
19094 resultobj = PyInt_FromLong((long)result);
19095 return resultobj;
19096 fail:
19097 return NULL;
19098 }
19099
19100
19101 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19102 PyObject *resultobj;
19103 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19104 long arg2 ;
19105 wxString *arg3 = 0 ;
19106 int arg4 ;
19107 long result;
19108 bool temp3 = False ;
19109 PyObject * obj0 = 0 ;
19110 PyObject * obj2 = 0 ;
19111 char *kwnames[] = {
19112 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19113 };
19114
19115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19117 {
19118 arg3 = wxString_in_helper(obj2);
19119 if (arg3 == NULL) SWIG_fail;
19120 temp3 = True;
19121 }
19122 {
19123 PyThreadState* __tstate = wxPyBeginAllowThreads();
19124 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19125
19126 wxPyEndAllowThreads(__tstate);
19127 if (PyErr_Occurred()) SWIG_fail;
19128 }
19129 resultobj = PyInt_FromLong((long)result);
19130 {
19131 if (temp3)
19132 delete arg3;
19133 }
19134 return resultobj;
19135 fail:
19136 {
19137 if (temp3)
19138 delete arg3;
19139 }
19140 return NULL;
19141 }
19142
19143
19144 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19145 PyObject *resultobj;
19146 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19147 long arg2 ;
19148 wxListItem *arg3 = 0 ;
19149 long result;
19150 PyObject * obj0 = 0 ;
19151 PyObject * obj2 = 0 ;
19152 char *kwnames[] = {
19153 (char *) "self",(char *) "col",(char *) "info", NULL
19154 };
19155
19156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19158 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19159 if (arg3 == NULL) {
19160 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19161 }
19162 {
19163 PyThreadState* __tstate = wxPyBeginAllowThreads();
19164 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19165
19166 wxPyEndAllowThreads(__tstate);
19167 if (PyErr_Occurred()) SWIG_fail;
19168 }
19169 resultobj = PyInt_FromLong((long)result);
19170 return resultobj;
19171 fail:
19172 return NULL;
19173 }
19174
19175
19176 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19177 PyObject *resultobj;
19178 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19179 long arg2 ;
19180 wxString *arg3 = 0 ;
19181 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19182 int arg5 = (int) -1 ;
19183 long result;
19184 bool temp3 = False ;
19185 PyObject * obj0 = 0 ;
19186 PyObject * obj2 = 0 ;
19187 char *kwnames[] = {
19188 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19189 };
19190
19191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19193 {
19194 arg3 = wxString_in_helper(obj2);
19195 if (arg3 == NULL) SWIG_fail;
19196 temp3 = True;
19197 }
19198 {
19199 PyThreadState* __tstate = wxPyBeginAllowThreads();
19200 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19201
19202 wxPyEndAllowThreads(__tstate);
19203 if (PyErr_Occurred()) SWIG_fail;
19204 }
19205 resultobj = PyInt_FromLong((long)result);
19206 {
19207 if (temp3)
19208 delete arg3;
19209 }
19210 return resultobj;
19211 fail:
19212 {
19213 if (temp3)
19214 delete arg3;
19215 }
19216 return NULL;
19217 }
19218
19219
19220 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19221 PyObject *resultobj;
19222 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19223 long arg2 ;
19224 PyObject * obj0 = 0 ;
19225 char *kwnames[] = {
19226 (char *) "self",(char *) "count", NULL
19227 };
19228
19229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19231 {
19232 PyThreadState* __tstate = wxPyBeginAllowThreads();
19233 (arg1)->SetItemCount(arg2);
19234
19235 wxPyEndAllowThreads(__tstate);
19236 if (PyErr_Occurred()) SWIG_fail;
19237 }
19238 Py_INCREF(Py_None); resultobj = Py_None;
19239 return resultobj;
19240 fail:
19241 return NULL;
19242 }
19243
19244
19245 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19246 PyObject *resultobj;
19247 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19248 int arg2 ;
19249 int arg3 ;
19250 bool result;
19251 PyObject * obj0 = 0 ;
19252 char *kwnames[] = {
19253 (char *) "self",(char *) "dx",(char *) "dy", NULL
19254 };
19255
19256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19258 {
19259 PyThreadState* __tstate = wxPyBeginAllowThreads();
19260 result = (bool)(arg1)->ScrollList(arg2,arg3);
19261
19262 wxPyEndAllowThreads(__tstate);
19263 if (PyErr_Occurred()) SWIG_fail;
19264 }
19265 resultobj = PyInt_FromLong((long)result);
19266 return resultobj;
19267 fail:
19268 return NULL;
19269 }
19270
19271
19272 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19273 PyObject *resultobj;
19274 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19275 long arg2 ;
19276 wxColour *arg3 = 0 ;
19277 wxColour temp3 ;
19278 PyObject * obj0 = 0 ;
19279 PyObject * obj2 = 0 ;
19280 char *kwnames[] = {
19281 (char *) "self",(char *) "item",(char *) "col", NULL
19282 };
19283
19284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19286 {
19287 arg3 = &temp3;
19288 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19289 }
19290 {
19291 PyThreadState* __tstate = wxPyBeginAllowThreads();
19292 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19293
19294 wxPyEndAllowThreads(__tstate);
19295 if (PyErr_Occurred()) SWIG_fail;
19296 }
19297 Py_INCREF(Py_None); resultobj = Py_None;
19298 return resultobj;
19299 fail:
19300 return NULL;
19301 }
19302
19303
19304 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19305 PyObject *resultobj;
19306 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19307 long arg2 ;
19308 wxColour result;
19309 PyObject * obj0 = 0 ;
19310 char *kwnames[] = {
19311 (char *) "self",(char *) "item", NULL
19312 };
19313
19314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19316 {
19317 PyThreadState* __tstate = wxPyBeginAllowThreads();
19318 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19319
19320 wxPyEndAllowThreads(__tstate);
19321 if (PyErr_Occurred()) SWIG_fail;
19322 }
19323 {
19324 wxColour * resultptr;
19325 resultptr = new wxColour((wxColour &) result);
19326 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19327 }
19328 return resultobj;
19329 fail:
19330 return NULL;
19331 }
19332
19333
19334 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19335 PyObject *resultobj;
19336 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19337 long arg2 ;
19338 wxColour *arg3 = 0 ;
19339 wxColour temp3 ;
19340 PyObject * obj0 = 0 ;
19341 PyObject * obj2 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self",(char *) "item",(char *) "col", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19348 {
19349 arg3 = &temp3;
19350 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19351 }
19352 {
19353 PyThreadState* __tstate = wxPyBeginAllowThreads();
19354 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19355
19356 wxPyEndAllowThreads(__tstate);
19357 if (PyErr_Occurred()) SWIG_fail;
19358 }
19359 Py_INCREF(Py_None); resultobj = Py_None;
19360 return resultobj;
19361 fail:
19362 return NULL;
19363 }
19364
19365
19366 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19367 PyObject *resultobj;
19368 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19369 long arg2 ;
19370 wxColour result;
19371 PyObject * obj0 = 0 ;
19372 char *kwnames[] = {
19373 (char *) "self",(char *) "item", NULL
19374 };
19375
19376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19378 {
19379 PyThreadState* __tstate = wxPyBeginAllowThreads();
19380 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19381
19382 wxPyEndAllowThreads(__tstate);
19383 if (PyErr_Occurred()) SWIG_fail;
19384 }
19385 {
19386 wxColour * resultptr;
19387 resultptr = new wxColour((wxColour &) result);
19388 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19389 }
19390 return resultobj;
19391 fail:
19392 return NULL;
19393 }
19394
19395
19396 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19397 PyObject *resultobj;
19398 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19399 PyObject *arg2 = (PyObject *) 0 ;
19400 bool result;
19401 PyObject * obj0 = 0 ;
19402 PyObject * obj1 = 0 ;
19403 char *kwnames[] = {
19404 (char *) "self",(char *) "func", NULL
19405 };
19406
19407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19409 arg2 = obj1;
19410 {
19411 PyThreadState* __tstate = wxPyBeginAllowThreads();
19412 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19413
19414 wxPyEndAllowThreads(__tstate);
19415 if (PyErr_Occurred()) SWIG_fail;
19416 }
19417 resultobj = PyInt_FromLong((long)result);
19418 return resultobj;
19419 fail:
19420 return NULL;
19421 }
19422
19423
19424 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19425 PyObject *resultobj;
19426 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19427 wxWindow *result;
19428 PyObject * obj0 = 0 ;
19429 char *kwnames[] = {
19430 (char *) "self", NULL
19431 };
19432
19433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19435 {
19436 PyThreadState* __tstate = wxPyBeginAllowThreads();
19437 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19438
19439 wxPyEndAllowThreads(__tstate);
19440 if (PyErr_Occurred()) SWIG_fail;
19441 }
19442 {
19443 resultobj = wxPyMake_wxObject(result);
19444 }
19445 return resultobj;
19446 fail:
19447 return NULL;
19448 }
19449
19450
19451 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19452 PyObject *obj;
19453 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19454 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19455 Py_INCREF(obj);
19456 return Py_BuildValue((char *)"");
19457 }
19458 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19459 PyObject *resultobj;
19460 wxWindow *arg1 = (wxWindow *) 0 ;
19461 int arg2 = (int) -1 ;
19462 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19463 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19464 wxSize const &arg4_defvalue = wxDefaultSize ;
19465 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19466 long arg5 = (long) wxLC_REPORT ;
19467 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19468 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19469 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19470 wxString *arg7 = (wxString *) &arg7_defvalue ;
19471 wxListView *result;
19472 wxPoint temp3 ;
19473 wxSize temp4 ;
19474 bool temp7 = False ;
19475 PyObject * obj0 = 0 ;
19476 PyObject * obj2 = 0 ;
19477 PyObject * obj3 = 0 ;
19478 PyObject * obj5 = 0 ;
19479 PyObject * obj6 = 0 ;
19480 char *kwnames[] = {
19481 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19482 };
19483
19484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19486 if (obj2) {
19487 {
19488 arg3 = &temp3;
19489 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19490 }
19491 }
19492 if (obj3) {
19493 {
19494 arg4 = &temp4;
19495 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19496 }
19497 }
19498 if (obj5) {
19499 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19500 if (arg6 == NULL) {
19501 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19502 }
19503 }
19504 if (obj6) {
19505 {
19506 arg7 = wxString_in_helper(obj6);
19507 if (arg7 == NULL) SWIG_fail;
19508 temp7 = True;
19509 }
19510 }
19511 {
19512 PyThreadState* __tstate = wxPyBeginAllowThreads();
19513 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19514
19515 wxPyEndAllowThreads(__tstate);
19516 if (PyErr_Occurred()) SWIG_fail;
19517 }
19518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19519 {
19520 if (temp7)
19521 delete arg7;
19522 }
19523 return resultobj;
19524 fail:
19525 {
19526 if (temp7)
19527 delete arg7;
19528 }
19529 return NULL;
19530 }
19531
19532
19533 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19534 PyObject *resultobj;
19535 wxListView *result;
19536 char *kwnames[] = {
19537 NULL
19538 };
19539
19540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19541 {
19542 PyThreadState* __tstate = wxPyBeginAllowThreads();
19543 result = (wxListView *)new wxListView();
19544
19545 wxPyEndAllowThreads(__tstate);
19546 if (PyErr_Occurred()) SWIG_fail;
19547 }
19548 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19549 return resultobj;
19550 fail:
19551 return NULL;
19552 }
19553
19554
19555 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19556 PyObject *resultobj;
19557 wxListView *arg1 = (wxListView *) 0 ;
19558 wxWindow *arg2 = (wxWindow *) 0 ;
19559 int arg3 = (int) -1 ;
19560 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19561 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19562 wxSize const &arg5_defvalue = wxDefaultSize ;
19563 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19564 long arg6 = (long) wxLC_REPORT ;
19565 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19566 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19567 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19568 wxString *arg8 = (wxString *) &arg8_defvalue ;
19569 bool result;
19570 wxPoint temp4 ;
19571 wxSize temp5 ;
19572 bool temp8 = False ;
19573 PyObject * obj0 = 0 ;
19574 PyObject * obj1 = 0 ;
19575 PyObject * obj3 = 0 ;
19576 PyObject * obj4 = 0 ;
19577 PyObject * obj6 = 0 ;
19578 PyObject * obj7 = 0 ;
19579 char *kwnames[] = {
19580 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19581 };
19582
19583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19585 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19586 if (obj3) {
19587 {
19588 arg4 = &temp4;
19589 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19590 }
19591 }
19592 if (obj4) {
19593 {
19594 arg5 = &temp5;
19595 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19596 }
19597 }
19598 if (obj6) {
19599 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19600 if (arg7 == NULL) {
19601 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19602 }
19603 }
19604 if (obj7) {
19605 {
19606 arg8 = wxString_in_helper(obj7);
19607 if (arg8 == NULL) SWIG_fail;
19608 temp8 = True;
19609 }
19610 }
19611 {
19612 PyThreadState* __tstate = wxPyBeginAllowThreads();
19613 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19614
19615 wxPyEndAllowThreads(__tstate);
19616 if (PyErr_Occurred()) SWIG_fail;
19617 }
19618 resultobj = PyInt_FromLong((long)result);
19619 {
19620 if (temp8)
19621 delete arg8;
19622 }
19623 return resultobj;
19624 fail:
19625 {
19626 if (temp8)
19627 delete arg8;
19628 }
19629 return NULL;
19630 }
19631
19632
19633 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19634 PyObject *resultobj;
19635 wxListView *arg1 = (wxListView *) 0 ;
19636 long arg2 ;
19637 bool arg3 = (bool) True ;
19638 PyObject * obj0 = 0 ;
19639 PyObject * obj2 = 0 ;
19640 char *kwnames[] = {
19641 (char *) "self",(char *) "n",(char *) "on", NULL
19642 };
19643
19644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19646 if (obj2) {
19647 arg3 = PyInt_AsLong(obj2) ? true : false;
19648 if (PyErr_Occurred()) SWIG_fail;
19649 }
19650 {
19651 PyThreadState* __tstate = wxPyBeginAllowThreads();
19652 (arg1)->Select(arg2,arg3);
19653
19654 wxPyEndAllowThreads(__tstate);
19655 if (PyErr_Occurred()) SWIG_fail;
19656 }
19657 Py_INCREF(Py_None); resultobj = Py_None;
19658 return resultobj;
19659 fail:
19660 return NULL;
19661 }
19662
19663
19664 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19665 PyObject *resultobj;
19666 wxListView *arg1 = (wxListView *) 0 ;
19667 long arg2 ;
19668 PyObject * obj0 = 0 ;
19669 char *kwnames[] = {
19670 (char *) "self",(char *) "index", NULL
19671 };
19672
19673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 (arg1)->Focus(arg2);
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 Py_INCREF(Py_None); resultobj = Py_None;
19683 return resultobj;
19684 fail:
19685 return NULL;
19686 }
19687
19688
19689 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxListView *arg1 = (wxListView *) 0 ;
19692 long result;
19693 PyObject * obj0 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "self", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19700 {
19701 PyThreadState* __tstate = wxPyBeginAllowThreads();
19702 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19703
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 resultobj = PyInt_FromLong((long)result);
19708 return resultobj;
19709 fail:
19710 return NULL;
19711 }
19712
19713
19714 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19715 PyObject *resultobj;
19716 wxListView *arg1 = (wxListView *) 0 ;
19717 long arg2 ;
19718 long result;
19719 PyObject * obj0 = 0 ;
19720 char *kwnames[] = {
19721 (char *) "self",(char *) "item", NULL
19722 };
19723
19724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19726 {
19727 PyThreadState* __tstate = wxPyBeginAllowThreads();
19728 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19729
19730 wxPyEndAllowThreads(__tstate);
19731 if (PyErr_Occurred()) SWIG_fail;
19732 }
19733 resultobj = PyInt_FromLong((long)result);
19734 return resultobj;
19735 fail:
19736 return NULL;
19737 }
19738
19739
19740 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19741 PyObject *resultobj;
19742 wxListView *arg1 = (wxListView *) 0 ;
19743 long result;
19744 PyObject * obj0 = 0 ;
19745 char *kwnames[] = {
19746 (char *) "self", NULL
19747 };
19748
19749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19751 {
19752 PyThreadState* __tstate = wxPyBeginAllowThreads();
19753 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19754
19755 wxPyEndAllowThreads(__tstate);
19756 if (PyErr_Occurred()) SWIG_fail;
19757 }
19758 resultobj = PyInt_FromLong((long)result);
19759 return resultobj;
19760 fail:
19761 return NULL;
19762 }
19763
19764
19765 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19766 PyObject *resultobj;
19767 wxListView *arg1 = (wxListView *) 0 ;
19768 long arg2 ;
19769 bool result;
19770 PyObject * obj0 = 0 ;
19771 char *kwnames[] = {
19772 (char *) "self",(char *) "index", NULL
19773 };
19774
19775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19777 {
19778 PyThreadState* __tstate = wxPyBeginAllowThreads();
19779 result = (bool)(arg1)->IsSelected(arg2);
19780
19781 wxPyEndAllowThreads(__tstate);
19782 if (PyErr_Occurred()) SWIG_fail;
19783 }
19784 resultobj = PyInt_FromLong((long)result);
19785 return resultobj;
19786 fail:
19787 return NULL;
19788 }
19789
19790
19791 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19792 PyObject *resultobj;
19793 wxListView *arg1 = (wxListView *) 0 ;
19794 int arg2 ;
19795 int arg3 ;
19796 PyObject * obj0 = 0 ;
19797 char *kwnames[] = {
19798 (char *) "self",(char *) "col",(char *) "image", NULL
19799 };
19800
19801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19803 {
19804 PyThreadState* __tstate = wxPyBeginAllowThreads();
19805 (arg1)->SetColumnImage(arg2,arg3);
19806
19807 wxPyEndAllowThreads(__tstate);
19808 if (PyErr_Occurred()) SWIG_fail;
19809 }
19810 Py_INCREF(Py_None); resultobj = Py_None;
19811 return resultobj;
19812 fail:
19813 return NULL;
19814 }
19815
19816
19817 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19818 PyObject *resultobj;
19819 wxListView *arg1 = (wxListView *) 0 ;
19820 int arg2 ;
19821 PyObject * obj0 = 0 ;
19822 char *kwnames[] = {
19823 (char *) "self",(char *) "col", NULL
19824 };
19825
19826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19828 {
19829 PyThreadState* __tstate = wxPyBeginAllowThreads();
19830 (arg1)->ClearColumnImage(arg2);
19831
19832 wxPyEndAllowThreads(__tstate);
19833 if (PyErr_Occurred()) SWIG_fail;
19834 }
19835 Py_INCREF(Py_None); resultobj = Py_None;
19836 return resultobj;
19837 fail:
19838 return NULL;
19839 }
19840
19841
19842 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19843 PyObject *obj;
19844 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19845 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19846 Py_INCREF(obj);
19847 return Py_BuildValue((char *)"");
19848 }
19849 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19850 PyObject *resultobj;
19851 wxTreeItemId *result;
19852 char *kwnames[] = {
19853 NULL
19854 };
19855
19856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19857 {
19858 PyThreadState* __tstate = wxPyBeginAllowThreads();
19859 result = (wxTreeItemId *)new wxTreeItemId();
19860
19861 wxPyEndAllowThreads(__tstate);
19862 if (PyErr_Occurred()) SWIG_fail;
19863 }
19864 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19865 return resultobj;
19866 fail:
19867 return NULL;
19868 }
19869
19870
19871 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19872 PyObject *resultobj;
19873 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19874 PyObject * obj0 = 0 ;
19875 char *kwnames[] = {
19876 (char *) "self", NULL
19877 };
19878
19879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19881 {
19882 PyThreadState* __tstate = wxPyBeginAllowThreads();
19883 delete arg1;
19884
19885 wxPyEndAllowThreads(__tstate);
19886 if (PyErr_Occurred()) SWIG_fail;
19887 }
19888 Py_INCREF(Py_None); resultobj = Py_None;
19889 return resultobj;
19890 fail:
19891 return NULL;
19892 }
19893
19894
19895 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19896 PyObject *resultobj;
19897 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19898 bool result;
19899 PyObject * obj0 = 0 ;
19900 char *kwnames[] = {
19901 (char *) "self", NULL
19902 };
19903
19904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19906 {
19907 PyThreadState* __tstate = wxPyBeginAllowThreads();
19908 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19909
19910 wxPyEndAllowThreads(__tstate);
19911 if (PyErr_Occurred()) SWIG_fail;
19912 }
19913 resultobj = PyInt_FromLong((long)result);
19914 return resultobj;
19915 fail:
19916 return NULL;
19917 }
19918
19919
19920 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19921 PyObject *resultobj;
19922 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19923 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19924 bool result;
19925 PyObject * obj0 = 0 ;
19926 PyObject * obj1 = 0 ;
19927 char *kwnames[] = {
19928 (char *) "self",(char *) "other", NULL
19929 };
19930
19931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19933 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19934 {
19935 PyThreadState* __tstate = wxPyBeginAllowThreads();
19936 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19937
19938 wxPyEndAllowThreads(__tstate);
19939 if (PyErr_Occurred()) SWIG_fail;
19940 }
19941 resultobj = PyInt_FromLong((long)result);
19942 return resultobj;
19943 fail:
19944 return NULL;
19945 }
19946
19947
19948 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19949 PyObject *resultobj;
19950 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19951 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19952 bool result;
19953 PyObject * obj0 = 0 ;
19954 PyObject * obj1 = 0 ;
19955 char *kwnames[] = {
19956 (char *) "self",(char *) "other", NULL
19957 };
19958
19959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19962 {
19963 PyThreadState* __tstate = wxPyBeginAllowThreads();
19964 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19965
19966 wxPyEndAllowThreads(__tstate);
19967 if (PyErr_Occurred()) SWIG_fail;
19968 }
19969 resultobj = PyInt_FromLong((long)result);
19970 return resultobj;
19971 fail:
19972 return NULL;
19973 }
19974
19975
19976 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19977 PyObject *resultobj;
19978 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19979 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19980 PyObject * obj0 = 0 ;
19981 PyObject * obj1 = 0 ;
19982 char *kwnames[] = {
19983 (char *) "self",(char *) "m_pItem", NULL
19984 };
19985
19986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19988 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19989 if (arg1) (arg1)->m_pItem = arg2;
19990
19991 Py_INCREF(Py_None); resultobj = Py_None;
19992 return resultobj;
19993 fail:
19994 return NULL;
19995 }
19996
19997
19998 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19999 PyObject *resultobj;
20000 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20001 wxTreeItemIdValue result;
20002 PyObject * obj0 = 0 ;
20003 char *kwnames[] = {
20004 (char *) "self", NULL
20005 };
20006
20007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20009 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
20010
20011 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
20012 return resultobj;
20013 fail:
20014 return NULL;
20015 }
20016
20017
20018 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20019 PyObject *obj;
20020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20021 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20022 Py_INCREF(obj);
20023 return Py_BuildValue((char *)"");
20024 }
20025 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20026 PyObject *resultobj;
20027 PyObject *arg1 = (PyObject *) NULL ;
20028 wxPyTreeItemData *result;
20029 PyObject * obj0 = 0 ;
20030 char *kwnames[] = {
20031 (char *) "obj", NULL
20032 };
20033
20034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20035 if (obj0) {
20036 arg1 = obj0;
20037 }
20038 {
20039 PyThreadState* __tstate = wxPyBeginAllowThreads();
20040 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20041
20042 wxPyEndAllowThreads(__tstate);
20043 if (PyErr_Occurred()) SWIG_fail;
20044 }
20045 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20046 return resultobj;
20047 fail:
20048 return NULL;
20049 }
20050
20051
20052 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20053 PyObject *resultobj;
20054 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20055 PyObject *result;
20056 PyObject * obj0 = 0 ;
20057 char *kwnames[] = {
20058 (char *) "self", NULL
20059 };
20060
20061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20063 {
20064 PyThreadState* __tstate = wxPyBeginAllowThreads();
20065 result = (PyObject *)(arg1)->GetData();
20066
20067 wxPyEndAllowThreads(__tstate);
20068 if (PyErr_Occurred()) SWIG_fail;
20069 }
20070 resultobj = result;
20071 return resultobj;
20072 fail:
20073 return NULL;
20074 }
20075
20076
20077 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20078 PyObject *resultobj;
20079 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20080 PyObject *arg2 = (PyObject *) 0 ;
20081 PyObject * obj0 = 0 ;
20082 PyObject * obj1 = 0 ;
20083 char *kwnames[] = {
20084 (char *) "self",(char *) "obj", NULL
20085 };
20086
20087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20089 arg2 = obj1;
20090 {
20091 PyThreadState* __tstate = wxPyBeginAllowThreads();
20092 (arg1)->SetData(arg2);
20093
20094 wxPyEndAllowThreads(__tstate);
20095 if (PyErr_Occurred()) SWIG_fail;
20096 }
20097 Py_INCREF(Py_None); resultobj = Py_None;
20098 return resultobj;
20099 fail:
20100 return NULL;
20101 }
20102
20103
20104 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20105 PyObject *resultobj;
20106 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20107 wxTreeItemId *result;
20108 PyObject * obj0 = 0 ;
20109 char *kwnames[] = {
20110 (char *) "self", NULL
20111 };
20112
20113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20115 {
20116 PyThreadState* __tstate = wxPyBeginAllowThreads();
20117 {
20118 wxTreeItemId const &_result_ref = (arg1)->GetId();
20119 result = (wxTreeItemId *) &_result_ref;
20120 }
20121
20122 wxPyEndAllowThreads(__tstate);
20123 if (PyErr_Occurred()) SWIG_fail;
20124 }
20125 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20126 return resultobj;
20127 fail:
20128 return NULL;
20129 }
20130
20131
20132 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20133 PyObject *resultobj;
20134 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20135 wxTreeItemId *arg2 = 0 ;
20136 PyObject * obj0 = 0 ;
20137 PyObject * obj1 = 0 ;
20138 char *kwnames[] = {
20139 (char *) "self",(char *) "id", NULL
20140 };
20141
20142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20144 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20145 if (arg2 == NULL) {
20146 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20147 }
20148 {
20149 PyThreadState* __tstate = wxPyBeginAllowThreads();
20150 (arg1)->SetId((wxTreeItemId const &)*arg2);
20151
20152 wxPyEndAllowThreads(__tstate);
20153 if (PyErr_Occurred()) SWIG_fail;
20154 }
20155 Py_INCREF(Py_None); resultobj = Py_None;
20156 return resultobj;
20157 fail:
20158 return NULL;
20159 }
20160
20161
20162 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20163 PyObject *resultobj;
20164 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20165 PyObject * obj0 = 0 ;
20166 char *kwnames[] = {
20167 (char *) "self", NULL
20168 };
20169
20170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20172 {
20173 PyThreadState* __tstate = wxPyBeginAllowThreads();
20174 wxPyTreeItemData_Destroy(arg1);
20175
20176 wxPyEndAllowThreads(__tstate);
20177 if (PyErr_Occurred()) SWIG_fail;
20178 }
20179 Py_INCREF(Py_None); resultobj = Py_None;
20180 return resultobj;
20181 fail:
20182 return NULL;
20183 }
20184
20185
20186 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20187 PyObject *obj;
20188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20189 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20190 Py_INCREF(obj);
20191 return Py_BuildValue((char *)"");
20192 }
20193 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20194 PyObject *resultobj;
20195 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20196 int arg2 = (int) 0 ;
20197 wxTreeEvent *result;
20198 char *kwnames[] = {
20199 (char *) "commandType",(char *) "id", NULL
20200 };
20201
20202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20203 {
20204 PyThreadState* __tstate = wxPyBeginAllowThreads();
20205 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20206
20207 wxPyEndAllowThreads(__tstate);
20208 if (PyErr_Occurred()) SWIG_fail;
20209 }
20210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20211 return resultobj;
20212 fail:
20213 return NULL;
20214 }
20215
20216
20217 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20218 PyObject *resultobj;
20219 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20220 wxTreeItemId result;
20221 PyObject * obj0 = 0 ;
20222 char *kwnames[] = {
20223 (char *) "self", NULL
20224 };
20225
20226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20228 {
20229 PyThreadState* __tstate = wxPyBeginAllowThreads();
20230 result = ((wxTreeEvent const *)arg1)->GetItem();
20231
20232 wxPyEndAllowThreads(__tstate);
20233 if (PyErr_Occurred()) SWIG_fail;
20234 }
20235 {
20236 wxTreeItemId * resultptr;
20237 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20238 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20239 }
20240 return resultobj;
20241 fail:
20242 return NULL;
20243 }
20244
20245
20246 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20247 PyObject *resultobj;
20248 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20249 wxTreeItemId *arg2 = 0 ;
20250 PyObject * obj0 = 0 ;
20251 PyObject * obj1 = 0 ;
20252 char *kwnames[] = {
20253 (char *) "self",(char *) "item", NULL
20254 };
20255
20256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20259 if (arg2 == NULL) {
20260 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20261 }
20262 {
20263 PyThreadState* __tstate = wxPyBeginAllowThreads();
20264 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20265
20266 wxPyEndAllowThreads(__tstate);
20267 if (PyErr_Occurred()) SWIG_fail;
20268 }
20269 Py_INCREF(Py_None); resultobj = Py_None;
20270 return resultobj;
20271 fail:
20272 return NULL;
20273 }
20274
20275
20276 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20277 PyObject *resultobj;
20278 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20279 wxTreeItemId result;
20280 PyObject * obj0 = 0 ;
20281 char *kwnames[] = {
20282 (char *) "self", NULL
20283 };
20284
20285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20287 {
20288 PyThreadState* __tstate = wxPyBeginAllowThreads();
20289 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20290
20291 wxPyEndAllowThreads(__tstate);
20292 if (PyErr_Occurred()) SWIG_fail;
20293 }
20294 {
20295 wxTreeItemId * resultptr;
20296 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20297 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20298 }
20299 return resultobj;
20300 fail:
20301 return NULL;
20302 }
20303
20304
20305 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20306 PyObject *resultobj;
20307 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20308 wxTreeItemId *arg2 = 0 ;
20309 PyObject * obj0 = 0 ;
20310 PyObject * obj1 = 0 ;
20311 char *kwnames[] = {
20312 (char *) "self",(char *) "item", NULL
20313 };
20314
20315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20317 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20318 if (arg2 == NULL) {
20319 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20320 }
20321 {
20322 PyThreadState* __tstate = wxPyBeginAllowThreads();
20323 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20324
20325 wxPyEndAllowThreads(__tstate);
20326 if (PyErr_Occurred()) SWIG_fail;
20327 }
20328 Py_INCREF(Py_None); resultobj = Py_None;
20329 return resultobj;
20330 fail:
20331 return NULL;
20332 }
20333
20334
20335 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20336 PyObject *resultobj;
20337 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20338 wxPoint result;
20339 PyObject * obj0 = 0 ;
20340 char *kwnames[] = {
20341 (char *) "self", NULL
20342 };
20343
20344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20346 {
20347 PyThreadState* __tstate = wxPyBeginAllowThreads();
20348 result = ((wxTreeEvent const *)arg1)->GetPoint();
20349
20350 wxPyEndAllowThreads(__tstate);
20351 if (PyErr_Occurred()) SWIG_fail;
20352 }
20353 {
20354 wxPoint * resultptr;
20355 resultptr = new wxPoint((wxPoint &) result);
20356 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20357 }
20358 return resultobj;
20359 fail:
20360 return NULL;
20361 }
20362
20363
20364 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20365 PyObject *resultobj;
20366 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20367 wxPoint *arg2 = 0 ;
20368 wxPoint temp2 ;
20369 PyObject * obj0 = 0 ;
20370 PyObject * obj1 = 0 ;
20371 char *kwnames[] = {
20372 (char *) "self",(char *) "pt", NULL
20373 };
20374
20375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20377 {
20378 arg2 = &temp2;
20379 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20380 }
20381 {
20382 PyThreadState* __tstate = wxPyBeginAllowThreads();
20383 (arg1)->SetPoint((wxPoint const &)*arg2);
20384
20385 wxPyEndAllowThreads(__tstate);
20386 if (PyErr_Occurred()) SWIG_fail;
20387 }
20388 Py_INCREF(Py_None); resultobj = Py_None;
20389 return resultobj;
20390 fail:
20391 return NULL;
20392 }
20393
20394
20395 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20396 PyObject *resultobj;
20397 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20398 wxKeyEvent *result;
20399 PyObject * obj0 = 0 ;
20400 char *kwnames[] = {
20401 (char *) "self", NULL
20402 };
20403
20404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20406 {
20407 PyThreadState* __tstate = wxPyBeginAllowThreads();
20408 {
20409 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20410 result = (wxKeyEvent *) &_result_ref;
20411 }
20412
20413 wxPyEndAllowThreads(__tstate);
20414 if (PyErr_Occurred()) SWIG_fail;
20415 }
20416 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20417 return resultobj;
20418 fail:
20419 return NULL;
20420 }
20421
20422
20423 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20424 PyObject *resultobj;
20425 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20426 int result;
20427 PyObject * obj0 = 0 ;
20428 char *kwnames[] = {
20429 (char *) "self", NULL
20430 };
20431
20432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20434 {
20435 PyThreadState* __tstate = wxPyBeginAllowThreads();
20436 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20437
20438 wxPyEndAllowThreads(__tstate);
20439 if (PyErr_Occurred()) SWIG_fail;
20440 }
20441 resultobj = PyInt_FromLong((long)result);
20442 return resultobj;
20443 fail:
20444 return NULL;
20445 }
20446
20447
20448 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20449 PyObject *resultobj;
20450 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20451 wxKeyEvent *arg2 = 0 ;
20452 PyObject * obj0 = 0 ;
20453 PyObject * obj1 = 0 ;
20454 char *kwnames[] = {
20455 (char *) "self",(char *) "evt", NULL
20456 };
20457
20458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20460 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20461 if (arg2 == NULL) {
20462 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20463 }
20464 {
20465 PyThreadState* __tstate = wxPyBeginAllowThreads();
20466 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20467
20468 wxPyEndAllowThreads(__tstate);
20469 if (PyErr_Occurred()) SWIG_fail;
20470 }
20471 Py_INCREF(Py_None); resultobj = Py_None;
20472 return resultobj;
20473 fail:
20474 return NULL;
20475 }
20476
20477
20478 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20479 PyObject *resultobj;
20480 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20481 wxString *result;
20482 PyObject * obj0 = 0 ;
20483 char *kwnames[] = {
20484 (char *) "self", NULL
20485 };
20486
20487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 {
20492 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20493 result = (wxString *) &_result_ref;
20494 }
20495
20496 wxPyEndAllowThreads(__tstate);
20497 if (PyErr_Occurred()) SWIG_fail;
20498 }
20499 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
20500 return resultobj;
20501 fail:
20502 return NULL;
20503 }
20504
20505
20506 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20507 PyObject *resultobj;
20508 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20509 wxString *arg2 = 0 ;
20510 bool temp2 = False ;
20511 PyObject * obj0 = 0 ;
20512 PyObject * obj1 = 0 ;
20513 char *kwnames[] = {
20514 (char *) "self",(char *) "label", NULL
20515 };
20516
20517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20519 {
20520 arg2 = wxString_in_helper(obj1);
20521 if (arg2 == NULL) SWIG_fail;
20522 temp2 = True;
20523 }
20524 {
20525 PyThreadState* __tstate = wxPyBeginAllowThreads();
20526 (arg1)->SetLabel((wxString const &)*arg2);
20527
20528 wxPyEndAllowThreads(__tstate);
20529 if (PyErr_Occurred()) SWIG_fail;
20530 }
20531 Py_INCREF(Py_None); resultobj = Py_None;
20532 {
20533 if (temp2)
20534 delete arg2;
20535 }
20536 return resultobj;
20537 fail:
20538 {
20539 if (temp2)
20540 delete arg2;
20541 }
20542 return NULL;
20543 }
20544
20545
20546 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20547 PyObject *resultobj;
20548 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20549 bool result;
20550 PyObject * obj0 = 0 ;
20551 char *kwnames[] = {
20552 (char *) "self", NULL
20553 };
20554
20555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20557 {
20558 PyThreadState* __tstate = wxPyBeginAllowThreads();
20559 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20560
20561 wxPyEndAllowThreads(__tstate);
20562 if (PyErr_Occurred()) SWIG_fail;
20563 }
20564 resultobj = PyInt_FromLong((long)result);
20565 return resultobj;
20566 fail:
20567 return NULL;
20568 }
20569
20570
20571 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20572 PyObject *resultobj;
20573 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20574 bool arg2 ;
20575 PyObject * obj0 = 0 ;
20576 PyObject * obj1 = 0 ;
20577 char *kwnames[] = {
20578 (char *) "self",(char *) "editCancelled", NULL
20579 };
20580
20581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20583 arg2 = PyInt_AsLong(obj1) ? true : false;
20584 if (PyErr_Occurred()) SWIG_fail;
20585 {
20586 PyThreadState* __tstate = wxPyBeginAllowThreads();
20587 (arg1)->SetEditCanceled(arg2);
20588
20589 wxPyEndAllowThreads(__tstate);
20590 if (PyErr_Occurred()) SWIG_fail;
20591 }
20592 Py_INCREF(Py_None); resultobj = Py_None;
20593 return resultobj;
20594 fail:
20595 return NULL;
20596 }
20597
20598
20599 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20600 PyObject *obj;
20601 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20602 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20603 Py_INCREF(obj);
20604 return Py_BuildValue((char *)"");
20605 }
20606 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20607 PyObject *resultobj;
20608 wxWindow *arg1 = (wxWindow *) 0 ;
20609 int arg2 = (int) -1 ;
20610 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20611 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20612 wxSize const &arg4_defvalue = wxDefaultSize ;
20613 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20614 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20615 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20616 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20617 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20618 wxString *arg7 = (wxString *) &arg7_defvalue ;
20619 wxPyTreeCtrl *result;
20620 wxPoint temp3 ;
20621 wxSize temp4 ;
20622 bool temp7 = False ;
20623 PyObject * obj0 = 0 ;
20624 PyObject * obj2 = 0 ;
20625 PyObject * obj3 = 0 ;
20626 PyObject * obj5 = 0 ;
20627 PyObject * obj6 = 0 ;
20628 char *kwnames[] = {
20629 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20630 };
20631
20632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20634 if (obj2) {
20635 {
20636 arg3 = &temp3;
20637 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20638 }
20639 }
20640 if (obj3) {
20641 {
20642 arg4 = &temp4;
20643 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20644 }
20645 }
20646 if (obj5) {
20647 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20648 if (arg6 == NULL) {
20649 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20650 }
20651 }
20652 if (obj6) {
20653 {
20654 arg7 = wxString_in_helper(obj6);
20655 if (arg7 == NULL) SWIG_fail;
20656 temp7 = True;
20657 }
20658 }
20659 {
20660 PyThreadState* __tstate = wxPyBeginAllowThreads();
20661 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20662
20663 wxPyEndAllowThreads(__tstate);
20664 if (PyErr_Occurred()) SWIG_fail;
20665 }
20666 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20667 {
20668 if (temp7)
20669 delete arg7;
20670 }
20671 return resultobj;
20672 fail:
20673 {
20674 if (temp7)
20675 delete arg7;
20676 }
20677 return NULL;
20678 }
20679
20680
20681 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20682 PyObject *resultobj;
20683 wxPyTreeCtrl *result;
20684 char *kwnames[] = {
20685 NULL
20686 };
20687
20688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20689 {
20690 PyThreadState* __tstate = wxPyBeginAllowThreads();
20691 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20692
20693 wxPyEndAllowThreads(__tstate);
20694 if (PyErr_Occurred()) SWIG_fail;
20695 }
20696 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20697 return resultobj;
20698 fail:
20699 return NULL;
20700 }
20701
20702
20703 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20704 PyObject *resultobj;
20705 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20706 wxWindow *arg2 = (wxWindow *) 0 ;
20707 int arg3 = (int) -1 ;
20708 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20709 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20710 wxSize const &arg5_defvalue = wxDefaultSize ;
20711 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20712 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20713 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20714 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20715 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20716 wxString *arg8 = (wxString *) &arg8_defvalue ;
20717 bool result;
20718 wxPoint temp4 ;
20719 wxSize temp5 ;
20720 bool temp8 = False ;
20721 PyObject * obj0 = 0 ;
20722 PyObject * obj1 = 0 ;
20723 PyObject * obj3 = 0 ;
20724 PyObject * obj4 = 0 ;
20725 PyObject * obj6 = 0 ;
20726 PyObject * obj7 = 0 ;
20727 char *kwnames[] = {
20728 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20729 };
20730
20731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20733 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20734 if (obj3) {
20735 {
20736 arg4 = &temp4;
20737 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20738 }
20739 }
20740 if (obj4) {
20741 {
20742 arg5 = &temp5;
20743 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20744 }
20745 }
20746 if (obj6) {
20747 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20748 if (arg7 == NULL) {
20749 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20750 }
20751 }
20752 if (obj7) {
20753 {
20754 arg8 = wxString_in_helper(obj7);
20755 if (arg8 == NULL) SWIG_fail;
20756 temp8 = True;
20757 }
20758 }
20759 {
20760 PyThreadState* __tstate = wxPyBeginAllowThreads();
20761 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20762
20763 wxPyEndAllowThreads(__tstate);
20764 if (PyErr_Occurred()) SWIG_fail;
20765 }
20766 resultobj = PyInt_FromLong((long)result);
20767 {
20768 if (temp8)
20769 delete arg8;
20770 }
20771 return resultobj;
20772 fail:
20773 {
20774 if (temp8)
20775 delete arg8;
20776 }
20777 return NULL;
20778 }
20779
20780
20781 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20782 PyObject *resultobj;
20783 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20784 PyObject *arg2 = (PyObject *) 0 ;
20785 PyObject *arg3 = (PyObject *) 0 ;
20786 PyObject * obj0 = 0 ;
20787 PyObject * obj1 = 0 ;
20788 PyObject * obj2 = 0 ;
20789 char *kwnames[] = {
20790 (char *) "self",(char *) "self",(char *) "_class", NULL
20791 };
20792
20793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20795 arg2 = obj1;
20796 arg3 = obj2;
20797 {
20798 PyThreadState* __tstate = wxPyBeginAllowThreads();
20799 (arg1)->_setCallbackInfo(arg2,arg3);
20800
20801 wxPyEndAllowThreads(__tstate);
20802 if (PyErr_Occurred()) SWIG_fail;
20803 }
20804 Py_INCREF(Py_None); resultobj = Py_None;
20805 return resultobj;
20806 fail:
20807 return NULL;
20808 }
20809
20810
20811 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20812 PyObject *resultobj;
20813 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20814 size_t result;
20815 PyObject * obj0 = 0 ;
20816 char *kwnames[] = {
20817 (char *) "self", NULL
20818 };
20819
20820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20822 {
20823 PyThreadState* __tstate = wxPyBeginAllowThreads();
20824 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20825
20826 wxPyEndAllowThreads(__tstate);
20827 if (PyErr_Occurred()) SWIG_fail;
20828 }
20829 resultobj = PyInt_FromLong((long)result);
20830 return resultobj;
20831 fail:
20832 return NULL;
20833 }
20834
20835
20836 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20837 PyObject *resultobj;
20838 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20839 unsigned int result;
20840 PyObject * obj0 = 0 ;
20841 char *kwnames[] = {
20842 (char *) "self", NULL
20843 };
20844
20845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20847 {
20848 PyThreadState* __tstate = wxPyBeginAllowThreads();
20849 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20850
20851 wxPyEndAllowThreads(__tstate);
20852 if (PyErr_Occurred()) SWIG_fail;
20853 }
20854 resultobj = PyInt_FromLong((long)result);
20855 return resultobj;
20856 fail:
20857 return NULL;
20858 }
20859
20860
20861 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20862 PyObject *resultobj;
20863 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20864 unsigned int arg2 ;
20865 PyObject * obj0 = 0 ;
20866 PyObject * obj1 = 0 ;
20867 char *kwnames[] = {
20868 (char *) "self",(char *) "indent", NULL
20869 };
20870
20871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20873 arg2 = (unsigned int) PyInt_AsLong(obj1);
20874 if (PyErr_Occurred()) SWIG_fail;
20875 {
20876 PyThreadState* __tstate = wxPyBeginAllowThreads();
20877 (arg1)->SetIndent(arg2);
20878
20879 wxPyEndAllowThreads(__tstate);
20880 if (PyErr_Occurred()) SWIG_fail;
20881 }
20882 Py_INCREF(Py_None); resultobj = Py_None;
20883 return resultobj;
20884 fail:
20885 return NULL;
20886 }
20887
20888
20889 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20890 PyObject *resultobj;
20891 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20892 unsigned int result;
20893 PyObject * obj0 = 0 ;
20894 char *kwnames[] = {
20895 (char *) "self", NULL
20896 };
20897
20898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20900 {
20901 PyThreadState* __tstate = wxPyBeginAllowThreads();
20902 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20903
20904 wxPyEndAllowThreads(__tstate);
20905 if (PyErr_Occurred()) SWIG_fail;
20906 }
20907 resultobj = PyInt_FromLong((long)result);
20908 return resultobj;
20909 fail:
20910 return NULL;
20911 }
20912
20913
20914 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20915 PyObject *resultobj;
20916 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20917 unsigned int arg2 ;
20918 PyObject * obj0 = 0 ;
20919 PyObject * obj1 = 0 ;
20920 char *kwnames[] = {
20921 (char *) "self",(char *) "spacing", NULL
20922 };
20923
20924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20926 arg2 = (unsigned int) PyInt_AsLong(obj1);
20927 if (PyErr_Occurred()) SWIG_fail;
20928 {
20929 PyThreadState* __tstate = wxPyBeginAllowThreads();
20930 (arg1)->SetSpacing(arg2);
20931
20932 wxPyEndAllowThreads(__tstate);
20933 if (PyErr_Occurred()) SWIG_fail;
20934 }
20935 Py_INCREF(Py_None); resultobj = Py_None;
20936 return resultobj;
20937 fail:
20938 return NULL;
20939 }
20940
20941
20942 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20943 PyObject *resultobj;
20944 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20945 wxImageList *result;
20946 PyObject * obj0 = 0 ;
20947 char *kwnames[] = {
20948 (char *) "self", NULL
20949 };
20950
20951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20953 {
20954 PyThreadState* __tstate = wxPyBeginAllowThreads();
20955 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20956
20957 wxPyEndAllowThreads(__tstate);
20958 if (PyErr_Occurred()) SWIG_fail;
20959 }
20960 {
20961 resultobj = wxPyMake_wxObject(result);
20962 }
20963 return resultobj;
20964 fail:
20965 return NULL;
20966 }
20967
20968
20969 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20970 PyObject *resultobj;
20971 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20972 wxImageList *result;
20973 PyObject * obj0 = 0 ;
20974 char *kwnames[] = {
20975 (char *) "self", NULL
20976 };
20977
20978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20980 {
20981 PyThreadState* __tstate = wxPyBeginAllowThreads();
20982 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
20983
20984 wxPyEndAllowThreads(__tstate);
20985 if (PyErr_Occurred()) SWIG_fail;
20986 }
20987 {
20988 resultobj = wxPyMake_wxObject(result);
20989 }
20990 return resultobj;
20991 fail:
20992 return NULL;
20993 }
20994
20995
20996 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20997 PyObject *resultobj;
20998 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20999 wxImageList *arg2 = (wxImageList *) 0 ;
21000 PyObject * obj0 = 0 ;
21001 PyObject * obj1 = 0 ;
21002 char *kwnames[] = {
21003 (char *) "self",(char *) "imageList", NULL
21004 };
21005
21006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21008 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21009 {
21010 PyThreadState* __tstate = wxPyBeginAllowThreads();
21011 (arg1)->SetImageList(arg2);
21012
21013 wxPyEndAllowThreads(__tstate);
21014 if (PyErr_Occurred()) SWIG_fail;
21015 }
21016 Py_INCREF(Py_None); resultobj = Py_None;
21017 return resultobj;
21018 fail:
21019 return NULL;
21020 }
21021
21022
21023 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21024 PyObject *resultobj;
21025 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21026 wxImageList *arg2 = (wxImageList *) 0 ;
21027 PyObject * obj0 = 0 ;
21028 PyObject * obj1 = 0 ;
21029 char *kwnames[] = {
21030 (char *) "self",(char *) "imageList", NULL
21031 };
21032
21033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21035 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21036 {
21037 PyThreadState* __tstate = wxPyBeginAllowThreads();
21038 (arg1)->SetStateImageList(arg2);
21039
21040 wxPyEndAllowThreads(__tstate);
21041 if (PyErr_Occurred()) SWIG_fail;
21042 }
21043 Py_INCREF(Py_None); resultobj = Py_None;
21044 return resultobj;
21045 fail:
21046 return NULL;
21047 }
21048
21049
21050 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21051 PyObject *resultobj;
21052 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21053 wxImageList *arg2 = (wxImageList *) 0 ;
21054 PyObject * obj0 = 0 ;
21055 PyObject * obj1 = 0 ;
21056 char *kwnames[] = {
21057 (char *) "self",(char *) "imageList", NULL
21058 };
21059
21060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21062 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21063 {
21064 PyThreadState* __tstate = wxPyBeginAllowThreads();
21065 (arg1)->AssignImageList(arg2);
21066
21067 wxPyEndAllowThreads(__tstate);
21068 if (PyErr_Occurred()) SWIG_fail;
21069 }
21070 Py_INCREF(Py_None); resultobj = Py_None;
21071 return resultobj;
21072 fail:
21073 return NULL;
21074 }
21075
21076
21077 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21078 PyObject *resultobj;
21079 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21080 wxImageList *arg2 = (wxImageList *) 0 ;
21081 PyObject * obj0 = 0 ;
21082 PyObject * obj1 = 0 ;
21083 char *kwnames[] = {
21084 (char *) "self",(char *) "imageList", NULL
21085 };
21086
21087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21089 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21090 {
21091 PyThreadState* __tstate = wxPyBeginAllowThreads();
21092 (arg1)->AssignStateImageList(arg2);
21093
21094 wxPyEndAllowThreads(__tstate);
21095 if (PyErr_Occurred()) SWIG_fail;
21096 }
21097 Py_INCREF(Py_None); resultobj = Py_None;
21098 return resultobj;
21099 fail:
21100 return NULL;
21101 }
21102
21103
21104 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21105 PyObject *resultobj;
21106 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21107 wxTreeItemId *arg2 = 0 ;
21108 wxString result;
21109 PyObject * obj0 = 0 ;
21110 PyObject * obj1 = 0 ;
21111 char *kwnames[] = {
21112 (char *) "self",(char *) "item", NULL
21113 };
21114
21115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21118 if (arg2 == NULL) {
21119 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21120 }
21121 {
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21124
21125 wxPyEndAllowThreads(__tstate);
21126 if (PyErr_Occurred()) SWIG_fail;
21127 }
21128 {
21129 #if wxUSE_UNICODE
21130 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21131 #else
21132 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21133 #endif
21134 }
21135 return resultobj;
21136 fail:
21137 return NULL;
21138 }
21139
21140
21141 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21142 PyObject *resultobj;
21143 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21144 wxTreeItemId *arg2 = 0 ;
21145 int arg3 = (int) wxTreeItemIcon_Normal ;
21146 int result;
21147 PyObject * obj0 = 0 ;
21148 PyObject * obj1 = 0 ;
21149 char *kwnames[] = {
21150 (char *) "self",(char *) "item",(char *) "which", NULL
21151 };
21152
21153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21155 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21156 if (arg2 == NULL) {
21157 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21158 }
21159 {
21160 PyThreadState* __tstate = wxPyBeginAllowThreads();
21161 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21162
21163 wxPyEndAllowThreads(__tstate);
21164 if (PyErr_Occurred()) SWIG_fail;
21165 }
21166 resultobj = PyInt_FromLong((long)result);
21167 return resultobj;
21168 fail:
21169 return NULL;
21170 }
21171
21172
21173 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21174 PyObject *resultobj;
21175 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21176 wxTreeItemId *arg2 = 0 ;
21177 wxPyTreeItemData *result;
21178 PyObject * obj0 = 0 ;
21179 PyObject * obj1 = 0 ;
21180 char *kwnames[] = {
21181 (char *) "self",(char *) "item", NULL
21182 };
21183
21184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21186 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21187 if (arg2 == NULL) {
21188 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21189 }
21190 {
21191 PyThreadState* __tstate = wxPyBeginAllowThreads();
21192 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21193
21194 wxPyEndAllowThreads(__tstate);
21195 if (PyErr_Occurred()) SWIG_fail;
21196 }
21197 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21198 return resultobj;
21199 fail:
21200 return NULL;
21201 }
21202
21203
21204 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21205 PyObject *resultobj;
21206 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21207 wxTreeItemId *arg2 = 0 ;
21208 PyObject *result;
21209 PyObject * obj0 = 0 ;
21210 PyObject * obj1 = 0 ;
21211 char *kwnames[] = {
21212 (char *) "self",(char *) "item", NULL
21213 };
21214
21215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21217 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21218 if (arg2 == NULL) {
21219 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21220 }
21221 {
21222 PyThreadState* __tstate = wxPyBeginAllowThreads();
21223 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21224
21225 wxPyEndAllowThreads(__tstate);
21226 if (PyErr_Occurred()) SWIG_fail;
21227 }
21228 resultobj = result;
21229 return resultobj;
21230 fail:
21231 return NULL;
21232 }
21233
21234
21235 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21236 PyObject *resultobj;
21237 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21238 wxTreeItemId *arg2 = 0 ;
21239 wxColour result;
21240 PyObject * obj0 = 0 ;
21241 PyObject * obj1 = 0 ;
21242 char *kwnames[] = {
21243 (char *) "self",(char *) "item", NULL
21244 };
21245
21246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21249 if (arg2 == NULL) {
21250 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21251 }
21252 {
21253 PyThreadState* __tstate = wxPyBeginAllowThreads();
21254 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21255
21256 wxPyEndAllowThreads(__tstate);
21257 if (PyErr_Occurred()) SWIG_fail;
21258 }
21259 {
21260 wxColour * resultptr;
21261 resultptr = new wxColour((wxColour &) result);
21262 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21263 }
21264 return resultobj;
21265 fail:
21266 return NULL;
21267 }
21268
21269
21270 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21271 PyObject *resultobj;
21272 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21273 wxTreeItemId *arg2 = 0 ;
21274 wxColour result;
21275 PyObject * obj0 = 0 ;
21276 PyObject * obj1 = 0 ;
21277 char *kwnames[] = {
21278 (char *) "self",(char *) "item", NULL
21279 };
21280
21281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21284 if (arg2 == NULL) {
21285 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21286 }
21287 {
21288 PyThreadState* __tstate = wxPyBeginAllowThreads();
21289 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21290
21291 wxPyEndAllowThreads(__tstate);
21292 if (PyErr_Occurred()) SWIG_fail;
21293 }
21294 {
21295 wxColour * resultptr;
21296 resultptr = new wxColour((wxColour &) result);
21297 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21298 }
21299 return resultobj;
21300 fail:
21301 return NULL;
21302 }
21303
21304
21305 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21306 PyObject *resultobj;
21307 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21308 wxTreeItemId *arg2 = 0 ;
21309 wxFont result;
21310 PyObject * obj0 = 0 ;
21311 PyObject * obj1 = 0 ;
21312 char *kwnames[] = {
21313 (char *) "self",(char *) "item", NULL
21314 };
21315
21316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21318 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21319 if (arg2 == NULL) {
21320 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21321 }
21322 {
21323 PyThreadState* __tstate = wxPyBeginAllowThreads();
21324 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21325
21326 wxPyEndAllowThreads(__tstate);
21327 if (PyErr_Occurred()) SWIG_fail;
21328 }
21329 {
21330 wxFont * resultptr;
21331 resultptr = new wxFont((wxFont &) result);
21332 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21333 }
21334 return resultobj;
21335 fail:
21336 return NULL;
21337 }
21338
21339
21340 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21341 PyObject *resultobj;
21342 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21343 wxTreeItemId *arg2 = 0 ;
21344 wxString *arg3 = 0 ;
21345 bool temp3 = False ;
21346 PyObject * obj0 = 0 ;
21347 PyObject * obj1 = 0 ;
21348 PyObject * obj2 = 0 ;
21349 char *kwnames[] = {
21350 (char *) "self",(char *) "item",(char *) "text", NULL
21351 };
21352
21353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21355 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21356 if (arg2 == NULL) {
21357 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21358 }
21359 {
21360 arg3 = wxString_in_helper(obj2);
21361 if (arg3 == NULL) SWIG_fail;
21362 temp3 = True;
21363 }
21364 {
21365 PyThreadState* __tstate = wxPyBeginAllowThreads();
21366 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21367
21368 wxPyEndAllowThreads(__tstate);
21369 if (PyErr_Occurred()) SWIG_fail;
21370 }
21371 Py_INCREF(Py_None); resultobj = Py_None;
21372 {
21373 if (temp3)
21374 delete arg3;
21375 }
21376 return resultobj;
21377 fail:
21378 {
21379 if (temp3)
21380 delete arg3;
21381 }
21382 return NULL;
21383 }
21384
21385
21386 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21387 PyObject *resultobj;
21388 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21389 wxTreeItemId *arg2 = 0 ;
21390 int arg3 ;
21391 int arg4 = (int) wxTreeItemIcon_Normal ;
21392 PyObject * obj0 = 0 ;
21393 PyObject * obj1 = 0 ;
21394 char *kwnames[] = {
21395 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21396 };
21397
21398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21400 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21401 if (arg2 == NULL) {
21402 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21403 }
21404 {
21405 PyThreadState* __tstate = wxPyBeginAllowThreads();
21406 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21407
21408 wxPyEndAllowThreads(__tstate);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 }
21411 Py_INCREF(Py_None); resultobj = Py_None;
21412 return resultobj;
21413 fail:
21414 return NULL;
21415 }
21416
21417
21418 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21419 PyObject *resultobj;
21420 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21421 wxTreeItemId *arg2 = 0 ;
21422 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21423 PyObject * obj0 = 0 ;
21424 PyObject * obj1 = 0 ;
21425 PyObject * obj2 = 0 ;
21426 char *kwnames[] = {
21427 (char *) "self",(char *) "item",(char *) "data", NULL
21428 };
21429
21430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21432 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21433 if (arg2 == NULL) {
21434 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21435 }
21436 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21437 {
21438 PyThreadState* __tstate = wxPyBeginAllowThreads();
21439 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21440
21441 wxPyEndAllowThreads(__tstate);
21442 if (PyErr_Occurred()) SWIG_fail;
21443 }
21444 Py_INCREF(Py_None); resultobj = Py_None;
21445 return resultobj;
21446 fail:
21447 return NULL;
21448 }
21449
21450
21451 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21452 PyObject *resultobj;
21453 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21454 wxTreeItemId *arg2 = 0 ;
21455 PyObject *arg3 = (PyObject *) 0 ;
21456 PyObject * obj0 = 0 ;
21457 PyObject * obj1 = 0 ;
21458 PyObject * obj2 = 0 ;
21459 char *kwnames[] = {
21460 (char *) "self",(char *) "item",(char *) "obj", NULL
21461 };
21462
21463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21465 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21466 if (arg2 == NULL) {
21467 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21468 }
21469 arg3 = obj2;
21470 {
21471 PyThreadState* __tstate = wxPyBeginAllowThreads();
21472 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21473
21474 wxPyEndAllowThreads(__tstate);
21475 if (PyErr_Occurred()) SWIG_fail;
21476 }
21477 Py_INCREF(Py_None); resultobj = Py_None;
21478 return resultobj;
21479 fail:
21480 return NULL;
21481 }
21482
21483
21484 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21485 PyObject *resultobj;
21486 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21487 wxTreeItemId *arg2 = 0 ;
21488 bool arg3 = (bool) True ;
21489 PyObject * obj0 = 0 ;
21490 PyObject * obj1 = 0 ;
21491 PyObject * obj2 = 0 ;
21492 char *kwnames[] = {
21493 (char *) "self",(char *) "item",(char *) "has", NULL
21494 };
21495
21496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21498 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21499 if (arg2 == NULL) {
21500 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21501 }
21502 if (obj2) {
21503 arg3 = PyInt_AsLong(obj2) ? true : false;
21504 if (PyErr_Occurred()) SWIG_fail;
21505 }
21506 {
21507 PyThreadState* __tstate = wxPyBeginAllowThreads();
21508 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21509
21510 wxPyEndAllowThreads(__tstate);
21511 if (PyErr_Occurred()) SWIG_fail;
21512 }
21513 Py_INCREF(Py_None); resultobj = Py_None;
21514 return resultobj;
21515 fail:
21516 return NULL;
21517 }
21518
21519
21520 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21521 PyObject *resultobj;
21522 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21523 wxTreeItemId *arg2 = 0 ;
21524 bool arg3 = (bool) True ;
21525 PyObject * obj0 = 0 ;
21526 PyObject * obj1 = 0 ;
21527 PyObject * obj2 = 0 ;
21528 char *kwnames[] = {
21529 (char *) "self",(char *) "item",(char *) "bold", NULL
21530 };
21531
21532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21534 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21535 if (arg2 == NULL) {
21536 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21537 }
21538 if (obj2) {
21539 arg3 = PyInt_AsLong(obj2) ? true : false;
21540 if (PyErr_Occurred()) SWIG_fail;
21541 }
21542 {
21543 PyThreadState* __tstate = wxPyBeginAllowThreads();
21544 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21545
21546 wxPyEndAllowThreads(__tstate);
21547 if (PyErr_Occurred()) SWIG_fail;
21548 }
21549 Py_INCREF(Py_None); resultobj = Py_None;
21550 return resultobj;
21551 fail:
21552 return NULL;
21553 }
21554
21555
21556 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21557 PyObject *resultobj;
21558 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21559 wxTreeItemId *arg2 = 0 ;
21560 bool arg3 = (bool) True ;
21561 PyObject * obj0 = 0 ;
21562 PyObject * obj1 = 0 ;
21563 PyObject * obj2 = 0 ;
21564 char *kwnames[] = {
21565 (char *) "self",(char *) "item",(char *) "highlight", NULL
21566 };
21567
21568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
21569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21570 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21571 if (arg2 == NULL) {
21572 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21573 }
21574 if (obj2) {
21575 arg3 = PyInt_AsLong(obj2) ? true : false;
21576 if (PyErr_Occurred()) SWIG_fail;
21577 }
21578 {
21579 PyThreadState* __tstate = wxPyBeginAllowThreads();
21580 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
21581
21582 wxPyEndAllowThreads(__tstate);
21583 if (PyErr_Occurred()) SWIG_fail;
21584 }
21585 Py_INCREF(Py_None); resultobj = Py_None;
21586 return resultobj;
21587 fail:
21588 return NULL;
21589 }
21590
21591
21592 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21593 PyObject *resultobj;
21594 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21595 wxTreeItemId *arg2 = 0 ;
21596 wxColour *arg3 = 0 ;
21597 wxColour temp3 ;
21598 PyObject * obj0 = 0 ;
21599 PyObject * obj1 = 0 ;
21600 PyObject * obj2 = 0 ;
21601 char *kwnames[] = {
21602 (char *) "self",(char *) "item",(char *) "col", NULL
21603 };
21604
21605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21608 if (arg2 == NULL) {
21609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21610 }
21611 {
21612 arg3 = &temp3;
21613 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21614 }
21615 {
21616 PyThreadState* __tstate = wxPyBeginAllowThreads();
21617 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21618
21619 wxPyEndAllowThreads(__tstate);
21620 if (PyErr_Occurred()) SWIG_fail;
21621 }
21622 Py_INCREF(Py_None); resultobj = Py_None;
21623 return resultobj;
21624 fail:
21625 return NULL;
21626 }
21627
21628
21629 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21630 PyObject *resultobj;
21631 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21632 wxTreeItemId *arg2 = 0 ;
21633 wxColour *arg3 = 0 ;
21634 wxColour temp3 ;
21635 PyObject * obj0 = 0 ;
21636 PyObject * obj1 = 0 ;
21637 PyObject * obj2 = 0 ;
21638 char *kwnames[] = {
21639 (char *) "self",(char *) "item",(char *) "col", NULL
21640 };
21641
21642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21644 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21645 if (arg2 == NULL) {
21646 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21647 }
21648 {
21649 arg3 = &temp3;
21650 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21651 }
21652 {
21653 PyThreadState* __tstate = wxPyBeginAllowThreads();
21654 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21655
21656 wxPyEndAllowThreads(__tstate);
21657 if (PyErr_Occurred()) SWIG_fail;
21658 }
21659 Py_INCREF(Py_None); resultobj = Py_None;
21660 return resultobj;
21661 fail:
21662 return NULL;
21663 }
21664
21665
21666 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21667 PyObject *resultobj;
21668 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21669 wxTreeItemId *arg2 = 0 ;
21670 wxFont *arg3 = 0 ;
21671 PyObject * obj0 = 0 ;
21672 PyObject * obj1 = 0 ;
21673 PyObject * obj2 = 0 ;
21674 char *kwnames[] = {
21675 (char *) "self",(char *) "item",(char *) "font", NULL
21676 };
21677
21678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21680 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21681 if (arg2 == NULL) {
21682 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21683 }
21684 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21685 if (arg3 == NULL) {
21686 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21687 }
21688 {
21689 PyThreadState* __tstate = wxPyBeginAllowThreads();
21690 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21691
21692 wxPyEndAllowThreads(__tstate);
21693 if (PyErr_Occurred()) SWIG_fail;
21694 }
21695 Py_INCREF(Py_None); resultobj = Py_None;
21696 return resultobj;
21697 fail:
21698 return NULL;
21699 }
21700
21701
21702 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21703 PyObject *resultobj;
21704 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21705 wxTreeItemId *arg2 = 0 ;
21706 bool result;
21707 PyObject * obj0 = 0 ;
21708 PyObject * obj1 = 0 ;
21709 char *kwnames[] = {
21710 (char *) "self",(char *) "item", NULL
21711 };
21712
21713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21715 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21716 if (arg2 == NULL) {
21717 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21718 }
21719 {
21720 PyThreadState* __tstate = wxPyBeginAllowThreads();
21721 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21722
21723 wxPyEndAllowThreads(__tstate);
21724 if (PyErr_Occurred()) SWIG_fail;
21725 }
21726 resultobj = PyInt_FromLong((long)result);
21727 return resultobj;
21728 fail:
21729 return NULL;
21730 }
21731
21732
21733 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21734 PyObject *resultobj;
21735 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21736 wxTreeItemId *arg2 = 0 ;
21737 bool result;
21738 PyObject * obj0 = 0 ;
21739 PyObject * obj1 = 0 ;
21740 char *kwnames[] = {
21741 (char *) "self",(char *) "item", NULL
21742 };
21743
21744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21746 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21747 if (arg2 == NULL) {
21748 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21749 }
21750 {
21751 PyThreadState* __tstate = wxPyBeginAllowThreads();
21752 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21753
21754 wxPyEndAllowThreads(__tstate);
21755 if (PyErr_Occurred()) SWIG_fail;
21756 }
21757 resultobj = PyInt_FromLong((long)result);
21758 return resultobj;
21759 fail:
21760 return NULL;
21761 }
21762
21763
21764 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21765 PyObject *resultobj;
21766 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21767 wxTreeItemId *arg2 = 0 ;
21768 bool result;
21769 PyObject * obj0 = 0 ;
21770 PyObject * obj1 = 0 ;
21771 char *kwnames[] = {
21772 (char *) "self",(char *) "item", NULL
21773 };
21774
21775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21777 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21778 if (arg2 == NULL) {
21779 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21780 }
21781 {
21782 PyThreadState* __tstate = wxPyBeginAllowThreads();
21783 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21784
21785 wxPyEndAllowThreads(__tstate);
21786 if (PyErr_Occurred()) SWIG_fail;
21787 }
21788 resultobj = PyInt_FromLong((long)result);
21789 return resultobj;
21790 fail:
21791 return NULL;
21792 }
21793
21794
21795 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21796 PyObject *resultobj;
21797 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21798 wxTreeItemId *arg2 = 0 ;
21799 bool result;
21800 PyObject * obj0 = 0 ;
21801 PyObject * obj1 = 0 ;
21802 char *kwnames[] = {
21803 (char *) "self",(char *) "item", NULL
21804 };
21805
21806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21808 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21809 if (arg2 == NULL) {
21810 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21811 }
21812 {
21813 PyThreadState* __tstate = wxPyBeginAllowThreads();
21814 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21815
21816 wxPyEndAllowThreads(__tstate);
21817 if (PyErr_Occurred()) SWIG_fail;
21818 }
21819 resultobj = PyInt_FromLong((long)result);
21820 return resultobj;
21821 fail:
21822 return NULL;
21823 }
21824
21825
21826 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21827 PyObject *resultobj;
21828 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21829 wxTreeItemId *arg2 = 0 ;
21830 bool result;
21831 PyObject * obj0 = 0 ;
21832 PyObject * obj1 = 0 ;
21833 char *kwnames[] = {
21834 (char *) "self",(char *) "item", NULL
21835 };
21836
21837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21840 if (arg2 == NULL) {
21841 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21842 }
21843 {
21844 PyThreadState* __tstate = wxPyBeginAllowThreads();
21845 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21846
21847 wxPyEndAllowThreads(__tstate);
21848 if (PyErr_Occurred()) SWIG_fail;
21849 }
21850 resultobj = PyInt_FromLong((long)result);
21851 return resultobj;
21852 fail:
21853 return NULL;
21854 }
21855
21856
21857 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21858 PyObject *resultobj;
21859 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21860 wxTreeItemId *arg2 = 0 ;
21861 bool arg3 = (bool) True ;
21862 size_t result;
21863 PyObject * obj0 = 0 ;
21864 PyObject * obj1 = 0 ;
21865 PyObject * obj2 = 0 ;
21866 char *kwnames[] = {
21867 (char *) "self",(char *) "item",(char *) "recursively", NULL
21868 };
21869
21870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21872 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21873 if (arg2 == NULL) {
21874 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21875 }
21876 if (obj2) {
21877 arg3 = PyInt_AsLong(obj2) ? true : false;
21878 if (PyErr_Occurred()) SWIG_fail;
21879 }
21880 {
21881 PyThreadState* __tstate = wxPyBeginAllowThreads();
21882 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21883
21884 wxPyEndAllowThreads(__tstate);
21885 if (PyErr_Occurred()) SWIG_fail;
21886 }
21887 resultobj = PyInt_FromLong((long)result);
21888 return resultobj;
21889 fail:
21890 return NULL;
21891 }
21892
21893
21894 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21895 PyObject *resultobj;
21896 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21897 wxTreeItemId result;
21898 PyObject * obj0 = 0 ;
21899 char *kwnames[] = {
21900 (char *) "self", NULL
21901 };
21902
21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21905 {
21906 PyThreadState* __tstate = wxPyBeginAllowThreads();
21907 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21908
21909 wxPyEndAllowThreads(__tstate);
21910 if (PyErr_Occurred()) SWIG_fail;
21911 }
21912 {
21913 wxTreeItemId * resultptr;
21914 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21915 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21916 }
21917 return resultobj;
21918 fail:
21919 return NULL;
21920 }
21921
21922
21923 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21924 PyObject *resultobj;
21925 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21926 wxTreeItemId result;
21927 PyObject * obj0 = 0 ;
21928 char *kwnames[] = {
21929 (char *) "self", NULL
21930 };
21931
21932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21934 {
21935 PyThreadState* __tstate = wxPyBeginAllowThreads();
21936 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21937
21938 wxPyEndAllowThreads(__tstate);
21939 if (PyErr_Occurred()) SWIG_fail;
21940 }
21941 {
21942 wxTreeItemId * resultptr;
21943 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21944 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21945 }
21946 return resultobj;
21947 fail:
21948 return NULL;
21949 }
21950
21951
21952 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21953 PyObject *resultobj;
21954 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21955 PyObject *result;
21956 PyObject * obj0 = 0 ;
21957 char *kwnames[] = {
21958 (char *) "self", NULL
21959 };
21960
21961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21963 {
21964 PyThreadState* __tstate = wxPyBeginAllowThreads();
21965 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21966
21967 wxPyEndAllowThreads(__tstate);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 }
21970 resultobj = result;
21971 return resultobj;
21972 fail:
21973 return NULL;
21974 }
21975
21976
21977 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21978 PyObject *resultobj;
21979 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21980 wxTreeItemId *arg2 = 0 ;
21981 wxTreeItemId result;
21982 PyObject * obj0 = 0 ;
21983 PyObject * obj1 = 0 ;
21984 char *kwnames[] = {
21985 (char *) "self",(char *) "item", NULL
21986 };
21987
21988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
21989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21990 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21991 if (arg2 == NULL) {
21992 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21993 }
21994 {
21995 PyThreadState* __tstate = wxPyBeginAllowThreads();
21996 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
21997
21998 wxPyEndAllowThreads(__tstate);
21999 if (PyErr_Occurred()) SWIG_fail;
22000 }
22001 {
22002 wxTreeItemId * resultptr;
22003 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22004 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22005 }
22006 return resultobj;
22007 fail:
22008 return NULL;
22009 }
22010
22011
22012 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22013 PyObject *resultobj;
22014 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22015 wxTreeItemId *arg2 = 0 ;
22016 PyObject *result;
22017 PyObject * obj0 = 0 ;
22018 PyObject * obj1 = 0 ;
22019 char *kwnames[] = {
22020 (char *) "self",(char *) "item", NULL
22021 };
22022
22023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22026 if (arg2 == NULL) {
22027 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22028 }
22029 {
22030 PyThreadState* __tstate = wxPyBeginAllowThreads();
22031 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22032
22033 wxPyEndAllowThreads(__tstate);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 }
22036 resultobj = result;
22037 return resultobj;
22038 fail:
22039 return NULL;
22040 }
22041
22042
22043 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22044 PyObject *resultobj;
22045 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22046 wxTreeItemId *arg2 = 0 ;
22047 wxTreeItemIdValue *arg3 = 0 ;
22048 PyObject *result;
22049 PyObject * obj0 = 0 ;
22050 PyObject * obj1 = 0 ;
22051 PyObject * obj2 = 0 ;
22052 char *kwnames[] = {
22053 (char *) "self",(char *) "item",(char *) "cookie", NULL
22054 };
22055
22056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22058 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22059 if (arg2 == NULL) {
22060 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22061 }
22062 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22063 if (arg3 == NULL) {
22064 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22065 }
22066 {
22067 PyThreadState* __tstate = wxPyBeginAllowThreads();
22068 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22069
22070 wxPyEndAllowThreads(__tstate);
22071 if (PyErr_Occurred()) SWIG_fail;
22072 }
22073 resultobj = result;
22074 return resultobj;
22075 fail:
22076 return NULL;
22077 }
22078
22079
22080 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22081 PyObject *resultobj;
22082 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22083 wxTreeItemId *arg2 = 0 ;
22084 wxTreeItemId result;
22085 PyObject * obj0 = 0 ;
22086 PyObject * obj1 = 0 ;
22087 char *kwnames[] = {
22088 (char *) "self",(char *) "item", NULL
22089 };
22090
22091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22093 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22094 if (arg2 == NULL) {
22095 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22096 }
22097 {
22098 PyThreadState* __tstate = wxPyBeginAllowThreads();
22099 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22100
22101 wxPyEndAllowThreads(__tstate);
22102 if (PyErr_Occurred()) SWIG_fail;
22103 }
22104 {
22105 wxTreeItemId * resultptr;
22106 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22107 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22108 }
22109 return resultobj;
22110 fail:
22111 return NULL;
22112 }
22113
22114
22115 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22116 PyObject *resultobj;
22117 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22118 wxTreeItemId *arg2 = 0 ;
22119 wxTreeItemId result;
22120 PyObject * obj0 = 0 ;
22121 PyObject * obj1 = 0 ;
22122 char *kwnames[] = {
22123 (char *) "self",(char *) "item", NULL
22124 };
22125
22126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22128 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22129 if (arg2 == NULL) {
22130 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22131 }
22132 {
22133 PyThreadState* __tstate = wxPyBeginAllowThreads();
22134 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22135
22136 wxPyEndAllowThreads(__tstate);
22137 if (PyErr_Occurred()) SWIG_fail;
22138 }
22139 {
22140 wxTreeItemId * resultptr;
22141 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22142 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22143 }
22144 return resultobj;
22145 fail:
22146 return NULL;
22147 }
22148
22149
22150 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22151 PyObject *resultobj;
22152 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22153 wxTreeItemId *arg2 = 0 ;
22154 wxTreeItemId result;
22155 PyObject * obj0 = 0 ;
22156 PyObject * obj1 = 0 ;
22157 char *kwnames[] = {
22158 (char *) "self",(char *) "item", NULL
22159 };
22160
22161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22163 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22164 if (arg2 == NULL) {
22165 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22166 }
22167 {
22168 PyThreadState* __tstate = wxPyBeginAllowThreads();
22169 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22170
22171 wxPyEndAllowThreads(__tstate);
22172 if (PyErr_Occurred()) SWIG_fail;
22173 }
22174 {
22175 wxTreeItemId * resultptr;
22176 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22177 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22178 }
22179 return resultobj;
22180 fail:
22181 return NULL;
22182 }
22183
22184
22185 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22186 PyObject *resultobj;
22187 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22188 wxTreeItemId result;
22189 PyObject * obj0 = 0 ;
22190 char *kwnames[] = {
22191 (char *) "self", NULL
22192 };
22193
22194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22196 {
22197 PyThreadState* __tstate = wxPyBeginAllowThreads();
22198 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22199
22200 wxPyEndAllowThreads(__tstate);
22201 if (PyErr_Occurred()) SWIG_fail;
22202 }
22203 {
22204 wxTreeItemId * resultptr;
22205 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22206 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22207 }
22208 return resultobj;
22209 fail:
22210 return NULL;
22211 }
22212
22213
22214 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22215 PyObject *resultobj;
22216 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22217 wxTreeItemId *arg2 = 0 ;
22218 wxTreeItemId result;
22219 PyObject * obj0 = 0 ;
22220 PyObject * obj1 = 0 ;
22221 char *kwnames[] = {
22222 (char *) "self",(char *) "item", NULL
22223 };
22224
22225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22227 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22228 if (arg2 == NULL) {
22229 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22230 }
22231 {
22232 PyThreadState* __tstate = wxPyBeginAllowThreads();
22233 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22234
22235 wxPyEndAllowThreads(__tstate);
22236 if (PyErr_Occurred()) SWIG_fail;
22237 }
22238 {
22239 wxTreeItemId * resultptr;
22240 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22241 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22242 }
22243 return resultobj;
22244 fail:
22245 return NULL;
22246 }
22247
22248
22249 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22250 PyObject *resultobj;
22251 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22252 wxTreeItemId *arg2 = 0 ;
22253 wxTreeItemId result;
22254 PyObject * obj0 = 0 ;
22255 PyObject * obj1 = 0 ;
22256 char *kwnames[] = {
22257 (char *) "self",(char *) "item", NULL
22258 };
22259
22260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22261 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22262 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22263 if (arg2 == NULL) {
22264 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22265 }
22266 {
22267 PyThreadState* __tstate = wxPyBeginAllowThreads();
22268 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22269
22270 wxPyEndAllowThreads(__tstate);
22271 if (PyErr_Occurred()) SWIG_fail;
22272 }
22273 {
22274 wxTreeItemId * resultptr;
22275 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22276 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22277 }
22278 return resultobj;
22279 fail:
22280 return NULL;
22281 }
22282
22283
22284 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22285 PyObject *resultobj;
22286 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22287 wxString *arg2 = 0 ;
22288 int arg3 = (int) -1 ;
22289 int arg4 = (int) -1 ;
22290 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22291 wxTreeItemId result;
22292 bool temp2 = False ;
22293 PyObject * obj0 = 0 ;
22294 PyObject * obj1 = 0 ;
22295 PyObject * obj4 = 0 ;
22296 char *kwnames[] = {
22297 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22298 };
22299
22300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22302 {
22303 arg2 = wxString_in_helper(obj1);
22304 if (arg2 == NULL) SWIG_fail;
22305 temp2 = True;
22306 }
22307 if (obj4) {
22308 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22309 }
22310 {
22311 PyThreadState* __tstate = wxPyBeginAllowThreads();
22312 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22313
22314 wxPyEndAllowThreads(__tstate);
22315 if (PyErr_Occurred()) SWIG_fail;
22316 }
22317 {
22318 wxTreeItemId * resultptr;
22319 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22320 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22321 }
22322 {
22323 if (temp2)
22324 delete arg2;
22325 }
22326 return resultobj;
22327 fail:
22328 {
22329 if (temp2)
22330 delete arg2;
22331 }
22332 return NULL;
22333 }
22334
22335
22336 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22337 PyObject *resultobj;
22338 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22339 wxTreeItemId *arg2 = 0 ;
22340 wxString *arg3 = 0 ;
22341 int arg4 = (int) -1 ;
22342 int arg5 = (int) -1 ;
22343 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22344 wxTreeItemId result;
22345 bool temp3 = False ;
22346 PyObject * obj0 = 0 ;
22347 PyObject * obj1 = 0 ;
22348 PyObject * obj2 = 0 ;
22349 PyObject * obj5 = 0 ;
22350 char *kwnames[] = {
22351 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22352 };
22353
22354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22357 if (arg2 == NULL) {
22358 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22359 }
22360 {
22361 arg3 = wxString_in_helper(obj2);
22362 if (arg3 == NULL) SWIG_fail;
22363 temp3 = True;
22364 }
22365 if (obj5) {
22366 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22367 }
22368 {
22369 PyThreadState* __tstate = wxPyBeginAllowThreads();
22370 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22371
22372 wxPyEndAllowThreads(__tstate);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 }
22375 {
22376 wxTreeItemId * resultptr;
22377 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22378 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22379 }
22380 {
22381 if (temp3)
22382 delete arg3;
22383 }
22384 return resultobj;
22385 fail:
22386 {
22387 if (temp3)
22388 delete arg3;
22389 }
22390 return NULL;
22391 }
22392
22393
22394 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22395 PyObject *resultobj;
22396 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22397 wxTreeItemId *arg2 = 0 ;
22398 wxTreeItemId *arg3 = 0 ;
22399 wxString *arg4 = 0 ;
22400 int arg5 = (int) -1 ;
22401 int arg6 = (int) -1 ;
22402 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22403 wxTreeItemId result;
22404 bool temp4 = False ;
22405 PyObject * obj0 = 0 ;
22406 PyObject * obj1 = 0 ;
22407 PyObject * obj2 = 0 ;
22408 PyObject * obj3 = 0 ;
22409 PyObject * obj6 = 0 ;
22410 char *kwnames[] = {
22411 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22412 };
22413
22414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22416 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22417 if (arg2 == NULL) {
22418 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22419 }
22420 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22421 if (arg3 == NULL) {
22422 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22423 }
22424 {
22425 arg4 = wxString_in_helper(obj3);
22426 if (arg4 == NULL) SWIG_fail;
22427 temp4 = True;
22428 }
22429 if (obj6) {
22430 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22431 }
22432 {
22433 PyThreadState* __tstate = wxPyBeginAllowThreads();
22434 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22435
22436 wxPyEndAllowThreads(__tstate);
22437 if (PyErr_Occurred()) SWIG_fail;
22438 }
22439 {
22440 wxTreeItemId * resultptr;
22441 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22442 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22443 }
22444 {
22445 if (temp4)
22446 delete arg4;
22447 }
22448 return resultobj;
22449 fail:
22450 {
22451 if (temp4)
22452 delete arg4;
22453 }
22454 return NULL;
22455 }
22456
22457
22458 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22459 PyObject *resultobj;
22460 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22461 wxTreeItemId *arg2 = 0 ;
22462 size_t arg3 ;
22463 wxString *arg4 = 0 ;
22464 int arg5 = (int) -1 ;
22465 int arg6 = (int) -1 ;
22466 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22467 wxTreeItemId result;
22468 bool temp4 = False ;
22469 PyObject * obj0 = 0 ;
22470 PyObject * obj1 = 0 ;
22471 PyObject * obj2 = 0 ;
22472 PyObject * obj3 = 0 ;
22473 PyObject * obj6 = 0 ;
22474 char *kwnames[] = {
22475 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22476 };
22477
22478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22481 if (arg2 == NULL) {
22482 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22483 }
22484 arg3 = (size_t) PyInt_AsLong(obj2);
22485 if (PyErr_Occurred()) SWIG_fail;
22486 {
22487 arg4 = wxString_in_helper(obj3);
22488 if (arg4 == NULL) SWIG_fail;
22489 temp4 = True;
22490 }
22491 if (obj6) {
22492 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22493 }
22494 {
22495 PyThreadState* __tstate = wxPyBeginAllowThreads();
22496 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22497
22498 wxPyEndAllowThreads(__tstate);
22499 if (PyErr_Occurred()) SWIG_fail;
22500 }
22501 {
22502 wxTreeItemId * resultptr;
22503 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22504 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22505 }
22506 {
22507 if (temp4)
22508 delete arg4;
22509 }
22510 return resultobj;
22511 fail:
22512 {
22513 if (temp4)
22514 delete arg4;
22515 }
22516 return NULL;
22517 }
22518
22519
22520 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22521 PyObject *resultobj;
22522 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22523 wxTreeItemId *arg2 = 0 ;
22524 wxString *arg3 = 0 ;
22525 int arg4 = (int) -1 ;
22526 int arg5 = (int) -1 ;
22527 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22528 wxTreeItemId result;
22529 bool temp3 = False ;
22530 PyObject * obj0 = 0 ;
22531 PyObject * obj1 = 0 ;
22532 PyObject * obj2 = 0 ;
22533 PyObject * obj5 = 0 ;
22534 char *kwnames[] = {
22535 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22536 };
22537
22538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22540 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22541 if (arg2 == NULL) {
22542 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22543 }
22544 {
22545 arg3 = wxString_in_helper(obj2);
22546 if (arg3 == NULL) SWIG_fail;
22547 temp3 = True;
22548 }
22549 if (obj5) {
22550 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22551 }
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22555
22556 wxPyEndAllowThreads(__tstate);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
22559 {
22560 wxTreeItemId * resultptr;
22561 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22562 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22563 }
22564 {
22565 if (temp3)
22566 delete arg3;
22567 }
22568 return resultobj;
22569 fail:
22570 {
22571 if (temp3)
22572 delete arg3;
22573 }
22574 return NULL;
22575 }
22576
22577
22578 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22579 PyObject *resultobj;
22580 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22581 wxTreeItemId *arg2 = 0 ;
22582 PyObject * obj0 = 0 ;
22583 PyObject * obj1 = 0 ;
22584 char *kwnames[] = {
22585 (char *) "self",(char *) "item", NULL
22586 };
22587
22588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22590 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22591 if (arg2 == NULL) {
22592 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22593 }
22594 {
22595 PyThreadState* __tstate = wxPyBeginAllowThreads();
22596 (arg1)->Delete((wxTreeItemId const &)*arg2);
22597
22598 wxPyEndAllowThreads(__tstate);
22599 if (PyErr_Occurred()) SWIG_fail;
22600 }
22601 Py_INCREF(Py_None); resultobj = Py_None;
22602 return resultobj;
22603 fail:
22604 return NULL;
22605 }
22606
22607
22608 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22609 PyObject *resultobj;
22610 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22611 wxTreeItemId *arg2 = 0 ;
22612 PyObject * obj0 = 0 ;
22613 PyObject * obj1 = 0 ;
22614 char *kwnames[] = {
22615 (char *) "self",(char *) "item", NULL
22616 };
22617
22618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22621 if (arg2 == NULL) {
22622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22623 }
22624 {
22625 PyThreadState* __tstate = wxPyBeginAllowThreads();
22626 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22627
22628 wxPyEndAllowThreads(__tstate);
22629 if (PyErr_Occurred()) SWIG_fail;
22630 }
22631 Py_INCREF(Py_None); resultobj = Py_None;
22632 return resultobj;
22633 fail:
22634 return NULL;
22635 }
22636
22637
22638 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22639 PyObject *resultobj;
22640 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22641 PyObject * obj0 = 0 ;
22642 char *kwnames[] = {
22643 (char *) "self", NULL
22644 };
22645
22646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22648 {
22649 PyThreadState* __tstate = wxPyBeginAllowThreads();
22650 (arg1)->DeleteAllItems();
22651
22652 wxPyEndAllowThreads(__tstate);
22653 if (PyErr_Occurred()) SWIG_fail;
22654 }
22655 Py_INCREF(Py_None); resultobj = Py_None;
22656 return resultobj;
22657 fail:
22658 return NULL;
22659 }
22660
22661
22662 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22663 PyObject *resultobj;
22664 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22665 wxTreeItemId *arg2 = 0 ;
22666 PyObject * obj0 = 0 ;
22667 PyObject * obj1 = 0 ;
22668 char *kwnames[] = {
22669 (char *) "self",(char *) "item", NULL
22670 };
22671
22672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22674 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22675 if (arg2 == NULL) {
22676 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22677 }
22678 {
22679 PyThreadState* __tstate = wxPyBeginAllowThreads();
22680 (arg1)->Expand((wxTreeItemId const &)*arg2);
22681
22682 wxPyEndAllowThreads(__tstate);
22683 if (PyErr_Occurred()) SWIG_fail;
22684 }
22685 Py_INCREF(Py_None); resultobj = Py_None;
22686 return resultobj;
22687 fail:
22688 return NULL;
22689 }
22690
22691
22692 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22693 PyObject *resultobj;
22694 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22695 wxTreeItemId *arg2 = 0 ;
22696 PyObject * obj0 = 0 ;
22697 PyObject * obj1 = 0 ;
22698 char *kwnames[] = {
22699 (char *) "self",(char *) "item", NULL
22700 };
22701
22702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22705 if (arg2 == NULL) {
22706 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22707 }
22708 {
22709 PyThreadState* __tstate = wxPyBeginAllowThreads();
22710 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22711
22712 wxPyEndAllowThreads(__tstate);
22713 if (PyErr_Occurred()) SWIG_fail;
22714 }
22715 Py_INCREF(Py_None); resultobj = Py_None;
22716 return resultobj;
22717 fail:
22718 return NULL;
22719 }
22720
22721
22722 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22723 PyObject *resultobj;
22724 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22725 wxTreeItemId *arg2 = 0 ;
22726 PyObject * obj0 = 0 ;
22727 PyObject * obj1 = 0 ;
22728 char *kwnames[] = {
22729 (char *) "self",(char *) "item", NULL
22730 };
22731
22732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22734 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22735 if (arg2 == NULL) {
22736 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22737 }
22738 {
22739 PyThreadState* __tstate = wxPyBeginAllowThreads();
22740 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22741
22742 wxPyEndAllowThreads(__tstate);
22743 if (PyErr_Occurred()) SWIG_fail;
22744 }
22745 Py_INCREF(Py_None); resultobj = Py_None;
22746 return resultobj;
22747 fail:
22748 return NULL;
22749 }
22750
22751
22752 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22753 PyObject *resultobj;
22754 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22755 wxTreeItemId *arg2 = 0 ;
22756 PyObject * obj0 = 0 ;
22757 PyObject * obj1 = 0 ;
22758 char *kwnames[] = {
22759 (char *) "self",(char *) "item", NULL
22760 };
22761
22762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22764 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22765 if (arg2 == NULL) {
22766 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22767 }
22768 {
22769 PyThreadState* __tstate = wxPyBeginAllowThreads();
22770 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22771
22772 wxPyEndAllowThreads(__tstate);
22773 if (PyErr_Occurred()) SWIG_fail;
22774 }
22775 Py_INCREF(Py_None); resultobj = Py_None;
22776 return resultobj;
22777 fail:
22778 return NULL;
22779 }
22780
22781
22782 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22783 PyObject *resultobj;
22784 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22785 PyObject * obj0 = 0 ;
22786 char *kwnames[] = {
22787 (char *) "self", NULL
22788 };
22789
22790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22792 {
22793 PyThreadState* __tstate = wxPyBeginAllowThreads();
22794 (arg1)->Unselect();
22795
22796 wxPyEndAllowThreads(__tstate);
22797 if (PyErr_Occurred()) SWIG_fail;
22798 }
22799 Py_INCREF(Py_None); resultobj = Py_None;
22800 return resultobj;
22801 fail:
22802 return NULL;
22803 }
22804
22805
22806 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22807 PyObject *resultobj;
22808 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22809 PyObject * obj0 = 0 ;
22810 char *kwnames[] = {
22811 (char *) "self", NULL
22812 };
22813
22814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22816 {
22817 PyThreadState* __tstate = wxPyBeginAllowThreads();
22818 (arg1)->UnselectAll();
22819
22820 wxPyEndAllowThreads(__tstate);
22821 if (PyErr_Occurred()) SWIG_fail;
22822 }
22823 Py_INCREF(Py_None); resultobj = Py_None;
22824 return resultobj;
22825 fail:
22826 return NULL;
22827 }
22828
22829
22830 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22831 PyObject *resultobj;
22832 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22833 wxTreeItemId *arg2 = 0 ;
22834 PyObject * obj0 = 0 ;
22835 PyObject * obj1 = 0 ;
22836 char *kwnames[] = {
22837 (char *) "self",(char *) "item", NULL
22838 };
22839
22840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22842 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22843 if (arg2 == NULL) {
22844 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22845 }
22846 {
22847 PyThreadState* __tstate = wxPyBeginAllowThreads();
22848 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22849
22850 wxPyEndAllowThreads(__tstate);
22851 if (PyErr_Occurred()) SWIG_fail;
22852 }
22853 Py_INCREF(Py_None); resultobj = Py_None;
22854 return resultobj;
22855 fail:
22856 return NULL;
22857 }
22858
22859
22860 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22861 PyObject *resultobj;
22862 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22863 wxTreeItemId *arg2 = 0 ;
22864 PyObject * obj0 = 0 ;
22865 PyObject * obj1 = 0 ;
22866 char *kwnames[] = {
22867 (char *) "self",(char *) "item", NULL
22868 };
22869
22870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22872 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22873 if (arg2 == NULL) {
22874 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22875 }
22876 {
22877 PyThreadState* __tstate = wxPyBeginAllowThreads();
22878 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22879
22880 wxPyEndAllowThreads(__tstate);
22881 if (PyErr_Occurred()) SWIG_fail;
22882 }
22883 Py_INCREF(Py_None); resultobj = Py_None;
22884 return resultobj;
22885 fail:
22886 return NULL;
22887 }
22888
22889
22890 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22891 PyObject *resultobj;
22892 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22893 wxTreeItemId *arg2 = 0 ;
22894 PyObject * obj0 = 0 ;
22895 PyObject * obj1 = 0 ;
22896 char *kwnames[] = {
22897 (char *) "self",(char *) "item", NULL
22898 };
22899
22900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22902 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22903 if (arg2 == NULL) {
22904 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22905 }
22906 {
22907 PyThreadState* __tstate = wxPyBeginAllowThreads();
22908 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22909
22910 wxPyEndAllowThreads(__tstate);
22911 if (PyErr_Occurred()) SWIG_fail;
22912 }
22913 Py_INCREF(Py_None); resultobj = Py_None;
22914 return resultobj;
22915 fail:
22916 return NULL;
22917 }
22918
22919
22920 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22921 PyObject *resultobj;
22922 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22923 wxTreeItemId *arg2 = 0 ;
22924 PyObject * obj0 = 0 ;
22925 PyObject * obj1 = 0 ;
22926 char *kwnames[] = {
22927 (char *) "self",(char *) "item", NULL
22928 };
22929
22930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22933 if (arg2 == NULL) {
22934 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22935 }
22936 {
22937 PyThreadState* __tstate = wxPyBeginAllowThreads();
22938 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22939
22940 wxPyEndAllowThreads(__tstate);
22941 if (PyErr_Occurred()) SWIG_fail;
22942 }
22943 Py_INCREF(Py_None); resultobj = Py_None;
22944 return resultobj;
22945 fail:
22946 return NULL;
22947 }
22948
22949
22950 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22951 PyObject *resultobj;
22952 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22953 wxTextCtrl *result;
22954 PyObject * obj0 = 0 ;
22955 char *kwnames[] = {
22956 (char *) "self", NULL
22957 };
22958
22959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22961 {
22962 PyThreadState* __tstate = wxPyBeginAllowThreads();
22963 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22964
22965 wxPyEndAllowThreads(__tstate);
22966 if (PyErr_Occurred()) SWIG_fail;
22967 }
22968 {
22969 resultobj = wxPyMake_wxObject(result);
22970 }
22971 return resultobj;
22972 fail:
22973 return NULL;
22974 }
22975
22976
22977 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22978 PyObject *resultobj;
22979 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22980 wxTreeItemId *arg2 = 0 ;
22981 bool arg3 = (bool) False ;
22982 PyObject * obj0 = 0 ;
22983 PyObject * obj1 = 0 ;
22984 PyObject * obj2 = 0 ;
22985 char *kwnames[] = {
22986 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
22987 };
22988
22989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
22990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22991 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22992 if (arg2 == NULL) {
22993 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22994 }
22995 if (obj2) {
22996 arg3 = PyInt_AsLong(obj2) ? true : false;
22997 if (PyErr_Occurred()) SWIG_fail;
22998 }
22999 {
23000 PyThreadState* __tstate = wxPyBeginAllowThreads();
23001 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
23002
23003 wxPyEndAllowThreads(__tstate);
23004 if (PyErr_Occurred()) SWIG_fail;
23005 }
23006 Py_INCREF(Py_None); resultobj = Py_None;
23007 return resultobj;
23008 fail:
23009 return NULL;
23010 }
23011
23012
23013 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23014 PyObject *resultobj;
23015 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23016 wxTreeItemId *arg2 = 0 ;
23017 PyObject * obj0 = 0 ;
23018 PyObject * obj1 = 0 ;
23019 char *kwnames[] = {
23020 (char *) "self",(char *) "item", NULL
23021 };
23022
23023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23025 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23026 if (arg2 == NULL) {
23027 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23028 }
23029 {
23030 PyThreadState* __tstate = wxPyBeginAllowThreads();
23031 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23032
23033 wxPyEndAllowThreads(__tstate);
23034 if (PyErr_Occurred()) SWIG_fail;
23035 }
23036 Py_INCREF(Py_None); resultobj = Py_None;
23037 return resultobj;
23038 fail:
23039 return NULL;
23040 }
23041
23042
23043 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23044 PyObject *resultobj;
23045 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23046 wxPoint *arg2 = 0 ;
23047 int *arg3 = 0 ;
23048 wxTreeItemId result;
23049 wxPoint temp2 ;
23050 int temp3 ;
23051 PyObject * obj0 = 0 ;
23052 PyObject * obj1 = 0 ;
23053 char *kwnames[] = {
23054 (char *) "self",(char *) "point", NULL
23055 };
23056
23057 arg3 = &temp3;
23058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23060 {
23061 arg2 = &temp2;
23062 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23063 }
23064 {
23065 PyThreadState* __tstate = wxPyBeginAllowThreads();
23066 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23067
23068 wxPyEndAllowThreads(__tstate);
23069 if (PyErr_Occurred()) SWIG_fail;
23070 }
23071 {
23072 wxTreeItemId * resultptr;
23073 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23074 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23075 }
23076 {
23077 PyObject *o = PyInt_FromLong((long) (*arg3));
23078 resultobj = t_output_helper(resultobj,o);
23079 }
23080 return resultobj;
23081 fail:
23082 return NULL;
23083 }
23084
23085
23086 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23087 PyObject *resultobj;
23088 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23089 wxTreeItemId *arg2 = 0 ;
23090 bool arg3 = (bool) False ;
23091 PyObject *result;
23092 PyObject * obj0 = 0 ;
23093 PyObject * obj1 = 0 ;
23094 PyObject * obj2 = 0 ;
23095 char *kwnames[] = {
23096 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23097 };
23098
23099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23102 if (arg2 == NULL) {
23103 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23104 }
23105 if (obj2) {
23106 arg3 = PyInt_AsLong(obj2) ? true : false;
23107 if (PyErr_Occurred()) SWIG_fail;
23108 }
23109 {
23110 PyThreadState* __tstate = wxPyBeginAllowThreads();
23111 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23112
23113 wxPyEndAllowThreads(__tstate);
23114 if (PyErr_Occurred()) SWIG_fail;
23115 }
23116 resultobj = result;
23117 return resultobj;
23118 fail:
23119 return NULL;
23120 }
23121
23122
23123 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23124 PyObject *obj;
23125 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23126 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23127 Py_INCREF(obj);
23128 return Py_BuildValue((char *)"");
23129 }
23130 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23131 PyObject *resultobj;
23132 wxWindow *arg1 = (wxWindow *) 0 ;
23133 int arg2 = (int) (int)-1 ;
23134 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23135 wxString *arg3 = (wxString *) &arg3_defvalue ;
23136 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23137 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23138 wxSize const &arg5_defvalue = wxDefaultSize ;
23139 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23140 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23141 wxString const &arg7_defvalue = wxPyEmptyString ;
23142 wxString *arg7 = (wxString *) &arg7_defvalue ;
23143 int arg8 = (int) 0 ;
23144 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
23145 wxString *arg9 = (wxString *) &arg9_defvalue ;
23146 wxGenericDirCtrl *result;
23147 bool temp3 = False ;
23148 wxPoint temp4 ;
23149 wxSize temp5 ;
23150 bool temp7 = False ;
23151 bool temp9 = False ;
23152 PyObject * obj0 = 0 ;
23153 PyObject * obj2 = 0 ;
23154 PyObject * obj3 = 0 ;
23155 PyObject * obj4 = 0 ;
23156 PyObject * obj6 = 0 ;
23157 PyObject * obj8 = 0 ;
23158 char *kwnames[] = {
23159 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23160 };
23161
23162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23164 if (obj2) {
23165 {
23166 arg3 = wxString_in_helper(obj2);
23167 if (arg3 == NULL) SWIG_fail;
23168 temp3 = True;
23169 }
23170 }
23171 if (obj3) {
23172 {
23173 arg4 = &temp4;
23174 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23175 }
23176 }
23177 if (obj4) {
23178 {
23179 arg5 = &temp5;
23180 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23181 }
23182 }
23183 if (obj6) {
23184 {
23185 arg7 = wxString_in_helper(obj6);
23186 if (arg7 == NULL) SWIG_fail;
23187 temp7 = True;
23188 }
23189 }
23190 if (obj8) {
23191 {
23192 arg9 = wxString_in_helper(obj8);
23193 if (arg9 == NULL) SWIG_fail;
23194 temp9 = True;
23195 }
23196 }
23197 {
23198 PyThreadState* __tstate = wxPyBeginAllowThreads();
23199 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23200
23201 wxPyEndAllowThreads(__tstate);
23202 if (PyErr_Occurred()) SWIG_fail;
23203 }
23204 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23205 {
23206 if (temp3)
23207 delete arg3;
23208 }
23209 {
23210 if (temp7)
23211 delete arg7;
23212 }
23213 {
23214 if (temp9)
23215 delete arg9;
23216 }
23217 return resultobj;
23218 fail:
23219 {
23220 if (temp3)
23221 delete arg3;
23222 }
23223 {
23224 if (temp7)
23225 delete arg7;
23226 }
23227 {
23228 if (temp9)
23229 delete arg9;
23230 }
23231 return NULL;
23232 }
23233
23234
23235 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23236 PyObject *resultobj;
23237 wxGenericDirCtrl *result;
23238 char *kwnames[] = {
23239 NULL
23240 };
23241
23242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23243 {
23244 PyThreadState* __tstate = wxPyBeginAllowThreads();
23245 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23246
23247 wxPyEndAllowThreads(__tstate);
23248 if (PyErr_Occurred()) SWIG_fail;
23249 }
23250 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23251 return resultobj;
23252 fail:
23253 return NULL;
23254 }
23255
23256
23257 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23258 PyObject *resultobj;
23259 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23260 wxWindow *arg2 = (wxWindow *) 0 ;
23261 int arg3 = (int) (int)-1 ;
23262 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23263 wxString *arg4 = (wxString *) &arg4_defvalue ;
23264 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23265 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23266 wxSize const &arg6_defvalue = wxDefaultSize ;
23267 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23268 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23269 wxString const &arg8_defvalue = wxPyEmptyString ;
23270 wxString *arg8 = (wxString *) &arg8_defvalue ;
23271 int arg9 = (int) 0 ;
23272 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
23273 wxString *arg10 = (wxString *) &arg10_defvalue ;
23274 bool result;
23275 bool temp4 = False ;
23276 wxPoint temp5 ;
23277 wxSize temp6 ;
23278 bool temp8 = False ;
23279 bool temp10 = False ;
23280 PyObject * obj0 = 0 ;
23281 PyObject * obj1 = 0 ;
23282 PyObject * obj3 = 0 ;
23283 PyObject * obj4 = 0 ;
23284 PyObject * obj5 = 0 ;
23285 PyObject * obj7 = 0 ;
23286 PyObject * obj9 = 0 ;
23287 char *kwnames[] = {
23288 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23289 };
23290
23291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23293 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23294 if (obj3) {
23295 {
23296 arg4 = wxString_in_helper(obj3);
23297 if (arg4 == NULL) SWIG_fail;
23298 temp4 = True;
23299 }
23300 }
23301 if (obj4) {
23302 {
23303 arg5 = &temp5;
23304 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23305 }
23306 }
23307 if (obj5) {
23308 {
23309 arg6 = &temp6;
23310 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23311 }
23312 }
23313 if (obj7) {
23314 {
23315 arg8 = wxString_in_helper(obj7);
23316 if (arg8 == NULL) SWIG_fail;
23317 temp8 = True;
23318 }
23319 }
23320 if (obj9) {
23321 {
23322 arg10 = wxString_in_helper(obj9);
23323 if (arg10 == NULL) SWIG_fail;
23324 temp10 = True;
23325 }
23326 }
23327 {
23328 PyThreadState* __tstate = wxPyBeginAllowThreads();
23329 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23330
23331 wxPyEndAllowThreads(__tstate);
23332 if (PyErr_Occurred()) SWIG_fail;
23333 }
23334 resultobj = PyInt_FromLong((long)result);
23335 {
23336 if (temp4)
23337 delete arg4;
23338 }
23339 {
23340 if (temp8)
23341 delete arg8;
23342 }
23343 {
23344 if (temp10)
23345 delete arg10;
23346 }
23347 return resultobj;
23348 fail:
23349 {
23350 if (temp4)
23351 delete arg4;
23352 }
23353 {
23354 if (temp8)
23355 delete arg8;
23356 }
23357 {
23358 if (temp10)
23359 delete arg10;
23360 }
23361 return NULL;
23362 }
23363
23364
23365 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23366 PyObject *resultobj;
23367 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23368 wxString *arg2 = 0 ;
23369 bool result;
23370 bool temp2 = False ;
23371 PyObject * obj0 = 0 ;
23372 PyObject * obj1 = 0 ;
23373 char *kwnames[] = {
23374 (char *) "self",(char *) "path", NULL
23375 };
23376
23377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23379 {
23380 arg2 = wxString_in_helper(obj1);
23381 if (arg2 == NULL) SWIG_fail;
23382 temp2 = True;
23383 }
23384 {
23385 PyThreadState* __tstate = wxPyBeginAllowThreads();
23386 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23387
23388 wxPyEndAllowThreads(__tstate);
23389 if (PyErr_Occurred()) SWIG_fail;
23390 }
23391 resultobj = PyInt_FromLong((long)result);
23392 {
23393 if (temp2)
23394 delete arg2;
23395 }
23396 return resultobj;
23397 fail:
23398 {
23399 if (temp2)
23400 delete arg2;
23401 }
23402 return NULL;
23403 }
23404
23405
23406 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23407 PyObject *resultobj;
23408 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23409 wxString result;
23410 PyObject * obj0 = 0 ;
23411 char *kwnames[] = {
23412 (char *) "self", NULL
23413 };
23414
23415 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23416 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23417 {
23418 PyThreadState* __tstate = wxPyBeginAllowThreads();
23419 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23420
23421 wxPyEndAllowThreads(__tstate);
23422 if (PyErr_Occurred()) SWIG_fail;
23423 }
23424 {
23425 #if wxUSE_UNICODE
23426 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23427 #else
23428 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23429 #endif
23430 }
23431 return resultobj;
23432 fail:
23433 return NULL;
23434 }
23435
23436
23437 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23438 PyObject *resultobj;
23439 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23440 wxString *arg2 = 0 ;
23441 bool temp2 = False ;
23442 PyObject * obj0 = 0 ;
23443 PyObject * obj1 = 0 ;
23444 char *kwnames[] = {
23445 (char *) "self",(char *) "path", NULL
23446 };
23447
23448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23450 {
23451 arg2 = wxString_in_helper(obj1);
23452 if (arg2 == NULL) SWIG_fail;
23453 temp2 = True;
23454 }
23455 {
23456 PyThreadState* __tstate = wxPyBeginAllowThreads();
23457 (arg1)->SetDefaultPath((wxString const &)*arg2);
23458
23459 wxPyEndAllowThreads(__tstate);
23460 if (PyErr_Occurred()) SWIG_fail;
23461 }
23462 Py_INCREF(Py_None); resultobj = Py_None;
23463 {
23464 if (temp2)
23465 delete arg2;
23466 }
23467 return resultobj;
23468 fail:
23469 {
23470 if (temp2)
23471 delete arg2;
23472 }
23473 return NULL;
23474 }
23475
23476
23477 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23478 PyObject *resultobj;
23479 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23480 wxString result;
23481 PyObject * obj0 = 0 ;
23482 char *kwnames[] = {
23483 (char *) "self", NULL
23484 };
23485
23486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23488 {
23489 PyThreadState* __tstate = wxPyBeginAllowThreads();
23490 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23491
23492 wxPyEndAllowThreads(__tstate);
23493 if (PyErr_Occurred()) SWIG_fail;
23494 }
23495 {
23496 #if wxUSE_UNICODE
23497 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23498 #else
23499 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23500 #endif
23501 }
23502 return resultobj;
23503 fail:
23504 return NULL;
23505 }
23506
23507
23508 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23509 PyObject *resultobj;
23510 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23511 wxString result;
23512 PyObject * obj0 = 0 ;
23513 char *kwnames[] = {
23514 (char *) "self", NULL
23515 };
23516
23517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23519 {
23520 PyThreadState* __tstate = wxPyBeginAllowThreads();
23521 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23522
23523 wxPyEndAllowThreads(__tstate);
23524 if (PyErr_Occurred()) SWIG_fail;
23525 }
23526 {
23527 #if wxUSE_UNICODE
23528 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23529 #else
23530 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23531 #endif
23532 }
23533 return resultobj;
23534 fail:
23535 return NULL;
23536 }
23537
23538
23539 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23540 PyObject *resultobj;
23541 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23542 wxString *arg2 = 0 ;
23543 bool temp2 = False ;
23544 PyObject * obj0 = 0 ;
23545 PyObject * obj1 = 0 ;
23546 char *kwnames[] = {
23547 (char *) "self",(char *) "path", NULL
23548 };
23549
23550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23552 {
23553 arg2 = wxString_in_helper(obj1);
23554 if (arg2 == NULL) SWIG_fail;
23555 temp2 = True;
23556 }
23557 {
23558 PyThreadState* __tstate = wxPyBeginAllowThreads();
23559 (arg1)->SetPath((wxString const &)*arg2);
23560
23561 wxPyEndAllowThreads(__tstate);
23562 if (PyErr_Occurred()) SWIG_fail;
23563 }
23564 Py_INCREF(Py_None); resultobj = Py_None;
23565 {
23566 if (temp2)
23567 delete arg2;
23568 }
23569 return resultobj;
23570 fail:
23571 {
23572 if (temp2)
23573 delete arg2;
23574 }
23575 return NULL;
23576 }
23577
23578
23579 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23580 PyObject *resultobj;
23581 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23582 bool arg2 ;
23583 PyObject * obj0 = 0 ;
23584 PyObject * obj1 = 0 ;
23585 char *kwnames[] = {
23586 (char *) "self",(char *) "show", NULL
23587 };
23588
23589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23591 arg2 = PyInt_AsLong(obj1) ? true : false;
23592 if (PyErr_Occurred()) SWIG_fail;
23593 {
23594 PyThreadState* __tstate = wxPyBeginAllowThreads();
23595 (arg1)->ShowHidden(arg2);
23596
23597 wxPyEndAllowThreads(__tstate);
23598 if (PyErr_Occurred()) SWIG_fail;
23599 }
23600 Py_INCREF(Py_None); resultobj = Py_None;
23601 return resultobj;
23602 fail:
23603 return NULL;
23604 }
23605
23606
23607 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23608 PyObject *resultobj;
23609 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23610 bool result;
23611 PyObject * obj0 = 0 ;
23612 char *kwnames[] = {
23613 (char *) "self", NULL
23614 };
23615
23616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23618 {
23619 PyThreadState* __tstate = wxPyBeginAllowThreads();
23620 result = (bool)(arg1)->GetShowHidden();
23621
23622 wxPyEndAllowThreads(__tstate);
23623 if (PyErr_Occurred()) SWIG_fail;
23624 }
23625 resultobj = PyInt_FromLong((long)result);
23626 return resultobj;
23627 fail:
23628 return NULL;
23629 }
23630
23631
23632 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23633 PyObject *resultobj;
23634 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23635 wxString result;
23636 PyObject * obj0 = 0 ;
23637 char *kwnames[] = {
23638 (char *) "self", NULL
23639 };
23640
23641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23643 {
23644 PyThreadState* __tstate = wxPyBeginAllowThreads();
23645 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23646
23647 wxPyEndAllowThreads(__tstate);
23648 if (PyErr_Occurred()) SWIG_fail;
23649 }
23650 {
23651 #if wxUSE_UNICODE
23652 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23653 #else
23654 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23655 #endif
23656 }
23657 return resultobj;
23658 fail:
23659 return NULL;
23660 }
23661
23662
23663 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23664 PyObject *resultobj;
23665 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23666 wxString *arg2 = 0 ;
23667 bool temp2 = False ;
23668 PyObject * obj0 = 0 ;
23669 PyObject * obj1 = 0 ;
23670 char *kwnames[] = {
23671 (char *) "self",(char *) "filter", NULL
23672 };
23673
23674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23676 {
23677 arg2 = wxString_in_helper(obj1);
23678 if (arg2 == NULL) SWIG_fail;
23679 temp2 = True;
23680 }
23681 {
23682 PyThreadState* __tstate = wxPyBeginAllowThreads();
23683 (arg1)->SetFilter((wxString const &)*arg2);
23684
23685 wxPyEndAllowThreads(__tstate);
23686 if (PyErr_Occurred()) SWIG_fail;
23687 }
23688 Py_INCREF(Py_None); resultobj = Py_None;
23689 {
23690 if (temp2)
23691 delete arg2;
23692 }
23693 return resultobj;
23694 fail:
23695 {
23696 if (temp2)
23697 delete arg2;
23698 }
23699 return NULL;
23700 }
23701
23702
23703 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23704 PyObject *resultobj;
23705 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23706 int result;
23707 PyObject * obj0 = 0 ;
23708 char *kwnames[] = {
23709 (char *) "self", NULL
23710 };
23711
23712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23714 {
23715 PyThreadState* __tstate = wxPyBeginAllowThreads();
23716 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23717
23718 wxPyEndAllowThreads(__tstate);
23719 if (PyErr_Occurred()) SWIG_fail;
23720 }
23721 resultobj = PyInt_FromLong((long)result);
23722 return resultobj;
23723 fail:
23724 return NULL;
23725 }
23726
23727
23728 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23729 PyObject *resultobj;
23730 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23731 int arg2 ;
23732 PyObject * obj0 = 0 ;
23733 char *kwnames[] = {
23734 (char *) "self",(char *) "n", NULL
23735 };
23736
23737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23739 {
23740 PyThreadState* __tstate = wxPyBeginAllowThreads();
23741 (arg1)->SetFilterIndex(arg2);
23742
23743 wxPyEndAllowThreads(__tstate);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 }
23746 Py_INCREF(Py_None); resultobj = Py_None;
23747 return resultobj;
23748 fail:
23749 return NULL;
23750 }
23751
23752
23753 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23754 PyObject *resultobj;
23755 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23756 wxTreeItemId result;
23757 PyObject * obj0 = 0 ;
23758 char *kwnames[] = {
23759 (char *) "self", NULL
23760 };
23761
23762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23764 {
23765 PyThreadState* __tstate = wxPyBeginAllowThreads();
23766 result = (arg1)->GetRootId();
23767
23768 wxPyEndAllowThreads(__tstate);
23769 if (PyErr_Occurred()) SWIG_fail;
23770 }
23771 {
23772 wxTreeItemId * resultptr;
23773 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23774 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23775 }
23776 return resultobj;
23777 fail:
23778 return NULL;
23779 }
23780
23781
23782 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23783 PyObject *resultobj;
23784 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23785 wxTreeCtrl *result;
23786 PyObject * obj0 = 0 ;
23787 char *kwnames[] = {
23788 (char *) "self", NULL
23789 };
23790
23791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23793 {
23794 PyThreadState* __tstate = wxPyBeginAllowThreads();
23795 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23796
23797 wxPyEndAllowThreads(__tstate);
23798 if (PyErr_Occurred()) SWIG_fail;
23799 }
23800 {
23801 resultobj = wxPyMake_wxObject(result);
23802 }
23803 return resultobj;
23804 fail:
23805 return NULL;
23806 }
23807
23808
23809 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23810 PyObject *resultobj;
23811 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23812 wxDirFilterListCtrl *result;
23813 PyObject * obj0 = 0 ;
23814 char *kwnames[] = {
23815 (char *) "self", NULL
23816 };
23817
23818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23820 {
23821 PyThreadState* __tstate = wxPyBeginAllowThreads();
23822 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23823
23824 wxPyEndAllowThreads(__tstate);
23825 if (PyErr_Occurred()) SWIG_fail;
23826 }
23827 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23828 return resultobj;
23829 fail:
23830 return NULL;
23831 }
23832
23833
23834 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23835 PyObject *resultobj;
23836 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23837 wxTreeItemId arg2 ;
23838 wxString *arg3 = 0 ;
23839 bool *arg4 = 0 ;
23840 wxTreeItemId result;
23841 wxTreeItemId *argp2 ;
23842 bool temp3 = False ;
23843 bool temp4 ;
23844 PyObject * obj0 = 0 ;
23845 PyObject * obj1 = 0 ;
23846 PyObject * obj2 = 0 ;
23847 char *kwnames[] = {
23848 (char *) "self",(char *) "parentId",(char *) "path", NULL
23849 };
23850
23851 arg4 = &temp4;
23852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23854 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23855 arg2 = *argp2;
23856 {
23857 arg3 = wxString_in_helper(obj2);
23858 if (arg3 == NULL) SWIG_fail;
23859 temp3 = True;
23860 }
23861 {
23862 PyThreadState* __tstate = wxPyBeginAllowThreads();
23863 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23864
23865 wxPyEndAllowThreads(__tstate);
23866 if (PyErr_Occurred()) SWIG_fail;
23867 }
23868 {
23869 wxTreeItemId * resultptr;
23870 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23871 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23872 }
23873 {
23874 PyObject *o = PyInt_FromLong((long) (*arg4));
23875 resultobj = t_output_helper(resultobj,o);
23876 }
23877 {
23878 if (temp3)
23879 delete arg3;
23880 }
23881 return resultobj;
23882 fail:
23883 {
23884 if (temp3)
23885 delete arg3;
23886 }
23887 return NULL;
23888 }
23889
23890
23891 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23892 PyObject *resultobj;
23893 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23894 PyObject * obj0 = 0 ;
23895 char *kwnames[] = {
23896 (char *) "self", NULL
23897 };
23898
23899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23901 {
23902 PyThreadState* __tstate = wxPyBeginAllowThreads();
23903 (arg1)->DoResize();
23904
23905 wxPyEndAllowThreads(__tstate);
23906 if (PyErr_Occurred()) SWIG_fail;
23907 }
23908 Py_INCREF(Py_None); resultobj = Py_None;
23909 return resultobj;
23910 fail:
23911 return NULL;
23912 }
23913
23914
23915 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23916 PyObject *resultobj;
23917 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23918 PyObject * obj0 = 0 ;
23919 char *kwnames[] = {
23920 (char *) "self", NULL
23921 };
23922
23923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23925 {
23926 PyThreadState* __tstate = wxPyBeginAllowThreads();
23927 (arg1)->ReCreateTree();
23928
23929 wxPyEndAllowThreads(__tstate);
23930 if (PyErr_Occurred()) SWIG_fail;
23931 }
23932 Py_INCREF(Py_None); resultobj = Py_None;
23933 return resultobj;
23934 fail:
23935 return NULL;
23936 }
23937
23938
23939 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23940 PyObject *obj;
23941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23942 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23943 Py_INCREF(obj);
23944 return Py_BuildValue((char *)"");
23945 }
23946 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23947 PyObject *resultobj;
23948 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23949 int arg2 = (int) (int)-1 ;
23950 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23951 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23952 wxSize const &arg4_defvalue = wxDefaultSize ;
23953 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23954 long arg5 = (long) 0 ;
23955 wxDirFilterListCtrl *result;
23956 wxPoint temp3 ;
23957 wxSize temp4 ;
23958 PyObject * obj0 = 0 ;
23959 PyObject * obj2 = 0 ;
23960 PyObject * obj3 = 0 ;
23961 char *kwnames[] = {
23962 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23963 };
23964
23965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23967 if (obj2) {
23968 {
23969 arg3 = &temp3;
23970 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23971 }
23972 }
23973 if (obj3) {
23974 {
23975 arg4 = &temp4;
23976 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23977 }
23978 }
23979 {
23980 PyThreadState* __tstate = wxPyBeginAllowThreads();
23981 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23982
23983 wxPyEndAllowThreads(__tstate);
23984 if (PyErr_Occurred()) SWIG_fail;
23985 }
23986 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23987 return resultobj;
23988 fail:
23989 return NULL;
23990 }
23991
23992
23993 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23994 PyObject *resultobj;
23995 wxDirFilterListCtrl *result;
23996 char *kwnames[] = {
23997 NULL
23998 };
23999
24000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24001 {
24002 PyThreadState* __tstate = wxPyBeginAllowThreads();
24003 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24004
24005 wxPyEndAllowThreads(__tstate);
24006 if (PyErr_Occurred()) SWIG_fail;
24007 }
24008 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24009 return resultobj;
24010 fail:
24011 return NULL;
24012 }
24013
24014
24015 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24016 PyObject *resultobj;
24017 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24018 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
24019 int arg3 = (int) (int)-1 ;
24020 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24021 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24022 wxSize const &arg5_defvalue = wxDefaultSize ;
24023 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24024 long arg6 = (long) 0 ;
24025 bool result;
24026 wxPoint temp4 ;
24027 wxSize temp5 ;
24028 PyObject * obj0 = 0 ;
24029 PyObject * obj1 = 0 ;
24030 PyObject * obj3 = 0 ;
24031 PyObject * obj4 = 0 ;
24032 char *kwnames[] = {
24033 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24034 };
24035
24036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24038 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24039 if (obj3) {
24040 {
24041 arg4 = &temp4;
24042 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24043 }
24044 }
24045 if (obj4) {
24046 {
24047 arg5 = &temp5;
24048 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24049 }
24050 }
24051 {
24052 PyThreadState* __tstate = wxPyBeginAllowThreads();
24053 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24054
24055 wxPyEndAllowThreads(__tstate);
24056 if (PyErr_Occurred()) SWIG_fail;
24057 }
24058 resultobj = PyInt_FromLong((long)result);
24059 return resultobj;
24060 fail:
24061 return NULL;
24062 }
24063
24064
24065 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24066 PyObject *resultobj;
24067 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24068 wxString *arg2 = 0 ;
24069 int arg3 ;
24070 bool temp2 = False ;
24071 PyObject * obj0 = 0 ;
24072 PyObject * obj1 = 0 ;
24073 char *kwnames[] = {
24074 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24075 };
24076
24077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24079 {
24080 arg2 = wxString_in_helper(obj1);
24081 if (arg2 == NULL) SWIG_fail;
24082 temp2 = True;
24083 }
24084 {
24085 PyThreadState* __tstate = wxPyBeginAllowThreads();
24086 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24087
24088 wxPyEndAllowThreads(__tstate);
24089 if (PyErr_Occurred()) SWIG_fail;
24090 }
24091 Py_INCREF(Py_None); resultobj = Py_None;
24092 {
24093 if (temp2)
24094 delete arg2;
24095 }
24096 return resultobj;
24097 fail:
24098 {
24099 if (temp2)
24100 delete arg2;
24101 }
24102 return NULL;
24103 }
24104
24105
24106 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24107 PyObject *obj;
24108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24109 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24110 Py_INCREF(obj);
24111 return Py_BuildValue((char *)"");
24112 }
24113 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24114 PyObject *resultobj;
24115 wxWindow *arg1 = (wxWindow *) 0 ;
24116 int arg2 ;
24117 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24118 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24119 wxSize const &arg4_defvalue = wxDefaultSize ;
24120 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24121 long arg5 = (long) 0 ;
24122 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24123 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24124 wxString const &arg7_defvalue = wxPyControlNameStr ;
24125 wxString *arg7 = (wxString *) &arg7_defvalue ;
24126 wxPyControl *result;
24127 wxPoint temp3 ;
24128 wxSize temp4 ;
24129 bool temp7 = False ;
24130 PyObject * obj0 = 0 ;
24131 PyObject * obj2 = 0 ;
24132 PyObject * obj3 = 0 ;
24133 PyObject * obj5 = 0 ;
24134 PyObject * obj6 = 0 ;
24135 char *kwnames[] = {
24136 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24137 };
24138
24139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24141 if (obj2) {
24142 {
24143 arg3 = &temp3;
24144 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24145 }
24146 }
24147 if (obj3) {
24148 {
24149 arg4 = &temp4;
24150 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24151 }
24152 }
24153 if (obj5) {
24154 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24155 if (arg6 == NULL) {
24156 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24157 }
24158 }
24159 if (obj6) {
24160 {
24161 arg7 = wxString_in_helper(obj6);
24162 if (arg7 == NULL) SWIG_fail;
24163 temp7 = True;
24164 }
24165 }
24166 {
24167 PyThreadState* __tstate = wxPyBeginAllowThreads();
24168 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24169
24170 wxPyEndAllowThreads(__tstate);
24171 if (PyErr_Occurred()) SWIG_fail;
24172 }
24173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24174 {
24175 if (temp7)
24176 delete arg7;
24177 }
24178 return resultobj;
24179 fail:
24180 {
24181 if (temp7)
24182 delete arg7;
24183 }
24184 return NULL;
24185 }
24186
24187
24188 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24189 PyObject *resultobj;
24190 wxPyControl *arg1 = (wxPyControl *) 0 ;
24191 PyObject *arg2 = (PyObject *) 0 ;
24192 PyObject *arg3 = (PyObject *) 0 ;
24193 PyObject * obj0 = 0 ;
24194 PyObject * obj1 = 0 ;
24195 PyObject * obj2 = 0 ;
24196 char *kwnames[] = {
24197 (char *) "self",(char *) "self",(char *) "_class", NULL
24198 };
24199
24200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24202 arg2 = obj1;
24203 arg3 = obj2;
24204 {
24205 PyThreadState* __tstate = wxPyBeginAllowThreads();
24206 (arg1)->_setCallbackInfo(arg2,arg3);
24207
24208 wxPyEndAllowThreads(__tstate);
24209 if (PyErr_Occurred()) SWIG_fail;
24210 }
24211 Py_INCREF(Py_None); resultobj = Py_None;
24212 return resultobj;
24213 fail:
24214 return NULL;
24215 }
24216
24217
24218 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24219 PyObject *resultobj;
24220 wxPyControl *arg1 = (wxPyControl *) 0 ;
24221 int arg2 ;
24222 int arg3 ;
24223 int arg4 ;
24224 int arg5 ;
24225 PyObject * obj0 = 0 ;
24226 char *kwnames[] = {
24227 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24228 };
24229
24230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24232 {
24233 PyThreadState* __tstate = wxPyBeginAllowThreads();
24234 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24235
24236 wxPyEndAllowThreads(__tstate);
24237 if (PyErr_Occurred()) SWIG_fail;
24238 }
24239 Py_INCREF(Py_None); resultobj = Py_None;
24240 return resultobj;
24241 fail:
24242 return NULL;
24243 }
24244
24245
24246 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24247 PyObject *resultobj;
24248 wxPyControl *arg1 = (wxPyControl *) 0 ;
24249 int arg2 ;
24250 int arg3 ;
24251 int arg4 ;
24252 int arg5 ;
24253 int arg6 = (int) wxSIZE_AUTO ;
24254 PyObject * obj0 = 0 ;
24255 char *kwnames[] = {
24256 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24257 };
24258
24259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24261 {
24262 PyThreadState* __tstate = wxPyBeginAllowThreads();
24263 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24264
24265 wxPyEndAllowThreads(__tstate);
24266 if (PyErr_Occurred()) SWIG_fail;
24267 }
24268 Py_INCREF(Py_None); resultobj = Py_None;
24269 return resultobj;
24270 fail:
24271 return NULL;
24272 }
24273
24274
24275 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24276 PyObject *resultobj;
24277 wxPyControl *arg1 = (wxPyControl *) 0 ;
24278 int arg2 ;
24279 int arg3 ;
24280 PyObject * obj0 = 0 ;
24281 char *kwnames[] = {
24282 (char *) "self",(char *) "width",(char *) "height", NULL
24283 };
24284
24285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24287 {
24288 PyThreadState* __tstate = wxPyBeginAllowThreads();
24289 (arg1)->base_DoSetClientSize(arg2,arg3);
24290
24291 wxPyEndAllowThreads(__tstate);
24292 if (PyErr_Occurred()) SWIG_fail;
24293 }
24294 Py_INCREF(Py_None); resultobj = Py_None;
24295 return resultobj;
24296 fail:
24297 return NULL;
24298 }
24299
24300
24301 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24302 PyObject *resultobj;
24303 wxPyControl *arg1 = (wxPyControl *) 0 ;
24304 int arg2 ;
24305 int arg3 ;
24306 PyObject * obj0 = 0 ;
24307 char *kwnames[] = {
24308 (char *) "self",(char *) "x",(char *) "y", NULL
24309 };
24310
24311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24313 {
24314 PyThreadState* __tstate = wxPyBeginAllowThreads();
24315 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24316
24317 wxPyEndAllowThreads(__tstate);
24318 if (PyErr_Occurred()) SWIG_fail;
24319 }
24320 Py_INCREF(Py_None); resultobj = Py_None;
24321 return resultobj;
24322 fail:
24323 return NULL;
24324 }
24325
24326
24327 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24328 PyObject *resultobj;
24329 wxPyControl *arg1 = (wxPyControl *) 0 ;
24330 int *arg2 = (int *) 0 ;
24331 int *arg3 = (int *) 0 ;
24332 int temp2 ;
24333 int temp3 ;
24334 PyObject * obj0 = 0 ;
24335 char *kwnames[] = {
24336 (char *) "self", NULL
24337 };
24338
24339 arg2 = &temp2;
24340 arg3 = &temp3;
24341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24343 {
24344 PyThreadState* __tstate = wxPyBeginAllowThreads();
24345 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24346
24347 wxPyEndAllowThreads(__tstate);
24348 if (PyErr_Occurred()) SWIG_fail;
24349 }
24350 Py_INCREF(Py_None); resultobj = Py_None;
24351 {
24352 PyObject *o = PyInt_FromLong((long) (*arg2));
24353 resultobj = t_output_helper(resultobj,o);
24354 }
24355 {
24356 PyObject *o = PyInt_FromLong((long) (*arg3));
24357 resultobj = t_output_helper(resultobj,o);
24358 }
24359 return resultobj;
24360 fail:
24361 return NULL;
24362 }
24363
24364
24365 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24366 PyObject *resultobj;
24367 wxPyControl *arg1 = (wxPyControl *) 0 ;
24368 int *arg2 = (int *) 0 ;
24369 int *arg3 = (int *) 0 ;
24370 int temp2 ;
24371 int temp3 ;
24372 PyObject * obj0 = 0 ;
24373 char *kwnames[] = {
24374 (char *) "self", NULL
24375 };
24376
24377 arg2 = &temp2;
24378 arg3 = &temp3;
24379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24381 {
24382 PyThreadState* __tstate = wxPyBeginAllowThreads();
24383 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24384
24385 wxPyEndAllowThreads(__tstate);
24386 if (PyErr_Occurred()) SWIG_fail;
24387 }
24388 Py_INCREF(Py_None); resultobj = Py_None;
24389 {
24390 PyObject *o = PyInt_FromLong((long) (*arg2));
24391 resultobj = t_output_helper(resultobj,o);
24392 }
24393 {
24394 PyObject *o = PyInt_FromLong((long) (*arg3));
24395 resultobj = t_output_helper(resultobj,o);
24396 }
24397 return resultobj;
24398 fail:
24399 return NULL;
24400 }
24401
24402
24403 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24404 PyObject *resultobj;
24405 wxPyControl *arg1 = (wxPyControl *) 0 ;
24406 int *arg2 = (int *) 0 ;
24407 int *arg3 = (int *) 0 ;
24408 int temp2 ;
24409 int temp3 ;
24410 PyObject * obj0 = 0 ;
24411 char *kwnames[] = {
24412 (char *) "self", NULL
24413 };
24414
24415 arg2 = &temp2;
24416 arg3 = &temp3;
24417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24419 {
24420 PyThreadState* __tstate = wxPyBeginAllowThreads();
24421 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24422
24423 wxPyEndAllowThreads(__tstate);
24424 if (PyErr_Occurred()) SWIG_fail;
24425 }
24426 Py_INCREF(Py_None); resultobj = Py_None;
24427 {
24428 PyObject *o = PyInt_FromLong((long) (*arg2));
24429 resultobj = t_output_helper(resultobj,o);
24430 }
24431 {
24432 PyObject *o = PyInt_FromLong((long) (*arg3));
24433 resultobj = t_output_helper(resultobj,o);
24434 }
24435 return resultobj;
24436 fail:
24437 return NULL;
24438 }
24439
24440
24441 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24442 PyObject *resultobj;
24443 wxPyControl *arg1 = (wxPyControl *) 0 ;
24444 wxSize result;
24445 PyObject * obj0 = 0 ;
24446 char *kwnames[] = {
24447 (char *) "self", NULL
24448 };
24449
24450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24452 {
24453 PyThreadState* __tstate = wxPyBeginAllowThreads();
24454 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24455
24456 wxPyEndAllowThreads(__tstate);
24457 if (PyErr_Occurred()) SWIG_fail;
24458 }
24459 {
24460 wxSize * resultptr;
24461 resultptr = new wxSize((wxSize &) result);
24462 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24463 }
24464 return resultobj;
24465 fail:
24466 return NULL;
24467 }
24468
24469
24470 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24471 PyObject *resultobj;
24472 wxPyControl *arg1 = (wxPyControl *) 0 ;
24473 wxSize result;
24474 PyObject * obj0 = 0 ;
24475 char *kwnames[] = {
24476 (char *) "self", NULL
24477 };
24478
24479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24481 {
24482 PyThreadState* __tstate = wxPyBeginAllowThreads();
24483 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24484
24485 wxPyEndAllowThreads(__tstate);
24486 if (PyErr_Occurred()) SWIG_fail;
24487 }
24488 {
24489 wxSize * resultptr;
24490 resultptr = new wxSize((wxSize &) result);
24491 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24492 }
24493 return resultobj;
24494 fail:
24495 return NULL;
24496 }
24497
24498
24499 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24500 PyObject *resultobj;
24501 wxPyControl *arg1 = (wxPyControl *) 0 ;
24502 PyObject * obj0 = 0 ;
24503 char *kwnames[] = {
24504 (char *) "self", NULL
24505 };
24506
24507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24509 {
24510 PyThreadState* __tstate = wxPyBeginAllowThreads();
24511 (arg1)->base_InitDialog();
24512
24513 wxPyEndAllowThreads(__tstate);
24514 if (PyErr_Occurred()) SWIG_fail;
24515 }
24516 Py_INCREF(Py_None); resultobj = Py_None;
24517 return resultobj;
24518 fail:
24519 return NULL;
24520 }
24521
24522
24523 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24524 PyObject *resultobj;
24525 wxPyControl *arg1 = (wxPyControl *) 0 ;
24526 bool result;
24527 PyObject * obj0 = 0 ;
24528 char *kwnames[] = {
24529 (char *) "self", NULL
24530 };
24531
24532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 result = (bool)(arg1)->base_TransferDataToWindow();
24537
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 resultobj = PyInt_FromLong((long)result);
24542 return resultobj;
24543 fail:
24544 return NULL;
24545 }
24546
24547
24548 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24549 PyObject *resultobj;
24550 wxPyControl *arg1 = (wxPyControl *) 0 ;
24551 bool result;
24552 PyObject * obj0 = 0 ;
24553 char *kwnames[] = {
24554 (char *) "self", NULL
24555 };
24556
24557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24559 {
24560 PyThreadState* __tstate = wxPyBeginAllowThreads();
24561 result = (bool)(arg1)->base_TransferDataFromWindow();
24562
24563 wxPyEndAllowThreads(__tstate);
24564 if (PyErr_Occurred()) SWIG_fail;
24565 }
24566 resultobj = PyInt_FromLong((long)result);
24567 return resultobj;
24568 fail:
24569 return NULL;
24570 }
24571
24572
24573 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24574 PyObject *resultobj;
24575 wxPyControl *arg1 = (wxPyControl *) 0 ;
24576 bool result;
24577 PyObject * obj0 = 0 ;
24578 char *kwnames[] = {
24579 (char *) "self", NULL
24580 };
24581
24582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24584 {
24585 PyThreadState* __tstate = wxPyBeginAllowThreads();
24586 result = (bool)(arg1)->base_Validate();
24587
24588 wxPyEndAllowThreads(__tstate);
24589 if (PyErr_Occurred()) SWIG_fail;
24590 }
24591 resultobj = PyInt_FromLong((long)result);
24592 return resultobj;
24593 fail:
24594 return NULL;
24595 }
24596
24597
24598 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24599 PyObject *resultobj;
24600 wxPyControl *arg1 = (wxPyControl *) 0 ;
24601 bool result;
24602 PyObject * obj0 = 0 ;
24603 char *kwnames[] = {
24604 (char *) "self", NULL
24605 };
24606
24607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24609 {
24610 PyThreadState* __tstate = wxPyBeginAllowThreads();
24611 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24612
24613 wxPyEndAllowThreads(__tstate);
24614 if (PyErr_Occurred()) SWIG_fail;
24615 }
24616 resultobj = PyInt_FromLong((long)result);
24617 return resultobj;
24618 fail:
24619 return NULL;
24620 }
24621
24622
24623 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24624 PyObject *resultobj;
24625 wxPyControl *arg1 = (wxPyControl *) 0 ;
24626 bool result;
24627 PyObject * obj0 = 0 ;
24628 char *kwnames[] = {
24629 (char *) "self", NULL
24630 };
24631
24632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24634 {
24635 PyThreadState* __tstate = wxPyBeginAllowThreads();
24636 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24637
24638 wxPyEndAllowThreads(__tstate);
24639 if (PyErr_Occurred()) SWIG_fail;
24640 }
24641 resultobj = PyInt_FromLong((long)result);
24642 return resultobj;
24643 fail:
24644 return NULL;
24645 }
24646
24647
24648 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24649 PyObject *resultobj;
24650 wxPyControl *arg1 = (wxPyControl *) 0 ;
24651 wxSize result;
24652 PyObject * obj0 = 0 ;
24653 char *kwnames[] = {
24654 (char *) "self", NULL
24655 };
24656
24657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24659 {
24660 PyThreadState* __tstate = wxPyBeginAllowThreads();
24661 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24662
24663 wxPyEndAllowThreads(__tstate);
24664 if (PyErr_Occurred()) SWIG_fail;
24665 }
24666 {
24667 wxSize * resultptr;
24668 resultptr = new wxSize((wxSize &) result);
24669 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24670 }
24671 return resultobj;
24672 fail:
24673 return NULL;
24674 }
24675
24676
24677 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24678 PyObject *resultobj;
24679 wxPyControl *arg1 = (wxPyControl *) 0 ;
24680 wxWindow *arg2 = (wxWindow *) 0 ;
24681 PyObject * obj0 = 0 ;
24682 PyObject * obj1 = 0 ;
24683 char *kwnames[] = {
24684 (char *) "self",(char *) "child", NULL
24685 };
24686
24687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24689 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24690 {
24691 PyThreadState* __tstate = wxPyBeginAllowThreads();
24692 (arg1)->base_AddChild(arg2);
24693
24694 wxPyEndAllowThreads(__tstate);
24695 if (PyErr_Occurred()) SWIG_fail;
24696 }
24697 Py_INCREF(Py_None); resultobj = Py_None;
24698 return resultobj;
24699 fail:
24700 return NULL;
24701 }
24702
24703
24704 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24705 PyObject *resultobj;
24706 wxPyControl *arg1 = (wxPyControl *) 0 ;
24707 wxWindow *arg2 = (wxWindow *) 0 ;
24708 PyObject * obj0 = 0 ;
24709 PyObject * obj1 = 0 ;
24710 char *kwnames[] = {
24711 (char *) "self",(char *) "child", NULL
24712 };
24713
24714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24717 {
24718 PyThreadState* __tstate = wxPyBeginAllowThreads();
24719 (arg1)->base_RemoveChild(arg2);
24720
24721 wxPyEndAllowThreads(__tstate);
24722 if (PyErr_Occurred()) SWIG_fail;
24723 }
24724 Py_INCREF(Py_None); resultobj = Py_None;
24725 return resultobj;
24726 fail:
24727 return NULL;
24728 }
24729
24730
24731 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24732 PyObject *obj;
24733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24734 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24735 Py_INCREF(obj);
24736 return Py_BuildValue((char *)"");
24737 }
24738 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24739 PyObject *resultobj;
24740 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24741 int arg2 = (int) 0 ;
24742 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24743 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24744 wxHelpEvent *result;
24745 wxPoint temp3 ;
24746 PyObject * obj2 = 0 ;
24747 char *kwnames[] = {
24748 (char *) "type",(char *) "winid",(char *) "pt", NULL
24749 };
24750
24751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24752 if (obj2) {
24753 {
24754 arg3 = &temp3;
24755 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24756 }
24757 }
24758 {
24759 PyThreadState* __tstate = wxPyBeginAllowThreads();
24760 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24761
24762 wxPyEndAllowThreads(__tstate);
24763 if (PyErr_Occurred()) SWIG_fail;
24764 }
24765 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24766 return resultobj;
24767 fail:
24768 return NULL;
24769 }
24770
24771
24772 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24773 PyObject *resultobj;
24774 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24775 wxPoint *result;
24776 PyObject * obj0 = 0 ;
24777 char *kwnames[] = {
24778 (char *) "self", NULL
24779 };
24780
24781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24783 {
24784 PyThreadState* __tstate = wxPyBeginAllowThreads();
24785 {
24786 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24787 result = (wxPoint *) &_result_ref;
24788 }
24789
24790 wxPyEndAllowThreads(__tstate);
24791 if (PyErr_Occurred()) SWIG_fail;
24792 }
24793 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24794 return resultobj;
24795 fail:
24796 return NULL;
24797 }
24798
24799
24800 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24801 PyObject *resultobj;
24802 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24803 wxPoint *arg2 = 0 ;
24804 wxPoint temp2 ;
24805 PyObject * obj0 = 0 ;
24806 PyObject * obj1 = 0 ;
24807 char *kwnames[] = {
24808 (char *) "self",(char *) "pos", NULL
24809 };
24810
24811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24813 {
24814 arg2 = &temp2;
24815 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24816 }
24817 {
24818 PyThreadState* __tstate = wxPyBeginAllowThreads();
24819 (arg1)->SetPosition((wxPoint const &)*arg2);
24820
24821 wxPyEndAllowThreads(__tstate);
24822 if (PyErr_Occurred()) SWIG_fail;
24823 }
24824 Py_INCREF(Py_None); resultobj = Py_None;
24825 return resultobj;
24826 fail:
24827 return NULL;
24828 }
24829
24830
24831 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24832 PyObject *resultobj;
24833 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24834 wxString *result;
24835 PyObject * obj0 = 0 ;
24836 char *kwnames[] = {
24837 (char *) "self", NULL
24838 };
24839
24840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24842 {
24843 PyThreadState* __tstate = wxPyBeginAllowThreads();
24844 {
24845 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24846 result = (wxString *) &_result_ref;
24847 }
24848
24849 wxPyEndAllowThreads(__tstate);
24850 if (PyErr_Occurred()) SWIG_fail;
24851 }
24852 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24853 return resultobj;
24854 fail:
24855 return NULL;
24856 }
24857
24858
24859 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24860 PyObject *resultobj;
24861 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24862 wxString *arg2 = 0 ;
24863 bool temp2 = False ;
24864 PyObject * obj0 = 0 ;
24865 PyObject * obj1 = 0 ;
24866 char *kwnames[] = {
24867 (char *) "self",(char *) "link", NULL
24868 };
24869
24870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24872 {
24873 arg2 = wxString_in_helper(obj1);
24874 if (arg2 == NULL) SWIG_fail;
24875 temp2 = True;
24876 }
24877 {
24878 PyThreadState* __tstate = wxPyBeginAllowThreads();
24879 (arg1)->SetLink((wxString const &)*arg2);
24880
24881 wxPyEndAllowThreads(__tstate);
24882 if (PyErr_Occurred()) SWIG_fail;
24883 }
24884 Py_INCREF(Py_None); resultobj = Py_None;
24885 {
24886 if (temp2)
24887 delete arg2;
24888 }
24889 return resultobj;
24890 fail:
24891 {
24892 if (temp2)
24893 delete arg2;
24894 }
24895 return NULL;
24896 }
24897
24898
24899 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24900 PyObject *resultobj;
24901 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24902 wxString *result;
24903 PyObject * obj0 = 0 ;
24904 char *kwnames[] = {
24905 (char *) "self", NULL
24906 };
24907
24908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24910 {
24911 PyThreadState* __tstate = wxPyBeginAllowThreads();
24912 {
24913 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24914 result = (wxString *) &_result_ref;
24915 }
24916
24917 wxPyEndAllowThreads(__tstate);
24918 if (PyErr_Occurred()) SWIG_fail;
24919 }
24920 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
24921 return resultobj;
24922 fail:
24923 return NULL;
24924 }
24925
24926
24927 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24928 PyObject *resultobj;
24929 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24930 wxString *arg2 = 0 ;
24931 bool temp2 = False ;
24932 PyObject * obj0 = 0 ;
24933 PyObject * obj1 = 0 ;
24934 char *kwnames[] = {
24935 (char *) "self",(char *) "target", NULL
24936 };
24937
24938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24940 {
24941 arg2 = wxString_in_helper(obj1);
24942 if (arg2 == NULL) SWIG_fail;
24943 temp2 = True;
24944 }
24945 {
24946 PyThreadState* __tstate = wxPyBeginAllowThreads();
24947 (arg1)->SetTarget((wxString const &)*arg2);
24948
24949 wxPyEndAllowThreads(__tstate);
24950 if (PyErr_Occurred()) SWIG_fail;
24951 }
24952 Py_INCREF(Py_None); resultobj = Py_None;
24953 {
24954 if (temp2)
24955 delete arg2;
24956 }
24957 return resultobj;
24958 fail:
24959 {
24960 if (temp2)
24961 delete arg2;
24962 }
24963 return NULL;
24964 }
24965
24966
24967 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24968 PyObject *obj;
24969 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24970 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
24971 Py_INCREF(obj);
24972 return Py_BuildValue((char *)"");
24973 }
24974 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24975 PyObject *resultobj;
24976 wxWindow *arg1 = (wxWindow *) NULL ;
24977 bool arg2 = (bool) True ;
24978 wxContextHelp *result;
24979 PyObject * obj0 = 0 ;
24980 PyObject * obj1 = 0 ;
24981 char *kwnames[] = {
24982 (char *) "window",(char *) "doNow", NULL
24983 };
24984
24985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
24986 if (obj0) {
24987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24988 }
24989 if (obj1) {
24990 arg2 = PyInt_AsLong(obj1) ? true : false;
24991 if (PyErr_Occurred()) SWIG_fail;
24992 }
24993 {
24994 PyThreadState* __tstate = wxPyBeginAllowThreads();
24995 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
24996
24997 wxPyEndAllowThreads(__tstate);
24998 if (PyErr_Occurred()) SWIG_fail;
24999 }
25000 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25001 return resultobj;
25002 fail:
25003 return NULL;
25004 }
25005
25006
25007 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25008 PyObject *resultobj;
25009 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25010 PyObject * obj0 = 0 ;
25011 char *kwnames[] = {
25012 (char *) "self", NULL
25013 };
25014
25015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25017 {
25018 PyThreadState* __tstate = wxPyBeginAllowThreads();
25019 delete arg1;
25020
25021 wxPyEndAllowThreads(__tstate);
25022 if (PyErr_Occurred()) SWIG_fail;
25023 }
25024 Py_INCREF(Py_None); resultobj = Py_None;
25025 return resultobj;
25026 fail:
25027 return NULL;
25028 }
25029
25030
25031 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25032 PyObject *resultobj;
25033 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25034 wxWindow *arg2 = (wxWindow *) NULL ;
25035 bool result;
25036 PyObject * obj0 = 0 ;
25037 PyObject * obj1 = 0 ;
25038 char *kwnames[] = {
25039 (char *) "self",(char *) "window", NULL
25040 };
25041
25042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25044 if (obj1) {
25045 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25046 }
25047 {
25048 PyThreadState* __tstate = wxPyBeginAllowThreads();
25049 result = (bool)(arg1)->BeginContextHelp(arg2);
25050
25051 wxPyEndAllowThreads(__tstate);
25052 if (PyErr_Occurred()) SWIG_fail;
25053 }
25054 resultobj = PyInt_FromLong((long)result);
25055 return resultobj;
25056 fail:
25057 return NULL;
25058 }
25059
25060
25061 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25062 PyObject *resultobj;
25063 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25064 bool result;
25065 PyObject * obj0 = 0 ;
25066 char *kwnames[] = {
25067 (char *) "self", NULL
25068 };
25069
25070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25072 {
25073 PyThreadState* __tstate = wxPyBeginAllowThreads();
25074 result = (bool)(arg1)->EndContextHelp();
25075
25076 wxPyEndAllowThreads(__tstate);
25077 if (PyErr_Occurred()) SWIG_fail;
25078 }
25079 resultobj = PyInt_FromLong((long)result);
25080 return resultobj;
25081 fail:
25082 return NULL;
25083 }
25084
25085
25086 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25087 PyObject *obj;
25088 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25089 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25090 Py_INCREF(obj);
25091 return Py_BuildValue((char *)"");
25092 }
25093 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25094 PyObject *resultobj;
25095 wxWindow *arg1 = (wxWindow *) 0 ;
25096 int arg2 = (int) wxID_CONTEXT_HELP ;
25097 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25098 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25099 wxSize const &arg4_defvalue = wxDefaultSize ;
25100 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25101 long arg5 = (long) wxBU_AUTODRAW ;
25102 wxContextHelpButton *result;
25103 wxPoint temp3 ;
25104 wxSize temp4 ;
25105 PyObject * obj0 = 0 ;
25106 PyObject * obj2 = 0 ;
25107 PyObject * obj3 = 0 ;
25108 char *kwnames[] = {
25109 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25110 };
25111
25112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25114 if (obj2) {
25115 {
25116 arg3 = &temp3;
25117 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25118 }
25119 }
25120 if (obj3) {
25121 {
25122 arg4 = &temp4;
25123 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25124 }
25125 }
25126 {
25127 PyThreadState* __tstate = wxPyBeginAllowThreads();
25128 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25129
25130 wxPyEndAllowThreads(__tstate);
25131 if (PyErr_Occurred()) SWIG_fail;
25132 }
25133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25134 return resultobj;
25135 fail:
25136 return NULL;
25137 }
25138
25139
25140 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25141 PyObject *obj;
25142 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25143 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25144 Py_INCREF(obj);
25145 return Py_BuildValue((char *)"");
25146 }
25147 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25148 PyObject *resultobj;
25149 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25150 wxHelpProvider *result;
25151 PyObject * obj0 = 0 ;
25152 char *kwnames[] = {
25153 (char *) "helpProvider", NULL
25154 };
25155
25156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25158 {
25159 PyThreadState* __tstate = wxPyBeginAllowThreads();
25160 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25161
25162 wxPyEndAllowThreads(__tstate);
25163 if (PyErr_Occurred()) SWIG_fail;
25164 }
25165 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25166 return resultobj;
25167 fail:
25168 return NULL;
25169 }
25170
25171
25172 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25173 PyObject *resultobj;
25174 wxHelpProvider *result;
25175 char *kwnames[] = {
25176 NULL
25177 };
25178
25179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25180 {
25181 PyThreadState* __tstate = wxPyBeginAllowThreads();
25182 result = (wxHelpProvider *)wxHelpProvider::Get();
25183
25184 wxPyEndAllowThreads(__tstate);
25185 if (PyErr_Occurred()) SWIG_fail;
25186 }
25187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25188 return resultobj;
25189 fail:
25190 return NULL;
25191 }
25192
25193
25194 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25195 PyObject *resultobj;
25196 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25197 wxWindow *arg2 = (wxWindow *) 0 ;
25198 wxString result;
25199 PyObject * obj0 = 0 ;
25200 PyObject * obj1 = 0 ;
25201 char *kwnames[] = {
25202 (char *) "self",(char *) "window", NULL
25203 };
25204
25205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25207 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25208 {
25209 PyThreadState* __tstate = wxPyBeginAllowThreads();
25210 result = (arg1)->GetHelp((wxWindow const *)arg2);
25211
25212 wxPyEndAllowThreads(__tstate);
25213 if (PyErr_Occurred()) SWIG_fail;
25214 }
25215 {
25216 #if wxUSE_UNICODE
25217 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25218 #else
25219 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25220 #endif
25221 }
25222 return resultobj;
25223 fail:
25224 return NULL;
25225 }
25226
25227
25228 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25229 PyObject *resultobj;
25230 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25231 wxWindow *arg2 = (wxWindow *) 0 ;
25232 bool result;
25233 PyObject * obj0 = 0 ;
25234 PyObject * obj1 = 0 ;
25235 char *kwnames[] = {
25236 (char *) "self",(char *) "window", NULL
25237 };
25238
25239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25241 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25242 {
25243 PyThreadState* __tstate = wxPyBeginAllowThreads();
25244 result = (bool)(arg1)->ShowHelp(arg2);
25245
25246 wxPyEndAllowThreads(__tstate);
25247 if (PyErr_Occurred()) SWIG_fail;
25248 }
25249 resultobj = PyInt_FromLong((long)result);
25250 return resultobj;
25251 fail:
25252 return NULL;
25253 }
25254
25255
25256 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25257 PyObject *resultobj;
25258 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25259 wxWindow *arg2 = (wxWindow *) 0 ;
25260 wxString *arg3 = 0 ;
25261 bool temp3 = False ;
25262 PyObject * obj0 = 0 ;
25263 PyObject * obj1 = 0 ;
25264 PyObject * obj2 = 0 ;
25265 char *kwnames[] = {
25266 (char *) "self",(char *) "window",(char *) "text", NULL
25267 };
25268
25269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25271 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25272 {
25273 arg3 = wxString_in_helper(obj2);
25274 if (arg3 == NULL) SWIG_fail;
25275 temp3 = True;
25276 }
25277 {
25278 PyThreadState* __tstate = wxPyBeginAllowThreads();
25279 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25280
25281 wxPyEndAllowThreads(__tstate);
25282 if (PyErr_Occurred()) SWIG_fail;
25283 }
25284 Py_INCREF(Py_None); resultobj = Py_None;
25285 {
25286 if (temp3)
25287 delete arg3;
25288 }
25289 return resultobj;
25290 fail:
25291 {
25292 if (temp3)
25293 delete arg3;
25294 }
25295 return NULL;
25296 }
25297
25298
25299 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25300 PyObject *resultobj;
25301 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25302 int arg2 ;
25303 wxString *arg3 = 0 ;
25304 bool temp3 = False ;
25305 PyObject * obj0 = 0 ;
25306 PyObject * obj2 = 0 ;
25307 char *kwnames[] = {
25308 (char *) "self",(char *) "id",(char *) "text", NULL
25309 };
25310
25311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25313 {
25314 arg3 = wxString_in_helper(obj2);
25315 if (arg3 == NULL) SWIG_fail;
25316 temp3 = True;
25317 }
25318 {
25319 PyThreadState* __tstate = wxPyBeginAllowThreads();
25320 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25321
25322 wxPyEndAllowThreads(__tstate);
25323 if (PyErr_Occurred()) SWIG_fail;
25324 }
25325 Py_INCREF(Py_None); resultobj = Py_None;
25326 {
25327 if (temp3)
25328 delete arg3;
25329 }
25330 return resultobj;
25331 fail:
25332 {
25333 if (temp3)
25334 delete arg3;
25335 }
25336 return NULL;
25337 }
25338
25339
25340 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25341 PyObject *resultobj;
25342 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25343 PyObject * obj0 = 0 ;
25344 char *kwnames[] = {
25345 (char *) "self", NULL
25346 };
25347
25348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25350 {
25351 PyThreadState* __tstate = wxPyBeginAllowThreads();
25352 wxHelpProvider_Destroy(arg1);
25353
25354 wxPyEndAllowThreads(__tstate);
25355 if (PyErr_Occurred()) SWIG_fail;
25356 }
25357 Py_INCREF(Py_None); resultobj = Py_None;
25358 return resultobj;
25359 fail:
25360 return NULL;
25361 }
25362
25363
25364 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25365 PyObject *obj;
25366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25367 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25368 Py_INCREF(obj);
25369 return Py_BuildValue((char *)"");
25370 }
25371 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25372 PyObject *resultobj;
25373 wxSimpleHelpProvider *result;
25374 char *kwnames[] = {
25375 NULL
25376 };
25377
25378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25379 {
25380 PyThreadState* __tstate = wxPyBeginAllowThreads();
25381 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25382
25383 wxPyEndAllowThreads(__tstate);
25384 if (PyErr_Occurred()) SWIG_fail;
25385 }
25386 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25387 return resultobj;
25388 fail:
25389 return NULL;
25390 }
25391
25392
25393 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25394 PyObject *obj;
25395 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25396 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25397 Py_INCREF(obj);
25398 return Py_BuildValue((char *)"");
25399 }
25400 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25401 PyObject *resultobj;
25402 wxBitmap *arg1 = 0 ;
25403 wxCursor const &arg2_defvalue = wxNullCursor ;
25404 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25405 wxGenericDragImage *result;
25406 PyObject * obj0 = 0 ;
25407 PyObject * obj1 = 0 ;
25408 char *kwnames[] = {
25409 (char *) "image",(char *) "cursor", NULL
25410 };
25411
25412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25414 if (arg1 == NULL) {
25415 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25416 }
25417 if (obj1) {
25418 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25419 if (arg2 == NULL) {
25420 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25421 }
25422 }
25423 {
25424 PyThreadState* __tstate = wxPyBeginAllowThreads();
25425 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25426
25427 wxPyEndAllowThreads(__tstate);
25428 if (PyErr_Occurred()) SWIG_fail;
25429 }
25430 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25431 return resultobj;
25432 fail:
25433 return NULL;
25434 }
25435
25436
25437 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25438 PyObject *resultobj;
25439 wxIcon *arg1 = 0 ;
25440 wxCursor const &arg2_defvalue = wxNullCursor ;
25441 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25442 wxGenericDragImage *result;
25443 PyObject * obj0 = 0 ;
25444 PyObject * obj1 = 0 ;
25445 char *kwnames[] = {
25446 (char *) "image",(char *) "cursor", NULL
25447 };
25448
25449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25451 if (arg1 == NULL) {
25452 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25453 }
25454 if (obj1) {
25455 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25456 if (arg2 == NULL) {
25457 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25458 }
25459 }
25460 {
25461 PyThreadState* __tstate = wxPyBeginAllowThreads();
25462 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25463
25464 wxPyEndAllowThreads(__tstate);
25465 if (PyErr_Occurred()) SWIG_fail;
25466 }
25467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25468 return resultobj;
25469 fail:
25470 return NULL;
25471 }
25472
25473
25474 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25475 PyObject *resultobj;
25476 wxString *arg1 = 0 ;
25477 wxCursor const &arg2_defvalue = wxNullCursor ;
25478 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25479 wxGenericDragImage *result;
25480 bool temp1 = False ;
25481 PyObject * obj0 = 0 ;
25482 PyObject * obj1 = 0 ;
25483 char *kwnames[] = {
25484 (char *) "str",(char *) "cursor", NULL
25485 };
25486
25487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25488 {
25489 arg1 = wxString_in_helper(obj0);
25490 if (arg1 == NULL) SWIG_fail;
25491 temp1 = True;
25492 }
25493 if (obj1) {
25494 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25495 if (arg2 == NULL) {
25496 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25497 }
25498 }
25499 {
25500 PyThreadState* __tstate = wxPyBeginAllowThreads();
25501 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25502
25503 wxPyEndAllowThreads(__tstate);
25504 if (PyErr_Occurred()) SWIG_fail;
25505 }
25506 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25507 {
25508 if (temp1)
25509 delete arg1;
25510 }
25511 return resultobj;
25512 fail:
25513 {
25514 if (temp1)
25515 delete arg1;
25516 }
25517 return NULL;
25518 }
25519
25520
25521 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25522 PyObject *resultobj;
25523 wxPyTreeCtrl *arg1 = 0 ;
25524 wxTreeItemId *arg2 = 0 ;
25525 wxGenericDragImage *result;
25526 PyObject * obj0 = 0 ;
25527 PyObject * obj1 = 0 ;
25528 char *kwnames[] = {
25529 (char *) "treeCtrl",(char *) "id", NULL
25530 };
25531
25532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25534 if (arg1 == NULL) {
25535 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25536 }
25537 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25538 if (arg2 == NULL) {
25539 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25540 }
25541 {
25542 PyThreadState* __tstate = wxPyBeginAllowThreads();
25543 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25544
25545 wxPyEndAllowThreads(__tstate);
25546 if (PyErr_Occurred()) SWIG_fail;
25547 }
25548 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25549 return resultobj;
25550 fail:
25551 return NULL;
25552 }
25553
25554
25555 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25556 PyObject *resultobj;
25557 wxPyListCtrl *arg1 = 0 ;
25558 long arg2 ;
25559 wxGenericDragImage *result;
25560 PyObject * obj0 = 0 ;
25561 char *kwnames[] = {
25562 (char *) "listCtrl",(char *) "id", NULL
25563 };
25564
25565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25567 if (arg1 == NULL) {
25568 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25569 }
25570 {
25571 PyThreadState* __tstate = wxPyBeginAllowThreads();
25572 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl 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_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25585 PyObject *resultobj;
25586 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25587 PyObject * obj0 = 0 ;
25588 char *kwnames[] = {
25589 (char *) "self", NULL
25590 };
25591
25592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25594 {
25595 PyThreadState* __tstate = wxPyBeginAllowThreads();
25596 delete arg1;
25597
25598 wxPyEndAllowThreads(__tstate);
25599 if (PyErr_Occurred()) SWIG_fail;
25600 }
25601 Py_INCREF(Py_None); resultobj = Py_None;
25602 return resultobj;
25603 fail:
25604 return NULL;
25605 }
25606
25607
25608 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25609 PyObject *resultobj;
25610 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25611 wxBitmap *arg2 = (wxBitmap *) 0 ;
25612 PyObject * obj0 = 0 ;
25613 PyObject * obj1 = 0 ;
25614 char *kwnames[] = {
25615 (char *) "self",(char *) "bitmap", NULL
25616 };
25617
25618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25621 {
25622 PyThreadState* __tstate = wxPyBeginAllowThreads();
25623 (arg1)->SetBackingBitmap(arg2);
25624
25625 wxPyEndAllowThreads(__tstate);
25626 if (PyErr_Occurred()) SWIG_fail;
25627 }
25628 Py_INCREF(Py_None); resultobj = Py_None;
25629 return resultobj;
25630 fail:
25631 return NULL;
25632 }
25633
25634
25635 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25636 PyObject *resultobj;
25637 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25638 wxPoint *arg2 = 0 ;
25639 wxWindow *arg3 = (wxWindow *) 0 ;
25640 bool arg4 = (bool) False ;
25641 wxRect *arg5 = (wxRect *) NULL ;
25642 bool result;
25643 wxPoint temp2 ;
25644 PyObject * obj0 = 0 ;
25645 PyObject * obj1 = 0 ;
25646 PyObject * obj2 = 0 ;
25647 PyObject * obj3 = 0 ;
25648 PyObject * obj4 = 0 ;
25649 char *kwnames[] = {
25650 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25651 };
25652
25653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25655 {
25656 arg2 = &temp2;
25657 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25658 }
25659 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25660 if (obj3) {
25661 arg4 = PyInt_AsLong(obj3) ? true : false;
25662 if (PyErr_Occurred()) SWIG_fail;
25663 }
25664 if (obj4) {
25665 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25666 }
25667 {
25668 PyThreadState* __tstate = wxPyBeginAllowThreads();
25669 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25670
25671 wxPyEndAllowThreads(__tstate);
25672 if (PyErr_Occurred()) SWIG_fail;
25673 }
25674 resultobj = PyInt_FromLong((long)result);
25675 return resultobj;
25676 fail:
25677 return NULL;
25678 }
25679
25680
25681 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25682 PyObject *resultobj;
25683 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25684 wxPoint *arg2 = 0 ;
25685 wxWindow *arg3 = (wxWindow *) 0 ;
25686 wxWindow *arg4 = (wxWindow *) 0 ;
25687 bool result;
25688 wxPoint temp2 ;
25689 PyObject * obj0 = 0 ;
25690 PyObject * obj1 = 0 ;
25691 PyObject * obj2 = 0 ;
25692 PyObject * obj3 = 0 ;
25693 char *kwnames[] = {
25694 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25695 };
25696
25697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25699 {
25700 arg2 = &temp2;
25701 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25702 }
25703 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25704 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25705 {
25706 PyThreadState* __tstate = wxPyBeginAllowThreads();
25707 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
25708
25709 wxPyEndAllowThreads(__tstate);
25710 if (PyErr_Occurred()) SWIG_fail;
25711 }
25712 resultobj = PyInt_FromLong((long)result);
25713 return resultobj;
25714 fail:
25715 return NULL;
25716 }
25717
25718
25719 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25720 PyObject *resultobj;
25721 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25722 bool result;
25723 PyObject * obj0 = 0 ;
25724 char *kwnames[] = {
25725 (char *) "self", NULL
25726 };
25727
25728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
25729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25730 {
25731 PyThreadState* __tstate = wxPyBeginAllowThreads();
25732 result = (bool)(arg1)->EndDrag();
25733
25734 wxPyEndAllowThreads(__tstate);
25735 if (PyErr_Occurred()) SWIG_fail;
25736 }
25737 resultobj = PyInt_FromLong((long)result);
25738 return resultobj;
25739 fail:
25740 return NULL;
25741 }
25742
25743
25744 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
25745 PyObject *resultobj;
25746 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25747 wxPoint *arg2 = 0 ;
25748 bool result;
25749 wxPoint temp2 ;
25750 PyObject * obj0 = 0 ;
25751 PyObject * obj1 = 0 ;
25752 char *kwnames[] = {
25753 (char *) "self",(char *) "pt", NULL
25754 };
25755
25756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
25757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25758 {
25759 arg2 = &temp2;
25760 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25761 }
25762 {
25763 PyThreadState* __tstate = wxPyBeginAllowThreads();
25764 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
25765
25766 wxPyEndAllowThreads(__tstate);
25767 if (PyErr_Occurred()) SWIG_fail;
25768 }
25769 resultobj = PyInt_FromLong((long)result);
25770 return resultobj;
25771 fail:
25772 return NULL;
25773 }
25774
25775
25776 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
25777 PyObject *resultobj;
25778 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25779 bool result;
25780 PyObject * obj0 = 0 ;
25781 char *kwnames[] = {
25782 (char *) "self", NULL
25783 };
25784
25785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
25786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25787 {
25788 PyThreadState* __tstate = wxPyBeginAllowThreads();
25789 result = (bool)(arg1)->Show();
25790
25791 wxPyEndAllowThreads(__tstate);
25792 if (PyErr_Occurred()) SWIG_fail;
25793 }
25794 resultobj = PyInt_FromLong((long)result);
25795 return resultobj;
25796 fail:
25797 return NULL;
25798 }
25799
25800
25801 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
25802 PyObject *resultobj;
25803 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25804 bool result;
25805 PyObject * obj0 = 0 ;
25806 char *kwnames[] = {
25807 (char *) "self", NULL
25808 };
25809
25810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
25811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25812 {
25813 PyThreadState* __tstate = wxPyBeginAllowThreads();
25814 result = (bool)(arg1)->Hide();
25815
25816 wxPyEndAllowThreads(__tstate);
25817 if (PyErr_Occurred()) SWIG_fail;
25818 }
25819 resultobj = PyInt_FromLong((long)result);
25820 return resultobj;
25821 fail:
25822 return NULL;
25823 }
25824
25825
25826 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25827 PyObject *resultobj;
25828 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25829 wxPoint *arg2 = 0 ;
25830 wxRect result;
25831 wxPoint temp2 ;
25832 PyObject * obj0 = 0 ;
25833 PyObject * obj1 = 0 ;
25834 char *kwnames[] = {
25835 (char *) "self",(char *) "pos", NULL
25836 };
25837
25838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
25839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25840 {
25841 arg2 = &temp2;
25842 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25843 }
25844 {
25845 PyThreadState* __tstate = wxPyBeginAllowThreads();
25846 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
25847
25848 wxPyEndAllowThreads(__tstate);
25849 if (PyErr_Occurred()) SWIG_fail;
25850 }
25851 {
25852 wxRect * resultptr;
25853 resultptr = new wxRect((wxRect &) result);
25854 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
25855 }
25856 return resultobj;
25857 fail:
25858 return NULL;
25859 }
25860
25861
25862 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25863 PyObject *resultobj;
25864 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25865 wxDC *arg2 = 0 ;
25866 wxPoint *arg3 = 0 ;
25867 bool result;
25868 wxPoint temp3 ;
25869 PyObject * obj0 = 0 ;
25870 PyObject * obj1 = 0 ;
25871 PyObject * obj2 = 0 ;
25872 char *kwnames[] = {
25873 (char *) "self",(char *) "dc",(char *) "pos", NULL
25874 };
25875
25876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25878 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25879 if (arg2 == NULL) {
25880 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25881 }
25882 {
25883 arg3 = &temp3;
25884 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25885 }
25886 {
25887 PyThreadState* __tstate = wxPyBeginAllowThreads();
25888 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
25889
25890 wxPyEndAllowThreads(__tstate);
25891 if (PyErr_Occurred()) SWIG_fail;
25892 }
25893 resultobj = PyInt_FromLong((long)result);
25894 return resultobj;
25895 fail:
25896 return NULL;
25897 }
25898
25899
25900 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25901 PyObject *resultobj;
25902 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25903 wxDC *arg2 = 0 ;
25904 wxMemoryDC *arg3 = 0 ;
25905 wxRect *arg4 = 0 ;
25906 wxRect *arg5 = 0 ;
25907 bool result;
25908 wxRect temp4 ;
25909 wxRect temp5 ;
25910 PyObject * obj0 = 0 ;
25911 PyObject * obj1 = 0 ;
25912 PyObject * obj2 = 0 ;
25913 PyObject * obj3 = 0 ;
25914 PyObject * obj4 = 0 ;
25915 char *kwnames[] = {
25916 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25917 };
25918
25919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25921 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25922 if (arg2 == NULL) {
25923 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25924 }
25925 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25926 if (arg3 == NULL) {
25927 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25928 }
25929 {
25930 arg4 = &temp4;
25931 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
25932 }
25933 {
25934 arg5 = &temp5;
25935 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
25936 }
25937 {
25938 PyThreadState* __tstate = wxPyBeginAllowThreads();
25939 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
25940
25941 wxPyEndAllowThreads(__tstate);
25942 if (PyErr_Occurred()) SWIG_fail;
25943 }
25944 resultobj = PyInt_FromLong((long)result);
25945 return resultobj;
25946 fail:
25947 return NULL;
25948 }
25949
25950
25951 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25952 PyObject *resultobj;
25953 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25954 wxPoint *arg2 = 0 ;
25955 wxPoint *arg3 = 0 ;
25956 bool arg4 ;
25957 bool arg5 ;
25958 bool result;
25959 wxPoint temp2 ;
25960 wxPoint temp3 ;
25961 PyObject * obj0 = 0 ;
25962 PyObject * obj1 = 0 ;
25963 PyObject * obj2 = 0 ;
25964 PyObject * obj3 = 0 ;
25965 PyObject * obj4 = 0 ;
25966 char *kwnames[] = {
25967 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25968 };
25969
25970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25972 {
25973 arg2 = &temp2;
25974 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25975 }
25976 {
25977 arg3 = &temp3;
25978 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25979 }
25980 arg4 = PyInt_AsLong(obj3) ? true : false;
25981 if (PyErr_Occurred()) SWIG_fail;
25982 arg5 = PyInt_AsLong(obj4) ? true : false;
25983 if (PyErr_Occurred()) SWIG_fail;
25984 {
25985 PyThreadState* __tstate = wxPyBeginAllowThreads();
25986 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
25987
25988 wxPyEndAllowThreads(__tstate);
25989 if (PyErr_Occurred()) SWIG_fail;
25990 }
25991 resultobj = PyInt_FromLong((long)result);
25992 return resultobj;
25993 fail:
25994 return NULL;
25995 }
25996
25997
25998 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
25999 PyObject *obj;
26000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26001 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26002 Py_INCREF(obj);
26003 return Py_BuildValue((char *)"");
26004 }
26005 static PyMethodDef SwigMethods[] = {
26006 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26007 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26008 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26009 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26010 { (char *)"Button_SetImageLabel", (PyCFunction) _wrap_Button_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"Button_SetImageMargins", (PyCFunction) _wrap_Button_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
26012 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26013 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26014 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26015 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26020 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26024 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26025 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26029 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26034 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26035 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26036 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26040 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26041 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26043 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26049 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26053 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26054 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26058 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26059 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26062 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26064 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26067 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26068 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26077 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26080 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26084 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26090 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26091 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26094 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26101 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26120 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26129 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26130 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26132 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26158 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26169 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26187 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26213 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26218 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26229 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26241 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26252 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26269 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26275 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26300 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26301 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26307 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26316 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26317 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26327 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26333 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26343 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26345 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26350 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26352 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26357 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26362 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26370 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26392 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26434 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26439 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26447 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26451 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26503 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26530 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26600 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26612 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26620 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26627 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26642 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26670 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26682 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26690 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26697 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26713 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26716 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26738 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26743 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26764 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26772 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26777 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26779 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26787 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
26789 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
26807 { NULL, NULL }
26808 };
26809
26810
26811 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26812
26813 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26814 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26815 }
26816 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26817 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26818 }
26819 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26820 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26821 }
26822 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26823 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26824 }
26825 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26826 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26827 }
26828 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26829 return (void *)((wxSizer *) ((wxGridSizer *) x));
26830 }
26831 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26832 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26833 }
26834 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26835 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26836 }
26837 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26838 return (void *)((wxSizer *) ((wxPySizer *) x));
26839 }
26840 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26841 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26842 }
26843 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26844 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26845 }
26846 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26847 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26848 }
26849 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26850 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26851 }
26852 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26853 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26854 }
26855 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26856 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26857 }
26858 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26859 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26860 }
26861 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26862 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26863 }
26864 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26865 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26866 }
26867 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26868 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26869 }
26870 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26871 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26872 }
26873 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26874 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26875 }
26876 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26877 return (void *)((wxEvent *) ((wxPyEvent *) x));
26878 }
26879 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26880 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26881 }
26882 static void *_p_wxListEventTo_p_wxEvent(void *x) {
26883 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26884 }
26885 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26886 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26887 }
26888 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26889 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26890 }
26891 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26892 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26893 }
26894 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26895 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26896 }
26897 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26898 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26899 }
26900 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26901 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26902 }
26903 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26904 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26905 }
26906 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26907 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26908 }
26909 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26910 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26911 }
26912 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26913 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26914 }
26915 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26916 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26917 }
26918 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26919 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26920 }
26921 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26922 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26923 }
26924 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26925 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26926 }
26927 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26928 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26929 }
26930 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26931 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26932 }
26933 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26934 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26935 }
26936 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26937 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26938 }
26939 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26940 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26941 }
26942 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26943 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26944 }
26945 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26946 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26947 }
26948 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26949 return (void *)((wxEvent *) ((wxShowEvent *) x));
26950 }
26951 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26952 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26953 }
26954 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26955 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26956 }
26957 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26958 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26959 }
26960 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26961 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26962 }
26963 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26964 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26965 }
26966 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26967 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26968 }
26969 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
26970 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
26971 }
26972 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
26973 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26974 }
26975 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
26976 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
26977 }
26978 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
26979 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
26980 }
26981 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
26982 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
26983 }
26984 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
26985 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26986 }
26987 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
26988 return (void *)((wxPyListCtrl *) ((wxListView *) x));
26989 }
26990 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
26991 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26992 }
26993 static void *_p_wxListBoxTo_p_wxControl(void *x) {
26994 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
26995 }
26996 static void *_p_wxChoiceTo_p_wxControl(void *x) {
26997 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
26998 }
26999 static void *_p_wxToolBarTo_p_wxControl(void *x) {
27000 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27001 }
27002 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27003 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27004 }
27005 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27006 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27007 }
27008 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27009 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27010 }
27011 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27012 return (void *)((wxControl *) ((wxStaticBox *) x));
27013 }
27014 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27015 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27016 }
27017 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27018 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27019 }
27020 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27021 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27022 }
27023 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27024 return (void *)((wxControl *) ((wxScrollBar *) x));
27025 }
27026 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27027 return (void *)((wxControl *) ((wxBookCtrl *) x));
27028 }
27029 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27030 return (void *)((wxControl *) ((wxRadioButton *) x));
27031 }
27032 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27033 return (void *)((wxControl *) ((wxToggleButton *) x));
27034 }
27035 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27036 return (void *)((wxControl *) ((wxGauge *) x));
27037 }
27038 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27039 return (void *)((wxControl *) ((wxToolBarBase *) x));
27040 }
27041 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27042 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27043 }
27044 static void *_p_wxButtonTo_p_wxControl(void *x) {
27045 return (void *)((wxControl *) ((wxButton *) x));
27046 }
27047 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27048 return (void *)((wxControl *) ((wxSpinButton *) x));
27049 }
27050 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27051 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27052 }
27053 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27054 return (void *)((wxControl *) ((wxControlWithItems *) x));
27055 }
27056 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27057 return (void *)((wxControl *) ((wxRadioBox *) x));
27058 }
27059 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27060 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27061 }
27062 static void *_p_wxListbookTo_p_wxControl(void *x) {
27063 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27064 }
27065 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27066 return (void *)((wxControl *) ((wxCheckBox *) x));
27067 }
27068 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27069 return (void *)((wxControl *) ((wxTextCtrl *) x));
27070 }
27071 static void *_p_wxListViewTo_p_wxControl(void *x) {
27072 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27073 }
27074 static void *_p_wxSliderTo_p_wxControl(void *x) {
27075 return (void *)((wxControl *) ((wxSlider *) x));
27076 }
27077 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
27078 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
27079 }
27080 static void *_p_wxPyControlTo_p_wxControl(void *x) {
27081 return (void *)((wxControl *) ((wxPyControl *) x));
27082 }
27083 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27084 return (void *)((wxControl *) ((wxStaticLine *) x));
27085 }
27086 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27087 return (void *)((wxControl *) ((wxStaticText *) x));
27088 }
27089 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27090 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27091 }
27092 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
27093 return (void *)((wxChoice *) ((wxComboBox *) x));
27094 }
27095 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27096 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27097 }
27098 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27099 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27100 }
27101 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27102 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27103 }
27104 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27105 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27106 }
27107 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27108 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27109 }
27110 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27111 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27112 }
27113 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27114 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27115 }
27116 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27117 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27118 }
27119 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27120 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27121 }
27122 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27123 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27124 }
27125 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27126 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27127 }
27128 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27129 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27130 }
27131 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27132 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27133 }
27134 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27135 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27136 }
27137 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27138 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27139 }
27140 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27141 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27142 }
27143 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27144 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27145 }
27146 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27147 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27148 }
27149 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27150 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27151 }
27152 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27153 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27154 }
27155 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27156 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27157 }
27158 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27159 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27160 }
27161 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27162 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27163 }
27164 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27165 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27166 }
27167 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27168 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27169 }
27170 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27171 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27172 }
27173 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27174 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27175 }
27176 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27177 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27178 }
27179 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27180 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27181 }
27182 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27183 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27184 }
27185 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27186 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27187 }
27188 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27189 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27190 }
27191 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27192 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27193 }
27194 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27195 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27196 }
27197 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27198 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27199 }
27200 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27201 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27202 }
27203 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27204 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27205 }
27206 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27207 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27208 }
27209 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27210 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27211 }
27212 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27213 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27214 }
27215 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27216 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27217 }
27218 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27219 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27220 }
27221 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27222 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27223 }
27224 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27225 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27226 }
27227 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27228 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27229 }
27230 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27231 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27232 }
27233 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27234 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27235 }
27236 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27237 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27238 }
27239 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27240 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27241 }
27242 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27243 return (void *)((wxButton *) ((wxBitmapButton *) x));
27244 }
27245 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27246 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27247 }
27248 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27249 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27250 }
27251 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27252 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27253 }
27254 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27255 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27256 }
27257 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27258 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27259 }
27260 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27261 return (void *)((wxObject *) ((wxSizerItem *) x));
27262 }
27263 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27264 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27265 }
27266 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27267 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27268 }
27269 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27270 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27271 }
27272 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27273 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27274 }
27275 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27276 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27277 }
27278 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27279 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27280 }
27281 static void *_p_wxSizerTo_p_wxObject(void *x) {
27282 return (void *)((wxObject *) ((wxSizer *) x));
27283 }
27284 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27285 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27286 }
27287 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27288 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27289 }
27290 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27291 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27292 }
27293 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27294 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27295 }
27296 static void *_p_wxEventTo_p_wxObject(void *x) {
27297 return (void *)((wxObject *) ((wxEvent *) x));
27298 }
27299 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27300 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27301 }
27302 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27303 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27304 }
27305 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27306 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27307 }
27308 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27310 }
27311 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27312 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27313 }
27314 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27316 }
27317 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27318 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27319 }
27320 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27321 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27322 }
27323 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27324 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27325 }
27326 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27327 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27328 }
27329 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27330 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27331 }
27332 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27333 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27334 }
27335 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27336 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27337 }
27338 static void *_p_wxControlTo_p_wxObject(void *x) {
27339 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27340 }
27341 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27343 }
27344 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27346 }
27347 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27349 }
27350 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27352 }
27353 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27355 }
27356 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27357 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27358 }
27359 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27360 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27361 }
27362 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27363 return (void *)((wxObject *) ((wxFSFile *) x));
27364 }
27365 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27366 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27367 }
27368 static void *_p_wxListViewTo_p_wxObject(void *x) {
27369 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27370 }
27371 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27372 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27373 }
27374 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27375 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27376 }
27377 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27378 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27379 }
27380 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27381 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27382 }
27383 static void *_p_wxListbookTo_p_wxObject(void *x) {
27384 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27385 }
27386 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27387 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27388 }
27389 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27390 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27391 }
27392 static void *_p_wxSliderTo_p_wxObject(void *x) {
27393 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27394 }
27395 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27396 return (void *)((wxObject *) ((wxMenuItem *) x));
27397 }
27398 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27399 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27400 }
27401 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27402 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27403 }
27404 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27405 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27406 }
27407 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27408 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27409 }
27410 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27411 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27412 }
27413 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27414 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27415 }
27416 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27417 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27418 }
27419 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27420 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27421 }
27422 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27423 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27424 }
27425 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27426 return (void *)((wxObject *) ((wxContextHelp *) x));
27427 }
27428 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27429 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27430 }
27431 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27432 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27433 }
27434 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27435 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27436 }
27437 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27438 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27439 }
27440 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27441 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27442 }
27443 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27444 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27445 }
27446 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27447 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27448 }
27449 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27450 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27451 }
27452 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27453 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27454 }
27455 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27456 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27457 }
27458 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27459 return (void *)((wxObject *) ((wxImageHandler *) x));
27460 }
27461 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27462 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27463 }
27464 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27465 return (void *)((wxObject *) ((wxEvtHandler *) x));
27466 }
27467 static void *_p_wxListEventTo_p_wxObject(void *x) {
27468 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27469 }
27470 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27471 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27472 }
27473 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27474 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27475 }
27476 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27477 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27478 }
27479 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27480 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27481 }
27482 static void *_p_wxButtonTo_p_wxObject(void *x) {
27483 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27484 }
27485 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27486 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27487 }
27488 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27489 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27490 }
27491 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27492 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27493 }
27494 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27495 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27496 }
27497 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27498 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27499 }
27500 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27501 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27502 }
27503 static void *_p_wxListItemTo_p_wxObject(void *x) {
27504 return (void *)((wxObject *) ((wxListItem *) x));
27505 }
27506 static void *_p_wxImageTo_p_wxObject(void *x) {
27507 return (void *)((wxObject *) ((wxImage *) x));
27508 }
27509 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27510 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27511 }
27512 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27513 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27514 }
27515 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27516 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27517 }
27518 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27519 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27520 }
27521 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27522 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27523 }
27524 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27525 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27526 }
27527 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27528 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27529 }
27530 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27531 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27532 }
27533 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27534 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27535 }
27536 static void *_p_wxWindowTo_p_wxObject(void *x) {
27537 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27538 }
27539 static void *_p_wxMenuTo_p_wxObject(void *x) {
27540 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27541 }
27542 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27543 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27544 }
27545 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27546 return (void *)((wxObject *) ((wxFileSystem *) x));
27547 }
27548 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27549 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27550 }
27551 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27552 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27553 }
27554 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27555 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27556 }
27557 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27558 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27559 }
27560 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27561 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27562 }
27563 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27564 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27565 }
27566 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27567 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27568 }
27569 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27570 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27571 }
27572 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27573 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27574 }
27575 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27576 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27577 }
27578 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27579 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27580 }
27581 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27582 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27583 }
27584 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27585 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27586 }
27587 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27588 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27589 }
27590 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27591 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27592 }
27593 static void *_p_wxToolBarTo_p_wxObject(void *x) {
27594 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27595 }
27596 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27597 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27598 }
27599 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27600 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27601 }
27602 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27603 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27604 }
27605 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27606 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27607 }
27608 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27609 return (void *)((wxWindow *) ((wxMenuBar *) x));
27610 }
27611 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27612 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27613 }
27614 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27615 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27616 }
27617 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27618 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27619 }
27620 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27621 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27622 }
27623 static void *_p_wxControlTo_p_wxWindow(void *x) {
27624 return (void *)((wxWindow *) ((wxControl *) x));
27625 }
27626 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27627 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27628 }
27629 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27630 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27631 }
27632 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27633 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27634 }
27635 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27636 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27637 }
27638 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27639 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27640 }
27641 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27642 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27643 }
27644 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27645 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27646 }
27647 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27648 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27649 }
27650 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27651 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27652 }
27653 static void *_p_wxListbookTo_p_wxWindow(void *x) {
27654 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27655 }
27656 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27657 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27658 }
27659 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27660 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27661 }
27662 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27663 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27664 }
27665 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27666 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27667 }
27668 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27669 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27670 }
27671 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27672 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27673 }
27674 static void *_p_wxListViewTo_p_wxWindow(void *x) {
27675 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27676 }
27677 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27678 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27679 }
27680 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27681 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27682 }
27683 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27684 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27685 }
27686 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27687 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27688 }
27689 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27690 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27691 }
27692 static void *_p_wxSliderTo_p_wxWindow(void *x) {
27693 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27694 }
27695 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27696 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27697 }
27698 static void *_p_wxButtonTo_p_wxWindow(void *x) {
27699 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27700 }
27701 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27702 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27703 }
27704 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27705 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27706 }
27707 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27708 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27709 }
27710 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27711 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27712 }
27713 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27714 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27715 }
27716 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27717 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27718 }
27719 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27720 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27721 }
27722 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27723 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27724 }
27725 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27726 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27727 }
27728 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27729 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27730 }
27731 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27732 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27733 }
27734 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27735 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27736 }
27737 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27738 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27739 }
27740 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27741 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27742 }
27743 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27744 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27745 }
27746 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27747 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27748 }
27749 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27750 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27751 }
27752 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27753 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27754 }
27755 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
27756 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
27757 }
27758 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27759 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27760 }
27761 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27762 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27763 }
27764 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27765 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27766 }
27767 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27768 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27769 }
27770 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27771 return (void *)((wxValidator *) ((wxPyValidator *) x));
27772 }
27773 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27774 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}};
27775 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}};
27776 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27777 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27778 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27779 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27780 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}};
27781 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27782 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27783 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27784 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}};
27785 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27786 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27787 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27788 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}};
27789 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27790 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27791 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27792 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27793 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27794 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27795 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}};
27796 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27797 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27798 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27799 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27800 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27801 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27802 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27803 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27804 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27805 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}};
27806 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27807 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27808 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27809 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27810 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27811 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27812 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27813 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27814 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}};
27815 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27816 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27817 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27818 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}};
27819 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27820 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}};
27821 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27822 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27823 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27824 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27825 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27826 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27827 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27828 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27829 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27830 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27831 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27832 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27833 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27834 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27835 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27836 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27837 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27838 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27839 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27840 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
27841 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27842 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27843 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}};
27844 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27845 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27846 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27847 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27848 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}};
27849 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27850 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}};
27851 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27852 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27853 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27854 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27855 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27856
27857 static swig_type_info *swig_types_initial[] = {
27858 _swigt__p_wxTextUrlEvent,
27859 _swigt__p_wxBookCtrlEvent,
27860 _swigt__p_wxSizer,
27861 _swigt__p_wxTreeItemIdValue,
27862 _swigt__wxTreeItemIdValue,
27863 _swigt__p_wxCheckBox,
27864 _swigt__p_wxPyTreeCtrl,
27865 _swigt__p_wxEvent,
27866 _swigt__p_wxGenericDirCtrl,
27867 _swigt__p_bool,
27868 _swigt__p_wxPyTreeItemData,
27869 _swigt__p_wxItemContainer,
27870 _swigt__p_wxDirFilterListCtrl,
27871 _swigt__p_wxPyListCtrl,
27872 _swigt__p_wxStaticLine,
27873 _swigt__p_wxControl,
27874 _swigt__p_wxPyControl,
27875 _swigt__p_wxGauge,
27876 _swigt__p_wxToolBarBase,
27877 _swigt__p_wxFont,
27878 _swigt__p_wxToggleButton,
27879 _swigt__p_wxRadioButton,
27880 _swigt__p_wxChoice,
27881 _swigt__p_wxMemoryDC,
27882 _swigt__p_wxListItemAttr,
27883 _swigt__p_int,
27884 _swigt__p_wxSize,
27885 _swigt__p_wxDC,
27886 _swigt__p_wxListView,
27887 _swigt__p_wxIcon,
27888 _swigt__p_wxTextCtrl,
27889 _swigt__p_wxNotebook,
27890 _swigt__p_wxNotifyEvent,
27891 _swigt__p_wxArrayString,
27892 _swigt__p_wxListbook,
27893 _swigt__p_wxStaticBitmap,
27894 _swigt__p_wxSlider,
27895 _swigt__p_wxStaticBox,
27896 _swigt__p_wxArrayInt,
27897 _swigt__p_wxContextHelp,
27898 _swigt__p_long,
27899 _swigt__p_wxEvtHandler,
27900 _swigt__p_wxListEvent,
27901 _swigt__p_wxListBox,
27902 _swigt__p_wxCheckListBox,
27903 _swigt__p_wxBookCtrl,
27904 _swigt__p_wxSpinButton,
27905 _swigt__p_wxButton,
27906 _swigt__p_wxBitmapButton,
27907 _swigt__p_wxRect,
27908 _swigt__p_wxContextHelpButton,
27909 _swigt__p_wxRadioBox,
27910 _swigt__p_wxScrollBar,
27911 _swigt__p_wxTreeItemId,
27912 _swigt__p_wxComboBox,
27913 _swigt__p_wxHelpEvent,
27914 _swigt__p_wxListItem,
27915 _swigt__p_wxNotebookSizer,
27916 _swigt__p_wxGenericDragImage,
27917 _swigt__p_wxSpinCtrl,
27918 _swigt__p_wxImageList,
27919 _swigt__p_wxHelpProvider,
27920 _swigt__p_wxTextAttr,
27921 _swigt__p_wxSimpleHelpProvider,
27922 _swigt__p_wxPoint,
27923 _swigt__p_wxListbookEvent,
27924 _swigt__p_wxNotebookEvent,
27925 _swigt__p_wxObject,
27926 _swigt__p_wxCursor,
27927 _swigt__p_wxKeyEvent,
27928 _swigt__p_wxWindow,
27929 _swigt__p_wxString,
27930 _swigt__p_wxBitmap,
27931 _swigt__p_wxTreeEvent,
27932 _swigt__p_wxMouseEvent,
27933 _swigt__p_wxCommandEvent,
27934 _swigt__p_wxStaticText,
27935 _swigt__p_wxControlWithItems,
27936 _swigt__p_wxToolBarToolBase,
27937 _swigt__p_wxColour,
27938 _swigt__p_wxToolBar,
27939 _swigt__p_wxBookCtrlSizer,
27940 _swigt__p_wxValidator,
27941 0
27942 };
27943
27944
27945 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27946
27947 static swig_const_info swig_const_table[] = {
27948 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
27949 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
27950 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
27951 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
27952 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
27953 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
27954 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
27955 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
27956 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
27957 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
27958 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
27959 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
27960 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
27961 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
27962 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
27963 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
27964 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
27965 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
27966 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
27967 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
27968 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
27969 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
27970 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
27971 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
27972 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
27973 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
27974 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
27975 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
27976 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
27977 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
27978 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
27979 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
27980 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
27981 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
27982 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
27983 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
27984 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
27985 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
27986 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
27987 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
27988 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
27989 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
27990 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
27991 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
27992 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
27993 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
27994 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
27995 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
27996 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
27997 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
27998 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
27999 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28000 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28001 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28002 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28003 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28004 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28005 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28006 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28007 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28008 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28009 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28010 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28011 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28012 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28013 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28014 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28015 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28016 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28017 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28018 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28019 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28020 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28021 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28022 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28023 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28024 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28025 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28026 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28027 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28028 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28029 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28030 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28031 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28032 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28033 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28034 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28035 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28036 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28037 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28038 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28039 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28040 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28041 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28042 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28043 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28044 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28045 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28046 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28047 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28048 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28049 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28050 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28051 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28052 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28053 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28054 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28055 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28056 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28057 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28058 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28059 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28060 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28061 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28062 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28063 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28064 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
28065 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
28066 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
28067 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
28068 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
28069 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
28070 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
28071 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
28072 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
28073 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
28074 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
28075 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
28076 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
28077 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
28078 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
28079 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
28080 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
28081 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
28082 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
28083 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
28084 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
28085 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28086 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28087 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28088 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28089 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28090 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28091 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28092 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28093 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28094 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28095 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28096 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28097 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28098 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28099 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28100 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28101 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28102 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28103 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28104 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28105 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28106 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28107 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28108 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28109 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28110 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28111 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28112 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28113 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28114 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28115 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28116 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28117 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28118 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28119 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28120 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28121 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28122 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28123 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28124 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28125 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28126 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28127 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28128 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28129 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28130 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28131 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28132 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28133 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28134 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28135 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28136 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28137 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28138 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28139 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28140 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28141 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28142 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28143 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28144 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28145 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28146 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28147 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28148 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28149 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28150 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28151 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28152 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28153 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28154 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28155 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28156 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28157 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28158 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28159 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28160 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28161 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28162 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28163 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28164 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28165 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28166 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28167 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28168 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28169 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28170 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28171 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28172 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28173 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28174 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28175 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28176 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28177 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28178 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28179 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28180 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28181 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28182 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28183 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28184 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28185 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28186 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28187 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28188 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28189 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28190 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28191 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28192 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28193 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28194 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28195 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28196 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28197 {0}};
28198
28199 #ifdef __cplusplus
28200 }
28201 #endif
28202
28203 #ifdef __cplusplus
28204 extern "C"
28205 #endif
28206 SWIGEXPORT(void) SWIG_init(void) {
28207 static PyObject *SWIG_globals = 0;
28208 static int typeinit = 0;
28209 PyObject *m, *d;
28210 int i;
28211 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28212 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28213 d = PyModule_GetDict(m);
28214
28215 if (!typeinit) {
28216 for (i = 0; swig_types_initial[i]; i++) {
28217 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28218 }
28219 typeinit = 1;
28220 }
28221 SWIG_InstallConstants(d,swig_const_table);
28222
28223 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28224 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28225 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28226 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28227 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28228 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28229 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28230 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28231 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28232 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28233 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28234 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28235 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28236 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28237 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28238 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28239 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28240 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28241 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28242 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28243 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28244 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28245 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28246 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28247 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28248 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28249 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28250 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28251 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28252 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28253 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28254 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28255
28256 // Map renamed classes back to their common name for OOR
28257 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28258
28259 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28260 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28261 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28262 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28263 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28264 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28265 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28266 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28267 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28268 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28269 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28270 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28271 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28272 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28273 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28274 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28275 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28276 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28277 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28278
28279 // Map renamed classes back to their common name for OOR
28280 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28281 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28282
28283 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28284 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28285
28286 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28287
28288 }
28289