]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/gtk/controls_wrap.cpp
reSWIGed
[wxWidgets.git] / wxPython / src / gtk / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51 /***********************************************************************
52 * common.swg for wxPython
53 *
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
57 * anyway.
58 *
59 ************************************************************************/
60
61 #include <string.h>
62
63 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64 # if defined(_MSC_VER) || defined(__GNUC__)
65 # if defined(STATIC_LINKED)
66 # define SWIGEXPORT(a) a
67 # define SWIGIMPORT(a) extern a
68 # else
69 # define SWIGEXPORT(a) __declspec(dllexport) a
70 # define SWIGIMPORT(a) extern a
71 # endif
72 # else
73 # if defined(__BORLANDC__)
74 # define SWIGEXPORT(a) a _export
75 # define SWIGIMPORT(a) a _export
76 # else
77 # define SWIGEXPORT(a) a
78 # define SWIGIMPORT(a) a
79 # endif
80 # endif
81 #else
82 # define SWIGEXPORT(a) a
83 # define SWIGIMPORT(a) a
84 #endif
85
86 #ifdef SWIG_GLOBAL
87 # define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #else
89 # define SWIGRUNTIME(a) static a
90 #endif
91
92 #ifdef __cplusplus
93 extern "C" {
94 #endif
95
96 typedef void *(*swig_converter_func)(void *);
97 typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99 typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107 } swig_type_info;
108
109
110 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
119
120
121 #ifdef __cplusplus
122 }
123
124 #endif
125
126
127 /***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137 #include "Python.h"
138
139 #ifdef __cplusplus
140 extern "C" {
141 #endif
142
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
148
149 /* Flags for pointer conversion */
150
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
153
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
156
157 /* Constant information structure */
158 typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165 } swig_const_info;
166
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
196
197
198
199 /* Contract support */
200
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
202
203 #ifdef __cplusplus
204 }
205 #endif
206
207
208
209 /* -------- TYPES TABLE (BEGIN) -------- */
210
211 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
212 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
213 #define SWIGTYPE_p_wxSizer swig_types[2]
214 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
215 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
216 #define SWIGTYPE_p_wxCheckBox swig_types[5]
217 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
218 #define SWIGTYPE_p_wxEvent swig_types[7]
219 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
220 #define SWIGTYPE_p_bool swig_types[9]
221 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
222 #define SWIGTYPE_p_wxItemContainer swig_types[11]
223 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
224 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
225 #define SWIGTYPE_p_wxStaticLine swig_types[14]
226 #define SWIGTYPE_p_wxControl swig_types[15]
227 #define SWIGTYPE_p_wxPyControl swig_types[16]
228 #define SWIGTYPE_p_wxGauge swig_types[17]
229 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
230 #define SWIGTYPE_p_wxFont swig_types[19]
231 #define SWIGTYPE_p_wxToggleButton swig_types[20]
232 #define SWIGTYPE_p_wxRadioButton swig_types[21]
233 #define SWIGTYPE_p_wxChoice swig_types[22]
234 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
235 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
236 #define SWIGTYPE_p_int swig_types[25]
237 #define SWIGTYPE_p_wxSize swig_types[26]
238 #define SWIGTYPE_p_wxDC swig_types[27]
239 #define SWIGTYPE_p_wxListView swig_types[28]
240 #define SWIGTYPE_p_wxIcon swig_types[29]
241 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
242 #define SWIGTYPE_p_wxNotebook swig_types[31]
243 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
244 #define SWIGTYPE_p_wxArrayString swig_types[33]
245 #define SWIGTYPE_p_wxListbook swig_types[34]
246 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
247 #define SWIGTYPE_p_wxSlider swig_types[36]
248 #define SWIGTYPE_p_wxStaticBox swig_types[37]
249 #define SWIGTYPE_p_wxArrayInt swig_types[38]
250 #define SWIGTYPE_p_wxContextHelp swig_types[39]
251 #define SWIGTYPE_p_long swig_types[40]
252 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
253 #define SWIGTYPE_p_wxListEvent swig_types[42]
254 #define SWIGTYPE_p_wxListBox swig_types[43]
255 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
256 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
257 #define SWIGTYPE_p_wxSpinButton swig_types[46]
258 #define SWIGTYPE_p_wxButton swig_types[47]
259 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
260 #define SWIGTYPE_p_wxRect swig_types[49]
261 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
262 #define SWIGTYPE_p_wxRadioBox swig_types[51]
263 #define SWIGTYPE_p_wxScrollBar swig_types[52]
264 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
265 #define SWIGTYPE_p_wxComboBox swig_types[54]
266 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
267 #define SWIGTYPE_p_wxListItem swig_types[56]
268 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
269 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
270 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
271 #define SWIGTYPE_p_wxImageList swig_types[60]
272 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
273 #define SWIGTYPE_p_wxTextAttr swig_types[62]
274 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
275 #define SWIGTYPE_p_wxPoint swig_types[64]
276 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
277 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
278 #define SWIGTYPE_p_wxObject swig_types[67]
279 #define SWIGTYPE_p_wxCursor swig_types[68]
280 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
281 #define SWIGTYPE_p_wxWindow swig_types[70]
282 #define SWIGTYPE_p_wxString swig_types[71]
283 #define SWIGTYPE_p_wxBitmap swig_types[72]
284 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
285 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
286 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
287 #define SWIGTYPE_p_wxStaticText swig_types[76]
288 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
289 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
290 #define SWIGTYPE_p_wxColour swig_types[79]
291 #define SWIGTYPE_p_wxToolBar swig_types[80]
292 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
293 #define SWIGTYPE_p_wxValidator swig_types[82]
294 static swig_type_info *swig_types[84];
295
296 /* -------- TYPES TABLE (END) -------- */
297
298
299 /*-----------------------------------------------
300 @(target):= _controls.so
301 ------------------------------------------------*/
302 #define SWIG_init init_controls
303
304 #define SWIG_name "_controls"
305
306 #include "wx/wxPython/wxPython.h"
307 #include "wx/wxPython/pyclasses.h"
308
309 DECLARE_DEF_STRING(PanelNameStr);
310 DECLARE_DEF_STRING(EmptyString);
311 DECLARE_DEF_STRING(ControlNameStr);
312
313
314
315 DECLARE_DEF_STRING(ButtonNameStr);
316
317
318 DECLARE_DEF_STRING(CheckBoxNameStr);
319
320
321 DECLARE_DEF_STRING(ChoiceNameStr);
322
323
324 DECLARE_DEF_STRING(ComboBoxNameStr);
325
326
327 DECLARE_DEF_STRING(GaugeNameStr);
328
329
330 DECLARE_DEF_STRING(StaticBitmapNameStr);
331 DECLARE_DEF_STRING(StaticBoxNameStr);
332 DECLARE_DEF_STRING(StaticTextNameStr);
333
334
335 #include <wx/checklst.h>
336
337 DECLARE_DEF_STRING(ListBoxNameStr);
338
339 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
340 if (clientData) {
341 wxPyClientData* data = new wxPyClientData(clientData);
342 self->Insert(item, pos, data);
343 } else
344 self->Insert(item, pos);
345 }
346 PyObject *wxListBox_GetSelections(wxListBox *self){
347 wxArrayInt lst;
348 self->GetSelections(lst);
349 PyObject *tup = PyTuple_New(lst.GetCount());
350 for(size_t i=0; i<lst.GetCount(); i++) {
351 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
352 }
353 return tup;
354 }
355
356 DECLARE_DEF_STRING(TextCtrlNameStr);
357
358
359 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
360 PyObject* o2;
361 PyObject* o3;
362
363 if (!target) {
364 target = o;
365 } else if (target == Py_None) {
366 Py_DECREF(Py_None);
367 target = o;
368 } else {
369 if (!PyTuple_Check(target)) {
370 o2 = target;
371 target = PyTuple_New(1);
372 PyTuple_SetItem(target, 0, o2);
373 }
374 o3 = PyTuple_New(1);
375 PyTuple_SetItem(o3, 0, o);
376
377 o2 = target;
378 target = PySequence_Concat(o2, o3);
379 Py_DECREF(o2);
380 Py_DECREF(o3);
381 }
382 return target;
383 }
384
385 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
386 self->AppendText(text);
387 }
388 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
389 return self->GetValue().Mid(from, to - from);
390 }
391
392 DECLARE_DEF_STRING(ScrollBarNameStr);
393
394
395 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
396 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
397 DECLARE_DEF_STRING(SpinCtrlNameStr);
398
399 void wxSpinCtrl_SetSelection(wxSpinCtrl *self,long from,long to){
400 }
401
402 DECLARE_DEF_STRING(RadioBoxNameStr);
403 DECLARE_DEF_STRING(RadioButtonNameStr);
404
405 int wxRadioBox_GetColumnCount(wxRadioBox const *self){ return -1; }
406 int wxRadioBox_GetRowCount(wxRadioBox const *self){ return -1; }
407 int wxRadioBox_GetNextItem(wxRadioBox const *self,int item,wxDirection dir,long style){ return -1; }
408
409 #include <wx/slider.h>
410
411 DECLARE_DEF_STRING(SliderNameStr);
412
413
414 wxChar* wxToggleButtonNameStr = _T("wxToggleButton");
415 DECLARE_DEF_STRING(ToggleButtonNameStr);
416
417
418 #ifdef __WXMAC__
419 // implement dummy classes and such for wxMac
420
421 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
422
423 class wxToggleButton : public wxControl
424 {
425 public:
426 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
427 const wxPoint&, const wxSize&, long,
428 const wxValidator&, const wxString&)
429 { PyErr_SetNone(PyExc_NotImplementedError); }
430
431 wxToggleButton()
432 { PyErr_SetNone(PyExc_NotImplementedError); }
433 };
434 #endif
435
436
437 DECLARE_DEF_STRING(NOTEBOOK_NAME);
438
439
440 DECLARE_DEF_STRING(ToolBarNameStr);
441
442 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
443 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
444 if (udata) {
445 Py_INCREF(udata->m_obj);
446 return udata->m_obj;
447 } else {
448 Py_INCREF(Py_None);
449 return Py_None;
450 }
451 }
452 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
453 self->SetClientData(new wxPyUserData(clientData));
454 }
455 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){
456 wxPyUserData* udata = NULL;
457 if (clientData && clientData != Py_None)
458 udata = new wxPyUserData(clientData);
459 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
460 shortHelp, longHelp, udata);
461 }
462 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){
463 wxPyUserData* udata = NULL;
464 if (clientData && clientData != Py_None)
465 udata = new wxPyUserData(clientData);
466 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
467 shortHelp, longHelp, udata);
468 }
469 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
470 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
471 if (udata) {
472 Py_INCREF(udata->m_obj);
473 return udata->m_obj;
474 } else {
475 Py_INCREF(Py_None);
476 return Py_None;
477 }
478 }
479 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
480 self->SetToolClientData(id, new wxPyUserData(clientData));
481 }
482
483 #include <wx/listctrl.h>
484
485 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
486 DECLARE_DEF_STRING(ListCtrlNameStr);
487
488 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
489 // Python aware sorting function for wxPyListCtrl
490 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
491 int retval = 0;
492 PyObject* func = (PyObject*)funcPtr;
493 wxPyBeginBlockThreads();
494
495 PyObject* args = Py_BuildValue("(ii)", item1, item2);
496 PyObject* result = PyEval_CallObject(func, args);
497 Py_DECREF(args);
498 if (result) {
499 retval = PyInt_AsLong(result);
500 Py_DECREF(result);
501 }
502
503 wxPyEndBlockThreads();
504 return retval;
505 }
506
507 // C++ Version of a Python aware class
508 class wxPyListCtrl : public wxListCtrl {
509 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
510 public:
511 wxPyListCtrl() : wxListCtrl() {}
512 wxPyListCtrl(wxWindow* parent, wxWindowID id,
513 const wxPoint& pos,
514 const wxSize& size,
515 long style,
516 const wxValidator& validator,
517 const wxString& name) :
518 wxListCtrl(parent, id, pos, size, style, validator, name) {}
519
520 bool Create(wxWindow* parent, wxWindowID id,
521 const wxPoint& pos,
522 const wxSize& size,
523 long style,
524 const wxValidator& validator,
525 const wxString& name) {
526 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
527 }
528
529 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
530 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
531 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
532
533 PYPRIVATE;
534 };
535
536 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
537
538 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
539 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
540 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
541
542 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
543 wxListItem item;
544 item.SetMask( wxLIST_MASK_STATE |
545 wxLIST_MASK_TEXT |
546 wxLIST_MASK_IMAGE |
547 wxLIST_MASK_DATA |
548 wxLIST_SET_ITEM |
549 wxLIST_MASK_WIDTH |
550 wxLIST_MASK_FORMAT
551 );
552 if (self->GetColumn(col, item))
553 return new wxListItem(item);
554 else
555 return NULL;
556 }
557 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
558 wxListItem* info = new wxListItem;
559 info->m_itemId = itemId;
560 info->m_col = col;
561 info->m_mask = 0xFFFF;
562 self->GetItem(*info);
563 return info;
564 }
565 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
566 wxPoint pos;
567 self->GetItemPosition(item, pos);
568 return pos;
569 }
570 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
571 wxRect rect;
572 self->GetItemRect(item, rect, code);
573 return rect;
574 }
575 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
576 if (!PyCallable_Check(func))
577 return False;
578 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
579 }
580 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
581
582
583
584 return (wxWindow*)self->m_mainWin;
585
586 }
587
588 #include <wx/treectrl.h>
589 #include "wx/wxPython/pytree.h"
590
591 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
592 DECLARE_DEF_STRING(_TreeCtrlNameStr);
593
594 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
595 if (!other) return False;
596 return *self == *other;
597 }
598 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
599 if (!other) return True;
600 return *self != *other;
601 }
602 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
603 // C++ version of Python aware wxTreeCtrl
604 class wxPyTreeCtrl : public wxTreeCtrl {
605 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
606 public:
607 wxPyTreeCtrl() : wxTreeCtrl() {}
608 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
609 const wxPoint& pos,
610 const wxSize& size,
611 long style,
612 const wxValidator& validator,
613 const wxString& name) :
614 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
615
616 bool Create(wxWindow *parent, wxWindowID id,
617 const wxPoint& pos,
618 const wxSize& size,
619 long style,
620 const wxValidator& validator,
621 const wxString& name) {
622 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
623 }
624
625
626 int OnCompareItems(const wxTreeItemId& item1,
627 const wxTreeItemId& item2) {
628 int rval = 0;
629 bool found;
630 wxPyBeginBlockThreads();
631 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
632 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
633 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
634 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
635 Py_DECREF(o1);
636 Py_DECREF(o2);
637 }
638 wxPyEndBlockThreads();
639 if (! found)
640 rval = wxTreeCtrl::OnCompareItems(item1, item2);
641 return rval;
642 }
643 PYPRIVATE;
644 };
645
646 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
647
648
649 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
650 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
651 if (data == NULL) {
652 data = new wxPyTreeItemData();
653 data->SetId(item); // set the id
654 self->SetItemData(item, data);
655 }
656 return data;
657 }
658 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
659 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
660 if (data == NULL) {
661 data = new wxPyTreeItemData();
662 data->SetId(item); // set the id
663 self->SetItemData(item, data);
664 }
665 return data->GetData();
666 }
667 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
668 data->SetId(item); // set the id
669 self->SetItemData(item, data);
670 }
671 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
672 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
673 if (data == NULL) {
674 data = new wxPyTreeItemData(obj);
675 data->SetId(item); // set the id
676 self->SetItemData(item, data);
677 } else
678 data->SetData(obj);
679 }
680 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
681 wxPyBeginBlockThreads();
682 PyObject* rval = PyList_New(0);
683 wxArrayTreeItemIds array;
684 size_t num, x;
685 num = self->GetSelections(array);
686 for (x=0; x < num; x++) {
687 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
688 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
689 PyList_Append(rval, item);
690 }
691 wxPyEndBlockThreads();
692 return rval;
693 }
694 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
695 wxTreeItemIdValue cookie = 0;
696 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
697 wxPyBeginBlockThreads();
698 PyObject* tup = PyTuple_New(2);
699 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
700 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
701 wxPyEndBlockThreads();
702 return tup;
703 }
704 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
705 wxTreeItemId ritem = self->GetNextChild(item, cookie);
706 wxPyBeginBlockThreads();
707 PyObject* tup = PyTuple_New(2);
708 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
709 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
710 wxPyEndBlockThreads();
711 return tup;
712 }
713 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
714 wxRect rect;
715 if (self->GetBoundingRect(item, rect, textOnly)) {
716 wxPyBeginBlockThreads();
717 wxRect* r = new wxRect(rect);
718 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
719 wxPyEndBlockThreads();
720 return val;
721 }
722 else
723 RETURN_NONE();
724 }
725
726 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
727
728 // C++ version of Python aware wxControl
729 class wxPyControl : public wxControl
730 {
731 DECLARE_DYNAMIC_CLASS(wxPyControl)
732 public:
733 wxPyControl() : wxControl() {}
734 wxPyControl(wxWindow* parent, const wxWindowID id,
735 const wxPoint& pos = wxDefaultPosition,
736 const wxSize& size = wxDefaultSize,
737 long style = 0,
738 const wxValidator& validator=wxDefaultValidator,
739 const wxString& name = wxPyControlNameStr)
740 : wxControl(parent, id, pos, size, style, validator, name) {}
741
742
743 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
744 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
745 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
746 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
747
748 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
749 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
750 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
751
752 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
753 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
754
755 DEC_PYCALLBACK__(InitDialog);
756 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
757 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
758 DEC_PYCALLBACK_BOOL_(Validate);
759
760 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
761 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
762 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
763
764 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
765 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
766
767 PYPRIVATE;
768 };
769
770 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
771
772 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
773 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
774 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
775 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
776
777 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
778 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
779 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
780
781 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
782 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
783
784 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
785 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
786 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
787 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
788
789 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
790 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
791 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
792
793 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
794 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
795
796
797
798
799 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
800
801 #include <wx/generic/dragimgg.h>
802
803 #ifdef __cplusplus
804 extern "C" {
805 #endif
806 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
807 PyObject *resultobj;
808 wxWindow *arg1 = (wxWindow *) 0 ;
809 int arg2 ;
810 wxString *arg3 = 0 ;
811 wxPoint const &arg4_defvalue = wxDefaultPosition ;
812 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
813 wxSize const &arg5_defvalue = wxDefaultSize ;
814 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
815 long arg6 = (long) 0 ;
816 wxValidator const &arg7_defvalue = wxDefaultValidator ;
817 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
818 wxString const &arg8_defvalue = wxPyButtonNameStr ;
819 wxString *arg8 = (wxString *) &arg8_defvalue ;
820 wxButton *result;
821 bool temp3 = False ;
822 wxPoint temp4 ;
823 wxSize temp5 ;
824 bool temp8 = False ;
825 PyObject * obj0 = 0 ;
826 PyObject * obj2 = 0 ;
827 PyObject * obj3 = 0 ;
828 PyObject * obj4 = 0 ;
829 PyObject * obj6 = 0 ;
830 PyObject * obj7 = 0 ;
831 char *kwnames[] = {
832 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
833 };
834
835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
837 {
838 arg3 = wxString_in_helper(obj2);
839 if (arg3 == NULL) SWIG_fail;
840 temp3 = True;
841 }
842 if (obj3) {
843 {
844 arg4 = &temp4;
845 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
846 }
847 }
848 if (obj4) {
849 {
850 arg5 = &temp5;
851 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
852 }
853 }
854 if (obj6) {
855 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
856 if (arg7 == NULL) {
857 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
858 }
859 }
860 if (obj7) {
861 {
862 arg8 = wxString_in_helper(obj7);
863 if (arg8 == NULL) SWIG_fail;
864 temp8 = True;
865 }
866 }
867 {
868 PyThreadState* __tstate = wxPyBeginAllowThreads();
869 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
870
871 wxPyEndAllowThreads(__tstate);
872 if (PyErr_Occurred()) SWIG_fail;
873 }
874 {
875 resultobj = wxPyMake_wxObject(result);
876 }
877 {
878 if (temp3)
879 delete arg3;
880 }
881 {
882 if (temp8)
883 delete arg8;
884 }
885 return resultobj;
886 fail:
887 {
888 if (temp3)
889 delete arg3;
890 }
891 {
892 if (temp8)
893 delete arg8;
894 }
895 return NULL;
896 }
897
898
899 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
900 PyObject *resultobj;
901 wxButton *result;
902 char *kwnames[] = {
903 NULL
904 };
905
906 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
907 {
908 PyThreadState* __tstate = wxPyBeginAllowThreads();
909 result = (wxButton *)new wxButton();
910
911 wxPyEndAllowThreads(__tstate);
912 if (PyErr_Occurred()) SWIG_fail;
913 }
914 {
915 resultobj = wxPyMake_wxObject(result);
916 }
917 return resultobj;
918 fail:
919 return NULL;
920 }
921
922
923 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
924 PyObject *resultobj;
925 wxButton *arg1 = (wxButton *) 0 ;
926 wxWindow *arg2 = (wxWindow *) 0 ;
927 int arg3 ;
928 wxString *arg4 = 0 ;
929 wxPoint const &arg5_defvalue = wxDefaultPosition ;
930 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
931 wxSize const &arg6_defvalue = wxDefaultSize ;
932 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
933 long arg7 = (long) 0 ;
934 wxValidator const &arg8_defvalue = wxDefaultValidator ;
935 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
936 wxString const &arg9_defvalue = wxPyButtonNameStr ;
937 wxString *arg9 = (wxString *) &arg9_defvalue ;
938 bool result;
939 bool temp4 = False ;
940 wxPoint temp5 ;
941 wxSize temp6 ;
942 bool temp9 = False ;
943 PyObject * obj0 = 0 ;
944 PyObject * obj1 = 0 ;
945 PyObject * obj3 = 0 ;
946 PyObject * obj4 = 0 ;
947 PyObject * obj5 = 0 ;
948 PyObject * obj7 = 0 ;
949 PyObject * obj8 = 0 ;
950 char *kwnames[] = {
951 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
952 };
953
954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
957 {
958 arg4 = wxString_in_helper(obj3);
959 if (arg4 == NULL) SWIG_fail;
960 temp4 = True;
961 }
962 if (obj4) {
963 {
964 arg5 = &temp5;
965 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
966 }
967 }
968 if (obj5) {
969 {
970 arg6 = &temp6;
971 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
972 }
973 }
974 if (obj7) {
975 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
976 if (arg8 == NULL) {
977 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
978 }
979 }
980 if (obj8) {
981 {
982 arg9 = wxString_in_helper(obj8);
983 if (arg9 == NULL) SWIG_fail;
984 temp9 = True;
985 }
986 }
987 {
988 PyThreadState* __tstate = wxPyBeginAllowThreads();
989 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
990
991 wxPyEndAllowThreads(__tstate);
992 if (PyErr_Occurred()) SWIG_fail;
993 }
994 resultobj = PyInt_FromLong((long)result);
995 {
996 if (temp4)
997 delete arg4;
998 }
999 {
1000 if (temp9)
1001 delete arg9;
1002 }
1003 return resultobj;
1004 fail:
1005 {
1006 if (temp4)
1007 delete arg4;
1008 }
1009 {
1010 if (temp9)
1011 delete arg9;
1012 }
1013 return NULL;
1014 }
1015
1016
1017 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1018 PyObject *resultobj;
1019 wxButton *arg1 = (wxButton *) 0 ;
1020 PyObject * obj0 = 0 ;
1021 char *kwnames[] = {
1022 (char *) "self", NULL
1023 };
1024
1025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1027 {
1028 PyThreadState* __tstate = wxPyBeginAllowThreads();
1029 (arg1)->SetDefault();
1030
1031 wxPyEndAllowThreads(__tstate);
1032 if (PyErr_Occurred()) SWIG_fail;
1033 }
1034 Py_INCREF(Py_None); resultobj = Py_None;
1035 return resultobj;
1036 fail:
1037 return NULL;
1038 }
1039
1040
1041 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1042 PyObject *resultobj;
1043 wxSize result;
1044 char *kwnames[] = {
1045 NULL
1046 };
1047
1048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1049 {
1050 PyThreadState* __tstate = wxPyBeginAllowThreads();
1051 result = wxButton::GetDefaultSize();
1052
1053 wxPyEndAllowThreads(__tstate);
1054 if (PyErr_Occurred()) SWIG_fail;
1055 }
1056 {
1057 wxSize * resultptr;
1058 resultptr = new wxSize((wxSize &) result);
1059 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1060 }
1061 return resultobj;
1062 fail:
1063 return NULL;
1064 }
1065
1066
1067 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1068 PyObject *obj;
1069 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1070 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1071 Py_INCREF(obj);
1072 return Py_BuildValue((char *)"");
1073 }
1074 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1075 PyObject *resultobj;
1076 wxWindow *arg1 = (wxWindow *) 0 ;
1077 int arg2 ;
1078 wxBitmap *arg3 = 0 ;
1079 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1080 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1081 wxSize const &arg5_defvalue = wxDefaultSize ;
1082 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1083 long arg6 = (long) wxBU_AUTODRAW ;
1084 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1085 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1086 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1087 wxString *arg8 = (wxString *) &arg8_defvalue ;
1088 wxBitmapButton *result;
1089 wxPoint temp4 ;
1090 wxSize temp5 ;
1091 bool temp8 = False ;
1092 PyObject * obj0 = 0 ;
1093 PyObject * obj2 = 0 ;
1094 PyObject * obj3 = 0 ;
1095 PyObject * obj4 = 0 ;
1096 PyObject * obj6 = 0 ;
1097 PyObject * obj7 = 0 ;
1098 char *kwnames[] = {
1099 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1100 };
1101
1102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1104 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1105 if (arg3 == NULL) {
1106 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1107 }
1108 if (obj3) {
1109 {
1110 arg4 = &temp4;
1111 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1112 }
1113 }
1114 if (obj4) {
1115 {
1116 arg5 = &temp5;
1117 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1118 }
1119 }
1120 if (obj6) {
1121 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1122 if (arg7 == NULL) {
1123 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1124 }
1125 }
1126 if (obj7) {
1127 {
1128 arg8 = wxString_in_helper(obj7);
1129 if (arg8 == NULL) SWIG_fail;
1130 temp8 = True;
1131 }
1132 }
1133 {
1134 PyThreadState* __tstate = wxPyBeginAllowThreads();
1135 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1136
1137 wxPyEndAllowThreads(__tstate);
1138 if (PyErr_Occurred()) SWIG_fail;
1139 }
1140 {
1141 resultobj = wxPyMake_wxObject(result);
1142 }
1143 {
1144 if (temp8)
1145 delete arg8;
1146 }
1147 return resultobj;
1148 fail:
1149 {
1150 if (temp8)
1151 delete arg8;
1152 }
1153 return NULL;
1154 }
1155
1156
1157 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1158 PyObject *resultobj;
1159 wxBitmapButton *result;
1160 char *kwnames[] = {
1161 NULL
1162 };
1163
1164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1165 {
1166 PyThreadState* __tstate = wxPyBeginAllowThreads();
1167 result = (wxBitmapButton *)new wxBitmapButton();
1168
1169 wxPyEndAllowThreads(__tstate);
1170 if (PyErr_Occurred()) SWIG_fail;
1171 }
1172 {
1173 resultobj = wxPyMake_wxObject(result);
1174 }
1175 return resultobj;
1176 fail:
1177 return NULL;
1178 }
1179
1180
1181 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1182 PyObject *resultobj;
1183 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1184 wxWindow *arg2 = (wxWindow *) 0 ;
1185 int arg3 ;
1186 wxBitmap *arg4 = 0 ;
1187 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1188 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1189 wxSize const &arg6_defvalue = wxDefaultSize ;
1190 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1191 long arg7 = (long) wxBU_AUTODRAW ;
1192 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1193 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1194 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1195 wxString *arg9 = (wxString *) &arg9_defvalue ;
1196 bool result;
1197 wxPoint temp5 ;
1198 wxSize temp6 ;
1199 bool temp9 = False ;
1200 PyObject * obj0 = 0 ;
1201 PyObject * obj1 = 0 ;
1202 PyObject * obj3 = 0 ;
1203 PyObject * obj4 = 0 ;
1204 PyObject * obj5 = 0 ;
1205 PyObject * obj7 = 0 ;
1206 PyObject * obj8 = 0 ;
1207 char *kwnames[] = {
1208 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1209 };
1210
1211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1213 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1214 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1215 if (arg4 == NULL) {
1216 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1217 }
1218 if (obj4) {
1219 {
1220 arg5 = &temp5;
1221 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1222 }
1223 }
1224 if (obj5) {
1225 {
1226 arg6 = &temp6;
1227 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1228 }
1229 }
1230 if (obj7) {
1231 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1232 if (arg8 == NULL) {
1233 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1234 }
1235 }
1236 if (obj8) {
1237 {
1238 arg9 = wxString_in_helper(obj8);
1239 if (arg9 == NULL) SWIG_fail;
1240 temp9 = True;
1241 }
1242 }
1243 {
1244 PyThreadState* __tstate = wxPyBeginAllowThreads();
1245 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1246
1247 wxPyEndAllowThreads(__tstate);
1248 if (PyErr_Occurred()) SWIG_fail;
1249 }
1250 resultobj = PyInt_FromLong((long)result);
1251 {
1252 if (temp9)
1253 delete arg9;
1254 }
1255 return resultobj;
1256 fail:
1257 {
1258 if (temp9)
1259 delete arg9;
1260 }
1261 return NULL;
1262 }
1263
1264
1265 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1266 PyObject *resultobj;
1267 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1268 wxBitmap result;
1269 PyObject * obj0 = 0 ;
1270 char *kwnames[] = {
1271 (char *) "self", NULL
1272 };
1273
1274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1276 {
1277 PyThreadState* __tstate = wxPyBeginAllowThreads();
1278 result = (arg1)->GetBitmapLabel();
1279
1280 wxPyEndAllowThreads(__tstate);
1281 if (PyErr_Occurred()) SWIG_fail;
1282 }
1283 {
1284 wxBitmap * resultptr;
1285 resultptr = new wxBitmap((wxBitmap &) result);
1286 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1287 }
1288 return resultobj;
1289 fail:
1290 return NULL;
1291 }
1292
1293
1294 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1295 PyObject *resultobj;
1296 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1297 wxBitmap result;
1298 PyObject * obj0 = 0 ;
1299 char *kwnames[] = {
1300 (char *) "self", NULL
1301 };
1302
1303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1305 {
1306 PyThreadState* __tstate = wxPyBeginAllowThreads();
1307 result = (arg1)->GetBitmapDisabled();
1308
1309 wxPyEndAllowThreads(__tstate);
1310 if (PyErr_Occurred()) SWIG_fail;
1311 }
1312 {
1313 wxBitmap * resultptr;
1314 resultptr = new wxBitmap((wxBitmap &) result);
1315 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1316 }
1317 return resultobj;
1318 fail:
1319 return NULL;
1320 }
1321
1322
1323 static PyObject *_wrap_BitmapButton_GetBitmapFocus(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_GetBitmapFocus",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)->GetBitmapFocus();
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_GetBitmapSelected(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_GetBitmapSelected",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)->GetBitmapSelected();
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_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1382 PyObject *resultobj;
1383 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1384 wxBitmap *arg2 = 0 ;
1385 PyObject * obj0 = 0 ;
1386 PyObject * obj1 = 0 ;
1387 char *kwnames[] = {
1388 (char *) "self",(char *) "bitmap", NULL
1389 };
1390
1391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1394 if (arg2 == NULL) {
1395 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1396 }
1397 {
1398 PyThreadState* __tstate = wxPyBeginAllowThreads();
1399 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1400
1401 wxPyEndAllowThreads(__tstate);
1402 if (PyErr_Occurred()) SWIG_fail;
1403 }
1404 Py_INCREF(Py_None); resultobj = Py_None;
1405 return resultobj;
1406 fail:
1407 return NULL;
1408 }
1409
1410
1411 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1412 PyObject *resultobj;
1413 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1414 wxBitmap *arg2 = 0 ;
1415 PyObject * obj0 = 0 ;
1416 PyObject * obj1 = 0 ;
1417 char *kwnames[] = {
1418 (char *) "self",(char *) "bitmap", NULL
1419 };
1420
1421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1424 if (arg2 == NULL) {
1425 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1426 }
1427 {
1428 PyThreadState* __tstate = wxPyBeginAllowThreads();
1429 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1430
1431 wxPyEndAllowThreads(__tstate);
1432 if (PyErr_Occurred()) SWIG_fail;
1433 }
1434 Py_INCREF(Py_None); resultobj = Py_None;
1435 return resultobj;
1436 fail:
1437 return NULL;
1438 }
1439
1440
1441 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1442 PyObject *resultobj;
1443 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1444 wxBitmap *arg2 = 0 ;
1445 PyObject * obj0 = 0 ;
1446 PyObject * obj1 = 0 ;
1447 char *kwnames[] = {
1448 (char *) "self",(char *) "bitmap", NULL
1449 };
1450
1451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1453 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1454 if (arg2 == NULL) {
1455 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1456 }
1457 {
1458 PyThreadState* __tstate = wxPyBeginAllowThreads();
1459 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1460
1461 wxPyEndAllowThreads(__tstate);
1462 if (PyErr_Occurred()) SWIG_fail;
1463 }
1464 Py_INCREF(Py_None); resultobj = Py_None;
1465 return resultobj;
1466 fail:
1467 return NULL;
1468 }
1469
1470
1471 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1472 PyObject *resultobj;
1473 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1474 wxBitmap *arg2 = 0 ;
1475 PyObject * obj0 = 0 ;
1476 PyObject * obj1 = 0 ;
1477 char *kwnames[] = {
1478 (char *) "self",(char *) "bitmap", NULL
1479 };
1480
1481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1483 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1484 if (arg2 == NULL) {
1485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1486 }
1487 {
1488 PyThreadState* __tstate = wxPyBeginAllowThreads();
1489 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1490
1491 wxPyEndAllowThreads(__tstate);
1492 if (PyErr_Occurred()) SWIG_fail;
1493 }
1494 Py_INCREF(Py_None); resultobj = Py_None;
1495 return resultobj;
1496 fail:
1497 return NULL;
1498 }
1499
1500
1501 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1502 PyObject *resultobj;
1503 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1504 int arg2 ;
1505 int arg3 ;
1506 PyObject * obj0 = 0 ;
1507 char *kwnames[] = {
1508 (char *) "self",(char *) "x",(char *) "y", NULL
1509 };
1510
1511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1513 {
1514 PyThreadState* __tstate = wxPyBeginAllowThreads();
1515 (arg1)->SetMargins(arg2,arg3);
1516
1517 wxPyEndAllowThreads(__tstate);
1518 if (PyErr_Occurred()) SWIG_fail;
1519 }
1520 Py_INCREF(Py_None); resultobj = Py_None;
1521 return resultobj;
1522 fail:
1523 return NULL;
1524 }
1525
1526
1527 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1528 PyObject *resultobj;
1529 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1530 int result;
1531 PyObject * obj0 = 0 ;
1532 char *kwnames[] = {
1533 (char *) "self", NULL
1534 };
1535
1536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1538 {
1539 PyThreadState* __tstate = wxPyBeginAllowThreads();
1540 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1541
1542 wxPyEndAllowThreads(__tstate);
1543 if (PyErr_Occurred()) SWIG_fail;
1544 }
1545 resultobj = PyInt_FromLong((long)result);
1546 return resultobj;
1547 fail:
1548 return NULL;
1549 }
1550
1551
1552 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1553 PyObject *resultobj;
1554 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1555 int result;
1556 PyObject * obj0 = 0 ;
1557 char *kwnames[] = {
1558 (char *) "self", NULL
1559 };
1560
1561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1563 {
1564 PyThreadState* __tstate = wxPyBeginAllowThreads();
1565 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1566
1567 wxPyEndAllowThreads(__tstate);
1568 if (PyErr_Occurred()) SWIG_fail;
1569 }
1570 resultobj = PyInt_FromLong((long)result);
1571 return resultobj;
1572 fail:
1573 return NULL;
1574 }
1575
1576
1577 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1578 PyObject *obj;
1579 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1580 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1581 Py_INCREF(obj);
1582 return Py_BuildValue((char *)"");
1583 }
1584 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1585 PyObject *resultobj;
1586 wxWindow *arg1 = (wxWindow *) 0 ;
1587 int arg2 ;
1588 wxString *arg3 = 0 ;
1589 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1590 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1591 wxSize const &arg5_defvalue = wxDefaultSize ;
1592 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1593 long arg6 = (long) 0 ;
1594 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1595 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1596 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1597 wxString *arg8 = (wxString *) &arg8_defvalue ;
1598 wxCheckBox *result;
1599 bool temp3 = False ;
1600 wxPoint temp4 ;
1601 wxSize temp5 ;
1602 bool temp8 = False ;
1603 PyObject * obj0 = 0 ;
1604 PyObject * obj2 = 0 ;
1605 PyObject * obj3 = 0 ;
1606 PyObject * obj4 = 0 ;
1607 PyObject * obj6 = 0 ;
1608 PyObject * obj7 = 0 ;
1609 char *kwnames[] = {
1610 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1611 };
1612
1613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1615 {
1616 arg3 = wxString_in_helper(obj2);
1617 if (arg3 == NULL) SWIG_fail;
1618 temp3 = True;
1619 }
1620 if (obj3) {
1621 {
1622 arg4 = &temp4;
1623 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1624 }
1625 }
1626 if (obj4) {
1627 {
1628 arg5 = &temp5;
1629 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1630 }
1631 }
1632 if (obj6) {
1633 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1634 if (arg7 == NULL) {
1635 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1636 }
1637 }
1638 if (obj7) {
1639 {
1640 arg8 = wxString_in_helper(obj7);
1641 if (arg8 == NULL) SWIG_fail;
1642 temp8 = True;
1643 }
1644 }
1645 {
1646 PyThreadState* __tstate = wxPyBeginAllowThreads();
1647 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1648
1649 wxPyEndAllowThreads(__tstate);
1650 if (PyErr_Occurred()) SWIG_fail;
1651 }
1652 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1653 {
1654 if (temp3)
1655 delete arg3;
1656 }
1657 {
1658 if (temp8)
1659 delete arg8;
1660 }
1661 return resultobj;
1662 fail:
1663 {
1664 if (temp3)
1665 delete arg3;
1666 }
1667 {
1668 if (temp8)
1669 delete arg8;
1670 }
1671 return NULL;
1672 }
1673
1674
1675 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1676 PyObject *resultobj;
1677 wxCheckBox *result;
1678 char *kwnames[] = {
1679 NULL
1680 };
1681
1682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1683 {
1684 PyThreadState* __tstate = wxPyBeginAllowThreads();
1685 result = (wxCheckBox *)new wxCheckBox();
1686
1687 wxPyEndAllowThreads(__tstate);
1688 if (PyErr_Occurred()) SWIG_fail;
1689 }
1690 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1691 return resultobj;
1692 fail:
1693 return NULL;
1694 }
1695
1696
1697 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1698 PyObject *resultobj;
1699 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1700 wxWindow *arg2 = (wxWindow *) 0 ;
1701 int arg3 ;
1702 wxString *arg4 = 0 ;
1703 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1704 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1705 wxSize const &arg6_defvalue = wxDefaultSize ;
1706 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1707 long arg7 = (long) 0 ;
1708 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1709 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1710 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1711 wxString *arg9 = (wxString *) &arg9_defvalue ;
1712 bool result;
1713 bool temp4 = False ;
1714 wxPoint temp5 ;
1715 wxSize temp6 ;
1716 bool temp9 = False ;
1717 PyObject * obj0 = 0 ;
1718 PyObject * obj1 = 0 ;
1719 PyObject * obj3 = 0 ;
1720 PyObject * obj4 = 0 ;
1721 PyObject * obj5 = 0 ;
1722 PyObject * obj7 = 0 ;
1723 PyObject * obj8 = 0 ;
1724 char *kwnames[] = {
1725 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1726 };
1727
1728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1730 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1731 {
1732 arg4 = wxString_in_helper(obj3);
1733 if (arg4 == NULL) SWIG_fail;
1734 temp4 = True;
1735 }
1736 if (obj4) {
1737 {
1738 arg5 = &temp5;
1739 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1740 }
1741 }
1742 if (obj5) {
1743 {
1744 arg6 = &temp6;
1745 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1746 }
1747 }
1748 if (obj7) {
1749 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1750 if (arg8 == NULL) {
1751 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1752 }
1753 }
1754 if (obj8) {
1755 {
1756 arg9 = wxString_in_helper(obj8);
1757 if (arg9 == NULL) SWIG_fail;
1758 temp9 = True;
1759 }
1760 }
1761 {
1762 PyThreadState* __tstate = wxPyBeginAllowThreads();
1763 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1764
1765 wxPyEndAllowThreads(__tstate);
1766 if (PyErr_Occurred()) SWIG_fail;
1767 }
1768 resultobj = PyInt_FromLong((long)result);
1769 {
1770 if (temp4)
1771 delete arg4;
1772 }
1773 {
1774 if (temp9)
1775 delete arg9;
1776 }
1777 return resultobj;
1778 fail:
1779 {
1780 if (temp4)
1781 delete arg4;
1782 }
1783 {
1784 if (temp9)
1785 delete arg9;
1786 }
1787 return NULL;
1788 }
1789
1790
1791 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1792 PyObject *resultobj;
1793 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1794 bool result;
1795 PyObject * obj0 = 0 ;
1796 char *kwnames[] = {
1797 (char *) "self", NULL
1798 };
1799
1800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1802 {
1803 PyThreadState* __tstate = wxPyBeginAllowThreads();
1804 result = (bool)(arg1)->GetValue();
1805
1806 wxPyEndAllowThreads(__tstate);
1807 if (PyErr_Occurred()) SWIG_fail;
1808 }
1809 resultobj = PyInt_FromLong((long)result);
1810 return resultobj;
1811 fail:
1812 return NULL;
1813 }
1814
1815
1816 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1817 PyObject *resultobj;
1818 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1819 bool result;
1820 PyObject * obj0 = 0 ;
1821 char *kwnames[] = {
1822 (char *) "self", NULL
1823 };
1824
1825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1827 {
1828 PyThreadState* __tstate = wxPyBeginAllowThreads();
1829 result = (bool)(arg1)->IsChecked();
1830
1831 wxPyEndAllowThreads(__tstate);
1832 if (PyErr_Occurred()) SWIG_fail;
1833 }
1834 resultobj = PyInt_FromLong((long)result);
1835 return resultobj;
1836 fail:
1837 return NULL;
1838 }
1839
1840
1841 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1842 PyObject *resultobj;
1843 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1844 bool arg2 ;
1845 PyObject * obj0 = 0 ;
1846 PyObject * obj1 = 0 ;
1847 char *kwnames[] = {
1848 (char *) "self",(char *) "state", NULL
1849 };
1850
1851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1853 arg2 = PyInt_AsLong(obj1) ? true : false;
1854 if (PyErr_Occurred()) SWIG_fail;
1855 {
1856 PyThreadState* __tstate = wxPyBeginAllowThreads();
1857 (arg1)->SetValue(arg2);
1858
1859 wxPyEndAllowThreads(__tstate);
1860 if (PyErr_Occurred()) SWIG_fail;
1861 }
1862 Py_INCREF(Py_None); resultobj = Py_None;
1863 return resultobj;
1864 fail:
1865 return NULL;
1866 }
1867
1868
1869 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1870 PyObject *resultobj;
1871 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1872 int result;
1873 PyObject * obj0 = 0 ;
1874 char *kwnames[] = {
1875 (char *) "self", NULL
1876 };
1877
1878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1880 {
1881 PyThreadState* __tstate = wxPyBeginAllowThreads();
1882 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1883
1884 wxPyEndAllowThreads(__tstate);
1885 if (PyErr_Occurred()) SWIG_fail;
1886 }
1887 resultobj = PyInt_FromLong((long)result);
1888 return resultobj;
1889 fail:
1890 return NULL;
1891 }
1892
1893
1894 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1895 PyObject *resultobj;
1896 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1897 int arg2 ;
1898 PyObject * obj0 = 0 ;
1899 char *kwnames[] = {
1900 (char *) "self",(char *) "state", NULL
1901 };
1902
1903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1905 {
1906 PyThreadState* __tstate = wxPyBeginAllowThreads();
1907 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1908
1909 wxPyEndAllowThreads(__tstate);
1910 if (PyErr_Occurred()) SWIG_fail;
1911 }
1912 Py_INCREF(Py_None); resultobj = Py_None;
1913 return resultobj;
1914 fail:
1915 return NULL;
1916 }
1917
1918
1919 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1920 PyObject *resultobj;
1921 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1922 bool result;
1923 PyObject * obj0 = 0 ;
1924 char *kwnames[] = {
1925 (char *) "self", NULL
1926 };
1927
1928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1930 {
1931 PyThreadState* __tstate = wxPyBeginAllowThreads();
1932 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1933
1934 wxPyEndAllowThreads(__tstate);
1935 if (PyErr_Occurred()) SWIG_fail;
1936 }
1937 resultobj = PyInt_FromLong((long)result);
1938 return resultobj;
1939 fail:
1940 return NULL;
1941 }
1942
1943
1944 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1945 PyObject *resultobj;
1946 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1947 bool result;
1948 PyObject * obj0 = 0 ;
1949 char *kwnames[] = {
1950 (char *) "self", NULL
1951 };
1952
1953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
1954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1955 {
1956 PyThreadState* __tstate = wxPyBeginAllowThreads();
1957 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
1958
1959 wxPyEndAllowThreads(__tstate);
1960 if (PyErr_Occurred()) SWIG_fail;
1961 }
1962 resultobj = PyInt_FromLong((long)result);
1963 return resultobj;
1964 fail:
1965 return NULL;
1966 }
1967
1968
1969 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
1970 PyObject *obj;
1971 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1972 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
1973 Py_INCREF(obj);
1974 return Py_BuildValue((char *)"");
1975 }
1976 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
1977 PyObject *resultobj;
1978 wxWindow *arg1 = (wxWindow *) 0 ;
1979 int arg2 ;
1980 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1981 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1982 wxSize const &arg4_defvalue = wxDefaultSize ;
1983 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1984 int arg5 = (int) 0 ;
1985 wxString *arg6 = (wxString *) NULL ;
1986 long arg7 = (long) 0 ;
1987 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1988 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1989 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
1990 wxString *arg9 = (wxString *) &arg9_defvalue ;
1991 wxChoice *result;
1992 wxPoint temp3 ;
1993 wxSize temp4 ;
1994 bool temp8 = False ;
1995 PyObject * obj0 = 0 ;
1996 PyObject * obj2 = 0 ;
1997 PyObject * obj3 = 0 ;
1998 PyObject * obj4 = 0 ;
1999 PyObject * obj6 = 0 ;
2000 PyObject * obj7 = 0 ;
2001 char *kwnames[] = {
2002 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2003 };
2004
2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2007 if (obj2) {
2008 {
2009 arg3 = &temp3;
2010 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2011 }
2012 }
2013 if (obj3) {
2014 {
2015 arg4 = &temp4;
2016 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2017 }
2018 }
2019 if (obj4) {
2020 {
2021 arg5 = PyList_Size(obj4);
2022 arg6 = wxString_LIST_helper(obj4);
2023 if (arg6 == NULL) SWIG_fail;
2024 }
2025 }
2026 if (obj6) {
2027 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2028 if (arg8 == NULL) {
2029 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2030 }
2031 }
2032 if (obj7) {
2033 {
2034 arg9 = wxString_in_helper(obj7);
2035 if (arg9 == NULL) SWIG_fail;
2036 temp8 = True;
2037 }
2038 }
2039 {
2040 PyThreadState* __tstate = wxPyBeginAllowThreads();
2041 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2042
2043 wxPyEndAllowThreads(__tstate);
2044 if (PyErr_Occurred()) SWIG_fail;
2045 }
2046 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2047 {
2048 if (arg6) delete [] arg6;
2049 }
2050 {
2051 if (temp8)
2052 delete arg9;
2053 }
2054 return resultobj;
2055 fail:
2056 {
2057 if (arg6) delete [] arg6;
2058 }
2059 {
2060 if (temp8)
2061 delete arg9;
2062 }
2063 return NULL;
2064 }
2065
2066
2067 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2068 PyObject *resultobj;
2069 wxChoice *result;
2070 char *kwnames[] = {
2071 NULL
2072 };
2073
2074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2075 {
2076 PyThreadState* __tstate = wxPyBeginAllowThreads();
2077 result = (wxChoice *)new wxChoice();
2078
2079 wxPyEndAllowThreads(__tstate);
2080 if (PyErr_Occurred()) SWIG_fail;
2081 }
2082 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2083 return resultobj;
2084 fail:
2085 return NULL;
2086 }
2087
2088
2089 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2090 PyObject *resultobj;
2091 wxChoice *arg1 = (wxChoice *) 0 ;
2092 wxWindow *arg2 = (wxWindow *) 0 ;
2093 int arg3 ;
2094 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2095 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2096 wxSize const &arg5_defvalue = wxDefaultSize ;
2097 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2098 int arg6 = (int) 0 ;
2099 wxString *arg7 = (wxString *) NULL ;
2100 long arg8 = (long) 0 ;
2101 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2102 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2103 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2104 wxString *arg10 = (wxString *) &arg10_defvalue ;
2105 bool result;
2106 wxPoint temp4 ;
2107 wxSize temp5 ;
2108 bool temp9 = False ;
2109 PyObject * obj0 = 0 ;
2110 PyObject * obj1 = 0 ;
2111 PyObject * obj3 = 0 ;
2112 PyObject * obj4 = 0 ;
2113 PyObject * obj5 = 0 ;
2114 PyObject * obj7 = 0 ;
2115 PyObject * obj8 = 0 ;
2116 char *kwnames[] = {
2117 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2118 };
2119
2120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2122 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2123 if (obj3) {
2124 {
2125 arg4 = &temp4;
2126 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2127 }
2128 }
2129 if (obj4) {
2130 {
2131 arg5 = &temp5;
2132 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2133 }
2134 }
2135 if (obj5) {
2136 {
2137 arg6 = PyList_Size(obj5);
2138 arg7 = wxString_LIST_helper(obj5);
2139 if (arg7 == NULL) SWIG_fail;
2140 }
2141 }
2142 if (obj7) {
2143 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2144 if (arg9 == NULL) {
2145 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2146 }
2147 }
2148 if (obj8) {
2149 {
2150 arg10 = wxString_in_helper(obj8);
2151 if (arg10 == NULL) SWIG_fail;
2152 temp9 = True;
2153 }
2154 }
2155 {
2156 PyThreadState* __tstate = wxPyBeginAllowThreads();
2157 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2158
2159 wxPyEndAllowThreads(__tstate);
2160 if (PyErr_Occurred()) SWIG_fail;
2161 }
2162 resultobj = PyInt_FromLong((long)result);
2163 {
2164 if (arg7) delete [] arg7;
2165 }
2166 {
2167 if (temp9)
2168 delete arg10;
2169 }
2170 return resultobj;
2171 fail:
2172 {
2173 if (arg7) delete [] arg7;
2174 }
2175 {
2176 if (temp9)
2177 delete arg10;
2178 }
2179 return NULL;
2180 }
2181
2182
2183 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2184 PyObject *resultobj;
2185 wxChoice *arg1 = (wxChoice *) 0 ;
2186 int result;
2187 PyObject * obj0 = 0 ;
2188 char *kwnames[] = {
2189 (char *) "self", NULL
2190 };
2191
2192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2194 {
2195 PyThreadState* __tstate = wxPyBeginAllowThreads();
2196 result = (int)(arg1)->GetColumns();
2197
2198 wxPyEndAllowThreads(__tstate);
2199 if (PyErr_Occurred()) SWIG_fail;
2200 }
2201 resultobj = PyInt_FromLong((long)result);
2202 return resultobj;
2203 fail:
2204 return NULL;
2205 }
2206
2207
2208 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2209 PyObject *resultobj;
2210 wxChoice *arg1 = (wxChoice *) 0 ;
2211 int arg2 = (int) (int)1 ;
2212 PyObject * obj0 = 0 ;
2213 char *kwnames[] = {
2214 (char *) "self",(char *) "n", NULL
2215 };
2216
2217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2219 {
2220 PyThreadState* __tstate = wxPyBeginAllowThreads();
2221 (arg1)->SetColumns(arg2);
2222
2223 wxPyEndAllowThreads(__tstate);
2224 if (PyErr_Occurred()) SWIG_fail;
2225 }
2226 Py_INCREF(Py_None); resultobj = Py_None;
2227 return resultobj;
2228 fail:
2229 return NULL;
2230 }
2231
2232
2233 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2234 PyObject *resultobj;
2235 wxChoice *arg1 = (wxChoice *) 0 ;
2236 int arg2 ;
2237 PyObject * obj0 = 0 ;
2238 char *kwnames[] = {
2239 (char *) "self",(char *) "n", NULL
2240 };
2241
2242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2244 {
2245 PyThreadState* __tstate = wxPyBeginAllowThreads();
2246 (arg1)->SetSelection(arg2);
2247
2248 wxPyEndAllowThreads(__tstate);
2249 if (PyErr_Occurred()) SWIG_fail;
2250 }
2251 Py_INCREF(Py_None); resultobj = Py_None;
2252 return resultobj;
2253 fail:
2254 return NULL;
2255 }
2256
2257
2258 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2259 PyObject *resultobj;
2260 wxChoice *arg1 = (wxChoice *) 0 ;
2261 wxString *arg2 = 0 ;
2262 bool temp2 = False ;
2263 PyObject * obj0 = 0 ;
2264 PyObject * obj1 = 0 ;
2265 char *kwnames[] = {
2266 (char *) "self",(char *) "string", NULL
2267 };
2268
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2271 {
2272 arg2 = wxString_in_helper(obj1);
2273 if (arg2 == NULL) SWIG_fail;
2274 temp2 = True;
2275 }
2276 {
2277 PyThreadState* __tstate = wxPyBeginAllowThreads();
2278 (arg1)->SetStringSelection((wxString const &)*arg2);
2279
2280 wxPyEndAllowThreads(__tstate);
2281 if (PyErr_Occurred()) SWIG_fail;
2282 }
2283 Py_INCREF(Py_None); resultobj = Py_None;
2284 {
2285 if (temp2)
2286 delete arg2;
2287 }
2288 return resultobj;
2289 fail:
2290 {
2291 if (temp2)
2292 delete arg2;
2293 }
2294 return NULL;
2295 }
2296
2297
2298 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2299 PyObject *resultobj;
2300 wxChoice *arg1 = (wxChoice *) 0 ;
2301 int arg2 ;
2302 wxString *arg3 = 0 ;
2303 bool temp3 = False ;
2304 PyObject * obj0 = 0 ;
2305 PyObject * obj2 = 0 ;
2306 char *kwnames[] = {
2307 (char *) "self",(char *) "n",(char *) "s", NULL
2308 };
2309
2310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2312 {
2313 arg3 = wxString_in_helper(obj2);
2314 if (arg3 == NULL) SWIG_fail;
2315 temp3 = True;
2316 }
2317 {
2318 PyThreadState* __tstate = wxPyBeginAllowThreads();
2319 (arg1)->SetString(arg2,(wxString const &)*arg3);
2320
2321 wxPyEndAllowThreads(__tstate);
2322 if (PyErr_Occurred()) SWIG_fail;
2323 }
2324 Py_INCREF(Py_None); resultobj = Py_None;
2325 {
2326 if (temp3)
2327 delete arg3;
2328 }
2329 return resultobj;
2330 fail:
2331 {
2332 if (temp3)
2333 delete arg3;
2334 }
2335 return NULL;
2336 }
2337
2338
2339 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2340 PyObject *obj;
2341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2342 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2343 Py_INCREF(obj);
2344 return Py_BuildValue((char *)"");
2345 }
2346 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2347 PyObject *resultobj;
2348 wxWindow *arg1 = (wxWindow *) 0 ;
2349 int arg2 ;
2350 wxString const &arg3_defvalue = wxPyEmptyString ;
2351 wxString *arg3 = (wxString *) &arg3_defvalue ;
2352 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2353 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2354 wxSize const &arg5_defvalue = wxDefaultSize ;
2355 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2356 int arg6 = (int) 0 ;
2357 wxString *arg7 = (wxString *) NULL ;
2358 long arg8 = (long) 0 ;
2359 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2360 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2361 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2362 wxString *arg10 = (wxString *) &arg10_defvalue ;
2363 wxComboBox *result;
2364 bool temp3 = False ;
2365 wxPoint temp4 ;
2366 wxSize temp5 ;
2367 bool temp9 = False ;
2368 PyObject * obj0 = 0 ;
2369 PyObject * obj2 = 0 ;
2370 PyObject * obj3 = 0 ;
2371 PyObject * obj4 = 0 ;
2372 PyObject * obj5 = 0 ;
2373 PyObject * obj7 = 0 ;
2374 PyObject * obj8 = 0 ;
2375 char *kwnames[] = {
2376 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2377 };
2378
2379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2381 if (obj2) {
2382 {
2383 arg3 = wxString_in_helper(obj2);
2384 if (arg3 == NULL) SWIG_fail;
2385 temp3 = True;
2386 }
2387 }
2388 if (obj3) {
2389 {
2390 arg4 = &temp4;
2391 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2392 }
2393 }
2394 if (obj4) {
2395 {
2396 arg5 = &temp5;
2397 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2398 }
2399 }
2400 if (obj5) {
2401 {
2402 arg6 = PyList_Size(obj5);
2403 arg7 = wxString_LIST_helper(obj5);
2404 if (arg7 == NULL) SWIG_fail;
2405 }
2406 }
2407 if (obj7) {
2408 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2409 if (arg9 == NULL) {
2410 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2411 }
2412 }
2413 if (obj8) {
2414 {
2415 arg10 = wxString_in_helper(obj8);
2416 if (arg10 == NULL) SWIG_fail;
2417 temp9 = True;
2418 }
2419 }
2420 {
2421 PyThreadState* __tstate = wxPyBeginAllowThreads();
2422 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2423
2424 wxPyEndAllowThreads(__tstate);
2425 if (PyErr_Occurred()) SWIG_fail;
2426 }
2427 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2428 {
2429 if (temp3)
2430 delete arg3;
2431 }
2432 {
2433 if (arg7) delete [] arg7;
2434 }
2435 {
2436 if (temp9)
2437 delete arg10;
2438 }
2439 return resultobj;
2440 fail:
2441 {
2442 if (temp3)
2443 delete arg3;
2444 }
2445 {
2446 if (arg7) delete [] arg7;
2447 }
2448 {
2449 if (temp9)
2450 delete arg10;
2451 }
2452 return NULL;
2453 }
2454
2455
2456 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2457 PyObject *resultobj;
2458 wxComboBox *result;
2459 char *kwnames[] = {
2460 NULL
2461 };
2462
2463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2464 {
2465 PyThreadState* __tstate = wxPyBeginAllowThreads();
2466 result = (wxComboBox *)new wxComboBox();
2467
2468 wxPyEndAllowThreads(__tstate);
2469 if (PyErr_Occurred()) SWIG_fail;
2470 }
2471 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2472 return resultobj;
2473 fail:
2474 return NULL;
2475 }
2476
2477
2478 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2479 PyObject *resultobj;
2480 wxComboBox *arg1 = (wxComboBox *) 0 ;
2481 wxWindow *arg2 = (wxWindow *) 0 ;
2482 int arg3 ;
2483 wxString const &arg4_defvalue = wxPyEmptyString ;
2484 wxString *arg4 = (wxString *) &arg4_defvalue ;
2485 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2486 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2487 wxSize const &arg6_defvalue = wxDefaultSize ;
2488 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2489 int arg7 = (int) 0 ;
2490 wxString *arg8 = (wxString *) NULL ;
2491 long arg9 = (long) 0 ;
2492 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2493 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2494 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2495 wxString *arg11 = (wxString *) &arg11_defvalue ;
2496 bool result;
2497 bool temp4 = False ;
2498 wxPoint temp5 ;
2499 wxSize temp6 ;
2500 bool temp10 = False ;
2501 PyObject * obj0 = 0 ;
2502 PyObject * obj1 = 0 ;
2503 PyObject * obj3 = 0 ;
2504 PyObject * obj4 = 0 ;
2505 PyObject * obj5 = 0 ;
2506 PyObject * obj6 = 0 ;
2507 PyObject * obj8 = 0 ;
2508 PyObject * obj9 = 0 ;
2509 char *kwnames[] = {
2510 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2511 };
2512
2513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2515 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2516 if (obj3) {
2517 {
2518 arg4 = wxString_in_helper(obj3);
2519 if (arg4 == NULL) SWIG_fail;
2520 temp4 = True;
2521 }
2522 }
2523 if (obj4) {
2524 {
2525 arg5 = &temp5;
2526 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2527 }
2528 }
2529 if (obj5) {
2530 {
2531 arg6 = &temp6;
2532 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2533 }
2534 }
2535 if (obj6) {
2536 {
2537 arg7 = PyList_Size(obj6);
2538 arg8 = wxString_LIST_helper(obj6);
2539 if (arg8 == NULL) SWIG_fail;
2540 }
2541 }
2542 if (obj8) {
2543 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2544 if (arg10 == NULL) {
2545 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2546 }
2547 }
2548 if (obj9) {
2549 {
2550 arg11 = wxString_in_helper(obj9);
2551 if (arg11 == NULL) SWIG_fail;
2552 temp10 = True;
2553 }
2554 }
2555 {
2556 PyThreadState* __tstate = wxPyBeginAllowThreads();
2557 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2558
2559 wxPyEndAllowThreads(__tstate);
2560 if (PyErr_Occurred()) SWIG_fail;
2561 }
2562 resultobj = PyInt_FromLong((long)result);
2563 {
2564 if (temp4)
2565 delete arg4;
2566 }
2567 {
2568 if (arg8) delete [] arg8;
2569 }
2570 {
2571 if (temp10)
2572 delete arg11;
2573 }
2574 return resultobj;
2575 fail:
2576 {
2577 if (temp4)
2578 delete arg4;
2579 }
2580 {
2581 if (arg8) delete [] arg8;
2582 }
2583 {
2584 if (temp10)
2585 delete arg11;
2586 }
2587 return NULL;
2588 }
2589
2590
2591 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2592 PyObject *resultobj;
2593 wxComboBox *arg1 = (wxComboBox *) 0 ;
2594 wxString result;
2595 PyObject * obj0 = 0 ;
2596 char *kwnames[] = {
2597 (char *) "self", NULL
2598 };
2599
2600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2602 {
2603 PyThreadState* __tstate = wxPyBeginAllowThreads();
2604 result = ((wxComboBox const *)arg1)->GetValue();
2605
2606 wxPyEndAllowThreads(__tstate);
2607 if (PyErr_Occurred()) SWIG_fail;
2608 }
2609 {
2610 #if wxUSE_UNICODE
2611 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2612 #else
2613 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2614 #endif
2615 }
2616 return resultobj;
2617 fail:
2618 return NULL;
2619 }
2620
2621
2622 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2623 PyObject *resultobj;
2624 wxComboBox *arg1 = (wxComboBox *) 0 ;
2625 wxString *arg2 = 0 ;
2626 bool temp2 = False ;
2627 PyObject * obj0 = 0 ;
2628 PyObject * obj1 = 0 ;
2629 char *kwnames[] = {
2630 (char *) "self",(char *) "value", NULL
2631 };
2632
2633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2635 {
2636 arg2 = wxString_in_helper(obj1);
2637 if (arg2 == NULL) SWIG_fail;
2638 temp2 = True;
2639 }
2640 {
2641 PyThreadState* __tstate = wxPyBeginAllowThreads();
2642 (arg1)->SetValue((wxString const &)*arg2);
2643
2644 wxPyEndAllowThreads(__tstate);
2645 if (PyErr_Occurred()) SWIG_fail;
2646 }
2647 Py_INCREF(Py_None); resultobj = Py_None;
2648 {
2649 if (temp2)
2650 delete arg2;
2651 }
2652 return resultobj;
2653 fail:
2654 {
2655 if (temp2)
2656 delete arg2;
2657 }
2658 return NULL;
2659 }
2660
2661
2662 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2663 PyObject *resultobj;
2664 wxComboBox *arg1 = (wxComboBox *) 0 ;
2665 PyObject * obj0 = 0 ;
2666 char *kwnames[] = {
2667 (char *) "self", NULL
2668 };
2669
2670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2672 {
2673 PyThreadState* __tstate = wxPyBeginAllowThreads();
2674 (arg1)->Copy();
2675
2676 wxPyEndAllowThreads(__tstate);
2677 if (PyErr_Occurred()) SWIG_fail;
2678 }
2679 Py_INCREF(Py_None); resultobj = Py_None;
2680 return resultobj;
2681 fail:
2682 return NULL;
2683 }
2684
2685
2686 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2687 PyObject *resultobj;
2688 wxComboBox *arg1 = (wxComboBox *) 0 ;
2689 PyObject * obj0 = 0 ;
2690 char *kwnames[] = {
2691 (char *) "self", NULL
2692 };
2693
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2696 {
2697 PyThreadState* __tstate = wxPyBeginAllowThreads();
2698 (arg1)->Cut();
2699
2700 wxPyEndAllowThreads(__tstate);
2701 if (PyErr_Occurred()) SWIG_fail;
2702 }
2703 Py_INCREF(Py_None); resultobj = Py_None;
2704 return resultobj;
2705 fail:
2706 return NULL;
2707 }
2708
2709
2710 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2711 PyObject *resultobj;
2712 wxComboBox *arg1 = (wxComboBox *) 0 ;
2713 PyObject * obj0 = 0 ;
2714 char *kwnames[] = {
2715 (char *) "self", NULL
2716 };
2717
2718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2720 {
2721 PyThreadState* __tstate = wxPyBeginAllowThreads();
2722 (arg1)->Paste();
2723
2724 wxPyEndAllowThreads(__tstate);
2725 if (PyErr_Occurred()) SWIG_fail;
2726 }
2727 Py_INCREF(Py_None); resultobj = Py_None;
2728 return resultobj;
2729 fail:
2730 return NULL;
2731 }
2732
2733
2734 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2735 PyObject *resultobj;
2736 wxComboBox *arg1 = (wxComboBox *) 0 ;
2737 long arg2 ;
2738 PyObject * obj0 = 0 ;
2739 char *kwnames[] = {
2740 (char *) "self",(char *) "pos", NULL
2741 };
2742
2743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2745 {
2746 PyThreadState* __tstate = wxPyBeginAllowThreads();
2747 (arg1)->SetInsertionPoint(arg2);
2748
2749 wxPyEndAllowThreads(__tstate);
2750 if (PyErr_Occurred()) SWIG_fail;
2751 }
2752 Py_INCREF(Py_None); resultobj = Py_None;
2753 return resultobj;
2754 fail:
2755 return NULL;
2756 }
2757
2758
2759 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2760 PyObject *resultobj;
2761 wxComboBox *arg1 = (wxComboBox *) 0 ;
2762 long result;
2763 PyObject * obj0 = 0 ;
2764 char *kwnames[] = {
2765 (char *) "self", NULL
2766 };
2767
2768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2770 {
2771 PyThreadState* __tstate = wxPyBeginAllowThreads();
2772 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2773
2774 wxPyEndAllowThreads(__tstate);
2775 if (PyErr_Occurred()) SWIG_fail;
2776 }
2777 resultobj = PyInt_FromLong((long)result);
2778 return resultobj;
2779 fail:
2780 return NULL;
2781 }
2782
2783
2784 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2785 PyObject *resultobj;
2786 wxComboBox *arg1 = (wxComboBox *) 0 ;
2787 long result;
2788 PyObject * obj0 = 0 ;
2789 char *kwnames[] = {
2790 (char *) "self", NULL
2791 };
2792
2793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2795 {
2796 PyThreadState* __tstate = wxPyBeginAllowThreads();
2797 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2798
2799 wxPyEndAllowThreads(__tstate);
2800 if (PyErr_Occurred()) SWIG_fail;
2801 }
2802 resultobj = PyInt_FromLong((long)result);
2803 return resultobj;
2804 fail:
2805 return NULL;
2806 }
2807
2808
2809 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2810 PyObject *resultobj;
2811 wxComboBox *arg1 = (wxComboBox *) 0 ;
2812 long arg2 ;
2813 long arg3 ;
2814 wxString *arg4 = 0 ;
2815 bool temp4 = False ;
2816 PyObject * obj0 = 0 ;
2817 PyObject * obj3 = 0 ;
2818 char *kwnames[] = {
2819 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2820 };
2821
2822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2824 {
2825 arg4 = wxString_in_helper(obj3);
2826 if (arg4 == NULL) SWIG_fail;
2827 temp4 = True;
2828 }
2829 {
2830 PyThreadState* __tstate = wxPyBeginAllowThreads();
2831 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2832
2833 wxPyEndAllowThreads(__tstate);
2834 if (PyErr_Occurred()) SWIG_fail;
2835 }
2836 Py_INCREF(Py_None); resultobj = Py_None;
2837 {
2838 if (temp4)
2839 delete arg4;
2840 }
2841 return resultobj;
2842 fail:
2843 {
2844 if (temp4)
2845 delete arg4;
2846 }
2847 return NULL;
2848 }
2849
2850
2851 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2852 PyObject *resultobj;
2853 wxComboBox *arg1 = (wxComboBox *) 0 ;
2854 int arg2 ;
2855 PyObject * obj0 = 0 ;
2856 char *kwnames[] = {
2857 (char *) "self",(char *) "n", NULL
2858 };
2859
2860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2862 {
2863 PyThreadState* __tstate = wxPyBeginAllowThreads();
2864 (arg1)->SetSelection(arg2);
2865
2866 wxPyEndAllowThreads(__tstate);
2867 if (PyErr_Occurred()) SWIG_fail;
2868 }
2869 Py_INCREF(Py_None); resultobj = Py_None;
2870 return resultobj;
2871 fail:
2872 return NULL;
2873 }
2874
2875
2876 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2877 PyObject *resultobj;
2878 wxComboBox *arg1 = (wxComboBox *) 0 ;
2879 long arg2 ;
2880 long arg3 ;
2881 PyObject * obj0 = 0 ;
2882 char *kwnames[] = {
2883 (char *) "self",(char *) "from",(char *) "to", NULL
2884 };
2885
2886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) goto fail;
2887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2888 {
2889 PyThreadState* __tstate = wxPyBeginAllowThreads();
2890 (arg1)->SetSelection(arg2,arg3);
2891
2892 wxPyEndAllowThreads(__tstate);
2893 if (PyErr_Occurred()) SWIG_fail;
2894 }
2895 Py_INCREF(Py_None); resultobj = Py_None;
2896 return resultobj;
2897 fail:
2898 return NULL;
2899 }
2900
2901
2902 static PyObject *_wrap_ComboBox_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2903 PyObject *resultobj;
2904 wxComboBox *arg1 = (wxComboBox *) 0 ;
2905 bool arg2 ;
2906 PyObject * obj0 = 0 ;
2907 PyObject * obj1 = 0 ;
2908 char *kwnames[] = {
2909 (char *) "self",(char *) "editable", NULL
2910 };
2911
2912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2914 arg2 = PyInt_AsLong(obj1) ? true : false;
2915 if (PyErr_Occurred()) SWIG_fail;
2916 {
2917 PyThreadState* __tstate = wxPyBeginAllowThreads();
2918 (arg1)->SetEditable(arg2);
2919
2920 wxPyEndAllowThreads(__tstate);
2921 if (PyErr_Occurred()) SWIG_fail;
2922 }
2923 Py_INCREF(Py_None); resultobj = Py_None;
2924 return resultobj;
2925 fail:
2926 return NULL;
2927 }
2928
2929
2930 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2931 PyObject *resultobj;
2932 wxComboBox *arg1 = (wxComboBox *) 0 ;
2933 PyObject * obj0 = 0 ;
2934 char *kwnames[] = {
2935 (char *) "self", NULL
2936 };
2937
2938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2940 {
2941 PyThreadState* __tstate = wxPyBeginAllowThreads();
2942 (arg1)->SetInsertionPointEnd();
2943
2944 wxPyEndAllowThreads(__tstate);
2945 if (PyErr_Occurred()) SWIG_fail;
2946 }
2947 Py_INCREF(Py_None); resultobj = Py_None;
2948 return resultobj;
2949 fail:
2950 return NULL;
2951 }
2952
2953
2954 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
2955 PyObject *resultobj;
2956 wxComboBox *arg1 = (wxComboBox *) 0 ;
2957 long arg2 ;
2958 long arg3 ;
2959 PyObject * obj0 = 0 ;
2960 char *kwnames[] = {
2961 (char *) "self",(char *) "from",(char *) "to", NULL
2962 };
2963
2964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
2965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2966 {
2967 PyThreadState* __tstate = wxPyBeginAllowThreads();
2968 (arg1)->Remove(arg2,arg3);
2969
2970 wxPyEndAllowThreads(__tstate);
2971 if (PyErr_Occurred()) SWIG_fail;
2972 }
2973 Py_INCREF(Py_None); resultobj = Py_None;
2974 return resultobj;
2975 fail:
2976 return NULL;
2977 }
2978
2979
2980 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
2981 PyObject *obj;
2982 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2983 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
2984 Py_INCREF(obj);
2985 return Py_BuildValue((char *)"");
2986 }
2987 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
2988 PyObject *resultobj;
2989 wxWindow *arg1 = (wxWindow *) 0 ;
2990 int arg2 ;
2991 int arg3 ;
2992 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2993 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2994 wxSize const &arg5_defvalue = wxDefaultSize ;
2995 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2996 long arg6 = (long) wxGA_HORIZONTAL ;
2997 wxValidator const &arg7_defvalue = wxDefaultValidator ;
2998 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
2999 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3000 wxString *arg8 = (wxString *) &arg8_defvalue ;
3001 wxGauge *result;
3002 wxPoint temp4 ;
3003 wxSize temp5 ;
3004 bool temp8 = False ;
3005 PyObject * obj0 = 0 ;
3006 PyObject * obj3 = 0 ;
3007 PyObject * obj4 = 0 ;
3008 PyObject * obj6 = 0 ;
3009 PyObject * obj7 = 0 ;
3010 char *kwnames[] = {
3011 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3012 };
3013
3014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3016 if (obj3) {
3017 {
3018 arg4 = &temp4;
3019 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3020 }
3021 }
3022 if (obj4) {
3023 {
3024 arg5 = &temp5;
3025 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3026 }
3027 }
3028 if (obj6) {
3029 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3030 if (arg7 == NULL) {
3031 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3032 }
3033 }
3034 if (obj7) {
3035 {
3036 arg8 = wxString_in_helper(obj7);
3037 if (arg8 == NULL) SWIG_fail;
3038 temp8 = True;
3039 }
3040 }
3041 {
3042 PyThreadState* __tstate = wxPyBeginAllowThreads();
3043 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3044
3045 wxPyEndAllowThreads(__tstate);
3046 if (PyErr_Occurred()) SWIG_fail;
3047 }
3048 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3049 {
3050 if (temp8)
3051 delete arg8;
3052 }
3053 return resultobj;
3054 fail:
3055 {
3056 if (temp8)
3057 delete arg8;
3058 }
3059 return NULL;
3060 }
3061
3062
3063 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3064 PyObject *resultobj;
3065 wxGauge *result;
3066 char *kwnames[] = {
3067 NULL
3068 };
3069
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3071 {
3072 PyThreadState* __tstate = wxPyBeginAllowThreads();
3073 result = (wxGauge *)new wxGauge();
3074
3075 wxPyEndAllowThreads(__tstate);
3076 if (PyErr_Occurred()) SWIG_fail;
3077 }
3078 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3079 return resultobj;
3080 fail:
3081 return NULL;
3082 }
3083
3084
3085 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3086 PyObject *resultobj;
3087 wxGauge *arg1 = (wxGauge *) 0 ;
3088 wxWindow *arg2 = (wxWindow *) 0 ;
3089 int arg3 ;
3090 int arg4 ;
3091 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3092 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3093 wxSize const &arg6_defvalue = wxDefaultSize ;
3094 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3095 long arg7 = (long) wxGA_HORIZONTAL ;
3096 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3097 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3098 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3099 wxString *arg9 = (wxString *) &arg9_defvalue ;
3100 bool result;
3101 wxPoint temp5 ;
3102 wxSize temp6 ;
3103 bool temp9 = False ;
3104 PyObject * obj0 = 0 ;
3105 PyObject * obj1 = 0 ;
3106 PyObject * obj4 = 0 ;
3107 PyObject * obj5 = 0 ;
3108 PyObject * obj7 = 0 ;
3109 PyObject * obj8 = 0 ;
3110 char *kwnames[] = {
3111 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3112 };
3113
3114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3117 if (obj4) {
3118 {
3119 arg5 = &temp5;
3120 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3121 }
3122 }
3123 if (obj5) {
3124 {
3125 arg6 = &temp6;
3126 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3127 }
3128 }
3129 if (obj7) {
3130 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3131 if (arg8 == NULL) {
3132 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3133 }
3134 }
3135 if (obj8) {
3136 {
3137 arg9 = wxString_in_helper(obj8);
3138 if (arg9 == NULL) SWIG_fail;
3139 temp9 = True;
3140 }
3141 }
3142 {
3143 PyThreadState* __tstate = wxPyBeginAllowThreads();
3144 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3145
3146 wxPyEndAllowThreads(__tstate);
3147 if (PyErr_Occurred()) SWIG_fail;
3148 }
3149 resultobj = PyInt_FromLong((long)result);
3150 {
3151 if (temp9)
3152 delete arg9;
3153 }
3154 return resultobj;
3155 fail:
3156 {
3157 if (temp9)
3158 delete arg9;
3159 }
3160 return NULL;
3161 }
3162
3163
3164 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3165 PyObject *resultobj;
3166 wxGauge *arg1 = (wxGauge *) 0 ;
3167 int arg2 ;
3168 PyObject * obj0 = 0 ;
3169 char *kwnames[] = {
3170 (char *) "self",(char *) "range", NULL
3171 };
3172
3173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3175 {
3176 PyThreadState* __tstate = wxPyBeginAllowThreads();
3177 (arg1)->SetRange(arg2);
3178
3179 wxPyEndAllowThreads(__tstate);
3180 if (PyErr_Occurred()) SWIG_fail;
3181 }
3182 Py_INCREF(Py_None); resultobj = Py_None;
3183 return resultobj;
3184 fail:
3185 return NULL;
3186 }
3187
3188
3189 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3190 PyObject *resultobj;
3191 wxGauge *arg1 = (wxGauge *) 0 ;
3192 int result;
3193 PyObject * obj0 = 0 ;
3194 char *kwnames[] = {
3195 (char *) "self", NULL
3196 };
3197
3198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3200 {
3201 PyThreadState* __tstate = wxPyBeginAllowThreads();
3202 result = (int)((wxGauge const *)arg1)->GetRange();
3203
3204 wxPyEndAllowThreads(__tstate);
3205 if (PyErr_Occurred()) SWIG_fail;
3206 }
3207 resultobj = PyInt_FromLong((long)result);
3208 return resultobj;
3209 fail:
3210 return NULL;
3211 }
3212
3213
3214 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3215 PyObject *resultobj;
3216 wxGauge *arg1 = (wxGauge *) 0 ;
3217 int arg2 ;
3218 PyObject * obj0 = 0 ;
3219 char *kwnames[] = {
3220 (char *) "self",(char *) "pos", NULL
3221 };
3222
3223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 (arg1)->SetValue(arg2);
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 Py_INCREF(Py_None); resultobj = Py_None;
3233 return resultobj;
3234 fail:
3235 return NULL;
3236 }
3237
3238
3239 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3240 PyObject *resultobj;
3241 wxGauge *arg1 = (wxGauge *) 0 ;
3242 int result;
3243 PyObject * obj0 = 0 ;
3244 char *kwnames[] = {
3245 (char *) "self", NULL
3246 };
3247
3248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3250 {
3251 PyThreadState* __tstate = wxPyBeginAllowThreads();
3252 result = (int)((wxGauge const *)arg1)->GetValue();
3253
3254 wxPyEndAllowThreads(__tstate);
3255 if (PyErr_Occurred()) SWIG_fail;
3256 }
3257 resultobj = PyInt_FromLong((long)result);
3258 return resultobj;
3259 fail:
3260 return NULL;
3261 }
3262
3263
3264 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3265 PyObject *resultobj;
3266 wxGauge *arg1 = (wxGauge *) 0 ;
3267 bool result;
3268 PyObject * obj0 = 0 ;
3269 char *kwnames[] = {
3270 (char *) "self", NULL
3271 };
3272
3273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3275 {
3276 PyThreadState* __tstate = wxPyBeginAllowThreads();
3277 result = (bool)((wxGauge const *)arg1)->IsVertical();
3278
3279 wxPyEndAllowThreads(__tstate);
3280 if (PyErr_Occurred()) SWIG_fail;
3281 }
3282 resultobj = PyInt_FromLong((long)result);
3283 return resultobj;
3284 fail:
3285 return NULL;
3286 }
3287
3288
3289 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3290 PyObject *resultobj;
3291 wxGauge *arg1 = (wxGauge *) 0 ;
3292 int arg2 ;
3293 PyObject * obj0 = 0 ;
3294 char *kwnames[] = {
3295 (char *) "self",(char *) "w", NULL
3296 };
3297
3298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3300 {
3301 PyThreadState* __tstate = wxPyBeginAllowThreads();
3302 (arg1)->SetShadowWidth(arg2);
3303
3304 wxPyEndAllowThreads(__tstate);
3305 if (PyErr_Occurred()) SWIG_fail;
3306 }
3307 Py_INCREF(Py_None); resultobj = Py_None;
3308 return resultobj;
3309 fail:
3310 return NULL;
3311 }
3312
3313
3314 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3315 PyObject *resultobj;
3316 wxGauge *arg1 = (wxGauge *) 0 ;
3317 int result;
3318 PyObject * obj0 = 0 ;
3319 char *kwnames[] = {
3320 (char *) "self", NULL
3321 };
3322
3323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3325 {
3326 PyThreadState* __tstate = wxPyBeginAllowThreads();
3327 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3328
3329 wxPyEndAllowThreads(__tstate);
3330 if (PyErr_Occurred()) SWIG_fail;
3331 }
3332 resultobj = PyInt_FromLong((long)result);
3333 return resultobj;
3334 fail:
3335 return NULL;
3336 }
3337
3338
3339 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3340 PyObject *resultobj;
3341 wxGauge *arg1 = (wxGauge *) 0 ;
3342 int arg2 ;
3343 PyObject * obj0 = 0 ;
3344 char *kwnames[] = {
3345 (char *) "self",(char *) "w", NULL
3346 };
3347
3348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3350 {
3351 PyThreadState* __tstate = wxPyBeginAllowThreads();
3352 (arg1)->SetBezelFace(arg2);
3353
3354 wxPyEndAllowThreads(__tstate);
3355 if (PyErr_Occurred()) SWIG_fail;
3356 }
3357 Py_INCREF(Py_None); resultobj = Py_None;
3358 return resultobj;
3359 fail:
3360 return NULL;
3361 }
3362
3363
3364 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3365 PyObject *resultobj;
3366 wxGauge *arg1 = (wxGauge *) 0 ;
3367 int result;
3368 PyObject * obj0 = 0 ;
3369 char *kwnames[] = {
3370 (char *) "self", NULL
3371 };
3372
3373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3375 {
3376 PyThreadState* __tstate = wxPyBeginAllowThreads();
3377 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3378
3379 wxPyEndAllowThreads(__tstate);
3380 if (PyErr_Occurred()) SWIG_fail;
3381 }
3382 resultobj = PyInt_FromLong((long)result);
3383 return resultobj;
3384 fail:
3385 return NULL;
3386 }
3387
3388
3389 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3390 PyObject *obj;
3391 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3392 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3393 Py_INCREF(obj);
3394 return Py_BuildValue((char *)"");
3395 }
3396 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3397 PyObject *resultobj;
3398 wxWindow *arg1 = (wxWindow *) 0 ;
3399 int arg2 ;
3400 wxString *arg3 = 0 ;
3401 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3402 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3403 wxSize const &arg5_defvalue = wxDefaultSize ;
3404 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3405 long arg6 = (long) 0 ;
3406 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3407 wxString *arg7 = (wxString *) &arg7_defvalue ;
3408 wxStaticBox *result;
3409 bool temp3 = False ;
3410 wxPoint temp4 ;
3411 wxSize temp5 ;
3412 bool temp7 = False ;
3413 PyObject * obj0 = 0 ;
3414 PyObject * obj2 = 0 ;
3415 PyObject * obj3 = 0 ;
3416 PyObject * obj4 = 0 ;
3417 PyObject * obj6 = 0 ;
3418 char *kwnames[] = {
3419 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3420 };
3421
3422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3424 {
3425 arg3 = wxString_in_helper(obj2);
3426 if (arg3 == NULL) SWIG_fail;
3427 temp3 = True;
3428 }
3429 if (obj3) {
3430 {
3431 arg4 = &temp4;
3432 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3433 }
3434 }
3435 if (obj4) {
3436 {
3437 arg5 = &temp5;
3438 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3439 }
3440 }
3441 if (obj6) {
3442 {
3443 arg7 = wxString_in_helper(obj6);
3444 if (arg7 == NULL) SWIG_fail;
3445 temp7 = True;
3446 }
3447 }
3448 {
3449 PyThreadState* __tstate = wxPyBeginAllowThreads();
3450 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3451
3452 wxPyEndAllowThreads(__tstate);
3453 if (PyErr_Occurred()) SWIG_fail;
3454 }
3455 {
3456 resultobj = wxPyMake_wxObject(result);
3457 }
3458 {
3459 if (temp3)
3460 delete arg3;
3461 }
3462 {
3463 if (temp7)
3464 delete arg7;
3465 }
3466 return resultobj;
3467 fail:
3468 {
3469 if (temp3)
3470 delete arg3;
3471 }
3472 {
3473 if (temp7)
3474 delete arg7;
3475 }
3476 return NULL;
3477 }
3478
3479
3480 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject *resultobj;
3482 wxStaticBox *result;
3483 char *kwnames[] = {
3484 NULL
3485 };
3486
3487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3488 {
3489 PyThreadState* __tstate = wxPyBeginAllowThreads();
3490 result = (wxStaticBox *)new wxStaticBox();
3491
3492 wxPyEndAllowThreads(__tstate);
3493 if (PyErr_Occurred()) SWIG_fail;
3494 }
3495 {
3496 resultobj = wxPyMake_wxObject(result);
3497 }
3498 return resultobj;
3499 fail:
3500 return NULL;
3501 }
3502
3503
3504 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3505 PyObject *resultobj;
3506 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3507 wxWindow *arg2 = (wxWindow *) 0 ;
3508 int arg3 ;
3509 wxString *arg4 = 0 ;
3510 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3511 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3512 wxSize const &arg6_defvalue = wxDefaultSize ;
3513 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3514 long arg7 = (long) 0 ;
3515 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3516 wxString *arg8 = (wxString *) &arg8_defvalue ;
3517 bool result;
3518 bool temp4 = False ;
3519 wxPoint temp5 ;
3520 wxSize temp6 ;
3521 bool temp8 = False ;
3522 PyObject * obj0 = 0 ;
3523 PyObject * obj1 = 0 ;
3524 PyObject * obj3 = 0 ;
3525 PyObject * obj4 = 0 ;
3526 PyObject * obj5 = 0 ;
3527 PyObject * obj7 = 0 ;
3528 char *kwnames[] = {
3529 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3530 };
3531
3532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3534 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3535 {
3536 arg4 = wxString_in_helper(obj3);
3537 if (arg4 == NULL) SWIG_fail;
3538 temp4 = True;
3539 }
3540 if (obj4) {
3541 {
3542 arg5 = &temp5;
3543 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3544 }
3545 }
3546 if (obj5) {
3547 {
3548 arg6 = &temp6;
3549 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3550 }
3551 }
3552 if (obj7) {
3553 {
3554 arg8 = wxString_in_helper(obj7);
3555 if (arg8 == NULL) SWIG_fail;
3556 temp8 = True;
3557 }
3558 }
3559 {
3560 PyThreadState* __tstate = wxPyBeginAllowThreads();
3561 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3562
3563 wxPyEndAllowThreads(__tstate);
3564 if (PyErr_Occurred()) SWIG_fail;
3565 }
3566 resultobj = PyInt_FromLong((long)result);
3567 {
3568 if (temp4)
3569 delete arg4;
3570 }
3571 {
3572 if (temp8)
3573 delete arg8;
3574 }
3575 return resultobj;
3576 fail:
3577 {
3578 if (temp4)
3579 delete arg4;
3580 }
3581 {
3582 if (temp8)
3583 delete arg8;
3584 }
3585 return NULL;
3586 }
3587
3588
3589 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3590 PyObject *obj;
3591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3592 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3593 Py_INCREF(obj);
3594 return Py_BuildValue((char *)"");
3595 }
3596 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3597 PyObject *resultobj;
3598 wxWindow *arg1 = (wxWindow *) 0 ;
3599 int arg2 ;
3600 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3601 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3602 wxSize const &arg4_defvalue = wxDefaultSize ;
3603 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3604 long arg5 = (long) wxLI_HORIZONTAL ;
3605 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3606 wxString *arg6 = (wxString *) &arg6_defvalue ;
3607 wxStaticLine *result;
3608 wxPoint temp3 ;
3609 wxSize temp4 ;
3610 bool temp6 = False ;
3611 PyObject * obj0 = 0 ;
3612 PyObject * obj2 = 0 ;
3613 PyObject * obj3 = 0 ;
3614 PyObject * obj5 = 0 ;
3615 char *kwnames[] = {
3616 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3617 };
3618
3619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3621 if (obj2) {
3622 {
3623 arg3 = &temp3;
3624 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3625 }
3626 }
3627 if (obj3) {
3628 {
3629 arg4 = &temp4;
3630 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3631 }
3632 }
3633 if (obj5) {
3634 {
3635 arg6 = wxString_in_helper(obj5);
3636 if (arg6 == NULL) SWIG_fail;
3637 temp6 = True;
3638 }
3639 }
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3648 {
3649 if (temp6)
3650 delete arg6;
3651 }
3652 return resultobj;
3653 fail:
3654 {
3655 if (temp6)
3656 delete arg6;
3657 }
3658 return NULL;
3659 }
3660
3661
3662 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3663 PyObject *resultobj;
3664 wxStaticLine *result;
3665 char *kwnames[] = {
3666 NULL
3667 };
3668
3669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3670 {
3671 PyThreadState* __tstate = wxPyBeginAllowThreads();
3672 result = (wxStaticLine *)new wxStaticLine();
3673
3674 wxPyEndAllowThreads(__tstate);
3675 if (PyErr_Occurred()) SWIG_fail;
3676 }
3677 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3678 return resultobj;
3679 fail:
3680 return NULL;
3681 }
3682
3683
3684 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3685 PyObject *resultobj;
3686 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3687 wxWindow *arg2 = (wxWindow *) 0 ;
3688 int arg3 ;
3689 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3690 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3691 wxSize const &arg5_defvalue = wxDefaultSize ;
3692 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3693 long arg6 = (long) wxLI_HORIZONTAL ;
3694 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3695 wxString *arg7 = (wxString *) &arg7_defvalue ;
3696 bool result;
3697 wxPoint temp4 ;
3698 wxSize temp5 ;
3699 bool temp7 = False ;
3700 PyObject * obj0 = 0 ;
3701 PyObject * obj1 = 0 ;
3702 PyObject * obj3 = 0 ;
3703 PyObject * obj4 = 0 ;
3704 PyObject * obj6 = 0 ;
3705 char *kwnames[] = {
3706 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3707 };
3708
3709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3711 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3712 if (obj3) {
3713 {
3714 arg4 = &temp4;
3715 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3716 }
3717 }
3718 if (obj4) {
3719 {
3720 arg5 = &temp5;
3721 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3722 }
3723 }
3724 if (obj6) {
3725 {
3726 arg7 = wxString_in_helper(obj6);
3727 if (arg7 == NULL) SWIG_fail;
3728 temp7 = True;
3729 }
3730 }
3731 {
3732 PyThreadState* __tstate = wxPyBeginAllowThreads();
3733 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3734
3735 wxPyEndAllowThreads(__tstate);
3736 if (PyErr_Occurred()) SWIG_fail;
3737 }
3738 resultobj = PyInt_FromLong((long)result);
3739 {
3740 if (temp7)
3741 delete arg7;
3742 }
3743 return resultobj;
3744 fail:
3745 {
3746 if (temp7)
3747 delete arg7;
3748 }
3749 return NULL;
3750 }
3751
3752
3753 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3754 PyObject *resultobj;
3755 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3756 bool result;
3757 PyObject * obj0 = 0 ;
3758 char *kwnames[] = {
3759 (char *) "self", NULL
3760 };
3761
3762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3764 {
3765 PyThreadState* __tstate = wxPyBeginAllowThreads();
3766 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3767
3768 wxPyEndAllowThreads(__tstate);
3769 if (PyErr_Occurred()) SWIG_fail;
3770 }
3771 resultobj = PyInt_FromLong((long)result);
3772 return resultobj;
3773 fail:
3774 return NULL;
3775 }
3776
3777
3778 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3779 PyObject *resultobj;
3780 int result;
3781 char *kwnames[] = {
3782 NULL
3783 };
3784
3785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3786 {
3787 PyThreadState* __tstate = wxPyBeginAllowThreads();
3788 result = (int)wxStaticLine::GetDefaultSize();
3789
3790 wxPyEndAllowThreads(__tstate);
3791 if (PyErr_Occurred()) SWIG_fail;
3792 }
3793 resultobj = PyInt_FromLong((long)result);
3794 return resultobj;
3795 fail:
3796 return NULL;
3797 }
3798
3799
3800 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3801 PyObject *obj;
3802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3803 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3804 Py_INCREF(obj);
3805 return Py_BuildValue((char *)"");
3806 }
3807 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3808 PyObject *resultobj;
3809 wxWindow *arg1 = (wxWindow *) 0 ;
3810 int arg2 ;
3811 wxString *arg3 = 0 ;
3812 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3813 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3814 wxSize const &arg5_defvalue = wxDefaultSize ;
3815 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3816 long arg6 = (long) 0 ;
3817 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3818 wxString *arg7 = (wxString *) &arg7_defvalue ;
3819 wxStaticText *result;
3820 bool temp3 = False ;
3821 wxPoint temp4 ;
3822 wxSize temp5 ;
3823 bool temp7 = False ;
3824 PyObject * obj0 = 0 ;
3825 PyObject * obj2 = 0 ;
3826 PyObject * obj3 = 0 ;
3827 PyObject * obj4 = 0 ;
3828 PyObject * obj6 = 0 ;
3829 char *kwnames[] = {
3830 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3831 };
3832
3833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3835 {
3836 arg3 = wxString_in_helper(obj2);
3837 if (arg3 == NULL) SWIG_fail;
3838 temp3 = True;
3839 }
3840 if (obj3) {
3841 {
3842 arg4 = &temp4;
3843 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3844 }
3845 }
3846 if (obj4) {
3847 {
3848 arg5 = &temp5;
3849 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3850 }
3851 }
3852 if (obj6) {
3853 {
3854 arg7 = wxString_in_helper(obj6);
3855 if (arg7 == NULL) SWIG_fail;
3856 temp7 = True;
3857 }
3858 }
3859 {
3860 PyThreadState* __tstate = wxPyBeginAllowThreads();
3861 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3862
3863 wxPyEndAllowThreads(__tstate);
3864 if (PyErr_Occurred()) SWIG_fail;
3865 }
3866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3867 {
3868 if (temp3)
3869 delete arg3;
3870 }
3871 {
3872 if (temp7)
3873 delete arg7;
3874 }
3875 return resultobj;
3876 fail:
3877 {
3878 if (temp3)
3879 delete arg3;
3880 }
3881 {
3882 if (temp7)
3883 delete arg7;
3884 }
3885 return NULL;
3886 }
3887
3888
3889 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3890 PyObject *resultobj;
3891 wxStaticText *result;
3892 char *kwnames[] = {
3893 NULL
3894 };
3895
3896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3897 {
3898 PyThreadState* __tstate = wxPyBeginAllowThreads();
3899 result = (wxStaticText *)new wxStaticText();
3900
3901 wxPyEndAllowThreads(__tstate);
3902 if (PyErr_Occurred()) SWIG_fail;
3903 }
3904 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3905 return resultobj;
3906 fail:
3907 return NULL;
3908 }
3909
3910
3911 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3912 PyObject *resultobj;
3913 wxStaticText *arg1 = (wxStaticText *) 0 ;
3914 wxWindow *arg2 = (wxWindow *) 0 ;
3915 int arg3 ;
3916 wxString *arg4 = 0 ;
3917 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3918 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3919 wxSize const &arg6_defvalue = wxDefaultSize ;
3920 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3921 long arg7 = (long) 0 ;
3922 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3923 wxString *arg8 = (wxString *) &arg8_defvalue ;
3924 bool result;
3925 bool temp4 = False ;
3926 wxPoint temp5 ;
3927 wxSize temp6 ;
3928 bool temp8 = False ;
3929 PyObject * obj0 = 0 ;
3930 PyObject * obj1 = 0 ;
3931 PyObject * obj3 = 0 ;
3932 PyObject * obj4 = 0 ;
3933 PyObject * obj5 = 0 ;
3934 PyObject * obj7 = 0 ;
3935 char *kwnames[] = {
3936 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3937 };
3938
3939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3942 {
3943 arg4 = wxString_in_helper(obj3);
3944 if (arg4 == NULL) SWIG_fail;
3945 temp4 = True;
3946 }
3947 if (obj4) {
3948 {
3949 arg5 = &temp5;
3950 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3951 }
3952 }
3953 if (obj5) {
3954 {
3955 arg6 = &temp6;
3956 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3957 }
3958 }
3959 if (obj7) {
3960 {
3961 arg8 = wxString_in_helper(obj7);
3962 if (arg8 == NULL) SWIG_fail;
3963 temp8 = True;
3964 }
3965 }
3966 {
3967 PyThreadState* __tstate = wxPyBeginAllowThreads();
3968 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3969
3970 wxPyEndAllowThreads(__tstate);
3971 if (PyErr_Occurred()) SWIG_fail;
3972 }
3973 resultobj = PyInt_FromLong((long)result);
3974 {
3975 if (temp4)
3976 delete arg4;
3977 }
3978 {
3979 if (temp8)
3980 delete arg8;
3981 }
3982 return resultobj;
3983 fail:
3984 {
3985 if (temp4)
3986 delete arg4;
3987 }
3988 {
3989 if (temp8)
3990 delete arg8;
3991 }
3992 return NULL;
3993 }
3994
3995
3996 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
3997 PyObject *obj;
3998 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3999 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4000 Py_INCREF(obj);
4001 return Py_BuildValue((char *)"");
4002 }
4003 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4004 PyObject *resultobj;
4005 wxWindow *arg1 = (wxWindow *) 0 ;
4006 int arg2 ;
4007 wxBitmap *arg3 = 0 ;
4008 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4009 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4010 wxSize const &arg5_defvalue = wxDefaultSize ;
4011 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4012 long arg6 = (long) 0 ;
4013 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4014 wxString *arg7 = (wxString *) &arg7_defvalue ;
4015 wxStaticBitmap *result;
4016 wxPoint temp4 ;
4017 wxSize temp5 ;
4018 bool temp7 = False ;
4019 PyObject * obj0 = 0 ;
4020 PyObject * obj2 = 0 ;
4021 PyObject * obj3 = 0 ;
4022 PyObject * obj4 = 0 ;
4023 PyObject * obj6 = 0 ;
4024 char *kwnames[] = {
4025 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4026 };
4027
4028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4030 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4031 if (arg3 == NULL) {
4032 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4033 }
4034 if (obj3) {
4035 {
4036 arg4 = &temp4;
4037 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4038 }
4039 }
4040 if (obj4) {
4041 {
4042 arg5 = &temp5;
4043 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4044 }
4045 }
4046 if (obj6) {
4047 {
4048 arg7 = wxString_in_helper(obj6);
4049 if (arg7 == NULL) SWIG_fail;
4050 temp7 = True;
4051 }
4052 }
4053 {
4054 PyThreadState* __tstate = wxPyBeginAllowThreads();
4055 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4056
4057 wxPyEndAllowThreads(__tstate);
4058 if (PyErr_Occurred()) SWIG_fail;
4059 }
4060 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4061 {
4062 if (temp7)
4063 delete arg7;
4064 }
4065 return resultobj;
4066 fail:
4067 {
4068 if (temp7)
4069 delete arg7;
4070 }
4071 return NULL;
4072 }
4073
4074
4075 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4076 PyObject *resultobj;
4077 wxStaticBitmap *result;
4078 char *kwnames[] = {
4079 NULL
4080 };
4081
4082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 result = (wxStaticBitmap *)new wxStaticBitmap();
4086
4087 wxPyEndAllowThreads(__tstate);
4088 if (PyErr_Occurred()) SWIG_fail;
4089 }
4090 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4091 return resultobj;
4092 fail:
4093 return NULL;
4094 }
4095
4096
4097 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4098 PyObject *resultobj;
4099 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4100 wxWindow *arg2 = (wxWindow *) 0 ;
4101 int arg3 ;
4102 wxBitmap *arg4 = 0 ;
4103 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4104 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4105 wxSize const &arg6_defvalue = wxDefaultSize ;
4106 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4107 long arg7 = (long) 0 ;
4108 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4109 wxString *arg8 = (wxString *) &arg8_defvalue ;
4110 bool result;
4111 wxPoint temp5 ;
4112 wxSize temp6 ;
4113 bool temp8 = False ;
4114 PyObject * obj0 = 0 ;
4115 PyObject * obj1 = 0 ;
4116 PyObject * obj3 = 0 ;
4117 PyObject * obj4 = 0 ;
4118 PyObject * obj5 = 0 ;
4119 PyObject * obj7 = 0 ;
4120 char *kwnames[] = {
4121 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4122 };
4123
4124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4127 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4128 if (arg4 == NULL) {
4129 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4130 }
4131 if (obj4) {
4132 {
4133 arg5 = &temp5;
4134 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4135 }
4136 }
4137 if (obj5) {
4138 {
4139 arg6 = &temp6;
4140 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4141 }
4142 }
4143 if (obj7) {
4144 {
4145 arg8 = wxString_in_helper(obj7);
4146 if (arg8 == NULL) SWIG_fail;
4147 temp8 = True;
4148 }
4149 }
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4153
4154 wxPyEndAllowThreads(__tstate);
4155 if (PyErr_Occurred()) SWIG_fail;
4156 }
4157 resultobj = PyInt_FromLong((long)result);
4158 {
4159 if (temp8)
4160 delete arg8;
4161 }
4162 return resultobj;
4163 fail:
4164 {
4165 if (temp8)
4166 delete arg8;
4167 }
4168 return NULL;
4169 }
4170
4171
4172 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4173 PyObject *resultobj;
4174 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4175 wxBitmap result;
4176 PyObject * obj0 = 0 ;
4177 char *kwnames[] = {
4178 (char *) "self", NULL
4179 };
4180
4181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4183 {
4184 PyThreadState* __tstate = wxPyBeginAllowThreads();
4185 result = (arg1)->GetBitmap();
4186
4187 wxPyEndAllowThreads(__tstate);
4188 if (PyErr_Occurred()) SWIG_fail;
4189 }
4190 {
4191 wxBitmap * resultptr;
4192 resultptr = new wxBitmap((wxBitmap &) result);
4193 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4194 }
4195 return resultobj;
4196 fail:
4197 return NULL;
4198 }
4199
4200
4201 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4202 PyObject *resultobj;
4203 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4204 wxBitmap *arg2 = 0 ;
4205 PyObject * obj0 = 0 ;
4206 PyObject * obj1 = 0 ;
4207 char *kwnames[] = {
4208 (char *) "self",(char *) "bitmap", NULL
4209 };
4210
4211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4213 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4214 if (arg2 == NULL) {
4215 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4216 }
4217 {
4218 PyThreadState* __tstate = wxPyBeginAllowThreads();
4219 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4220
4221 wxPyEndAllowThreads(__tstate);
4222 if (PyErr_Occurred()) SWIG_fail;
4223 }
4224 Py_INCREF(Py_None); resultobj = Py_None;
4225 return resultobj;
4226 fail:
4227 return NULL;
4228 }
4229
4230
4231 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4232 PyObject *resultobj;
4233 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4234 wxIcon *arg2 = 0 ;
4235 PyObject * obj0 = 0 ;
4236 PyObject * obj1 = 0 ;
4237 char *kwnames[] = {
4238 (char *) "self",(char *) "icon", NULL
4239 };
4240
4241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4244 if (arg2 == NULL) {
4245 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4246 }
4247 {
4248 PyThreadState* __tstate = wxPyBeginAllowThreads();
4249 (arg1)->SetIcon((wxIcon const &)*arg2);
4250
4251 wxPyEndAllowThreads(__tstate);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 Py_INCREF(Py_None); resultobj = Py_None;
4255 return resultobj;
4256 fail:
4257 return NULL;
4258 }
4259
4260
4261 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4262 PyObject *obj;
4263 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4264 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4265 Py_INCREF(obj);
4266 return Py_BuildValue((char *)"");
4267 }
4268 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4269 PyObject *resultobj;
4270 wxWindow *arg1 = (wxWindow *) 0 ;
4271 int arg2 ;
4272 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4273 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4274 wxSize const &arg4_defvalue = wxDefaultSize ;
4275 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4276 int arg5 = (int) 0 ;
4277 wxString *arg6 = (wxString *) NULL ;
4278 long arg7 = (long) 0 ;
4279 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4280 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4281 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4282 wxString *arg9 = (wxString *) &arg9_defvalue ;
4283 wxListBox *result;
4284 wxPoint temp3 ;
4285 wxSize temp4 ;
4286 bool temp8 = False ;
4287 PyObject * obj0 = 0 ;
4288 PyObject * obj2 = 0 ;
4289 PyObject * obj3 = 0 ;
4290 PyObject * obj4 = 0 ;
4291 PyObject * obj6 = 0 ;
4292 PyObject * obj7 = 0 ;
4293 char *kwnames[] = {
4294 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4295 };
4296
4297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4299 if (obj2) {
4300 {
4301 arg3 = &temp3;
4302 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4303 }
4304 }
4305 if (obj3) {
4306 {
4307 arg4 = &temp4;
4308 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4309 }
4310 }
4311 if (obj4) {
4312 {
4313 arg5 = PyList_Size(obj4);
4314 arg6 = wxString_LIST_helper(obj4);
4315 if (arg6 == NULL) SWIG_fail;
4316 }
4317 }
4318 if (obj6) {
4319 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4320 if (arg8 == NULL) {
4321 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4322 }
4323 }
4324 if (obj7) {
4325 {
4326 arg9 = wxString_in_helper(obj7);
4327 if (arg9 == NULL) SWIG_fail;
4328 temp8 = True;
4329 }
4330 }
4331 {
4332 PyThreadState* __tstate = wxPyBeginAllowThreads();
4333 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4334
4335 wxPyEndAllowThreads(__tstate);
4336 if (PyErr_Occurred()) SWIG_fail;
4337 }
4338 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4339 {
4340 if (arg6) delete [] arg6;
4341 }
4342 {
4343 if (temp8)
4344 delete arg9;
4345 }
4346 return resultobj;
4347 fail:
4348 {
4349 if (arg6) delete [] arg6;
4350 }
4351 {
4352 if (temp8)
4353 delete arg9;
4354 }
4355 return NULL;
4356 }
4357
4358
4359 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4360 PyObject *resultobj;
4361 wxListBox *result;
4362 char *kwnames[] = {
4363 NULL
4364 };
4365
4366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4367 {
4368 PyThreadState* __tstate = wxPyBeginAllowThreads();
4369 result = (wxListBox *)new wxListBox();
4370
4371 wxPyEndAllowThreads(__tstate);
4372 if (PyErr_Occurred()) SWIG_fail;
4373 }
4374 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4375 return resultobj;
4376 fail:
4377 return NULL;
4378 }
4379
4380
4381 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4382 PyObject *resultobj;
4383 wxListBox *arg1 = (wxListBox *) 0 ;
4384 wxWindow *arg2 = (wxWindow *) 0 ;
4385 int arg3 ;
4386 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4387 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4388 wxSize const &arg5_defvalue = wxDefaultSize ;
4389 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4390 int arg6 = (int) 0 ;
4391 wxString *arg7 = (wxString *) NULL ;
4392 long arg8 = (long) 0 ;
4393 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4394 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4395 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4396 wxString *arg10 = (wxString *) &arg10_defvalue ;
4397 bool result;
4398 wxPoint temp4 ;
4399 wxSize temp5 ;
4400 bool temp9 = False ;
4401 PyObject * obj0 = 0 ;
4402 PyObject * obj1 = 0 ;
4403 PyObject * obj3 = 0 ;
4404 PyObject * obj4 = 0 ;
4405 PyObject * obj5 = 0 ;
4406 PyObject * obj7 = 0 ;
4407 PyObject * obj8 = 0 ;
4408 char *kwnames[] = {
4409 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4410 };
4411
4412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4414 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4415 if (obj3) {
4416 {
4417 arg4 = &temp4;
4418 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4419 }
4420 }
4421 if (obj4) {
4422 {
4423 arg5 = &temp5;
4424 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4425 }
4426 }
4427 if (obj5) {
4428 {
4429 arg6 = PyList_Size(obj5);
4430 arg7 = wxString_LIST_helper(obj5);
4431 if (arg7 == NULL) SWIG_fail;
4432 }
4433 }
4434 if (obj7) {
4435 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4436 if (arg9 == NULL) {
4437 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4438 }
4439 }
4440 if (obj8) {
4441 {
4442 arg10 = wxString_in_helper(obj8);
4443 if (arg10 == NULL) SWIG_fail;
4444 temp9 = True;
4445 }
4446 }
4447 {
4448 PyThreadState* __tstate = wxPyBeginAllowThreads();
4449 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4450
4451 wxPyEndAllowThreads(__tstate);
4452 if (PyErr_Occurred()) SWIG_fail;
4453 }
4454 resultobj = PyInt_FromLong((long)result);
4455 {
4456 if (arg7) delete [] arg7;
4457 }
4458 {
4459 if (temp9)
4460 delete arg10;
4461 }
4462 return resultobj;
4463 fail:
4464 {
4465 if (arg7) delete [] arg7;
4466 }
4467 {
4468 if (temp9)
4469 delete arg10;
4470 }
4471 return NULL;
4472 }
4473
4474
4475 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4476 PyObject *resultobj;
4477 wxListBox *arg1 = (wxListBox *) 0 ;
4478 wxString *arg2 = 0 ;
4479 int arg3 ;
4480 PyObject *arg4 = (PyObject *) NULL ;
4481 bool temp2 = False ;
4482 PyObject * obj0 = 0 ;
4483 PyObject * obj1 = 0 ;
4484 PyObject * obj3 = 0 ;
4485 char *kwnames[] = {
4486 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4487 };
4488
4489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4491 {
4492 arg2 = wxString_in_helper(obj1);
4493 if (arg2 == NULL) SWIG_fail;
4494 temp2 = True;
4495 }
4496 if (obj3) {
4497 arg4 = obj3;
4498 }
4499 {
4500 PyThreadState* __tstate = wxPyBeginAllowThreads();
4501 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4502
4503 wxPyEndAllowThreads(__tstate);
4504 if (PyErr_Occurred()) SWIG_fail;
4505 }
4506 Py_INCREF(Py_None); resultobj = Py_None;
4507 {
4508 if (temp2)
4509 delete arg2;
4510 }
4511 return resultobj;
4512 fail:
4513 {
4514 if (temp2)
4515 delete arg2;
4516 }
4517 return NULL;
4518 }
4519
4520
4521 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4522 PyObject *resultobj;
4523 wxListBox *arg1 = (wxListBox *) 0 ;
4524 wxArrayString *arg2 = 0 ;
4525 int arg3 ;
4526 PyObject * obj0 = 0 ;
4527 PyObject * obj1 = 0 ;
4528 char *kwnames[] = {
4529 (char *) "self",(char *) "items",(char *) "pos", NULL
4530 };
4531
4532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4534 {
4535 if (! PySequence_Check(obj1)) {
4536 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4537 SWIG_fail;
4538 }
4539 arg2 = new wxArrayString;
4540 int i, len=PySequence_Length(obj1);
4541 for (i=0; i<len; i++) {
4542 PyObject* item = PySequence_GetItem(obj1, i);
4543 #if wxUSE_UNICODE
4544 PyObject* str = PyObject_Unicode(item);
4545 #else
4546 PyObject* str = PyObject_Str(item);
4547 #endif
4548 arg2->Add(Py2wxString(str));
4549 Py_DECREF(item);
4550 Py_DECREF(str);
4551 }
4552 }
4553 {
4554 PyThreadState* __tstate = wxPyBeginAllowThreads();
4555 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4556
4557 wxPyEndAllowThreads(__tstate);
4558 if (PyErr_Occurred()) SWIG_fail;
4559 }
4560 Py_INCREF(Py_None); resultobj = Py_None;
4561 {
4562 if (arg2) delete arg2;
4563 }
4564 return resultobj;
4565 fail:
4566 {
4567 if (arg2) delete arg2;
4568 }
4569 return NULL;
4570 }
4571
4572
4573 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj;
4575 wxListBox *arg1 = (wxListBox *) 0 ;
4576 wxArrayString *arg2 = 0 ;
4577 PyObject * obj0 = 0 ;
4578 PyObject * obj1 = 0 ;
4579 char *kwnames[] = {
4580 (char *) "self",(char *) "items", NULL
4581 };
4582
4583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4585 {
4586 if (! PySequence_Check(obj1)) {
4587 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4588 SWIG_fail;
4589 }
4590 arg2 = new wxArrayString;
4591 int i, len=PySequence_Length(obj1);
4592 for (i=0; i<len; i++) {
4593 PyObject* item = PySequence_GetItem(obj1, i);
4594 #if wxUSE_UNICODE
4595 PyObject* str = PyObject_Unicode(item);
4596 #else
4597 PyObject* str = PyObject_Str(item);
4598 #endif
4599 arg2->Add(Py2wxString(str));
4600 Py_DECREF(item);
4601 Py_DECREF(str);
4602 }
4603 }
4604 {
4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
4606 (arg1)->Set((wxArrayString const &)*arg2);
4607
4608 wxPyEndAllowThreads(__tstate);
4609 if (PyErr_Occurred()) SWIG_fail;
4610 }
4611 Py_INCREF(Py_None); resultobj = Py_None;
4612 {
4613 if (arg2) delete arg2;
4614 }
4615 return resultobj;
4616 fail:
4617 {
4618 if (arg2) delete arg2;
4619 }
4620 return NULL;
4621 }
4622
4623
4624 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4625 PyObject *resultobj;
4626 wxListBox *arg1 = (wxListBox *) 0 ;
4627 int arg2 ;
4628 bool result;
4629 PyObject * obj0 = 0 ;
4630 char *kwnames[] = {
4631 (char *) "self",(char *) "n", NULL
4632 };
4633
4634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4636 {
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 resultobj = PyInt_FromLong((long)result);
4644 return resultobj;
4645 fail:
4646 return NULL;
4647 }
4648
4649
4650 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4651 PyObject *resultobj;
4652 wxListBox *arg1 = (wxListBox *) 0 ;
4653 int arg2 ;
4654 bool arg3 = (bool) True ;
4655 PyObject * obj0 = 0 ;
4656 PyObject * obj2 = 0 ;
4657 char *kwnames[] = {
4658 (char *) "self",(char *) "n",(char *) "select", NULL
4659 };
4660
4661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4663 if (obj2) {
4664 arg3 = PyInt_AsLong(obj2) ? true : false;
4665 if (PyErr_Occurred()) SWIG_fail;
4666 }
4667 {
4668 PyThreadState* __tstate = wxPyBeginAllowThreads();
4669 (arg1)->SetSelection(arg2,arg3);
4670
4671 wxPyEndAllowThreads(__tstate);
4672 if (PyErr_Occurred()) SWIG_fail;
4673 }
4674 Py_INCREF(Py_None); resultobj = Py_None;
4675 return resultobj;
4676 fail:
4677 return NULL;
4678 }
4679
4680
4681 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj;
4683 wxListBox *arg1 = (wxListBox *) 0 ;
4684 int arg2 ;
4685 PyObject * obj0 = 0 ;
4686 char *kwnames[] = {
4687 (char *) "self",(char *) "n", NULL
4688 };
4689
4690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 (arg1)->Select(arg2);
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
4699 Py_INCREF(Py_None); resultobj = Py_None;
4700 return resultobj;
4701 fail:
4702 return NULL;
4703 }
4704
4705
4706 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4707 PyObject *resultobj;
4708 wxListBox *arg1 = (wxListBox *) 0 ;
4709 int arg2 ;
4710 PyObject * obj0 = 0 ;
4711 char *kwnames[] = {
4712 (char *) "self",(char *) "n", NULL
4713 };
4714
4715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4717 {
4718 PyThreadState* __tstate = wxPyBeginAllowThreads();
4719 (arg1)->Deselect(arg2);
4720
4721 wxPyEndAllowThreads(__tstate);
4722 if (PyErr_Occurred()) SWIG_fail;
4723 }
4724 Py_INCREF(Py_None); resultobj = Py_None;
4725 return resultobj;
4726 fail:
4727 return NULL;
4728 }
4729
4730
4731 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4732 PyObject *resultobj;
4733 wxListBox *arg1 = (wxListBox *) 0 ;
4734 int arg2 = (int) -1 ;
4735 PyObject * obj0 = 0 ;
4736 char *kwnames[] = {
4737 (char *) "self",(char *) "itemToLeaveSelected", NULL
4738 };
4739
4740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4742 {
4743 PyThreadState* __tstate = wxPyBeginAllowThreads();
4744 (arg1)->DeselectAll(arg2);
4745
4746 wxPyEndAllowThreads(__tstate);
4747 if (PyErr_Occurred()) SWIG_fail;
4748 }
4749 Py_INCREF(Py_None); resultobj = Py_None;
4750 return resultobj;
4751 fail:
4752 return NULL;
4753 }
4754
4755
4756 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4757 PyObject *resultobj;
4758 wxListBox *arg1 = (wxListBox *) 0 ;
4759 wxString *arg2 = 0 ;
4760 bool arg3 = (bool) True ;
4761 bool result;
4762 bool temp2 = False ;
4763 PyObject * obj0 = 0 ;
4764 PyObject * obj1 = 0 ;
4765 PyObject * obj2 = 0 ;
4766 char *kwnames[] = {
4767 (char *) "self",(char *) "s",(char *) "select", NULL
4768 };
4769
4770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4772 {
4773 arg2 = wxString_in_helper(obj1);
4774 if (arg2 == NULL) SWIG_fail;
4775 temp2 = True;
4776 }
4777 if (obj2) {
4778 arg3 = PyInt_AsLong(obj2) ? true : false;
4779 if (PyErr_Occurred()) SWIG_fail;
4780 }
4781 {
4782 PyThreadState* __tstate = wxPyBeginAllowThreads();
4783 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4784
4785 wxPyEndAllowThreads(__tstate);
4786 if (PyErr_Occurred()) SWIG_fail;
4787 }
4788 resultobj = PyInt_FromLong((long)result);
4789 {
4790 if (temp2)
4791 delete arg2;
4792 }
4793 return resultobj;
4794 fail:
4795 {
4796 if (temp2)
4797 delete arg2;
4798 }
4799 return NULL;
4800 }
4801
4802
4803 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4804 PyObject *resultobj;
4805 wxListBox *arg1 = (wxListBox *) 0 ;
4806 PyObject *result;
4807 PyObject * obj0 = 0 ;
4808 char *kwnames[] = {
4809 (char *) "self", NULL
4810 };
4811
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4814 {
4815 PyThreadState* __tstate = wxPyBeginAllowThreads();
4816 result = (PyObject *)wxListBox_GetSelections(arg1);
4817
4818 wxPyEndAllowThreads(__tstate);
4819 if (PyErr_Occurred()) SWIG_fail;
4820 }
4821 resultobj = result;
4822 return resultobj;
4823 fail:
4824 return NULL;
4825 }
4826
4827
4828 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4829 PyObject *resultobj;
4830 wxListBox *arg1 = (wxListBox *) 0 ;
4831 int arg2 ;
4832 PyObject * obj0 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self",(char *) "n", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4839 {
4840 PyThreadState* __tstate = wxPyBeginAllowThreads();
4841 (arg1)->SetFirstItem(arg2);
4842
4843 wxPyEndAllowThreads(__tstate);
4844 if (PyErr_Occurred()) SWIG_fail;
4845 }
4846 Py_INCREF(Py_None); resultobj = Py_None;
4847 return resultobj;
4848 fail:
4849 return NULL;
4850 }
4851
4852
4853 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4854 PyObject *resultobj;
4855 wxListBox *arg1 = (wxListBox *) 0 ;
4856 wxString *arg2 = 0 ;
4857 bool temp2 = False ;
4858 PyObject * obj0 = 0 ;
4859 PyObject * obj1 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self",(char *) "s", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4866 {
4867 arg2 = wxString_in_helper(obj1);
4868 if (arg2 == NULL) SWIG_fail;
4869 temp2 = True;
4870 }
4871 {
4872 PyThreadState* __tstate = wxPyBeginAllowThreads();
4873 (arg1)->SetFirstItem((wxString const &)*arg2);
4874
4875 wxPyEndAllowThreads(__tstate);
4876 if (PyErr_Occurred()) SWIG_fail;
4877 }
4878 Py_INCREF(Py_None); resultobj = Py_None;
4879 {
4880 if (temp2)
4881 delete arg2;
4882 }
4883 return resultobj;
4884 fail:
4885 {
4886 if (temp2)
4887 delete arg2;
4888 }
4889 return NULL;
4890 }
4891
4892
4893 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4894 PyObject *resultobj;
4895 wxListBox *arg1 = (wxListBox *) 0 ;
4896 int arg2 ;
4897 PyObject * obj0 = 0 ;
4898 char *kwnames[] = {
4899 (char *) "self",(char *) "n", NULL
4900 };
4901
4902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4904 {
4905 PyThreadState* __tstate = wxPyBeginAllowThreads();
4906 (arg1)->EnsureVisible(arg2);
4907
4908 wxPyEndAllowThreads(__tstate);
4909 if (PyErr_Occurred()) SWIG_fail;
4910 }
4911 Py_INCREF(Py_None); resultobj = Py_None;
4912 return resultobj;
4913 fail:
4914 return NULL;
4915 }
4916
4917
4918 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4919 PyObject *resultobj;
4920 wxListBox *arg1 = (wxListBox *) 0 ;
4921 wxString *arg2 = 0 ;
4922 bool temp2 = False ;
4923 PyObject * obj0 = 0 ;
4924 PyObject * obj1 = 0 ;
4925 char *kwnames[] = {
4926 (char *) "self",(char *) "s", NULL
4927 };
4928
4929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4931 {
4932 arg2 = wxString_in_helper(obj1);
4933 if (arg2 == NULL) SWIG_fail;
4934 temp2 = True;
4935 }
4936 {
4937 PyThreadState* __tstate = wxPyBeginAllowThreads();
4938 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4939
4940 wxPyEndAllowThreads(__tstate);
4941 if (PyErr_Occurred()) SWIG_fail;
4942 }
4943 Py_INCREF(Py_None); resultobj = Py_None;
4944 {
4945 if (temp2)
4946 delete arg2;
4947 }
4948 return resultobj;
4949 fail:
4950 {
4951 if (temp2)
4952 delete arg2;
4953 }
4954 return NULL;
4955 }
4956
4957
4958 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
4959 PyObject *resultobj;
4960 wxListBox *arg1 = (wxListBox *) 0 ;
4961 bool result;
4962 PyObject * obj0 = 0 ;
4963 char *kwnames[] = {
4964 (char *) "self", NULL
4965 };
4966
4967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
4968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4969 {
4970 PyThreadState* __tstate = wxPyBeginAllowThreads();
4971 result = (bool)((wxListBox const *)arg1)->IsSorted();
4972
4973 wxPyEndAllowThreads(__tstate);
4974 if (PyErr_Occurred()) SWIG_fail;
4975 }
4976 resultobj = PyInt_FromLong((long)result);
4977 return resultobj;
4978 fail:
4979 return NULL;
4980 }
4981
4982
4983 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
4984 PyObject *obj;
4985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4986 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
4987 Py_INCREF(obj);
4988 return Py_BuildValue((char *)"");
4989 }
4990 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4991 PyObject *resultobj;
4992 wxWindow *arg1 = (wxWindow *) 0 ;
4993 int arg2 ;
4994 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4995 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4996 wxSize const &arg4_defvalue = wxDefaultSize ;
4997 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4998 int arg5 = (int) 0 ;
4999 wxString *arg6 = (wxString *) NULL ;
5000 long arg7 = (long) 0 ;
5001 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5002 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5003 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5004 wxString *arg9 = (wxString *) &arg9_defvalue ;
5005 wxCheckListBox *result;
5006 wxPoint temp3 ;
5007 wxSize temp4 ;
5008 bool temp8 = False ;
5009 PyObject * obj0 = 0 ;
5010 PyObject * obj2 = 0 ;
5011 PyObject * obj3 = 0 ;
5012 PyObject * obj4 = 0 ;
5013 PyObject * obj6 = 0 ;
5014 PyObject * obj7 = 0 ;
5015 char *kwnames[] = {
5016 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5017 };
5018
5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5021 if (obj2) {
5022 {
5023 arg3 = &temp3;
5024 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5025 }
5026 }
5027 if (obj3) {
5028 {
5029 arg4 = &temp4;
5030 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5031 }
5032 }
5033 if (obj4) {
5034 {
5035 arg5 = PyList_Size(obj4);
5036 arg6 = wxString_LIST_helper(obj4);
5037 if (arg6 == NULL) SWIG_fail;
5038 }
5039 }
5040 if (obj6) {
5041 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5042 if (arg8 == NULL) {
5043 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5044 }
5045 }
5046 if (obj7) {
5047 {
5048 arg9 = wxString_in_helper(obj7);
5049 if (arg9 == NULL) SWIG_fail;
5050 temp8 = True;
5051 }
5052 }
5053 {
5054 PyThreadState* __tstate = wxPyBeginAllowThreads();
5055 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5056
5057 wxPyEndAllowThreads(__tstate);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5061 {
5062 if (arg6) delete [] arg6;
5063 }
5064 {
5065 if (temp8)
5066 delete arg9;
5067 }
5068 return resultobj;
5069 fail:
5070 {
5071 if (arg6) delete [] arg6;
5072 }
5073 {
5074 if (temp8)
5075 delete arg9;
5076 }
5077 return NULL;
5078 }
5079
5080
5081 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5082 PyObject *resultobj;
5083 wxCheckListBox *result;
5084 char *kwnames[] = {
5085 NULL
5086 };
5087
5088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5089 {
5090 PyThreadState* __tstate = wxPyBeginAllowThreads();
5091 result = (wxCheckListBox *)new wxCheckListBox();
5092
5093 wxPyEndAllowThreads(__tstate);
5094 if (PyErr_Occurred()) SWIG_fail;
5095 }
5096 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5097 return resultobj;
5098 fail:
5099 return NULL;
5100 }
5101
5102
5103 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5104 PyObject *resultobj;
5105 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5106 wxWindow *arg2 = (wxWindow *) 0 ;
5107 int arg3 ;
5108 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5109 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5110 wxSize const &arg5_defvalue = wxDefaultSize ;
5111 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5112 int arg6 = (int) 0 ;
5113 wxString *arg7 = (wxString *) NULL ;
5114 long arg8 = (long) 0 ;
5115 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5116 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5117 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5118 wxString *arg10 = (wxString *) &arg10_defvalue ;
5119 bool result;
5120 wxPoint temp4 ;
5121 wxSize temp5 ;
5122 bool temp9 = False ;
5123 PyObject * obj0 = 0 ;
5124 PyObject * obj1 = 0 ;
5125 PyObject * obj3 = 0 ;
5126 PyObject * obj4 = 0 ;
5127 PyObject * obj5 = 0 ;
5128 PyObject * obj7 = 0 ;
5129 PyObject * obj8 = 0 ;
5130 char *kwnames[] = {
5131 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5132 };
5133
5134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5136 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5137 if (obj3) {
5138 {
5139 arg4 = &temp4;
5140 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5141 }
5142 }
5143 if (obj4) {
5144 {
5145 arg5 = &temp5;
5146 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5147 }
5148 }
5149 if (obj5) {
5150 {
5151 arg6 = PyList_Size(obj5);
5152 arg7 = wxString_LIST_helper(obj5);
5153 if (arg7 == NULL) SWIG_fail;
5154 }
5155 }
5156 if (obj7) {
5157 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5158 if (arg9 == NULL) {
5159 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5160 }
5161 }
5162 if (obj8) {
5163 {
5164 arg10 = wxString_in_helper(obj8);
5165 if (arg10 == NULL) SWIG_fail;
5166 temp9 = True;
5167 }
5168 }
5169 {
5170 PyThreadState* __tstate = wxPyBeginAllowThreads();
5171 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5172
5173 wxPyEndAllowThreads(__tstate);
5174 if (PyErr_Occurred()) SWIG_fail;
5175 }
5176 resultobj = PyInt_FromLong((long)result);
5177 {
5178 if (arg7) delete [] arg7;
5179 }
5180 {
5181 if (temp9)
5182 delete arg10;
5183 }
5184 return resultobj;
5185 fail:
5186 {
5187 if (arg7) delete [] arg7;
5188 }
5189 {
5190 if (temp9)
5191 delete arg10;
5192 }
5193 return NULL;
5194 }
5195
5196
5197 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5198 PyObject *resultobj;
5199 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5200 int arg2 ;
5201 bool result;
5202 PyObject * obj0 = 0 ;
5203 char *kwnames[] = {
5204 (char *) "self",(char *) "index", NULL
5205 };
5206
5207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5209 {
5210 PyThreadState* __tstate = wxPyBeginAllowThreads();
5211 result = (bool)(arg1)->IsChecked(arg2);
5212
5213 wxPyEndAllowThreads(__tstate);
5214 if (PyErr_Occurred()) SWIG_fail;
5215 }
5216 resultobj = PyInt_FromLong((long)result);
5217 return resultobj;
5218 fail:
5219 return NULL;
5220 }
5221
5222
5223 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5224 PyObject *resultobj;
5225 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5226 int arg2 ;
5227 int arg3 = (int) True ;
5228 PyObject * obj0 = 0 ;
5229 char *kwnames[] = {
5230 (char *) "self",(char *) "index",(char *) "check", NULL
5231 };
5232
5233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5235 {
5236 PyThreadState* __tstate = wxPyBeginAllowThreads();
5237 (arg1)->Check(arg2,arg3);
5238
5239 wxPyEndAllowThreads(__tstate);
5240 if (PyErr_Occurred()) SWIG_fail;
5241 }
5242 Py_INCREF(Py_None); resultobj = Py_None;
5243 return resultobj;
5244 fail:
5245 return NULL;
5246 }
5247
5248
5249 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject *resultobj;
5251 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5252 int result;
5253 PyObject * obj0 = 0 ;
5254 char *kwnames[] = {
5255 (char *) "self", NULL
5256 };
5257
5258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5260 {
5261 PyThreadState* __tstate = wxPyBeginAllowThreads();
5262 result = (int)(arg1)->GetItemHeight();
5263
5264 wxPyEndAllowThreads(__tstate);
5265 if (PyErr_Occurred()) SWIG_fail;
5266 }
5267 resultobj = PyInt_FromLong((long)result);
5268 return resultobj;
5269 fail:
5270 return NULL;
5271 }
5272
5273
5274 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5275 PyObject *resultobj;
5276 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5277 wxPoint *arg2 = 0 ;
5278 int result;
5279 wxPoint temp2 ;
5280 PyObject * obj0 = 0 ;
5281 PyObject * obj1 = 0 ;
5282 char *kwnames[] = {
5283 (char *) "self",(char *) "pt", NULL
5284 };
5285
5286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5288 {
5289 arg2 = &temp2;
5290 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5291 }
5292 {
5293 PyThreadState* __tstate = wxPyBeginAllowThreads();
5294 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5295
5296 wxPyEndAllowThreads(__tstate);
5297 if (PyErr_Occurred()) SWIG_fail;
5298 }
5299 resultobj = PyInt_FromLong((long)result);
5300 return resultobj;
5301 fail:
5302 return NULL;
5303 }
5304
5305
5306 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5307 PyObject *resultobj;
5308 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5309 int arg2 ;
5310 int arg3 ;
5311 int result;
5312 PyObject * obj0 = 0 ;
5313 char *kwnames[] = {
5314 (char *) "self",(char *) "x",(char *) "y", NULL
5315 };
5316
5317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5319 {
5320 PyThreadState* __tstate = wxPyBeginAllowThreads();
5321 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5322
5323 wxPyEndAllowThreads(__tstate);
5324 if (PyErr_Occurred()) SWIG_fail;
5325 }
5326 resultobj = PyInt_FromLong((long)result);
5327 return resultobj;
5328 fail:
5329 return NULL;
5330 }
5331
5332
5333 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5334 PyObject *obj;
5335 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5336 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5337 Py_INCREF(obj);
5338 return Py_BuildValue((char *)"");
5339 }
5340 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5341 PyObject *resultobj;
5342 wxTextAttr *result;
5343
5344 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5345 {
5346 PyThreadState* __tstate = wxPyBeginAllowThreads();
5347 result = (wxTextAttr *)new wxTextAttr();
5348
5349 wxPyEndAllowThreads(__tstate);
5350 if (PyErr_Occurred()) SWIG_fail;
5351 }
5352 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5353 return resultobj;
5354 fail:
5355 return NULL;
5356 }
5357
5358
5359 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5360 PyObject *resultobj;
5361 wxColour *arg1 = 0 ;
5362 wxColour const &arg2_defvalue = wxNullColour ;
5363 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5364 wxFont const &arg3_defvalue = wxNullFont ;
5365 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5366 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5367 wxTextAttr *result;
5368 wxColour temp1 ;
5369 wxColour temp2 ;
5370 PyObject * obj0 = 0 ;
5371 PyObject * obj1 = 0 ;
5372 PyObject * obj2 = 0 ;
5373
5374 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5375 {
5376 arg1 = &temp1;
5377 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5378 }
5379 if (obj1) {
5380 {
5381 arg2 = &temp2;
5382 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5383 }
5384 }
5385 if (obj2) {
5386 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5387 if (arg3 == NULL) {
5388 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5389 }
5390 }
5391 {
5392 PyThreadState* __tstate = wxPyBeginAllowThreads();
5393 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5394
5395 wxPyEndAllowThreads(__tstate);
5396 if (PyErr_Occurred()) SWIG_fail;
5397 }
5398 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5399 return resultobj;
5400 fail:
5401 return NULL;
5402 }
5403
5404
5405 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5406 int argc;
5407 PyObject *argv[5];
5408 int ii;
5409
5410 argc = PyObject_Length(args);
5411 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5412 argv[ii] = PyTuple_GetItem(args,ii);
5413 }
5414 if (argc == 0) {
5415 return _wrap_new_TextAttr__SWIG_0(self,args);
5416 }
5417 if ((argc >= 1) && (argc <= 4)) {
5418 int _v;
5419 {
5420 _v = wxColour_typecheck(argv[0]);
5421 }
5422 if (_v) {
5423 if (argc <= 1) {
5424 return _wrap_new_TextAttr__SWIG_1(self,args);
5425 }
5426 {
5427 _v = wxColour_typecheck(argv[1]);
5428 }
5429 if (_v) {
5430 if (argc <= 2) {
5431 return _wrap_new_TextAttr__SWIG_1(self,args);
5432 }
5433 {
5434 void *ptr;
5435 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5436 _v = 0;
5437 PyErr_Clear();
5438 } else {
5439 _v = 1;
5440 }
5441 }
5442 if (_v) {
5443 if (argc <= 3) {
5444 return _wrap_new_TextAttr__SWIG_1(self,args);
5445 }
5446 {
5447 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5448 }
5449 if (_v) {
5450 return _wrap_new_TextAttr__SWIG_1(self,args);
5451 }
5452 }
5453 }
5454 }
5455 }
5456
5457 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5458 return NULL;
5459 }
5460
5461
5462 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5463 PyObject *resultobj;
5464 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5465 PyObject * obj0 = 0 ;
5466 char *kwnames[] = {
5467 (char *) "self", NULL
5468 };
5469
5470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5472 {
5473 PyThreadState* __tstate = wxPyBeginAllowThreads();
5474 (arg1)->Init();
5475
5476 wxPyEndAllowThreads(__tstate);
5477 if (PyErr_Occurred()) SWIG_fail;
5478 }
5479 Py_INCREF(Py_None); resultobj = Py_None;
5480 return resultobj;
5481 fail:
5482 return NULL;
5483 }
5484
5485
5486 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5487 PyObject *resultobj;
5488 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5489 wxColour *arg2 = 0 ;
5490 wxColour temp2 ;
5491 PyObject * obj0 = 0 ;
5492 PyObject * obj1 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self",(char *) "colText", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5499 {
5500 arg2 = &temp2;
5501 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5502 }
5503 {
5504 PyThreadState* __tstate = wxPyBeginAllowThreads();
5505 (arg1)->SetTextColour((wxColour const &)*arg2);
5506
5507 wxPyEndAllowThreads(__tstate);
5508 if (PyErr_Occurred()) SWIG_fail;
5509 }
5510 Py_INCREF(Py_None); resultobj = Py_None;
5511 return resultobj;
5512 fail:
5513 return NULL;
5514 }
5515
5516
5517 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5518 PyObject *resultobj;
5519 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5520 wxColour *arg2 = 0 ;
5521 wxColour temp2 ;
5522 PyObject * obj0 = 0 ;
5523 PyObject * obj1 = 0 ;
5524 char *kwnames[] = {
5525 (char *) "self",(char *) "colBack", NULL
5526 };
5527
5528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5530 {
5531 arg2 = &temp2;
5532 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5533 }
5534 {
5535 PyThreadState* __tstate = wxPyBeginAllowThreads();
5536 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5537
5538 wxPyEndAllowThreads(__tstate);
5539 if (PyErr_Occurred()) SWIG_fail;
5540 }
5541 Py_INCREF(Py_None); resultobj = Py_None;
5542 return resultobj;
5543 fail:
5544 return NULL;
5545 }
5546
5547
5548 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5549 PyObject *resultobj;
5550 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5551 wxFont *arg2 = 0 ;
5552 long arg3 = (long) wxTEXT_ATTR_FONT ;
5553 PyObject * obj0 = 0 ;
5554 PyObject * obj1 = 0 ;
5555 char *kwnames[] = {
5556 (char *) "self",(char *) "font",(char *) "flags", NULL
5557 };
5558
5559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5562 if (arg2 == NULL) {
5563 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5564 }
5565 {
5566 PyThreadState* __tstate = wxPyBeginAllowThreads();
5567 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5568
5569 wxPyEndAllowThreads(__tstate);
5570 if (PyErr_Occurred()) SWIG_fail;
5571 }
5572 Py_INCREF(Py_None); resultobj = Py_None;
5573 return resultobj;
5574 fail:
5575 return NULL;
5576 }
5577
5578
5579 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5580 PyObject *resultobj;
5581 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5582 int arg2 ;
5583 PyObject * obj0 = 0 ;
5584 char *kwnames[] = {
5585 (char *) "self",(char *) "alignment", NULL
5586 };
5587
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5590 {
5591 PyThreadState* __tstate = wxPyBeginAllowThreads();
5592 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5593
5594 wxPyEndAllowThreads(__tstate);
5595 if (PyErr_Occurred()) SWIG_fail;
5596 }
5597 Py_INCREF(Py_None); resultobj = Py_None;
5598 return resultobj;
5599 fail:
5600 return NULL;
5601 }
5602
5603
5604 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5605 PyObject *resultobj;
5606 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5607 wxArrayInt *arg2 = 0 ;
5608 PyObject * obj0 = 0 ;
5609 PyObject * obj1 = 0 ;
5610 char *kwnames[] = {
5611 (char *) "self",(char *) "tabs", NULL
5612 };
5613
5614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5616 {
5617 if (! PySequence_Check(obj1)) {
5618 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5619 SWIG_fail;
5620 }
5621 arg2 = new wxArrayInt;
5622 int i, len=PySequence_Length(obj1);
5623 for (i=0; i<len; i++) {
5624 PyObject* item = PySequence_GetItem(obj1, i);
5625 PyObject* number = PyNumber_Int(item);
5626 arg2->Add(PyInt_AS_LONG(number));
5627 Py_DECREF(item);
5628 Py_DECREF(number);
5629 }
5630 }
5631 {
5632 PyThreadState* __tstate = wxPyBeginAllowThreads();
5633 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5634
5635 wxPyEndAllowThreads(__tstate);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 Py_INCREF(Py_None); resultobj = Py_None;
5639 {
5640 if (arg2) delete arg2;
5641 }
5642 return resultobj;
5643 fail:
5644 {
5645 if (arg2) delete arg2;
5646 }
5647 return NULL;
5648 }
5649
5650
5651 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5652 PyObject *resultobj;
5653 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5654 int arg2 ;
5655 PyObject * obj0 = 0 ;
5656 char *kwnames[] = {
5657 (char *) "self",(char *) "indent", NULL
5658 };
5659
5660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5662 {
5663 PyThreadState* __tstate = wxPyBeginAllowThreads();
5664 (arg1)->SetLeftIndent(arg2);
5665
5666 wxPyEndAllowThreads(__tstate);
5667 if (PyErr_Occurred()) SWIG_fail;
5668 }
5669 Py_INCREF(Py_None); resultobj = Py_None;
5670 return resultobj;
5671 fail:
5672 return NULL;
5673 }
5674
5675
5676 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5677 PyObject *resultobj;
5678 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5679 int arg2 ;
5680 PyObject * obj0 = 0 ;
5681 char *kwnames[] = {
5682 (char *) "self",(char *) "indent", NULL
5683 };
5684
5685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5687 {
5688 PyThreadState* __tstate = wxPyBeginAllowThreads();
5689 (arg1)->SetRightIndent(arg2);
5690
5691 wxPyEndAllowThreads(__tstate);
5692 if (PyErr_Occurred()) SWIG_fail;
5693 }
5694 Py_INCREF(Py_None); resultobj = Py_None;
5695 return resultobj;
5696 fail:
5697 return NULL;
5698 }
5699
5700
5701 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5702 PyObject *resultobj;
5703 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5704 long arg2 ;
5705 PyObject * obj0 = 0 ;
5706 char *kwnames[] = {
5707 (char *) "self",(char *) "flags", NULL
5708 };
5709
5710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5712 {
5713 PyThreadState* __tstate = wxPyBeginAllowThreads();
5714 (arg1)->SetFlags(arg2);
5715
5716 wxPyEndAllowThreads(__tstate);
5717 if (PyErr_Occurred()) SWIG_fail;
5718 }
5719 Py_INCREF(Py_None); resultobj = Py_None;
5720 return resultobj;
5721 fail:
5722 return NULL;
5723 }
5724
5725
5726 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5727 PyObject *resultobj;
5728 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5729 bool result;
5730 PyObject * obj0 = 0 ;
5731 char *kwnames[] = {
5732 (char *) "self", NULL
5733 };
5734
5735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5737 {
5738 PyThreadState* __tstate = wxPyBeginAllowThreads();
5739 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5740
5741 wxPyEndAllowThreads(__tstate);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
5744 resultobj = PyInt_FromLong((long)result);
5745 return resultobj;
5746 fail:
5747 return NULL;
5748 }
5749
5750
5751 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5752 PyObject *resultobj;
5753 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5754 bool result;
5755 PyObject * obj0 = 0 ;
5756 char *kwnames[] = {
5757 (char *) "self", NULL
5758 };
5759
5760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5762 {
5763 PyThreadState* __tstate = wxPyBeginAllowThreads();
5764 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5765
5766 wxPyEndAllowThreads(__tstate);
5767 if (PyErr_Occurred()) SWIG_fail;
5768 }
5769 resultobj = PyInt_FromLong((long)result);
5770 return resultobj;
5771 fail:
5772 return NULL;
5773 }
5774
5775
5776 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5777 PyObject *resultobj;
5778 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5779 bool result;
5780 PyObject * obj0 = 0 ;
5781 char *kwnames[] = {
5782 (char *) "self", NULL
5783 };
5784
5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5787 {
5788 PyThreadState* __tstate = wxPyBeginAllowThreads();
5789 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5790
5791 wxPyEndAllowThreads(__tstate);
5792 if (PyErr_Occurred()) SWIG_fail;
5793 }
5794 resultobj = PyInt_FromLong((long)result);
5795 return resultobj;
5796 fail:
5797 return NULL;
5798 }
5799
5800
5801 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5802 PyObject *resultobj;
5803 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5804 bool result;
5805 PyObject * obj0 = 0 ;
5806 char *kwnames[] = {
5807 (char *) "self", NULL
5808 };
5809
5810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5812 {
5813 PyThreadState* __tstate = wxPyBeginAllowThreads();
5814 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5815
5816 wxPyEndAllowThreads(__tstate);
5817 if (PyErr_Occurred()) SWIG_fail;
5818 }
5819 resultobj = PyInt_FromLong((long)result);
5820 return resultobj;
5821 fail:
5822 return NULL;
5823 }
5824
5825
5826 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5827 PyObject *resultobj;
5828 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5829 bool result;
5830 PyObject * obj0 = 0 ;
5831 char *kwnames[] = {
5832 (char *) "self", NULL
5833 };
5834
5835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5837 {
5838 PyThreadState* __tstate = wxPyBeginAllowThreads();
5839 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5840
5841 wxPyEndAllowThreads(__tstate);
5842 if (PyErr_Occurred()) SWIG_fail;
5843 }
5844 resultobj = PyInt_FromLong((long)result);
5845 return resultobj;
5846 fail:
5847 return NULL;
5848 }
5849
5850
5851 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5852 PyObject *resultobj;
5853 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5854 bool result;
5855 PyObject * obj0 = 0 ;
5856 char *kwnames[] = {
5857 (char *) "self", NULL
5858 };
5859
5860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5862 {
5863 PyThreadState* __tstate = wxPyBeginAllowThreads();
5864 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
5865
5866 wxPyEndAllowThreads(__tstate);
5867 if (PyErr_Occurred()) SWIG_fail;
5868 }
5869 resultobj = PyInt_FromLong((long)result);
5870 return resultobj;
5871 fail:
5872 return NULL;
5873 }
5874
5875
5876 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5877 PyObject *resultobj;
5878 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5879 bool result;
5880 PyObject * obj0 = 0 ;
5881 char *kwnames[] = {
5882 (char *) "self", NULL
5883 };
5884
5885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5887 {
5888 PyThreadState* __tstate = wxPyBeginAllowThreads();
5889 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5890
5891 wxPyEndAllowThreads(__tstate);
5892 if (PyErr_Occurred()) SWIG_fail;
5893 }
5894 resultobj = PyInt_FromLong((long)result);
5895 return resultobj;
5896 fail:
5897 return NULL;
5898 }
5899
5900
5901 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5902 PyObject *resultobj;
5903 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5904 long arg2 ;
5905 bool result;
5906 PyObject * obj0 = 0 ;
5907 char *kwnames[] = {
5908 (char *) "self",(char *) "flag", NULL
5909 };
5910
5911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
5912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5913 {
5914 PyThreadState* __tstate = wxPyBeginAllowThreads();
5915 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5916
5917 wxPyEndAllowThreads(__tstate);
5918 if (PyErr_Occurred()) SWIG_fail;
5919 }
5920 resultobj = PyInt_FromLong((long)result);
5921 return resultobj;
5922 fail:
5923 return NULL;
5924 }
5925
5926
5927 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5928 PyObject *resultobj;
5929 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5930 wxColour *result;
5931 PyObject * obj0 = 0 ;
5932 char *kwnames[] = {
5933 (char *) "self", NULL
5934 };
5935
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5938 {
5939 PyThreadState* __tstate = wxPyBeginAllowThreads();
5940 {
5941 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
5942 result = (wxColour *) &_result_ref;
5943 }
5944
5945 wxPyEndAllowThreads(__tstate);
5946 if (PyErr_Occurred()) SWIG_fail;
5947 }
5948 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5949 return resultobj;
5950 fail:
5951 return NULL;
5952 }
5953
5954
5955 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5956 PyObject *resultobj;
5957 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5958 wxColour *result;
5959 PyObject * obj0 = 0 ;
5960 char *kwnames[] = {
5961 (char *) "self", NULL
5962 };
5963
5964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
5965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5966 {
5967 PyThreadState* __tstate = wxPyBeginAllowThreads();
5968 {
5969 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
5970 result = (wxColour *) &_result_ref;
5971 }
5972
5973 wxPyEndAllowThreads(__tstate);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
5976 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
5977 return resultobj;
5978 fail:
5979 return NULL;
5980 }
5981
5982
5983 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5984 PyObject *resultobj;
5985 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5986 wxFont *result;
5987 PyObject * obj0 = 0 ;
5988 char *kwnames[] = {
5989 (char *) "self", NULL
5990 };
5991
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
5993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 {
5997 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
5998 result = (wxFont *) &_result_ref;
5999 }
6000
6001 wxPyEndAllowThreads(__tstate);
6002 if (PyErr_Occurred()) SWIG_fail;
6003 }
6004 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6005 return resultobj;
6006 fail:
6007 return NULL;
6008 }
6009
6010
6011 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6012 PyObject *resultobj;
6013 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6014 int result;
6015 PyObject * obj0 = 0 ;
6016 char *kwnames[] = {
6017 (char *) "self", NULL
6018 };
6019
6020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 resultobj = PyInt_FromLong((long)result);
6030 return resultobj;
6031 fail:
6032 return NULL;
6033 }
6034
6035
6036 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj;
6038 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6039 wxArrayInt *result;
6040 PyObject * obj0 = 0 ;
6041 char *kwnames[] = {
6042 (char *) "self", NULL
6043 };
6044
6045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6047 {
6048 PyThreadState* __tstate = wxPyBeginAllowThreads();
6049 {
6050 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6051 result = (wxArrayInt *) &_result_ref;
6052 }
6053
6054 wxPyEndAllowThreads(__tstate);
6055 if (PyErr_Occurred()) SWIG_fail;
6056 }
6057 {
6058 resultobj = PyList_New(0);
6059 size_t idx;
6060 for (idx = 0; idx < result->GetCount(); idx += 1) {
6061 PyObject* val = PyInt_FromLong( result->Item(idx) );
6062 PyList_Append(resultobj, val);
6063 Py_DECREF(val);
6064 }
6065 }
6066 return resultobj;
6067 fail:
6068 return NULL;
6069 }
6070
6071
6072 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6073 PyObject *resultobj;
6074 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6075 long result;
6076 PyObject * obj0 = 0 ;
6077 char *kwnames[] = {
6078 (char *) "self", NULL
6079 };
6080
6081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) SWIG_fail;
6089 }
6090 resultobj = PyInt_FromLong((long)result);
6091 return resultobj;
6092 fail:
6093 return NULL;
6094 }
6095
6096
6097 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6098 PyObject *resultobj;
6099 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6100 long result;
6101 PyObject * obj0 = 0 ;
6102 char *kwnames[] = {
6103 (char *) "self", NULL
6104 };
6105
6106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6108 {
6109 PyThreadState* __tstate = wxPyBeginAllowThreads();
6110 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6111
6112 wxPyEndAllowThreads(__tstate);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 resultobj = PyInt_FromLong((long)result);
6116 return resultobj;
6117 fail:
6118 return NULL;
6119 }
6120
6121
6122 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6123 PyObject *resultobj;
6124 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6125 long result;
6126 PyObject * obj0 = 0 ;
6127 char *kwnames[] = {
6128 (char *) "self", NULL
6129 };
6130
6131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6133 {
6134 PyThreadState* __tstate = wxPyBeginAllowThreads();
6135 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6136
6137 wxPyEndAllowThreads(__tstate);
6138 if (PyErr_Occurred()) SWIG_fail;
6139 }
6140 resultobj = PyInt_FromLong((long)result);
6141 return resultobj;
6142 fail:
6143 return NULL;
6144 }
6145
6146
6147 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6148 PyObject *resultobj;
6149 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6150 bool result;
6151 PyObject * obj0 = 0 ;
6152 char *kwnames[] = {
6153 (char *) "self", NULL
6154 };
6155
6156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6158 {
6159 PyThreadState* __tstate = wxPyBeginAllowThreads();
6160 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6161
6162 wxPyEndAllowThreads(__tstate);
6163 if (PyErr_Occurred()) SWIG_fail;
6164 }
6165 resultobj = PyInt_FromLong((long)result);
6166 return resultobj;
6167 fail:
6168 return NULL;
6169 }
6170
6171
6172 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6173 PyObject *resultobj;
6174 wxTextAttr *arg1 = 0 ;
6175 wxTextAttr *arg2 = 0 ;
6176 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6177 wxTextAttr result;
6178 PyObject * obj0 = 0 ;
6179 PyObject * obj1 = 0 ;
6180 PyObject * obj2 = 0 ;
6181 char *kwnames[] = {
6182 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6183 };
6184
6185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6187 if (arg1 == NULL) {
6188 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6189 }
6190 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6191 if (arg2 == NULL) {
6192 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6193 }
6194 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6195 {
6196 PyThreadState* __tstate = wxPyBeginAllowThreads();
6197 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6198
6199 wxPyEndAllowThreads(__tstate);
6200 if (PyErr_Occurred()) SWIG_fail;
6201 }
6202 {
6203 wxTextAttr * resultptr;
6204 resultptr = new wxTextAttr((wxTextAttr &) result);
6205 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6206 }
6207 return resultobj;
6208 fail:
6209 return NULL;
6210 }
6211
6212
6213 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6214 PyObject *obj;
6215 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6216 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6217 Py_INCREF(obj);
6218 return Py_BuildValue((char *)"");
6219 }
6220 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6221 PyObject *resultobj;
6222 wxWindow *arg1 = (wxWindow *) 0 ;
6223 int arg2 ;
6224 wxString const &arg3_defvalue = wxPyEmptyString ;
6225 wxString *arg3 = (wxString *) &arg3_defvalue ;
6226 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6227 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6228 wxSize const &arg5_defvalue = wxDefaultSize ;
6229 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6230 long arg6 = (long) 0 ;
6231 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6232 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6233 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6234 wxString *arg8 = (wxString *) &arg8_defvalue ;
6235 wxTextCtrl *result;
6236 bool temp3 = False ;
6237 wxPoint temp4 ;
6238 wxSize temp5 ;
6239 bool temp8 = False ;
6240 PyObject * obj0 = 0 ;
6241 PyObject * obj2 = 0 ;
6242 PyObject * obj3 = 0 ;
6243 PyObject * obj4 = 0 ;
6244 PyObject * obj6 = 0 ;
6245 PyObject * obj7 = 0 ;
6246 char *kwnames[] = {
6247 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6248 };
6249
6250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6252 if (obj2) {
6253 {
6254 arg3 = wxString_in_helper(obj2);
6255 if (arg3 == NULL) SWIG_fail;
6256 temp3 = True;
6257 }
6258 }
6259 if (obj3) {
6260 {
6261 arg4 = &temp4;
6262 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6263 }
6264 }
6265 if (obj4) {
6266 {
6267 arg5 = &temp5;
6268 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6269 }
6270 }
6271 if (obj6) {
6272 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6273 if (arg7 == NULL) {
6274 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6275 }
6276 }
6277 if (obj7) {
6278 {
6279 arg8 = wxString_in_helper(obj7);
6280 if (arg8 == NULL) SWIG_fail;
6281 temp8 = True;
6282 }
6283 }
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 {
6292 resultobj = wxPyMake_wxObject(result);
6293 }
6294 {
6295 if (temp3)
6296 delete arg3;
6297 }
6298 {
6299 if (temp8)
6300 delete arg8;
6301 }
6302 return resultobj;
6303 fail:
6304 {
6305 if (temp3)
6306 delete arg3;
6307 }
6308 {
6309 if (temp8)
6310 delete arg8;
6311 }
6312 return NULL;
6313 }
6314
6315
6316 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6317 PyObject *resultobj;
6318 wxTextCtrl *result;
6319 char *kwnames[] = {
6320 NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6324 {
6325 PyThreadState* __tstate = wxPyBeginAllowThreads();
6326 result = (wxTextCtrl *)new wxTextCtrl();
6327
6328 wxPyEndAllowThreads(__tstate);
6329 if (PyErr_Occurred()) SWIG_fail;
6330 }
6331 {
6332 resultobj = wxPyMake_wxObject(result);
6333 }
6334 return resultobj;
6335 fail:
6336 return NULL;
6337 }
6338
6339
6340 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6341 PyObject *resultobj;
6342 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6343 wxWindow *arg2 = (wxWindow *) 0 ;
6344 int arg3 ;
6345 wxString const &arg4_defvalue = wxPyEmptyString ;
6346 wxString *arg4 = (wxString *) &arg4_defvalue ;
6347 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6348 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6349 wxSize const &arg6_defvalue = wxDefaultSize ;
6350 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6351 long arg7 = (long) 0 ;
6352 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6353 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6354 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6355 wxString *arg9 = (wxString *) &arg9_defvalue ;
6356 bool result;
6357 bool temp4 = False ;
6358 wxPoint temp5 ;
6359 wxSize temp6 ;
6360 bool temp9 = False ;
6361 PyObject * obj0 = 0 ;
6362 PyObject * obj1 = 0 ;
6363 PyObject * obj3 = 0 ;
6364 PyObject * obj4 = 0 ;
6365 PyObject * obj5 = 0 ;
6366 PyObject * obj7 = 0 ;
6367 PyObject * obj8 = 0 ;
6368 char *kwnames[] = {
6369 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6370 };
6371
6372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6374 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6375 if (obj3) {
6376 {
6377 arg4 = wxString_in_helper(obj3);
6378 if (arg4 == NULL) SWIG_fail;
6379 temp4 = True;
6380 }
6381 }
6382 if (obj4) {
6383 {
6384 arg5 = &temp5;
6385 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6386 }
6387 }
6388 if (obj5) {
6389 {
6390 arg6 = &temp6;
6391 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6392 }
6393 }
6394 if (obj7) {
6395 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6396 if (arg8 == NULL) {
6397 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6398 }
6399 }
6400 if (obj8) {
6401 {
6402 arg9 = wxString_in_helper(obj8);
6403 if (arg9 == NULL) SWIG_fail;
6404 temp9 = True;
6405 }
6406 }
6407 {
6408 PyThreadState* __tstate = wxPyBeginAllowThreads();
6409 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6410
6411 wxPyEndAllowThreads(__tstate);
6412 if (PyErr_Occurred()) SWIG_fail;
6413 }
6414 resultobj = PyInt_FromLong((long)result);
6415 {
6416 if (temp4)
6417 delete arg4;
6418 }
6419 {
6420 if (temp9)
6421 delete arg9;
6422 }
6423 return resultobj;
6424 fail:
6425 {
6426 if (temp4)
6427 delete arg4;
6428 }
6429 {
6430 if (temp9)
6431 delete arg9;
6432 }
6433 return NULL;
6434 }
6435
6436
6437 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6438 PyObject *resultobj;
6439 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6440 wxString result;
6441 PyObject * obj0 = 0 ;
6442 char *kwnames[] = {
6443 (char *) "self", NULL
6444 };
6445
6446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6448 {
6449 PyThreadState* __tstate = wxPyBeginAllowThreads();
6450 result = ((wxTextCtrl const *)arg1)->GetValue();
6451
6452 wxPyEndAllowThreads(__tstate);
6453 if (PyErr_Occurred()) SWIG_fail;
6454 }
6455 {
6456 #if wxUSE_UNICODE
6457 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6458 #else
6459 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6460 #endif
6461 }
6462 return resultobj;
6463 fail:
6464 return NULL;
6465 }
6466
6467
6468 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6469 PyObject *resultobj;
6470 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6471 wxString *arg2 = 0 ;
6472 bool temp2 = False ;
6473 PyObject * obj0 = 0 ;
6474 PyObject * obj1 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "self",(char *) "value", NULL
6477 };
6478
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6481 {
6482 arg2 = wxString_in_helper(obj1);
6483 if (arg2 == NULL) SWIG_fail;
6484 temp2 = True;
6485 }
6486 {
6487 PyThreadState* __tstate = wxPyBeginAllowThreads();
6488 (arg1)->SetValue((wxString const &)*arg2);
6489
6490 wxPyEndAllowThreads(__tstate);
6491 if (PyErr_Occurred()) SWIG_fail;
6492 }
6493 Py_INCREF(Py_None); resultobj = Py_None;
6494 {
6495 if (temp2)
6496 delete arg2;
6497 }
6498 return resultobj;
6499 fail:
6500 {
6501 if (temp2)
6502 delete arg2;
6503 }
6504 return NULL;
6505 }
6506
6507
6508 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6509 PyObject *resultobj;
6510 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6511 long arg2 ;
6512 long arg3 ;
6513 wxString result;
6514 PyObject * obj0 = 0 ;
6515 char *kwnames[] = {
6516 (char *) "self",(char *) "from",(char *) "to", NULL
6517 };
6518
6519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6521 {
6522 PyThreadState* __tstate = wxPyBeginAllowThreads();
6523 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6524
6525 wxPyEndAllowThreads(__tstate);
6526 if (PyErr_Occurred()) SWIG_fail;
6527 }
6528 {
6529 #if wxUSE_UNICODE
6530 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6531 #else
6532 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6533 #endif
6534 }
6535 return resultobj;
6536 fail:
6537 return NULL;
6538 }
6539
6540
6541 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6542 PyObject *resultobj;
6543 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6544 long arg2 ;
6545 int result;
6546 PyObject * obj0 = 0 ;
6547 char *kwnames[] = {
6548 (char *) "self",(char *) "lineNo", NULL
6549 };
6550
6551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6553 {
6554 PyThreadState* __tstate = wxPyBeginAllowThreads();
6555 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6556
6557 wxPyEndAllowThreads(__tstate);
6558 if (PyErr_Occurred()) SWIG_fail;
6559 }
6560 resultobj = PyInt_FromLong((long)result);
6561 return resultobj;
6562 fail:
6563 return NULL;
6564 }
6565
6566
6567 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6568 PyObject *resultobj;
6569 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6570 long arg2 ;
6571 wxString result;
6572 PyObject * obj0 = 0 ;
6573 char *kwnames[] = {
6574 (char *) "self",(char *) "lineNo", NULL
6575 };
6576
6577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) 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)->GetLineText(arg2);
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_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6600 PyObject *resultobj;
6601 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6602 int result;
6603 PyObject * obj0 = 0 ;
6604 char *kwnames[] = {
6605 (char *) "self", NULL
6606 };
6607
6608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6610 {
6611 PyThreadState* __tstate = wxPyBeginAllowThreads();
6612 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6613
6614 wxPyEndAllowThreads(__tstate);
6615 if (PyErr_Occurred()) SWIG_fail;
6616 }
6617 resultobj = PyInt_FromLong((long)result);
6618 return resultobj;
6619 fail:
6620 return NULL;
6621 }
6622
6623
6624 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6625 PyObject *resultobj;
6626 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6627 bool result;
6628 PyObject * obj0 = 0 ;
6629 char *kwnames[] = {
6630 (char *) "self", NULL
6631 };
6632
6633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6635 {
6636 PyThreadState* __tstate = wxPyBeginAllowThreads();
6637 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6638
6639 wxPyEndAllowThreads(__tstate);
6640 if (PyErr_Occurred()) SWIG_fail;
6641 }
6642 resultobj = PyInt_FromLong((long)result);
6643 return resultobj;
6644 fail:
6645 return NULL;
6646 }
6647
6648
6649 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6650 PyObject *resultobj;
6651 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6652 bool result;
6653 PyObject * obj0 = 0 ;
6654 char *kwnames[] = {
6655 (char *) "self", NULL
6656 };
6657
6658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6660 {
6661 PyThreadState* __tstate = wxPyBeginAllowThreads();
6662 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6663
6664 wxPyEndAllowThreads(__tstate);
6665 if (PyErr_Occurred()) SWIG_fail;
6666 }
6667 resultobj = PyInt_FromLong((long)result);
6668 return resultobj;
6669 fail:
6670 return NULL;
6671 }
6672
6673
6674 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6675 PyObject *resultobj;
6676 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6677 bool result;
6678 PyObject * obj0 = 0 ;
6679 char *kwnames[] = {
6680 (char *) "self", NULL
6681 };
6682
6683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6685 {
6686 PyThreadState* __tstate = wxPyBeginAllowThreads();
6687 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6688
6689 wxPyEndAllowThreads(__tstate);
6690 if (PyErr_Occurred()) SWIG_fail;
6691 }
6692 resultobj = PyInt_FromLong((long)result);
6693 return resultobj;
6694 fail:
6695 return NULL;
6696 }
6697
6698
6699 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6700 PyObject *resultobj;
6701 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6702 bool result;
6703 PyObject * obj0 = 0 ;
6704 char *kwnames[] = {
6705 (char *) "self", NULL
6706 };
6707
6708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6710 {
6711 PyThreadState* __tstate = wxPyBeginAllowThreads();
6712 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6713
6714 wxPyEndAllowThreads(__tstate);
6715 if (PyErr_Occurred()) SWIG_fail;
6716 }
6717 resultobj = PyInt_FromLong((long)result);
6718 return resultobj;
6719 fail:
6720 return NULL;
6721 }
6722
6723
6724 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6725 PyObject *resultobj;
6726 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6727 long *arg2 = (long *) 0 ;
6728 long *arg3 = (long *) 0 ;
6729 long temp2 ;
6730 long temp3 ;
6731 PyObject * obj0 = 0 ;
6732 char *kwnames[] = {
6733 (char *) "self", NULL
6734 };
6735
6736 arg2 = &temp2;
6737 arg3 = &temp3;
6738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6740 {
6741 PyThreadState* __tstate = wxPyBeginAllowThreads();
6742 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6743
6744 wxPyEndAllowThreads(__tstate);
6745 if (PyErr_Occurred()) SWIG_fail;
6746 }
6747 Py_INCREF(Py_None); resultobj = Py_None;
6748 {
6749 PyObject *o = PyInt_FromLong((long) (*arg2));
6750 resultobj = t_output_helper(resultobj,o);
6751 }
6752 {
6753 PyObject *o = PyInt_FromLong((long) (*arg3));
6754 resultobj = t_output_helper(resultobj,o);
6755 }
6756 return resultobj;
6757 fail:
6758 return NULL;
6759 }
6760
6761
6762 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6763 PyObject *resultobj;
6764 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6765 wxString result;
6766 PyObject * obj0 = 0 ;
6767 char *kwnames[] = {
6768 (char *) "self", NULL
6769 };
6770
6771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6773 {
6774 PyThreadState* __tstate = wxPyBeginAllowThreads();
6775 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6776
6777 wxPyEndAllowThreads(__tstate);
6778 if (PyErr_Occurred()) SWIG_fail;
6779 }
6780 {
6781 #if wxUSE_UNICODE
6782 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6783 #else
6784 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6785 #endif
6786 }
6787 return resultobj;
6788 fail:
6789 return NULL;
6790 }
6791
6792
6793 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6794 PyObject *resultobj;
6795 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6796 PyObject * obj0 = 0 ;
6797 char *kwnames[] = {
6798 (char *) "self", NULL
6799 };
6800
6801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6803 {
6804 PyThreadState* __tstate = wxPyBeginAllowThreads();
6805 (arg1)->Clear();
6806
6807 wxPyEndAllowThreads(__tstate);
6808 if (PyErr_Occurred()) SWIG_fail;
6809 }
6810 Py_INCREF(Py_None); resultobj = Py_None;
6811 return resultobj;
6812 fail:
6813 return NULL;
6814 }
6815
6816
6817 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6818 PyObject *resultobj;
6819 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6820 long arg2 ;
6821 long arg3 ;
6822 wxString *arg4 = 0 ;
6823 bool temp4 = False ;
6824 PyObject * obj0 = 0 ;
6825 PyObject * obj3 = 0 ;
6826 char *kwnames[] = {
6827 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6828 };
6829
6830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6832 {
6833 arg4 = wxString_in_helper(obj3);
6834 if (arg4 == NULL) SWIG_fail;
6835 temp4 = True;
6836 }
6837 {
6838 PyThreadState* __tstate = wxPyBeginAllowThreads();
6839 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6840
6841 wxPyEndAllowThreads(__tstate);
6842 if (PyErr_Occurred()) SWIG_fail;
6843 }
6844 Py_INCREF(Py_None); resultobj = Py_None;
6845 {
6846 if (temp4)
6847 delete arg4;
6848 }
6849 return resultobj;
6850 fail:
6851 {
6852 if (temp4)
6853 delete arg4;
6854 }
6855 return NULL;
6856 }
6857
6858
6859 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6860 PyObject *resultobj;
6861 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6862 long arg2 ;
6863 long arg3 ;
6864 PyObject * obj0 = 0 ;
6865 char *kwnames[] = {
6866 (char *) "self",(char *) "from",(char *) "to", NULL
6867 };
6868
6869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6871 {
6872 PyThreadState* __tstate = wxPyBeginAllowThreads();
6873 (arg1)->Remove(arg2,arg3);
6874
6875 wxPyEndAllowThreads(__tstate);
6876 if (PyErr_Occurred()) SWIG_fail;
6877 }
6878 Py_INCREF(Py_None); resultobj = Py_None;
6879 return resultobj;
6880 fail:
6881 return NULL;
6882 }
6883
6884
6885 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6886 PyObject *resultobj;
6887 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6888 wxString *arg2 = 0 ;
6889 bool result;
6890 bool temp2 = False ;
6891 PyObject * obj0 = 0 ;
6892 PyObject * obj1 = 0 ;
6893 char *kwnames[] = {
6894 (char *) "self",(char *) "file", NULL
6895 };
6896
6897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6899 {
6900 arg2 = wxString_in_helper(obj1);
6901 if (arg2 == NULL) SWIG_fail;
6902 temp2 = True;
6903 }
6904 {
6905 PyThreadState* __tstate = wxPyBeginAllowThreads();
6906 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6907
6908 wxPyEndAllowThreads(__tstate);
6909 if (PyErr_Occurred()) SWIG_fail;
6910 }
6911 resultobj = PyInt_FromLong((long)result);
6912 {
6913 if (temp2)
6914 delete arg2;
6915 }
6916 return resultobj;
6917 fail:
6918 {
6919 if (temp2)
6920 delete arg2;
6921 }
6922 return NULL;
6923 }
6924
6925
6926 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6927 PyObject *resultobj;
6928 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6929 wxString const &arg2_defvalue = wxPyEmptyString ;
6930 wxString *arg2 = (wxString *) &arg2_defvalue ;
6931 bool result;
6932 bool temp2 = False ;
6933 PyObject * obj0 = 0 ;
6934 PyObject * obj1 = 0 ;
6935 char *kwnames[] = {
6936 (char *) "self",(char *) "file", NULL
6937 };
6938
6939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6941 if (obj1) {
6942 {
6943 arg2 = wxString_in_helper(obj1);
6944 if (arg2 == NULL) SWIG_fail;
6945 temp2 = True;
6946 }
6947 }
6948 {
6949 PyThreadState* __tstate = wxPyBeginAllowThreads();
6950 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
6951
6952 wxPyEndAllowThreads(__tstate);
6953 if (PyErr_Occurred()) SWIG_fail;
6954 }
6955 resultobj = PyInt_FromLong((long)result);
6956 {
6957 if (temp2)
6958 delete arg2;
6959 }
6960 return resultobj;
6961 fail:
6962 {
6963 if (temp2)
6964 delete arg2;
6965 }
6966 return NULL;
6967 }
6968
6969
6970 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
6971 PyObject *resultobj;
6972 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6973 PyObject * obj0 = 0 ;
6974 char *kwnames[] = {
6975 (char *) "self", NULL
6976 };
6977
6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
6979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 (arg1)->MarkDirty();
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 Py_INCREF(Py_None); resultobj = Py_None;
6988 return resultobj;
6989 fail:
6990 return NULL;
6991 }
6992
6993
6994 static PyObject *_wrap_TextCtrl_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6997 PyObject * obj0 = 0 ;
6998 char *kwnames[] = {
6999 (char *) "self", NULL
7000 };
7001
7002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7004 {
7005 PyThreadState* __tstate = wxPyBeginAllowThreads();
7006 (arg1)->DiscardEdits();
7007
7008 wxPyEndAllowThreads(__tstate);
7009 if (PyErr_Occurred()) SWIG_fail;
7010 }
7011 Py_INCREF(Py_None); resultobj = Py_None;
7012 return resultobj;
7013 fail:
7014 return NULL;
7015 }
7016
7017
7018 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7019 PyObject *resultobj;
7020 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7021 unsigned long arg2 ;
7022 PyObject * obj0 = 0 ;
7023 PyObject * obj1 = 0 ;
7024 char *kwnames[] = {
7025 (char *) "self",(char *) "len", NULL
7026 };
7027
7028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7030 arg2 = (unsigned long) PyInt_AsLong(obj1);
7031 if (PyErr_Occurred()) SWIG_fail;
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 (arg1)->SetMaxLength(arg2);
7035
7036 wxPyEndAllowThreads(__tstate);
7037 if (PyErr_Occurred()) SWIG_fail;
7038 }
7039 Py_INCREF(Py_None); resultobj = Py_None;
7040 return resultobj;
7041 fail:
7042 return NULL;
7043 }
7044
7045
7046 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7047 PyObject *resultobj;
7048 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7049 wxString *arg2 = 0 ;
7050 bool temp2 = False ;
7051 PyObject * obj0 = 0 ;
7052 PyObject * obj1 = 0 ;
7053 char *kwnames[] = {
7054 (char *) "self",(char *) "text", NULL
7055 };
7056
7057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7059 {
7060 arg2 = wxString_in_helper(obj1);
7061 if (arg2 == NULL) SWIG_fail;
7062 temp2 = True;
7063 }
7064 {
7065 PyThreadState* __tstate = wxPyBeginAllowThreads();
7066 (arg1)->WriteText((wxString const &)*arg2);
7067
7068 wxPyEndAllowThreads(__tstate);
7069 if (PyErr_Occurred()) SWIG_fail;
7070 }
7071 Py_INCREF(Py_None); resultobj = Py_None;
7072 {
7073 if (temp2)
7074 delete arg2;
7075 }
7076 return resultobj;
7077 fail:
7078 {
7079 if (temp2)
7080 delete arg2;
7081 }
7082 return NULL;
7083 }
7084
7085
7086 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7087 PyObject *resultobj;
7088 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7089 wxString *arg2 = 0 ;
7090 bool temp2 = False ;
7091 PyObject * obj0 = 0 ;
7092 PyObject * obj1 = 0 ;
7093 char *kwnames[] = {
7094 (char *) "self",(char *) "text", NULL
7095 };
7096
7097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7099 {
7100 arg2 = wxString_in_helper(obj1);
7101 if (arg2 == NULL) SWIG_fail;
7102 temp2 = True;
7103 }
7104 {
7105 PyThreadState* __tstate = wxPyBeginAllowThreads();
7106 (arg1)->AppendText((wxString const &)*arg2);
7107
7108 wxPyEndAllowThreads(__tstate);
7109 if (PyErr_Occurred()) SWIG_fail;
7110 }
7111 Py_INCREF(Py_None); resultobj = Py_None;
7112 {
7113 if (temp2)
7114 delete arg2;
7115 }
7116 return resultobj;
7117 fail:
7118 {
7119 if (temp2)
7120 delete arg2;
7121 }
7122 return NULL;
7123 }
7124
7125
7126 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7127 PyObject *resultobj;
7128 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7129 wxKeyEvent *arg2 = 0 ;
7130 bool result;
7131 PyObject * obj0 = 0 ;
7132 PyObject * obj1 = 0 ;
7133 char *kwnames[] = {
7134 (char *) "self",(char *) "event", NULL
7135 };
7136
7137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7139 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7140 if (arg2 == NULL) {
7141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7142 }
7143 {
7144 PyThreadState* __tstate = wxPyBeginAllowThreads();
7145 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7146
7147 wxPyEndAllowThreads(__tstate);
7148 if (PyErr_Occurred()) SWIG_fail;
7149 }
7150 resultobj = PyInt_FromLong((long)result);
7151 return resultobj;
7152 fail:
7153 return NULL;
7154 }
7155
7156
7157 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7158 PyObject *resultobj;
7159 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7160 long arg2 ;
7161 long arg3 ;
7162 wxTextAttr *arg4 = 0 ;
7163 bool result;
7164 PyObject * obj0 = 0 ;
7165 PyObject * obj3 = 0 ;
7166 char *kwnames[] = {
7167 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7168 };
7169
7170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7172 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7173 if (arg4 == NULL) {
7174 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7175 }
7176 {
7177 PyThreadState* __tstate = wxPyBeginAllowThreads();
7178 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7179
7180 wxPyEndAllowThreads(__tstate);
7181 if (PyErr_Occurred()) SWIG_fail;
7182 }
7183 resultobj = PyInt_FromLong((long)result);
7184 return resultobj;
7185 fail:
7186 return NULL;
7187 }
7188
7189
7190 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7191 PyObject *resultobj;
7192 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7193 long arg2 ;
7194 wxTextAttr *arg3 = 0 ;
7195 bool result;
7196 PyObject * obj0 = 0 ;
7197 PyObject * obj2 = 0 ;
7198 char *kwnames[] = {
7199 (char *) "self",(char *) "position",(char *) "style", NULL
7200 };
7201
7202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7204 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205 if (arg3 == NULL) {
7206 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7207 }
7208 {
7209 PyThreadState* __tstate = wxPyBeginAllowThreads();
7210 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7211
7212 wxPyEndAllowThreads(__tstate);
7213 if (PyErr_Occurred()) SWIG_fail;
7214 }
7215 resultobj = PyInt_FromLong((long)result);
7216 return resultobj;
7217 fail:
7218 return NULL;
7219 }
7220
7221
7222 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7223 PyObject *resultobj;
7224 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7225 wxTextAttr *arg2 = 0 ;
7226 bool result;
7227 PyObject * obj0 = 0 ;
7228 PyObject * obj1 = 0 ;
7229 char *kwnames[] = {
7230 (char *) "self",(char *) "style", NULL
7231 };
7232
7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7235 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7236 if (arg2 == NULL) {
7237 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7238 }
7239 {
7240 PyThreadState* __tstate = wxPyBeginAllowThreads();
7241 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7242
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 resultobj = PyInt_FromLong((long)result);
7247 return resultobj;
7248 fail:
7249 return NULL;
7250 }
7251
7252
7253 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj;
7255 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7256 wxTextAttr *result;
7257 PyObject * obj0 = 0 ;
7258 char *kwnames[] = {
7259 (char *) "self", NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 {
7267 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7268 result = (wxTextAttr *) &_result_ref;
7269 }
7270
7271 wxPyEndAllowThreads(__tstate);
7272 if (PyErr_Occurred()) SWIG_fail;
7273 }
7274 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7275 return resultobj;
7276 fail:
7277 return NULL;
7278 }
7279
7280
7281 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7282 PyObject *resultobj;
7283 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7284 long arg2 ;
7285 long arg3 ;
7286 long result;
7287 PyObject * obj0 = 0 ;
7288 char *kwnames[] = {
7289 (char *) "self",(char *) "x",(char *) "y", NULL
7290 };
7291
7292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7294 {
7295 PyThreadState* __tstate = wxPyBeginAllowThreads();
7296 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7297
7298 wxPyEndAllowThreads(__tstate);
7299 if (PyErr_Occurred()) SWIG_fail;
7300 }
7301 resultobj = PyInt_FromLong((long)result);
7302 return resultobj;
7303 fail:
7304 return NULL;
7305 }
7306
7307
7308 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7309 PyObject *resultobj;
7310 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7311 long arg2 ;
7312 long *arg3 = (long *) 0 ;
7313 long *arg4 = (long *) 0 ;
7314 long temp3 ;
7315 long temp4 ;
7316 PyObject * obj0 = 0 ;
7317 char *kwnames[] = {
7318 (char *) "self",(char *) "pos", NULL
7319 };
7320
7321 arg3 = &temp3;
7322 arg4 = &temp4;
7323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7325 {
7326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7327 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7328
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 Py_INCREF(Py_None); resultobj = Py_None;
7333 {
7334 PyObject *o = PyInt_FromLong((long) (*arg3));
7335 resultobj = t_output_helper(resultobj,o);
7336 }
7337 {
7338 PyObject *o = PyInt_FromLong((long) (*arg4));
7339 resultobj = t_output_helper(resultobj,o);
7340 }
7341 return resultobj;
7342 fail:
7343 return NULL;
7344 }
7345
7346
7347 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7348 PyObject *resultobj;
7349 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7350 long arg2 ;
7351 PyObject * obj0 = 0 ;
7352 char *kwnames[] = {
7353 (char *) "self",(char *) "pos", NULL
7354 };
7355
7356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 (arg1)->ShowPosition(arg2);
7361
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
7365 Py_INCREF(Py_None); resultobj = Py_None;
7366 return resultobj;
7367 fail:
7368 return NULL;
7369 }
7370
7371
7372 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7373 PyObject *resultobj;
7374 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7375 PyObject * obj0 = 0 ;
7376 char *kwnames[] = {
7377 (char *) "self", NULL
7378 };
7379
7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7382 {
7383 PyThreadState* __tstate = wxPyBeginAllowThreads();
7384 (arg1)->Copy();
7385
7386 wxPyEndAllowThreads(__tstate);
7387 if (PyErr_Occurred()) SWIG_fail;
7388 }
7389 Py_INCREF(Py_None); resultobj = Py_None;
7390 return resultobj;
7391 fail:
7392 return NULL;
7393 }
7394
7395
7396 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7397 PyObject *resultobj;
7398 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7399 PyObject * obj0 = 0 ;
7400 char *kwnames[] = {
7401 (char *) "self", NULL
7402 };
7403
7404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7406 {
7407 PyThreadState* __tstate = wxPyBeginAllowThreads();
7408 (arg1)->Cut();
7409
7410 wxPyEndAllowThreads(__tstate);
7411 if (PyErr_Occurred()) SWIG_fail;
7412 }
7413 Py_INCREF(Py_None); resultobj = Py_None;
7414 return resultobj;
7415 fail:
7416 return NULL;
7417 }
7418
7419
7420 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7421 PyObject *resultobj;
7422 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7423 PyObject * obj0 = 0 ;
7424 char *kwnames[] = {
7425 (char *) "self", NULL
7426 };
7427
7428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7430 {
7431 PyThreadState* __tstate = wxPyBeginAllowThreads();
7432 (arg1)->Paste();
7433
7434 wxPyEndAllowThreads(__tstate);
7435 if (PyErr_Occurred()) SWIG_fail;
7436 }
7437 Py_INCREF(Py_None); resultobj = Py_None;
7438 return resultobj;
7439 fail:
7440 return NULL;
7441 }
7442
7443
7444 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7445 PyObject *resultobj;
7446 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7447 bool result;
7448 PyObject * obj0 = 0 ;
7449 char *kwnames[] = {
7450 (char *) "self", NULL
7451 };
7452
7453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7455 {
7456 PyThreadState* __tstate = wxPyBeginAllowThreads();
7457 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7458
7459 wxPyEndAllowThreads(__tstate);
7460 if (PyErr_Occurred()) SWIG_fail;
7461 }
7462 resultobj = PyInt_FromLong((long)result);
7463 return resultobj;
7464 fail:
7465 return NULL;
7466 }
7467
7468
7469 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7470 PyObject *resultobj;
7471 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7472 bool result;
7473 PyObject * obj0 = 0 ;
7474 char *kwnames[] = {
7475 (char *) "self", NULL
7476 };
7477
7478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 resultobj = PyInt_FromLong((long)result);
7488 return resultobj;
7489 fail:
7490 return NULL;
7491 }
7492
7493
7494 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7495 PyObject *resultobj;
7496 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7497 bool result;
7498 PyObject * obj0 = 0 ;
7499 char *kwnames[] = {
7500 (char *) "self", NULL
7501 };
7502
7503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7505 {
7506 PyThreadState* __tstate = wxPyBeginAllowThreads();
7507 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7508
7509 wxPyEndAllowThreads(__tstate);
7510 if (PyErr_Occurred()) SWIG_fail;
7511 }
7512 resultobj = PyInt_FromLong((long)result);
7513 return resultobj;
7514 fail:
7515 return NULL;
7516 }
7517
7518
7519 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7520 PyObject *resultobj;
7521 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7522 PyObject * obj0 = 0 ;
7523 char *kwnames[] = {
7524 (char *) "self", NULL
7525 };
7526
7527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7529 {
7530 PyThreadState* __tstate = wxPyBeginAllowThreads();
7531 (arg1)->Undo();
7532
7533 wxPyEndAllowThreads(__tstate);
7534 if (PyErr_Occurred()) SWIG_fail;
7535 }
7536 Py_INCREF(Py_None); resultobj = Py_None;
7537 return resultobj;
7538 fail:
7539 return NULL;
7540 }
7541
7542
7543 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7544 PyObject *resultobj;
7545 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7546 PyObject * obj0 = 0 ;
7547 char *kwnames[] = {
7548 (char *) "self", NULL
7549 };
7550
7551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7553 {
7554 PyThreadState* __tstate = wxPyBeginAllowThreads();
7555 (arg1)->Redo();
7556
7557 wxPyEndAllowThreads(__tstate);
7558 if (PyErr_Occurred()) SWIG_fail;
7559 }
7560 Py_INCREF(Py_None); resultobj = Py_None;
7561 return resultobj;
7562 fail:
7563 return NULL;
7564 }
7565
7566
7567 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7568 PyObject *resultobj;
7569 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7570 bool result;
7571 PyObject * obj0 = 0 ;
7572 char *kwnames[] = {
7573 (char *) "self", NULL
7574 };
7575
7576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7578 {
7579 PyThreadState* __tstate = wxPyBeginAllowThreads();
7580 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7581
7582 wxPyEndAllowThreads(__tstate);
7583 if (PyErr_Occurred()) SWIG_fail;
7584 }
7585 resultobj = PyInt_FromLong((long)result);
7586 return resultobj;
7587 fail:
7588 return NULL;
7589 }
7590
7591
7592 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7593 PyObject *resultobj;
7594 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7595 bool result;
7596 PyObject * obj0 = 0 ;
7597 char *kwnames[] = {
7598 (char *) "self", NULL
7599 };
7600
7601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7603 {
7604 PyThreadState* __tstate = wxPyBeginAllowThreads();
7605 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7606
7607 wxPyEndAllowThreads(__tstate);
7608 if (PyErr_Occurred()) SWIG_fail;
7609 }
7610 resultobj = PyInt_FromLong((long)result);
7611 return resultobj;
7612 fail:
7613 return NULL;
7614 }
7615
7616
7617 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7618 PyObject *resultobj;
7619 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7620 long arg2 ;
7621 PyObject * obj0 = 0 ;
7622 char *kwnames[] = {
7623 (char *) "self",(char *) "pos", NULL
7624 };
7625
7626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7628 {
7629 PyThreadState* __tstate = wxPyBeginAllowThreads();
7630 (arg1)->SetInsertionPoint(arg2);
7631
7632 wxPyEndAllowThreads(__tstate);
7633 if (PyErr_Occurred()) SWIG_fail;
7634 }
7635 Py_INCREF(Py_None); resultobj = Py_None;
7636 return resultobj;
7637 fail:
7638 return NULL;
7639 }
7640
7641
7642 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7643 PyObject *resultobj;
7644 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7645 PyObject * obj0 = 0 ;
7646 char *kwnames[] = {
7647 (char *) "self", NULL
7648 };
7649
7650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7652 {
7653 PyThreadState* __tstate = wxPyBeginAllowThreads();
7654 (arg1)->SetInsertionPointEnd();
7655
7656 wxPyEndAllowThreads(__tstate);
7657 if (PyErr_Occurred()) SWIG_fail;
7658 }
7659 Py_INCREF(Py_None); resultobj = Py_None;
7660 return resultobj;
7661 fail:
7662 return NULL;
7663 }
7664
7665
7666 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7667 PyObject *resultobj;
7668 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7669 long result;
7670 PyObject * obj0 = 0 ;
7671 char *kwnames[] = {
7672 (char *) "self", NULL
7673 };
7674
7675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7677 {
7678 PyThreadState* __tstate = wxPyBeginAllowThreads();
7679 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7680
7681 wxPyEndAllowThreads(__tstate);
7682 if (PyErr_Occurred()) SWIG_fail;
7683 }
7684 resultobj = PyInt_FromLong((long)result);
7685 return resultobj;
7686 fail:
7687 return NULL;
7688 }
7689
7690
7691 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7692 PyObject *resultobj;
7693 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7694 long result;
7695 PyObject * obj0 = 0 ;
7696 char *kwnames[] = {
7697 (char *) "self", NULL
7698 };
7699
7700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7702 {
7703 PyThreadState* __tstate = wxPyBeginAllowThreads();
7704 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7705
7706 wxPyEndAllowThreads(__tstate);
7707 if (PyErr_Occurred()) SWIG_fail;
7708 }
7709 resultobj = PyInt_FromLong((long)result);
7710 return resultobj;
7711 fail:
7712 return NULL;
7713 }
7714
7715
7716 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7717 PyObject *resultobj;
7718 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7719 long arg2 ;
7720 long arg3 ;
7721 PyObject * obj0 = 0 ;
7722 char *kwnames[] = {
7723 (char *) "self",(char *) "from",(char *) "to", NULL
7724 };
7725
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 (arg1)->SetSelection(arg2,arg3);
7731
7732 wxPyEndAllowThreads(__tstate);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 }
7735 Py_INCREF(Py_None); resultobj = Py_None;
7736 return resultobj;
7737 fail:
7738 return NULL;
7739 }
7740
7741
7742 static PyObject *_wrap_TextCtrl_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7743 PyObject *resultobj;
7744 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7745 PyObject * obj0 = 0 ;
7746 char *kwnames[] = {
7747 (char *) "self", NULL
7748 };
7749
7750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7751 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7752 {
7753 PyThreadState* __tstate = wxPyBeginAllowThreads();
7754 (arg1)->SelectAll();
7755
7756 wxPyEndAllowThreads(__tstate);
7757 if (PyErr_Occurred()) SWIG_fail;
7758 }
7759 Py_INCREF(Py_None); resultobj = Py_None;
7760 return resultobj;
7761 fail:
7762 return NULL;
7763 }
7764
7765
7766 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7767 PyObject *resultobj;
7768 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7769 bool arg2 ;
7770 PyObject * obj0 = 0 ;
7771 PyObject * obj1 = 0 ;
7772 char *kwnames[] = {
7773 (char *) "self",(char *) "editable", NULL
7774 };
7775
7776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7778 arg2 = PyInt_AsLong(obj1) ? true : false;
7779 if (PyErr_Occurred()) SWIG_fail;
7780 {
7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7782 (arg1)->SetEditable(arg2);
7783
7784 wxPyEndAllowThreads(__tstate);
7785 if (PyErr_Occurred()) SWIG_fail;
7786 }
7787 Py_INCREF(Py_None); resultobj = Py_None;
7788 return resultobj;
7789 fail:
7790 return NULL;
7791 }
7792
7793
7794 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7795 PyObject *resultobj;
7796 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7797 wxString *arg2 = 0 ;
7798 bool temp2 = False ;
7799 PyObject * obj0 = 0 ;
7800 PyObject * obj1 = 0 ;
7801 char *kwnames[] = {
7802 (char *) "self",(char *) "text", NULL
7803 };
7804
7805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7807 {
7808 arg2 = wxString_in_helper(obj1);
7809 if (arg2 == NULL) SWIG_fail;
7810 temp2 = True;
7811 }
7812 {
7813 PyThreadState* __tstate = wxPyBeginAllowThreads();
7814 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7815
7816 wxPyEndAllowThreads(__tstate);
7817 if (PyErr_Occurred()) SWIG_fail;
7818 }
7819 Py_INCREF(Py_None); resultobj = Py_None;
7820 {
7821 if (temp2)
7822 delete arg2;
7823 }
7824 return resultobj;
7825 fail:
7826 {
7827 if (temp2)
7828 delete arg2;
7829 }
7830 return NULL;
7831 }
7832
7833
7834 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7835 PyObject *resultobj;
7836 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7837 long arg2 ;
7838 long arg3 ;
7839 wxString result;
7840 PyObject * obj0 = 0 ;
7841 char *kwnames[] = {
7842 (char *) "self",(char *) "from",(char *) "to", NULL
7843 };
7844
7845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7847 {
7848 PyThreadState* __tstate = wxPyBeginAllowThreads();
7849 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7850
7851 wxPyEndAllowThreads(__tstate);
7852 if (PyErr_Occurred()) SWIG_fail;
7853 }
7854 {
7855 #if wxUSE_UNICODE
7856 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7857 #else
7858 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7859 #endif
7860 }
7861 return resultobj;
7862 fail:
7863 return NULL;
7864 }
7865
7866
7867 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7868 PyObject *obj;
7869 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7870 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7871 Py_INCREF(obj);
7872 return Py_BuildValue((char *)"");
7873 }
7874 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7875 PyObject *resultobj;
7876 int arg1 ;
7877 wxMouseEvent *arg2 = 0 ;
7878 long arg3 ;
7879 long arg4 ;
7880 wxTextUrlEvent *result;
7881 PyObject * obj1 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
7887 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7888 if (arg2 == NULL) {
7889 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7890 }
7891 {
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
7894
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 }
7898 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
7899 return resultobj;
7900 fail:
7901 return NULL;
7902 }
7903
7904
7905 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7906 PyObject *resultobj;
7907 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7908 wxMouseEvent *result;
7909 PyObject * obj0 = 0 ;
7910 char *kwnames[] = {
7911 (char *) "self", NULL
7912 };
7913
7914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
7915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7916 {
7917 PyThreadState* __tstate = wxPyBeginAllowThreads();
7918 {
7919 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
7920 result = (wxMouseEvent *) &_result_ref;
7921 }
7922
7923 wxPyEndAllowThreads(__tstate);
7924 if (PyErr_Occurred()) SWIG_fail;
7925 }
7926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
7927 return resultobj;
7928 fail:
7929 return NULL;
7930 }
7931
7932
7933 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
7934 PyObject *resultobj;
7935 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7936 long result;
7937 PyObject * obj0 = 0 ;
7938 char *kwnames[] = {
7939 (char *) "self", NULL
7940 };
7941
7942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
7943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7944 {
7945 PyThreadState* __tstate = wxPyBeginAllowThreads();
7946 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
7947
7948 wxPyEndAllowThreads(__tstate);
7949 if (PyErr_Occurred()) SWIG_fail;
7950 }
7951 resultobj = PyInt_FromLong((long)result);
7952 return resultobj;
7953 fail:
7954 return NULL;
7955 }
7956
7957
7958 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7959 PyObject *resultobj;
7960 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
7961 long result;
7962 PyObject * obj0 = 0 ;
7963 char *kwnames[] = {
7964 (char *) "self", NULL
7965 };
7966
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
7968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7969 {
7970 PyThreadState* __tstate = wxPyBeginAllowThreads();
7971 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
7972
7973 wxPyEndAllowThreads(__tstate);
7974 if (PyErr_Occurred()) SWIG_fail;
7975 }
7976 resultobj = PyInt_FromLong((long)result);
7977 return resultobj;
7978 fail:
7979 return NULL;
7980 }
7981
7982
7983 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
7984 PyObject *obj;
7985 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7986 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
7987 Py_INCREF(obj);
7988 return Py_BuildValue((char *)"");
7989 }
7990 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
7991 PyObject *resultobj;
7992 wxWindow *arg1 = (wxWindow *) 0 ;
7993 int arg2 = (int) -1 ;
7994 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7995 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7996 wxSize const &arg4_defvalue = wxDefaultSize ;
7997 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7998 long arg5 = (long) wxSB_HORIZONTAL ;
7999 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8000 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8001 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8002 wxString *arg7 = (wxString *) &arg7_defvalue ;
8003 wxScrollBar *result;
8004 wxPoint temp3 ;
8005 wxSize temp4 ;
8006 bool temp7 = False ;
8007 PyObject * obj0 = 0 ;
8008 PyObject * obj2 = 0 ;
8009 PyObject * obj3 = 0 ;
8010 PyObject * obj5 = 0 ;
8011 PyObject * obj6 = 0 ;
8012 char *kwnames[] = {
8013 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8014 };
8015
8016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8018 if (obj2) {
8019 {
8020 arg3 = &temp3;
8021 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8022 }
8023 }
8024 if (obj3) {
8025 {
8026 arg4 = &temp4;
8027 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8028 }
8029 }
8030 if (obj5) {
8031 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8032 if (arg6 == NULL) {
8033 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8034 }
8035 }
8036 if (obj6) {
8037 {
8038 arg7 = wxString_in_helper(obj6);
8039 if (arg7 == NULL) SWIG_fail;
8040 temp7 = True;
8041 }
8042 }
8043 {
8044 PyThreadState* __tstate = wxPyBeginAllowThreads();
8045 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8046
8047 wxPyEndAllowThreads(__tstate);
8048 if (PyErr_Occurred()) SWIG_fail;
8049 }
8050 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8051 {
8052 if (temp7)
8053 delete arg7;
8054 }
8055 return resultobj;
8056 fail:
8057 {
8058 if (temp7)
8059 delete arg7;
8060 }
8061 return NULL;
8062 }
8063
8064
8065 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8066 PyObject *resultobj;
8067 wxScrollBar *result;
8068 char *kwnames[] = {
8069 NULL
8070 };
8071
8072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8073 {
8074 PyThreadState* __tstate = wxPyBeginAllowThreads();
8075 result = (wxScrollBar *)new wxScrollBar();
8076
8077 wxPyEndAllowThreads(__tstate);
8078 if (PyErr_Occurred()) SWIG_fail;
8079 }
8080 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8081 return resultobj;
8082 fail:
8083 return NULL;
8084 }
8085
8086
8087 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8088 PyObject *resultobj;
8089 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8090 wxWindow *arg2 = (wxWindow *) 0 ;
8091 int arg3 = (int) -1 ;
8092 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8093 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8094 wxSize const &arg5_defvalue = wxDefaultSize ;
8095 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8096 long arg6 = (long) wxSB_HORIZONTAL ;
8097 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8098 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8099 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8100 wxString *arg8 = (wxString *) &arg8_defvalue ;
8101 bool result;
8102 wxPoint temp4 ;
8103 wxSize temp5 ;
8104 bool temp8 = False ;
8105 PyObject * obj0 = 0 ;
8106 PyObject * obj1 = 0 ;
8107 PyObject * obj3 = 0 ;
8108 PyObject * obj4 = 0 ;
8109 PyObject * obj6 = 0 ;
8110 PyObject * obj7 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8118 if (obj3) {
8119 {
8120 arg4 = &temp4;
8121 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8122 }
8123 }
8124 if (obj4) {
8125 {
8126 arg5 = &temp5;
8127 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8128 }
8129 }
8130 if (obj6) {
8131 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8132 if (arg7 == NULL) {
8133 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8134 }
8135 }
8136 if (obj7) {
8137 {
8138 arg8 = wxString_in_helper(obj7);
8139 if (arg8 == NULL) SWIG_fail;
8140 temp8 = True;
8141 }
8142 }
8143 {
8144 PyThreadState* __tstate = wxPyBeginAllowThreads();
8145 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8146
8147 wxPyEndAllowThreads(__tstate);
8148 if (PyErr_Occurred()) SWIG_fail;
8149 }
8150 resultobj = PyInt_FromLong((long)result);
8151 {
8152 if (temp8)
8153 delete arg8;
8154 }
8155 return resultobj;
8156 fail:
8157 {
8158 if (temp8)
8159 delete arg8;
8160 }
8161 return NULL;
8162 }
8163
8164
8165 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8166 PyObject *resultobj;
8167 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8168 int result;
8169 PyObject * obj0 = 0 ;
8170 char *kwnames[] = {
8171 (char *) "self", NULL
8172 };
8173
8174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8176 {
8177 PyThreadState* __tstate = wxPyBeginAllowThreads();
8178 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8179
8180 wxPyEndAllowThreads(__tstate);
8181 if (PyErr_Occurred()) SWIG_fail;
8182 }
8183 resultobj = PyInt_FromLong((long)result);
8184 return resultobj;
8185 fail:
8186 return NULL;
8187 }
8188
8189
8190 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8191 PyObject *resultobj;
8192 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8193 int result;
8194 PyObject * obj0 = 0 ;
8195 char *kwnames[] = {
8196 (char *) "self", NULL
8197 };
8198
8199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8201 {
8202 PyThreadState* __tstate = wxPyBeginAllowThreads();
8203 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8204
8205 wxPyEndAllowThreads(__tstate);
8206 if (PyErr_Occurred()) SWIG_fail;
8207 }
8208 resultobj = PyInt_FromLong((long)result);
8209 return resultobj;
8210 fail:
8211 return NULL;
8212 }
8213
8214
8215 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8216 PyObject *resultobj;
8217 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8218 int result;
8219 PyObject * obj0 = 0 ;
8220 char *kwnames[] = {
8221 (char *) "self", NULL
8222 };
8223
8224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8226 {
8227 PyThreadState* __tstate = wxPyBeginAllowThreads();
8228 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8229
8230 wxPyEndAllowThreads(__tstate);
8231 if (PyErr_Occurred()) SWIG_fail;
8232 }
8233 resultobj = PyInt_FromLong((long)result);
8234 return resultobj;
8235 fail:
8236 return NULL;
8237 }
8238
8239
8240 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8241 PyObject *resultobj;
8242 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8243 int result;
8244 PyObject * obj0 = 0 ;
8245 char *kwnames[] = {
8246 (char *) "self", NULL
8247 };
8248
8249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 result = (int)((wxScrollBar const *)arg1)->GetRange();
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 resultobj = PyInt_FromLong((long)result);
8259 return resultobj;
8260 fail:
8261 return NULL;
8262 }
8263
8264
8265 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8266 PyObject *resultobj;
8267 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8268 bool result;
8269 PyObject * obj0 = 0 ;
8270 char *kwnames[] = {
8271 (char *) "self", NULL
8272 };
8273
8274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8276 {
8277 PyThreadState* __tstate = wxPyBeginAllowThreads();
8278 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8279
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 resultobj = PyInt_FromLong((long)result);
8284 return resultobj;
8285 fail:
8286 return NULL;
8287 }
8288
8289
8290 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8291 PyObject *resultobj;
8292 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8293 int arg2 ;
8294 PyObject * obj0 = 0 ;
8295 char *kwnames[] = {
8296 (char *) "self",(char *) "viewStart", NULL
8297 };
8298
8299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8301 {
8302 PyThreadState* __tstate = wxPyBeginAllowThreads();
8303 (arg1)->SetThumbPosition(arg2);
8304
8305 wxPyEndAllowThreads(__tstate);
8306 if (PyErr_Occurred()) SWIG_fail;
8307 }
8308 Py_INCREF(Py_None); resultobj = Py_None;
8309 return resultobj;
8310 fail:
8311 return NULL;
8312 }
8313
8314
8315 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8316 PyObject *resultobj;
8317 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8318 int arg2 ;
8319 int arg3 ;
8320 int arg4 ;
8321 int arg5 ;
8322 bool arg6 = (bool) True ;
8323 PyObject * obj0 = 0 ;
8324 PyObject * obj5 = 0 ;
8325 char *kwnames[] = {
8326 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8327 };
8328
8329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8331 if (obj5) {
8332 arg6 = PyInt_AsLong(obj5) ? true : false;
8333 if (PyErr_Occurred()) SWIG_fail;
8334 }
8335 {
8336 PyThreadState* __tstate = wxPyBeginAllowThreads();
8337 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8338
8339 wxPyEndAllowThreads(__tstate);
8340 if (PyErr_Occurred()) SWIG_fail;
8341 }
8342 Py_INCREF(Py_None); resultobj = Py_None;
8343 return resultobj;
8344 fail:
8345 return NULL;
8346 }
8347
8348
8349 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8350 PyObject *obj;
8351 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8352 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8353 Py_INCREF(obj);
8354 return Py_BuildValue((char *)"");
8355 }
8356 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8357 PyObject *resultobj;
8358 wxWindow *arg1 = (wxWindow *) 0 ;
8359 int arg2 = (int) -1 ;
8360 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8361 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8362 wxSize const &arg4_defvalue = wxDefaultSize ;
8363 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8364 long arg5 = (long) wxSP_HORIZONTAL ;
8365 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8366 wxString *arg6 = (wxString *) &arg6_defvalue ;
8367 wxSpinButton *result;
8368 wxPoint temp3 ;
8369 wxSize temp4 ;
8370 bool temp6 = False ;
8371 PyObject * obj0 = 0 ;
8372 PyObject * obj2 = 0 ;
8373 PyObject * obj3 = 0 ;
8374 PyObject * obj5 = 0 ;
8375 char *kwnames[] = {
8376 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8377 };
8378
8379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8381 if (obj2) {
8382 {
8383 arg3 = &temp3;
8384 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8385 }
8386 }
8387 if (obj3) {
8388 {
8389 arg4 = &temp4;
8390 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8391 }
8392 }
8393 if (obj5) {
8394 {
8395 arg6 = wxString_in_helper(obj5);
8396 if (arg6 == NULL) SWIG_fail;
8397 temp6 = True;
8398 }
8399 }
8400 {
8401 PyThreadState* __tstate = wxPyBeginAllowThreads();
8402 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8403
8404 wxPyEndAllowThreads(__tstate);
8405 if (PyErr_Occurred()) SWIG_fail;
8406 }
8407 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8408 {
8409 if (temp6)
8410 delete arg6;
8411 }
8412 return resultobj;
8413 fail:
8414 {
8415 if (temp6)
8416 delete arg6;
8417 }
8418 return NULL;
8419 }
8420
8421
8422 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8423 PyObject *resultobj;
8424 wxSpinButton *result;
8425 char *kwnames[] = {
8426 NULL
8427 };
8428
8429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8430 {
8431 PyThreadState* __tstate = wxPyBeginAllowThreads();
8432 result = (wxSpinButton *)new wxSpinButton();
8433
8434 wxPyEndAllowThreads(__tstate);
8435 if (PyErr_Occurred()) SWIG_fail;
8436 }
8437 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8438 return resultobj;
8439 fail:
8440 return NULL;
8441 }
8442
8443
8444 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8445 PyObject *resultobj;
8446 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8447 wxWindow *arg2 = (wxWindow *) 0 ;
8448 int arg3 = (int) -1 ;
8449 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8450 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8451 wxSize const &arg5_defvalue = wxDefaultSize ;
8452 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8453 long arg6 = (long) wxSP_HORIZONTAL ;
8454 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8455 wxString *arg7 = (wxString *) &arg7_defvalue ;
8456 bool result;
8457 wxPoint temp4 ;
8458 wxSize temp5 ;
8459 bool temp7 = False ;
8460 PyObject * obj0 = 0 ;
8461 PyObject * obj1 = 0 ;
8462 PyObject * obj3 = 0 ;
8463 PyObject * obj4 = 0 ;
8464 PyObject * obj6 = 0 ;
8465 char *kwnames[] = {
8466 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8467 };
8468
8469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8471 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8472 if (obj3) {
8473 {
8474 arg4 = &temp4;
8475 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8476 }
8477 }
8478 if (obj4) {
8479 {
8480 arg5 = &temp5;
8481 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8482 }
8483 }
8484 if (obj6) {
8485 {
8486 arg7 = wxString_in_helper(obj6);
8487 if (arg7 == NULL) SWIG_fail;
8488 temp7 = True;
8489 }
8490 }
8491 {
8492 PyThreadState* __tstate = wxPyBeginAllowThreads();
8493 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8494
8495 wxPyEndAllowThreads(__tstate);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 }
8498 resultobj = PyInt_FromLong((long)result);
8499 {
8500 if (temp7)
8501 delete arg7;
8502 }
8503 return resultobj;
8504 fail:
8505 {
8506 if (temp7)
8507 delete arg7;
8508 }
8509 return NULL;
8510 }
8511
8512
8513 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8514 PyObject *resultobj;
8515 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8516 int result;
8517 PyObject * obj0 = 0 ;
8518 char *kwnames[] = {
8519 (char *) "self", NULL
8520 };
8521
8522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8524 {
8525 PyThreadState* __tstate = wxPyBeginAllowThreads();
8526 result = (int)((wxSpinButton const *)arg1)->GetValue();
8527
8528 wxPyEndAllowThreads(__tstate);
8529 if (PyErr_Occurred()) SWIG_fail;
8530 }
8531 resultobj = PyInt_FromLong((long)result);
8532 return resultobj;
8533 fail:
8534 return NULL;
8535 }
8536
8537
8538 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8539 PyObject *resultobj;
8540 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8541 int result;
8542 PyObject * obj0 = 0 ;
8543 char *kwnames[] = {
8544 (char *) "self", NULL
8545 };
8546
8547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8549 {
8550 PyThreadState* __tstate = wxPyBeginAllowThreads();
8551 result = (int)((wxSpinButton const *)arg1)->GetMin();
8552
8553 wxPyEndAllowThreads(__tstate);
8554 if (PyErr_Occurred()) SWIG_fail;
8555 }
8556 resultobj = PyInt_FromLong((long)result);
8557 return resultobj;
8558 fail:
8559 return NULL;
8560 }
8561
8562
8563 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8564 PyObject *resultobj;
8565 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8566 int result;
8567 PyObject * obj0 = 0 ;
8568 char *kwnames[] = {
8569 (char *) "self", NULL
8570 };
8571
8572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8574 {
8575 PyThreadState* __tstate = wxPyBeginAllowThreads();
8576 result = (int)((wxSpinButton const *)arg1)->GetMax();
8577
8578 wxPyEndAllowThreads(__tstate);
8579 if (PyErr_Occurred()) SWIG_fail;
8580 }
8581 resultobj = PyInt_FromLong((long)result);
8582 return resultobj;
8583 fail:
8584 return NULL;
8585 }
8586
8587
8588 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8589 PyObject *resultobj;
8590 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8591 int arg2 ;
8592 PyObject * obj0 = 0 ;
8593 char *kwnames[] = {
8594 (char *) "self",(char *) "val", NULL
8595 };
8596
8597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 (arg1)->SetValue(arg2);
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 Py_INCREF(Py_None); resultobj = Py_None;
8607 return resultobj;
8608 fail:
8609 return NULL;
8610 }
8611
8612
8613 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8614 PyObject *resultobj;
8615 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8616 int arg2 ;
8617 PyObject * obj0 = 0 ;
8618 char *kwnames[] = {
8619 (char *) "self",(char *) "minVal", NULL
8620 };
8621
8622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8624 {
8625 PyThreadState* __tstate = wxPyBeginAllowThreads();
8626 (arg1)->SetMin(arg2);
8627
8628 wxPyEndAllowThreads(__tstate);
8629 if (PyErr_Occurred()) SWIG_fail;
8630 }
8631 Py_INCREF(Py_None); resultobj = Py_None;
8632 return resultobj;
8633 fail:
8634 return NULL;
8635 }
8636
8637
8638 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8639 PyObject *resultobj;
8640 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8641 int arg2 ;
8642 PyObject * obj0 = 0 ;
8643 char *kwnames[] = {
8644 (char *) "self",(char *) "maxVal", NULL
8645 };
8646
8647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8649 {
8650 PyThreadState* __tstate = wxPyBeginAllowThreads();
8651 (arg1)->SetMax(arg2);
8652
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
8656 Py_INCREF(Py_None); resultobj = Py_None;
8657 return resultobj;
8658 fail:
8659 return NULL;
8660 }
8661
8662
8663 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8664 PyObject *resultobj;
8665 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8666 int arg2 ;
8667 int arg3 ;
8668 PyObject * obj0 = 0 ;
8669 char *kwnames[] = {
8670 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8671 };
8672
8673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8675 {
8676 PyThreadState* __tstate = wxPyBeginAllowThreads();
8677 (arg1)->SetRange(arg2,arg3);
8678
8679 wxPyEndAllowThreads(__tstate);
8680 if (PyErr_Occurred()) SWIG_fail;
8681 }
8682 Py_INCREF(Py_None); resultobj = Py_None;
8683 return resultobj;
8684 fail:
8685 return NULL;
8686 }
8687
8688
8689 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8690 PyObject *resultobj;
8691 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8692 bool result;
8693 PyObject * obj0 = 0 ;
8694 char *kwnames[] = {
8695 (char *) "self", NULL
8696 };
8697
8698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8700 {
8701 PyThreadState* __tstate = wxPyBeginAllowThreads();
8702 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8703
8704 wxPyEndAllowThreads(__tstate);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
8707 resultobj = PyInt_FromLong((long)result);
8708 return resultobj;
8709 fail:
8710 return NULL;
8711 }
8712
8713
8714 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8715 PyObject *obj;
8716 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8717 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8718 Py_INCREF(obj);
8719 return Py_BuildValue((char *)"");
8720 }
8721 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8722 PyObject *resultobj;
8723 wxWindow *arg1 = (wxWindow *) 0 ;
8724 int arg2 = (int) -1 ;
8725 wxString const &arg3_defvalue = wxPyEmptyString ;
8726 wxString *arg3 = (wxString *) &arg3_defvalue ;
8727 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8728 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8729 wxSize const &arg5_defvalue = wxDefaultSize ;
8730 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8731 long arg6 = (long) wxSP_ARROW_KEYS ;
8732 int arg7 = (int) 0 ;
8733 int arg8 = (int) 100 ;
8734 int arg9 = (int) 0 ;
8735 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8736 wxString *arg10 = (wxString *) &arg10_defvalue ;
8737 wxSpinCtrl *result;
8738 bool temp3 = False ;
8739 wxPoint temp4 ;
8740 wxSize temp5 ;
8741 bool temp10 = False ;
8742 PyObject * obj0 = 0 ;
8743 PyObject * obj2 = 0 ;
8744 PyObject * obj3 = 0 ;
8745 PyObject * obj4 = 0 ;
8746 PyObject * obj9 = 0 ;
8747 char *kwnames[] = {
8748 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8749 };
8750
8751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8753 if (obj2) {
8754 {
8755 arg3 = wxString_in_helper(obj2);
8756 if (arg3 == NULL) SWIG_fail;
8757 temp3 = True;
8758 }
8759 }
8760 if (obj3) {
8761 {
8762 arg4 = &temp4;
8763 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8764 }
8765 }
8766 if (obj4) {
8767 {
8768 arg5 = &temp5;
8769 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8770 }
8771 }
8772 if (obj9) {
8773 {
8774 arg10 = wxString_in_helper(obj9);
8775 if (arg10 == NULL) SWIG_fail;
8776 temp10 = True;
8777 }
8778 }
8779 {
8780 PyThreadState* __tstate = wxPyBeginAllowThreads();
8781 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8782
8783 wxPyEndAllowThreads(__tstate);
8784 if (PyErr_Occurred()) SWIG_fail;
8785 }
8786 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8787 {
8788 if (temp3)
8789 delete arg3;
8790 }
8791 {
8792 if (temp10)
8793 delete arg10;
8794 }
8795 return resultobj;
8796 fail:
8797 {
8798 if (temp3)
8799 delete arg3;
8800 }
8801 {
8802 if (temp10)
8803 delete arg10;
8804 }
8805 return NULL;
8806 }
8807
8808
8809 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj;
8811 wxSpinCtrl *result;
8812 char *kwnames[] = {
8813 NULL
8814 };
8815
8816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8817 {
8818 PyThreadState* __tstate = wxPyBeginAllowThreads();
8819 result = (wxSpinCtrl *)new wxSpinCtrl();
8820
8821 wxPyEndAllowThreads(__tstate);
8822 if (PyErr_Occurred()) SWIG_fail;
8823 }
8824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8825 return resultobj;
8826 fail:
8827 return NULL;
8828 }
8829
8830
8831 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8832 PyObject *resultobj;
8833 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8834 wxWindow *arg2 = (wxWindow *) 0 ;
8835 int arg3 = (int) -1 ;
8836 wxString const &arg4_defvalue = wxPyEmptyString ;
8837 wxString *arg4 = (wxString *) &arg4_defvalue ;
8838 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8839 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8840 wxSize const &arg6_defvalue = wxDefaultSize ;
8841 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8842 long arg7 = (long) wxSP_ARROW_KEYS ;
8843 int arg8 = (int) 0 ;
8844 int arg9 = (int) 100 ;
8845 int arg10 = (int) 0 ;
8846 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8847 wxString *arg11 = (wxString *) &arg11_defvalue ;
8848 bool result;
8849 bool temp4 = False ;
8850 wxPoint temp5 ;
8851 wxSize temp6 ;
8852 bool temp11 = False ;
8853 PyObject * obj0 = 0 ;
8854 PyObject * obj1 = 0 ;
8855 PyObject * obj3 = 0 ;
8856 PyObject * obj4 = 0 ;
8857 PyObject * obj5 = 0 ;
8858 PyObject * obj10 = 0 ;
8859 char *kwnames[] = {
8860 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8861 };
8862
8863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8865 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8866 if (obj3) {
8867 {
8868 arg4 = wxString_in_helper(obj3);
8869 if (arg4 == NULL) SWIG_fail;
8870 temp4 = True;
8871 }
8872 }
8873 if (obj4) {
8874 {
8875 arg5 = &temp5;
8876 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8877 }
8878 }
8879 if (obj5) {
8880 {
8881 arg6 = &temp6;
8882 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8883 }
8884 }
8885 if (obj10) {
8886 {
8887 arg11 = wxString_in_helper(obj10);
8888 if (arg11 == NULL) SWIG_fail;
8889 temp11 = True;
8890 }
8891 }
8892 {
8893 PyThreadState* __tstate = wxPyBeginAllowThreads();
8894 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
8895
8896 wxPyEndAllowThreads(__tstate);
8897 if (PyErr_Occurred()) SWIG_fail;
8898 }
8899 resultobj = PyInt_FromLong((long)result);
8900 {
8901 if (temp4)
8902 delete arg4;
8903 }
8904 {
8905 if (temp11)
8906 delete arg11;
8907 }
8908 return resultobj;
8909 fail:
8910 {
8911 if (temp4)
8912 delete arg4;
8913 }
8914 {
8915 if (temp11)
8916 delete arg11;
8917 }
8918 return NULL;
8919 }
8920
8921
8922 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8923 PyObject *resultobj;
8924 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8925 int result;
8926 PyObject * obj0 = 0 ;
8927 char *kwnames[] = {
8928 (char *) "self", NULL
8929 };
8930
8931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
8932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8933 {
8934 PyThreadState* __tstate = wxPyBeginAllowThreads();
8935 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
8936
8937 wxPyEndAllowThreads(__tstate);
8938 if (PyErr_Occurred()) SWIG_fail;
8939 }
8940 resultobj = PyInt_FromLong((long)result);
8941 return resultobj;
8942 fail:
8943 return NULL;
8944 }
8945
8946
8947 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8948 PyObject *resultobj;
8949 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8950 int arg2 ;
8951 PyObject * obj0 = 0 ;
8952 char *kwnames[] = {
8953 (char *) "self",(char *) "value", NULL
8954 };
8955
8956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
8957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8958 {
8959 PyThreadState* __tstate = wxPyBeginAllowThreads();
8960 (arg1)->SetValue(arg2);
8961
8962 wxPyEndAllowThreads(__tstate);
8963 if (PyErr_Occurred()) SWIG_fail;
8964 }
8965 Py_INCREF(Py_None); resultobj = Py_None;
8966 return resultobj;
8967 fail:
8968 return NULL;
8969 }
8970
8971
8972 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
8973 PyObject *resultobj;
8974 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8975 wxString *arg2 = 0 ;
8976 bool temp2 = False ;
8977 PyObject * obj0 = 0 ;
8978 PyObject * obj1 = 0 ;
8979 char *kwnames[] = {
8980 (char *) "self",(char *) "text", NULL
8981 };
8982
8983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
8984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8985 {
8986 arg2 = wxString_in_helper(obj1);
8987 if (arg2 == NULL) SWIG_fail;
8988 temp2 = True;
8989 }
8990 {
8991 PyThreadState* __tstate = wxPyBeginAllowThreads();
8992 (arg1)->SetValue((wxString const &)*arg2);
8993
8994 wxPyEndAllowThreads(__tstate);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 }
8997 Py_INCREF(Py_None); resultobj = Py_None;
8998 {
8999 if (temp2)
9000 delete arg2;
9001 }
9002 return resultobj;
9003 fail:
9004 {
9005 if (temp2)
9006 delete arg2;
9007 }
9008 return NULL;
9009 }
9010
9011
9012 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9013 PyObject *resultobj;
9014 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9015 int arg2 ;
9016 int arg3 ;
9017 PyObject * obj0 = 0 ;
9018 char *kwnames[] = {
9019 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9020 };
9021
9022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9024 {
9025 PyThreadState* __tstate = wxPyBeginAllowThreads();
9026 (arg1)->SetRange(arg2,arg3);
9027
9028 wxPyEndAllowThreads(__tstate);
9029 if (PyErr_Occurred()) SWIG_fail;
9030 }
9031 Py_INCREF(Py_None); resultobj = Py_None;
9032 return resultobj;
9033 fail:
9034 return NULL;
9035 }
9036
9037
9038 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9039 PyObject *resultobj;
9040 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9041 int result;
9042 PyObject * obj0 = 0 ;
9043 char *kwnames[] = {
9044 (char *) "self", NULL
9045 };
9046
9047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9049 {
9050 PyThreadState* __tstate = wxPyBeginAllowThreads();
9051 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9052
9053 wxPyEndAllowThreads(__tstate);
9054 if (PyErr_Occurred()) SWIG_fail;
9055 }
9056 resultobj = PyInt_FromLong((long)result);
9057 return resultobj;
9058 fail:
9059 return NULL;
9060 }
9061
9062
9063 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9064 PyObject *resultobj;
9065 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9066 int result;
9067 PyObject * obj0 = 0 ;
9068 char *kwnames[] = {
9069 (char *) "self", NULL
9070 };
9071
9072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9074 {
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9077
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 resultobj = PyInt_FromLong((long)result);
9082 return resultobj;
9083 fail:
9084 return NULL;
9085 }
9086
9087
9088 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9089 PyObject *resultobj;
9090 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9091 long arg2 ;
9092 long arg3 ;
9093 PyObject * obj0 = 0 ;
9094 char *kwnames[] = {
9095 (char *) "self",(char *) "from",(char *) "to", NULL
9096 };
9097
9098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9100 {
9101 PyThreadState* __tstate = wxPyBeginAllowThreads();
9102 wxSpinCtrl_SetSelection(arg1,arg2,arg3);
9103
9104 wxPyEndAllowThreads(__tstate);
9105 if (PyErr_Occurred()) SWIG_fail;
9106 }
9107 Py_INCREF(Py_None); resultobj = Py_None;
9108 return resultobj;
9109 fail:
9110 return NULL;
9111 }
9112
9113
9114 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9115 PyObject *obj;
9116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9117 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9118 Py_INCREF(obj);
9119 return Py_BuildValue((char *)"");
9120 }
9121 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9122 PyObject *resultobj;
9123 wxWindow *arg1 = (wxWindow *) 0 ;
9124 int arg2 ;
9125 wxString *arg3 = 0 ;
9126 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9127 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9128 wxSize const &arg5_defvalue = wxDefaultSize ;
9129 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9130 int arg6 = (int) 0 ;
9131 wxString *arg7 = (wxString *) NULL ;
9132 int arg8 = (int) 0 ;
9133 long arg9 = (long) wxRA_HORIZONTAL ;
9134 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9135 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9136 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9137 wxString *arg11 = (wxString *) &arg11_defvalue ;
9138 wxRadioBox *result;
9139 bool temp3 = False ;
9140 wxPoint temp4 ;
9141 wxSize temp5 ;
9142 bool temp10 = False ;
9143 PyObject * obj0 = 0 ;
9144 PyObject * obj2 = 0 ;
9145 PyObject * obj3 = 0 ;
9146 PyObject * obj4 = 0 ;
9147 PyObject * obj5 = 0 ;
9148 PyObject * obj8 = 0 ;
9149 PyObject * obj9 = 0 ;
9150 char *kwnames[] = {
9151 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9152 };
9153
9154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9156 {
9157 arg3 = wxString_in_helper(obj2);
9158 if (arg3 == NULL) SWIG_fail;
9159 temp3 = True;
9160 }
9161 if (obj3) {
9162 {
9163 arg4 = &temp4;
9164 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9165 }
9166 }
9167 if (obj4) {
9168 {
9169 arg5 = &temp5;
9170 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9171 }
9172 }
9173 if (obj5) {
9174 {
9175 arg6 = PyList_Size(obj5);
9176 arg7 = wxString_LIST_helper(obj5);
9177 if (arg7 == NULL) SWIG_fail;
9178 }
9179 }
9180 if (obj8) {
9181 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9182 if (arg10 == NULL) {
9183 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9184 }
9185 }
9186 if (obj9) {
9187 {
9188 arg11 = wxString_in_helper(obj9);
9189 if (arg11 == NULL) SWIG_fail;
9190 temp10 = True;
9191 }
9192 }
9193 {
9194 PyThreadState* __tstate = wxPyBeginAllowThreads();
9195 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);
9196
9197 wxPyEndAllowThreads(__tstate);
9198 if (PyErr_Occurred()) SWIG_fail;
9199 }
9200 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9201 {
9202 if (temp3)
9203 delete arg3;
9204 }
9205 {
9206 if (arg7) delete [] arg7;
9207 }
9208 {
9209 if (temp10)
9210 delete arg11;
9211 }
9212 return resultobj;
9213 fail:
9214 {
9215 if (temp3)
9216 delete arg3;
9217 }
9218 {
9219 if (arg7) delete [] arg7;
9220 }
9221 {
9222 if (temp10)
9223 delete arg11;
9224 }
9225 return NULL;
9226 }
9227
9228
9229 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9230 PyObject *resultobj;
9231 wxRadioBox *result;
9232 char *kwnames[] = {
9233 NULL
9234 };
9235
9236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9237 {
9238 PyThreadState* __tstate = wxPyBeginAllowThreads();
9239 result = (wxRadioBox *)new wxRadioBox();
9240
9241 wxPyEndAllowThreads(__tstate);
9242 if (PyErr_Occurred()) SWIG_fail;
9243 }
9244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9245 return resultobj;
9246 fail:
9247 return NULL;
9248 }
9249
9250
9251 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9252 PyObject *resultobj;
9253 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9254 wxWindow *arg2 = (wxWindow *) 0 ;
9255 int arg3 ;
9256 wxString *arg4 = 0 ;
9257 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9258 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9259 wxSize const &arg6_defvalue = wxDefaultSize ;
9260 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9261 int arg7 = (int) 0 ;
9262 wxString *arg8 = (wxString *) NULL ;
9263 int arg9 = (int) 0 ;
9264 long arg10 = (long) wxRA_HORIZONTAL ;
9265 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9266 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9267 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9268 wxString *arg12 = (wxString *) &arg12_defvalue ;
9269 bool result;
9270 bool temp4 = False ;
9271 wxPoint temp5 ;
9272 wxSize temp6 ;
9273 bool temp11 = False ;
9274 PyObject * obj0 = 0 ;
9275 PyObject * obj1 = 0 ;
9276 PyObject * obj3 = 0 ;
9277 PyObject * obj4 = 0 ;
9278 PyObject * obj5 = 0 ;
9279 PyObject * obj6 = 0 ;
9280 PyObject * obj9 = 0 ;
9281 PyObject * obj10 = 0 ;
9282 char *kwnames[] = {
9283 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9284 };
9285
9286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9288 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9289 {
9290 arg4 = wxString_in_helper(obj3);
9291 if (arg4 == NULL) SWIG_fail;
9292 temp4 = True;
9293 }
9294 if (obj4) {
9295 {
9296 arg5 = &temp5;
9297 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9298 }
9299 }
9300 if (obj5) {
9301 {
9302 arg6 = &temp6;
9303 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9304 }
9305 }
9306 if (obj6) {
9307 {
9308 arg7 = PyList_Size(obj6);
9309 arg8 = wxString_LIST_helper(obj6);
9310 if (arg8 == NULL) SWIG_fail;
9311 }
9312 }
9313 if (obj9) {
9314 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9315 if (arg11 == NULL) {
9316 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9317 }
9318 }
9319 if (obj10) {
9320 {
9321 arg12 = wxString_in_helper(obj10);
9322 if (arg12 == NULL) SWIG_fail;
9323 temp11 = True;
9324 }
9325 }
9326 {
9327 PyThreadState* __tstate = wxPyBeginAllowThreads();
9328 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);
9329
9330 wxPyEndAllowThreads(__tstate);
9331 if (PyErr_Occurred()) SWIG_fail;
9332 }
9333 resultobj = PyInt_FromLong((long)result);
9334 {
9335 if (temp4)
9336 delete arg4;
9337 }
9338 {
9339 if (arg8) delete [] arg8;
9340 }
9341 {
9342 if (temp11)
9343 delete arg12;
9344 }
9345 return resultobj;
9346 fail:
9347 {
9348 if (temp4)
9349 delete arg4;
9350 }
9351 {
9352 if (arg8) delete [] arg8;
9353 }
9354 {
9355 if (temp11)
9356 delete arg12;
9357 }
9358 return NULL;
9359 }
9360
9361
9362 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9363 PyObject *resultobj;
9364 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9365 int arg2 ;
9366 PyObject * obj0 = 0 ;
9367 char *kwnames[] = {
9368 (char *) "self",(char *) "n", NULL
9369 };
9370
9371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9373 {
9374 PyThreadState* __tstate = wxPyBeginAllowThreads();
9375 (arg1)->SetSelection(arg2);
9376
9377 wxPyEndAllowThreads(__tstate);
9378 if (PyErr_Occurred()) SWIG_fail;
9379 }
9380 Py_INCREF(Py_None); resultobj = Py_None;
9381 return resultobj;
9382 fail:
9383 return NULL;
9384 }
9385
9386
9387 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9388 PyObject *resultobj;
9389 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9390 int result;
9391 PyObject * obj0 = 0 ;
9392 char *kwnames[] = {
9393 (char *) "self", NULL
9394 };
9395
9396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9398 {
9399 PyThreadState* __tstate = wxPyBeginAllowThreads();
9400 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9401
9402 wxPyEndAllowThreads(__tstate);
9403 if (PyErr_Occurred()) SWIG_fail;
9404 }
9405 resultobj = PyInt_FromLong((long)result);
9406 return resultobj;
9407 fail:
9408 return NULL;
9409 }
9410
9411
9412 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9413 PyObject *resultobj;
9414 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9415 wxString result;
9416 PyObject * obj0 = 0 ;
9417 char *kwnames[] = {
9418 (char *) "self", NULL
9419 };
9420
9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9423 {
9424 PyThreadState* __tstate = wxPyBeginAllowThreads();
9425 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9426
9427 wxPyEndAllowThreads(__tstate);
9428 if (PyErr_Occurred()) SWIG_fail;
9429 }
9430 {
9431 #if wxUSE_UNICODE
9432 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9433 #else
9434 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9435 #endif
9436 }
9437 return resultobj;
9438 fail:
9439 return NULL;
9440 }
9441
9442
9443 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9444 PyObject *resultobj;
9445 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9446 wxString *arg2 = 0 ;
9447 bool result;
9448 bool temp2 = False ;
9449 PyObject * obj0 = 0 ;
9450 PyObject * obj1 = 0 ;
9451 char *kwnames[] = {
9452 (char *) "self",(char *) "s", NULL
9453 };
9454
9455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9457 {
9458 arg2 = wxString_in_helper(obj1);
9459 if (arg2 == NULL) SWIG_fail;
9460 temp2 = True;
9461 }
9462 {
9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
9464 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9465
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 resultobj = PyInt_FromLong((long)result);
9470 {
9471 if (temp2)
9472 delete arg2;
9473 }
9474 return resultobj;
9475 fail:
9476 {
9477 if (temp2)
9478 delete arg2;
9479 }
9480 return NULL;
9481 }
9482
9483
9484 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9485 PyObject *resultobj;
9486 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9487 int result;
9488 PyObject * obj0 = 0 ;
9489 char *kwnames[] = {
9490 (char *) "self", NULL
9491 };
9492
9493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9495 {
9496 PyThreadState* __tstate = wxPyBeginAllowThreads();
9497 result = (int)((wxRadioBox const *)arg1)->GetCount();
9498
9499 wxPyEndAllowThreads(__tstate);
9500 if (PyErr_Occurred()) SWIG_fail;
9501 }
9502 resultobj = PyInt_FromLong((long)result);
9503 return resultobj;
9504 fail:
9505 return NULL;
9506 }
9507
9508
9509 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9510 PyObject *resultobj;
9511 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9512 wxString *arg2 = 0 ;
9513 int result;
9514 bool temp2 = False ;
9515 PyObject * obj0 = 0 ;
9516 PyObject * obj1 = 0 ;
9517 char *kwnames[] = {
9518 (char *) "self",(char *) "s", NULL
9519 };
9520
9521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9523 {
9524 arg2 = wxString_in_helper(obj1);
9525 if (arg2 == NULL) SWIG_fail;
9526 temp2 = True;
9527 }
9528 {
9529 PyThreadState* __tstate = wxPyBeginAllowThreads();
9530 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9531
9532 wxPyEndAllowThreads(__tstate);
9533 if (PyErr_Occurred()) SWIG_fail;
9534 }
9535 resultobj = PyInt_FromLong((long)result);
9536 {
9537 if (temp2)
9538 delete arg2;
9539 }
9540 return resultobj;
9541 fail:
9542 {
9543 if (temp2)
9544 delete arg2;
9545 }
9546 return NULL;
9547 }
9548
9549
9550 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9551 PyObject *resultobj;
9552 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9553 int arg2 ;
9554 wxString result;
9555 PyObject * obj0 = 0 ;
9556 char *kwnames[] = {
9557 (char *) "self",(char *) "n", NULL
9558 };
9559
9560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9562 {
9563 PyThreadState* __tstate = wxPyBeginAllowThreads();
9564 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9565
9566 wxPyEndAllowThreads(__tstate);
9567 if (PyErr_Occurred()) SWIG_fail;
9568 }
9569 {
9570 #if wxUSE_UNICODE
9571 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9572 #else
9573 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9574 #endif
9575 }
9576 return resultobj;
9577 fail:
9578 return NULL;
9579 }
9580
9581
9582 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9583 PyObject *resultobj;
9584 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9585 int arg2 ;
9586 wxString *arg3 = 0 ;
9587 bool temp3 = False ;
9588 PyObject * obj0 = 0 ;
9589 PyObject * obj2 = 0 ;
9590 char *kwnames[] = {
9591 (char *) "self",(char *) "n",(char *) "label", NULL
9592 };
9593
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9596 {
9597 arg3 = wxString_in_helper(obj2);
9598 if (arg3 == NULL) SWIG_fail;
9599 temp3 = True;
9600 }
9601 {
9602 PyThreadState* __tstate = wxPyBeginAllowThreads();
9603 (arg1)->SetString(arg2,(wxString const &)*arg3);
9604
9605 wxPyEndAllowThreads(__tstate);
9606 if (PyErr_Occurred()) SWIG_fail;
9607 }
9608 Py_INCREF(Py_None); resultobj = Py_None;
9609 {
9610 if (temp3)
9611 delete arg3;
9612 }
9613 return resultobj;
9614 fail:
9615 {
9616 if (temp3)
9617 delete arg3;
9618 }
9619 return NULL;
9620 }
9621
9622
9623 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9624 PyObject *resultobj;
9625 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9626 int arg2 ;
9627 bool arg3 = (bool) True ;
9628 PyObject * obj0 = 0 ;
9629 PyObject * obj2 = 0 ;
9630 char *kwnames[] = {
9631 (char *) "self",(char *) "n",(char *) "enable", NULL
9632 };
9633
9634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9636 if (obj2) {
9637 arg3 = PyInt_AsLong(obj2) ? true : false;
9638 if (PyErr_Occurred()) SWIG_fail;
9639 }
9640 {
9641 PyThreadState* __tstate = wxPyBeginAllowThreads();
9642 (arg1)->Enable(arg2,arg3);
9643
9644 wxPyEndAllowThreads(__tstate);
9645 if (PyErr_Occurred()) SWIG_fail;
9646 }
9647 Py_INCREF(Py_None); resultobj = Py_None;
9648 return resultobj;
9649 fail:
9650 return NULL;
9651 }
9652
9653
9654 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9655 PyObject *resultobj;
9656 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9657 int arg2 ;
9658 bool arg3 = (bool) True ;
9659 PyObject * obj0 = 0 ;
9660 PyObject * obj2 = 0 ;
9661 char *kwnames[] = {
9662 (char *) "self",(char *) "n",(char *) "show", NULL
9663 };
9664
9665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9667 if (obj2) {
9668 arg3 = PyInt_AsLong(obj2) ? true : false;
9669 if (PyErr_Occurred()) SWIG_fail;
9670 }
9671 {
9672 PyThreadState* __tstate = wxPyBeginAllowThreads();
9673 (arg1)->Show(arg2,arg3);
9674
9675 wxPyEndAllowThreads(__tstate);
9676 if (PyErr_Occurred()) SWIG_fail;
9677 }
9678 Py_INCREF(Py_None); resultobj = Py_None;
9679 return resultobj;
9680 fail:
9681 return NULL;
9682 }
9683
9684
9685 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9686 PyObject *resultobj;
9687 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9688 int result;
9689 PyObject * obj0 = 0 ;
9690 char *kwnames[] = {
9691 (char *) "self", NULL
9692 };
9693
9694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9696 {
9697 PyThreadState* __tstate = wxPyBeginAllowThreads();
9698 result = (int)wxRadioBox_GetColumnCount((wxRadioBox const *)arg1);
9699
9700 wxPyEndAllowThreads(__tstate);
9701 if (PyErr_Occurred()) SWIG_fail;
9702 }
9703 resultobj = PyInt_FromLong((long)result);
9704 return resultobj;
9705 fail:
9706 return NULL;
9707 }
9708
9709
9710 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9711 PyObject *resultobj;
9712 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9713 int result;
9714 PyObject * obj0 = 0 ;
9715 char *kwnames[] = {
9716 (char *) "self", NULL
9717 };
9718
9719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9721 {
9722 PyThreadState* __tstate = wxPyBeginAllowThreads();
9723 result = (int)wxRadioBox_GetRowCount((wxRadioBox const *)arg1);
9724
9725 wxPyEndAllowThreads(__tstate);
9726 if (PyErr_Occurred()) SWIG_fail;
9727 }
9728 resultobj = PyInt_FromLong((long)result);
9729 return resultobj;
9730 fail:
9731 return NULL;
9732 }
9733
9734
9735 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9736 PyObject *resultobj;
9737 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9738 int arg2 ;
9739 int arg3 ;
9740 long arg4 ;
9741 int result;
9742 PyObject * obj0 = 0 ;
9743 char *kwnames[] = {
9744 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9745 };
9746
9747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9749 {
9750 PyThreadState* __tstate = wxPyBeginAllowThreads();
9751 result = (int)wxRadioBox_GetNextItem((wxRadioBox const *)arg1,arg2,(wxDirection )arg3,arg4);
9752
9753 wxPyEndAllowThreads(__tstate);
9754 if (PyErr_Occurred()) SWIG_fail;
9755 }
9756 resultobj = PyInt_FromLong((long)result);
9757 return resultobj;
9758 fail:
9759 return NULL;
9760 }
9761
9762
9763 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9764 PyObject *obj;
9765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9766 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9767 Py_INCREF(obj);
9768 return Py_BuildValue((char *)"");
9769 }
9770 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9771 PyObject *resultobj;
9772 wxWindow *arg1 = (wxWindow *) 0 ;
9773 int arg2 ;
9774 wxString *arg3 = 0 ;
9775 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9776 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9777 wxSize const &arg5_defvalue = wxDefaultSize ;
9778 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9779 long arg6 = (long) 0 ;
9780 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9781 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9782 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9783 wxString *arg8 = (wxString *) &arg8_defvalue ;
9784 wxRadioButton *result;
9785 bool temp3 = False ;
9786 wxPoint temp4 ;
9787 wxSize temp5 ;
9788 bool temp8 = False ;
9789 PyObject * obj0 = 0 ;
9790 PyObject * obj2 = 0 ;
9791 PyObject * obj3 = 0 ;
9792 PyObject * obj4 = 0 ;
9793 PyObject * obj6 = 0 ;
9794 PyObject * obj7 = 0 ;
9795 char *kwnames[] = {
9796 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9797 };
9798
9799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9801 {
9802 arg3 = wxString_in_helper(obj2);
9803 if (arg3 == NULL) SWIG_fail;
9804 temp3 = True;
9805 }
9806 if (obj3) {
9807 {
9808 arg4 = &temp4;
9809 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9810 }
9811 }
9812 if (obj4) {
9813 {
9814 arg5 = &temp5;
9815 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9816 }
9817 }
9818 if (obj6) {
9819 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9820 if (arg7 == NULL) {
9821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9822 }
9823 }
9824 if (obj7) {
9825 {
9826 arg8 = wxString_in_helper(obj7);
9827 if (arg8 == NULL) SWIG_fail;
9828 temp8 = True;
9829 }
9830 }
9831 {
9832 PyThreadState* __tstate = wxPyBeginAllowThreads();
9833 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9834
9835 wxPyEndAllowThreads(__tstate);
9836 if (PyErr_Occurred()) SWIG_fail;
9837 }
9838 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9839 {
9840 if (temp3)
9841 delete arg3;
9842 }
9843 {
9844 if (temp8)
9845 delete arg8;
9846 }
9847 return resultobj;
9848 fail:
9849 {
9850 if (temp3)
9851 delete arg3;
9852 }
9853 {
9854 if (temp8)
9855 delete arg8;
9856 }
9857 return NULL;
9858 }
9859
9860
9861 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9862 PyObject *resultobj;
9863 wxRadioButton *result;
9864 char *kwnames[] = {
9865 NULL
9866 };
9867
9868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9869 {
9870 PyThreadState* __tstate = wxPyBeginAllowThreads();
9871 result = (wxRadioButton *)new wxRadioButton();
9872
9873 wxPyEndAllowThreads(__tstate);
9874 if (PyErr_Occurred()) SWIG_fail;
9875 }
9876 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9877 return resultobj;
9878 fail:
9879 return NULL;
9880 }
9881
9882
9883 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9884 PyObject *resultobj;
9885 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9886 wxWindow *arg2 = (wxWindow *) 0 ;
9887 int arg3 ;
9888 wxString *arg4 = 0 ;
9889 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9890 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9891 wxSize const &arg6_defvalue = wxDefaultSize ;
9892 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9893 long arg7 = (long) 0 ;
9894 wxValidator const &arg8_defvalue = wxDefaultValidator ;
9895 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
9896 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
9897 wxString *arg9 = (wxString *) &arg9_defvalue ;
9898 bool result;
9899 bool temp4 = False ;
9900 wxPoint temp5 ;
9901 wxSize temp6 ;
9902 bool temp9 = False ;
9903 PyObject * obj0 = 0 ;
9904 PyObject * obj1 = 0 ;
9905 PyObject * obj3 = 0 ;
9906 PyObject * obj4 = 0 ;
9907 PyObject * obj5 = 0 ;
9908 PyObject * obj7 = 0 ;
9909 PyObject * obj8 = 0 ;
9910 char *kwnames[] = {
9911 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9912 };
9913
9914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
9915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9916 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9917 {
9918 arg4 = wxString_in_helper(obj3);
9919 if (arg4 == NULL) SWIG_fail;
9920 temp4 = True;
9921 }
9922 if (obj4) {
9923 {
9924 arg5 = &temp5;
9925 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9926 }
9927 }
9928 if (obj5) {
9929 {
9930 arg6 = &temp6;
9931 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9932 }
9933 }
9934 if (obj7) {
9935 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9936 if (arg8 == NULL) {
9937 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9938 }
9939 }
9940 if (obj8) {
9941 {
9942 arg9 = wxString_in_helper(obj8);
9943 if (arg9 == NULL) SWIG_fail;
9944 temp9 = True;
9945 }
9946 }
9947 {
9948 PyThreadState* __tstate = wxPyBeginAllowThreads();
9949 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
9950
9951 wxPyEndAllowThreads(__tstate);
9952 if (PyErr_Occurred()) SWIG_fail;
9953 }
9954 resultobj = PyInt_FromLong((long)result);
9955 {
9956 if (temp4)
9957 delete arg4;
9958 }
9959 {
9960 if (temp9)
9961 delete arg9;
9962 }
9963 return resultobj;
9964 fail:
9965 {
9966 if (temp4)
9967 delete arg4;
9968 }
9969 {
9970 if (temp9)
9971 delete arg9;
9972 }
9973 return NULL;
9974 }
9975
9976
9977 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9978 PyObject *resultobj;
9979 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9980 bool result;
9981 PyObject * obj0 = 0 ;
9982 char *kwnames[] = {
9983 (char *) "self", NULL
9984 };
9985
9986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
9987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9988 {
9989 PyThreadState* __tstate = wxPyBeginAllowThreads();
9990 result = (bool)(arg1)->GetValue();
9991
9992 wxPyEndAllowThreads(__tstate);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
9995 resultobj = PyInt_FromLong((long)result);
9996 return resultobj;
9997 fail:
9998 return NULL;
9999 }
10000
10001
10002 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10003 PyObject *resultobj;
10004 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10005 bool arg2 ;
10006 PyObject * obj0 = 0 ;
10007 PyObject * obj1 = 0 ;
10008 char *kwnames[] = {
10009 (char *) "self",(char *) "value", NULL
10010 };
10011
10012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10014 arg2 = PyInt_AsLong(obj1) ? true : false;
10015 if (PyErr_Occurred()) SWIG_fail;
10016 {
10017 PyThreadState* __tstate = wxPyBeginAllowThreads();
10018 (arg1)->SetValue(arg2);
10019
10020 wxPyEndAllowThreads(__tstate);
10021 if (PyErr_Occurred()) SWIG_fail;
10022 }
10023 Py_INCREF(Py_None); resultobj = Py_None;
10024 return resultobj;
10025 fail:
10026 return NULL;
10027 }
10028
10029
10030 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10031 PyObject *obj;
10032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10033 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10034 Py_INCREF(obj);
10035 return Py_BuildValue((char *)"");
10036 }
10037 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10038 PyObject *resultobj;
10039 wxWindow *arg1 = (wxWindow *) 0 ;
10040 int arg2 ;
10041 int arg3 ;
10042 int arg4 ;
10043 int arg5 ;
10044 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10045 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10046 wxSize const &arg7_defvalue = wxDefaultSize ;
10047 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10048 long arg8 = (long) wxSL_HORIZONTAL ;
10049 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10050 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10051 wxString const &arg10_defvalue = wxPySliderNameStr ;
10052 wxString *arg10 = (wxString *) &arg10_defvalue ;
10053 wxSlider *result;
10054 wxPoint temp6 ;
10055 wxSize temp7 ;
10056 bool temp10 = False ;
10057 PyObject * obj0 = 0 ;
10058 PyObject * obj5 = 0 ;
10059 PyObject * obj6 = 0 ;
10060 PyObject * obj8 = 0 ;
10061 PyObject * obj9 = 0 ;
10062 char *kwnames[] = {
10063 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10064 };
10065
10066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10068 if (obj5) {
10069 {
10070 arg6 = &temp6;
10071 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10072 }
10073 }
10074 if (obj6) {
10075 {
10076 arg7 = &temp7;
10077 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10078 }
10079 }
10080 if (obj8) {
10081 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10082 if (arg9 == NULL) {
10083 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10084 }
10085 }
10086 if (obj9) {
10087 {
10088 arg10 = wxString_in_helper(obj9);
10089 if (arg10 == NULL) SWIG_fail;
10090 temp10 = True;
10091 }
10092 }
10093 {
10094 PyThreadState* __tstate = wxPyBeginAllowThreads();
10095 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10096
10097 wxPyEndAllowThreads(__tstate);
10098 if (PyErr_Occurred()) SWIG_fail;
10099 }
10100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10101 {
10102 if (temp10)
10103 delete arg10;
10104 }
10105 return resultobj;
10106 fail:
10107 {
10108 if (temp10)
10109 delete arg10;
10110 }
10111 return NULL;
10112 }
10113
10114
10115 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10116 PyObject *resultobj;
10117 wxSlider *result;
10118 char *kwnames[] = {
10119 NULL
10120 };
10121
10122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10123 {
10124 PyThreadState* __tstate = wxPyBeginAllowThreads();
10125 result = (wxSlider *)new wxSlider();
10126
10127 wxPyEndAllowThreads(__tstate);
10128 if (PyErr_Occurred()) SWIG_fail;
10129 }
10130 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10131 return resultobj;
10132 fail:
10133 return NULL;
10134 }
10135
10136
10137 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10138 PyObject *resultobj;
10139 wxSlider *arg1 = (wxSlider *) 0 ;
10140 wxWindow *arg2 = (wxWindow *) 0 ;
10141 int arg3 ;
10142 int arg4 ;
10143 int arg5 ;
10144 int arg6 ;
10145 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10146 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10147 wxSize const &arg8_defvalue = wxDefaultSize ;
10148 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10149 long arg9 = (long) wxSL_HORIZONTAL ;
10150 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10151 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10152 wxString const &arg11_defvalue = wxPySliderNameStr ;
10153 wxString *arg11 = (wxString *) &arg11_defvalue ;
10154 bool result;
10155 wxPoint temp7 ;
10156 wxSize temp8 ;
10157 bool temp11 = False ;
10158 PyObject * obj0 = 0 ;
10159 PyObject * obj1 = 0 ;
10160 PyObject * obj6 = 0 ;
10161 PyObject * obj7 = 0 ;
10162 PyObject * obj9 = 0 ;
10163 PyObject * obj10 = 0 ;
10164 char *kwnames[] = {
10165 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10166 };
10167
10168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10171 if (obj6) {
10172 {
10173 arg7 = &temp7;
10174 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10175 }
10176 }
10177 if (obj7) {
10178 {
10179 arg8 = &temp8;
10180 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10181 }
10182 }
10183 if (obj9) {
10184 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10185 if (arg10 == NULL) {
10186 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10187 }
10188 }
10189 if (obj10) {
10190 {
10191 arg11 = wxString_in_helper(obj10);
10192 if (arg11 == NULL) SWIG_fail;
10193 temp11 = True;
10194 }
10195 }
10196 {
10197 PyThreadState* __tstate = wxPyBeginAllowThreads();
10198 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10199
10200 wxPyEndAllowThreads(__tstate);
10201 if (PyErr_Occurred()) SWIG_fail;
10202 }
10203 resultobj = PyInt_FromLong((long)result);
10204 {
10205 if (temp11)
10206 delete arg11;
10207 }
10208 return resultobj;
10209 fail:
10210 {
10211 if (temp11)
10212 delete arg11;
10213 }
10214 return NULL;
10215 }
10216
10217
10218 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10219 PyObject *resultobj;
10220 wxSlider *arg1 = (wxSlider *) 0 ;
10221 int result;
10222 PyObject * obj0 = 0 ;
10223 char *kwnames[] = {
10224 (char *) "self", NULL
10225 };
10226
10227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10229 {
10230 PyThreadState* __tstate = wxPyBeginAllowThreads();
10231 result = (int)((wxSlider const *)arg1)->GetValue();
10232
10233 wxPyEndAllowThreads(__tstate);
10234 if (PyErr_Occurred()) SWIG_fail;
10235 }
10236 resultobj = PyInt_FromLong((long)result);
10237 return resultobj;
10238 fail:
10239 return NULL;
10240 }
10241
10242
10243 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10244 PyObject *resultobj;
10245 wxSlider *arg1 = (wxSlider *) 0 ;
10246 int arg2 ;
10247 PyObject * obj0 = 0 ;
10248 char *kwnames[] = {
10249 (char *) "self",(char *) "value", NULL
10250 };
10251
10252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10254 {
10255 PyThreadState* __tstate = wxPyBeginAllowThreads();
10256 (arg1)->SetValue(arg2);
10257
10258 wxPyEndAllowThreads(__tstate);
10259 if (PyErr_Occurred()) SWIG_fail;
10260 }
10261 Py_INCREF(Py_None); resultobj = Py_None;
10262 return resultobj;
10263 fail:
10264 return NULL;
10265 }
10266
10267
10268 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10269 PyObject *resultobj;
10270 wxSlider *arg1 = (wxSlider *) 0 ;
10271 int arg2 ;
10272 int arg3 ;
10273 PyObject * obj0 = 0 ;
10274 char *kwnames[] = {
10275 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10276 };
10277
10278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10280 {
10281 PyThreadState* __tstate = wxPyBeginAllowThreads();
10282 (arg1)->SetRange(arg2,arg3);
10283
10284 wxPyEndAllowThreads(__tstate);
10285 if (PyErr_Occurred()) SWIG_fail;
10286 }
10287 Py_INCREF(Py_None); resultobj = Py_None;
10288 return resultobj;
10289 fail:
10290 return NULL;
10291 }
10292
10293
10294 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10295 PyObject *resultobj;
10296 wxSlider *arg1 = (wxSlider *) 0 ;
10297 int result;
10298 PyObject * obj0 = 0 ;
10299 char *kwnames[] = {
10300 (char *) "self", NULL
10301 };
10302
10303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10305 {
10306 PyThreadState* __tstate = wxPyBeginAllowThreads();
10307 result = (int)((wxSlider const *)arg1)->GetMin();
10308
10309 wxPyEndAllowThreads(__tstate);
10310 if (PyErr_Occurred()) SWIG_fail;
10311 }
10312 resultobj = PyInt_FromLong((long)result);
10313 return resultobj;
10314 fail:
10315 return NULL;
10316 }
10317
10318
10319 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10320 PyObject *resultobj;
10321 wxSlider *arg1 = (wxSlider *) 0 ;
10322 int result;
10323 PyObject * obj0 = 0 ;
10324 char *kwnames[] = {
10325 (char *) "self", NULL
10326 };
10327
10328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10330 {
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
10332 result = (int)((wxSlider const *)arg1)->GetMax();
10333
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 resultobj = PyInt_FromLong((long)result);
10338 return resultobj;
10339 fail:
10340 return NULL;
10341 }
10342
10343
10344 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10345 PyObject *resultobj;
10346 wxSlider *arg1 = (wxSlider *) 0 ;
10347 int arg2 ;
10348 PyObject * obj0 = 0 ;
10349 char *kwnames[] = {
10350 (char *) "self",(char *) "minValue", NULL
10351 };
10352
10353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10355 {
10356 PyThreadState* __tstate = wxPyBeginAllowThreads();
10357 (arg1)->SetMin(arg2);
10358
10359 wxPyEndAllowThreads(__tstate);
10360 if (PyErr_Occurred()) SWIG_fail;
10361 }
10362 Py_INCREF(Py_None); resultobj = Py_None;
10363 return resultobj;
10364 fail:
10365 return NULL;
10366 }
10367
10368
10369 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10370 PyObject *resultobj;
10371 wxSlider *arg1 = (wxSlider *) 0 ;
10372 int arg2 ;
10373 PyObject * obj0 = 0 ;
10374 char *kwnames[] = {
10375 (char *) "self",(char *) "maxValue", NULL
10376 };
10377
10378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10380 {
10381 PyThreadState* __tstate = wxPyBeginAllowThreads();
10382 (arg1)->SetMax(arg2);
10383
10384 wxPyEndAllowThreads(__tstate);
10385 if (PyErr_Occurred()) SWIG_fail;
10386 }
10387 Py_INCREF(Py_None); resultobj = Py_None;
10388 return resultobj;
10389 fail:
10390 return NULL;
10391 }
10392
10393
10394 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10395 PyObject *resultobj;
10396 wxSlider *arg1 = (wxSlider *) 0 ;
10397 int arg2 ;
10398 PyObject * obj0 = 0 ;
10399 char *kwnames[] = {
10400 (char *) "self",(char *) "lineSize", NULL
10401 };
10402
10403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10405 {
10406 PyThreadState* __tstate = wxPyBeginAllowThreads();
10407 (arg1)->SetLineSize(arg2);
10408
10409 wxPyEndAllowThreads(__tstate);
10410 if (PyErr_Occurred()) SWIG_fail;
10411 }
10412 Py_INCREF(Py_None); resultobj = Py_None;
10413 return resultobj;
10414 fail:
10415 return NULL;
10416 }
10417
10418
10419 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10420 PyObject *resultobj;
10421 wxSlider *arg1 = (wxSlider *) 0 ;
10422 int arg2 ;
10423 PyObject * obj0 = 0 ;
10424 char *kwnames[] = {
10425 (char *) "self",(char *) "pageSize", NULL
10426 };
10427
10428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10430 {
10431 PyThreadState* __tstate = wxPyBeginAllowThreads();
10432 (arg1)->SetPageSize(arg2);
10433
10434 wxPyEndAllowThreads(__tstate);
10435 if (PyErr_Occurred()) SWIG_fail;
10436 }
10437 Py_INCREF(Py_None); resultobj = Py_None;
10438 return resultobj;
10439 fail:
10440 return NULL;
10441 }
10442
10443
10444 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10445 PyObject *resultobj;
10446 wxSlider *arg1 = (wxSlider *) 0 ;
10447 int result;
10448 PyObject * obj0 = 0 ;
10449 char *kwnames[] = {
10450 (char *) "self", NULL
10451 };
10452
10453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10455 {
10456 PyThreadState* __tstate = wxPyBeginAllowThreads();
10457 result = (int)((wxSlider const *)arg1)->GetLineSize();
10458
10459 wxPyEndAllowThreads(__tstate);
10460 if (PyErr_Occurred()) SWIG_fail;
10461 }
10462 resultobj = PyInt_FromLong((long)result);
10463 return resultobj;
10464 fail:
10465 return NULL;
10466 }
10467
10468
10469 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10470 PyObject *resultobj;
10471 wxSlider *arg1 = (wxSlider *) 0 ;
10472 int result;
10473 PyObject * obj0 = 0 ;
10474 char *kwnames[] = {
10475 (char *) "self", NULL
10476 };
10477
10478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10480 {
10481 PyThreadState* __tstate = wxPyBeginAllowThreads();
10482 result = (int)((wxSlider const *)arg1)->GetPageSize();
10483
10484 wxPyEndAllowThreads(__tstate);
10485 if (PyErr_Occurred()) SWIG_fail;
10486 }
10487 resultobj = PyInt_FromLong((long)result);
10488 return resultobj;
10489 fail:
10490 return NULL;
10491 }
10492
10493
10494 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10495 PyObject *resultobj;
10496 wxSlider *arg1 = (wxSlider *) 0 ;
10497 int arg2 ;
10498 PyObject * obj0 = 0 ;
10499 char *kwnames[] = {
10500 (char *) "self",(char *) "lenPixels", NULL
10501 };
10502
10503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10505 {
10506 PyThreadState* __tstate = wxPyBeginAllowThreads();
10507 (arg1)->SetThumbLength(arg2);
10508
10509 wxPyEndAllowThreads(__tstate);
10510 if (PyErr_Occurred()) SWIG_fail;
10511 }
10512 Py_INCREF(Py_None); resultobj = Py_None;
10513 return resultobj;
10514 fail:
10515 return NULL;
10516 }
10517
10518
10519 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10520 PyObject *resultobj;
10521 wxSlider *arg1 = (wxSlider *) 0 ;
10522 int result;
10523 PyObject * obj0 = 0 ;
10524 char *kwnames[] = {
10525 (char *) "self", NULL
10526 };
10527
10528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10533
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 resultobj = PyInt_FromLong((long)result);
10538 return resultobj;
10539 fail:
10540 return NULL;
10541 }
10542
10543
10544 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10545 PyObject *resultobj;
10546 wxSlider *arg1 = (wxSlider *) 0 ;
10547 int arg2 ;
10548 int arg3 ;
10549 PyObject * obj0 = 0 ;
10550 char *kwnames[] = {
10551 (char *) "self",(char *) "n",(char *) "pos", NULL
10552 };
10553
10554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10556 {
10557 PyThreadState* __tstate = wxPyBeginAllowThreads();
10558 (arg1)->SetTickFreq(arg2,arg3);
10559
10560 wxPyEndAllowThreads(__tstate);
10561 if (PyErr_Occurred()) SWIG_fail;
10562 }
10563 Py_INCREF(Py_None); resultobj = Py_None;
10564 return resultobj;
10565 fail:
10566 return NULL;
10567 }
10568
10569
10570 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10571 PyObject *resultobj;
10572 wxSlider *arg1 = (wxSlider *) 0 ;
10573 int result;
10574 PyObject * obj0 = 0 ;
10575 char *kwnames[] = {
10576 (char *) "self", NULL
10577 };
10578
10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10581 {
10582 PyThreadState* __tstate = wxPyBeginAllowThreads();
10583 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10584
10585 wxPyEndAllowThreads(__tstate);
10586 if (PyErr_Occurred()) SWIG_fail;
10587 }
10588 resultobj = PyInt_FromLong((long)result);
10589 return resultobj;
10590 fail:
10591 return NULL;
10592 }
10593
10594
10595 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10596 PyObject *resultobj;
10597 wxSlider *arg1 = (wxSlider *) 0 ;
10598 PyObject * obj0 = 0 ;
10599 char *kwnames[] = {
10600 (char *) "self", NULL
10601 };
10602
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10605 {
10606 PyThreadState* __tstate = wxPyBeginAllowThreads();
10607 (arg1)->ClearTicks();
10608
10609 wxPyEndAllowThreads(__tstate);
10610 if (PyErr_Occurred()) SWIG_fail;
10611 }
10612 Py_INCREF(Py_None); resultobj = Py_None;
10613 return resultobj;
10614 fail:
10615 return NULL;
10616 }
10617
10618
10619 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10620 PyObject *resultobj;
10621 wxSlider *arg1 = (wxSlider *) 0 ;
10622 int arg2 ;
10623 PyObject * obj0 = 0 ;
10624 char *kwnames[] = {
10625 (char *) "self",(char *) "tickPos", NULL
10626 };
10627
10628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10630 {
10631 PyThreadState* __tstate = wxPyBeginAllowThreads();
10632 (arg1)->SetTick(arg2);
10633
10634 wxPyEndAllowThreads(__tstate);
10635 if (PyErr_Occurred()) SWIG_fail;
10636 }
10637 Py_INCREF(Py_None); resultobj = Py_None;
10638 return resultobj;
10639 fail:
10640 return NULL;
10641 }
10642
10643
10644 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10645 PyObject *resultobj;
10646 wxSlider *arg1 = (wxSlider *) 0 ;
10647 PyObject * obj0 = 0 ;
10648 char *kwnames[] = {
10649 (char *) "self", NULL
10650 };
10651
10652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10654 {
10655 PyThreadState* __tstate = wxPyBeginAllowThreads();
10656 (arg1)->ClearSel();
10657
10658 wxPyEndAllowThreads(__tstate);
10659 if (PyErr_Occurred()) SWIG_fail;
10660 }
10661 Py_INCREF(Py_None); resultobj = Py_None;
10662 return resultobj;
10663 fail:
10664 return NULL;
10665 }
10666
10667
10668 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10669 PyObject *resultobj;
10670 wxSlider *arg1 = (wxSlider *) 0 ;
10671 int result;
10672 PyObject * obj0 = 0 ;
10673 char *kwnames[] = {
10674 (char *) "self", NULL
10675 };
10676
10677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10679 {
10680 PyThreadState* __tstate = wxPyBeginAllowThreads();
10681 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10682
10683 wxPyEndAllowThreads(__tstate);
10684 if (PyErr_Occurred()) SWIG_fail;
10685 }
10686 resultobj = PyInt_FromLong((long)result);
10687 return resultobj;
10688 fail:
10689 return NULL;
10690 }
10691
10692
10693 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10694 PyObject *resultobj;
10695 wxSlider *arg1 = (wxSlider *) 0 ;
10696 int result;
10697 PyObject * obj0 = 0 ;
10698 char *kwnames[] = {
10699 (char *) "self", NULL
10700 };
10701
10702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10704 {
10705 PyThreadState* __tstate = wxPyBeginAllowThreads();
10706 result = (int)((wxSlider const *)arg1)->GetSelStart();
10707
10708 wxPyEndAllowThreads(__tstate);
10709 if (PyErr_Occurred()) SWIG_fail;
10710 }
10711 resultobj = PyInt_FromLong((long)result);
10712 return resultobj;
10713 fail:
10714 return NULL;
10715 }
10716
10717
10718 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10719 PyObject *resultobj;
10720 wxSlider *arg1 = (wxSlider *) 0 ;
10721 int arg2 ;
10722 int arg3 ;
10723 PyObject * obj0 = 0 ;
10724 char *kwnames[] = {
10725 (char *) "self",(char *) "min",(char *) "max", NULL
10726 };
10727
10728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10730 {
10731 PyThreadState* __tstate = wxPyBeginAllowThreads();
10732 (arg1)->SetSelection(arg2,arg3);
10733
10734 wxPyEndAllowThreads(__tstate);
10735 if (PyErr_Occurred()) SWIG_fail;
10736 }
10737 Py_INCREF(Py_None); resultobj = Py_None;
10738 return resultobj;
10739 fail:
10740 return NULL;
10741 }
10742
10743
10744 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10745 PyObject *obj;
10746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10747 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10748 Py_INCREF(obj);
10749 return Py_BuildValue((char *)"");
10750 }
10751 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxWindow *arg1 = (wxWindow *) 0 ;
10754 int arg2 ;
10755 wxString *arg3 = 0 ;
10756 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10757 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10758 wxSize const &arg5_defvalue = wxDefaultSize ;
10759 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10760 long arg6 = (long) 0 ;
10761 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10762 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10763 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10764 wxString *arg8 = (wxString *) &arg8_defvalue ;
10765 wxToggleButton *result;
10766 bool temp3 = False ;
10767 wxPoint temp4 ;
10768 wxSize temp5 ;
10769 bool temp8 = False ;
10770 PyObject * obj0 = 0 ;
10771 PyObject * obj2 = 0 ;
10772 PyObject * obj3 = 0 ;
10773 PyObject * obj4 = 0 ;
10774 PyObject * obj6 = 0 ;
10775 PyObject * obj7 = 0 ;
10776 char *kwnames[] = {
10777 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10778 };
10779
10780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10782 {
10783 arg3 = wxString_in_helper(obj2);
10784 if (arg3 == NULL) SWIG_fail;
10785 temp3 = True;
10786 }
10787 if (obj3) {
10788 {
10789 arg4 = &temp4;
10790 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10791 }
10792 }
10793 if (obj4) {
10794 {
10795 arg5 = &temp5;
10796 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10797 }
10798 }
10799 if (obj6) {
10800 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10801 if (arg7 == NULL) {
10802 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10803 }
10804 }
10805 if (obj7) {
10806 {
10807 arg8 = wxString_in_helper(obj7);
10808 if (arg8 == NULL) SWIG_fail;
10809 temp8 = True;
10810 }
10811 }
10812 {
10813 PyThreadState* __tstate = wxPyBeginAllowThreads();
10814 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10815
10816 wxPyEndAllowThreads(__tstate);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 }
10819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10820 {
10821 if (temp3)
10822 delete arg3;
10823 }
10824 {
10825 if (temp8)
10826 delete arg8;
10827 }
10828 return resultobj;
10829 fail:
10830 {
10831 if (temp3)
10832 delete arg3;
10833 }
10834 {
10835 if (temp8)
10836 delete arg8;
10837 }
10838 return NULL;
10839 }
10840
10841
10842 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10843 PyObject *resultobj;
10844 wxToggleButton *result;
10845 char *kwnames[] = {
10846 NULL
10847 };
10848
10849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 result = (wxToggleButton *)new wxToggleButton();
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10858 return resultobj;
10859 fail:
10860 return NULL;
10861 }
10862
10863
10864 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10865 PyObject *resultobj;
10866 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10867 wxWindow *arg2 = (wxWindow *) 0 ;
10868 int arg3 ;
10869 wxString *arg4 = 0 ;
10870 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10871 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10872 wxSize const &arg6_defvalue = wxDefaultSize ;
10873 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10874 long arg7 = (long) 0 ;
10875 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10876 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10877 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
10878 wxString *arg9 = (wxString *) &arg9_defvalue ;
10879 bool result;
10880 bool temp4 = False ;
10881 wxPoint temp5 ;
10882 wxSize temp6 ;
10883 bool temp9 = False ;
10884 PyObject * obj0 = 0 ;
10885 PyObject * obj1 = 0 ;
10886 PyObject * obj3 = 0 ;
10887 PyObject * obj4 = 0 ;
10888 PyObject * obj5 = 0 ;
10889 PyObject * obj7 = 0 ;
10890 PyObject * obj8 = 0 ;
10891 char *kwnames[] = {
10892 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10893 };
10894
10895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10897 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10898 {
10899 arg4 = wxString_in_helper(obj3);
10900 if (arg4 == NULL) SWIG_fail;
10901 temp4 = True;
10902 }
10903 if (obj4) {
10904 {
10905 arg5 = &temp5;
10906 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10907 }
10908 }
10909 if (obj5) {
10910 {
10911 arg6 = &temp6;
10912 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10913 }
10914 }
10915 if (obj7) {
10916 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10917 if (arg8 == NULL) {
10918 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10919 }
10920 }
10921 if (obj8) {
10922 {
10923 arg9 = wxString_in_helper(obj8);
10924 if (arg9 == NULL) SWIG_fail;
10925 temp9 = True;
10926 }
10927 }
10928 {
10929 PyThreadState* __tstate = wxPyBeginAllowThreads();
10930 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10931
10932 wxPyEndAllowThreads(__tstate);
10933 if (PyErr_Occurred()) SWIG_fail;
10934 }
10935 resultobj = PyInt_FromLong((long)result);
10936 {
10937 if (temp4)
10938 delete arg4;
10939 }
10940 {
10941 if (temp9)
10942 delete arg9;
10943 }
10944 return resultobj;
10945 fail:
10946 {
10947 if (temp4)
10948 delete arg4;
10949 }
10950 {
10951 if (temp9)
10952 delete arg9;
10953 }
10954 return NULL;
10955 }
10956
10957
10958 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10959 PyObject *resultobj;
10960 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10961 bool arg2 ;
10962 PyObject * obj0 = 0 ;
10963 PyObject * obj1 = 0 ;
10964 char *kwnames[] = {
10965 (char *) "self",(char *) "value", NULL
10966 };
10967
10968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10970 arg2 = PyInt_AsLong(obj1) ? true : false;
10971 if (PyErr_Occurred()) SWIG_fail;
10972 {
10973 PyThreadState* __tstate = wxPyBeginAllowThreads();
10974 (arg1)->SetValue(arg2);
10975
10976 wxPyEndAllowThreads(__tstate);
10977 if (PyErr_Occurred()) SWIG_fail;
10978 }
10979 Py_INCREF(Py_None); resultobj = Py_None;
10980 return resultobj;
10981 fail:
10982 return NULL;
10983 }
10984
10985
10986 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10987 PyObject *resultobj;
10988 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10989 bool result;
10990 PyObject * obj0 = 0 ;
10991 char *kwnames[] = {
10992 (char *) "self", NULL
10993 };
10994
10995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
10996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10997 {
10998 PyThreadState* __tstate = wxPyBeginAllowThreads();
10999 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11000
11001 wxPyEndAllowThreads(__tstate);
11002 if (PyErr_Occurred()) SWIG_fail;
11003 }
11004 resultobj = PyInt_FromLong((long)result);
11005 return resultobj;
11006 fail:
11007 return NULL;
11008 }
11009
11010
11011 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11012 PyObject *resultobj;
11013 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11014 wxString *arg2 = 0 ;
11015 bool temp2 = False ;
11016 PyObject * obj0 = 0 ;
11017 PyObject * obj1 = 0 ;
11018 char *kwnames[] = {
11019 (char *) "self",(char *) "label", NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11024 {
11025 arg2 = wxString_in_helper(obj1);
11026 if (arg2 == NULL) SWIG_fail;
11027 temp2 = True;
11028 }
11029 {
11030 PyThreadState* __tstate = wxPyBeginAllowThreads();
11031 (arg1)->SetLabel((wxString const &)*arg2);
11032
11033 wxPyEndAllowThreads(__tstate);
11034 if (PyErr_Occurred()) SWIG_fail;
11035 }
11036 Py_INCREF(Py_None); resultobj = Py_None;
11037 {
11038 if (temp2)
11039 delete arg2;
11040 }
11041 return resultobj;
11042 fail:
11043 {
11044 if (temp2)
11045 delete arg2;
11046 }
11047 return NULL;
11048 }
11049
11050
11051 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11052 PyObject *obj;
11053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11054 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11055 Py_INCREF(obj);
11056 return Py_BuildValue((char *)"");
11057 }
11058 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11059 PyObject *resultobj;
11060 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11061 size_t result;
11062 PyObject * obj0 = 0 ;
11063 char *kwnames[] = {
11064 (char *) "self", NULL
11065 };
11066
11067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11069 {
11070 PyThreadState* __tstate = wxPyBeginAllowThreads();
11071 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11072
11073 wxPyEndAllowThreads(__tstate);
11074 if (PyErr_Occurred()) SWIG_fail;
11075 }
11076 resultobj = PyInt_FromLong((long)result);
11077 return resultobj;
11078 fail:
11079 return NULL;
11080 }
11081
11082
11083 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11084 PyObject *resultobj;
11085 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11086 size_t arg2 ;
11087 wxWindow *result;
11088 PyObject * obj0 = 0 ;
11089 PyObject * obj1 = 0 ;
11090 char *kwnames[] = {
11091 (char *) "self",(char *) "n", NULL
11092 };
11093
11094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11096 arg2 = (size_t) PyInt_AsLong(obj1);
11097 if (PyErr_Occurred()) SWIG_fail;
11098 {
11099 PyThreadState* __tstate = wxPyBeginAllowThreads();
11100 result = (wxWindow *)(arg1)->GetPage(arg2);
11101
11102 wxPyEndAllowThreads(__tstate);
11103 if (PyErr_Occurred()) SWIG_fail;
11104 }
11105 {
11106 resultobj = wxPyMake_wxObject(result);
11107 }
11108 return resultobj;
11109 fail:
11110 return NULL;
11111 }
11112
11113
11114 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11115 PyObject *resultobj;
11116 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11117 int result;
11118 PyObject * obj0 = 0 ;
11119 char *kwnames[] = {
11120 (char *) "self", NULL
11121 };
11122
11123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11125 {
11126 PyThreadState* __tstate = wxPyBeginAllowThreads();
11127 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11128
11129 wxPyEndAllowThreads(__tstate);
11130 if (PyErr_Occurred()) SWIG_fail;
11131 }
11132 resultobj = PyInt_FromLong((long)result);
11133 return resultobj;
11134 fail:
11135 return NULL;
11136 }
11137
11138
11139 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11140 PyObject *resultobj;
11141 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11142 size_t arg2 ;
11143 wxString *arg3 = 0 ;
11144 bool result;
11145 bool temp3 = False ;
11146 PyObject * obj0 = 0 ;
11147 PyObject * obj1 = 0 ;
11148 PyObject * obj2 = 0 ;
11149 char *kwnames[] = {
11150 (char *) "self",(char *) "n",(char *) "strText", NULL
11151 };
11152
11153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11155 arg2 = (size_t) PyInt_AsLong(obj1);
11156 if (PyErr_Occurred()) SWIG_fail;
11157 {
11158 arg3 = wxString_in_helper(obj2);
11159 if (arg3 == NULL) SWIG_fail;
11160 temp3 = True;
11161 }
11162 {
11163 PyThreadState* __tstate = wxPyBeginAllowThreads();
11164 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11165
11166 wxPyEndAllowThreads(__tstate);
11167 if (PyErr_Occurred()) SWIG_fail;
11168 }
11169 resultobj = PyInt_FromLong((long)result);
11170 {
11171 if (temp3)
11172 delete arg3;
11173 }
11174 return resultobj;
11175 fail:
11176 {
11177 if (temp3)
11178 delete arg3;
11179 }
11180 return NULL;
11181 }
11182
11183
11184 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11185 PyObject *resultobj;
11186 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11187 size_t arg2 ;
11188 wxString result;
11189 PyObject * obj0 = 0 ;
11190 PyObject * obj1 = 0 ;
11191 char *kwnames[] = {
11192 (char *) "self",(char *) "n", NULL
11193 };
11194
11195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11197 arg2 = (size_t) PyInt_AsLong(obj1);
11198 if (PyErr_Occurred()) SWIG_fail;
11199 {
11200 PyThreadState* __tstate = wxPyBeginAllowThreads();
11201 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11202
11203 wxPyEndAllowThreads(__tstate);
11204 if (PyErr_Occurred()) SWIG_fail;
11205 }
11206 {
11207 #if wxUSE_UNICODE
11208 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11209 #else
11210 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11211 #endif
11212 }
11213 return resultobj;
11214 fail:
11215 return NULL;
11216 }
11217
11218
11219 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj;
11221 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11222 wxImageList *arg2 = (wxImageList *) 0 ;
11223 PyObject * obj0 = 0 ;
11224 PyObject * obj1 = 0 ;
11225 char *kwnames[] = {
11226 (char *) "self",(char *) "imageList", NULL
11227 };
11228
11229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11232 {
11233 PyThreadState* __tstate = wxPyBeginAllowThreads();
11234 (arg1)->SetImageList(arg2);
11235
11236 wxPyEndAllowThreads(__tstate);
11237 if (PyErr_Occurred()) SWIG_fail;
11238 }
11239 Py_INCREF(Py_None); resultobj = Py_None;
11240 return resultobj;
11241 fail:
11242 return NULL;
11243 }
11244
11245
11246 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11247 PyObject *resultobj;
11248 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11249 wxImageList *arg2 = (wxImageList *) 0 ;
11250 PyObject * obj0 = 0 ;
11251 PyObject * obj1 = 0 ;
11252 char *kwnames[] = {
11253 (char *) "self",(char *) "imageList", NULL
11254 };
11255
11256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11259 {
11260 PyThreadState* __tstate = wxPyBeginAllowThreads();
11261 (arg1)->AssignImageList(arg2);
11262
11263 wxPyEndAllowThreads(__tstate);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 Py_INCREF(Py_None); resultobj = Py_None;
11267 return resultobj;
11268 fail:
11269 return NULL;
11270 }
11271
11272
11273 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11274 PyObject *resultobj;
11275 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11276 wxImageList *result;
11277 PyObject * obj0 = 0 ;
11278 char *kwnames[] = {
11279 (char *) "self", NULL
11280 };
11281
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11287
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 {
11292 resultobj = wxPyMake_wxObject(result);
11293 }
11294 return resultobj;
11295 fail:
11296 return NULL;
11297 }
11298
11299
11300 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11301 PyObject *resultobj;
11302 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11303 size_t arg2 ;
11304 int result;
11305 PyObject * obj0 = 0 ;
11306 PyObject * obj1 = 0 ;
11307 char *kwnames[] = {
11308 (char *) "self",(char *) "n", NULL
11309 };
11310
11311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11313 arg2 = (size_t) PyInt_AsLong(obj1);
11314 if (PyErr_Occurred()) SWIG_fail;
11315 {
11316 PyThreadState* __tstate = wxPyBeginAllowThreads();
11317 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11318
11319 wxPyEndAllowThreads(__tstate);
11320 if (PyErr_Occurred()) SWIG_fail;
11321 }
11322 resultobj = PyInt_FromLong((long)result);
11323 return resultobj;
11324 fail:
11325 return NULL;
11326 }
11327
11328
11329 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11330 PyObject *resultobj;
11331 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11332 size_t arg2 ;
11333 int arg3 ;
11334 bool result;
11335 PyObject * obj0 = 0 ;
11336 PyObject * obj1 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "self",(char *) "n",(char *) "imageId", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11343 arg2 = (size_t) PyInt_AsLong(obj1);
11344 if (PyErr_Occurred()) SWIG_fail;
11345 {
11346 PyThreadState* __tstate = wxPyBeginAllowThreads();
11347 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11348
11349 wxPyEndAllowThreads(__tstate);
11350 if (PyErr_Occurred()) SWIG_fail;
11351 }
11352 resultobj = PyInt_FromLong((long)result);
11353 return resultobj;
11354 fail:
11355 return NULL;
11356 }
11357
11358
11359 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11360 PyObject *resultobj;
11361 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11362 wxSize *arg2 = 0 ;
11363 wxSize temp2 ;
11364 PyObject * obj0 = 0 ;
11365 PyObject * obj1 = 0 ;
11366 char *kwnames[] = {
11367 (char *) "self",(char *) "size", NULL
11368 };
11369
11370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11372 {
11373 arg2 = &temp2;
11374 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11375 }
11376 {
11377 PyThreadState* __tstate = wxPyBeginAllowThreads();
11378 (arg1)->SetPageSize((wxSize const &)*arg2);
11379
11380 wxPyEndAllowThreads(__tstate);
11381 if (PyErr_Occurred()) SWIG_fail;
11382 }
11383 Py_INCREF(Py_None); resultobj = Py_None;
11384 return resultobj;
11385 fail:
11386 return NULL;
11387 }
11388
11389
11390 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11391 PyObject *resultobj;
11392 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11393 wxSize *arg2 = 0 ;
11394 wxSize result;
11395 wxSize temp2 ;
11396 PyObject * obj0 = 0 ;
11397 PyObject * obj1 = 0 ;
11398 char *kwnames[] = {
11399 (char *) "self",(char *) "sizePage", NULL
11400 };
11401
11402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11404 {
11405 arg2 = &temp2;
11406 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11407 }
11408 {
11409 PyThreadState* __tstate = wxPyBeginAllowThreads();
11410 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11411
11412 wxPyEndAllowThreads(__tstate);
11413 if (PyErr_Occurred()) SWIG_fail;
11414 }
11415 {
11416 wxSize * resultptr;
11417 resultptr = new wxSize((wxSize &) result);
11418 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11419 }
11420 return resultobj;
11421 fail:
11422 return NULL;
11423 }
11424
11425
11426 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11427 PyObject *resultobj;
11428 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11429 size_t arg2 ;
11430 bool result;
11431 PyObject * obj0 = 0 ;
11432 PyObject * obj1 = 0 ;
11433 char *kwnames[] = {
11434 (char *) "self",(char *) "n", NULL
11435 };
11436
11437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11439 arg2 = (size_t) PyInt_AsLong(obj1);
11440 if (PyErr_Occurred()) SWIG_fail;
11441 {
11442 PyThreadState* __tstate = wxPyBeginAllowThreads();
11443 result = (bool)(arg1)->DeletePage(arg2);
11444
11445 wxPyEndAllowThreads(__tstate);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 }
11448 resultobj = PyInt_FromLong((long)result);
11449 return resultobj;
11450 fail:
11451 return NULL;
11452 }
11453
11454
11455 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11456 PyObject *resultobj;
11457 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11458 size_t arg2 ;
11459 bool result;
11460 PyObject * obj0 = 0 ;
11461 PyObject * obj1 = 0 ;
11462 char *kwnames[] = {
11463 (char *) "self",(char *) "n", NULL
11464 };
11465
11466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11468 arg2 = (size_t) PyInt_AsLong(obj1);
11469 if (PyErr_Occurred()) SWIG_fail;
11470 {
11471 PyThreadState* __tstate = wxPyBeginAllowThreads();
11472 result = (bool)(arg1)->RemovePage(arg2);
11473
11474 wxPyEndAllowThreads(__tstate);
11475 if (PyErr_Occurred()) SWIG_fail;
11476 }
11477 resultobj = PyInt_FromLong((long)result);
11478 return resultobj;
11479 fail:
11480 return NULL;
11481 }
11482
11483
11484 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11485 PyObject *resultobj;
11486 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11487 bool result;
11488 PyObject * obj0 = 0 ;
11489 char *kwnames[] = {
11490 (char *) "self", NULL
11491 };
11492
11493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11495 {
11496 PyThreadState* __tstate = wxPyBeginAllowThreads();
11497 result = (bool)(arg1)->DeleteAllPages();
11498
11499 wxPyEndAllowThreads(__tstate);
11500 if (PyErr_Occurred()) SWIG_fail;
11501 }
11502 resultobj = PyInt_FromLong((long)result);
11503 return resultobj;
11504 fail:
11505 return NULL;
11506 }
11507
11508
11509 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11510 PyObject *resultobj;
11511 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11512 wxWindow *arg2 = (wxWindow *) 0 ;
11513 wxString *arg3 = 0 ;
11514 bool arg4 = (bool) False ;
11515 int arg5 = (int) -1 ;
11516 bool result;
11517 bool temp3 = False ;
11518 PyObject * obj0 = 0 ;
11519 PyObject * obj1 = 0 ;
11520 PyObject * obj2 = 0 ;
11521 PyObject * obj3 = 0 ;
11522 char *kwnames[] = {
11523 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11524 };
11525
11526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11528 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11529 {
11530 arg3 = wxString_in_helper(obj2);
11531 if (arg3 == NULL) SWIG_fail;
11532 temp3 = True;
11533 }
11534 if (obj3) {
11535 arg4 = PyInt_AsLong(obj3) ? true : false;
11536 if (PyErr_Occurred()) SWIG_fail;
11537 }
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11541
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
11545 resultobj = PyInt_FromLong((long)result);
11546 {
11547 if (temp3)
11548 delete arg3;
11549 }
11550 return resultobj;
11551 fail:
11552 {
11553 if (temp3)
11554 delete arg3;
11555 }
11556 return NULL;
11557 }
11558
11559
11560 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11561 PyObject *resultobj;
11562 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11563 size_t arg2 ;
11564 wxWindow *arg3 = (wxWindow *) 0 ;
11565 wxString *arg4 = 0 ;
11566 bool arg5 = (bool) False ;
11567 int arg6 = (int) -1 ;
11568 bool result;
11569 bool temp4 = False ;
11570 PyObject * obj0 = 0 ;
11571 PyObject * obj1 = 0 ;
11572 PyObject * obj2 = 0 ;
11573 PyObject * obj3 = 0 ;
11574 PyObject * obj4 = 0 ;
11575 char *kwnames[] = {
11576 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11577 };
11578
11579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11581 arg2 = (size_t) PyInt_AsLong(obj1);
11582 if (PyErr_Occurred()) SWIG_fail;
11583 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11584 {
11585 arg4 = wxString_in_helper(obj3);
11586 if (arg4 == NULL) SWIG_fail;
11587 temp4 = True;
11588 }
11589 if (obj4) {
11590 arg5 = PyInt_AsLong(obj4) ? true : false;
11591 if (PyErr_Occurred()) SWIG_fail;
11592 }
11593 {
11594 PyThreadState* __tstate = wxPyBeginAllowThreads();
11595 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11596
11597 wxPyEndAllowThreads(__tstate);
11598 if (PyErr_Occurred()) SWIG_fail;
11599 }
11600 resultobj = PyInt_FromLong((long)result);
11601 {
11602 if (temp4)
11603 delete arg4;
11604 }
11605 return resultobj;
11606 fail:
11607 {
11608 if (temp4)
11609 delete arg4;
11610 }
11611 return NULL;
11612 }
11613
11614
11615 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11616 PyObject *resultobj;
11617 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11618 size_t arg2 ;
11619 int result;
11620 PyObject * obj0 = 0 ;
11621 PyObject * obj1 = 0 ;
11622 char *kwnames[] = {
11623 (char *) "self",(char *) "n", NULL
11624 };
11625
11626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11628 arg2 = (size_t) PyInt_AsLong(obj1);
11629 if (PyErr_Occurred()) SWIG_fail;
11630 {
11631 PyThreadState* __tstate = wxPyBeginAllowThreads();
11632 result = (int)(arg1)->SetSelection(arg2);
11633
11634 wxPyEndAllowThreads(__tstate);
11635 if (PyErr_Occurred()) SWIG_fail;
11636 }
11637 resultobj = PyInt_FromLong((long)result);
11638 return resultobj;
11639 fail:
11640 return NULL;
11641 }
11642
11643
11644 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11645 PyObject *resultobj;
11646 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11647 bool arg2 = (bool) True ;
11648 PyObject * obj0 = 0 ;
11649 PyObject * obj1 = 0 ;
11650 char *kwnames[] = {
11651 (char *) "self",(char *) "forward", NULL
11652 };
11653
11654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11656 if (obj1) {
11657 arg2 = PyInt_AsLong(obj1) ? true : false;
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 {
11661 PyThreadState* __tstate = wxPyBeginAllowThreads();
11662 (arg1)->AdvanceSelection(arg2);
11663
11664 wxPyEndAllowThreads(__tstate);
11665 if (PyErr_Occurred()) SWIG_fail;
11666 }
11667 Py_INCREF(Py_None); resultobj = Py_None;
11668 return resultobj;
11669 fail:
11670 return NULL;
11671 }
11672
11673
11674 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11675 PyObject *obj;
11676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11677 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11678 Py_INCREF(obj);
11679 return Py_BuildValue((char *)"");
11680 }
11681 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11682 PyObject *resultobj;
11683 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11684 int arg2 = (int) 0 ;
11685 int arg3 = (int) -1 ;
11686 int arg4 = (int) -1 ;
11687 wxBookCtrlEvent *result;
11688 char *kwnames[] = {
11689 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11690 };
11691
11692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11693 {
11694 PyThreadState* __tstate = wxPyBeginAllowThreads();
11695 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11696
11697 wxPyEndAllowThreads(__tstate);
11698 if (PyErr_Occurred()) SWIG_fail;
11699 }
11700 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11701 return resultobj;
11702 fail:
11703 return NULL;
11704 }
11705
11706
11707 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11708 PyObject *resultobj;
11709 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11710 int result;
11711 PyObject * obj0 = 0 ;
11712 char *kwnames[] = {
11713 (char *) "self", NULL
11714 };
11715
11716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11718 {
11719 PyThreadState* __tstate = wxPyBeginAllowThreads();
11720 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11721
11722 wxPyEndAllowThreads(__tstate);
11723 if (PyErr_Occurred()) SWIG_fail;
11724 }
11725 resultobj = PyInt_FromLong((long)result);
11726 return resultobj;
11727 fail:
11728 return NULL;
11729 }
11730
11731
11732 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11733 PyObject *resultobj;
11734 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11735 int arg2 ;
11736 PyObject * obj0 = 0 ;
11737 char *kwnames[] = {
11738 (char *) "self",(char *) "nSel", NULL
11739 };
11740
11741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11743 {
11744 PyThreadState* __tstate = wxPyBeginAllowThreads();
11745 (arg1)->SetSelection(arg2);
11746
11747 wxPyEndAllowThreads(__tstate);
11748 if (PyErr_Occurred()) SWIG_fail;
11749 }
11750 Py_INCREF(Py_None); resultobj = Py_None;
11751 return resultobj;
11752 fail:
11753 return NULL;
11754 }
11755
11756
11757 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11758 PyObject *resultobj;
11759 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11760 int result;
11761 PyObject * obj0 = 0 ;
11762 char *kwnames[] = {
11763 (char *) "self", NULL
11764 };
11765
11766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11768 {
11769 PyThreadState* __tstate = wxPyBeginAllowThreads();
11770 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11771
11772 wxPyEndAllowThreads(__tstate);
11773 if (PyErr_Occurred()) SWIG_fail;
11774 }
11775 resultobj = PyInt_FromLong((long)result);
11776 return resultobj;
11777 fail:
11778 return NULL;
11779 }
11780
11781
11782 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11783 PyObject *resultobj;
11784 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11785 int arg2 ;
11786 PyObject * obj0 = 0 ;
11787 char *kwnames[] = {
11788 (char *) "self",(char *) "nOldSel", NULL
11789 };
11790
11791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11793 {
11794 PyThreadState* __tstate = wxPyBeginAllowThreads();
11795 (arg1)->SetOldSelection(arg2);
11796
11797 wxPyEndAllowThreads(__tstate);
11798 if (PyErr_Occurred()) SWIG_fail;
11799 }
11800 Py_INCREF(Py_None); resultobj = Py_None;
11801 return resultobj;
11802 fail:
11803 return NULL;
11804 }
11805
11806
11807 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11808 PyObject *obj;
11809 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11810 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11811 Py_INCREF(obj);
11812 return Py_BuildValue((char *)"");
11813 }
11814 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11815 PyObject *resultobj;
11816 wxWindow *arg1 = (wxWindow *) 0 ;
11817 int arg2 ;
11818 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11819 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11820 wxSize const &arg4_defvalue = wxDefaultSize ;
11821 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11822 long arg5 = (long) 0 ;
11823 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11824 wxString *arg6 = (wxString *) &arg6_defvalue ;
11825 wxNotebook *result;
11826 wxPoint temp3 ;
11827 wxSize temp4 ;
11828 bool temp6 = False ;
11829 PyObject * obj0 = 0 ;
11830 PyObject * obj2 = 0 ;
11831 PyObject * obj3 = 0 ;
11832 PyObject * obj5 = 0 ;
11833 char *kwnames[] = {
11834 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11835 };
11836
11837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11839 if (obj2) {
11840 {
11841 arg3 = &temp3;
11842 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11843 }
11844 }
11845 if (obj3) {
11846 {
11847 arg4 = &temp4;
11848 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11849 }
11850 }
11851 if (obj5) {
11852 {
11853 arg6 = wxString_in_helper(obj5);
11854 if (arg6 == NULL) SWIG_fail;
11855 temp6 = True;
11856 }
11857 }
11858 {
11859 PyThreadState* __tstate = wxPyBeginAllowThreads();
11860 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11861
11862 wxPyEndAllowThreads(__tstate);
11863 if (PyErr_Occurred()) SWIG_fail;
11864 }
11865 {
11866 resultobj = wxPyMake_wxObject(result);
11867 }
11868 {
11869 if (temp6)
11870 delete arg6;
11871 }
11872 return resultobj;
11873 fail:
11874 {
11875 if (temp6)
11876 delete arg6;
11877 }
11878 return NULL;
11879 }
11880
11881
11882 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11883 PyObject *resultobj;
11884 wxNotebook *result;
11885 char *kwnames[] = {
11886 NULL
11887 };
11888
11889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11890 {
11891 PyThreadState* __tstate = wxPyBeginAllowThreads();
11892 result = (wxNotebook *)new wxNotebook();
11893
11894 wxPyEndAllowThreads(__tstate);
11895 if (PyErr_Occurred()) SWIG_fail;
11896 }
11897 {
11898 resultobj = wxPyMake_wxObject(result);
11899 }
11900 return resultobj;
11901 fail:
11902 return NULL;
11903 }
11904
11905
11906 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
11907 PyObject *resultobj;
11908 wxNotebook *arg1 = (wxNotebook *) 0 ;
11909 wxWindow *arg2 = (wxWindow *) 0 ;
11910 int arg3 ;
11911 wxPoint const &arg4_defvalue = wxDefaultPosition ;
11912 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
11913 wxSize const &arg5_defvalue = wxDefaultSize ;
11914 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
11915 long arg6 = (long) 0 ;
11916 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
11917 wxString *arg7 = (wxString *) &arg7_defvalue ;
11918 bool result;
11919 wxPoint temp4 ;
11920 wxSize temp5 ;
11921 bool temp7 = False ;
11922 PyObject * obj0 = 0 ;
11923 PyObject * obj1 = 0 ;
11924 PyObject * obj3 = 0 ;
11925 PyObject * obj4 = 0 ;
11926 PyObject * obj6 = 0 ;
11927 char *kwnames[] = {
11928 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11929 };
11930
11931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
11932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11933 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11934 if (obj3) {
11935 {
11936 arg4 = &temp4;
11937 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
11938 }
11939 }
11940 if (obj4) {
11941 {
11942 arg5 = &temp5;
11943 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
11944 }
11945 }
11946 if (obj6) {
11947 {
11948 arg7 = wxString_in_helper(obj6);
11949 if (arg7 == NULL) SWIG_fail;
11950 temp7 = True;
11951 }
11952 }
11953 {
11954 PyThreadState* __tstate = wxPyBeginAllowThreads();
11955 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
11956
11957 wxPyEndAllowThreads(__tstate);
11958 if (PyErr_Occurred()) SWIG_fail;
11959 }
11960 resultobj = PyInt_FromLong((long)result);
11961 {
11962 if (temp7)
11963 delete arg7;
11964 }
11965 return resultobj;
11966 fail:
11967 {
11968 if (temp7)
11969 delete arg7;
11970 }
11971 return NULL;
11972 }
11973
11974
11975 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11976 PyObject *resultobj;
11977 wxNotebook *arg1 = (wxNotebook *) 0 ;
11978 int result;
11979 PyObject * obj0 = 0 ;
11980 char *kwnames[] = {
11981 (char *) "self", NULL
11982 };
11983
11984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
11985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 result = (int)((wxNotebook const *)arg1)->GetRowCount();
11989
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
11993 resultobj = PyInt_FromLong((long)result);
11994 return resultobj;
11995 fail:
11996 return NULL;
11997 }
11998
11999
12000 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12001 PyObject *resultobj;
12002 wxNotebook *arg1 = (wxNotebook *) 0 ;
12003 wxSize *arg2 = 0 ;
12004 wxSize temp2 ;
12005 PyObject * obj0 = 0 ;
12006 PyObject * obj1 = 0 ;
12007 char *kwnames[] = {
12008 (char *) "self",(char *) "padding", NULL
12009 };
12010
12011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12013 {
12014 arg2 = &temp2;
12015 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12016 }
12017 {
12018 PyThreadState* __tstate = wxPyBeginAllowThreads();
12019 (arg1)->SetPadding((wxSize const &)*arg2);
12020
12021 wxPyEndAllowThreads(__tstate);
12022 if (PyErr_Occurred()) SWIG_fail;
12023 }
12024 Py_INCREF(Py_None); resultobj = Py_None;
12025 return resultobj;
12026 fail:
12027 return NULL;
12028 }
12029
12030
12031 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12032 PyObject *resultobj;
12033 wxNotebook *arg1 = (wxNotebook *) 0 ;
12034 wxSize *arg2 = 0 ;
12035 wxSize temp2 ;
12036 PyObject * obj0 = 0 ;
12037 PyObject * obj1 = 0 ;
12038 char *kwnames[] = {
12039 (char *) "self",(char *) "sz", NULL
12040 };
12041
12042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12044 {
12045 arg2 = &temp2;
12046 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12047 }
12048 {
12049 PyThreadState* __tstate = wxPyBeginAllowThreads();
12050 (arg1)->SetTabSize((wxSize const &)*arg2);
12051
12052 wxPyEndAllowThreads(__tstate);
12053 if (PyErr_Occurred()) SWIG_fail;
12054 }
12055 Py_INCREF(Py_None); resultobj = Py_None;
12056 return resultobj;
12057 fail:
12058 return NULL;
12059 }
12060
12061
12062 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12063 PyObject *resultobj;
12064 wxNotebook *arg1 = (wxNotebook *) 0 ;
12065 wxPoint *arg2 = 0 ;
12066 long *arg3 = (long *) 0 ;
12067 int result;
12068 wxPoint temp2 ;
12069 long temp3 ;
12070 PyObject * obj0 = 0 ;
12071 PyObject * obj1 = 0 ;
12072 char *kwnames[] = {
12073 (char *) "self",(char *) "pt", NULL
12074 };
12075
12076 arg3 = &temp3;
12077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12079 {
12080 arg2 = &temp2;
12081 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12082 }
12083 {
12084 PyThreadState* __tstate = wxPyBeginAllowThreads();
12085 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12086
12087 wxPyEndAllowThreads(__tstate);
12088 if (PyErr_Occurred()) SWIG_fail;
12089 }
12090 resultobj = PyInt_FromLong((long)result);
12091 {
12092 PyObject *o = PyInt_FromLong((long) (*arg3));
12093 resultobj = t_output_helper(resultobj,o);
12094 }
12095 return resultobj;
12096 fail:
12097 return NULL;
12098 }
12099
12100
12101 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12102 PyObject *resultobj;
12103 wxNotebook *arg1 = (wxNotebook *) 0 ;
12104 wxSize *arg2 = 0 ;
12105 wxSize result;
12106 wxSize temp2 ;
12107 PyObject * obj0 = 0 ;
12108 PyObject * obj1 = 0 ;
12109 char *kwnames[] = {
12110 (char *) "self",(char *) "sizePage", NULL
12111 };
12112
12113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12115 {
12116 arg2 = &temp2;
12117 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12118 }
12119 {
12120 PyThreadState* __tstate = wxPyBeginAllowThreads();
12121 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12122
12123 wxPyEndAllowThreads(__tstate);
12124 if (PyErr_Occurred()) SWIG_fail;
12125 }
12126 {
12127 wxSize * resultptr;
12128 resultptr = new wxSize((wxSize &) result);
12129 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12130 }
12131 return resultobj;
12132 fail:
12133 return NULL;
12134 }
12135
12136
12137 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12138 PyObject *obj;
12139 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12140 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12141 Py_INCREF(obj);
12142 return Py_BuildValue((char *)"");
12143 }
12144 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12145 PyObject *resultobj;
12146 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12147 int arg2 = (int) 0 ;
12148 int arg3 = (int) -1 ;
12149 int arg4 = (int) -1 ;
12150 wxNotebookEvent *result;
12151 char *kwnames[] = {
12152 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12153 };
12154
12155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12159
12160 wxPyEndAllowThreads(__tstate);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 }
12163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12164 return resultobj;
12165 fail:
12166 return NULL;
12167 }
12168
12169
12170 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12171 PyObject *obj;
12172 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12173 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12174 Py_INCREF(obj);
12175 return Py_BuildValue((char *)"");
12176 }
12177 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12178 PyObject *resultobj;
12179 wxWindow *arg1 = (wxWindow *) 0 ;
12180 int arg2 ;
12181 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12182 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12183 wxSize const &arg4_defvalue = wxDefaultSize ;
12184 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12185 long arg5 = (long) 0 ;
12186 wxString const &arg6_defvalue = wxPyEmptyString ;
12187 wxString *arg6 = (wxString *) &arg6_defvalue ;
12188 wxListbook *result;
12189 wxPoint temp3 ;
12190 wxSize temp4 ;
12191 bool temp6 = False ;
12192 PyObject * obj0 = 0 ;
12193 PyObject * obj2 = 0 ;
12194 PyObject * obj3 = 0 ;
12195 PyObject * obj5 = 0 ;
12196 char *kwnames[] = {
12197 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12198 };
12199
12200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12202 if (obj2) {
12203 {
12204 arg3 = &temp3;
12205 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12206 }
12207 }
12208 if (obj3) {
12209 {
12210 arg4 = &temp4;
12211 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12212 }
12213 }
12214 if (obj5) {
12215 {
12216 arg6 = wxString_in_helper(obj5);
12217 if (arg6 == NULL) SWIG_fail;
12218 temp6 = True;
12219 }
12220 }
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12224
12225 wxPyEndAllowThreads(__tstate);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
12228 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12229 {
12230 if (temp6)
12231 delete arg6;
12232 }
12233 return resultobj;
12234 fail:
12235 {
12236 if (temp6)
12237 delete arg6;
12238 }
12239 return NULL;
12240 }
12241
12242
12243 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12244 PyObject *resultobj;
12245 wxListbook *result;
12246 char *kwnames[] = {
12247 NULL
12248 };
12249
12250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12251 {
12252 PyThreadState* __tstate = wxPyBeginAllowThreads();
12253 result = (wxListbook *)new wxListbook();
12254
12255 wxPyEndAllowThreads(__tstate);
12256 if (PyErr_Occurred()) SWIG_fail;
12257 }
12258 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12259 return resultobj;
12260 fail:
12261 return NULL;
12262 }
12263
12264
12265 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12266 PyObject *resultobj;
12267 wxListbook *arg1 = (wxListbook *) 0 ;
12268 wxWindow *arg2 = (wxWindow *) 0 ;
12269 int arg3 ;
12270 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12271 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12272 wxSize const &arg5_defvalue = wxDefaultSize ;
12273 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12274 long arg6 = (long) 0 ;
12275 wxString const &arg7_defvalue = wxPyEmptyString ;
12276 wxString *arg7 = (wxString *) &arg7_defvalue ;
12277 bool result;
12278 wxPoint temp4 ;
12279 wxSize temp5 ;
12280 bool temp7 = False ;
12281 PyObject * obj0 = 0 ;
12282 PyObject * obj1 = 0 ;
12283 PyObject * obj3 = 0 ;
12284 PyObject * obj4 = 0 ;
12285 PyObject * obj6 = 0 ;
12286 char *kwnames[] = {
12287 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12288 };
12289
12290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12293 if (obj3) {
12294 {
12295 arg4 = &temp4;
12296 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12297 }
12298 }
12299 if (obj4) {
12300 {
12301 arg5 = &temp5;
12302 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12303 }
12304 }
12305 if (obj6) {
12306 {
12307 arg7 = wxString_in_helper(obj6);
12308 if (arg7 == NULL) SWIG_fail;
12309 temp7 = True;
12310 }
12311 }
12312 {
12313 PyThreadState* __tstate = wxPyBeginAllowThreads();
12314 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12315
12316 wxPyEndAllowThreads(__tstate);
12317 if (PyErr_Occurred()) SWIG_fail;
12318 }
12319 resultobj = PyInt_FromLong((long)result);
12320 {
12321 if (temp7)
12322 delete arg7;
12323 }
12324 return resultobj;
12325 fail:
12326 {
12327 if (temp7)
12328 delete arg7;
12329 }
12330 return NULL;
12331 }
12332
12333
12334 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12335 PyObject *resultobj;
12336 wxListbook *arg1 = (wxListbook *) 0 ;
12337 bool result;
12338 PyObject * obj0 = 0 ;
12339 char *kwnames[] = {
12340 (char *) "self", NULL
12341 };
12342
12343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12345 {
12346 PyThreadState* __tstate = wxPyBeginAllowThreads();
12347 result = (bool)((wxListbook const *)arg1)->IsVertical();
12348
12349 wxPyEndAllowThreads(__tstate);
12350 if (PyErr_Occurred()) SWIG_fail;
12351 }
12352 resultobj = PyInt_FromLong((long)result);
12353 return resultobj;
12354 fail:
12355 return NULL;
12356 }
12357
12358
12359 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12360 PyObject *obj;
12361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12362 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12363 Py_INCREF(obj);
12364 return Py_BuildValue((char *)"");
12365 }
12366 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12367 PyObject *resultobj;
12368 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12369 int arg2 = (int) 0 ;
12370 int arg3 = (int) -1 ;
12371 int arg4 = (int) -1 ;
12372 wxListbookEvent *result;
12373 char *kwnames[] = {
12374 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12375 };
12376
12377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12381
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12386 return resultobj;
12387 fail:
12388 return NULL;
12389 }
12390
12391
12392 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12393 PyObject *obj;
12394 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12395 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12396 Py_INCREF(obj);
12397 return Py_BuildValue((char *)"");
12398 }
12399 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12400 PyObject *resultobj;
12401 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12402 wxBookCtrlSizer *result;
12403 PyObject * obj0 = 0 ;
12404 char *kwnames[] = {
12405 (char *) "nb", NULL
12406 };
12407
12408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12410 {
12411 PyThreadState* __tstate = wxPyBeginAllowThreads();
12412 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12413
12414 wxPyEndAllowThreads(__tstate);
12415 if (PyErr_Occurred()) SWIG_fail;
12416 }
12417 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12418 return resultobj;
12419 fail:
12420 return NULL;
12421 }
12422
12423
12424 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12425 PyObject *resultobj;
12426 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12427 PyObject * obj0 = 0 ;
12428 char *kwnames[] = {
12429 (char *) "self", NULL
12430 };
12431
12432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12434 {
12435 PyThreadState* __tstate = wxPyBeginAllowThreads();
12436 (arg1)->RecalcSizes();
12437
12438 wxPyEndAllowThreads(__tstate);
12439 if (PyErr_Occurred()) SWIG_fail;
12440 }
12441 Py_INCREF(Py_None); resultobj = Py_None;
12442 return resultobj;
12443 fail:
12444 return NULL;
12445 }
12446
12447
12448 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12449 PyObject *resultobj;
12450 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12451 wxSize result;
12452 PyObject * obj0 = 0 ;
12453 char *kwnames[] = {
12454 (char *) "self", NULL
12455 };
12456
12457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12459 {
12460 PyThreadState* __tstate = wxPyBeginAllowThreads();
12461 result = (arg1)->CalcMin();
12462
12463 wxPyEndAllowThreads(__tstate);
12464 if (PyErr_Occurred()) SWIG_fail;
12465 }
12466 {
12467 wxSize * resultptr;
12468 resultptr = new wxSize((wxSize &) result);
12469 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12470 }
12471 return resultobj;
12472 fail:
12473 return NULL;
12474 }
12475
12476
12477 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12478 PyObject *resultobj;
12479 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12480 wxBookCtrl *result;
12481 PyObject * obj0 = 0 ;
12482 char *kwnames[] = {
12483 (char *) "self", NULL
12484 };
12485
12486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12488 {
12489 PyThreadState* __tstate = wxPyBeginAllowThreads();
12490 result = (wxBookCtrl *)(arg1)->GetControl();
12491
12492 wxPyEndAllowThreads(__tstate);
12493 if (PyErr_Occurred()) SWIG_fail;
12494 }
12495 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12496 return resultobj;
12497 fail:
12498 return NULL;
12499 }
12500
12501
12502 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12503 PyObject *obj;
12504 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12505 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12506 Py_INCREF(obj);
12507 return Py_BuildValue((char *)"");
12508 }
12509 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12510 PyObject *resultobj;
12511 wxNotebook *arg1 = (wxNotebook *) 0 ;
12512 wxNotebookSizer *result;
12513 PyObject * obj0 = 0 ;
12514 char *kwnames[] = {
12515 (char *) "nb", NULL
12516 };
12517
12518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12520 {
12521 PyThreadState* __tstate = wxPyBeginAllowThreads();
12522 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12523
12524 wxPyEndAllowThreads(__tstate);
12525 if (PyErr_Occurred()) SWIG_fail;
12526 }
12527 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12528 return resultobj;
12529 fail:
12530 return NULL;
12531 }
12532
12533
12534 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12535 PyObject *resultobj;
12536 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12537 PyObject * obj0 = 0 ;
12538 char *kwnames[] = {
12539 (char *) "self", NULL
12540 };
12541
12542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12544 {
12545 PyThreadState* __tstate = wxPyBeginAllowThreads();
12546 (arg1)->RecalcSizes();
12547
12548 wxPyEndAllowThreads(__tstate);
12549 if (PyErr_Occurred()) SWIG_fail;
12550 }
12551 Py_INCREF(Py_None); resultobj = Py_None;
12552 return resultobj;
12553 fail:
12554 return NULL;
12555 }
12556
12557
12558 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12559 PyObject *resultobj;
12560 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12561 wxSize result;
12562 PyObject * obj0 = 0 ;
12563 char *kwnames[] = {
12564 (char *) "self", NULL
12565 };
12566
12567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12569 {
12570 PyThreadState* __tstate = wxPyBeginAllowThreads();
12571 result = (arg1)->CalcMin();
12572
12573 wxPyEndAllowThreads(__tstate);
12574 if (PyErr_Occurred()) SWIG_fail;
12575 }
12576 {
12577 wxSize * resultptr;
12578 resultptr = new wxSize((wxSize &) result);
12579 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12580 }
12581 return resultobj;
12582 fail:
12583 return NULL;
12584 }
12585
12586
12587 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12588 PyObject *resultobj;
12589 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12590 wxNotebook *result;
12591 PyObject * obj0 = 0 ;
12592 char *kwnames[] = {
12593 (char *) "self", NULL
12594 };
12595
12596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12598 {
12599 PyThreadState* __tstate = wxPyBeginAllowThreads();
12600 result = (wxNotebook *)(arg1)->GetNotebook();
12601
12602 wxPyEndAllowThreads(__tstate);
12603 if (PyErr_Occurred()) SWIG_fail;
12604 }
12605 {
12606 resultobj = wxPyMake_wxObject(result);
12607 }
12608 return resultobj;
12609 fail:
12610 return NULL;
12611 }
12612
12613
12614 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12615 PyObject *obj;
12616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12617 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12618 Py_INCREF(obj);
12619 return Py_BuildValue((char *)"");
12620 }
12621 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12622 PyObject *resultobj;
12623 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12624 int result;
12625 PyObject * obj0 = 0 ;
12626 char *kwnames[] = {
12627 (char *) "self", NULL
12628 };
12629
12630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12632 {
12633 PyThreadState* __tstate = wxPyBeginAllowThreads();
12634 result = (int)(arg1)->GetId();
12635
12636 wxPyEndAllowThreads(__tstate);
12637 if (PyErr_Occurred()) SWIG_fail;
12638 }
12639 resultobj = PyInt_FromLong((long)result);
12640 return resultobj;
12641 fail:
12642 return NULL;
12643 }
12644
12645
12646 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12647 PyObject *resultobj;
12648 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12649 wxControl *result;
12650 PyObject * obj0 = 0 ;
12651 char *kwnames[] = {
12652 (char *) "self", NULL
12653 };
12654
12655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12657 {
12658 PyThreadState* __tstate = wxPyBeginAllowThreads();
12659 result = (wxControl *)(arg1)->GetControl();
12660
12661 wxPyEndAllowThreads(__tstate);
12662 if (PyErr_Occurred()) SWIG_fail;
12663 }
12664 {
12665 resultobj = wxPyMake_wxObject(result);
12666 }
12667 return resultobj;
12668 fail:
12669 return NULL;
12670 }
12671
12672
12673 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12674 PyObject *resultobj;
12675 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12676 wxToolBarBase *result;
12677 PyObject * obj0 = 0 ;
12678 char *kwnames[] = {
12679 (char *) "self", NULL
12680 };
12681
12682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12684 {
12685 PyThreadState* __tstate = wxPyBeginAllowThreads();
12686 result = (wxToolBarBase *)(arg1)->GetToolBar();
12687
12688 wxPyEndAllowThreads(__tstate);
12689 if (PyErr_Occurred()) SWIG_fail;
12690 }
12691 {
12692 resultobj = wxPyMake_wxObject(result);
12693 }
12694 return resultobj;
12695 fail:
12696 return NULL;
12697 }
12698
12699
12700 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12701 PyObject *resultobj;
12702 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12703 int result;
12704 PyObject * obj0 = 0 ;
12705 char *kwnames[] = {
12706 (char *) "self", NULL
12707 };
12708
12709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12711 {
12712 PyThreadState* __tstate = wxPyBeginAllowThreads();
12713 result = (int)(arg1)->IsButton();
12714
12715 wxPyEndAllowThreads(__tstate);
12716 if (PyErr_Occurred()) SWIG_fail;
12717 }
12718 resultobj = PyInt_FromLong((long)result);
12719 return resultobj;
12720 fail:
12721 return NULL;
12722 }
12723
12724
12725 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12726 PyObject *resultobj;
12727 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12728 int result;
12729 PyObject * obj0 = 0 ;
12730 char *kwnames[] = {
12731 (char *) "self", NULL
12732 };
12733
12734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12736 {
12737 PyThreadState* __tstate = wxPyBeginAllowThreads();
12738 result = (int)(arg1)->IsControl();
12739
12740 wxPyEndAllowThreads(__tstate);
12741 if (PyErr_Occurred()) SWIG_fail;
12742 }
12743 resultobj = PyInt_FromLong((long)result);
12744 return resultobj;
12745 fail:
12746 return NULL;
12747 }
12748
12749
12750 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12751 PyObject *resultobj;
12752 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12753 int result;
12754 PyObject * obj0 = 0 ;
12755 char *kwnames[] = {
12756 (char *) "self", NULL
12757 };
12758
12759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12761 {
12762 PyThreadState* __tstate = wxPyBeginAllowThreads();
12763 result = (int)(arg1)->IsSeparator();
12764
12765 wxPyEndAllowThreads(__tstate);
12766 if (PyErr_Occurred()) SWIG_fail;
12767 }
12768 resultobj = PyInt_FromLong((long)result);
12769 return resultobj;
12770 fail:
12771 return NULL;
12772 }
12773
12774
12775 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12776 PyObject *resultobj;
12777 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12778 int result;
12779 PyObject * obj0 = 0 ;
12780 char *kwnames[] = {
12781 (char *) "self", NULL
12782 };
12783
12784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 result = (int)(arg1)->GetStyle();
12789
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 resultobj = PyInt_FromLong((long)result);
12794 return resultobj;
12795 fail:
12796 return NULL;
12797 }
12798
12799
12800 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12801 PyObject *resultobj;
12802 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12803 int result;
12804 PyObject * obj0 = 0 ;
12805 char *kwnames[] = {
12806 (char *) "self", NULL
12807 };
12808
12809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12811 {
12812 PyThreadState* __tstate = wxPyBeginAllowThreads();
12813 result = (int)(arg1)->GetKind();
12814
12815 wxPyEndAllowThreads(__tstate);
12816 if (PyErr_Occurred()) SWIG_fail;
12817 }
12818 resultobj = PyInt_FromLong((long)result);
12819 return resultobj;
12820 fail:
12821 return NULL;
12822 }
12823
12824
12825 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12826 PyObject *resultobj;
12827 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12828 bool result;
12829 PyObject * obj0 = 0 ;
12830 char *kwnames[] = {
12831 (char *) "self", NULL
12832 };
12833
12834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
12835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12836 {
12837 PyThreadState* __tstate = wxPyBeginAllowThreads();
12838 result = (bool)(arg1)->IsEnabled();
12839
12840 wxPyEndAllowThreads(__tstate);
12841 if (PyErr_Occurred()) SWIG_fail;
12842 }
12843 resultobj = PyInt_FromLong((long)result);
12844 return resultobj;
12845 fail:
12846 return NULL;
12847 }
12848
12849
12850 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12851 PyObject *resultobj;
12852 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12853 bool result;
12854 PyObject * obj0 = 0 ;
12855 char *kwnames[] = {
12856 (char *) "self", NULL
12857 };
12858
12859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
12860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12861 {
12862 PyThreadState* __tstate = wxPyBeginAllowThreads();
12863 result = (bool)(arg1)->IsToggled();
12864
12865 wxPyEndAllowThreads(__tstate);
12866 if (PyErr_Occurred()) SWIG_fail;
12867 }
12868 resultobj = PyInt_FromLong((long)result);
12869 return resultobj;
12870 fail:
12871 return NULL;
12872 }
12873
12874
12875 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12876 PyObject *resultobj;
12877 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12878 bool result;
12879 PyObject * obj0 = 0 ;
12880 char *kwnames[] = {
12881 (char *) "self", NULL
12882 };
12883
12884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
12885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12886 {
12887 PyThreadState* __tstate = wxPyBeginAllowThreads();
12888 result = (bool)(arg1)->CanBeToggled();
12889
12890 wxPyEndAllowThreads(__tstate);
12891 if (PyErr_Occurred()) SWIG_fail;
12892 }
12893 resultobj = PyInt_FromLong((long)result);
12894 return resultobj;
12895 fail:
12896 return NULL;
12897 }
12898
12899
12900 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12901 PyObject *resultobj;
12902 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12903 wxBitmap *result;
12904 PyObject * obj0 = 0 ;
12905 char *kwnames[] = {
12906 (char *) "self", NULL
12907 };
12908
12909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
12910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12911 {
12912 PyThreadState* __tstate = wxPyBeginAllowThreads();
12913 {
12914 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
12915 result = (wxBitmap *) &_result_ref;
12916 }
12917
12918 wxPyEndAllowThreads(__tstate);
12919 if (PyErr_Occurred()) SWIG_fail;
12920 }
12921 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12922 return resultobj;
12923 fail:
12924 return NULL;
12925 }
12926
12927
12928 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12929 PyObject *resultobj;
12930 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12931 wxBitmap *result;
12932 PyObject * obj0 = 0 ;
12933 char *kwnames[] = {
12934 (char *) "self", NULL
12935 };
12936
12937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
12938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12939 {
12940 PyThreadState* __tstate = wxPyBeginAllowThreads();
12941 {
12942 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
12943 result = (wxBitmap *) &_result_ref;
12944 }
12945
12946 wxPyEndAllowThreads(__tstate);
12947 if (PyErr_Occurred()) SWIG_fail;
12948 }
12949 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
12950 return resultobj;
12951 fail:
12952 return NULL;
12953 }
12954
12955
12956 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
12957 PyObject *resultobj;
12958 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12959 wxBitmap result;
12960 PyObject * obj0 = 0 ;
12961 char *kwnames[] = {
12962 (char *) "self", NULL
12963 };
12964
12965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
12966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12967 {
12968 PyThreadState* __tstate = wxPyBeginAllowThreads();
12969 result = (arg1)->GetBitmap();
12970
12971 wxPyEndAllowThreads(__tstate);
12972 if (PyErr_Occurred()) SWIG_fail;
12973 }
12974 {
12975 wxBitmap * resultptr;
12976 resultptr = new wxBitmap((wxBitmap &) result);
12977 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
12978 }
12979 return resultobj;
12980 fail:
12981 return NULL;
12982 }
12983
12984
12985 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
12986 PyObject *resultobj;
12987 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12988 wxString result;
12989 PyObject * obj0 = 0 ;
12990 char *kwnames[] = {
12991 (char *) "self", NULL
12992 };
12993
12994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
12995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12996 {
12997 PyThreadState* __tstate = wxPyBeginAllowThreads();
12998 result = (arg1)->GetLabel();
12999
13000 wxPyEndAllowThreads(__tstate);
13001 if (PyErr_Occurred()) SWIG_fail;
13002 }
13003 {
13004 #if wxUSE_UNICODE
13005 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13006 #else
13007 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13008 #endif
13009 }
13010 return resultobj;
13011 fail:
13012 return NULL;
13013 }
13014
13015
13016 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13017 PyObject *resultobj;
13018 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13019 wxString result;
13020 PyObject * obj0 = 0 ;
13021 char *kwnames[] = {
13022 (char *) "self", NULL
13023 };
13024
13025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13027 {
13028 PyThreadState* __tstate = wxPyBeginAllowThreads();
13029 result = (arg1)->GetShortHelp();
13030
13031 wxPyEndAllowThreads(__tstate);
13032 if (PyErr_Occurred()) SWIG_fail;
13033 }
13034 {
13035 #if wxUSE_UNICODE
13036 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13037 #else
13038 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13039 #endif
13040 }
13041 return resultobj;
13042 fail:
13043 return NULL;
13044 }
13045
13046
13047 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13048 PyObject *resultobj;
13049 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13050 wxString result;
13051 PyObject * obj0 = 0 ;
13052 char *kwnames[] = {
13053 (char *) "self", NULL
13054 };
13055
13056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13058 {
13059 PyThreadState* __tstate = wxPyBeginAllowThreads();
13060 result = (arg1)->GetLongHelp();
13061
13062 wxPyEndAllowThreads(__tstate);
13063 if (PyErr_Occurred()) SWIG_fail;
13064 }
13065 {
13066 #if wxUSE_UNICODE
13067 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13068 #else
13069 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13070 #endif
13071 }
13072 return resultobj;
13073 fail:
13074 return NULL;
13075 }
13076
13077
13078 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13079 PyObject *resultobj;
13080 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13081 bool arg2 ;
13082 bool result;
13083 PyObject * obj0 = 0 ;
13084 PyObject * obj1 = 0 ;
13085 char *kwnames[] = {
13086 (char *) "self",(char *) "enable", NULL
13087 };
13088
13089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13091 arg2 = PyInt_AsLong(obj1) ? true : false;
13092 if (PyErr_Occurred()) SWIG_fail;
13093 {
13094 PyThreadState* __tstate = wxPyBeginAllowThreads();
13095 result = (bool)(arg1)->Enable(arg2);
13096
13097 wxPyEndAllowThreads(__tstate);
13098 if (PyErr_Occurred()) SWIG_fail;
13099 }
13100 resultobj = PyInt_FromLong((long)result);
13101 return resultobj;
13102 fail:
13103 return NULL;
13104 }
13105
13106
13107 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13108 PyObject *resultobj;
13109 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13110 PyObject * obj0 = 0 ;
13111 char *kwnames[] = {
13112 (char *) "self", NULL
13113 };
13114
13115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13117 {
13118 PyThreadState* __tstate = wxPyBeginAllowThreads();
13119 (arg1)->Toggle();
13120
13121 wxPyEndAllowThreads(__tstate);
13122 if (PyErr_Occurred()) SWIG_fail;
13123 }
13124 Py_INCREF(Py_None); resultobj = Py_None;
13125 return resultobj;
13126 fail:
13127 return NULL;
13128 }
13129
13130
13131 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13132 PyObject *resultobj;
13133 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13134 bool arg2 ;
13135 bool result;
13136 PyObject * obj0 = 0 ;
13137 PyObject * obj1 = 0 ;
13138 char *kwnames[] = {
13139 (char *) "self",(char *) "toggle", NULL
13140 };
13141
13142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13144 arg2 = PyInt_AsLong(obj1) ? true : false;
13145 if (PyErr_Occurred()) SWIG_fail;
13146 {
13147 PyThreadState* __tstate = wxPyBeginAllowThreads();
13148 result = (bool)(arg1)->SetToggle(arg2);
13149
13150 wxPyEndAllowThreads(__tstate);
13151 if (PyErr_Occurred()) SWIG_fail;
13152 }
13153 resultobj = PyInt_FromLong((long)result);
13154 return resultobj;
13155 fail:
13156 return NULL;
13157 }
13158
13159
13160 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13161 PyObject *resultobj;
13162 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13163 wxString *arg2 = 0 ;
13164 bool result;
13165 bool temp2 = False ;
13166 PyObject * obj0 = 0 ;
13167 PyObject * obj1 = 0 ;
13168 char *kwnames[] = {
13169 (char *) "self",(char *) "help", NULL
13170 };
13171
13172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13174 {
13175 arg2 = wxString_in_helper(obj1);
13176 if (arg2 == NULL) SWIG_fail;
13177 temp2 = True;
13178 }
13179 {
13180 PyThreadState* __tstate = wxPyBeginAllowThreads();
13181 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13182
13183 wxPyEndAllowThreads(__tstate);
13184 if (PyErr_Occurred()) SWIG_fail;
13185 }
13186 resultobj = PyInt_FromLong((long)result);
13187 {
13188 if (temp2)
13189 delete arg2;
13190 }
13191 return resultobj;
13192 fail:
13193 {
13194 if (temp2)
13195 delete arg2;
13196 }
13197 return NULL;
13198 }
13199
13200
13201 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13202 PyObject *resultobj;
13203 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13204 wxString *arg2 = 0 ;
13205 bool result;
13206 bool temp2 = False ;
13207 PyObject * obj0 = 0 ;
13208 PyObject * obj1 = 0 ;
13209 char *kwnames[] = {
13210 (char *) "self",(char *) "help", NULL
13211 };
13212
13213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13215 {
13216 arg2 = wxString_in_helper(obj1);
13217 if (arg2 == NULL) SWIG_fail;
13218 temp2 = True;
13219 }
13220 {
13221 PyThreadState* __tstate = wxPyBeginAllowThreads();
13222 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13223
13224 wxPyEndAllowThreads(__tstate);
13225 if (PyErr_Occurred()) SWIG_fail;
13226 }
13227 resultobj = PyInt_FromLong((long)result);
13228 {
13229 if (temp2)
13230 delete arg2;
13231 }
13232 return resultobj;
13233 fail:
13234 {
13235 if (temp2)
13236 delete arg2;
13237 }
13238 return NULL;
13239 }
13240
13241
13242 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13243 PyObject *resultobj;
13244 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13245 wxBitmap *arg2 = 0 ;
13246 PyObject * obj0 = 0 ;
13247 PyObject * obj1 = 0 ;
13248 char *kwnames[] = {
13249 (char *) "self",(char *) "bmp", NULL
13250 };
13251
13252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13254 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13255 if (arg2 == NULL) {
13256 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13257 }
13258 {
13259 PyThreadState* __tstate = wxPyBeginAllowThreads();
13260 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13261
13262 wxPyEndAllowThreads(__tstate);
13263 if (PyErr_Occurred()) SWIG_fail;
13264 }
13265 Py_INCREF(Py_None); resultobj = Py_None;
13266 return resultobj;
13267 fail:
13268 return NULL;
13269 }
13270
13271
13272 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13273 PyObject *resultobj;
13274 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13275 wxBitmap *arg2 = 0 ;
13276 PyObject * obj0 = 0 ;
13277 PyObject * obj1 = 0 ;
13278 char *kwnames[] = {
13279 (char *) "self",(char *) "bmp", NULL
13280 };
13281
13282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13284 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13285 if (arg2 == NULL) {
13286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13287 }
13288 {
13289 PyThreadState* __tstate = wxPyBeginAllowThreads();
13290 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13291
13292 wxPyEndAllowThreads(__tstate);
13293 if (PyErr_Occurred()) SWIG_fail;
13294 }
13295 Py_INCREF(Py_None); resultobj = Py_None;
13296 return resultobj;
13297 fail:
13298 return NULL;
13299 }
13300
13301
13302 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13303 PyObject *resultobj;
13304 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13305 wxString *arg2 = 0 ;
13306 bool temp2 = False ;
13307 PyObject * obj0 = 0 ;
13308 PyObject * obj1 = 0 ;
13309 char *kwnames[] = {
13310 (char *) "self",(char *) "label", NULL
13311 };
13312
13313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13315 {
13316 arg2 = wxString_in_helper(obj1);
13317 if (arg2 == NULL) SWIG_fail;
13318 temp2 = True;
13319 }
13320 {
13321 PyThreadState* __tstate = wxPyBeginAllowThreads();
13322 (arg1)->SetLabel((wxString const &)*arg2);
13323
13324 wxPyEndAllowThreads(__tstate);
13325 if (PyErr_Occurred()) SWIG_fail;
13326 }
13327 Py_INCREF(Py_None); resultobj = Py_None;
13328 {
13329 if (temp2)
13330 delete arg2;
13331 }
13332 return resultobj;
13333 fail:
13334 {
13335 if (temp2)
13336 delete arg2;
13337 }
13338 return NULL;
13339 }
13340
13341
13342 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13343 PyObject *resultobj;
13344 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13345 PyObject * obj0 = 0 ;
13346 char *kwnames[] = {
13347 (char *) "self", NULL
13348 };
13349
13350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13352 {
13353 PyThreadState* __tstate = wxPyBeginAllowThreads();
13354 (arg1)->Detach();
13355
13356 wxPyEndAllowThreads(__tstate);
13357 if (PyErr_Occurred()) SWIG_fail;
13358 }
13359 Py_INCREF(Py_None); resultobj = Py_None;
13360 return resultobj;
13361 fail:
13362 return NULL;
13363 }
13364
13365
13366 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13367 PyObject *resultobj;
13368 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13369 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13370 PyObject * obj0 = 0 ;
13371 PyObject * obj1 = 0 ;
13372 char *kwnames[] = {
13373 (char *) "self",(char *) "tbar", NULL
13374 };
13375
13376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13378 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13379 {
13380 PyThreadState* __tstate = wxPyBeginAllowThreads();
13381 (arg1)->Attach(arg2);
13382
13383 wxPyEndAllowThreads(__tstate);
13384 if (PyErr_Occurred()) SWIG_fail;
13385 }
13386 Py_INCREF(Py_None); resultobj = Py_None;
13387 return resultobj;
13388 fail:
13389 return NULL;
13390 }
13391
13392
13393 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13394 PyObject *resultobj;
13395 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13396 PyObject *result;
13397 PyObject * obj0 = 0 ;
13398 char *kwnames[] = {
13399 (char *) "self", NULL
13400 };
13401
13402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13404 {
13405 PyThreadState* __tstate = wxPyBeginAllowThreads();
13406 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13407
13408 wxPyEndAllowThreads(__tstate);
13409 if (PyErr_Occurred()) SWIG_fail;
13410 }
13411 resultobj = result;
13412 return resultobj;
13413 fail:
13414 return NULL;
13415 }
13416
13417
13418 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj;
13420 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13421 PyObject *arg2 = (PyObject *) 0 ;
13422 PyObject * obj0 = 0 ;
13423 PyObject * obj1 = 0 ;
13424 char *kwnames[] = {
13425 (char *) "self",(char *) "clientData", NULL
13426 };
13427
13428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13430 arg2 = obj1;
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 wxToolBarToolBase_SetClientData(arg1,arg2);
13434
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 Py_INCREF(Py_None); resultobj = Py_None;
13439 return resultobj;
13440 fail:
13441 return NULL;
13442 }
13443
13444
13445 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13446 PyObject *obj;
13447 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13448 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13449 Py_INCREF(obj);
13450 return Py_BuildValue((char *)"");
13451 }
13452 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13453 PyObject *resultobj;
13454 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13455 int arg2 ;
13456 wxString *arg3 = 0 ;
13457 wxBitmap *arg4 = 0 ;
13458 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13459 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13460 int arg6 = (int) wxITEM_NORMAL ;
13461 wxString const &arg7_defvalue = wxPyEmptyString ;
13462 wxString *arg7 = (wxString *) &arg7_defvalue ;
13463 wxString const &arg8_defvalue = wxPyEmptyString ;
13464 wxString *arg8 = (wxString *) &arg8_defvalue ;
13465 PyObject *arg9 = (PyObject *) NULL ;
13466 wxToolBarToolBase *result;
13467 bool temp3 = False ;
13468 bool temp7 = False ;
13469 bool temp8 = False ;
13470 PyObject * obj0 = 0 ;
13471 PyObject * obj2 = 0 ;
13472 PyObject * obj3 = 0 ;
13473 PyObject * obj4 = 0 ;
13474 PyObject * obj6 = 0 ;
13475 PyObject * obj7 = 0 ;
13476 PyObject * obj8 = 0 ;
13477 char *kwnames[] = {
13478 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13479 };
13480
13481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13483 {
13484 arg3 = wxString_in_helper(obj2);
13485 if (arg3 == NULL) SWIG_fail;
13486 temp3 = True;
13487 }
13488 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13489 if (arg4 == NULL) {
13490 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13491 }
13492 if (obj4) {
13493 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13494 if (arg5 == NULL) {
13495 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13496 }
13497 }
13498 if (obj6) {
13499 {
13500 arg7 = wxString_in_helper(obj6);
13501 if (arg7 == NULL) SWIG_fail;
13502 temp7 = True;
13503 }
13504 }
13505 if (obj7) {
13506 {
13507 arg8 = wxString_in_helper(obj7);
13508 if (arg8 == NULL) SWIG_fail;
13509 temp8 = True;
13510 }
13511 }
13512 if (obj8) {
13513 arg9 = obj8;
13514 }
13515 {
13516 PyThreadState* __tstate = wxPyBeginAllowThreads();
13517 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13518
13519 wxPyEndAllowThreads(__tstate);
13520 if (PyErr_Occurred()) SWIG_fail;
13521 }
13522 {
13523 resultobj = wxPyMake_wxObject(result);
13524 }
13525 {
13526 if (temp3)
13527 delete arg3;
13528 }
13529 {
13530 if (temp7)
13531 delete arg7;
13532 }
13533 {
13534 if (temp8)
13535 delete arg8;
13536 }
13537 return resultobj;
13538 fail:
13539 {
13540 if (temp3)
13541 delete arg3;
13542 }
13543 {
13544 if (temp7)
13545 delete arg7;
13546 }
13547 {
13548 if (temp8)
13549 delete arg8;
13550 }
13551 return NULL;
13552 }
13553
13554
13555 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13556 PyObject *resultobj;
13557 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13558 size_t arg2 ;
13559 int arg3 ;
13560 wxString *arg4 = 0 ;
13561 wxBitmap *arg5 = 0 ;
13562 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13563 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13564 int arg7 = (int) wxITEM_NORMAL ;
13565 wxString const &arg8_defvalue = wxPyEmptyString ;
13566 wxString *arg8 = (wxString *) &arg8_defvalue ;
13567 wxString const &arg9_defvalue = wxPyEmptyString ;
13568 wxString *arg9 = (wxString *) &arg9_defvalue ;
13569 PyObject *arg10 = (PyObject *) NULL ;
13570 wxToolBarToolBase *result;
13571 bool temp4 = False ;
13572 bool temp8 = False ;
13573 bool temp9 = False ;
13574 PyObject * obj0 = 0 ;
13575 PyObject * obj1 = 0 ;
13576 PyObject * obj3 = 0 ;
13577 PyObject * obj4 = 0 ;
13578 PyObject * obj5 = 0 ;
13579 PyObject * obj7 = 0 ;
13580 PyObject * obj8 = 0 ;
13581 PyObject * obj9 = 0 ;
13582 char *kwnames[] = {
13583 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13584 };
13585
13586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13588 arg2 = (size_t) PyInt_AsLong(obj1);
13589 if (PyErr_Occurred()) SWIG_fail;
13590 {
13591 arg4 = wxString_in_helper(obj3);
13592 if (arg4 == NULL) SWIG_fail;
13593 temp4 = True;
13594 }
13595 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13596 if (arg5 == NULL) {
13597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13598 }
13599 if (obj5) {
13600 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13601 if (arg6 == NULL) {
13602 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13603 }
13604 }
13605 if (obj7) {
13606 {
13607 arg8 = wxString_in_helper(obj7);
13608 if (arg8 == NULL) SWIG_fail;
13609 temp8 = True;
13610 }
13611 }
13612 if (obj8) {
13613 {
13614 arg9 = wxString_in_helper(obj8);
13615 if (arg9 == NULL) SWIG_fail;
13616 temp9 = True;
13617 }
13618 }
13619 if (obj9) {
13620 arg10 = obj9;
13621 }
13622 {
13623 PyThreadState* __tstate = wxPyBeginAllowThreads();
13624 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);
13625
13626 wxPyEndAllowThreads(__tstate);
13627 if (PyErr_Occurred()) SWIG_fail;
13628 }
13629 {
13630 resultobj = wxPyMake_wxObject(result);
13631 }
13632 {
13633 if (temp4)
13634 delete arg4;
13635 }
13636 {
13637 if (temp8)
13638 delete arg8;
13639 }
13640 {
13641 if (temp9)
13642 delete arg9;
13643 }
13644 return resultobj;
13645 fail:
13646 {
13647 if (temp4)
13648 delete arg4;
13649 }
13650 {
13651 if (temp8)
13652 delete arg8;
13653 }
13654 {
13655 if (temp9)
13656 delete arg9;
13657 }
13658 return NULL;
13659 }
13660
13661
13662 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13663 PyObject *resultobj;
13664 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13665 wxControl *arg2 = (wxControl *) 0 ;
13666 wxToolBarToolBase *result;
13667 PyObject * obj0 = 0 ;
13668 PyObject * obj1 = 0 ;
13669 char *kwnames[] = {
13670 (char *) "self",(char *) "control", NULL
13671 };
13672
13673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13676 {
13677 PyThreadState* __tstate = wxPyBeginAllowThreads();
13678 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13679
13680 wxPyEndAllowThreads(__tstate);
13681 if (PyErr_Occurred()) SWIG_fail;
13682 }
13683 {
13684 resultobj = wxPyMake_wxObject(result);
13685 }
13686 return resultobj;
13687 fail:
13688 return NULL;
13689 }
13690
13691
13692 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13693 PyObject *resultobj;
13694 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13695 size_t arg2 ;
13696 wxControl *arg3 = (wxControl *) 0 ;
13697 wxToolBarToolBase *result;
13698 PyObject * obj0 = 0 ;
13699 PyObject * obj1 = 0 ;
13700 PyObject * obj2 = 0 ;
13701 char *kwnames[] = {
13702 (char *) "self",(char *) "pos",(char *) "control", NULL
13703 };
13704
13705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13707 arg2 = (size_t) PyInt_AsLong(obj1);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13710 {
13711 PyThreadState* __tstate = wxPyBeginAllowThreads();
13712 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13713
13714 wxPyEndAllowThreads(__tstate);
13715 if (PyErr_Occurred()) SWIG_fail;
13716 }
13717 {
13718 resultobj = wxPyMake_wxObject(result);
13719 }
13720 return resultobj;
13721 fail:
13722 return NULL;
13723 }
13724
13725
13726 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13727 PyObject *resultobj;
13728 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13729 int arg2 ;
13730 wxControl *result;
13731 PyObject * obj0 = 0 ;
13732 char *kwnames[] = {
13733 (char *) "self",(char *) "id", NULL
13734 };
13735
13736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13738 {
13739 PyThreadState* __tstate = wxPyBeginAllowThreads();
13740 result = (wxControl *)(arg1)->FindControl(arg2);
13741
13742 wxPyEndAllowThreads(__tstate);
13743 if (PyErr_Occurred()) SWIG_fail;
13744 }
13745 {
13746 resultobj = wxPyMake_wxObject(result);
13747 }
13748 return resultobj;
13749 fail:
13750 return NULL;
13751 }
13752
13753
13754 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13755 PyObject *resultobj;
13756 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13757 wxToolBarToolBase *result;
13758 PyObject * obj0 = 0 ;
13759 char *kwnames[] = {
13760 (char *) "self", NULL
13761 };
13762
13763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13765 {
13766 PyThreadState* __tstate = wxPyBeginAllowThreads();
13767 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13768
13769 wxPyEndAllowThreads(__tstate);
13770 if (PyErr_Occurred()) SWIG_fail;
13771 }
13772 {
13773 resultobj = wxPyMake_wxObject(result);
13774 }
13775 return resultobj;
13776 fail:
13777 return NULL;
13778 }
13779
13780
13781 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13782 PyObject *resultobj;
13783 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13784 size_t arg2 ;
13785 wxToolBarToolBase *result;
13786 PyObject * obj0 = 0 ;
13787 PyObject * obj1 = 0 ;
13788 char *kwnames[] = {
13789 (char *) "self",(char *) "pos", NULL
13790 };
13791
13792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13794 arg2 = (size_t) PyInt_AsLong(obj1);
13795 if (PyErr_Occurred()) SWIG_fail;
13796 {
13797 PyThreadState* __tstate = wxPyBeginAllowThreads();
13798 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13799
13800 wxPyEndAllowThreads(__tstate);
13801 if (PyErr_Occurred()) SWIG_fail;
13802 }
13803 {
13804 resultobj = wxPyMake_wxObject(result);
13805 }
13806 return resultobj;
13807 fail:
13808 return NULL;
13809 }
13810
13811
13812 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13813 PyObject *resultobj;
13814 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13815 int arg2 ;
13816 wxToolBarToolBase *result;
13817 PyObject * obj0 = 0 ;
13818 char *kwnames[] = {
13819 (char *) "self",(char *) "id", NULL
13820 };
13821
13822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13824 {
13825 PyThreadState* __tstate = wxPyBeginAllowThreads();
13826 result = (wxToolBarToolBase *)(arg1)->RemoveTool(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_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13841 PyObject *resultobj;
13842 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13843 size_t arg2 ;
13844 bool result;
13845 PyObject * obj0 = 0 ;
13846 PyObject * obj1 = 0 ;
13847 char *kwnames[] = {
13848 (char *) "self",(char *) "pos", NULL
13849 };
13850
13851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13853 arg2 = (size_t) PyInt_AsLong(obj1);
13854 if (PyErr_Occurred()) SWIG_fail;
13855 {
13856 PyThreadState* __tstate = wxPyBeginAllowThreads();
13857 result = (bool)(arg1)->DeleteToolByPos(arg2);
13858
13859 wxPyEndAllowThreads(__tstate);
13860 if (PyErr_Occurred()) SWIG_fail;
13861 }
13862 resultobj = PyInt_FromLong((long)result);
13863 return resultobj;
13864 fail:
13865 return NULL;
13866 }
13867
13868
13869 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13870 PyObject *resultobj;
13871 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13872 int arg2 ;
13873 bool result;
13874 PyObject * obj0 = 0 ;
13875 char *kwnames[] = {
13876 (char *) "self",(char *) "id", NULL
13877 };
13878
13879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
13880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13881 {
13882 PyThreadState* __tstate = wxPyBeginAllowThreads();
13883 result = (bool)(arg1)->DeleteTool(arg2);
13884
13885 wxPyEndAllowThreads(__tstate);
13886 if (PyErr_Occurred()) SWIG_fail;
13887 }
13888 resultobj = PyInt_FromLong((long)result);
13889 return resultobj;
13890 fail:
13891 return NULL;
13892 }
13893
13894
13895 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
13896 PyObject *resultobj;
13897 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13898 PyObject * obj0 = 0 ;
13899 char *kwnames[] = {
13900 (char *) "self", NULL
13901 };
13902
13903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
13904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13905 {
13906 PyThreadState* __tstate = wxPyBeginAllowThreads();
13907 (arg1)->ClearTools();
13908
13909 wxPyEndAllowThreads(__tstate);
13910 if (PyErr_Occurred()) SWIG_fail;
13911 }
13912 Py_INCREF(Py_None); resultobj = Py_None;
13913 return resultobj;
13914 fail:
13915 return NULL;
13916 }
13917
13918
13919 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
13920 PyObject *resultobj;
13921 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13922 bool result;
13923 PyObject * obj0 = 0 ;
13924 char *kwnames[] = {
13925 (char *) "self", NULL
13926 };
13927
13928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
13929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13930 {
13931 PyThreadState* __tstate = wxPyBeginAllowThreads();
13932 result = (bool)(arg1)->Realize();
13933
13934 wxPyEndAllowThreads(__tstate);
13935 if (PyErr_Occurred()) SWIG_fail;
13936 }
13937 resultobj = PyInt_FromLong((long)result);
13938 return resultobj;
13939 fail:
13940 return NULL;
13941 }
13942
13943
13944 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13945 PyObject *resultobj;
13946 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13947 int arg2 ;
13948 bool arg3 ;
13949 PyObject * obj0 = 0 ;
13950 PyObject * obj2 = 0 ;
13951 char *kwnames[] = {
13952 (char *) "self",(char *) "id",(char *) "enable", NULL
13953 };
13954
13955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13957 arg3 = PyInt_AsLong(obj2) ? true : false;
13958 if (PyErr_Occurred()) SWIG_fail;
13959 {
13960 PyThreadState* __tstate = wxPyBeginAllowThreads();
13961 (arg1)->EnableTool(arg2,arg3);
13962
13963 wxPyEndAllowThreads(__tstate);
13964 if (PyErr_Occurred()) SWIG_fail;
13965 }
13966 Py_INCREF(Py_None); resultobj = Py_None;
13967 return resultobj;
13968 fail:
13969 return NULL;
13970 }
13971
13972
13973 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13974 PyObject *resultobj;
13975 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13976 int arg2 ;
13977 bool arg3 ;
13978 PyObject * obj0 = 0 ;
13979 PyObject * obj2 = 0 ;
13980 char *kwnames[] = {
13981 (char *) "self",(char *) "id",(char *) "toggle", NULL
13982 };
13983
13984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
13985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13986 arg3 = PyInt_AsLong(obj2) ? true : false;
13987 if (PyErr_Occurred()) SWIG_fail;
13988 {
13989 PyThreadState* __tstate = wxPyBeginAllowThreads();
13990 (arg1)->ToggleTool(arg2,arg3);
13991
13992 wxPyEndAllowThreads(__tstate);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 }
13995 Py_INCREF(Py_None); resultobj = Py_None;
13996 return resultobj;
13997 fail:
13998 return NULL;
13999 }
14000
14001
14002 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14003 PyObject *resultobj;
14004 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14005 int arg2 ;
14006 bool arg3 ;
14007 PyObject * obj0 = 0 ;
14008 PyObject * obj2 = 0 ;
14009 char *kwnames[] = {
14010 (char *) "self",(char *) "id",(char *) "toggle", NULL
14011 };
14012
14013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14015 arg3 = PyInt_AsLong(obj2) ? true : false;
14016 if (PyErr_Occurred()) SWIG_fail;
14017 {
14018 PyThreadState* __tstate = wxPyBeginAllowThreads();
14019 (arg1)->SetToggle(arg2,arg3);
14020
14021 wxPyEndAllowThreads(__tstate);
14022 if (PyErr_Occurred()) SWIG_fail;
14023 }
14024 Py_INCREF(Py_None); resultobj = Py_None;
14025 return resultobj;
14026 fail:
14027 return NULL;
14028 }
14029
14030
14031 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14032 PyObject *resultobj;
14033 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14034 int arg2 ;
14035 PyObject *result;
14036 PyObject * obj0 = 0 ;
14037 char *kwnames[] = {
14038 (char *) "self",(char *) "id", NULL
14039 };
14040
14041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14043 {
14044 PyThreadState* __tstate = wxPyBeginAllowThreads();
14045 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14046
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 resultobj = result;
14051 return resultobj;
14052 fail:
14053 return NULL;
14054 }
14055
14056
14057 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14058 PyObject *resultobj;
14059 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14060 int arg2 ;
14061 PyObject *arg3 = (PyObject *) 0 ;
14062 PyObject * obj0 = 0 ;
14063 PyObject * obj2 = 0 ;
14064 char *kwnames[] = {
14065 (char *) "self",(char *) "id",(char *) "clientData", NULL
14066 };
14067
14068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14070 arg3 = obj2;
14071 {
14072 PyThreadState* __tstate = wxPyBeginAllowThreads();
14073 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14074
14075 wxPyEndAllowThreads(__tstate);
14076 if (PyErr_Occurred()) SWIG_fail;
14077 }
14078 Py_INCREF(Py_None); resultobj = Py_None;
14079 return resultobj;
14080 fail:
14081 return NULL;
14082 }
14083
14084
14085 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14086 PyObject *resultobj;
14087 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14088 int arg2 ;
14089 int result;
14090 PyObject * obj0 = 0 ;
14091 char *kwnames[] = {
14092 (char *) "self",(char *) "id", NULL
14093 };
14094
14095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14097 {
14098 PyThreadState* __tstate = wxPyBeginAllowThreads();
14099 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14100
14101 wxPyEndAllowThreads(__tstate);
14102 if (PyErr_Occurred()) SWIG_fail;
14103 }
14104 resultobj = PyInt_FromLong((long)result);
14105 return resultobj;
14106 fail:
14107 return NULL;
14108 }
14109
14110
14111 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14112 PyObject *resultobj;
14113 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14114 int arg2 ;
14115 bool result;
14116 PyObject * obj0 = 0 ;
14117 char *kwnames[] = {
14118 (char *) "self",(char *) "id", NULL
14119 };
14120
14121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14123 {
14124 PyThreadState* __tstate = wxPyBeginAllowThreads();
14125 result = (bool)(arg1)->GetToolState(arg2);
14126
14127 wxPyEndAllowThreads(__tstate);
14128 if (PyErr_Occurred()) SWIG_fail;
14129 }
14130 resultobj = PyInt_FromLong((long)result);
14131 return resultobj;
14132 fail:
14133 return NULL;
14134 }
14135
14136
14137 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14138 PyObject *resultobj;
14139 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14140 int arg2 ;
14141 bool result;
14142 PyObject * obj0 = 0 ;
14143 char *kwnames[] = {
14144 (char *) "self",(char *) "id", NULL
14145 };
14146
14147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14149 {
14150 PyThreadState* __tstate = wxPyBeginAllowThreads();
14151 result = (bool)(arg1)->GetToolEnabled(arg2);
14152
14153 wxPyEndAllowThreads(__tstate);
14154 if (PyErr_Occurred()) SWIG_fail;
14155 }
14156 resultobj = PyInt_FromLong((long)result);
14157 return resultobj;
14158 fail:
14159 return NULL;
14160 }
14161
14162
14163 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14164 PyObject *resultobj;
14165 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14166 int arg2 ;
14167 wxString *arg3 = 0 ;
14168 bool temp3 = False ;
14169 PyObject * obj0 = 0 ;
14170 PyObject * obj2 = 0 ;
14171 char *kwnames[] = {
14172 (char *) "self",(char *) "id",(char *) "helpString", NULL
14173 };
14174
14175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14177 {
14178 arg3 = wxString_in_helper(obj2);
14179 if (arg3 == NULL) SWIG_fail;
14180 temp3 = True;
14181 }
14182 {
14183 PyThreadState* __tstate = wxPyBeginAllowThreads();
14184 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14185
14186 wxPyEndAllowThreads(__tstate);
14187 if (PyErr_Occurred()) SWIG_fail;
14188 }
14189 Py_INCREF(Py_None); resultobj = Py_None;
14190 {
14191 if (temp3)
14192 delete arg3;
14193 }
14194 return resultobj;
14195 fail:
14196 {
14197 if (temp3)
14198 delete arg3;
14199 }
14200 return NULL;
14201 }
14202
14203
14204 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14205 PyObject *resultobj;
14206 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14207 int arg2 ;
14208 wxString result;
14209 PyObject * obj0 = 0 ;
14210 char *kwnames[] = {
14211 (char *) "self",(char *) "id", NULL
14212 };
14213
14214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14216 {
14217 PyThreadState* __tstate = wxPyBeginAllowThreads();
14218 result = (arg1)->GetToolShortHelp(arg2);
14219
14220 wxPyEndAllowThreads(__tstate);
14221 if (PyErr_Occurred()) SWIG_fail;
14222 }
14223 {
14224 #if wxUSE_UNICODE
14225 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14226 #else
14227 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14228 #endif
14229 }
14230 return resultobj;
14231 fail:
14232 return NULL;
14233 }
14234
14235
14236 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14237 PyObject *resultobj;
14238 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14239 int arg2 ;
14240 wxString *arg3 = 0 ;
14241 bool temp3 = False ;
14242 PyObject * obj0 = 0 ;
14243 PyObject * obj2 = 0 ;
14244 char *kwnames[] = {
14245 (char *) "self",(char *) "id",(char *) "helpString", NULL
14246 };
14247
14248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14250 {
14251 arg3 = wxString_in_helper(obj2);
14252 if (arg3 == NULL) SWIG_fail;
14253 temp3 = True;
14254 }
14255 {
14256 PyThreadState* __tstate = wxPyBeginAllowThreads();
14257 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14258
14259 wxPyEndAllowThreads(__tstate);
14260 if (PyErr_Occurred()) SWIG_fail;
14261 }
14262 Py_INCREF(Py_None); resultobj = Py_None;
14263 {
14264 if (temp3)
14265 delete arg3;
14266 }
14267 return resultobj;
14268 fail:
14269 {
14270 if (temp3)
14271 delete arg3;
14272 }
14273 return NULL;
14274 }
14275
14276
14277 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14278 PyObject *resultobj;
14279 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14280 int arg2 ;
14281 wxString result;
14282 PyObject * obj0 = 0 ;
14283 char *kwnames[] = {
14284 (char *) "self",(char *) "id", NULL
14285 };
14286
14287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14289 {
14290 PyThreadState* __tstate = wxPyBeginAllowThreads();
14291 result = (arg1)->GetToolLongHelp(arg2);
14292
14293 wxPyEndAllowThreads(__tstate);
14294 if (PyErr_Occurred()) SWIG_fail;
14295 }
14296 {
14297 #if wxUSE_UNICODE
14298 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14299 #else
14300 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14301 #endif
14302 }
14303 return resultobj;
14304 fail:
14305 return NULL;
14306 }
14307
14308
14309 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14310 PyObject *resultobj;
14311 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14312 int arg2 ;
14313 int arg3 ;
14314 PyObject * obj0 = 0 ;
14315 char *kwnames[] = {
14316 (char *) "self",(char *) "x",(char *) "y", NULL
14317 };
14318
14319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14321 {
14322 PyThreadState* __tstate = wxPyBeginAllowThreads();
14323 (arg1)->SetMargins(arg2,arg3);
14324
14325 wxPyEndAllowThreads(__tstate);
14326 if (PyErr_Occurred()) SWIG_fail;
14327 }
14328 Py_INCREF(Py_None); resultobj = Py_None;
14329 return resultobj;
14330 fail:
14331 return NULL;
14332 }
14333
14334
14335 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14336 PyObject *resultobj;
14337 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14338 wxSize *arg2 = 0 ;
14339 wxSize temp2 ;
14340 PyObject * obj0 = 0 ;
14341 PyObject * obj1 = 0 ;
14342 char *kwnames[] = {
14343 (char *) "self",(char *) "size", NULL
14344 };
14345
14346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14348 {
14349 arg2 = &temp2;
14350 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14351 }
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 (arg1)->SetMargins((wxSize const &)*arg2);
14355
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 Py_INCREF(Py_None); resultobj = Py_None;
14360 return resultobj;
14361 fail:
14362 return NULL;
14363 }
14364
14365
14366 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14367 PyObject *resultobj;
14368 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14369 int arg2 ;
14370 PyObject * obj0 = 0 ;
14371 char *kwnames[] = {
14372 (char *) "self",(char *) "packing", NULL
14373 };
14374
14375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14377 {
14378 PyThreadState* __tstate = wxPyBeginAllowThreads();
14379 (arg1)->SetToolPacking(arg2);
14380
14381 wxPyEndAllowThreads(__tstate);
14382 if (PyErr_Occurred()) SWIG_fail;
14383 }
14384 Py_INCREF(Py_None); resultobj = Py_None;
14385 return resultobj;
14386 fail:
14387 return NULL;
14388 }
14389
14390
14391 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14392 PyObject *resultobj;
14393 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14394 int arg2 ;
14395 PyObject * obj0 = 0 ;
14396 char *kwnames[] = {
14397 (char *) "self",(char *) "separation", NULL
14398 };
14399
14400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14402 {
14403 PyThreadState* __tstate = wxPyBeginAllowThreads();
14404 (arg1)->SetToolSeparation(arg2);
14405
14406 wxPyEndAllowThreads(__tstate);
14407 if (PyErr_Occurred()) SWIG_fail;
14408 }
14409 Py_INCREF(Py_None); resultobj = Py_None;
14410 return resultobj;
14411 fail:
14412 return NULL;
14413 }
14414
14415
14416 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14417 PyObject *resultobj;
14418 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14419 wxSize result;
14420 PyObject * obj0 = 0 ;
14421 char *kwnames[] = {
14422 (char *) "self", NULL
14423 };
14424
14425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14427 {
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 result = (arg1)->GetToolMargins();
14430
14431 wxPyEndAllowThreads(__tstate);
14432 if (PyErr_Occurred()) SWIG_fail;
14433 }
14434 {
14435 wxSize * resultptr;
14436 resultptr = new wxSize((wxSize &) result);
14437 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14438 }
14439 return resultobj;
14440 fail:
14441 return NULL;
14442 }
14443
14444
14445 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14446 PyObject *resultobj;
14447 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14448 wxSize result;
14449 PyObject * obj0 = 0 ;
14450 char *kwnames[] = {
14451 (char *) "self", NULL
14452 };
14453
14454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14456 {
14457 PyThreadState* __tstate = wxPyBeginAllowThreads();
14458 result = (arg1)->GetMargins();
14459
14460 wxPyEndAllowThreads(__tstate);
14461 if (PyErr_Occurred()) SWIG_fail;
14462 }
14463 {
14464 wxSize * resultptr;
14465 resultptr = new wxSize((wxSize &) result);
14466 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14467 }
14468 return resultobj;
14469 fail:
14470 return NULL;
14471 }
14472
14473
14474 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14475 PyObject *resultobj;
14476 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14477 int result;
14478 PyObject * obj0 = 0 ;
14479 char *kwnames[] = {
14480 (char *) "self", NULL
14481 };
14482
14483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14485 {
14486 PyThreadState* __tstate = wxPyBeginAllowThreads();
14487 result = (int)(arg1)->GetToolPacking();
14488
14489 wxPyEndAllowThreads(__tstate);
14490 if (PyErr_Occurred()) SWIG_fail;
14491 }
14492 resultobj = PyInt_FromLong((long)result);
14493 return resultobj;
14494 fail:
14495 return NULL;
14496 }
14497
14498
14499 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14500 PyObject *resultobj;
14501 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14502 int result;
14503 PyObject * obj0 = 0 ;
14504 char *kwnames[] = {
14505 (char *) "self", NULL
14506 };
14507
14508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14510 {
14511 PyThreadState* __tstate = wxPyBeginAllowThreads();
14512 result = (int)(arg1)->GetToolSeparation();
14513
14514 wxPyEndAllowThreads(__tstate);
14515 if (PyErr_Occurred()) SWIG_fail;
14516 }
14517 resultobj = PyInt_FromLong((long)result);
14518 return resultobj;
14519 fail:
14520 return NULL;
14521 }
14522
14523
14524 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14525 PyObject *resultobj;
14526 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14527 int arg2 ;
14528 PyObject * obj0 = 0 ;
14529 char *kwnames[] = {
14530 (char *) "self",(char *) "nRows", NULL
14531 };
14532
14533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14535 {
14536 PyThreadState* __tstate = wxPyBeginAllowThreads();
14537 (arg1)->SetRows(arg2);
14538
14539 wxPyEndAllowThreads(__tstate);
14540 if (PyErr_Occurred()) SWIG_fail;
14541 }
14542 Py_INCREF(Py_None); resultobj = Py_None;
14543 return resultobj;
14544 fail:
14545 return NULL;
14546 }
14547
14548
14549 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14550 PyObject *resultobj;
14551 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14552 int arg2 ;
14553 int arg3 ;
14554 PyObject * obj0 = 0 ;
14555 char *kwnames[] = {
14556 (char *) "self",(char *) "rows",(char *) "cols", NULL
14557 };
14558
14559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14561 {
14562 PyThreadState* __tstate = wxPyBeginAllowThreads();
14563 (arg1)->SetMaxRowsCols(arg2,arg3);
14564
14565 wxPyEndAllowThreads(__tstate);
14566 if (PyErr_Occurred()) SWIG_fail;
14567 }
14568 Py_INCREF(Py_None); resultobj = Py_None;
14569 return resultobj;
14570 fail:
14571 return NULL;
14572 }
14573
14574
14575 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14576 PyObject *resultobj;
14577 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14578 int result;
14579 PyObject * obj0 = 0 ;
14580 char *kwnames[] = {
14581 (char *) "self", NULL
14582 };
14583
14584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14586 {
14587 PyThreadState* __tstate = wxPyBeginAllowThreads();
14588 result = (int)(arg1)->GetMaxRows();
14589
14590 wxPyEndAllowThreads(__tstate);
14591 if (PyErr_Occurred()) SWIG_fail;
14592 }
14593 resultobj = PyInt_FromLong((long)result);
14594 return resultobj;
14595 fail:
14596 return NULL;
14597 }
14598
14599
14600 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14601 PyObject *resultobj;
14602 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14603 int result;
14604 PyObject * obj0 = 0 ;
14605 char *kwnames[] = {
14606 (char *) "self", NULL
14607 };
14608
14609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14611 {
14612 PyThreadState* __tstate = wxPyBeginAllowThreads();
14613 result = (int)(arg1)->GetMaxCols();
14614
14615 wxPyEndAllowThreads(__tstate);
14616 if (PyErr_Occurred()) SWIG_fail;
14617 }
14618 resultobj = PyInt_FromLong((long)result);
14619 return resultobj;
14620 fail:
14621 return NULL;
14622 }
14623
14624
14625 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14626 PyObject *resultobj;
14627 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14628 wxSize *arg2 = 0 ;
14629 wxSize temp2 ;
14630 PyObject * obj0 = 0 ;
14631 PyObject * obj1 = 0 ;
14632 char *kwnames[] = {
14633 (char *) "self",(char *) "size", NULL
14634 };
14635
14636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14638 {
14639 arg2 = &temp2;
14640 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14641 }
14642 {
14643 PyThreadState* __tstate = wxPyBeginAllowThreads();
14644 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14645
14646 wxPyEndAllowThreads(__tstate);
14647 if (PyErr_Occurred()) SWIG_fail;
14648 }
14649 Py_INCREF(Py_None); resultobj = Py_None;
14650 return resultobj;
14651 fail:
14652 return NULL;
14653 }
14654
14655
14656 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14657 PyObject *resultobj;
14658 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14659 wxSize result;
14660 PyObject * obj0 = 0 ;
14661 char *kwnames[] = {
14662 (char *) "self", NULL
14663 };
14664
14665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14667 {
14668 PyThreadState* __tstate = wxPyBeginAllowThreads();
14669 result = (arg1)->GetToolBitmapSize();
14670
14671 wxPyEndAllowThreads(__tstate);
14672 if (PyErr_Occurred()) SWIG_fail;
14673 }
14674 {
14675 wxSize * resultptr;
14676 resultptr = new wxSize((wxSize &) result);
14677 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14678 }
14679 return resultobj;
14680 fail:
14681 return NULL;
14682 }
14683
14684
14685 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14686 PyObject *resultobj;
14687 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14688 wxSize result;
14689 PyObject * obj0 = 0 ;
14690 char *kwnames[] = {
14691 (char *) "self", NULL
14692 };
14693
14694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14696 {
14697 PyThreadState* __tstate = wxPyBeginAllowThreads();
14698 result = (arg1)->GetToolSize();
14699
14700 wxPyEndAllowThreads(__tstate);
14701 if (PyErr_Occurred()) SWIG_fail;
14702 }
14703 {
14704 wxSize * resultptr;
14705 resultptr = new wxSize((wxSize &) result);
14706 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14707 }
14708 return resultobj;
14709 fail:
14710 return NULL;
14711 }
14712
14713
14714 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14715 PyObject *resultobj;
14716 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14717 int arg2 ;
14718 int arg3 ;
14719 wxToolBarToolBase *result;
14720 PyObject * obj0 = 0 ;
14721 char *kwnames[] = {
14722 (char *) "self",(char *) "x",(char *) "y", NULL
14723 };
14724
14725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14727 {
14728 PyThreadState* __tstate = wxPyBeginAllowThreads();
14729 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14730
14731 wxPyEndAllowThreads(__tstate);
14732 if (PyErr_Occurred()) SWIG_fail;
14733 }
14734 {
14735 resultobj = wxPyMake_wxObject(result);
14736 }
14737 return resultobj;
14738 fail:
14739 return NULL;
14740 }
14741
14742
14743 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14744 PyObject *resultobj;
14745 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14746 bool result;
14747 PyObject * obj0 = 0 ;
14748 char *kwnames[] = {
14749 (char *) "self", NULL
14750 };
14751
14752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14754 {
14755 PyThreadState* __tstate = wxPyBeginAllowThreads();
14756 result = (bool)(arg1)->IsVertical();
14757
14758 wxPyEndAllowThreads(__tstate);
14759 if (PyErr_Occurred()) SWIG_fail;
14760 }
14761 resultobj = PyInt_FromLong((long)result);
14762 return resultobj;
14763 fail:
14764 return NULL;
14765 }
14766
14767
14768 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14769 PyObject *obj;
14770 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14771 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14772 Py_INCREF(obj);
14773 return Py_BuildValue((char *)"");
14774 }
14775 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14776 PyObject *resultobj;
14777 wxWindow *arg1 = (wxWindow *) 0 ;
14778 int arg2 ;
14779 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14780 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14781 wxSize const &arg4_defvalue = wxDefaultSize ;
14782 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14783 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14784 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14785 wxString *arg6 = (wxString *) &arg6_defvalue ;
14786 wxToolBar *result;
14787 wxPoint temp3 ;
14788 wxSize temp4 ;
14789 bool temp6 = False ;
14790 PyObject * obj0 = 0 ;
14791 PyObject * obj2 = 0 ;
14792 PyObject * obj3 = 0 ;
14793 PyObject * obj5 = 0 ;
14794 char *kwnames[] = {
14795 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14796 };
14797
14798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14800 if (obj2) {
14801 {
14802 arg3 = &temp3;
14803 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14804 }
14805 }
14806 if (obj3) {
14807 {
14808 arg4 = &temp4;
14809 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14810 }
14811 }
14812 if (obj5) {
14813 {
14814 arg6 = wxString_in_helper(obj5);
14815 if (arg6 == NULL) SWIG_fail;
14816 temp6 = True;
14817 }
14818 }
14819 {
14820 PyThreadState* __tstate = wxPyBeginAllowThreads();
14821 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14822
14823 wxPyEndAllowThreads(__tstate);
14824 if (PyErr_Occurred()) SWIG_fail;
14825 }
14826 {
14827 resultobj = wxPyMake_wxObject(result);
14828 }
14829 {
14830 if (temp6)
14831 delete arg6;
14832 }
14833 return resultobj;
14834 fail:
14835 {
14836 if (temp6)
14837 delete arg6;
14838 }
14839 return NULL;
14840 }
14841
14842
14843 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14844 PyObject *resultobj;
14845 wxToolBar *result;
14846 char *kwnames[] = {
14847 NULL
14848 };
14849
14850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14851 {
14852 PyThreadState* __tstate = wxPyBeginAllowThreads();
14853 result = (wxToolBar *)new wxToolBar();
14854
14855 wxPyEndAllowThreads(__tstate);
14856 if (PyErr_Occurred()) SWIG_fail;
14857 }
14858 {
14859 resultobj = wxPyMake_wxObject(result);
14860 }
14861 return resultobj;
14862 fail:
14863 return NULL;
14864 }
14865
14866
14867 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14868 PyObject *resultobj;
14869 wxToolBar *arg1 = (wxToolBar *) 0 ;
14870 wxWindow *arg2 = (wxWindow *) 0 ;
14871 int arg3 ;
14872 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14873 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14874 wxSize const &arg5_defvalue = wxDefaultSize ;
14875 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14876 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14877 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
14878 wxString *arg7 = (wxString *) &arg7_defvalue ;
14879 bool result;
14880 wxPoint temp4 ;
14881 wxSize temp5 ;
14882 bool temp7 = False ;
14883 PyObject * obj0 = 0 ;
14884 PyObject * obj1 = 0 ;
14885 PyObject * obj3 = 0 ;
14886 PyObject * obj4 = 0 ;
14887 PyObject * obj6 = 0 ;
14888 char *kwnames[] = {
14889 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14890 };
14891
14892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
14893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14894 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14895 if (obj3) {
14896 {
14897 arg4 = &temp4;
14898 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14899 }
14900 }
14901 if (obj4) {
14902 {
14903 arg5 = &temp5;
14904 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14905 }
14906 }
14907 if (obj6) {
14908 {
14909 arg7 = wxString_in_helper(obj6);
14910 if (arg7 == NULL) SWIG_fail;
14911 temp7 = True;
14912 }
14913 }
14914 {
14915 PyThreadState* __tstate = wxPyBeginAllowThreads();
14916 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14917
14918 wxPyEndAllowThreads(__tstate);
14919 if (PyErr_Occurred()) SWIG_fail;
14920 }
14921 resultobj = PyInt_FromLong((long)result);
14922 {
14923 if (temp7)
14924 delete arg7;
14925 }
14926 return resultobj;
14927 fail:
14928 {
14929 if (temp7)
14930 delete arg7;
14931 }
14932 return NULL;
14933 }
14934
14935
14936 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14937 PyObject *resultobj;
14938 wxToolBar *arg1 = (wxToolBar *) 0 ;
14939 int arg2 ;
14940 int arg3 ;
14941 wxToolBarToolBase *result;
14942 PyObject * obj0 = 0 ;
14943 char *kwnames[] = {
14944 (char *) "self",(char *) "x",(char *) "y", NULL
14945 };
14946
14947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14949 {
14950 PyThreadState* __tstate = wxPyBeginAllowThreads();
14951 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14952
14953 wxPyEndAllowThreads(__tstate);
14954 if (PyErr_Occurred()) SWIG_fail;
14955 }
14956 {
14957 resultobj = wxPyMake_wxObject(result);
14958 }
14959 return resultobj;
14960 fail:
14961 return NULL;
14962 }
14963
14964
14965 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
14966 PyObject *obj;
14967 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14968 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
14969 Py_INCREF(obj);
14970 return Py_BuildValue((char *)"");
14971 }
14972 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
14973 PyObject *resultobj;
14974 wxColour const &arg1_defvalue = wxNullColour ;
14975 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
14976 wxColour const &arg2_defvalue = wxNullColour ;
14977 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
14978 wxFont const &arg3_defvalue = wxNullFont ;
14979 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
14980 wxListItemAttr *result;
14981 wxColour temp1 ;
14982 wxColour temp2 ;
14983 PyObject * obj0 = 0 ;
14984 PyObject * obj1 = 0 ;
14985 PyObject * obj2 = 0 ;
14986 char *kwnames[] = {
14987 (char *) "colText",(char *) "colBack",(char *) "font", NULL
14988 };
14989
14990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
14991 if (obj0) {
14992 {
14993 arg1 = &temp1;
14994 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
14995 }
14996 }
14997 if (obj1) {
14998 {
14999 arg2 = &temp2;
15000 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15001 }
15002 }
15003 if (obj2) {
15004 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15005 if (arg3 == NULL) {
15006 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15007 }
15008 }
15009 {
15010 PyThreadState* __tstate = wxPyBeginAllowThreads();
15011 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15012
15013 wxPyEndAllowThreads(__tstate);
15014 if (PyErr_Occurred()) SWIG_fail;
15015 }
15016 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15017 return resultobj;
15018 fail:
15019 return NULL;
15020 }
15021
15022
15023 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15024 PyObject *resultobj;
15025 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15026 wxColour *arg2 = 0 ;
15027 wxColour temp2 ;
15028 PyObject * obj0 = 0 ;
15029 PyObject * obj1 = 0 ;
15030 char *kwnames[] = {
15031 (char *) "self",(char *) "colText", NULL
15032 };
15033
15034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15036 {
15037 arg2 = &temp2;
15038 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15039 }
15040 {
15041 PyThreadState* __tstate = wxPyBeginAllowThreads();
15042 (arg1)->SetTextColour((wxColour const &)*arg2);
15043
15044 wxPyEndAllowThreads(__tstate);
15045 if (PyErr_Occurred()) SWIG_fail;
15046 }
15047 Py_INCREF(Py_None); resultobj = Py_None;
15048 return resultobj;
15049 fail:
15050 return NULL;
15051 }
15052
15053
15054 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15055 PyObject *resultobj;
15056 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15057 wxColour *arg2 = 0 ;
15058 wxColour temp2 ;
15059 PyObject * obj0 = 0 ;
15060 PyObject * obj1 = 0 ;
15061 char *kwnames[] = {
15062 (char *) "self",(char *) "colBack", NULL
15063 };
15064
15065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15067 {
15068 arg2 = &temp2;
15069 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15070 }
15071 {
15072 PyThreadState* __tstate = wxPyBeginAllowThreads();
15073 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15074
15075 wxPyEndAllowThreads(__tstate);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
15078 Py_INCREF(Py_None); resultobj = Py_None;
15079 return resultobj;
15080 fail:
15081 return NULL;
15082 }
15083
15084
15085 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15086 PyObject *resultobj;
15087 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15088 wxFont *arg2 = 0 ;
15089 PyObject * obj0 = 0 ;
15090 PyObject * obj1 = 0 ;
15091 char *kwnames[] = {
15092 (char *) "self",(char *) "font", NULL
15093 };
15094
15095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15097 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15098 if (arg2 == NULL) {
15099 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15100 }
15101 {
15102 PyThreadState* __tstate = wxPyBeginAllowThreads();
15103 (arg1)->SetFont((wxFont const &)*arg2);
15104
15105 wxPyEndAllowThreads(__tstate);
15106 if (PyErr_Occurred()) SWIG_fail;
15107 }
15108 Py_INCREF(Py_None); resultobj = Py_None;
15109 return resultobj;
15110 fail:
15111 return NULL;
15112 }
15113
15114
15115 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15116 PyObject *resultobj;
15117 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15118 bool result;
15119 PyObject * obj0 = 0 ;
15120 char *kwnames[] = {
15121 (char *) "self", NULL
15122 };
15123
15124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15126 {
15127 PyThreadState* __tstate = wxPyBeginAllowThreads();
15128 result = (bool)(arg1)->HasTextColour();
15129
15130 wxPyEndAllowThreads(__tstate);
15131 if (PyErr_Occurred()) SWIG_fail;
15132 }
15133 resultobj = PyInt_FromLong((long)result);
15134 return resultobj;
15135 fail:
15136 return NULL;
15137 }
15138
15139
15140 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15141 PyObject *resultobj;
15142 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15143 bool result;
15144 PyObject * obj0 = 0 ;
15145 char *kwnames[] = {
15146 (char *) "self", NULL
15147 };
15148
15149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15151 {
15152 PyThreadState* __tstate = wxPyBeginAllowThreads();
15153 result = (bool)(arg1)->HasBackgroundColour();
15154
15155 wxPyEndAllowThreads(__tstate);
15156 if (PyErr_Occurred()) SWIG_fail;
15157 }
15158 resultobj = PyInt_FromLong((long)result);
15159 return resultobj;
15160 fail:
15161 return NULL;
15162 }
15163
15164
15165 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15166 PyObject *resultobj;
15167 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15168 bool result;
15169 PyObject * obj0 = 0 ;
15170 char *kwnames[] = {
15171 (char *) "self", NULL
15172 };
15173
15174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15176 {
15177 PyThreadState* __tstate = wxPyBeginAllowThreads();
15178 result = (bool)(arg1)->HasFont();
15179
15180 wxPyEndAllowThreads(__tstate);
15181 if (PyErr_Occurred()) SWIG_fail;
15182 }
15183 resultobj = PyInt_FromLong((long)result);
15184 return resultobj;
15185 fail:
15186 return NULL;
15187 }
15188
15189
15190 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15191 PyObject *resultobj;
15192 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15193 wxColour result;
15194 PyObject * obj0 = 0 ;
15195 char *kwnames[] = {
15196 (char *) "self", NULL
15197 };
15198
15199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15201 {
15202 PyThreadState* __tstate = wxPyBeginAllowThreads();
15203 result = (arg1)->GetTextColour();
15204
15205 wxPyEndAllowThreads(__tstate);
15206 if (PyErr_Occurred()) SWIG_fail;
15207 }
15208 {
15209 wxColour * resultptr;
15210 resultptr = new wxColour((wxColour &) result);
15211 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15212 }
15213 return resultobj;
15214 fail:
15215 return NULL;
15216 }
15217
15218
15219 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15220 PyObject *resultobj;
15221 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15222 wxColour result;
15223 PyObject * obj0 = 0 ;
15224 char *kwnames[] = {
15225 (char *) "self", NULL
15226 };
15227
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15230 {
15231 PyThreadState* __tstate = wxPyBeginAllowThreads();
15232 result = (arg1)->GetBackgroundColour();
15233
15234 wxPyEndAllowThreads(__tstate);
15235 if (PyErr_Occurred()) SWIG_fail;
15236 }
15237 {
15238 wxColour * resultptr;
15239 resultptr = new wxColour((wxColour &) result);
15240 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15241 }
15242 return resultobj;
15243 fail:
15244 return NULL;
15245 }
15246
15247
15248 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15249 PyObject *resultobj;
15250 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15251 wxFont result;
15252 PyObject * obj0 = 0 ;
15253 char *kwnames[] = {
15254 (char *) "self", NULL
15255 };
15256
15257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15259 {
15260 PyThreadState* __tstate = wxPyBeginAllowThreads();
15261 result = (arg1)->GetFont();
15262
15263 wxPyEndAllowThreads(__tstate);
15264 if (PyErr_Occurred()) SWIG_fail;
15265 }
15266 {
15267 wxFont * resultptr;
15268 resultptr = new wxFont((wxFont &) result);
15269 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15270 }
15271 return resultobj;
15272 fail:
15273 return NULL;
15274 }
15275
15276
15277 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15278 PyObject *resultobj;
15279 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15280 PyObject * obj0 = 0 ;
15281 char *kwnames[] = {
15282 (char *) "self", NULL
15283 };
15284
15285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15287 {
15288 PyThreadState* __tstate = wxPyBeginAllowThreads();
15289 wxListItemAttr_Destroy(arg1);
15290
15291 wxPyEndAllowThreads(__tstate);
15292 if (PyErr_Occurred()) SWIG_fail;
15293 }
15294 Py_INCREF(Py_None); resultobj = Py_None;
15295 return resultobj;
15296 fail:
15297 return NULL;
15298 }
15299
15300
15301 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15302 PyObject *obj;
15303 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15304 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15305 Py_INCREF(obj);
15306 return Py_BuildValue((char *)"");
15307 }
15308 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15309 PyObject *resultobj;
15310 wxListItem *result;
15311 char *kwnames[] = {
15312 NULL
15313 };
15314
15315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15316 {
15317 PyThreadState* __tstate = wxPyBeginAllowThreads();
15318 result = (wxListItem *)new wxListItem();
15319
15320 wxPyEndAllowThreads(__tstate);
15321 if (PyErr_Occurred()) SWIG_fail;
15322 }
15323 {
15324 resultobj = wxPyMake_wxObject(result);
15325 }
15326 return resultobj;
15327 fail:
15328 return NULL;
15329 }
15330
15331
15332 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15333 PyObject *resultobj;
15334 wxListItem *arg1 = (wxListItem *) 0 ;
15335 PyObject * obj0 = 0 ;
15336 char *kwnames[] = {
15337 (char *) "self", NULL
15338 };
15339
15340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15342 {
15343 PyThreadState* __tstate = wxPyBeginAllowThreads();
15344 delete arg1;
15345
15346 wxPyEndAllowThreads(__tstate);
15347 if (PyErr_Occurred()) SWIG_fail;
15348 }
15349 Py_INCREF(Py_None); resultobj = Py_None;
15350 return resultobj;
15351 fail:
15352 return NULL;
15353 }
15354
15355
15356 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15357 PyObject *resultobj;
15358 wxListItem *arg1 = (wxListItem *) 0 ;
15359 PyObject * obj0 = 0 ;
15360 char *kwnames[] = {
15361 (char *) "self", NULL
15362 };
15363
15364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15366 {
15367 PyThreadState* __tstate = wxPyBeginAllowThreads();
15368 (arg1)->Clear();
15369
15370 wxPyEndAllowThreads(__tstate);
15371 if (PyErr_Occurred()) SWIG_fail;
15372 }
15373 Py_INCREF(Py_None); resultobj = Py_None;
15374 return resultobj;
15375 fail:
15376 return NULL;
15377 }
15378
15379
15380 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15381 PyObject *resultobj;
15382 wxListItem *arg1 = (wxListItem *) 0 ;
15383 PyObject * obj0 = 0 ;
15384 char *kwnames[] = {
15385 (char *) "self", NULL
15386 };
15387
15388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15390 {
15391 PyThreadState* __tstate = wxPyBeginAllowThreads();
15392 (arg1)->ClearAttributes();
15393
15394 wxPyEndAllowThreads(__tstate);
15395 if (PyErr_Occurred()) SWIG_fail;
15396 }
15397 Py_INCREF(Py_None); resultobj = Py_None;
15398 return resultobj;
15399 fail:
15400 return NULL;
15401 }
15402
15403
15404 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15405 PyObject *resultobj;
15406 wxListItem *arg1 = (wxListItem *) 0 ;
15407 long arg2 ;
15408 PyObject * obj0 = 0 ;
15409 char *kwnames[] = {
15410 (char *) "self",(char *) "mask", NULL
15411 };
15412
15413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15415 {
15416 PyThreadState* __tstate = wxPyBeginAllowThreads();
15417 (arg1)->SetMask(arg2);
15418
15419 wxPyEndAllowThreads(__tstate);
15420 if (PyErr_Occurred()) SWIG_fail;
15421 }
15422 Py_INCREF(Py_None); resultobj = Py_None;
15423 return resultobj;
15424 fail:
15425 return NULL;
15426 }
15427
15428
15429 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15430 PyObject *resultobj;
15431 wxListItem *arg1 = (wxListItem *) 0 ;
15432 long arg2 ;
15433 PyObject * obj0 = 0 ;
15434 char *kwnames[] = {
15435 (char *) "self",(char *) "id", NULL
15436 };
15437
15438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15440 {
15441 PyThreadState* __tstate = wxPyBeginAllowThreads();
15442 (arg1)->SetId(arg2);
15443
15444 wxPyEndAllowThreads(__tstate);
15445 if (PyErr_Occurred()) SWIG_fail;
15446 }
15447 Py_INCREF(Py_None); resultobj = Py_None;
15448 return resultobj;
15449 fail:
15450 return NULL;
15451 }
15452
15453
15454 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15455 PyObject *resultobj;
15456 wxListItem *arg1 = (wxListItem *) 0 ;
15457 int arg2 ;
15458 PyObject * obj0 = 0 ;
15459 char *kwnames[] = {
15460 (char *) "self",(char *) "col", NULL
15461 };
15462
15463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15465 {
15466 PyThreadState* __tstate = wxPyBeginAllowThreads();
15467 (arg1)->SetColumn(arg2);
15468
15469 wxPyEndAllowThreads(__tstate);
15470 if (PyErr_Occurred()) SWIG_fail;
15471 }
15472 Py_INCREF(Py_None); resultobj = Py_None;
15473 return resultobj;
15474 fail:
15475 return NULL;
15476 }
15477
15478
15479 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15480 PyObject *resultobj;
15481 wxListItem *arg1 = (wxListItem *) 0 ;
15482 long arg2 ;
15483 PyObject * obj0 = 0 ;
15484 char *kwnames[] = {
15485 (char *) "self",(char *) "state", NULL
15486 };
15487
15488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) 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 (arg1)->SetState(arg2);
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_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15505 PyObject *resultobj;
15506 wxListItem *arg1 = (wxListItem *) 0 ;
15507 long arg2 ;
15508 PyObject * obj0 = 0 ;
15509 char *kwnames[] = {
15510 (char *) "self",(char *) "stateMask", NULL
15511 };
15512
15513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15515 {
15516 PyThreadState* __tstate = wxPyBeginAllowThreads();
15517 (arg1)->SetStateMask(arg2);
15518
15519 wxPyEndAllowThreads(__tstate);
15520 if (PyErr_Occurred()) SWIG_fail;
15521 }
15522 Py_INCREF(Py_None); resultobj = Py_None;
15523 return resultobj;
15524 fail:
15525 return NULL;
15526 }
15527
15528
15529 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15530 PyObject *resultobj;
15531 wxListItem *arg1 = (wxListItem *) 0 ;
15532 wxString *arg2 = 0 ;
15533 bool temp2 = False ;
15534 PyObject * obj0 = 0 ;
15535 PyObject * obj1 = 0 ;
15536 char *kwnames[] = {
15537 (char *) "self",(char *) "text", NULL
15538 };
15539
15540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15542 {
15543 arg2 = wxString_in_helper(obj1);
15544 if (arg2 == NULL) SWIG_fail;
15545 temp2 = True;
15546 }
15547 {
15548 PyThreadState* __tstate = wxPyBeginAllowThreads();
15549 (arg1)->SetText((wxString const &)*arg2);
15550
15551 wxPyEndAllowThreads(__tstate);
15552 if (PyErr_Occurred()) SWIG_fail;
15553 }
15554 Py_INCREF(Py_None); resultobj = Py_None;
15555 {
15556 if (temp2)
15557 delete arg2;
15558 }
15559 return resultobj;
15560 fail:
15561 {
15562 if (temp2)
15563 delete arg2;
15564 }
15565 return NULL;
15566 }
15567
15568
15569 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15570 PyObject *resultobj;
15571 wxListItem *arg1 = (wxListItem *) 0 ;
15572 int arg2 ;
15573 PyObject * obj0 = 0 ;
15574 char *kwnames[] = {
15575 (char *) "self",(char *) "image", NULL
15576 };
15577
15578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15580 {
15581 PyThreadState* __tstate = wxPyBeginAllowThreads();
15582 (arg1)->SetImage(arg2);
15583
15584 wxPyEndAllowThreads(__tstate);
15585 if (PyErr_Occurred()) SWIG_fail;
15586 }
15587 Py_INCREF(Py_None); resultobj = Py_None;
15588 return resultobj;
15589 fail:
15590 return NULL;
15591 }
15592
15593
15594 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15595 PyObject *resultobj;
15596 wxListItem *arg1 = (wxListItem *) 0 ;
15597 long arg2 ;
15598 PyObject * obj0 = 0 ;
15599 char *kwnames[] = {
15600 (char *) "self",(char *) "data", NULL
15601 };
15602
15603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15605 {
15606 PyThreadState* __tstate = wxPyBeginAllowThreads();
15607 (arg1)->SetData(arg2);
15608
15609 wxPyEndAllowThreads(__tstate);
15610 if (PyErr_Occurred()) SWIG_fail;
15611 }
15612 Py_INCREF(Py_None); resultobj = Py_None;
15613 return resultobj;
15614 fail:
15615 return NULL;
15616 }
15617
15618
15619 static PyObject *_wrap_ListItem_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15620 PyObject *resultobj;
15621 wxListItem *arg1 = (wxListItem *) 0 ;
15622 int arg2 ;
15623 PyObject * obj0 = 0 ;
15624 char *kwnames[] = {
15625 (char *) "self",(char *) "width", NULL
15626 };
15627
15628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) goto fail;
15629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15630 {
15631 PyThreadState* __tstate = wxPyBeginAllowThreads();
15632 (arg1)->SetWidth(arg2);
15633
15634 wxPyEndAllowThreads(__tstate);
15635 if (PyErr_Occurred()) SWIG_fail;
15636 }
15637 Py_INCREF(Py_None); resultobj = Py_None;
15638 return resultobj;
15639 fail:
15640 return NULL;
15641 }
15642
15643
15644 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15645 PyObject *resultobj;
15646 wxListItem *arg1 = (wxListItem *) 0 ;
15647 int arg2 ;
15648 PyObject * obj0 = 0 ;
15649 char *kwnames[] = {
15650 (char *) "self",(char *) "align", NULL
15651 };
15652
15653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) goto fail;
15654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15655 {
15656 PyThreadState* __tstate = wxPyBeginAllowThreads();
15657 (arg1)->SetAlign((wxListColumnFormat )arg2);
15658
15659 wxPyEndAllowThreads(__tstate);
15660 if (PyErr_Occurred()) SWIG_fail;
15661 }
15662 Py_INCREF(Py_None); resultobj = Py_None;
15663 return resultobj;
15664 fail:
15665 return NULL;
15666 }
15667
15668
15669 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15670 PyObject *resultobj;
15671 wxListItem *arg1 = (wxListItem *) 0 ;
15672 wxColour *arg2 = 0 ;
15673 wxColour temp2 ;
15674 PyObject * obj0 = 0 ;
15675 PyObject * obj1 = 0 ;
15676 char *kwnames[] = {
15677 (char *) "self",(char *) "colText", NULL
15678 };
15679
15680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15682 {
15683 arg2 = &temp2;
15684 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15685 }
15686 {
15687 PyThreadState* __tstate = wxPyBeginAllowThreads();
15688 (arg1)->SetTextColour((wxColour const &)*arg2);
15689
15690 wxPyEndAllowThreads(__tstate);
15691 if (PyErr_Occurred()) SWIG_fail;
15692 }
15693 Py_INCREF(Py_None); resultobj = Py_None;
15694 return resultobj;
15695 fail:
15696 return NULL;
15697 }
15698
15699
15700 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15701 PyObject *resultobj;
15702 wxListItem *arg1 = (wxListItem *) 0 ;
15703 wxColour *arg2 = 0 ;
15704 wxColour temp2 ;
15705 PyObject * obj0 = 0 ;
15706 PyObject * obj1 = 0 ;
15707 char *kwnames[] = {
15708 (char *) "self",(char *) "colBack", NULL
15709 };
15710
15711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15713 {
15714 arg2 = &temp2;
15715 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15716 }
15717 {
15718 PyThreadState* __tstate = wxPyBeginAllowThreads();
15719 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15720
15721 wxPyEndAllowThreads(__tstate);
15722 if (PyErr_Occurred()) SWIG_fail;
15723 }
15724 Py_INCREF(Py_None); resultobj = Py_None;
15725 return resultobj;
15726 fail:
15727 return NULL;
15728 }
15729
15730
15731 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15732 PyObject *resultobj;
15733 wxListItem *arg1 = (wxListItem *) 0 ;
15734 wxFont *arg2 = 0 ;
15735 PyObject * obj0 = 0 ;
15736 PyObject * obj1 = 0 ;
15737 char *kwnames[] = {
15738 (char *) "self",(char *) "font", NULL
15739 };
15740
15741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15743 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15744 if (arg2 == NULL) {
15745 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15746 }
15747 {
15748 PyThreadState* __tstate = wxPyBeginAllowThreads();
15749 (arg1)->SetFont((wxFont const &)*arg2);
15750
15751 wxPyEndAllowThreads(__tstate);
15752 if (PyErr_Occurred()) SWIG_fail;
15753 }
15754 Py_INCREF(Py_None); resultobj = Py_None;
15755 return resultobj;
15756 fail:
15757 return NULL;
15758 }
15759
15760
15761 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15762 PyObject *resultobj;
15763 wxListItem *arg1 = (wxListItem *) 0 ;
15764 long result;
15765 PyObject * obj0 = 0 ;
15766 char *kwnames[] = {
15767 (char *) "self", NULL
15768 };
15769
15770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15772 {
15773 PyThreadState* __tstate = wxPyBeginAllowThreads();
15774 result = (long)(arg1)->GetMask();
15775
15776 wxPyEndAllowThreads(__tstate);
15777 if (PyErr_Occurred()) SWIG_fail;
15778 }
15779 resultobj = PyInt_FromLong((long)result);
15780 return resultobj;
15781 fail:
15782 return NULL;
15783 }
15784
15785
15786 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15787 PyObject *resultobj;
15788 wxListItem *arg1 = (wxListItem *) 0 ;
15789 long result;
15790 PyObject * obj0 = 0 ;
15791 char *kwnames[] = {
15792 (char *) "self", NULL
15793 };
15794
15795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15797 {
15798 PyThreadState* __tstate = wxPyBeginAllowThreads();
15799 result = (long)(arg1)->GetId();
15800
15801 wxPyEndAllowThreads(__tstate);
15802 if (PyErr_Occurred()) SWIG_fail;
15803 }
15804 resultobj = PyInt_FromLong((long)result);
15805 return resultobj;
15806 fail:
15807 return NULL;
15808 }
15809
15810
15811 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15812 PyObject *resultobj;
15813 wxListItem *arg1 = (wxListItem *) 0 ;
15814 int result;
15815 PyObject * obj0 = 0 ;
15816 char *kwnames[] = {
15817 (char *) "self", NULL
15818 };
15819
15820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15822 {
15823 PyThreadState* __tstate = wxPyBeginAllowThreads();
15824 result = (int)(arg1)->GetColumn();
15825
15826 wxPyEndAllowThreads(__tstate);
15827 if (PyErr_Occurred()) SWIG_fail;
15828 }
15829 resultobj = PyInt_FromLong((long)result);
15830 return resultobj;
15831 fail:
15832 return NULL;
15833 }
15834
15835
15836 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15837 PyObject *resultobj;
15838 wxListItem *arg1 = (wxListItem *) 0 ;
15839 long result;
15840 PyObject * obj0 = 0 ;
15841 char *kwnames[] = {
15842 (char *) "self", NULL
15843 };
15844
15845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15847 {
15848 PyThreadState* __tstate = wxPyBeginAllowThreads();
15849 result = (long)(arg1)->GetState();
15850
15851 wxPyEndAllowThreads(__tstate);
15852 if (PyErr_Occurred()) SWIG_fail;
15853 }
15854 resultobj = PyInt_FromLong((long)result);
15855 return resultobj;
15856 fail:
15857 return NULL;
15858 }
15859
15860
15861 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15862 PyObject *resultobj;
15863 wxListItem *arg1 = (wxListItem *) 0 ;
15864 wxString *result;
15865 PyObject * obj0 = 0 ;
15866 char *kwnames[] = {
15867 (char *) "self", NULL
15868 };
15869
15870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
15871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15872 {
15873 PyThreadState* __tstate = wxPyBeginAllowThreads();
15874 {
15875 wxString const &_result_ref = (arg1)->GetText();
15876 result = (wxString *) &_result_ref;
15877 }
15878
15879 wxPyEndAllowThreads(__tstate);
15880 if (PyErr_Occurred()) SWIG_fail;
15881 }
15882 {
15883 #if wxUSE_UNICODE
15884 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15885 #else
15886 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15887 #endif
15888 }
15889 return resultobj;
15890 fail:
15891 return NULL;
15892 }
15893
15894
15895 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15896 PyObject *resultobj;
15897 wxListItem *arg1 = (wxListItem *) 0 ;
15898 int result;
15899 PyObject * obj0 = 0 ;
15900 char *kwnames[] = {
15901 (char *) "self", NULL
15902 };
15903
15904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
15905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15906 {
15907 PyThreadState* __tstate = wxPyBeginAllowThreads();
15908 result = (int)(arg1)->GetImage();
15909
15910 wxPyEndAllowThreads(__tstate);
15911 if (PyErr_Occurred()) SWIG_fail;
15912 }
15913 resultobj = PyInt_FromLong((long)result);
15914 return resultobj;
15915 fail:
15916 return NULL;
15917 }
15918
15919
15920 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15921 PyObject *resultobj;
15922 wxListItem *arg1 = (wxListItem *) 0 ;
15923 long result;
15924 PyObject * obj0 = 0 ;
15925 char *kwnames[] = {
15926 (char *) "self", NULL
15927 };
15928
15929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
15930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15931 {
15932 PyThreadState* __tstate = wxPyBeginAllowThreads();
15933 result = (long)(arg1)->GetData();
15934
15935 wxPyEndAllowThreads(__tstate);
15936 if (PyErr_Occurred()) SWIG_fail;
15937 }
15938 resultobj = PyInt_FromLong((long)result);
15939 return resultobj;
15940 fail:
15941 return NULL;
15942 }
15943
15944
15945 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15946 PyObject *resultobj;
15947 wxListItem *arg1 = (wxListItem *) 0 ;
15948 int result;
15949 PyObject * obj0 = 0 ;
15950 char *kwnames[] = {
15951 (char *) "self", NULL
15952 };
15953
15954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
15955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15956 {
15957 PyThreadState* __tstate = wxPyBeginAllowThreads();
15958 result = (int)(arg1)->GetWidth();
15959
15960 wxPyEndAllowThreads(__tstate);
15961 if (PyErr_Occurred()) SWIG_fail;
15962 }
15963 resultobj = PyInt_FromLong((long)result);
15964 return resultobj;
15965 fail:
15966 return NULL;
15967 }
15968
15969
15970 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15971 PyObject *resultobj;
15972 wxListItem *arg1 = (wxListItem *) 0 ;
15973 int result;
15974 PyObject * obj0 = 0 ;
15975 char *kwnames[] = {
15976 (char *) "self", NULL
15977 };
15978
15979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
15980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15981 {
15982 PyThreadState* __tstate = wxPyBeginAllowThreads();
15983 result = (int)(arg1)->GetAlign();
15984
15985 wxPyEndAllowThreads(__tstate);
15986 if (PyErr_Occurred()) SWIG_fail;
15987 }
15988 resultobj = PyInt_FromLong((long)result);
15989 return resultobj;
15990 fail:
15991 return NULL;
15992 }
15993
15994
15995 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15996 PyObject *resultobj;
15997 wxListItem *arg1 = (wxListItem *) 0 ;
15998 wxListItemAttr *result;
15999 PyObject * obj0 = 0 ;
16000 char *kwnames[] = {
16001 (char *) "self", NULL
16002 };
16003
16004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16006 {
16007 PyThreadState* __tstate = wxPyBeginAllowThreads();
16008 result = (wxListItemAttr *)(arg1)->GetAttributes();
16009
16010 wxPyEndAllowThreads(__tstate);
16011 if (PyErr_Occurred()) SWIG_fail;
16012 }
16013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16014 return resultobj;
16015 fail:
16016 return NULL;
16017 }
16018
16019
16020 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16021 PyObject *resultobj;
16022 wxListItem *arg1 = (wxListItem *) 0 ;
16023 bool result;
16024 PyObject * obj0 = 0 ;
16025 char *kwnames[] = {
16026 (char *) "self", NULL
16027 };
16028
16029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16031 {
16032 PyThreadState* __tstate = wxPyBeginAllowThreads();
16033 result = (bool)(arg1)->HasAttributes();
16034
16035 wxPyEndAllowThreads(__tstate);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 }
16038 resultobj = PyInt_FromLong((long)result);
16039 return resultobj;
16040 fail:
16041 return NULL;
16042 }
16043
16044
16045 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16046 PyObject *resultobj;
16047 wxListItem *arg1 = (wxListItem *) 0 ;
16048 wxColour result;
16049 PyObject * obj0 = 0 ;
16050 char *kwnames[] = {
16051 (char *) "self", NULL
16052 };
16053
16054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16056 {
16057 PyThreadState* __tstate = wxPyBeginAllowThreads();
16058 result = ((wxListItem const *)arg1)->GetTextColour();
16059
16060 wxPyEndAllowThreads(__tstate);
16061 if (PyErr_Occurred()) SWIG_fail;
16062 }
16063 {
16064 wxColour * resultptr;
16065 resultptr = new wxColour((wxColour &) result);
16066 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16067 }
16068 return resultobj;
16069 fail:
16070 return NULL;
16071 }
16072
16073
16074 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16075 PyObject *resultobj;
16076 wxListItem *arg1 = (wxListItem *) 0 ;
16077 wxColour result;
16078 PyObject * obj0 = 0 ;
16079 char *kwnames[] = {
16080 (char *) "self", NULL
16081 };
16082
16083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16085 {
16086 PyThreadState* __tstate = wxPyBeginAllowThreads();
16087 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16088
16089 wxPyEndAllowThreads(__tstate);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 }
16092 {
16093 wxColour * resultptr;
16094 resultptr = new wxColour((wxColour &) result);
16095 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16096 }
16097 return resultobj;
16098 fail:
16099 return NULL;
16100 }
16101
16102
16103 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16104 PyObject *resultobj;
16105 wxListItem *arg1 = (wxListItem *) 0 ;
16106 wxFont result;
16107 PyObject * obj0 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16114 {
16115 PyThreadState* __tstate = wxPyBeginAllowThreads();
16116 result = ((wxListItem const *)arg1)->GetFont();
16117
16118 wxPyEndAllowThreads(__tstate);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 {
16122 wxFont * resultptr;
16123 resultptr = new wxFont((wxFont &) result);
16124 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16125 }
16126 return resultobj;
16127 fail:
16128 return NULL;
16129 }
16130
16131
16132 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16133 PyObject *resultobj;
16134 wxListItem *arg1 = (wxListItem *) 0 ;
16135 long arg2 ;
16136 PyObject * obj0 = 0 ;
16137 char *kwnames[] = {
16138 (char *) "self",(char *) "m_mask", NULL
16139 };
16140
16141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16143 if (arg1) (arg1)->m_mask = arg2;
16144
16145 Py_INCREF(Py_None); resultobj = Py_None;
16146 return resultobj;
16147 fail:
16148 return NULL;
16149 }
16150
16151
16152 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16153 PyObject *resultobj;
16154 wxListItem *arg1 = (wxListItem *) 0 ;
16155 long result;
16156 PyObject * obj0 = 0 ;
16157 char *kwnames[] = {
16158 (char *) "self", NULL
16159 };
16160
16161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16163 result = (long) ((arg1)->m_mask);
16164
16165 resultobj = PyInt_FromLong((long)result);
16166 return resultobj;
16167 fail:
16168 return NULL;
16169 }
16170
16171
16172 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16173 PyObject *resultobj;
16174 wxListItem *arg1 = (wxListItem *) 0 ;
16175 long arg2 ;
16176 PyObject * obj0 = 0 ;
16177 char *kwnames[] = {
16178 (char *) "self",(char *) "m_itemId", NULL
16179 };
16180
16181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16183 if (arg1) (arg1)->m_itemId = arg2;
16184
16185 Py_INCREF(Py_None); resultobj = Py_None;
16186 return resultobj;
16187 fail:
16188 return NULL;
16189 }
16190
16191
16192 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16193 PyObject *resultobj;
16194 wxListItem *arg1 = (wxListItem *) 0 ;
16195 long result;
16196 PyObject * obj0 = 0 ;
16197 char *kwnames[] = {
16198 (char *) "self", NULL
16199 };
16200
16201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16203 result = (long) ((arg1)->m_itemId);
16204
16205 resultobj = PyInt_FromLong((long)result);
16206 return resultobj;
16207 fail:
16208 return NULL;
16209 }
16210
16211
16212 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16213 PyObject *resultobj;
16214 wxListItem *arg1 = (wxListItem *) 0 ;
16215 int arg2 ;
16216 PyObject * obj0 = 0 ;
16217 char *kwnames[] = {
16218 (char *) "self",(char *) "m_col", NULL
16219 };
16220
16221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16223 if (arg1) (arg1)->m_col = arg2;
16224
16225 Py_INCREF(Py_None); resultobj = Py_None;
16226 return resultobj;
16227 fail:
16228 return NULL;
16229 }
16230
16231
16232 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16233 PyObject *resultobj;
16234 wxListItem *arg1 = (wxListItem *) 0 ;
16235 int result;
16236 PyObject * obj0 = 0 ;
16237 char *kwnames[] = {
16238 (char *) "self", NULL
16239 };
16240
16241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16243 result = (int) ((arg1)->m_col);
16244
16245 resultobj = PyInt_FromLong((long)result);
16246 return resultobj;
16247 fail:
16248 return NULL;
16249 }
16250
16251
16252 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16253 PyObject *resultobj;
16254 wxListItem *arg1 = (wxListItem *) 0 ;
16255 long arg2 ;
16256 PyObject * obj0 = 0 ;
16257 char *kwnames[] = {
16258 (char *) "self",(char *) "m_state", NULL
16259 };
16260
16261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16263 if (arg1) (arg1)->m_state = arg2;
16264
16265 Py_INCREF(Py_None); resultobj = Py_None;
16266 return resultobj;
16267 fail:
16268 return NULL;
16269 }
16270
16271
16272 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16273 PyObject *resultobj;
16274 wxListItem *arg1 = (wxListItem *) 0 ;
16275 long result;
16276 PyObject * obj0 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "self", NULL
16279 };
16280
16281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16283 result = (long) ((arg1)->m_state);
16284
16285 resultobj = PyInt_FromLong((long)result);
16286 return resultobj;
16287 fail:
16288 return NULL;
16289 }
16290
16291
16292 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16293 PyObject *resultobj;
16294 wxListItem *arg1 = (wxListItem *) 0 ;
16295 long arg2 ;
16296 PyObject * obj0 = 0 ;
16297 char *kwnames[] = {
16298 (char *) "self",(char *) "m_stateMask", NULL
16299 };
16300
16301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16303 if (arg1) (arg1)->m_stateMask = arg2;
16304
16305 Py_INCREF(Py_None); resultobj = Py_None;
16306 return resultobj;
16307 fail:
16308 return NULL;
16309 }
16310
16311
16312 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16313 PyObject *resultobj;
16314 wxListItem *arg1 = (wxListItem *) 0 ;
16315 long result;
16316 PyObject * obj0 = 0 ;
16317 char *kwnames[] = {
16318 (char *) "self", NULL
16319 };
16320
16321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16323 result = (long) ((arg1)->m_stateMask);
16324
16325 resultobj = PyInt_FromLong((long)result);
16326 return resultobj;
16327 fail:
16328 return NULL;
16329 }
16330
16331
16332 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16333 PyObject *resultobj;
16334 wxListItem *arg1 = (wxListItem *) 0 ;
16335 wxString arg2 ;
16336 PyObject * obj0 = 0 ;
16337 PyObject * obj1 = 0 ;
16338 char *kwnames[] = {
16339 (char *) "self",(char *) "m_text", NULL
16340 };
16341
16342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16344 {
16345 wxString* sptr = wxString_in_helper(obj1);
16346 if (sptr == NULL) SWIG_fail;
16347 arg2 = *sptr;
16348 delete sptr;
16349 }
16350 if (arg1) (arg1)->m_text = arg2;
16351
16352 Py_INCREF(Py_None); resultobj = Py_None;
16353 return resultobj;
16354 fail:
16355 return NULL;
16356 }
16357
16358
16359 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16360 PyObject *resultobj;
16361 wxListItem *arg1 = (wxListItem *) 0 ;
16362 wxString result;
16363 PyObject * obj0 = 0 ;
16364 char *kwnames[] = {
16365 (char *) "self", NULL
16366 };
16367
16368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16370 result = ((arg1)->m_text);
16371
16372 {
16373 #if wxUSE_UNICODE
16374 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16375 #else
16376 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16377 #endif
16378 }
16379 return resultobj;
16380 fail:
16381 return NULL;
16382 }
16383
16384
16385 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16386 PyObject *resultobj;
16387 wxListItem *arg1 = (wxListItem *) 0 ;
16388 int arg2 ;
16389 PyObject * obj0 = 0 ;
16390 char *kwnames[] = {
16391 (char *) "self",(char *) "m_image", NULL
16392 };
16393
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16396 if (arg1) (arg1)->m_image = arg2;
16397
16398 Py_INCREF(Py_None); resultobj = Py_None;
16399 return resultobj;
16400 fail:
16401 return NULL;
16402 }
16403
16404
16405 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16406 PyObject *resultobj;
16407 wxListItem *arg1 = (wxListItem *) 0 ;
16408 int result;
16409 PyObject * obj0 = 0 ;
16410 char *kwnames[] = {
16411 (char *) "self", NULL
16412 };
16413
16414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16416 result = (int) ((arg1)->m_image);
16417
16418 resultobj = PyInt_FromLong((long)result);
16419 return resultobj;
16420 fail:
16421 return NULL;
16422 }
16423
16424
16425 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16426 PyObject *resultobj;
16427 wxListItem *arg1 = (wxListItem *) 0 ;
16428 long arg2 ;
16429 PyObject * obj0 = 0 ;
16430 char *kwnames[] = {
16431 (char *) "self",(char *) "m_data", NULL
16432 };
16433
16434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16436 if (arg1) (arg1)->m_data = arg2;
16437
16438 Py_INCREF(Py_None); resultobj = Py_None;
16439 return resultobj;
16440 fail:
16441 return NULL;
16442 }
16443
16444
16445 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16446 PyObject *resultobj;
16447 wxListItem *arg1 = (wxListItem *) 0 ;
16448 long result;
16449 PyObject * obj0 = 0 ;
16450 char *kwnames[] = {
16451 (char *) "self", NULL
16452 };
16453
16454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16456 result = (long) ((arg1)->m_data);
16457
16458 resultobj = PyInt_FromLong((long)result);
16459 return resultobj;
16460 fail:
16461 return NULL;
16462 }
16463
16464
16465 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16466 PyObject *resultobj;
16467 wxListItem *arg1 = (wxListItem *) 0 ;
16468 int arg2 ;
16469 PyObject * obj0 = 0 ;
16470 char *kwnames[] = {
16471 (char *) "self",(char *) "m_format", NULL
16472 };
16473
16474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16476 if (arg1) (arg1)->m_format = arg2;
16477
16478 Py_INCREF(Py_None); resultobj = Py_None;
16479 return resultobj;
16480 fail:
16481 return NULL;
16482 }
16483
16484
16485 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16486 PyObject *resultobj;
16487 wxListItem *arg1 = (wxListItem *) 0 ;
16488 int result;
16489 PyObject * obj0 = 0 ;
16490 char *kwnames[] = {
16491 (char *) "self", NULL
16492 };
16493
16494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16496 result = (int) ((arg1)->m_format);
16497
16498 resultobj = PyInt_FromLong((long)result);
16499 return resultobj;
16500 fail:
16501 return NULL;
16502 }
16503
16504
16505 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16506 PyObject *resultobj;
16507 wxListItem *arg1 = (wxListItem *) 0 ;
16508 int arg2 ;
16509 PyObject * obj0 = 0 ;
16510 char *kwnames[] = {
16511 (char *) "self",(char *) "m_width", NULL
16512 };
16513
16514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16516 if (arg1) (arg1)->m_width = arg2;
16517
16518 Py_INCREF(Py_None); resultobj = Py_None;
16519 return resultobj;
16520 fail:
16521 return NULL;
16522 }
16523
16524
16525 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16526 PyObject *resultobj;
16527 wxListItem *arg1 = (wxListItem *) 0 ;
16528 int result;
16529 PyObject * obj0 = 0 ;
16530 char *kwnames[] = {
16531 (char *) "self", NULL
16532 };
16533
16534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16536 result = (int) ((arg1)->m_width);
16537
16538 resultobj = PyInt_FromLong((long)result);
16539 return resultobj;
16540 fail:
16541 return NULL;
16542 }
16543
16544
16545 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16546 PyObject *obj;
16547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16548 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16549 Py_INCREF(obj);
16550 return Py_BuildValue((char *)"");
16551 }
16552 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16553 PyObject *resultobj;
16554 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16555 int arg2 = (int) 0 ;
16556 wxListEvent *result;
16557 char *kwnames[] = {
16558 (char *) "commandType",(char *) "id", NULL
16559 };
16560
16561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16562 {
16563 PyThreadState* __tstate = wxPyBeginAllowThreads();
16564 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16565
16566 wxPyEndAllowThreads(__tstate);
16567 if (PyErr_Occurred()) SWIG_fail;
16568 }
16569 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16570 return resultobj;
16571 fail:
16572 return NULL;
16573 }
16574
16575
16576 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16577 PyObject *resultobj;
16578 wxListEvent *arg1 = (wxListEvent *) 0 ;
16579 int arg2 ;
16580 PyObject * obj0 = 0 ;
16581 char *kwnames[] = {
16582 (char *) "self",(char *) "m_code", NULL
16583 };
16584
16585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16587 if (arg1) (arg1)->m_code = arg2;
16588
16589 Py_INCREF(Py_None); resultobj = Py_None;
16590 return resultobj;
16591 fail:
16592 return NULL;
16593 }
16594
16595
16596 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16597 PyObject *resultobj;
16598 wxListEvent *arg1 = (wxListEvent *) 0 ;
16599 int result;
16600 PyObject * obj0 = 0 ;
16601 char *kwnames[] = {
16602 (char *) "self", NULL
16603 };
16604
16605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16607 result = (int) ((arg1)->m_code);
16608
16609 resultobj = PyInt_FromLong((long)result);
16610 return resultobj;
16611 fail:
16612 return NULL;
16613 }
16614
16615
16616 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16617 PyObject *resultobj;
16618 wxListEvent *arg1 = (wxListEvent *) 0 ;
16619 long arg2 ;
16620 PyObject * obj0 = 0 ;
16621 char *kwnames[] = {
16622 (char *) "self",(char *) "m_oldItemIndex", NULL
16623 };
16624
16625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16627 if (arg1) (arg1)->m_oldItemIndex = arg2;
16628
16629 Py_INCREF(Py_None); resultobj = Py_None;
16630 return resultobj;
16631 fail:
16632 return NULL;
16633 }
16634
16635
16636 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16637 PyObject *resultobj;
16638 wxListEvent *arg1 = (wxListEvent *) 0 ;
16639 long result;
16640 PyObject * obj0 = 0 ;
16641 char *kwnames[] = {
16642 (char *) "self", NULL
16643 };
16644
16645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16647 result = (long) ((arg1)->m_oldItemIndex);
16648
16649 resultobj = PyInt_FromLong((long)result);
16650 return resultobj;
16651 fail:
16652 return NULL;
16653 }
16654
16655
16656 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16657 PyObject *resultobj;
16658 wxListEvent *arg1 = (wxListEvent *) 0 ;
16659 long arg2 ;
16660 PyObject * obj0 = 0 ;
16661 char *kwnames[] = {
16662 (char *) "self",(char *) "m_itemIndex", NULL
16663 };
16664
16665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16667 if (arg1) (arg1)->m_itemIndex = arg2;
16668
16669 Py_INCREF(Py_None); resultobj = Py_None;
16670 return resultobj;
16671 fail:
16672 return NULL;
16673 }
16674
16675
16676 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16677 PyObject *resultobj;
16678 wxListEvent *arg1 = (wxListEvent *) 0 ;
16679 long result;
16680 PyObject * obj0 = 0 ;
16681 char *kwnames[] = {
16682 (char *) "self", NULL
16683 };
16684
16685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16687 result = (long) ((arg1)->m_itemIndex);
16688
16689 resultobj = PyInt_FromLong((long)result);
16690 return resultobj;
16691 fail:
16692 return NULL;
16693 }
16694
16695
16696 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16697 PyObject *resultobj;
16698 wxListEvent *arg1 = (wxListEvent *) 0 ;
16699 int arg2 ;
16700 PyObject * obj0 = 0 ;
16701 char *kwnames[] = {
16702 (char *) "self",(char *) "m_col", NULL
16703 };
16704
16705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16707 if (arg1) (arg1)->m_col = arg2;
16708
16709 Py_INCREF(Py_None); resultobj = Py_None;
16710 return resultobj;
16711 fail:
16712 return NULL;
16713 }
16714
16715
16716 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16717 PyObject *resultobj;
16718 wxListEvent *arg1 = (wxListEvent *) 0 ;
16719 int result;
16720 PyObject * obj0 = 0 ;
16721 char *kwnames[] = {
16722 (char *) "self", NULL
16723 };
16724
16725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16727 result = (int) ((arg1)->m_col);
16728
16729 resultobj = PyInt_FromLong((long)result);
16730 return resultobj;
16731 fail:
16732 return NULL;
16733 }
16734
16735
16736 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16737 PyObject *resultobj;
16738 wxListEvent *arg1 = (wxListEvent *) 0 ;
16739 wxPoint *arg2 = (wxPoint *) 0 ;
16740 PyObject * obj0 = 0 ;
16741 PyObject * obj1 = 0 ;
16742 char *kwnames[] = {
16743 (char *) "self",(char *) "m_pointDrag", NULL
16744 };
16745
16746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16748 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16749 if (arg1) (arg1)->m_pointDrag = *arg2;
16750
16751 Py_INCREF(Py_None); resultobj = Py_None;
16752 return resultobj;
16753 fail:
16754 return NULL;
16755 }
16756
16757
16758 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16759 PyObject *resultobj;
16760 wxListEvent *arg1 = (wxListEvent *) 0 ;
16761 wxPoint *result;
16762 PyObject * obj0 = 0 ;
16763 char *kwnames[] = {
16764 (char *) "self", NULL
16765 };
16766
16767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16769 result = (wxPoint *)& ((arg1)->m_pointDrag);
16770
16771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16772 return resultobj;
16773 fail:
16774 return NULL;
16775 }
16776
16777
16778 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16779 PyObject *resultobj;
16780 wxListEvent *arg1 = (wxListEvent *) 0 ;
16781 wxListItem *result;
16782 PyObject * obj0 = 0 ;
16783 char *kwnames[] = {
16784 (char *) "self", NULL
16785 };
16786
16787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16789 result = (wxListItem *)& ((arg1)->m_item);
16790
16791 {
16792 resultobj = wxPyMake_wxObject(result);
16793 }
16794 return resultobj;
16795 fail:
16796 return NULL;
16797 }
16798
16799
16800 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16801 PyObject *resultobj;
16802 wxListEvent *arg1 = (wxListEvent *) 0 ;
16803 int result;
16804 PyObject * obj0 = 0 ;
16805 char *kwnames[] = {
16806 (char *) "self", NULL
16807 };
16808
16809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16811 {
16812 PyThreadState* __tstate = wxPyBeginAllowThreads();
16813 result = (int)(arg1)->GetKeyCode();
16814
16815 wxPyEndAllowThreads(__tstate);
16816 if (PyErr_Occurred()) SWIG_fail;
16817 }
16818 resultobj = PyInt_FromLong((long)result);
16819 return resultobj;
16820 fail:
16821 return NULL;
16822 }
16823
16824
16825 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16826 PyObject *resultobj;
16827 wxListEvent *arg1 = (wxListEvent *) 0 ;
16828 long result;
16829 PyObject * obj0 = 0 ;
16830 char *kwnames[] = {
16831 (char *) "self", NULL
16832 };
16833
16834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16836 {
16837 PyThreadState* __tstate = wxPyBeginAllowThreads();
16838 result = (long)(arg1)->GetIndex();
16839
16840 wxPyEndAllowThreads(__tstate);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
16843 resultobj = PyInt_FromLong((long)result);
16844 return resultobj;
16845 fail:
16846 return NULL;
16847 }
16848
16849
16850 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16851 PyObject *resultobj;
16852 wxListEvent *arg1 = (wxListEvent *) 0 ;
16853 int result;
16854 PyObject * obj0 = 0 ;
16855 char *kwnames[] = {
16856 (char *) "self", NULL
16857 };
16858
16859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
16860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16861 {
16862 PyThreadState* __tstate = wxPyBeginAllowThreads();
16863 result = (int)(arg1)->GetColumn();
16864
16865 wxPyEndAllowThreads(__tstate);
16866 if (PyErr_Occurred()) SWIG_fail;
16867 }
16868 resultobj = PyInt_FromLong((long)result);
16869 return resultobj;
16870 fail:
16871 return NULL;
16872 }
16873
16874
16875 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
16876 PyObject *resultobj;
16877 wxListEvent *arg1 = (wxListEvent *) 0 ;
16878 wxPoint result;
16879 PyObject * obj0 = 0 ;
16880 char *kwnames[] = {
16881 (char *) "self", NULL
16882 };
16883
16884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
16885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16886 {
16887 PyThreadState* __tstate = wxPyBeginAllowThreads();
16888 result = (arg1)->GetPoint();
16889
16890 wxPyEndAllowThreads(__tstate);
16891 if (PyErr_Occurred()) SWIG_fail;
16892 }
16893 {
16894 wxPoint * resultptr;
16895 resultptr = new wxPoint((wxPoint &) result);
16896 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16897 }
16898 return resultobj;
16899 fail:
16900 return NULL;
16901 }
16902
16903
16904 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
16905 PyObject *resultobj;
16906 wxListEvent *arg1 = (wxListEvent *) 0 ;
16907 wxString *result;
16908 PyObject * obj0 = 0 ;
16909 char *kwnames[] = {
16910 (char *) "self", NULL
16911 };
16912
16913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
16914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16915 {
16916 PyThreadState* __tstate = wxPyBeginAllowThreads();
16917 {
16918 wxString const &_result_ref = (arg1)->GetLabel();
16919 result = (wxString *) &_result_ref;
16920 }
16921
16922 wxPyEndAllowThreads(__tstate);
16923 if (PyErr_Occurred()) SWIG_fail;
16924 }
16925 {
16926 #if wxUSE_UNICODE
16927 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16928 #else
16929 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16930 #endif
16931 }
16932 return resultobj;
16933 fail:
16934 return NULL;
16935 }
16936
16937
16938 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16939 PyObject *resultobj;
16940 wxListEvent *arg1 = (wxListEvent *) 0 ;
16941 wxString *result;
16942 PyObject * obj0 = 0 ;
16943 char *kwnames[] = {
16944 (char *) "self", NULL
16945 };
16946
16947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
16948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16949 {
16950 PyThreadState* __tstate = wxPyBeginAllowThreads();
16951 {
16952 wxString const &_result_ref = (arg1)->GetText();
16953 result = (wxString *) &_result_ref;
16954 }
16955
16956 wxPyEndAllowThreads(__tstate);
16957 if (PyErr_Occurred()) SWIG_fail;
16958 }
16959 {
16960 #if wxUSE_UNICODE
16961 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16962 #else
16963 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16964 #endif
16965 }
16966 return resultobj;
16967 fail:
16968 return NULL;
16969 }
16970
16971
16972 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16973 PyObject *resultobj;
16974 wxListEvent *arg1 = (wxListEvent *) 0 ;
16975 int result;
16976 PyObject * obj0 = 0 ;
16977 char *kwnames[] = {
16978 (char *) "self", NULL
16979 };
16980
16981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
16982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16983 {
16984 PyThreadState* __tstate = wxPyBeginAllowThreads();
16985 result = (int)(arg1)->GetImage();
16986
16987 wxPyEndAllowThreads(__tstate);
16988 if (PyErr_Occurred()) SWIG_fail;
16989 }
16990 resultobj = PyInt_FromLong((long)result);
16991 return resultobj;
16992 fail:
16993 return NULL;
16994 }
16995
16996
16997 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16998 PyObject *resultobj;
16999 wxListEvent *arg1 = (wxListEvent *) 0 ;
17000 long result;
17001 PyObject * obj0 = 0 ;
17002 char *kwnames[] = {
17003 (char *) "self", NULL
17004 };
17005
17006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17008 {
17009 PyThreadState* __tstate = wxPyBeginAllowThreads();
17010 result = (long)(arg1)->GetData();
17011
17012 wxPyEndAllowThreads(__tstate);
17013 if (PyErr_Occurred()) SWIG_fail;
17014 }
17015 resultobj = PyInt_FromLong((long)result);
17016 return resultobj;
17017 fail:
17018 return NULL;
17019 }
17020
17021
17022 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17023 PyObject *resultobj;
17024 wxListEvent *arg1 = (wxListEvent *) 0 ;
17025 long result;
17026 PyObject * obj0 = 0 ;
17027 char *kwnames[] = {
17028 (char *) "self", NULL
17029 };
17030
17031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17033 {
17034 PyThreadState* __tstate = wxPyBeginAllowThreads();
17035 result = (long)(arg1)->GetMask();
17036
17037 wxPyEndAllowThreads(__tstate);
17038 if (PyErr_Occurred()) SWIG_fail;
17039 }
17040 resultobj = PyInt_FromLong((long)result);
17041 return resultobj;
17042 fail:
17043 return NULL;
17044 }
17045
17046
17047 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17048 PyObject *resultobj;
17049 wxListEvent *arg1 = (wxListEvent *) 0 ;
17050 wxListItem *result;
17051 PyObject * obj0 = 0 ;
17052 char *kwnames[] = {
17053 (char *) "self", NULL
17054 };
17055
17056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17058 {
17059 PyThreadState* __tstate = wxPyBeginAllowThreads();
17060 {
17061 wxListItem const &_result_ref = (arg1)->GetItem();
17062 result = (wxListItem *) &_result_ref;
17063 }
17064
17065 wxPyEndAllowThreads(__tstate);
17066 if (PyErr_Occurred()) SWIG_fail;
17067 }
17068 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17069 return resultobj;
17070 fail:
17071 return NULL;
17072 }
17073
17074
17075 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17076 PyObject *resultobj;
17077 wxListEvent *arg1 = (wxListEvent *) 0 ;
17078 long result;
17079 PyObject * obj0 = 0 ;
17080 char *kwnames[] = {
17081 (char *) "self", NULL
17082 };
17083
17084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17086 {
17087 PyThreadState* __tstate = wxPyBeginAllowThreads();
17088 result = (long)(arg1)->GetCacheFrom();
17089
17090 wxPyEndAllowThreads(__tstate);
17091 if (PyErr_Occurred()) SWIG_fail;
17092 }
17093 resultobj = PyInt_FromLong((long)result);
17094 return resultobj;
17095 fail:
17096 return NULL;
17097 }
17098
17099
17100 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17101 PyObject *resultobj;
17102 wxListEvent *arg1 = (wxListEvent *) 0 ;
17103 long result;
17104 PyObject * obj0 = 0 ;
17105 char *kwnames[] = {
17106 (char *) "self", NULL
17107 };
17108
17109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17111 {
17112 PyThreadState* __tstate = wxPyBeginAllowThreads();
17113 result = (long)(arg1)->GetCacheTo();
17114
17115 wxPyEndAllowThreads(__tstate);
17116 if (PyErr_Occurred()) SWIG_fail;
17117 }
17118 resultobj = PyInt_FromLong((long)result);
17119 return resultobj;
17120 fail:
17121 return NULL;
17122 }
17123
17124
17125 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17126 PyObject *resultobj;
17127 wxListEvent *arg1 = (wxListEvent *) 0 ;
17128 bool result;
17129 PyObject * obj0 = 0 ;
17130 char *kwnames[] = {
17131 (char *) "self", NULL
17132 };
17133
17134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17136 {
17137 PyThreadState* __tstate = wxPyBeginAllowThreads();
17138 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17139
17140 wxPyEndAllowThreads(__tstate);
17141 if (PyErr_Occurred()) SWIG_fail;
17142 }
17143 resultobj = PyInt_FromLong((long)result);
17144 return resultobj;
17145 fail:
17146 return NULL;
17147 }
17148
17149
17150 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17151 PyObject *resultobj;
17152 wxListEvent *arg1 = (wxListEvent *) 0 ;
17153 bool arg2 ;
17154 PyObject * obj0 = 0 ;
17155 PyObject * obj1 = 0 ;
17156 char *kwnames[] = {
17157 (char *) "self",(char *) "editCancelled", NULL
17158 };
17159
17160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17162 arg2 = PyInt_AsLong(obj1) ? true : false;
17163 if (PyErr_Occurred()) SWIG_fail;
17164 {
17165 PyThreadState* __tstate = wxPyBeginAllowThreads();
17166 (arg1)->SetEditCanceled(arg2);
17167
17168 wxPyEndAllowThreads(__tstate);
17169 if (PyErr_Occurred()) SWIG_fail;
17170 }
17171 Py_INCREF(Py_None); resultobj = Py_None;
17172 return resultobj;
17173 fail:
17174 return NULL;
17175 }
17176
17177
17178 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17179 PyObject *obj;
17180 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17181 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17182 Py_INCREF(obj);
17183 return Py_BuildValue((char *)"");
17184 }
17185 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17186 PyObject *resultobj;
17187 wxWindow *arg1 = (wxWindow *) 0 ;
17188 int arg2 = (int) -1 ;
17189 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17190 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17191 wxSize const &arg4_defvalue = wxDefaultSize ;
17192 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17193 long arg5 = (long) wxLC_ICON ;
17194 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17195 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17196 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17197 wxString *arg7 = (wxString *) &arg7_defvalue ;
17198 wxPyListCtrl *result;
17199 wxPoint temp3 ;
17200 wxSize temp4 ;
17201 bool temp7 = False ;
17202 PyObject * obj0 = 0 ;
17203 PyObject * obj2 = 0 ;
17204 PyObject * obj3 = 0 ;
17205 PyObject * obj5 = 0 ;
17206 PyObject * obj6 = 0 ;
17207 char *kwnames[] = {
17208 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17209 };
17210
17211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17213 if (obj2) {
17214 {
17215 arg3 = &temp3;
17216 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17217 }
17218 }
17219 if (obj3) {
17220 {
17221 arg4 = &temp4;
17222 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17223 }
17224 }
17225 if (obj5) {
17226 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17227 if (arg6 == NULL) {
17228 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17229 }
17230 }
17231 if (obj6) {
17232 {
17233 arg7 = wxString_in_helper(obj6);
17234 if (arg7 == NULL) SWIG_fail;
17235 temp7 = True;
17236 }
17237 }
17238 {
17239 PyThreadState* __tstate = wxPyBeginAllowThreads();
17240 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17241
17242 wxPyEndAllowThreads(__tstate);
17243 if (PyErr_Occurred()) SWIG_fail;
17244 }
17245 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17246 {
17247 if (temp7)
17248 delete arg7;
17249 }
17250 return resultobj;
17251 fail:
17252 {
17253 if (temp7)
17254 delete arg7;
17255 }
17256 return NULL;
17257 }
17258
17259
17260 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17261 PyObject *resultobj;
17262 wxPyListCtrl *result;
17263 char *kwnames[] = {
17264 NULL
17265 };
17266
17267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17268 {
17269 PyThreadState* __tstate = wxPyBeginAllowThreads();
17270 result = (wxPyListCtrl *)new wxPyListCtrl();
17271
17272 wxPyEndAllowThreads(__tstate);
17273 if (PyErr_Occurred()) SWIG_fail;
17274 }
17275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17276 return resultobj;
17277 fail:
17278 return NULL;
17279 }
17280
17281
17282 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17283 PyObject *resultobj;
17284 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17285 wxWindow *arg2 = (wxWindow *) 0 ;
17286 int arg3 = (int) -1 ;
17287 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17288 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17289 wxSize const &arg5_defvalue = wxDefaultSize ;
17290 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17291 long arg6 = (long) wxLC_ICON ;
17292 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17293 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17294 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17295 wxString *arg8 = (wxString *) &arg8_defvalue ;
17296 bool result;
17297 wxPoint temp4 ;
17298 wxSize temp5 ;
17299 bool temp8 = False ;
17300 PyObject * obj0 = 0 ;
17301 PyObject * obj1 = 0 ;
17302 PyObject * obj3 = 0 ;
17303 PyObject * obj4 = 0 ;
17304 PyObject * obj6 = 0 ;
17305 PyObject * obj7 = 0 ;
17306 char *kwnames[] = {
17307 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17308 };
17309
17310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17312 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17313 if (obj3) {
17314 {
17315 arg4 = &temp4;
17316 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17317 }
17318 }
17319 if (obj4) {
17320 {
17321 arg5 = &temp5;
17322 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17323 }
17324 }
17325 if (obj6) {
17326 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17327 if (arg7 == NULL) {
17328 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17329 }
17330 }
17331 if (obj7) {
17332 {
17333 arg8 = wxString_in_helper(obj7);
17334 if (arg8 == NULL) SWIG_fail;
17335 temp8 = True;
17336 }
17337 }
17338 {
17339 PyThreadState* __tstate = wxPyBeginAllowThreads();
17340 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17341
17342 wxPyEndAllowThreads(__tstate);
17343 if (PyErr_Occurred()) SWIG_fail;
17344 }
17345 resultobj = PyInt_FromLong((long)result);
17346 {
17347 if (temp8)
17348 delete arg8;
17349 }
17350 return resultobj;
17351 fail:
17352 {
17353 if (temp8)
17354 delete arg8;
17355 }
17356 return NULL;
17357 }
17358
17359
17360 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17361 PyObject *resultobj;
17362 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17363 PyObject *arg2 = (PyObject *) 0 ;
17364 PyObject *arg3 = (PyObject *) 0 ;
17365 PyObject * obj0 = 0 ;
17366 PyObject * obj1 = 0 ;
17367 PyObject * obj2 = 0 ;
17368 char *kwnames[] = {
17369 (char *) "self",(char *) "self",(char *) "_class", NULL
17370 };
17371
17372 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17373 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17374 arg2 = obj1;
17375 arg3 = obj2;
17376 {
17377 PyThreadState* __tstate = wxPyBeginAllowThreads();
17378 (arg1)->_setCallbackInfo(arg2,arg3);
17379
17380 wxPyEndAllowThreads(__tstate);
17381 if (PyErr_Occurred()) SWIG_fail;
17382 }
17383 Py_INCREF(Py_None); resultobj = Py_None;
17384 return resultobj;
17385 fail:
17386 return NULL;
17387 }
17388
17389
17390 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17391 PyObject *resultobj;
17392 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17393 wxColour *arg2 = 0 ;
17394 bool result;
17395 wxColour temp2 ;
17396 PyObject * obj0 = 0 ;
17397 PyObject * obj1 = 0 ;
17398 char *kwnames[] = {
17399 (char *) "self",(char *) "col", NULL
17400 };
17401
17402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17404 {
17405 arg2 = &temp2;
17406 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17407 }
17408 {
17409 PyThreadState* __tstate = wxPyBeginAllowThreads();
17410 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17411
17412 wxPyEndAllowThreads(__tstate);
17413 if (PyErr_Occurred()) SWIG_fail;
17414 }
17415 resultobj = PyInt_FromLong((long)result);
17416 return resultobj;
17417 fail:
17418 return NULL;
17419 }
17420
17421
17422 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17423 PyObject *resultobj;
17424 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17425 wxColour *arg2 = 0 ;
17426 bool result;
17427 wxColour temp2 ;
17428 PyObject * obj0 = 0 ;
17429 PyObject * obj1 = 0 ;
17430 char *kwnames[] = {
17431 (char *) "self",(char *) "col", NULL
17432 };
17433
17434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17436 {
17437 arg2 = &temp2;
17438 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17439 }
17440 {
17441 PyThreadState* __tstate = wxPyBeginAllowThreads();
17442 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17443
17444 wxPyEndAllowThreads(__tstate);
17445 if (PyErr_Occurred()) SWIG_fail;
17446 }
17447 resultobj = PyInt_FromLong((long)result);
17448 return resultobj;
17449 fail:
17450 return NULL;
17451 }
17452
17453
17454 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17455 PyObject *resultobj;
17456 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17457 int arg2 ;
17458 wxListItem *result;
17459 PyObject * obj0 = 0 ;
17460 char *kwnames[] = {
17461 (char *) "self",(char *) "col", NULL
17462 };
17463
17464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17466 {
17467 PyThreadState* __tstate = wxPyBeginAllowThreads();
17468 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17469
17470 wxPyEndAllowThreads(__tstate);
17471 if (PyErr_Occurred()) SWIG_fail;
17472 }
17473 {
17474 resultobj = wxPyMake_wxObject(result);
17475 }
17476 return resultobj;
17477 fail:
17478 return NULL;
17479 }
17480
17481
17482 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17483 PyObject *resultobj;
17484 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17485 int arg2 ;
17486 wxListItem *arg3 = 0 ;
17487 bool result;
17488 PyObject * obj0 = 0 ;
17489 PyObject * obj2 = 0 ;
17490 char *kwnames[] = {
17491 (char *) "self",(char *) "col",(char *) "item", NULL
17492 };
17493
17494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17496 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17497 if (arg3 == NULL) {
17498 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17499 }
17500 {
17501 PyThreadState* __tstate = wxPyBeginAllowThreads();
17502 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17503
17504 wxPyEndAllowThreads(__tstate);
17505 if (PyErr_Occurred()) SWIG_fail;
17506 }
17507 resultobj = PyInt_FromLong((long)result);
17508 return resultobj;
17509 fail:
17510 return NULL;
17511 }
17512
17513
17514 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17515 PyObject *resultobj;
17516 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17517 int arg2 ;
17518 int result;
17519 PyObject * obj0 = 0 ;
17520 char *kwnames[] = {
17521 (char *) "self",(char *) "col", NULL
17522 };
17523
17524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17526 {
17527 PyThreadState* __tstate = wxPyBeginAllowThreads();
17528 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17529
17530 wxPyEndAllowThreads(__tstate);
17531 if (PyErr_Occurred()) SWIG_fail;
17532 }
17533 resultobj = PyInt_FromLong((long)result);
17534 return resultobj;
17535 fail:
17536 return NULL;
17537 }
17538
17539
17540 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17541 PyObject *resultobj;
17542 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17543 int arg2 ;
17544 int arg3 ;
17545 bool result;
17546 PyObject * obj0 = 0 ;
17547 char *kwnames[] = {
17548 (char *) "self",(char *) "col",(char *) "width", NULL
17549 };
17550
17551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17553 {
17554 PyThreadState* __tstate = wxPyBeginAllowThreads();
17555 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17556
17557 wxPyEndAllowThreads(__tstate);
17558 if (PyErr_Occurred()) SWIG_fail;
17559 }
17560 resultobj = PyInt_FromLong((long)result);
17561 return resultobj;
17562 fail:
17563 return NULL;
17564 }
17565
17566
17567 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17568 PyObject *resultobj;
17569 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17570 int result;
17571 PyObject * obj0 = 0 ;
17572 char *kwnames[] = {
17573 (char *) "self", NULL
17574 };
17575
17576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17578 {
17579 PyThreadState* __tstate = wxPyBeginAllowThreads();
17580 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17581
17582 wxPyEndAllowThreads(__tstate);
17583 if (PyErr_Occurred()) SWIG_fail;
17584 }
17585 resultobj = PyInt_FromLong((long)result);
17586 return resultobj;
17587 fail:
17588 return NULL;
17589 }
17590
17591
17592 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17593 PyObject *resultobj;
17594 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17595 wxRect result;
17596 PyObject * obj0 = 0 ;
17597 char *kwnames[] = {
17598 (char *) "self", NULL
17599 };
17600
17601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17603 {
17604 PyThreadState* __tstate = wxPyBeginAllowThreads();
17605 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17606
17607 wxPyEndAllowThreads(__tstate);
17608 if (PyErr_Occurred()) SWIG_fail;
17609 }
17610 {
17611 wxRect * resultptr;
17612 resultptr = new wxRect((wxRect &) result);
17613 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17614 }
17615 return resultobj;
17616 fail:
17617 return NULL;
17618 }
17619
17620
17621 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17622 PyObject *resultobj;
17623 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17624 long arg2 ;
17625 int arg3 = (int) 0 ;
17626 wxListItem *result;
17627 PyObject * obj0 = 0 ;
17628 char *kwnames[] = {
17629 (char *) "self",(char *) "itemId",(char *) "col", NULL
17630 };
17631
17632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17634 {
17635 PyThreadState* __tstate = wxPyBeginAllowThreads();
17636 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17637
17638 wxPyEndAllowThreads(__tstate);
17639 if (PyErr_Occurred()) SWIG_fail;
17640 }
17641 {
17642 resultobj = wxPyMake_wxObject(result);
17643 }
17644 return resultobj;
17645 fail:
17646 return NULL;
17647 }
17648
17649
17650 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17651 PyObject *resultobj;
17652 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17653 wxListItem *arg2 = 0 ;
17654 bool result;
17655 PyObject * obj0 = 0 ;
17656 PyObject * obj1 = 0 ;
17657 char *kwnames[] = {
17658 (char *) "self",(char *) "info", NULL
17659 };
17660
17661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17663 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17664 if (arg2 == NULL) {
17665 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17666 }
17667 {
17668 PyThreadState* __tstate = wxPyBeginAllowThreads();
17669 result = (bool)(arg1)->SetItem(*arg2);
17670
17671 wxPyEndAllowThreads(__tstate);
17672 if (PyErr_Occurred()) SWIG_fail;
17673 }
17674 resultobj = PyInt_FromLong((long)result);
17675 return resultobj;
17676 fail:
17677 return NULL;
17678 }
17679
17680
17681 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17682 PyObject *resultobj;
17683 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17684 long arg2 ;
17685 int arg3 ;
17686 wxString *arg4 = 0 ;
17687 int arg5 = (int) -1 ;
17688 long result;
17689 bool temp4 = False ;
17690 PyObject * obj0 = 0 ;
17691 PyObject * obj3 = 0 ;
17692 char *kwnames[] = {
17693 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17694 };
17695
17696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17698 {
17699 arg4 = wxString_in_helper(obj3);
17700 if (arg4 == NULL) SWIG_fail;
17701 temp4 = True;
17702 }
17703 {
17704 PyThreadState* __tstate = wxPyBeginAllowThreads();
17705 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17706
17707 wxPyEndAllowThreads(__tstate);
17708 if (PyErr_Occurred()) SWIG_fail;
17709 }
17710 resultobj = PyInt_FromLong((long)result);
17711 {
17712 if (temp4)
17713 delete arg4;
17714 }
17715 return resultobj;
17716 fail:
17717 {
17718 if (temp4)
17719 delete arg4;
17720 }
17721 return NULL;
17722 }
17723
17724
17725 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17726 PyObject *resultobj;
17727 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17728 long arg2 ;
17729 long arg3 ;
17730 int result;
17731 PyObject * obj0 = 0 ;
17732 char *kwnames[] = {
17733 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17734 };
17735
17736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17738 {
17739 PyThreadState* __tstate = wxPyBeginAllowThreads();
17740 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17741
17742 wxPyEndAllowThreads(__tstate);
17743 if (PyErr_Occurred()) SWIG_fail;
17744 }
17745 resultobj = PyInt_FromLong((long)result);
17746 return resultobj;
17747 fail:
17748 return NULL;
17749 }
17750
17751
17752 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17753 PyObject *resultobj;
17754 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17755 long arg2 ;
17756 long arg3 ;
17757 long arg4 ;
17758 bool result;
17759 PyObject * obj0 = 0 ;
17760 char *kwnames[] = {
17761 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17762 };
17763
17764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17766 {
17767 PyThreadState* __tstate = wxPyBeginAllowThreads();
17768 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17769
17770 wxPyEndAllowThreads(__tstate);
17771 if (PyErr_Occurred()) SWIG_fail;
17772 }
17773 resultobj = PyInt_FromLong((long)result);
17774 return resultobj;
17775 fail:
17776 return NULL;
17777 }
17778
17779
17780 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17781 PyObject *resultobj;
17782 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17783 long arg2 ;
17784 int arg3 ;
17785 int arg4 ;
17786 bool result;
17787 PyObject * obj0 = 0 ;
17788 char *kwnames[] = {
17789 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17790 };
17791
17792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17794 {
17795 PyThreadState* __tstate = wxPyBeginAllowThreads();
17796 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17797
17798 wxPyEndAllowThreads(__tstate);
17799 if (PyErr_Occurred()) SWIG_fail;
17800 }
17801 resultobj = PyInt_FromLong((long)result);
17802 return resultobj;
17803 fail:
17804 return NULL;
17805 }
17806
17807
17808 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17809 PyObject *resultobj;
17810 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17811 long arg2 ;
17812 wxString result;
17813 PyObject * obj0 = 0 ;
17814 char *kwnames[] = {
17815 (char *) "self",(char *) "item", NULL
17816 };
17817
17818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17820 {
17821 PyThreadState* __tstate = wxPyBeginAllowThreads();
17822 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17823
17824 wxPyEndAllowThreads(__tstate);
17825 if (PyErr_Occurred()) SWIG_fail;
17826 }
17827 {
17828 #if wxUSE_UNICODE
17829 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17830 #else
17831 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
17832 #endif
17833 }
17834 return resultobj;
17835 fail:
17836 return NULL;
17837 }
17838
17839
17840 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17841 PyObject *resultobj;
17842 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17843 long arg2 ;
17844 wxString *arg3 = 0 ;
17845 bool temp3 = False ;
17846 PyObject * obj0 = 0 ;
17847 PyObject * obj2 = 0 ;
17848 char *kwnames[] = {
17849 (char *) "self",(char *) "item",(char *) "str", NULL
17850 };
17851
17852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
17853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17854 {
17855 arg3 = wxString_in_helper(obj2);
17856 if (arg3 == NULL) SWIG_fail;
17857 temp3 = True;
17858 }
17859 {
17860 PyThreadState* __tstate = wxPyBeginAllowThreads();
17861 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
17862
17863 wxPyEndAllowThreads(__tstate);
17864 if (PyErr_Occurred()) SWIG_fail;
17865 }
17866 Py_INCREF(Py_None); resultobj = Py_None;
17867 {
17868 if (temp3)
17869 delete arg3;
17870 }
17871 return resultobj;
17872 fail:
17873 {
17874 if (temp3)
17875 delete arg3;
17876 }
17877 return NULL;
17878 }
17879
17880
17881 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17882 PyObject *resultobj;
17883 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17884 long arg2 ;
17885 long result;
17886 PyObject * obj0 = 0 ;
17887 char *kwnames[] = {
17888 (char *) "self",(char *) "item", NULL
17889 };
17890
17891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
17892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17893 {
17894 PyThreadState* __tstate = wxPyBeginAllowThreads();
17895 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
17896
17897 wxPyEndAllowThreads(__tstate);
17898 if (PyErr_Occurred()) SWIG_fail;
17899 }
17900 resultobj = PyInt_FromLong((long)result);
17901 return resultobj;
17902 fail:
17903 return NULL;
17904 }
17905
17906
17907 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
17908 PyObject *resultobj;
17909 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17910 long arg2 ;
17911 long arg3 ;
17912 bool result;
17913 PyObject * obj0 = 0 ;
17914 char *kwnames[] = {
17915 (char *) "self",(char *) "item",(char *) "data", NULL
17916 };
17917
17918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
17919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17920 {
17921 PyThreadState* __tstate = wxPyBeginAllowThreads();
17922 result = (bool)(arg1)->SetItemData(arg2,arg3);
17923
17924 wxPyEndAllowThreads(__tstate);
17925 if (PyErr_Occurred()) SWIG_fail;
17926 }
17927 resultobj = PyInt_FromLong((long)result);
17928 return resultobj;
17929 fail:
17930 return NULL;
17931 }
17932
17933
17934 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17935 PyObject *resultobj;
17936 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17937 long arg2 ;
17938 wxPoint result;
17939 PyObject * obj0 = 0 ;
17940 char *kwnames[] = {
17941 (char *) "self",(char *) "item", NULL
17942 };
17943
17944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
17945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17946 {
17947 PyThreadState* __tstate = wxPyBeginAllowThreads();
17948 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
17949
17950 wxPyEndAllowThreads(__tstate);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 }
17953 {
17954 wxPoint * resultptr;
17955 resultptr = new wxPoint((wxPoint &) result);
17956 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17957 }
17958 return resultobj;
17959 fail:
17960 return NULL;
17961 }
17962
17963
17964 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17965 PyObject *resultobj;
17966 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17967 long arg2 ;
17968 int arg3 = (int) wxLIST_RECT_BOUNDS ;
17969 wxRect result;
17970 PyObject * obj0 = 0 ;
17971 char *kwnames[] = {
17972 (char *) "self",(char *) "item",(char *) "code", NULL
17973 };
17974
17975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) 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_GetItemRect(arg1,arg2,arg3);
17980
17981 wxPyEndAllowThreads(__tstate);
17982 if (PyErr_Occurred()) SWIG_fail;
17983 }
17984 {
17985 wxRect * resultptr;
17986 resultptr = new wxRect((wxRect &) result);
17987 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17988 }
17989 return resultobj;
17990 fail:
17991 return NULL;
17992 }
17993
17994
17995 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
17996 PyObject *resultobj;
17997 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17998 long arg2 ;
17999 wxPoint *arg3 = 0 ;
18000 bool result;
18001 wxPoint temp3 ;
18002 PyObject * obj0 = 0 ;
18003 PyObject * obj2 = 0 ;
18004 char *kwnames[] = {
18005 (char *) "self",(char *) "item",(char *) "pos", NULL
18006 };
18007
18008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18010 {
18011 arg3 = &temp3;
18012 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18013 }
18014 {
18015 PyThreadState* __tstate = wxPyBeginAllowThreads();
18016 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18017
18018 wxPyEndAllowThreads(__tstate);
18019 if (PyErr_Occurred()) SWIG_fail;
18020 }
18021 resultobj = PyInt_FromLong((long)result);
18022 return resultobj;
18023 fail:
18024 return NULL;
18025 }
18026
18027
18028 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18029 PyObject *resultobj;
18030 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18031 int result;
18032 PyObject * obj0 = 0 ;
18033 char *kwnames[] = {
18034 (char *) "self", NULL
18035 };
18036
18037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18042
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 resultobj = PyInt_FromLong((long)result);
18047 return resultobj;
18048 fail:
18049 return NULL;
18050 }
18051
18052
18053 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18054 PyObject *resultobj;
18055 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18056 int result;
18057 PyObject * obj0 = 0 ;
18058 char *kwnames[] = {
18059 (char *) "self", NULL
18060 };
18061
18062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18064 {
18065 PyThreadState* __tstate = wxPyBeginAllowThreads();
18066 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18067
18068 wxPyEndAllowThreads(__tstate);
18069 if (PyErr_Occurred()) SWIG_fail;
18070 }
18071 resultobj = PyInt_FromLong((long)result);
18072 return resultobj;
18073 fail:
18074 return NULL;
18075 }
18076
18077
18078 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18079 PyObject *resultobj;
18080 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18081 wxSize result;
18082 PyObject * obj0 = 0 ;
18083 char *kwnames[] = {
18084 (char *) "self", NULL
18085 };
18086
18087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18089 {
18090 PyThreadState* __tstate = wxPyBeginAllowThreads();
18091 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18092
18093 wxPyEndAllowThreads(__tstate);
18094 if (PyErr_Occurred()) SWIG_fail;
18095 }
18096 {
18097 wxSize * resultptr;
18098 resultptr = new wxSize((wxSize &) result);
18099 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18100 }
18101 return resultobj;
18102 fail:
18103 return NULL;
18104 }
18105
18106
18107 static PyObject *_wrap_ListCtrl_SetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18108 PyObject *resultobj;
18109 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18110 int arg2 ;
18111 bool arg3 = (bool) False ;
18112 PyObject * obj0 = 0 ;
18113 PyObject * obj2 = 0 ;
18114 char *kwnames[] = {
18115 (char *) "self",(char *) "spacing",(char *) "isSmall", NULL
18116 };
18117
18118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListCtrl_SetItemSpacing",kwnames,&obj0,&arg2,&obj2)) goto fail;
18119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18120 if (obj2) {
18121 arg3 = PyInt_AsLong(obj2) ? true : false;
18122 if (PyErr_Occurred()) SWIG_fail;
18123 }
18124 {
18125 PyThreadState* __tstate = wxPyBeginAllowThreads();
18126 (arg1)->SetItemSpacing(arg2,arg3);
18127
18128 wxPyEndAllowThreads(__tstate);
18129 if (PyErr_Occurred()) SWIG_fail;
18130 }
18131 Py_INCREF(Py_None); resultobj = Py_None;
18132 return resultobj;
18133 fail:
18134 return NULL;
18135 }
18136
18137
18138 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18139 PyObject *resultobj;
18140 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18141 int result;
18142 PyObject * obj0 = 0 ;
18143 char *kwnames[] = {
18144 (char *) "self", NULL
18145 };
18146
18147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18149 {
18150 PyThreadState* __tstate = wxPyBeginAllowThreads();
18151 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18152
18153 wxPyEndAllowThreads(__tstate);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 }
18156 resultobj = PyInt_FromLong((long)result);
18157 return resultobj;
18158 fail:
18159 return NULL;
18160 }
18161
18162
18163 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18164 PyObject *resultobj;
18165 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18166 wxColour result;
18167 PyObject * obj0 = 0 ;
18168 char *kwnames[] = {
18169 (char *) "self", NULL
18170 };
18171
18172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18174 {
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18177
18178 wxPyEndAllowThreads(__tstate);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
18181 {
18182 wxColour * resultptr;
18183 resultptr = new wxColour((wxColour &) result);
18184 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18185 }
18186 return resultobj;
18187 fail:
18188 return NULL;
18189 }
18190
18191
18192 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18193 PyObject *resultobj;
18194 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18195 wxColour *arg2 = 0 ;
18196 wxColour temp2 ;
18197 PyObject * obj0 = 0 ;
18198 PyObject * obj1 = 0 ;
18199 char *kwnames[] = {
18200 (char *) "self",(char *) "col", NULL
18201 };
18202
18203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18205 {
18206 arg2 = &temp2;
18207 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18208 }
18209 {
18210 PyThreadState* __tstate = wxPyBeginAllowThreads();
18211 (arg1)->SetTextColour((wxColour const &)*arg2);
18212
18213 wxPyEndAllowThreads(__tstate);
18214 if (PyErr_Occurred()) SWIG_fail;
18215 }
18216 Py_INCREF(Py_None); resultobj = Py_None;
18217 return resultobj;
18218 fail:
18219 return NULL;
18220 }
18221
18222
18223 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18224 PyObject *resultobj;
18225 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18226 long result;
18227 PyObject * obj0 = 0 ;
18228 char *kwnames[] = {
18229 (char *) "self", NULL
18230 };
18231
18232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18234 {
18235 PyThreadState* __tstate = wxPyBeginAllowThreads();
18236 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18237
18238 wxPyEndAllowThreads(__tstate);
18239 if (PyErr_Occurred()) SWIG_fail;
18240 }
18241 resultobj = PyInt_FromLong((long)result);
18242 return resultobj;
18243 fail:
18244 return NULL;
18245 }
18246
18247
18248 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18249 PyObject *resultobj;
18250 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18251 long arg2 ;
18252 bool arg3 = (bool) True ;
18253 PyObject * obj0 = 0 ;
18254 PyObject * obj2 = 0 ;
18255 char *kwnames[] = {
18256 (char *) "self",(char *) "style",(char *) "add", NULL
18257 };
18258
18259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18261 if (obj2) {
18262 arg3 = PyInt_AsLong(obj2) ? true : false;
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
18265 {
18266 PyThreadState* __tstate = wxPyBeginAllowThreads();
18267 (arg1)->SetSingleStyle(arg2,arg3);
18268
18269 wxPyEndAllowThreads(__tstate);
18270 if (PyErr_Occurred()) SWIG_fail;
18271 }
18272 Py_INCREF(Py_None); resultobj = Py_None;
18273 return resultobj;
18274 fail:
18275 return NULL;
18276 }
18277
18278
18279 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18280 PyObject *resultobj;
18281 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18282 long arg2 ;
18283 PyObject * obj0 = 0 ;
18284 char *kwnames[] = {
18285 (char *) "self",(char *) "style", NULL
18286 };
18287
18288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18290 {
18291 PyThreadState* __tstate = wxPyBeginAllowThreads();
18292 (arg1)->SetWindowStyleFlag(arg2);
18293
18294 wxPyEndAllowThreads(__tstate);
18295 if (PyErr_Occurred()) SWIG_fail;
18296 }
18297 Py_INCREF(Py_None); resultobj = Py_None;
18298 return resultobj;
18299 fail:
18300 return NULL;
18301 }
18302
18303
18304 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18305 PyObject *resultobj;
18306 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18307 long arg2 ;
18308 int arg3 = (int) wxLIST_NEXT_ALL ;
18309 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18310 long result;
18311 PyObject * obj0 = 0 ;
18312 char *kwnames[] = {
18313 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18314 };
18315
18316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18318 {
18319 PyThreadState* __tstate = wxPyBeginAllowThreads();
18320 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18321
18322 wxPyEndAllowThreads(__tstate);
18323 if (PyErr_Occurred()) SWIG_fail;
18324 }
18325 resultobj = PyInt_FromLong((long)result);
18326 return resultobj;
18327 fail:
18328 return NULL;
18329 }
18330
18331
18332 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18333 PyObject *resultobj;
18334 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18335 int arg2 ;
18336 wxImageList *result;
18337 PyObject * obj0 = 0 ;
18338 char *kwnames[] = {
18339 (char *) "self",(char *) "which", NULL
18340 };
18341
18342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18344 {
18345 PyThreadState* __tstate = wxPyBeginAllowThreads();
18346 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18347
18348 wxPyEndAllowThreads(__tstate);
18349 if (PyErr_Occurred()) SWIG_fail;
18350 }
18351 {
18352 resultobj = wxPyMake_wxObject(result);
18353 }
18354 return resultobj;
18355 fail:
18356 return NULL;
18357 }
18358
18359
18360 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18361 PyObject *resultobj;
18362 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18363 wxImageList *arg2 = (wxImageList *) 0 ;
18364 int arg3 ;
18365 PyObject * obj0 = 0 ;
18366 PyObject * obj1 = 0 ;
18367 char *kwnames[] = {
18368 (char *) "self",(char *) "imageList",(char *) "which", NULL
18369 };
18370
18371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18373 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18374 {
18375 PyThreadState* __tstate = wxPyBeginAllowThreads();
18376 (arg1)->SetImageList(arg2,arg3);
18377
18378 wxPyEndAllowThreads(__tstate);
18379 if (PyErr_Occurred()) SWIG_fail;
18380 }
18381 Py_INCREF(Py_None); resultobj = Py_None;
18382 return resultobj;
18383 fail:
18384 return NULL;
18385 }
18386
18387
18388 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18389 PyObject *resultobj;
18390 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18391 wxImageList *arg2 = (wxImageList *) 0 ;
18392 int arg3 ;
18393 PyObject * obj0 = 0 ;
18394 PyObject * obj1 = 0 ;
18395 char *kwnames[] = {
18396 (char *) "self",(char *) "imageList",(char *) "which", NULL
18397 };
18398
18399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18401 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18402 {
18403 PyThreadState* __tstate = wxPyBeginAllowThreads();
18404 (arg1)->AssignImageList(arg2,arg3);
18405
18406 wxPyEndAllowThreads(__tstate);
18407 if (PyErr_Occurred()) SWIG_fail;
18408 }
18409 Py_INCREF(Py_None); resultobj = Py_None;
18410 return resultobj;
18411 fail:
18412 return NULL;
18413 }
18414
18415
18416 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18417 PyObject *resultobj;
18418 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18419 bool result;
18420 PyObject * obj0 = 0 ;
18421 char *kwnames[] = {
18422 (char *) "self", NULL
18423 };
18424
18425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18430
18431 wxPyEndAllowThreads(__tstate);
18432 if (PyErr_Occurred()) SWIG_fail;
18433 }
18434 resultobj = PyInt_FromLong((long)result);
18435 return resultobj;
18436 fail:
18437 return NULL;
18438 }
18439
18440
18441 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18442 PyObject *resultobj;
18443 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18444 long arg2 ;
18445 PyObject * obj0 = 0 ;
18446 char *kwnames[] = {
18447 (char *) "self",(char *) "item", NULL
18448 };
18449
18450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18452 {
18453 PyThreadState* __tstate = wxPyBeginAllowThreads();
18454 (arg1)->RefreshItem(arg2);
18455
18456 wxPyEndAllowThreads(__tstate);
18457 if (PyErr_Occurred()) SWIG_fail;
18458 }
18459 Py_INCREF(Py_None); resultobj = Py_None;
18460 return resultobj;
18461 fail:
18462 return NULL;
18463 }
18464
18465
18466 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18467 PyObject *resultobj;
18468 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18469 long arg2 ;
18470 long arg3 ;
18471 PyObject * obj0 = 0 ;
18472 char *kwnames[] = {
18473 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18474 };
18475
18476 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18477 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18478 {
18479 PyThreadState* __tstate = wxPyBeginAllowThreads();
18480 (arg1)->RefreshItems(arg2,arg3);
18481
18482 wxPyEndAllowThreads(__tstate);
18483 if (PyErr_Occurred()) SWIG_fail;
18484 }
18485 Py_INCREF(Py_None); resultobj = Py_None;
18486 return resultobj;
18487 fail:
18488 return NULL;
18489 }
18490
18491
18492 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18493 PyObject *resultobj;
18494 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18495 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18496 bool result;
18497 PyObject * obj0 = 0 ;
18498 char *kwnames[] = {
18499 (char *) "self",(char *) "flag", NULL
18500 };
18501
18502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18504 {
18505 PyThreadState* __tstate = wxPyBeginAllowThreads();
18506 result = (bool)(arg1)->Arrange(arg2);
18507
18508 wxPyEndAllowThreads(__tstate);
18509 if (PyErr_Occurred()) SWIG_fail;
18510 }
18511 resultobj = PyInt_FromLong((long)result);
18512 return resultobj;
18513 fail:
18514 return NULL;
18515 }
18516
18517
18518 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18519 PyObject *resultobj;
18520 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18521 long arg2 ;
18522 bool result;
18523 PyObject * obj0 = 0 ;
18524 char *kwnames[] = {
18525 (char *) "self",(char *) "item", NULL
18526 };
18527
18528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18530 {
18531 PyThreadState* __tstate = wxPyBeginAllowThreads();
18532 result = (bool)(arg1)->DeleteItem(arg2);
18533
18534 wxPyEndAllowThreads(__tstate);
18535 if (PyErr_Occurred()) SWIG_fail;
18536 }
18537 resultobj = PyInt_FromLong((long)result);
18538 return resultobj;
18539 fail:
18540 return NULL;
18541 }
18542
18543
18544 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18545 PyObject *resultobj;
18546 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18547 bool result;
18548 PyObject * obj0 = 0 ;
18549 char *kwnames[] = {
18550 (char *) "self", NULL
18551 };
18552
18553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 result = (bool)(arg1)->DeleteAllItems();
18558
18559 wxPyEndAllowThreads(__tstate);
18560 if (PyErr_Occurred()) SWIG_fail;
18561 }
18562 resultobj = PyInt_FromLong((long)result);
18563 return resultobj;
18564 fail:
18565 return NULL;
18566 }
18567
18568
18569 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18570 PyObject *resultobj;
18571 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18572 int arg2 ;
18573 bool result;
18574 PyObject * obj0 = 0 ;
18575 char *kwnames[] = {
18576 (char *) "self",(char *) "col", NULL
18577 };
18578
18579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18581 {
18582 PyThreadState* __tstate = wxPyBeginAllowThreads();
18583 result = (bool)(arg1)->DeleteColumn(arg2);
18584
18585 wxPyEndAllowThreads(__tstate);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 }
18588 resultobj = PyInt_FromLong((long)result);
18589 return resultobj;
18590 fail:
18591 return NULL;
18592 }
18593
18594
18595 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18596 PyObject *resultobj;
18597 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18598 bool result;
18599 PyObject * obj0 = 0 ;
18600 char *kwnames[] = {
18601 (char *) "self", NULL
18602 };
18603
18604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18606 {
18607 PyThreadState* __tstate = wxPyBeginAllowThreads();
18608 result = (bool)(arg1)->DeleteAllColumns();
18609
18610 wxPyEndAllowThreads(__tstate);
18611 if (PyErr_Occurred()) SWIG_fail;
18612 }
18613 resultobj = PyInt_FromLong((long)result);
18614 return resultobj;
18615 fail:
18616 return NULL;
18617 }
18618
18619
18620 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18621 PyObject *resultobj;
18622 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18623 PyObject * obj0 = 0 ;
18624 char *kwnames[] = {
18625 (char *) "self", NULL
18626 };
18627
18628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) 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 (arg1)->ClearAll();
18633
18634 wxPyEndAllowThreads(__tstate);
18635 if (PyErr_Occurred()) SWIG_fail;
18636 }
18637 Py_INCREF(Py_None); resultobj = Py_None;
18638 return resultobj;
18639 fail:
18640 return NULL;
18641 }
18642
18643
18644 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18645 PyObject *resultobj;
18646 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18647 long arg2 ;
18648 PyObject * obj0 = 0 ;
18649 char *kwnames[] = {
18650 (char *) "self",(char *) "item", NULL
18651 };
18652
18653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 (arg1)->EditLabel(arg2);
18658
18659 wxPyEndAllowThreads(__tstate);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 }
18662 Py_INCREF(Py_None); resultobj = Py_None;
18663 return resultobj;
18664 fail:
18665 return NULL;
18666 }
18667
18668
18669 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18670 PyObject *resultobj;
18671 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18672 long arg2 ;
18673 bool result;
18674 PyObject * obj0 = 0 ;
18675 char *kwnames[] = {
18676 (char *) "self",(char *) "item", NULL
18677 };
18678
18679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) 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)->EnsureVisible(arg2);
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_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18696 PyObject *resultobj;
18697 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18698 long arg2 ;
18699 wxString *arg3 = 0 ;
18700 bool arg4 = (bool) False ;
18701 long result;
18702 bool temp3 = False ;
18703 PyObject * obj0 = 0 ;
18704 PyObject * obj2 = 0 ;
18705 PyObject * obj3 = 0 ;
18706 char *kwnames[] = {
18707 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18708 };
18709
18710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18712 {
18713 arg3 = wxString_in_helper(obj2);
18714 if (arg3 == NULL) SWIG_fail;
18715 temp3 = True;
18716 }
18717 if (obj3) {
18718 arg4 = PyInt_AsLong(obj3) ? true : false;
18719 if (PyErr_Occurred()) SWIG_fail;
18720 }
18721 {
18722 PyThreadState* __tstate = wxPyBeginAllowThreads();
18723 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18724
18725 wxPyEndAllowThreads(__tstate);
18726 if (PyErr_Occurred()) SWIG_fail;
18727 }
18728 resultobj = PyInt_FromLong((long)result);
18729 {
18730 if (temp3)
18731 delete arg3;
18732 }
18733 return resultobj;
18734 fail:
18735 {
18736 if (temp3)
18737 delete arg3;
18738 }
18739 return NULL;
18740 }
18741
18742
18743 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18744 PyObject *resultobj;
18745 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18746 long arg2 ;
18747 long arg3 ;
18748 long result;
18749 PyObject * obj0 = 0 ;
18750 char *kwnames[] = {
18751 (char *) "self",(char *) "start",(char *) "data", NULL
18752 };
18753
18754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) 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 result = (long)(arg1)->FindItem(arg2,arg3);
18759
18760 wxPyEndAllowThreads(__tstate);
18761 if (PyErr_Occurred()) SWIG_fail;
18762 }
18763 resultobj = PyInt_FromLong((long)result);
18764 return resultobj;
18765 fail:
18766 return NULL;
18767 }
18768
18769
18770 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18771 PyObject *resultobj;
18772 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18773 long arg2 ;
18774 wxPoint *arg3 = 0 ;
18775 int arg4 ;
18776 long result;
18777 wxPoint temp3 ;
18778 PyObject * obj0 = 0 ;
18779 PyObject * obj2 = 0 ;
18780 char *kwnames[] = {
18781 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18782 };
18783
18784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18786 {
18787 arg3 = &temp3;
18788 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18789 }
18790 {
18791 PyThreadState* __tstate = wxPyBeginAllowThreads();
18792 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18793
18794 wxPyEndAllowThreads(__tstate);
18795 if (PyErr_Occurred()) SWIG_fail;
18796 }
18797 resultobj = PyInt_FromLong((long)result);
18798 return resultobj;
18799 fail:
18800 return NULL;
18801 }
18802
18803
18804 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18805 PyObject *resultobj;
18806 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18807 wxPoint *arg2 = 0 ;
18808 int *arg3 = 0 ;
18809 long result;
18810 wxPoint temp2 ;
18811 int temp3 ;
18812 PyObject * obj0 = 0 ;
18813 PyObject * obj1 = 0 ;
18814 char *kwnames[] = {
18815 (char *) "self",(char *) "point", NULL
18816 };
18817
18818 arg3 = &temp3;
18819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18821 {
18822 arg2 = &temp2;
18823 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18824 }
18825 {
18826 PyThreadState* __tstate = wxPyBeginAllowThreads();
18827 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18828
18829 wxPyEndAllowThreads(__tstate);
18830 if (PyErr_Occurred()) SWIG_fail;
18831 }
18832 resultobj = PyInt_FromLong((long)result);
18833 {
18834 PyObject *o = PyInt_FromLong((long) (*arg3));
18835 resultobj = t_output_helper(resultobj,o);
18836 }
18837 return resultobj;
18838 fail:
18839 return NULL;
18840 }
18841
18842
18843 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18844 PyObject *resultobj;
18845 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18846 wxListItem *arg2 = 0 ;
18847 long result;
18848 PyObject * obj0 = 0 ;
18849 PyObject * obj1 = 0 ;
18850 char *kwnames[] = {
18851 (char *) "self",(char *) "info", NULL
18852 };
18853
18854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
18855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18856 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18857 if (arg2 == NULL) {
18858 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18859 }
18860 {
18861 PyThreadState* __tstate = wxPyBeginAllowThreads();
18862 result = (long)(arg1)->InsertItem(*arg2);
18863
18864 wxPyEndAllowThreads(__tstate);
18865 if (PyErr_Occurred()) SWIG_fail;
18866 }
18867 resultobj = PyInt_FromLong((long)result);
18868 return resultobj;
18869 fail:
18870 return NULL;
18871 }
18872
18873
18874 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18875 PyObject *resultobj;
18876 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18877 long arg2 ;
18878 wxString *arg3 = 0 ;
18879 long result;
18880 bool temp3 = False ;
18881 PyObject * obj0 = 0 ;
18882 PyObject * obj2 = 0 ;
18883 char *kwnames[] = {
18884 (char *) "self",(char *) "index",(char *) "label", NULL
18885 };
18886
18887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
18888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18889 {
18890 arg3 = wxString_in_helper(obj2);
18891 if (arg3 == NULL) SWIG_fail;
18892 temp3 = True;
18893 }
18894 {
18895 PyThreadState* __tstate = wxPyBeginAllowThreads();
18896 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
18897
18898 wxPyEndAllowThreads(__tstate);
18899 if (PyErr_Occurred()) SWIG_fail;
18900 }
18901 resultobj = PyInt_FromLong((long)result);
18902 {
18903 if (temp3)
18904 delete arg3;
18905 }
18906 return resultobj;
18907 fail:
18908 {
18909 if (temp3)
18910 delete arg3;
18911 }
18912 return NULL;
18913 }
18914
18915
18916 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18917 PyObject *resultobj;
18918 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18919 long arg2 ;
18920 int arg3 ;
18921 long result;
18922 PyObject * obj0 = 0 ;
18923 char *kwnames[] = {
18924 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
18925 };
18926
18927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
18928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18929 {
18930 PyThreadState* __tstate = wxPyBeginAllowThreads();
18931 result = (long)(arg1)->InsertItem(arg2,arg3);
18932
18933 wxPyEndAllowThreads(__tstate);
18934 if (PyErr_Occurred()) SWIG_fail;
18935 }
18936 resultobj = PyInt_FromLong((long)result);
18937 return resultobj;
18938 fail:
18939 return NULL;
18940 }
18941
18942
18943 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18944 PyObject *resultobj;
18945 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18946 long arg2 ;
18947 wxString *arg3 = 0 ;
18948 int arg4 ;
18949 long result;
18950 bool temp3 = False ;
18951 PyObject * obj0 = 0 ;
18952 PyObject * obj2 = 0 ;
18953 char *kwnames[] = {
18954 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
18955 };
18956
18957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18959 {
18960 arg3 = wxString_in_helper(obj2);
18961 if (arg3 == NULL) SWIG_fail;
18962 temp3 = True;
18963 }
18964 {
18965 PyThreadState* __tstate = wxPyBeginAllowThreads();
18966 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
18967
18968 wxPyEndAllowThreads(__tstate);
18969 if (PyErr_Occurred()) SWIG_fail;
18970 }
18971 resultobj = PyInt_FromLong((long)result);
18972 {
18973 if (temp3)
18974 delete arg3;
18975 }
18976 return resultobj;
18977 fail:
18978 {
18979 if (temp3)
18980 delete arg3;
18981 }
18982 return NULL;
18983 }
18984
18985
18986 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18987 PyObject *resultobj;
18988 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18989 long arg2 ;
18990 wxListItem *arg3 = 0 ;
18991 long result;
18992 PyObject * obj0 = 0 ;
18993 PyObject * obj2 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self",(char *) "col",(char *) "info", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19000 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19001 if (arg3 == NULL) {
19002 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19003 }
19004 {
19005 PyThreadState* __tstate = wxPyBeginAllowThreads();
19006 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19007
19008 wxPyEndAllowThreads(__tstate);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 resultobj = PyInt_FromLong((long)result);
19012 return resultobj;
19013 fail:
19014 return NULL;
19015 }
19016
19017
19018 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj;
19020 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19021 long arg2 ;
19022 wxString *arg3 = 0 ;
19023 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19024 int arg5 = (int) -1 ;
19025 long result;
19026 bool temp3 = False ;
19027 PyObject * obj0 = 0 ;
19028 PyObject * obj2 = 0 ;
19029 char *kwnames[] = {
19030 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19031 };
19032
19033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19035 {
19036 arg3 = wxString_in_helper(obj2);
19037 if (arg3 == NULL) SWIG_fail;
19038 temp3 = True;
19039 }
19040 {
19041 PyThreadState* __tstate = wxPyBeginAllowThreads();
19042 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19043
19044 wxPyEndAllowThreads(__tstate);
19045 if (PyErr_Occurred()) SWIG_fail;
19046 }
19047 resultobj = PyInt_FromLong((long)result);
19048 {
19049 if (temp3)
19050 delete arg3;
19051 }
19052 return resultobj;
19053 fail:
19054 {
19055 if (temp3)
19056 delete arg3;
19057 }
19058 return NULL;
19059 }
19060
19061
19062 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19063 PyObject *resultobj;
19064 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19065 long arg2 ;
19066 PyObject * obj0 = 0 ;
19067 char *kwnames[] = {
19068 (char *) "self",(char *) "count", NULL
19069 };
19070
19071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19073 {
19074 PyThreadState* __tstate = wxPyBeginAllowThreads();
19075 (arg1)->SetItemCount(arg2);
19076
19077 wxPyEndAllowThreads(__tstate);
19078 if (PyErr_Occurred()) SWIG_fail;
19079 }
19080 Py_INCREF(Py_None); resultobj = Py_None;
19081 return resultobj;
19082 fail:
19083 return NULL;
19084 }
19085
19086
19087 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19088 PyObject *resultobj;
19089 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19090 int arg2 ;
19091 int arg3 ;
19092 bool result;
19093 PyObject * obj0 = 0 ;
19094 char *kwnames[] = {
19095 (char *) "self",(char *) "dx",(char *) "dy", NULL
19096 };
19097
19098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19100 {
19101 PyThreadState* __tstate = wxPyBeginAllowThreads();
19102 result = (bool)(arg1)->ScrollList(arg2,arg3);
19103
19104 wxPyEndAllowThreads(__tstate);
19105 if (PyErr_Occurred()) SWIG_fail;
19106 }
19107 resultobj = PyInt_FromLong((long)result);
19108 return resultobj;
19109 fail:
19110 return NULL;
19111 }
19112
19113
19114 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19115 PyObject *resultobj;
19116 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19117 long arg2 ;
19118 wxColour *arg3 = 0 ;
19119 wxColour temp3 ;
19120 PyObject * obj0 = 0 ;
19121 PyObject * obj2 = 0 ;
19122 char *kwnames[] = {
19123 (char *) "self",(char *) "item",(char *) "col", NULL
19124 };
19125
19126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19128 {
19129 arg3 = &temp3;
19130 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19131 }
19132 {
19133 PyThreadState* __tstate = wxPyBeginAllowThreads();
19134 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19135
19136 wxPyEndAllowThreads(__tstate);
19137 if (PyErr_Occurred()) SWIG_fail;
19138 }
19139 Py_INCREF(Py_None); resultobj = Py_None;
19140 return resultobj;
19141 fail:
19142 return NULL;
19143 }
19144
19145
19146 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19147 PyObject *resultobj;
19148 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19149 long arg2 ;
19150 wxColour result;
19151 PyObject * obj0 = 0 ;
19152 char *kwnames[] = {
19153 (char *) "self",(char *) "item", NULL
19154 };
19155
19156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19158 {
19159 PyThreadState* __tstate = wxPyBeginAllowThreads();
19160 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19161
19162 wxPyEndAllowThreads(__tstate);
19163 if (PyErr_Occurred()) SWIG_fail;
19164 }
19165 {
19166 wxColour * resultptr;
19167 resultptr = new wxColour((wxColour &) result);
19168 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19169 }
19170 return resultobj;
19171 fail:
19172 return NULL;
19173 }
19174
19175
19176 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19177 PyObject *resultobj;
19178 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19179 long arg2 ;
19180 wxColour *arg3 = 0 ;
19181 wxColour temp3 ;
19182 PyObject * obj0 = 0 ;
19183 PyObject * obj2 = 0 ;
19184 char *kwnames[] = {
19185 (char *) "self",(char *) "item",(char *) "col", NULL
19186 };
19187
19188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19190 {
19191 arg3 = &temp3;
19192 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19193 }
19194 {
19195 PyThreadState* __tstate = wxPyBeginAllowThreads();
19196 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19197
19198 wxPyEndAllowThreads(__tstate);
19199 if (PyErr_Occurred()) SWIG_fail;
19200 }
19201 Py_INCREF(Py_None); resultobj = Py_None;
19202 return resultobj;
19203 fail:
19204 return NULL;
19205 }
19206
19207
19208 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19209 PyObject *resultobj;
19210 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19211 long arg2 ;
19212 wxColour result;
19213 PyObject * obj0 = 0 ;
19214 char *kwnames[] = {
19215 (char *) "self",(char *) "item", NULL
19216 };
19217
19218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19220 {
19221 PyThreadState* __tstate = wxPyBeginAllowThreads();
19222 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19223
19224 wxPyEndAllowThreads(__tstate);
19225 if (PyErr_Occurred()) SWIG_fail;
19226 }
19227 {
19228 wxColour * resultptr;
19229 resultptr = new wxColour((wxColour &) result);
19230 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19231 }
19232 return resultobj;
19233 fail:
19234 return NULL;
19235 }
19236
19237
19238 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19239 PyObject *resultobj;
19240 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19241 PyObject *arg2 = (PyObject *) 0 ;
19242 bool result;
19243 PyObject * obj0 = 0 ;
19244 PyObject * obj1 = 0 ;
19245 char *kwnames[] = {
19246 (char *) "self",(char *) "func", NULL
19247 };
19248
19249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19251 arg2 = obj1;
19252 {
19253 PyThreadState* __tstate = wxPyBeginAllowThreads();
19254 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19255
19256 wxPyEndAllowThreads(__tstate);
19257 if (PyErr_Occurred()) SWIG_fail;
19258 }
19259 resultobj = PyInt_FromLong((long)result);
19260 return resultobj;
19261 fail:
19262 return NULL;
19263 }
19264
19265
19266 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19267 PyObject *resultobj;
19268 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19269 wxWindow *result;
19270 PyObject * obj0 = 0 ;
19271 char *kwnames[] = {
19272 (char *) "self", NULL
19273 };
19274
19275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19277 {
19278 PyThreadState* __tstate = wxPyBeginAllowThreads();
19279 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19280
19281 wxPyEndAllowThreads(__tstate);
19282 if (PyErr_Occurred()) SWIG_fail;
19283 }
19284 {
19285 resultobj = wxPyMake_wxObject(result);
19286 }
19287 return resultobj;
19288 fail:
19289 return NULL;
19290 }
19291
19292
19293 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19294 PyObject *obj;
19295 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19296 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19297 Py_INCREF(obj);
19298 return Py_BuildValue((char *)"");
19299 }
19300 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19301 PyObject *resultobj;
19302 wxWindow *arg1 = (wxWindow *) 0 ;
19303 int arg2 = (int) -1 ;
19304 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19305 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19306 wxSize const &arg4_defvalue = wxDefaultSize ;
19307 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19308 long arg5 = (long) wxLC_REPORT ;
19309 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19310 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19311 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19312 wxString *arg7 = (wxString *) &arg7_defvalue ;
19313 wxListView *result;
19314 wxPoint temp3 ;
19315 wxSize temp4 ;
19316 bool temp7 = False ;
19317 PyObject * obj0 = 0 ;
19318 PyObject * obj2 = 0 ;
19319 PyObject * obj3 = 0 ;
19320 PyObject * obj5 = 0 ;
19321 PyObject * obj6 = 0 ;
19322 char *kwnames[] = {
19323 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19324 };
19325
19326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19328 if (obj2) {
19329 {
19330 arg3 = &temp3;
19331 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19332 }
19333 }
19334 if (obj3) {
19335 {
19336 arg4 = &temp4;
19337 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19338 }
19339 }
19340 if (obj5) {
19341 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19342 if (arg6 == NULL) {
19343 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19344 }
19345 }
19346 if (obj6) {
19347 {
19348 arg7 = wxString_in_helper(obj6);
19349 if (arg7 == NULL) SWIG_fail;
19350 temp7 = True;
19351 }
19352 }
19353 {
19354 PyThreadState* __tstate = wxPyBeginAllowThreads();
19355 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19356
19357 wxPyEndAllowThreads(__tstate);
19358 if (PyErr_Occurred()) SWIG_fail;
19359 }
19360 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19361 {
19362 if (temp7)
19363 delete arg7;
19364 }
19365 return resultobj;
19366 fail:
19367 {
19368 if (temp7)
19369 delete arg7;
19370 }
19371 return NULL;
19372 }
19373
19374
19375 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19376 PyObject *resultobj;
19377 wxListView *result;
19378 char *kwnames[] = {
19379 NULL
19380 };
19381
19382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19383 {
19384 PyThreadState* __tstate = wxPyBeginAllowThreads();
19385 result = (wxListView *)new wxListView();
19386
19387 wxPyEndAllowThreads(__tstate);
19388 if (PyErr_Occurred()) SWIG_fail;
19389 }
19390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19391 return resultobj;
19392 fail:
19393 return NULL;
19394 }
19395
19396
19397 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19398 PyObject *resultobj;
19399 wxListView *arg1 = (wxListView *) 0 ;
19400 wxWindow *arg2 = (wxWindow *) 0 ;
19401 int arg3 = (int) -1 ;
19402 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19403 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19404 wxSize const &arg5_defvalue = wxDefaultSize ;
19405 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19406 long arg6 = (long) wxLC_REPORT ;
19407 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19408 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19409 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19410 wxString *arg8 = (wxString *) &arg8_defvalue ;
19411 bool result;
19412 wxPoint temp4 ;
19413 wxSize temp5 ;
19414 bool temp8 = False ;
19415 PyObject * obj0 = 0 ;
19416 PyObject * obj1 = 0 ;
19417 PyObject * obj3 = 0 ;
19418 PyObject * obj4 = 0 ;
19419 PyObject * obj6 = 0 ;
19420 PyObject * obj7 = 0 ;
19421 char *kwnames[] = {
19422 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19423 };
19424
19425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19427 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19428 if (obj3) {
19429 {
19430 arg4 = &temp4;
19431 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19432 }
19433 }
19434 if (obj4) {
19435 {
19436 arg5 = &temp5;
19437 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19438 }
19439 }
19440 if (obj6) {
19441 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19442 if (arg7 == NULL) {
19443 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19444 }
19445 }
19446 if (obj7) {
19447 {
19448 arg8 = wxString_in_helper(obj7);
19449 if (arg8 == NULL) SWIG_fail;
19450 temp8 = True;
19451 }
19452 }
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19456
19457 wxPyEndAllowThreads(__tstate);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 }
19460 resultobj = PyInt_FromLong((long)result);
19461 {
19462 if (temp8)
19463 delete arg8;
19464 }
19465 return resultobj;
19466 fail:
19467 {
19468 if (temp8)
19469 delete arg8;
19470 }
19471 return NULL;
19472 }
19473
19474
19475 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19476 PyObject *resultobj;
19477 wxListView *arg1 = (wxListView *) 0 ;
19478 long arg2 ;
19479 bool arg3 = (bool) True ;
19480 PyObject * obj0 = 0 ;
19481 PyObject * obj2 = 0 ;
19482 char *kwnames[] = {
19483 (char *) "self",(char *) "n",(char *) "on", NULL
19484 };
19485
19486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19488 if (obj2) {
19489 arg3 = PyInt_AsLong(obj2) ? true : false;
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 {
19493 PyThreadState* __tstate = wxPyBeginAllowThreads();
19494 (arg1)->Select(arg2,arg3);
19495
19496 wxPyEndAllowThreads(__tstate);
19497 if (PyErr_Occurred()) SWIG_fail;
19498 }
19499 Py_INCREF(Py_None); resultobj = Py_None;
19500 return resultobj;
19501 fail:
19502 return NULL;
19503 }
19504
19505
19506 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19507 PyObject *resultobj;
19508 wxListView *arg1 = (wxListView *) 0 ;
19509 long arg2 ;
19510 PyObject * obj0 = 0 ;
19511 char *kwnames[] = {
19512 (char *) "self",(char *) "index", NULL
19513 };
19514
19515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19517 {
19518 PyThreadState* __tstate = wxPyBeginAllowThreads();
19519 (arg1)->Focus(arg2);
19520
19521 wxPyEndAllowThreads(__tstate);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 }
19524 Py_INCREF(Py_None); resultobj = Py_None;
19525 return resultobj;
19526 fail:
19527 return NULL;
19528 }
19529
19530
19531 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19532 PyObject *resultobj;
19533 wxListView *arg1 = (wxListView *) 0 ;
19534 long result;
19535 PyObject * obj0 = 0 ;
19536 char *kwnames[] = {
19537 (char *) "self", NULL
19538 };
19539
19540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19542 {
19543 PyThreadState* __tstate = wxPyBeginAllowThreads();
19544 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19545
19546 wxPyEndAllowThreads(__tstate);
19547 if (PyErr_Occurred()) SWIG_fail;
19548 }
19549 resultobj = PyInt_FromLong((long)result);
19550 return resultobj;
19551 fail:
19552 return NULL;
19553 }
19554
19555
19556 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19557 PyObject *resultobj;
19558 wxListView *arg1 = (wxListView *) 0 ;
19559 long arg2 ;
19560 long result;
19561 PyObject * obj0 = 0 ;
19562 char *kwnames[] = {
19563 (char *) "self",(char *) "item", NULL
19564 };
19565
19566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19568 {
19569 PyThreadState* __tstate = wxPyBeginAllowThreads();
19570 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19571
19572 wxPyEndAllowThreads(__tstate);
19573 if (PyErr_Occurred()) SWIG_fail;
19574 }
19575 resultobj = PyInt_FromLong((long)result);
19576 return resultobj;
19577 fail:
19578 return NULL;
19579 }
19580
19581
19582 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19583 PyObject *resultobj;
19584 wxListView *arg1 = (wxListView *) 0 ;
19585 long result;
19586 PyObject * obj0 = 0 ;
19587 char *kwnames[] = {
19588 (char *) "self", NULL
19589 };
19590
19591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
19595 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 resultobj = PyInt_FromLong((long)result);
19601 return resultobj;
19602 fail:
19603 return NULL;
19604 }
19605
19606
19607 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19608 PyObject *resultobj;
19609 wxListView *arg1 = (wxListView *) 0 ;
19610 long arg2 ;
19611 bool result;
19612 PyObject * obj0 = 0 ;
19613 char *kwnames[] = {
19614 (char *) "self",(char *) "index", NULL
19615 };
19616
19617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19619 {
19620 PyThreadState* __tstate = wxPyBeginAllowThreads();
19621 result = (bool)(arg1)->IsSelected(arg2);
19622
19623 wxPyEndAllowThreads(__tstate);
19624 if (PyErr_Occurred()) SWIG_fail;
19625 }
19626 resultobj = PyInt_FromLong((long)result);
19627 return resultobj;
19628 fail:
19629 return NULL;
19630 }
19631
19632
19633 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19634 PyObject *resultobj;
19635 wxListView *arg1 = (wxListView *) 0 ;
19636 int arg2 ;
19637 int arg3 ;
19638 PyObject * obj0 = 0 ;
19639 char *kwnames[] = {
19640 (char *) "self",(char *) "col",(char *) "image", NULL
19641 };
19642
19643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19645 {
19646 PyThreadState* __tstate = wxPyBeginAllowThreads();
19647 (arg1)->SetColumnImage(arg2,arg3);
19648
19649 wxPyEndAllowThreads(__tstate);
19650 if (PyErr_Occurred()) SWIG_fail;
19651 }
19652 Py_INCREF(Py_None); resultobj = Py_None;
19653 return resultobj;
19654 fail:
19655 return NULL;
19656 }
19657
19658
19659 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19660 PyObject *resultobj;
19661 wxListView *arg1 = (wxListView *) 0 ;
19662 int arg2 ;
19663 PyObject * obj0 = 0 ;
19664 char *kwnames[] = {
19665 (char *) "self",(char *) "col", NULL
19666 };
19667
19668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19670 {
19671 PyThreadState* __tstate = wxPyBeginAllowThreads();
19672 (arg1)->ClearColumnImage(arg2);
19673
19674 wxPyEndAllowThreads(__tstate);
19675 if (PyErr_Occurred()) SWIG_fail;
19676 }
19677 Py_INCREF(Py_None); resultobj = Py_None;
19678 return resultobj;
19679 fail:
19680 return NULL;
19681 }
19682
19683
19684 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19685 PyObject *obj;
19686 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19687 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19688 Py_INCREF(obj);
19689 return Py_BuildValue((char *)"");
19690 }
19691 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19692 PyObject *resultobj;
19693 wxTreeItemId *result;
19694 char *kwnames[] = {
19695 NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19699 {
19700 PyThreadState* __tstate = wxPyBeginAllowThreads();
19701 result = (wxTreeItemId *)new wxTreeItemId();
19702
19703 wxPyEndAllowThreads(__tstate);
19704 if (PyErr_Occurred()) SWIG_fail;
19705 }
19706 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19707 return resultobj;
19708 fail:
19709 return NULL;
19710 }
19711
19712
19713 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19714 PyObject *resultobj;
19715 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19716 PyObject * obj0 = 0 ;
19717 char *kwnames[] = {
19718 (char *) "self", NULL
19719 };
19720
19721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19723 {
19724 PyThreadState* __tstate = wxPyBeginAllowThreads();
19725 delete arg1;
19726
19727 wxPyEndAllowThreads(__tstate);
19728 if (PyErr_Occurred()) SWIG_fail;
19729 }
19730 Py_INCREF(Py_None); resultobj = Py_None;
19731 return resultobj;
19732 fail:
19733 return NULL;
19734 }
19735
19736
19737 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19738 PyObject *resultobj;
19739 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19740 bool result;
19741 PyObject * obj0 = 0 ;
19742 char *kwnames[] = {
19743 (char *) "self", NULL
19744 };
19745
19746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19748 {
19749 PyThreadState* __tstate = wxPyBeginAllowThreads();
19750 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19751
19752 wxPyEndAllowThreads(__tstate);
19753 if (PyErr_Occurred()) SWIG_fail;
19754 }
19755 resultobj = PyInt_FromLong((long)result);
19756 return resultobj;
19757 fail:
19758 return NULL;
19759 }
19760
19761
19762 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19763 PyObject *resultobj;
19764 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19765 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19766 bool result;
19767 PyObject * obj0 = 0 ;
19768 PyObject * obj1 = 0 ;
19769 char *kwnames[] = {
19770 (char *) "self",(char *) "other", NULL
19771 };
19772
19773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19775 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19776 {
19777 PyThreadState* __tstate = wxPyBeginAllowThreads();
19778 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19779
19780 wxPyEndAllowThreads(__tstate);
19781 if (PyErr_Occurred()) SWIG_fail;
19782 }
19783 resultobj = PyInt_FromLong((long)result);
19784 return resultobj;
19785 fail:
19786 return NULL;
19787 }
19788
19789
19790 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19791 PyObject *resultobj;
19792 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19793 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19794 bool result;
19795 PyObject * obj0 = 0 ;
19796 PyObject * obj1 = 0 ;
19797 char *kwnames[] = {
19798 (char *) "self",(char *) "other", NULL
19799 };
19800
19801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19803 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19804 {
19805 PyThreadState* __tstate = wxPyBeginAllowThreads();
19806 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19807
19808 wxPyEndAllowThreads(__tstate);
19809 if (PyErr_Occurred()) SWIG_fail;
19810 }
19811 resultobj = PyInt_FromLong((long)result);
19812 return resultobj;
19813 fail:
19814 return NULL;
19815 }
19816
19817
19818 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19819 PyObject *resultobj;
19820 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19821 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19822 PyObject * obj0 = 0 ;
19823 PyObject * obj1 = 0 ;
19824 char *kwnames[] = {
19825 (char *) "self",(char *) "m_pItem", NULL
19826 };
19827
19828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19830 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
19831 if (arg1) (arg1)->m_pItem = arg2;
19832
19833 Py_INCREF(Py_None); resultobj = Py_None;
19834 return resultobj;
19835 fail:
19836 return NULL;
19837 }
19838
19839
19840 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
19841 PyObject *resultobj;
19842 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19843 wxTreeItemIdValue result;
19844 PyObject * obj0 = 0 ;
19845 char *kwnames[] = {
19846 (char *) "self", NULL
19847 };
19848
19849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
19850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19851 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
19852
19853 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
19854 return resultobj;
19855 fail:
19856 return NULL;
19857 }
19858
19859
19860 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
19861 PyObject *obj;
19862 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19863 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
19864 Py_INCREF(obj);
19865 return Py_BuildValue((char *)"");
19866 }
19867 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
19868 PyObject *resultobj;
19869 PyObject *arg1 = (PyObject *) NULL ;
19870 wxPyTreeItemData *result;
19871 PyObject * obj0 = 0 ;
19872 char *kwnames[] = {
19873 (char *) "obj", NULL
19874 };
19875
19876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
19877 if (obj0) {
19878 arg1 = obj0;
19879 }
19880 {
19881 PyThreadState* __tstate = wxPyBeginAllowThreads();
19882 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
19883
19884 wxPyEndAllowThreads(__tstate);
19885 if (PyErr_Occurred()) SWIG_fail;
19886 }
19887 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
19888 return resultobj;
19889 fail:
19890 return NULL;
19891 }
19892
19893
19894 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19895 PyObject *resultobj;
19896 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19897 PyObject *result;
19898 PyObject * obj0 = 0 ;
19899 char *kwnames[] = {
19900 (char *) "self", NULL
19901 };
19902
19903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
19904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19905 {
19906 PyThreadState* __tstate = wxPyBeginAllowThreads();
19907 result = (PyObject *)(arg1)->GetData();
19908
19909 wxPyEndAllowThreads(__tstate);
19910 if (PyErr_Occurred()) SWIG_fail;
19911 }
19912 resultobj = result;
19913 return resultobj;
19914 fail:
19915 return NULL;
19916 }
19917
19918
19919 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
19920 PyObject *resultobj;
19921 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19922 PyObject *arg2 = (PyObject *) 0 ;
19923 PyObject * obj0 = 0 ;
19924 PyObject * obj1 = 0 ;
19925 char *kwnames[] = {
19926 (char *) "self",(char *) "obj", NULL
19927 };
19928
19929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
19930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19931 arg2 = obj1;
19932 {
19933 PyThreadState* __tstate = wxPyBeginAllowThreads();
19934 (arg1)->SetData(arg2);
19935
19936 wxPyEndAllowThreads(__tstate);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 }
19939 Py_INCREF(Py_None); resultobj = Py_None;
19940 return resultobj;
19941 fail:
19942 return NULL;
19943 }
19944
19945
19946 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19947 PyObject *resultobj;
19948 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19949 wxTreeItemId *result;
19950 PyObject * obj0 = 0 ;
19951 char *kwnames[] = {
19952 (char *) "self", NULL
19953 };
19954
19955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
19956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19957 {
19958 PyThreadState* __tstate = wxPyBeginAllowThreads();
19959 {
19960 wxTreeItemId const &_result_ref = (arg1)->GetId();
19961 result = (wxTreeItemId *) &_result_ref;
19962 }
19963
19964 wxPyEndAllowThreads(__tstate);
19965 if (PyErr_Occurred()) SWIG_fail;
19966 }
19967 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
19968 return resultobj;
19969 fail:
19970 return NULL;
19971 }
19972
19973
19974 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
19975 PyObject *resultobj;
19976 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
19977 wxTreeItemId *arg2 = 0 ;
19978 PyObject * obj0 = 0 ;
19979 PyObject * obj1 = 0 ;
19980 char *kwnames[] = {
19981 (char *) "self",(char *) "id", NULL
19982 };
19983
19984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
19985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19986 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19987 if (arg2 == NULL) {
19988 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19989 }
19990 {
19991 PyThreadState* __tstate = wxPyBeginAllowThreads();
19992 (arg1)->SetId((wxTreeItemId const &)*arg2);
19993
19994 wxPyEndAllowThreads(__tstate);
19995 if (PyErr_Occurred()) SWIG_fail;
19996 }
19997 Py_INCREF(Py_None); resultobj = Py_None;
19998 return resultobj;
19999 fail:
20000 return NULL;
20001 }
20002
20003
20004 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20005 PyObject *resultobj;
20006 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20007 PyObject * obj0 = 0 ;
20008 char *kwnames[] = {
20009 (char *) "self", NULL
20010 };
20011
20012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20014 {
20015 PyThreadState* __tstate = wxPyBeginAllowThreads();
20016 wxPyTreeItemData_Destroy(arg1);
20017
20018 wxPyEndAllowThreads(__tstate);
20019 if (PyErr_Occurred()) SWIG_fail;
20020 }
20021 Py_INCREF(Py_None); resultobj = Py_None;
20022 return resultobj;
20023 fail:
20024 return NULL;
20025 }
20026
20027
20028 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20029 PyObject *obj;
20030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20031 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20032 Py_INCREF(obj);
20033 return Py_BuildValue((char *)"");
20034 }
20035 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20036 PyObject *resultobj;
20037 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20038 int arg2 = (int) 0 ;
20039 wxTreeEvent *result;
20040 char *kwnames[] = {
20041 (char *) "commandType",(char *) "id", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20045 {
20046 PyThreadState* __tstate = wxPyBeginAllowThreads();
20047 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20048
20049 wxPyEndAllowThreads(__tstate);
20050 if (PyErr_Occurred()) SWIG_fail;
20051 }
20052 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20053 return resultobj;
20054 fail:
20055 return NULL;
20056 }
20057
20058
20059 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20060 PyObject *resultobj;
20061 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20062 wxTreeItemId result;
20063 PyObject * obj0 = 0 ;
20064 char *kwnames[] = {
20065 (char *) "self", NULL
20066 };
20067
20068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20070 {
20071 PyThreadState* __tstate = wxPyBeginAllowThreads();
20072 result = ((wxTreeEvent const *)arg1)->GetItem();
20073
20074 wxPyEndAllowThreads(__tstate);
20075 if (PyErr_Occurred()) SWIG_fail;
20076 }
20077 {
20078 wxTreeItemId * resultptr;
20079 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20080 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20081 }
20082 return resultobj;
20083 fail:
20084 return NULL;
20085 }
20086
20087
20088 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20089 PyObject *resultobj;
20090 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20091 wxTreeItemId *arg2 = 0 ;
20092 PyObject * obj0 = 0 ;
20093 PyObject * obj1 = 0 ;
20094 char *kwnames[] = {
20095 (char *) "self",(char *) "item", NULL
20096 };
20097
20098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20100 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20101 if (arg2 == NULL) {
20102 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20103 }
20104 {
20105 PyThreadState* __tstate = wxPyBeginAllowThreads();
20106 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20107
20108 wxPyEndAllowThreads(__tstate);
20109 if (PyErr_Occurred()) SWIG_fail;
20110 }
20111 Py_INCREF(Py_None); resultobj = Py_None;
20112 return resultobj;
20113 fail:
20114 return NULL;
20115 }
20116
20117
20118 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20119 PyObject *resultobj;
20120 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20121 wxTreeItemId result;
20122 PyObject * obj0 = 0 ;
20123 char *kwnames[] = {
20124 (char *) "self", NULL
20125 };
20126
20127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20129 {
20130 PyThreadState* __tstate = wxPyBeginAllowThreads();
20131 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20132
20133 wxPyEndAllowThreads(__tstate);
20134 if (PyErr_Occurred()) SWIG_fail;
20135 }
20136 {
20137 wxTreeItemId * resultptr;
20138 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20139 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20140 }
20141 return resultobj;
20142 fail:
20143 return NULL;
20144 }
20145
20146
20147 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20148 PyObject *resultobj;
20149 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20150 wxTreeItemId *arg2 = 0 ;
20151 PyObject * obj0 = 0 ;
20152 PyObject * obj1 = 0 ;
20153 char *kwnames[] = {
20154 (char *) "self",(char *) "item", NULL
20155 };
20156
20157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20159 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20160 if (arg2 == NULL) {
20161 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20162 }
20163 {
20164 PyThreadState* __tstate = wxPyBeginAllowThreads();
20165 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20166
20167 wxPyEndAllowThreads(__tstate);
20168 if (PyErr_Occurred()) SWIG_fail;
20169 }
20170 Py_INCREF(Py_None); resultobj = Py_None;
20171 return resultobj;
20172 fail:
20173 return NULL;
20174 }
20175
20176
20177 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20178 PyObject *resultobj;
20179 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20180 wxPoint result;
20181 PyObject * obj0 = 0 ;
20182 char *kwnames[] = {
20183 (char *) "self", NULL
20184 };
20185
20186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20188 {
20189 PyThreadState* __tstate = wxPyBeginAllowThreads();
20190 result = ((wxTreeEvent const *)arg1)->GetPoint();
20191
20192 wxPyEndAllowThreads(__tstate);
20193 if (PyErr_Occurred()) SWIG_fail;
20194 }
20195 {
20196 wxPoint * resultptr;
20197 resultptr = new wxPoint((wxPoint &) result);
20198 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20199 }
20200 return resultobj;
20201 fail:
20202 return NULL;
20203 }
20204
20205
20206 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20207 PyObject *resultobj;
20208 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20209 wxPoint *arg2 = 0 ;
20210 wxPoint temp2 ;
20211 PyObject * obj0 = 0 ;
20212 PyObject * obj1 = 0 ;
20213 char *kwnames[] = {
20214 (char *) "self",(char *) "pt", NULL
20215 };
20216
20217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20219 {
20220 arg2 = &temp2;
20221 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20222 }
20223 {
20224 PyThreadState* __tstate = wxPyBeginAllowThreads();
20225 (arg1)->SetPoint((wxPoint const &)*arg2);
20226
20227 wxPyEndAllowThreads(__tstate);
20228 if (PyErr_Occurred()) SWIG_fail;
20229 }
20230 Py_INCREF(Py_None); resultobj = Py_None;
20231 return resultobj;
20232 fail:
20233 return NULL;
20234 }
20235
20236
20237 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20238 PyObject *resultobj;
20239 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20240 wxKeyEvent *result;
20241 PyObject * obj0 = 0 ;
20242 char *kwnames[] = {
20243 (char *) "self", NULL
20244 };
20245
20246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20248 {
20249 PyThreadState* __tstate = wxPyBeginAllowThreads();
20250 {
20251 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20252 result = (wxKeyEvent *) &_result_ref;
20253 }
20254
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20259 return resultobj;
20260 fail:
20261 return NULL;
20262 }
20263
20264
20265 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj;
20267 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20268 int result;
20269 PyObject * obj0 = 0 ;
20270 char *kwnames[] = {
20271 (char *) "self", NULL
20272 };
20273
20274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20279
20280 wxPyEndAllowThreads(__tstate);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 }
20283 resultobj = PyInt_FromLong((long)result);
20284 return resultobj;
20285 fail:
20286 return NULL;
20287 }
20288
20289
20290 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20291 PyObject *resultobj;
20292 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20293 wxKeyEvent *arg2 = 0 ;
20294 PyObject * obj0 = 0 ;
20295 PyObject * obj1 = 0 ;
20296 char *kwnames[] = {
20297 (char *) "self",(char *) "evt", NULL
20298 };
20299
20300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20302 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20303 if (arg2 == NULL) {
20304 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20305 }
20306 {
20307 PyThreadState* __tstate = wxPyBeginAllowThreads();
20308 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20309
20310 wxPyEndAllowThreads(__tstate);
20311 if (PyErr_Occurred()) SWIG_fail;
20312 }
20313 Py_INCREF(Py_None); resultobj = Py_None;
20314 return resultobj;
20315 fail:
20316 return NULL;
20317 }
20318
20319
20320 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20321 PyObject *resultobj;
20322 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20323 wxString *result;
20324 PyObject * obj0 = 0 ;
20325 char *kwnames[] = {
20326 (char *) "self", NULL
20327 };
20328
20329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20331 {
20332 PyThreadState* __tstate = wxPyBeginAllowThreads();
20333 {
20334 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20335 result = (wxString *) &_result_ref;
20336 }
20337
20338 wxPyEndAllowThreads(__tstate);
20339 if (PyErr_Occurred()) SWIG_fail;
20340 }
20341 {
20342 #if wxUSE_UNICODE
20343 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20344 #else
20345 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20346 #endif
20347 }
20348 return resultobj;
20349 fail:
20350 return NULL;
20351 }
20352
20353
20354 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20355 PyObject *resultobj;
20356 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20357 wxString *arg2 = 0 ;
20358 bool temp2 = False ;
20359 PyObject * obj0 = 0 ;
20360 PyObject * obj1 = 0 ;
20361 char *kwnames[] = {
20362 (char *) "self",(char *) "label", NULL
20363 };
20364
20365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20367 {
20368 arg2 = wxString_in_helper(obj1);
20369 if (arg2 == NULL) SWIG_fail;
20370 temp2 = True;
20371 }
20372 {
20373 PyThreadState* __tstate = wxPyBeginAllowThreads();
20374 (arg1)->SetLabel((wxString const &)*arg2);
20375
20376 wxPyEndAllowThreads(__tstate);
20377 if (PyErr_Occurred()) SWIG_fail;
20378 }
20379 Py_INCREF(Py_None); resultobj = Py_None;
20380 {
20381 if (temp2)
20382 delete arg2;
20383 }
20384 return resultobj;
20385 fail:
20386 {
20387 if (temp2)
20388 delete arg2;
20389 }
20390 return NULL;
20391 }
20392
20393
20394 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20395 PyObject *resultobj;
20396 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20397 bool result;
20398 PyObject * obj0 = 0 ;
20399 char *kwnames[] = {
20400 (char *) "self", NULL
20401 };
20402
20403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20405 {
20406 PyThreadState* __tstate = wxPyBeginAllowThreads();
20407 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20408
20409 wxPyEndAllowThreads(__tstate);
20410 if (PyErr_Occurred()) SWIG_fail;
20411 }
20412 resultobj = PyInt_FromLong((long)result);
20413 return resultobj;
20414 fail:
20415 return NULL;
20416 }
20417
20418
20419 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20420 PyObject *resultobj;
20421 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20422 bool arg2 ;
20423 PyObject * obj0 = 0 ;
20424 PyObject * obj1 = 0 ;
20425 char *kwnames[] = {
20426 (char *) "self",(char *) "editCancelled", NULL
20427 };
20428
20429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20431 arg2 = PyInt_AsLong(obj1) ? true : false;
20432 if (PyErr_Occurred()) SWIG_fail;
20433 {
20434 PyThreadState* __tstate = wxPyBeginAllowThreads();
20435 (arg1)->SetEditCanceled(arg2);
20436
20437 wxPyEndAllowThreads(__tstate);
20438 if (PyErr_Occurred()) SWIG_fail;
20439 }
20440 Py_INCREF(Py_None); resultobj = Py_None;
20441 return resultobj;
20442 fail:
20443 return NULL;
20444 }
20445
20446
20447 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20448 PyObject *obj;
20449 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20450 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20451 Py_INCREF(obj);
20452 return Py_BuildValue((char *)"");
20453 }
20454 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20455 PyObject *resultobj;
20456 wxWindow *arg1 = (wxWindow *) 0 ;
20457 int arg2 = (int) -1 ;
20458 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20459 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20460 wxSize const &arg4_defvalue = wxDefaultSize ;
20461 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20462 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20463 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20464 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20465 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20466 wxString *arg7 = (wxString *) &arg7_defvalue ;
20467 wxPyTreeCtrl *result;
20468 wxPoint temp3 ;
20469 wxSize temp4 ;
20470 bool temp7 = False ;
20471 PyObject * obj0 = 0 ;
20472 PyObject * obj2 = 0 ;
20473 PyObject * obj3 = 0 ;
20474 PyObject * obj5 = 0 ;
20475 PyObject * obj6 = 0 ;
20476 char *kwnames[] = {
20477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20478 };
20479
20480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20482 if (obj2) {
20483 {
20484 arg3 = &temp3;
20485 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20486 }
20487 }
20488 if (obj3) {
20489 {
20490 arg4 = &temp4;
20491 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20492 }
20493 }
20494 if (obj5) {
20495 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20496 if (arg6 == NULL) {
20497 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20498 }
20499 }
20500 if (obj6) {
20501 {
20502 arg7 = wxString_in_helper(obj6);
20503 if (arg7 == NULL) SWIG_fail;
20504 temp7 = True;
20505 }
20506 }
20507 {
20508 PyThreadState* __tstate = wxPyBeginAllowThreads();
20509 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20510
20511 wxPyEndAllowThreads(__tstate);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 }
20514 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20515 {
20516 if (temp7)
20517 delete arg7;
20518 }
20519 return resultobj;
20520 fail:
20521 {
20522 if (temp7)
20523 delete arg7;
20524 }
20525 return NULL;
20526 }
20527
20528
20529 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20530 PyObject *resultobj;
20531 wxPyTreeCtrl *result;
20532 char *kwnames[] = {
20533 NULL
20534 };
20535
20536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20537 {
20538 PyThreadState* __tstate = wxPyBeginAllowThreads();
20539 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20540
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20545 return resultobj;
20546 fail:
20547 return NULL;
20548 }
20549
20550
20551 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20552 PyObject *resultobj;
20553 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20554 wxWindow *arg2 = (wxWindow *) 0 ;
20555 int arg3 = (int) -1 ;
20556 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20557 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20558 wxSize const &arg5_defvalue = wxDefaultSize ;
20559 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20560 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20561 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20562 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20563 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20564 wxString *arg8 = (wxString *) &arg8_defvalue ;
20565 bool result;
20566 wxPoint temp4 ;
20567 wxSize temp5 ;
20568 bool temp8 = False ;
20569 PyObject * obj0 = 0 ;
20570 PyObject * obj1 = 0 ;
20571 PyObject * obj3 = 0 ;
20572 PyObject * obj4 = 0 ;
20573 PyObject * obj6 = 0 ;
20574 PyObject * obj7 = 0 ;
20575 char *kwnames[] = {
20576 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20577 };
20578
20579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20581 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20582 if (obj3) {
20583 {
20584 arg4 = &temp4;
20585 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20586 }
20587 }
20588 if (obj4) {
20589 {
20590 arg5 = &temp5;
20591 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20592 }
20593 }
20594 if (obj6) {
20595 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20596 if (arg7 == NULL) {
20597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20598 }
20599 }
20600 if (obj7) {
20601 {
20602 arg8 = wxString_in_helper(obj7);
20603 if (arg8 == NULL) SWIG_fail;
20604 temp8 = True;
20605 }
20606 }
20607 {
20608 PyThreadState* __tstate = wxPyBeginAllowThreads();
20609 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20610
20611 wxPyEndAllowThreads(__tstate);
20612 if (PyErr_Occurred()) SWIG_fail;
20613 }
20614 resultobj = PyInt_FromLong((long)result);
20615 {
20616 if (temp8)
20617 delete arg8;
20618 }
20619 return resultobj;
20620 fail:
20621 {
20622 if (temp8)
20623 delete arg8;
20624 }
20625 return NULL;
20626 }
20627
20628
20629 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20630 PyObject *resultobj;
20631 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20632 PyObject *arg2 = (PyObject *) 0 ;
20633 PyObject *arg3 = (PyObject *) 0 ;
20634 PyObject * obj0 = 0 ;
20635 PyObject * obj1 = 0 ;
20636 PyObject * obj2 = 0 ;
20637 char *kwnames[] = {
20638 (char *) "self",(char *) "self",(char *) "_class", NULL
20639 };
20640
20641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20643 arg2 = obj1;
20644 arg3 = obj2;
20645 {
20646 PyThreadState* __tstate = wxPyBeginAllowThreads();
20647 (arg1)->_setCallbackInfo(arg2,arg3);
20648
20649 wxPyEndAllowThreads(__tstate);
20650 if (PyErr_Occurred()) SWIG_fail;
20651 }
20652 Py_INCREF(Py_None); resultobj = Py_None;
20653 return resultobj;
20654 fail:
20655 return NULL;
20656 }
20657
20658
20659 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20660 PyObject *resultobj;
20661 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20662 size_t result;
20663 PyObject * obj0 = 0 ;
20664 char *kwnames[] = {
20665 (char *) "self", NULL
20666 };
20667
20668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20670 {
20671 PyThreadState* __tstate = wxPyBeginAllowThreads();
20672 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20673
20674 wxPyEndAllowThreads(__tstate);
20675 if (PyErr_Occurred()) SWIG_fail;
20676 }
20677 resultobj = PyInt_FromLong((long)result);
20678 return resultobj;
20679 fail:
20680 return NULL;
20681 }
20682
20683
20684 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20685 PyObject *resultobj;
20686 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20687 unsigned int result;
20688 PyObject * obj0 = 0 ;
20689 char *kwnames[] = {
20690 (char *) "self", NULL
20691 };
20692
20693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20695 {
20696 PyThreadState* __tstate = wxPyBeginAllowThreads();
20697 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20698
20699 wxPyEndAllowThreads(__tstate);
20700 if (PyErr_Occurred()) SWIG_fail;
20701 }
20702 resultobj = PyInt_FromLong((long)result);
20703 return resultobj;
20704 fail:
20705 return NULL;
20706 }
20707
20708
20709 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20710 PyObject *resultobj;
20711 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20712 unsigned int arg2 ;
20713 PyObject * obj0 = 0 ;
20714 PyObject * obj1 = 0 ;
20715 char *kwnames[] = {
20716 (char *) "self",(char *) "indent", NULL
20717 };
20718
20719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20721 arg2 = (unsigned int) PyInt_AsLong(obj1);
20722 if (PyErr_Occurred()) SWIG_fail;
20723 {
20724 PyThreadState* __tstate = wxPyBeginAllowThreads();
20725 (arg1)->SetIndent(arg2);
20726
20727 wxPyEndAllowThreads(__tstate);
20728 if (PyErr_Occurred()) SWIG_fail;
20729 }
20730 Py_INCREF(Py_None); resultobj = Py_None;
20731 return resultobj;
20732 fail:
20733 return NULL;
20734 }
20735
20736
20737 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20738 PyObject *resultobj;
20739 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20740 unsigned int result;
20741 PyObject * obj0 = 0 ;
20742 char *kwnames[] = {
20743 (char *) "self", NULL
20744 };
20745
20746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20748 {
20749 PyThreadState* __tstate = wxPyBeginAllowThreads();
20750 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20751
20752 wxPyEndAllowThreads(__tstate);
20753 if (PyErr_Occurred()) SWIG_fail;
20754 }
20755 resultobj = PyInt_FromLong((long)result);
20756 return resultobj;
20757 fail:
20758 return NULL;
20759 }
20760
20761
20762 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20763 PyObject *resultobj;
20764 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20765 unsigned int arg2 ;
20766 PyObject * obj0 = 0 ;
20767 PyObject * obj1 = 0 ;
20768 char *kwnames[] = {
20769 (char *) "self",(char *) "spacing", NULL
20770 };
20771
20772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20774 arg2 = (unsigned int) PyInt_AsLong(obj1);
20775 if (PyErr_Occurred()) SWIG_fail;
20776 {
20777 PyThreadState* __tstate = wxPyBeginAllowThreads();
20778 (arg1)->SetSpacing(arg2);
20779
20780 wxPyEndAllowThreads(__tstate);
20781 if (PyErr_Occurred()) SWIG_fail;
20782 }
20783 Py_INCREF(Py_None); resultobj = Py_None;
20784 return resultobj;
20785 fail:
20786 return NULL;
20787 }
20788
20789
20790 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20791 PyObject *resultobj;
20792 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20793 wxImageList *result;
20794 PyObject * obj0 = 0 ;
20795 char *kwnames[] = {
20796 (char *) "self", NULL
20797 };
20798
20799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
20800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20801 {
20802 PyThreadState* __tstate = wxPyBeginAllowThreads();
20803 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
20804
20805 wxPyEndAllowThreads(__tstate);
20806 if (PyErr_Occurred()) SWIG_fail;
20807 }
20808 {
20809 resultobj = wxPyMake_wxObject(result);
20810 }
20811 return resultobj;
20812 fail:
20813 return NULL;
20814 }
20815
20816
20817 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20818 PyObject *resultobj;
20819 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20820 wxImageList *result;
20821 PyObject * obj0 = 0 ;
20822 char *kwnames[] = {
20823 (char *) "self", NULL
20824 };
20825
20826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
20827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20828 {
20829 PyThreadState* __tstate = wxPyBeginAllowThreads();
20830 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
20831
20832 wxPyEndAllowThreads(__tstate);
20833 if (PyErr_Occurred()) SWIG_fail;
20834 }
20835 {
20836 resultobj = wxPyMake_wxObject(result);
20837 }
20838 return resultobj;
20839 fail:
20840 return NULL;
20841 }
20842
20843
20844 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20845 PyObject *resultobj;
20846 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20847 wxImageList *arg2 = (wxImageList *) 0 ;
20848 PyObject * obj0 = 0 ;
20849 PyObject * obj1 = 0 ;
20850 char *kwnames[] = {
20851 (char *) "self",(char *) "imageList", NULL
20852 };
20853
20854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
20855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20856 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20857 {
20858 PyThreadState* __tstate = wxPyBeginAllowThreads();
20859 (arg1)->SetImageList(arg2);
20860
20861 wxPyEndAllowThreads(__tstate);
20862 if (PyErr_Occurred()) SWIG_fail;
20863 }
20864 Py_INCREF(Py_None); resultobj = Py_None;
20865 return resultobj;
20866 fail:
20867 return NULL;
20868 }
20869
20870
20871 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20872 PyObject *resultobj;
20873 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20874 wxImageList *arg2 = (wxImageList *) 0 ;
20875 PyObject * obj0 = 0 ;
20876 PyObject * obj1 = 0 ;
20877 char *kwnames[] = {
20878 (char *) "self",(char *) "imageList", NULL
20879 };
20880
20881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
20882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20883 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20884 {
20885 PyThreadState* __tstate = wxPyBeginAllowThreads();
20886 (arg1)->SetStateImageList(arg2);
20887
20888 wxPyEndAllowThreads(__tstate);
20889 if (PyErr_Occurred()) SWIG_fail;
20890 }
20891 Py_INCREF(Py_None); resultobj = Py_None;
20892 return resultobj;
20893 fail:
20894 return NULL;
20895 }
20896
20897
20898 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20899 PyObject *resultobj;
20900 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20901 wxImageList *arg2 = (wxImageList *) 0 ;
20902 PyObject * obj0 = 0 ;
20903 PyObject * obj1 = 0 ;
20904 char *kwnames[] = {
20905 (char *) "self",(char *) "imageList", NULL
20906 };
20907
20908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
20909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20910 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20911 {
20912 PyThreadState* __tstate = wxPyBeginAllowThreads();
20913 (arg1)->AssignImageList(arg2);
20914
20915 wxPyEndAllowThreads(__tstate);
20916 if (PyErr_Occurred()) SWIG_fail;
20917 }
20918 Py_INCREF(Py_None); resultobj = Py_None;
20919 return resultobj;
20920 fail:
20921 return NULL;
20922 }
20923
20924
20925 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
20926 PyObject *resultobj;
20927 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20928 wxImageList *arg2 = (wxImageList *) 0 ;
20929 PyObject * obj0 = 0 ;
20930 PyObject * obj1 = 0 ;
20931 char *kwnames[] = {
20932 (char *) "self",(char *) "imageList", NULL
20933 };
20934
20935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
20936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20938 {
20939 PyThreadState* __tstate = wxPyBeginAllowThreads();
20940 (arg1)->AssignStateImageList(arg2);
20941
20942 wxPyEndAllowThreads(__tstate);
20943 if (PyErr_Occurred()) SWIG_fail;
20944 }
20945 Py_INCREF(Py_None); resultobj = Py_None;
20946 return resultobj;
20947 fail:
20948 return NULL;
20949 }
20950
20951
20952 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
20953 PyObject *resultobj;
20954 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20955 wxTreeItemId *arg2 = 0 ;
20956 wxString result;
20957 PyObject * obj0 = 0 ;
20958 PyObject * obj1 = 0 ;
20959 char *kwnames[] = {
20960 (char *) "self",(char *) "item", NULL
20961 };
20962
20963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
20964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20966 if (arg2 == NULL) {
20967 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20968 }
20969 {
20970 PyThreadState* __tstate = wxPyBeginAllowThreads();
20971 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
20972
20973 wxPyEndAllowThreads(__tstate);
20974 if (PyErr_Occurred()) SWIG_fail;
20975 }
20976 {
20977 #if wxUSE_UNICODE
20978 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20979 #else
20980 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20981 #endif
20982 }
20983 return resultobj;
20984 fail:
20985 return NULL;
20986 }
20987
20988
20989 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
20990 PyObject *resultobj;
20991 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20992 wxTreeItemId *arg2 = 0 ;
20993 int arg3 = (int) wxTreeItemIcon_Normal ;
20994 int result;
20995 PyObject * obj0 = 0 ;
20996 PyObject * obj1 = 0 ;
20997 char *kwnames[] = {
20998 (char *) "self",(char *) "item",(char *) "which", NULL
20999 };
21000
21001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21003 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21004 if (arg2 == NULL) {
21005 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21006 }
21007 {
21008 PyThreadState* __tstate = wxPyBeginAllowThreads();
21009 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21010
21011 wxPyEndAllowThreads(__tstate);
21012 if (PyErr_Occurred()) SWIG_fail;
21013 }
21014 resultobj = PyInt_FromLong((long)result);
21015 return resultobj;
21016 fail:
21017 return NULL;
21018 }
21019
21020
21021 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21022 PyObject *resultobj;
21023 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21024 wxTreeItemId *arg2 = 0 ;
21025 wxPyTreeItemData *result;
21026 PyObject * obj0 = 0 ;
21027 PyObject * obj1 = 0 ;
21028 char *kwnames[] = {
21029 (char *) "self",(char *) "item", NULL
21030 };
21031
21032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21034 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21035 if (arg2 == NULL) {
21036 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21037 }
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21041
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21046 return resultobj;
21047 fail:
21048 return NULL;
21049 }
21050
21051
21052 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21053 PyObject *resultobj;
21054 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21055 wxTreeItemId *arg2 = 0 ;
21056 PyObject *result;
21057 PyObject * obj0 = 0 ;
21058 PyObject * obj1 = 0 ;
21059 char *kwnames[] = {
21060 (char *) "self",(char *) "item", NULL
21061 };
21062
21063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21066 if (arg2 == NULL) {
21067 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21068 }
21069 {
21070 PyThreadState* __tstate = wxPyBeginAllowThreads();
21071 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21072
21073 wxPyEndAllowThreads(__tstate);
21074 if (PyErr_Occurred()) SWIG_fail;
21075 }
21076 resultobj = result;
21077 return resultobj;
21078 fail:
21079 return NULL;
21080 }
21081
21082
21083 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21084 PyObject *resultobj;
21085 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21086 wxTreeItemId *arg2 = 0 ;
21087 wxColour result;
21088 PyObject * obj0 = 0 ;
21089 PyObject * obj1 = 0 ;
21090 char *kwnames[] = {
21091 (char *) "self",(char *) "item", NULL
21092 };
21093
21094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21097 if (arg2 == NULL) {
21098 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21099 }
21100 {
21101 PyThreadState* __tstate = wxPyBeginAllowThreads();
21102 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21103
21104 wxPyEndAllowThreads(__tstate);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 }
21107 {
21108 wxColour * resultptr;
21109 resultptr = new wxColour((wxColour &) result);
21110 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21111 }
21112 return resultobj;
21113 fail:
21114 return NULL;
21115 }
21116
21117
21118 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21119 PyObject *resultobj;
21120 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21121 wxTreeItemId *arg2 = 0 ;
21122 wxColour result;
21123 PyObject * obj0 = 0 ;
21124 PyObject * obj1 = 0 ;
21125 char *kwnames[] = {
21126 (char *) "self",(char *) "item", NULL
21127 };
21128
21129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21131 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21132 if (arg2 == NULL) {
21133 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21134 }
21135 {
21136 PyThreadState* __tstate = wxPyBeginAllowThreads();
21137 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21138
21139 wxPyEndAllowThreads(__tstate);
21140 if (PyErr_Occurred()) SWIG_fail;
21141 }
21142 {
21143 wxColour * resultptr;
21144 resultptr = new wxColour((wxColour &) result);
21145 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21146 }
21147 return resultobj;
21148 fail:
21149 return NULL;
21150 }
21151
21152
21153 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21154 PyObject *resultobj;
21155 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21156 wxTreeItemId *arg2 = 0 ;
21157 wxFont result;
21158 PyObject * obj0 = 0 ;
21159 PyObject * obj1 = 0 ;
21160 char *kwnames[] = {
21161 (char *) "self",(char *) "item", NULL
21162 };
21163
21164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21166 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21167 if (arg2 == NULL) {
21168 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21169 }
21170 {
21171 PyThreadState* __tstate = wxPyBeginAllowThreads();
21172 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21173
21174 wxPyEndAllowThreads(__tstate);
21175 if (PyErr_Occurred()) SWIG_fail;
21176 }
21177 {
21178 wxFont * resultptr;
21179 resultptr = new wxFont((wxFont &) result);
21180 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21181 }
21182 return resultobj;
21183 fail:
21184 return NULL;
21185 }
21186
21187
21188 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21189 PyObject *resultobj;
21190 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21191 wxTreeItemId *arg2 = 0 ;
21192 wxString *arg3 = 0 ;
21193 bool temp3 = False ;
21194 PyObject * obj0 = 0 ;
21195 PyObject * obj1 = 0 ;
21196 PyObject * obj2 = 0 ;
21197 char *kwnames[] = {
21198 (char *) "self",(char *) "item",(char *) "text", NULL
21199 };
21200
21201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21203 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21204 if (arg2 == NULL) {
21205 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21206 }
21207 {
21208 arg3 = wxString_in_helper(obj2);
21209 if (arg3 == NULL) SWIG_fail;
21210 temp3 = True;
21211 }
21212 {
21213 PyThreadState* __tstate = wxPyBeginAllowThreads();
21214 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21215
21216 wxPyEndAllowThreads(__tstate);
21217 if (PyErr_Occurred()) SWIG_fail;
21218 }
21219 Py_INCREF(Py_None); resultobj = Py_None;
21220 {
21221 if (temp3)
21222 delete arg3;
21223 }
21224 return resultobj;
21225 fail:
21226 {
21227 if (temp3)
21228 delete arg3;
21229 }
21230 return NULL;
21231 }
21232
21233
21234 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21235 PyObject *resultobj;
21236 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21237 wxTreeItemId *arg2 = 0 ;
21238 int arg3 ;
21239 int arg4 = (int) wxTreeItemIcon_Normal ;
21240 PyObject * obj0 = 0 ;
21241 PyObject * obj1 = 0 ;
21242 char *kwnames[] = {
21243 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21244 };
21245
21246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) 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 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21255
21256 wxPyEndAllowThreads(__tstate);
21257 if (PyErr_Occurred()) SWIG_fail;
21258 }
21259 Py_INCREF(Py_None); resultobj = Py_None;
21260 return resultobj;
21261 fail:
21262 return NULL;
21263 }
21264
21265
21266 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21267 PyObject *resultobj;
21268 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21269 wxTreeItemId *arg2 = 0 ;
21270 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21271 PyObject * obj0 = 0 ;
21272 PyObject * obj1 = 0 ;
21273 PyObject * obj2 = 0 ;
21274 char *kwnames[] = {
21275 (char *) "self",(char *) "item",(char *) "data", NULL
21276 };
21277
21278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21281 if (arg2 == NULL) {
21282 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21283 }
21284 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21285 {
21286 PyThreadState* __tstate = wxPyBeginAllowThreads();
21287 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21288
21289 wxPyEndAllowThreads(__tstate);
21290 if (PyErr_Occurred()) SWIG_fail;
21291 }
21292 Py_INCREF(Py_None); resultobj = Py_None;
21293 return resultobj;
21294 fail:
21295 return NULL;
21296 }
21297
21298
21299 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21300 PyObject *resultobj;
21301 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21302 wxTreeItemId *arg2 = 0 ;
21303 PyObject *arg3 = (PyObject *) 0 ;
21304 PyObject * obj0 = 0 ;
21305 PyObject * obj1 = 0 ;
21306 PyObject * obj2 = 0 ;
21307 char *kwnames[] = {
21308 (char *) "self",(char *) "item",(char *) "obj", NULL
21309 };
21310
21311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21313 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21314 if (arg2 == NULL) {
21315 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21316 }
21317 arg3 = obj2;
21318 {
21319 PyThreadState* __tstate = wxPyBeginAllowThreads();
21320 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21321
21322 wxPyEndAllowThreads(__tstate);
21323 if (PyErr_Occurred()) SWIG_fail;
21324 }
21325 Py_INCREF(Py_None); resultobj = Py_None;
21326 return resultobj;
21327 fail:
21328 return NULL;
21329 }
21330
21331
21332 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21333 PyObject *resultobj;
21334 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21335 wxTreeItemId *arg2 = 0 ;
21336 bool arg3 = (bool) True ;
21337 PyObject * obj0 = 0 ;
21338 PyObject * obj1 = 0 ;
21339 PyObject * obj2 = 0 ;
21340 char *kwnames[] = {
21341 (char *) "self",(char *) "item",(char *) "has", NULL
21342 };
21343
21344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21346 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21347 if (arg2 == NULL) {
21348 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21349 }
21350 if (obj2) {
21351 arg3 = PyInt_AsLong(obj2) ? true : false;
21352 if (PyErr_Occurred()) SWIG_fail;
21353 }
21354 {
21355 PyThreadState* __tstate = wxPyBeginAllowThreads();
21356 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21357
21358 wxPyEndAllowThreads(__tstate);
21359 if (PyErr_Occurred()) SWIG_fail;
21360 }
21361 Py_INCREF(Py_None); resultobj = Py_None;
21362 return resultobj;
21363 fail:
21364 return NULL;
21365 }
21366
21367
21368 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21369 PyObject *resultobj;
21370 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21371 wxTreeItemId *arg2 = 0 ;
21372 bool arg3 = (bool) True ;
21373 PyObject * obj0 = 0 ;
21374 PyObject * obj1 = 0 ;
21375 PyObject * obj2 = 0 ;
21376 char *kwnames[] = {
21377 (char *) "self",(char *) "item",(char *) "bold", NULL
21378 };
21379
21380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21382 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21383 if (arg2 == NULL) {
21384 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21385 }
21386 if (obj2) {
21387 arg3 = PyInt_AsLong(obj2) ? true : false;
21388 if (PyErr_Occurred()) SWIG_fail;
21389 }
21390 {
21391 PyThreadState* __tstate = wxPyBeginAllowThreads();
21392 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21393
21394 wxPyEndAllowThreads(__tstate);
21395 if (PyErr_Occurred()) SWIG_fail;
21396 }
21397 Py_INCREF(Py_None); resultobj = Py_None;
21398 return resultobj;
21399 fail:
21400 return NULL;
21401 }
21402
21403
21404 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21405 PyObject *resultobj;
21406 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21407 wxTreeItemId *arg2 = 0 ;
21408 wxColour *arg3 = 0 ;
21409 wxColour temp3 ;
21410 PyObject * obj0 = 0 ;
21411 PyObject * obj1 = 0 ;
21412 PyObject * obj2 = 0 ;
21413 char *kwnames[] = {
21414 (char *) "self",(char *) "item",(char *) "col", NULL
21415 };
21416
21417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21419 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21420 if (arg2 == NULL) {
21421 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21422 }
21423 {
21424 arg3 = &temp3;
21425 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21426 }
21427 {
21428 PyThreadState* __tstate = wxPyBeginAllowThreads();
21429 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21430
21431 wxPyEndAllowThreads(__tstate);
21432 if (PyErr_Occurred()) SWIG_fail;
21433 }
21434 Py_INCREF(Py_None); resultobj = Py_None;
21435 return resultobj;
21436 fail:
21437 return NULL;
21438 }
21439
21440
21441 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21442 PyObject *resultobj;
21443 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21444 wxTreeItemId *arg2 = 0 ;
21445 wxColour *arg3 = 0 ;
21446 wxColour temp3 ;
21447 PyObject * obj0 = 0 ;
21448 PyObject * obj1 = 0 ;
21449 PyObject * obj2 = 0 ;
21450 char *kwnames[] = {
21451 (char *) "self",(char *) "item",(char *) "col", NULL
21452 };
21453
21454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21457 if (arg2 == NULL) {
21458 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21459 }
21460 {
21461 arg3 = &temp3;
21462 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21463 }
21464 {
21465 PyThreadState* __tstate = wxPyBeginAllowThreads();
21466 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21467
21468 wxPyEndAllowThreads(__tstate);
21469 if (PyErr_Occurred()) SWIG_fail;
21470 }
21471 Py_INCREF(Py_None); resultobj = Py_None;
21472 return resultobj;
21473 fail:
21474 return NULL;
21475 }
21476
21477
21478 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21479 PyObject *resultobj;
21480 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21481 wxTreeItemId *arg2 = 0 ;
21482 wxFont *arg3 = 0 ;
21483 PyObject * obj0 = 0 ;
21484 PyObject * obj1 = 0 ;
21485 PyObject * obj2 = 0 ;
21486 char *kwnames[] = {
21487 (char *) "self",(char *) "item",(char *) "font", NULL
21488 };
21489
21490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21492 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21493 if (arg2 == NULL) {
21494 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21495 }
21496 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21497 if (arg3 == NULL) {
21498 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21499 }
21500 {
21501 PyThreadState* __tstate = wxPyBeginAllowThreads();
21502 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21503
21504 wxPyEndAllowThreads(__tstate);
21505 if (PyErr_Occurred()) SWIG_fail;
21506 }
21507 Py_INCREF(Py_None); resultobj = Py_None;
21508 return resultobj;
21509 fail:
21510 return NULL;
21511 }
21512
21513
21514 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21515 PyObject *resultobj;
21516 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21517 wxTreeItemId *arg2 = 0 ;
21518 bool result;
21519 PyObject * obj0 = 0 ;
21520 PyObject * obj1 = 0 ;
21521 char *kwnames[] = {
21522 (char *) "self",(char *) "item", NULL
21523 };
21524
21525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21528 if (arg2 == NULL) {
21529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21530 }
21531 {
21532 PyThreadState* __tstate = wxPyBeginAllowThreads();
21533 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21534
21535 wxPyEndAllowThreads(__tstate);
21536 if (PyErr_Occurred()) SWIG_fail;
21537 }
21538 resultobj = PyInt_FromLong((long)result);
21539 return resultobj;
21540 fail:
21541 return NULL;
21542 }
21543
21544
21545 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21546 PyObject *resultobj;
21547 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21548 wxTreeItemId *arg2 = 0 ;
21549 bool result;
21550 PyObject * obj0 = 0 ;
21551 PyObject * obj1 = 0 ;
21552 char *kwnames[] = {
21553 (char *) "self",(char *) "item", NULL
21554 };
21555
21556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21558 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21559 if (arg2 == NULL) {
21560 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21561 }
21562 {
21563 PyThreadState* __tstate = wxPyBeginAllowThreads();
21564 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21565
21566 wxPyEndAllowThreads(__tstate);
21567 if (PyErr_Occurred()) SWIG_fail;
21568 }
21569 resultobj = PyInt_FromLong((long)result);
21570 return resultobj;
21571 fail:
21572 return NULL;
21573 }
21574
21575
21576 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21577 PyObject *resultobj;
21578 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21579 wxTreeItemId *arg2 = 0 ;
21580 bool result;
21581 PyObject * obj0 = 0 ;
21582 PyObject * obj1 = 0 ;
21583 char *kwnames[] = {
21584 (char *) "self",(char *) "item", NULL
21585 };
21586
21587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21590 if (arg2 == NULL) {
21591 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21592 }
21593 {
21594 PyThreadState* __tstate = wxPyBeginAllowThreads();
21595 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21596
21597 wxPyEndAllowThreads(__tstate);
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 resultobj = PyInt_FromLong((long)result);
21601 return resultobj;
21602 fail:
21603 return NULL;
21604 }
21605
21606
21607 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21608 PyObject *resultobj;
21609 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21610 wxTreeItemId *arg2 = 0 ;
21611 bool result;
21612 PyObject * obj0 = 0 ;
21613 PyObject * obj1 = 0 ;
21614 char *kwnames[] = {
21615 (char *) "self",(char *) "item", NULL
21616 };
21617
21618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21620 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21621 if (arg2 == NULL) {
21622 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21623 }
21624 {
21625 PyThreadState* __tstate = wxPyBeginAllowThreads();
21626 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21627
21628 wxPyEndAllowThreads(__tstate);
21629 if (PyErr_Occurred()) SWIG_fail;
21630 }
21631 resultobj = PyInt_FromLong((long)result);
21632 return resultobj;
21633 fail:
21634 return NULL;
21635 }
21636
21637
21638 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21639 PyObject *resultobj;
21640 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21641 wxTreeItemId *arg2 = 0 ;
21642 bool result;
21643 PyObject * obj0 = 0 ;
21644 PyObject * obj1 = 0 ;
21645 char *kwnames[] = {
21646 (char *) "self",(char *) "item", NULL
21647 };
21648
21649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21652 if (arg2 == NULL) {
21653 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21654 }
21655 {
21656 PyThreadState* __tstate = wxPyBeginAllowThreads();
21657 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21658
21659 wxPyEndAllowThreads(__tstate);
21660 if (PyErr_Occurred()) SWIG_fail;
21661 }
21662 resultobj = PyInt_FromLong((long)result);
21663 return resultobj;
21664 fail:
21665 return NULL;
21666 }
21667
21668
21669 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21670 PyObject *resultobj;
21671 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21672 wxTreeItemId *arg2 = 0 ;
21673 bool arg3 = (bool) True ;
21674 size_t result;
21675 PyObject * obj0 = 0 ;
21676 PyObject * obj1 = 0 ;
21677 PyObject * obj2 = 0 ;
21678 char *kwnames[] = {
21679 (char *) "self",(char *) "item",(char *) "recursively", NULL
21680 };
21681
21682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21684 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21685 if (arg2 == NULL) {
21686 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21687 }
21688 if (obj2) {
21689 arg3 = PyInt_AsLong(obj2) ? true : false;
21690 if (PyErr_Occurred()) SWIG_fail;
21691 }
21692 {
21693 PyThreadState* __tstate = wxPyBeginAllowThreads();
21694 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21695
21696 wxPyEndAllowThreads(__tstate);
21697 if (PyErr_Occurred()) SWIG_fail;
21698 }
21699 resultobj = PyInt_FromLong((long)result);
21700 return resultobj;
21701 fail:
21702 return NULL;
21703 }
21704
21705
21706 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21707 PyObject *resultobj;
21708 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21709 wxTreeItemId result;
21710 PyObject * obj0 = 0 ;
21711 char *kwnames[] = {
21712 (char *) "self", NULL
21713 };
21714
21715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21717 {
21718 PyThreadState* __tstate = wxPyBeginAllowThreads();
21719 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21720
21721 wxPyEndAllowThreads(__tstate);
21722 if (PyErr_Occurred()) SWIG_fail;
21723 }
21724 {
21725 wxTreeItemId * resultptr;
21726 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21727 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21728 }
21729 return resultobj;
21730 fail:
21731 return NULL;
21732 }
21733
21734
21735 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21736 PyObject *resultobj;
21737 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21738 wxTreeItemId result;
21739 PyObject * obj0 = 0 ;
21740 char *kwnames[] = {
21741 (char *) "self", NULL
21742 };
21743
21744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21746 {
21747 PyThreadState* __tstate = wxPyBeginAllowThreads();
21748 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21749
21750 wxPyEndAllowThreads(__tstate);
21751 if (PyErr_Occurred()) SWIG_fail;
21752 }
21753 {
21754 wxTreeItemId * resultptr;
21755 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21756 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21757 }
21758 return resultobj;
21759 fail:
21760 return NULL;
21761 }
21762
21763
21764 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
21765 PyObject *resultobj;
21766 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21767 PyObject *result;
21768 PyObject * obj0 = 0 ;
21769 char *kwnames[] = {
21770 (char *) "self", NULL
21771 };
21772
21773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
21774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21775 {
21776 PyThreadState* __tstate = wxPyBeginAllowThreads();
21777 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
21778
21779 wxPyEndAllowThreads(__tstate);
21780 if (PyErr_Occurred()) SWIG_fail;
21781 }
21782 resultobj = result;
21783 return resultobj;
21784 fail:
21785 return NULL;
21786 }
21787
21788
21789 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
21790 PyObject *resultobj;
21791 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21792 wxTreeItemId *arg2 = 0 ;
21793 wxTreeItemId result;
21794 PyObject * obj0 = 0 ;
21795 PyObject * obj1 = 0 ;
21796 char *kwnames[] = {
21797 (char *) "self",(char *) "item", NULL
21798 };
21799
21800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
21801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21802 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21803 if (arg2 == NULL) {
21804 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21805 }
21806 {
21807 PyThreadState* __tstate = wxPyBeginAllowThreads();
21808 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
21809
21810 wxPyEndAllowThreads(__tstate);
21811 if (PyErr_Occurred()) SWIG_fail;
21812 }
21813 {
21814 wxTreeItemId * resultptr;
21815 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21816 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21817 }
21818 return resultobj;
21819 fail:
21820 return NULL;
21821 }
21822
21823
21824 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21825 PyObject *resultobj;
21826 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21827 wxTreeItemId *arg2 = 0 ;
21828 PyObject *result;
21829 PyObject * obj0 = 0 ;
21830 PyObject * obj1 = 0 ;
21831 char *kwnames[] = {
21832 (char *) "self",(char *) "item", NULL
21833 };
21834
21835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
21836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21838 if (arg2 == NULL) {
21839 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21840 }
21841 {
21842 PyThreadState* __tstate = wxPyBeginAllowThreads();
21843 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
21844
21845 wxPyEndAllowThreads(__tstate);
21846 if (PyErr_Occurred()) SWIG_fail;
21847 }
21848 resultobj = result;
21849 return resultobj;
21850 fail:
21851 return NULL;
21852 }
21853
21854
21855 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21856 PyObject *resultobj;
21857 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21858 wxTreeItemId *arg2 = 0 ;
21859 wxTreeItemIdValue *arg3 = 0 ;
21860 PyObject *result;
21861 PyObject * obj0 = 0 ;
21862 PyObject * obj1 = 0 ;
21863 PyObject * obj2 = 0 ;
21864 char *kwnames[] = {
21865 (char *) "self",(char *) "item",(char *) "cookie", NULL
21866 };
21867
21868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
21869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21870 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21871 if (arg2 == NULL) {
21872 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21873 }
21874 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21875 if (arg3 == NULL) {
21876 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21877 }
21878 {
21879 PyThreadState* __tstate = wxPyBeginAllowThreads();
21880 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
21881
21882 wxPyEndAllowThreads(__tstate);
21883 if (PyErr_Occurred()) SWIG_fail;
21884 }
21885 resultobj = result;
21886 return resultobj;
21887 fail:
21888 return NULL;
21889 }
21890
21891
21892 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
21893 PyObject *resultobj;
21894 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21895 wxTreeItemId *arg2 = 0 ;
21896 wxTreeItemId result;
21897 PyObject * obj0 = 0 ;
21898 PyObject * obj1 = 0 ;
21899 char *kwnames[] = {
21900 (char *) "self",(char *) "item", NULL
21901 };
21902
21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
21904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21905 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21906 if (arg2 == NULL) {
21907 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21908 }
21909 {
21910 PyThreadState* __tstate = wxPyBeginAllowThreads();
21911 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
21912
21913 wxPyEndAllowThreads(__tstate);
21914 if (PyErr_Occurred()) SWIG_fail;
21915 }
21916 {
21917 wxTreeItemId * resultptr;
21918 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21919 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21920 }
21921 return resultobj;
21922 fail:
21923 return NULL;
21924 }
21925
21926
21927 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21928 PyObject *resultobj;
21929 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21930 wxTreeItemId *arg2 = 0 ;
21931 wxTreeItemId result;
21932 PyObject * obj0 = 0 ;
21933 PyObject * obj1 = 0 ;
21934 char *kwnames[] = {
21935 (char *) "self",(char *) "item", NULL
21936 };
21937
21938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
21939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21940 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21941 if (arg2 == NULL) {
21942 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21943 }
21944 {
21945 PyThreadState* __tstate = wxPyBeginAllowThreads();
21946 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
21947
21948 wxPyEndAllowThreads(__tstate);
21949 if (PyErr_Occurred()) SWIG_fail;
21950 }
21951 {
21952 wxTreeItemId * resultptr;
21953 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21954 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21955 }
21956 return resultobj;
21957 fail:
21958 return NULL;
21959 }
21960
21961
21962 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
21963 PyObject *resultobj;
21964 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21965 wxTreeItemId *arg2 = 0 ;
21966 wxTreeItemId result;
21967 PyObject * obj0 = 0 ;
21968 PyObject * obj1 = 0 ;
21969 char *kwnames[] = {
21970 (char *) "self",(char *) "item", NULL
21971 };
21972
21973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
21974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21975 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21976 if (arg2 == NULL) {
21977 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21978 }
21979 {
21980 PyThreadState* __tstate = wxPyBeginAllowThreads();
21981 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
21982
21983 wxPyEndAllowThreads(__tstate);
21984 if (PyErr_Occurred()) SWIG_fail;
21985 }
21986 {
21987 wxTreeItemId * resultptr;
21988 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21989 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21990 }
21991 return resultobj;
21992 fail:
21993 return NULL;
21994 }
21995
21996
21997 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21998 PyObject *resultobj;
21999 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22000 wxTreeItemId result;
22001 PyObject * obj0 = 0 ;
22002 char *kwnames[] = {
22003 (char *) "self", NULL
22004 };
22005
22006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22008 {
22009 PyThreadState* __tstate = wxPyBeginAllowThreads();
22010 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22011
22012 wxPyEndAllowThreads(__tstate);
22013 if (PyErr_Occurred()) SWIG_fail;
22014 }
22015 {
22016 wxTreeItemId * resultptr;
22017 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22018 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22019 }
22020 return resultobj;
22021 fail:
22022 return NULL;
22023 }
22024
22025
22026 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22027 PyObject *resultobj;
22028 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22029 wxTreeItemId *arg2 = 0 ;
22030 wxTreeItemId result;
22031 PyObject * obj0 = 0 ;
22032 PyObject * obj1 = 0 ;
22033 char *kwnames[] = {
22034 (char *) "self",(char *) "item", NULL
22035 };
22036
22037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22039 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22040 if (arg2 == NULL) {
22041 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22042 }
22043 {
22044 PyThreadState* __tstate = wxPyBeginAllowThreads();
22045 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22046
22047 wxPyEndAllowThreads(__tstate);
22048 if (PyErr_Occurred()) SWIG_fail;
22049 }
22050 {
22051 wxTreeItemId * resultptr;
22052 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22053 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22054 }
22055 return resultobj;
22056 fail:
22057 return NULL;
22058 }
22059
22060
22061 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22062 PyObject *resultobj;
22063 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22064 wxTreeItemId *arg2 = 0 ;
22065 wxTreeItemId result;
22066 PyObject * obj0 = 0 ;
22067 PyObject * obj1 = 0 ;
22068 char *kwnames[] = {
22069 (char *) "self",(char *) "item", NULL
22070 };
22071
22072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22075 if (arg2 == NULL) {
22076 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22077 }
22078 {
22079 PyThreadState* __tstate = wxPyBeginAllowThreads();
22080 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22081
22082 wxPyEndAllowThreads(__tstate);
22083 if (PyErr_Occurred()) SWIG_fail;
22084 }
22085 {
22086 wxTreeItemId * resultptr;
22087 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22088 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22089 }
22090 return resultobj;
22091 fail:
22092 return NULL;
22093 }
22094
22095
22096 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22097 PyObject *resultobj;
22098 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22099 wxString *arg2 = 0 ;
22100 int arg3 = (int) -1 ;
22101 int arg4 = (int) -1 ;
22102 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22103 wxTreeItemId result;
22104 bool temp2 = False ;
22105 PyObject * obj0 = 0 ;
22106 PyObject * obj1 = 0 ;
22107 PyObject * obj4 = 0 ;
22108 char *kwnames[] = {
22109 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22110 };
22111
22112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22114 {
22115 arg2 = wxString_in_helper(obj1);
22116 if (arg2 == NULL) SWIG_fail;
22117 temp2 = True;
22118 }
22119 if (obj4) {
22120 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22121 }
22122 {
22123 PyThreadState* __tstate = wxPyBeginAllowThreads();
22124 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22125
22126 wxPyEndAllowThreads(__tstate);
22127 if (PyErr_Occurred()) SWIG_fail;
22128 }
22129 {
22130 wxTreeItemId * resultptr;
22131 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22132 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22133 }
22134 {
22135 if (temp2)
22136 delete arg2;
22137 }
22138 return resultobj;
22139 fail:
22140 {
22141 if (temp2)
22142 delete arg2;
22143 }
22144 return NULL;
22145 }
22146
22147
22148 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22149 PyObject *resultobj;
22150 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22151 wxTreeItemId *arg2 = 0 ;
22152 wxString *arg3 = 0 ;
22153 int arg4 = (int) -1 ;
22154 int arg5 = (int) -1 ;
22155 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22156 wxTreeItemId result;
22157 bool temp3 = False ;
22158 PyObject * obj0 = 0 ;
22159 PyObject * obj1 = 0 ;
22160 PyObject * obj2 = 0 ;
22161 PyObject * obj5 = 0 ;
22162 char *kwnames[] = {
22163 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22164 };
22165
22166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22169 if (arg2 == NULL) {
22170 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22171 }
22172 {
22173 arg3 = wxString_in_helper(obj2);
22174 if (arg3 == NULL) SWIG_fail;
22175 temp3 = True;
22176 }
22177 if (obj5) {
22178 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22179 }
22180 {
22181 PyThreadState* __tstate = wxPyBeginAllowThreads();
22182 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22183
22184 wxPyEndAllowThreads(__tstate);
22185 if (PyErr_Occurred()) SWIG_fail;
22186 }
22187 {
22188 wxTreeItemId * resultptr;
22189 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22190 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22191 }
22192 {
22193 if (temp3)
22194 delete arg3;
22195 }
22196 return resultobj;
22197 fail:
22198 {
22199 if (temp3)
22200 delete arg3;
22201 }
22202 return NULL;
22203 }
22204
22205
22206 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22207 PyObject *resultobj;
22208 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22209 wxTreeItemId *arg2 = 0 ;
22210 wxTreeItemId *arg3 = 0 ;
22211 wxString *arg4 = 0 ;
22212 int arg5 = (int) -1 ;
22213 int arg6 = (int) -1 ;
22214 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22215 wxTreeItemId result;
22216 bool temp4 = False ;
22217 PyObject * obj0 = 0 ;
22218 PyObject * obj1 = 0 ;
22219 PyObject * obj2 = 0 ;
22220 PyObject * obj3 = 0 ;
22221 PyObject * obj6 = 0 ;
22222 char *kwnames[] = {
22223 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22224 };
22225
22226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22228 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22229 if (arg2 == NULL) {
22230 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22231 }
22232 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22233 if (arg3 == NULL) {
22234 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22235 }
22236 {
22237 arg4 = wxString_in_helper(obj3);
22238 if (arg4 == NULL) SWIG_fail;
22239 temp4 = True;
22240 }
22241 if (obj6) {
22242 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22243 }
22244 {
22245 PyThreadState* __tstate = wxPyBeginAllowThreads();
22246 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22247
22248 wxPyEndAllowThreads(__tstate);
22249 if (PyErr_Occurred()) SWIG_fail;
22250 }
22251 {
22252 wxTreeItemId * resultptr;
22253 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22254 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22255 }
22256 {
22257 if (temp4)
22258 delete arg4;
22259 }
22260 return resultobj;
22261 fail:
22262 {
22263 if (temp4)
22264 delete arg4;
22265 }
22266 return NULL;
22267 }
22268
22269
22270 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22271 PyObject *resultobj;
22272 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22273 wxTreeItemId *arg2 = 0 ;
22274 size_t arg3 ;
22275 wxString *arg4 = 0 ;
22276 int arg5 = (int) -1 ;
22277 int arg6 = (int) -1 ;
22278 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22279 wxTreeItemId result;
22280 bool temp4 = False ;
22281 PyObject * obj0 = 0 ;
22282 PyObject * obj1 = 0 ;
22283 PyObject * obj2 = 0 ;
22284 PyObject * obj3 = 0 ;
22285 PyObject * obj6 = 0 ;
22286 char *kwnames[] = {
22287 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22288 };
22289
22290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22292 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22293 if (arg2 == NULL) {
22294 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22295 }
22296 arg3 = (size_t) PyInt_AsLong(obj2);
22297 if (PyErr_Occurred()) SWIG_fail;
22298 {
22299 arg4 = wxString_in_helper(obj3);
22300 if (arg4 == NULL) SWIG_fail;
22301 temp4 = True;
22302 }
22303 if (obj6) {
22304 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22305 }
22306 {
22307 PyThreadState* __tstate = wxPyBeginAllowThreads();
22308 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22309
22310 wxPyEndAllowThreads(__tstate);
22311 if (PyErr_Occurred()) SWIG_fail;
22312 }
22313 {
22314 wxTreeItemId * resultptr;
22315 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22316 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22317 }
22318 {
22319 if (temp4)
22320 delete arg4;
22321 }
22322 return resultobj;
22323 fail:
22324 {
22325 if (temp4)
22326 delete arg4;
22327 }
22328 return NULL;
22329 }
22330
22331
22332 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22333 PyObject *resultobj;
22334 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22335 wxTreeItemId *arg2 = 0 ;
22336 wxString *arg3 = 0 ;
22337 int arg4 = (int) -1 ;
22338 int arg5 = (int) -1 ;
22339 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22340 wxTreeItemId result;
22341 bool temp3 = False ;
22342 PyObject * obj0 = 0 ;
22343 PyObject * obj1 = 0 ;
22344 PyObject * obj2 = 0 ;
22345 PyObject * obj5 = 0 ;
22346 char *kwnames[] = {
22347 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22348 };
22349
22350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22352 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22353 if (arg2 == NULL) {
22354 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22355 }
22356 {
22357 arg3 = wxString_in_helper(obj2);
22358 if (arg3 == NULL) SWIG_fail;
22359 temp3 = True;
22360 }
22361 if (obj5) {
22362 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22363 }
22364 {
22365 PyThreadState* __tstate = wxPyBeginAllowThreads();
22366 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22367
22368 wxPyEndAllowThreads(__tstate);
22369 if (PyErr_Occurred()) SWIG_fail;
22370 }
22371 {
22372 wxTreeItemId * resultptr;
22373 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22374 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22375 }
22376 {
22377 if (temp3)
22378 delete arg3;
22379 }
22380 return resultobj;
22381 fail:
22382 {
22383 if (temp3)
22384 delete arg3;
22385 }
22386 return NULL;
22387 }
22388
22389
22390 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22391 PyObject *resultobj;
22392 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22393 wxTreeItemId *arg2 = 0 ;
22394 PyObject * obj0 = 0 ;
22395 PyObject * obj1 = 0 ;
22396 char *kwnames[] = {
22397 (char *) "self",(char *) "item", NULL
22398 };
22399
22400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22402 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22403 if (arg2 == NULL) {
22404 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22405 }
22406 {
22407 PyThreadState* __tstate = wxPyBeginAllowThreads();
22408 (arg1)->Delete((wxTreeItemId const &)*arg2);
22409
22410 wxPyEndAllowThreads(__tstate);
22411 if (PyErr_Occurred()) SWIG_fail;
22412 }
22413 Py_INCREF(Py_None); resultobj = Py_None;
22414 return resultobj;
22415 fail:
22416 return NULL;
22417 }
22418
22419
22420 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22421 PyObject *resultobj;
22422 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22423 wxTreeItemId *arg2 = 0 ;
22424 PyObject * obj0 = 0 ;
22425 PyObject * obj1 = 0 ;
22426 char *kwnames[] = {
22427 (char *) "self",(char *) "item", NULL
22428 };
22429
22430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22432 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22433 if (arg2 == NULL) {
22434 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22435 }
22436 {
22437 PyThreadState* __tstate = wxPyBeginAllowThreads();
22438 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22439
22440 wxPyEndAllowThreads(__tstate);
22441 if (PyErr_Occurred()) SWIG_fail;
22442 }
22443 Py_INCREF(Py_None); resultobj = Py_None;
22444 return resultobj;
22445 fail:
22446 return NULL;
22447 }
22448
22449
22450 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22451 PyObject *resultobj;
22452 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22453 PyObject * obj0 = 0 ;
22454 char *kwnames[] = {
22455 (char *) "self", NULL
22456 };
22457
22458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22460 {
22461 PyThreadState* __tstate = wxPyBeginAllowThreads();
22462 (arg1)->DeleteAllItems();
22463
22464 wxPyEndAllowThreads(__tstate);
22465 if (PyErr_Occurred()) SWIG_fail;
22466 }
22467 Py_INCREF(Py_None); resultobj = Py_None;
22468 return resultobj;
22469 fail:
22470 return NULL;
22471 }
22472
22473
22474 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22475 PyObject *resultobj;
22476 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22477 wxTreeItemId *arg2 = 0 ;
22478 PyObject * obj0 = 0 ;
22479 PyObject * obj1 = 0 ;
22480 char *kwnames[] = {
22481 (char *) "self",(char *) "item", NULL
22482 };
22483
22484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22486 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22487 if (arg2 == NULL) {
22488 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22489 }
22490 {
22491 PyThreadState* __tstate = wxPyBeginAllowThreads();
22492 (arg1)->Expand((wxTreeItemId const &)*arg2);
22493
22494 wxPyEndAllowThreads(__tstate);
22495 if (PyErr_Occurred()) SWIG_fail;
22496 }
22497 Py_INCREF(Py_None); resultobj = Py_None;
22498 return resultobj;
22499 fail:
22500 return NULL;
22501 }
22502
22503
22504 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22505 PyObject *resultobj;
22506 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22507 wxTreeItemId *arg2 = 0 ;
22508 PyObject * obj0 = 0 ;
22509 PyObject * obj1 = 0 ;
22510 char *kwnames[] = {
22511 (char *) "self",(char *) "item", NULL
22512 };
22513
22514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22516 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22517 if (arg2 == NULL) {
22518 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22519 }
22520 {
22521 PyThreadState* __tstate = wxPyBeginAllowThreads();
22522 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22523
22524 wxPyEndAllowThreads(__tstate);
22525 if (PyErr_Occurred()) SWIG_fail;
22526 }
22527 Py_INCREF(Py_None); resultobj = Py_None;
22528 return resultobj;
22529 fail:
22530 return NULL;
22531 }
22532
22533
22534 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22535 PyObject *resultobj;
22536 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22537 wxTreeItemId *arg2 = 0 ;
22538 PyObject * obj0 = 0 ;
22539 PyObject * obj1 = 0 ;
22540 char *kwnames[] = {
22541 (char *) "self",(char *) "item", NULL
22542 };
22543
22544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22546 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22547 if (arg2 == NULL) {
22548 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22549 }
22550 {
22551 PyThreadState* __tstate = wxPyBeginAllowThreads();
22552 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22553
22554 wxPyEndAllowThreads(__tstate);
22555 if (PyErr_Occurred()) SWIG_fail;
22556 }
22557 Py_INCREF(Py_None); resultobj = Py_None;
22558 return resultobj;
22559 fail:
22560 return NULL;
22561 }
22562
22563
22564 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22565 PyObject *resultobj;
22566 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22567 wxTreeItemId *arg2 = 0 ;
22568 PyObject * obj0 = 0 ;
22569 PyObject * obj1 = 0 ;
22570 char *kwnames[] = {
22571 (char *) "self",(char *) "item", NULL
22572 };
22573
22574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22576 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22577 if (arg2 == NULL) {
22578 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22579 }
22580 {
22581 PyThreadState* __tstate = wxPyBeginAllowThreads();
22582 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22583
22584 wxPyEndAllowThreads(__tstate);
22585 if (PyErr_Occurred()) SWIG_fail;
22586 }
22587 Py_INCREF(Py_None); resultobj = Py_None;
22588 return resultobj;
22589 fail:
22590 return NULL;
22591 }
22592
22593
22594 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22595 PyObject *resultobj;
22596 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22597 PyObject * obj0 = 0 ;
22598 char *kwnames[] = {
22599 (char *) "self", NULL
22600 };
22601
22602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22604 {
22605 PyThreadState* __tstate = wxPyBeginAllowThreads();
22606 (arg1)->Unselect();
22607
22608 wxPyEndAllowThreads(__tstate);
22609 if (PyErr_Occurred()) SWIG_fail;
22610 }
22611 Py_INCREF(Py_None); resultobj = Py_None;
22612 return resultobj;
22613 fail:
22614 return NULL;
22615 }
22616
22617
22618 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22619 PyObject *resultobj;
22620 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22621 PyObject * obj0 = 0 ;
22622 char *kwnames[] = {
22623 (char *) "self", NULL
22624 };
22625
22626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22628 {
22629 PyThreadState* __tstate = wxPyBeginAllowThreads();
22630 (arg1)->UnselectAll();
22631
22632 wxPyEndAllowThreads(__tstate);
22633 if (PyErr_Occurred()) SWIG_fail;
22634 }
22635 Py_INCREF(Py_None); resultobj = Py_None;
22636 return resultobj;
22637 fail:
22638 return NULL;
22639 }
22640
22641
22642 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22643 PyObject *resultobj;
22644 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22645 wxTreeItemId *arg2 = 0 ;
22646 PyObject * obj0 = 0 ;
22647 PyObject * obj1 = 0 ;
22648 char *kwnames[] = {
22649 (char *) "self",(char *) "item", NULL
22650 };
22651
22652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22654 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22655 if (arg2 == NULL) {
22656 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22657 }
22658 {
22659 PyThreadState* __tstate = wxPyBeginAllowThreads();
22660 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22661
22662 wxPyEndAllowThreads(__tstate);
22663 if (PyErr_Occurred()) SWIG_fail;
22664 }
22665 Py_INCREF(Py_None); resultobj = Py_None;
22666 return resultobj;
22667 fail:
22668 return NULL;
22669 }
22670
22671
22672 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22673 PyObject *resultobj;
22674 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22675 wxTreeItemId *arg2 = 0 ;
22676 PyObject * obj0 = 0 ;
22677 PyObject * obj1 = 0 ;
22678 char *kwnames[] = {
22679 (char *) "self",(char *) "item", NULL
22680 };
22681
22682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22684 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22685 if (arg2 == NULL) {
22686 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22687 }
22688 {
22689 PyThreadState* __tstate = wxPyBeginAllowThreads();
22690 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22691
22692 wxPyEndAllowThreads(__tstate);
22693 if (PyErr_Occurred()) SWIG_fail;
22694 }
22695 Py_INCREF(Py_None); resultobj = Py_None;
22696 return resultobj;
22697 fail:
22698 return NULL;
22699 }
22700
22701
22702 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22703 PyObject *resultobj;
22704 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22705 wxTreeItemId *arg2 = 0 ;
22706 PyObject * obj0 = 0 ;
22707 PyObject * obj1 = 0 ;
22708 char *kwnames[] = {
22709 (char *) "self",(char *) "item", NULL
22710 };
22711
22712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22714 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22715 if (arg2 == NULL) {
22716 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22717 }
22718 {
22719 PyThreadState* __tstate = wxPyBeginAllowThreads();
22720 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22721
22722 wxPyEndAllowThreads(__tstate);
22723 if (PyErr_Occurred()) SWIG_fail;
22724 }
22725 Py_INCREF(Py_None); resultobj = Py_None;
22726 return resultobj;
22727 fail:
22728 return NULL;
22729 }
22730
22731
22732 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22733 PyObject *resultobj;
22734 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22735 wxTreeItemId *arg2 = 0 ;
22736 PyObject * obj0 = 0 ;
22737 PyObject * obj1 = 0 ;
22738 char *kwnames[] = {
22739 (char *) "self",(char *) "item", NULL
22740 };
22741
22742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22744 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22745 if (arg2 == NULL) {
22746 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22747 }
22748 {
22749 PyThreadState* __tstate = wxPyBeginAllowThreads();
22750 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22751
22752 wxPyEndAllowThreads(__tstate);
22753 if (PyErr_Occurred()) SWIG_fail;
22754 }
22755 Py_INCREF(Py_None); resultobj = Py_None;
22756 return resultobj;
22757 fail:
22758 return NULL;
22759 }
22760
22761
22762 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22763 PyObject *resultobj;
22764 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22765 wxTextCtrl *result;
22766 PyObject * obj0 = 0 ;
22767 char *kwnames[] = {
22768 (char *) "self", NULL
22769 };
22770
22771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
22772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22773 {
22774 PyThreadState* __tstate = wxPyBeginAllowThreads();
22775 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
22776
22777 wxPyEndAllowThreads(__tstate);
22778 if (PyErr_Occurred()) SWIG_fail;
22779 }
22780 {
22781 resultobj = wxPyMake_wxObject(result);
22782 }
22783 return resultobj;
22784 fail:
22785 return NULL;
22786 }
22787
22788
22789 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22790 PyObject *resultobj;
22791 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22792 wxTreeItemId *arg2 = 0 ;
22793 PyObject * obj0 = 0 ;
22794 PyObject * obj1 = 0 ;
22795 char *kwnames[] = {
22796 (char *) "self",(char *) "item", NULL
22797 };
22798
22799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
22800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22801 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22802 if (arg2 == NULL) {
22803 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22804 }
22805 {
22806 PyThreadState* __tstate = wxPyBeginAllowThreads();
22807 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
22808
22809 wxPyEndAllowThreads(__tstate);
22810 if (PyErr_Occurred()) SWIG_fail;
22811 }
22812 Py_INCREF(Py_None); resultobj = Py_None;
22813 return resultobj;
22814 fail:
22815 return NULL;
22816 }
22817
22818
22819 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
22820 PyObject *resultobj;
22821 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22822 wxPoint *arg2 = 0 ;
22823 int *arg3 = 0 ;
22824 wxTreeItemId result;
22825 wxPoint temp2 ;
22826 int temp3 ;
22827 PyObject * obj0 = 0 ;
22828 PyObject * obj1 = 0 ;
22829 char *kwnames[] = {
22830 (char *) "self",(char *) "point", NULL
22831 };
22832
22833 arg3 = &temp3;
22834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
22835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22836 {
22837 arg2 = &temp2;
22838 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
22839 }
22840 {
22841 PyThreadState* __tstate = wxPyBeginAllowThreads();
22842 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
22843
22844 wxPyEndAllowThreads(__tstate);
22845 if (PyErr_Occurred()) SWIG_fail;
22846 }
22847 {
22848 wxTreeItemId * resultptr;
22849 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22850 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22851 }
22852 {
22853 PyObject *o = PyInt_FromLong((long) (*arg3));
22854 resultobj = t_output_helper(resultobj,o);
22855 }
22856 return resultobj;
22857 fail:
22858 return NULL;
22859 }
22860
22861
22862 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
22863 PyObject *resultobj;
22864 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22865 wxTreeItemId *arg2 = 0 ;
22866 bool arg3 = (bool) False ;
22867 PyObject *result;
22868 PyObject * obj0 = 0 ;
22869 PyObject * obj1 = 0 ;
22870 PyObject * obj2 = 0 ;
22871 char *kwnames[] = {
22872 (char *) "self",(char *) "item",(char *) "textOnly", NULL
22873 };
22874
22875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
22876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22877 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22878 if (arg2 == NULL) {
22879 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22880 }
22881 if (obj2) {
22882 arg3 = PyInt_AsLong(obj2) ? true : false;
22883 if (PyErr_Occurred()) SWIG_fail;
22884 }
22885 {
22886 PyThreadState* __tstate = wxPyBeginAllowThreads();
22887 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
22888
22889 wxPyEndAllowThreads(__tstate);
22890 if (PyErr_Occurred()) SWIG_fail;
22891 }
22892 resultobj = result;
22893 return resultobj;
22894 fail:
22895 return NULL;
22896 }
22897
22898
22899 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
22900 PyObject *obj;
22901 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22902 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
22903 Py_INCREF(obj);
22904 return Py_BuildValue((char *)"");
22905 }
22906 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
22907 PyObject *resultobj;
22908 wxWindow *arg1 = (wxWindow *) 0 ;
22909 int arg2 = (int) (int)-1 ;
22910 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
22911 wxString *arg3 = (wxString *) &arg3_defvalue ;
22912 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22913 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22914 wxSize const &arg5_defvalue = wxDefaultSize ;
22915 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22916 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
22917 wxString const &arg7_defvalue = wxPyEmptyString ;
22918 wxString *arg7 = (wxString *) &arg7_defvalue ;
22919 int arg8 = (int) 0 ;
22920 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
22921 wxString *arg9 = (wxString *) &arg9_defvalue ;
22922 wxGenericDirCtrl *result;
22923 bool temp3 = False ;
22924 wxPoint temp4 ;
22925 wxSize temp5 ;
22926 bool temp7 = False ;
22927 bool temp9 = False ;
22928 PyObject * obj0 = 0 ;
22929 PyObject * obj2 = 0 ;
22930 PyObject * obj3 = 0 ;
22931 PyObject * obj4 = 0 ;
22932 PyObject * obj6 = 0 ;
22933 PyObject * obj8 = 0 ;
22934 char *kwnames[] = {
22935 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
22936 };
22937
22938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
22939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22940 if (obj2) {
22941 {
22942 arg3 = wxString_in_helper(obj2);
22943 if (arg3 == NULL) SWIG_fail;
22944 temp3 = True;
22945 }
22946 }
22947 if (obj3) {
22948 {
22949 arg4 = &temp4;
22950 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22951 }
22952 }
22953 if (obj4) {
22954 {
22955 arg5 = &temp5;
22956 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22957 }
22958 }
22959 if (obj6) {
22960 {
22961 arg7 = wxString_in_helper(obj6);
22962 if (arg7 == NULL) SWIG_fail;
22963 temp7 = True;
22964 }
22965 }
22966 if (obj8) {
22967 {
22968 arg9 = wxString_in_helper(obj8);
22969 if (arg9 == NULL) SWIG_fail;
22970 temp9 = True;
22971 }
22972 }
22973 {
22974 PyThreadState* __tstate = wxPyBeginAllowThreads();
22975 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
22976
22977 wxPyEndAllowThreads(__tstate);
22978 if (PyErr_Occurred()) SWIG_fail;
22979 }
22980 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
22981 {
22982 if (temp3)
22983 delete arg3;
22984 }
22985 {
22986 if (temp7)
22987 delete arg7;
22988 }
22989 {
22990 if (temp9)
22991 delete arg9;
22992 }
22993 return resultobj;
22994 fail:
22995 {
22996 if (temp3)
22997 delete arg3;
22998 }
22999 {
23000 if (temp7)
23001 delete arg7;
23002 }
23003 {
23004 if (temp9)
23005 delete arg9;
23006 }
23007 return NULL;
23008 }
23009
23010
23011 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23012 PyObject *resultobj;
23013 wxGenericDirCtrl *result;
23014 char *kwnames[] = {
23015 NULL
23016 };
23017
23018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23019 {
23020 PyThreadState* __tstate = wxPyBeginAllowThreads();
23021 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23022
23023 wxPyEndAllowThreads(__tstate);
23024 if (PyErr_Occurred()) SWIG_fail;
23025 }
23026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23027 return resultobj;
23028 fail:
23029 return NULL;
23030 }
23031
23032
23033 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23034 PyObject *resultobj;
23035 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23036 wxWindow *arg2 = (wxWindow *) 0 ;
23037 int arg3 = (int) (int)-1 ;
23038 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23039 wxString *arg4 = (wxString *) &arg4_defvalue ;
23040 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23041 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23042 wxSize const &arg6_defvalue = wxDefaultSize ;
23043 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23044 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23045 wxString const &arg8_defvalue = wxPyEmptyString ;
23046 wxString *arg8 = (wxString *) &arg8_defvalue ;
23047 int arg9 = (int) 0 ;
23048 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
23049 wxString *arg10 = (wxString *) &arg10_defvalue ;
23050 bool result;
23051 bool temp4 = False ;
23052 wxPoint temp5 ;
23053 wxSize temp6 ;
23054 bool temp8 = False ;
23055 bool temp10 = False ;
23056 PyObject * obj0 = 0 ;
23057 PyObject * obj1 = 0 ;
23058 PyObject * obj3 = 0 ;
23059 PyObject * obj4 = 0 ;
23060 PyObject * obj5 = 0 ;
23061 PyObject * obj7 = 0 ;
23062 PyObject * obj9 = 0 ;
23063 char *kwnames[] = {
23064 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23065 };
23066
23067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23069 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23070 if (obj3) {
23071 {
23072 arg4 = wxString_in_helper(obj3);
23073 if (arg4 == NULL) SWIG_fail;
23074 temp4 = True;
23075 }
23076 }
23077 if (obj4) {
23078 {
23079 arg5 = &temp5;
23080 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23081 }
23082 }
23083 if (obj5) {
23084 {
23085 arg6 = &temp6;
23086 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23087 }
23088 }
23089 if (obj7) {
23090 {
23091 arg8 = wxString_in_helper(obj7);
23092 if (arg8 == NULL) SWIG_fail;
23093 temp8 = True;
23094 }
23095 }
23096 if (obj9) {
23097 {
23098 arg10 = wxString_in_helper(obj9);
23099 if (arg10 == NULL) SWIG_fail;
23100 temp10 = True;
23101 }
23102 }
23103 {
23104 PyThreadState* __tstate = wxPyBeginAllowThreads();
23105 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23106
23107 wxPyEndAllowThreads(__tstate);
23108 if (PyErr_Occurred()) SWIG_fail;
23109 }
23110 resultobj = PyInt_FromLong((long)result);
23111 {
23112 if (temp4)
23113 delete arg4;
23114 }
23115 {
23116 if (temp8)
23117 delete arg8;
23118 }
23119 {
23120 if (temp10)
23121 delete arg10;
23122 }
23123 return resultobj;
23124 fail:
23125 {
23126 if (temp4)
23127 delete arg4;
23128 }
23129 {
23130 if (temp8)
23131 delete arg8;
23132 }
23133 {
23134 if (temp10)
23135 delete arg10;
23136 }
23137 return NULL;
23138 }
23139
23140
23141 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23142 PyObject *resultobj;
23143 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23144 wxString *arg2 = 0 ;
23145 bool result;
23146 bool temp2 = False ;
23147 PyObject * obj0 = 0 ;
23148 PyObject * obj1 = 0 ;
23149 char *kwnames[] = {
23150 (char *) "self",(char *) "path", NULL
23151 };
23152
23153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23155 {
23156 arg2 = wxString_in_helper(obj1);
23157 if (arg2 == NULL) SWIG_fail;
23158 temp2 = True;
23159 }
23160 {
23161 PyThreadState* __tstate = wxPyBeginAllowThreads();
23162 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23163
23164 wxPyEndAllowThreads(__tstate);
23165 if (PyErr_Occurred()) SWIG_fail;
23166 }
23167 resultobj = PyInt_FromLong((long)result);
23168 {
23169 if (temp2)
23170 delete arg2;
23171 }
23172 return resultobj;
23173 fail:
23174 {
23175 if (temp2)
23176 delete arg2;
23177 }
23178 return NULL;
23179 }
23180
23181
23182 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23183 PyObject *resultobj;
23184 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23185 wxString result;
23186 PyObject * obj0 = 0 ;
23187 char *kwnames[] = {
23188 (char *) "self", NULL
23189 };
23190
23191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23193 {
23194 PyThreadState* __tstate = wxPyBeginAllowThreads();
23195 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23196
23197 wxPyEndAllowThreads(__tstate);
23198 if (PyErr_Occurred()) SWIG_fail;
23199 }
23200 {
23201 #if wxUSE_UNICODE
23202 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23203 #else
23204 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23205 #endif
23206 }
23207 return resultobj;
23208 fail:
23209 return NULL;
23210 }
23211
23212
23213 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23214 PyObject *resultobj;
23215 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23216 wxString *arg2 = 0 ;
23217 bool temp2 = False ;
23218 PyObject * obj0 = 0 ;
23219 PyObject * obj1 = 0 ;
23220 char *kwnames[] = {
23221 (char *) "self",(char *) "path", NULL
23222 };
23223
23224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23226 {
23227 arg2 = wxString_in_helper(obj1);
23228 if (arg2 == NULL) SWIG_fail;
23229 temp2 = True;
23230 }
23231 {
23232 PyThreadState* __tstate = wxPyBeginAllowThreads();
23233 (arg1)->SetDefaultPath((wxString const &)*arg2);
23234
23235 wxPyEndAllowThreads(__tstate);
23236 if (PyErr_Occurred()) SWIG_fail;
23237 }
23238 Py_INCREF(Py_None); resultobj = Py_None;
23239 {
23240 if (temp2)
23241 delete arg2;
23242 }
23243 return resultobj;
23244 fail:
23245 {
23246 if (temp2)
23247 delete arg2;
23248 }
23249 return NULL;
23250 }
23251
23252
23253 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23254 PyObject *resultobj;
23255 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23256 wxString result;
23257 PyObject * obj0 = 0 ;
23258 char *kwnames[] = {
23259 (char *) "self", NULL
23260 };
23261
23262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23264 {
23265 PyThreadState* __tstate = wxPyBeginAllowThreads();
23266 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23267
23268 wxPyEndAllowThreads(__tstate);
23269 if (PyErr_Occurred()) SWIG_fail;
23270 }
23271 {
23272 #if wxUSE_UNICODE
23273 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23274 #else
23275 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23276 #endif
23277 }
23278 return resultobj;
23279 fail:
23280 return NULL;
23281 }
23282
23283
23284 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23285 PyObject *resultobj;
23286 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23287 wxString result;
23288 PyObject * obj0 = 0 ;
23289 char *kwnames[] = {
23290 (char *) "self", NULL
23291 };
23292
23293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23295 {
23296 PyThreadState* __tstate = wxPyBeginAllowThreads();
23297 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23298
23299 wxPyEndAllowThreads(__tstate);
23300 if (PyErr_Occurred()) SWIG_fail;
23301 }
23302 {
23303 #if wxUSE_UNICODE
23304 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23305 #else
23306 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23307 #endif
23308 }
23309 return resultobj;
23310 fail:
23311 return NULL;
23312 }
23313
23314
23315 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23316 PyObject *resultobj;
23317 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23318 wxString *arg2 = 0 ;
23319 bool temp2 = False ;
23320 PyObject * obj0 = 0 ;
23321 PyObject * obj1 = 0 ;
23322 char *kwnames[] = {
23323 (char *) "self",(char *) "path", NULL
23324 };
23325
23326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23328 {
23329 arg2 = wxString_in_helper(obj1);
23330 if (arg2 == NULL) SWIG_fail;
23331 temp2 = True;
23332 }
23333 {
23334 PyThreadState* __tstate = wxPyBeginAllowThreads();
23335 (arg1)->SetPath((wxString const &)*arg2);
23336
23337 wxPyEndAllowThreads(__tstate);
23338 if (PyErr_Occurred()) SWIG_fail;
23339 }
23340 Py_INCREF(Py_None); resultobj = Py_None;
23341 {
23342 if (temp2)
23343 delete arg2;
23344 }
23345 return resultobj;
23346 fail:
23347 {
23348 if (temp2)
23349 delete arg2;
23350 }
23351 return NULL;
23352 }
23353
23354
23355 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23356 PyObject *resultobj;
23357 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23358 bool arg2 ;
23359 PyObject * obj0 = 0 ;
23360 PyObject * obj1 = 0 ;
23361 char *kwnames[] = {
23362 (char *) "self",(char *) "show", NULL
23363 };
23364
23365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23367 arg2 = PyInt_AsLong(obj1) ? true : false;
23368 if (PyErr_Occurred()) SWIG_fail;
23369 {
23370 PyThreadState* __tstate = wxPyBeginAllowThreads();
23371 (arg1)->ShowHidden(arg2);
23372
23373 wxPyEndAllowThreads(__tstate);
23374 if (PyErr_Occurred()) SWIG_fail;
23375 }
23376 Py_INCREF(Py_None); resultobj = Py_None;
23377 return resultobj;
23378 fail:
23379 return NULL;
23380 }
23381
23382
23383 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23384 PyObject *resultobj;
23385 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23386 bool result;
23387 PyObject * obj0 = 0 ;
23388 char *kwnames[] = {
23389 (char *) "self", NULL
23390 };
23391
23392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23394 {
23395 PyThreadState* __tstate = wxPyBeginAllowThreads();
23396 result = (bool)(arg1)->GetShowHidden();
23397
23398 wxPyEndAllowThreads(__tstate);
23399 if (PyErr_Occurred()) SWIG_fail;
23400 }
23401 resultobj = PyInt_FromLong((long)result);
23402 return resultobj;
23403 fail:
23404 return NULL;
23405 }
23406
23407
23408 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23409 PyObject *resultobj;
23410 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23411 wxString result;
23412 PyObject * obj0 = 0 ;
23413 char *kwnames[] = {
23414 (char *) "self", NULL
23415 };
23416
23417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",kwnames,&obj0)) goto fail;
23418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23419 {
23420 PyThreadState* __tstate = wxPyBeginAllowThreads();
23421 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23422
23423 wxPyEndAllowThreads(__tstate);
23424 if (PyErr_Occurred()) SWIG_fail;
23425 }
23426 {
23427 #if wxUSE_UNICODE
23428 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23429 #else
23430 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23431 #endif
23432 }
23433 return resultobj;
23434 fail:
23435 return NULL;
23436 }
23437
23438
23439 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23440 PyObject *resultobj;
23441 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23442 wxString *arg2 = 0 ;
23443 bool temp2 = False ;
23444 PyObject * obj0 = 0 ;
23445 PyObject * obj1 = 0 ;
23446 char *kwnames[] = {
23447 (char *) "self",(char *) "filter", NULL
23448 };
23449
23450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23452 {
23453 arg2 = wxString_in_helper(obj1);
23454 if (arg2 == NULL) SWIG_fail;
23455 temp2 = True;
23456 }
23457 {
23458 PyThreadState* __tstate = wxPyBeginAllowThreads();
23459 (arg1)->SetFilter((wxString const &)*arg2);
23460
23461 wxPyEndAllowThreads(__tstate);
23462 if (PyErr_Occurred()) SWIG_fail;
23463 }
23464 Py_INCREF(Py_None); resultobj = Py_None;
23465 {
23466 if (temp2)
23467 delete arg2;
23468 }
23469 return resultobj;
23470 fail:
23471 {
23472 if (temp2)
23473 delete arg2;
23474 }
23475 return NULL;
23476 }
23477
23478
23479 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23480 PyObject *resultobj;
23481 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23482 int result;
23483 PyObject * obj0 = 0 ;
23484 char *kwnames[] = {
23485 (char *) "self", NULL
23486 };
23487
23488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23490 {
23491 PyThreadState* __tstate = wxPyBeginAllowThreads();
23492 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23493
23494 wxPyEndAllowThreads(__tstate);
23495 if (PyErr_Occurred()) SWIG_fail;
23496 }
23497 resultobj = PyInt_FromLong((long)result);
23498 return resultobj;
23499 fail:
23500 return NULL;
23501 }
23502
23503
23504 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23505 PyObject *resultobj;
23506 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23507 int arg2 ;
23508 PyObject * obj0 = 0 ;
23509 char *kwnames[] = {
23510 (char *) "self",(char *) "n", NULL
23511 };
23512
23513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23515 {
23516 PyThreadState* __tstate = wxPyBeginAllowThreads();
23517 (arg1)->SetFilterIndex(arg2);
23518
23519 wxPyEndAllowThreads(__tstate);
23520 if (PyErr_Occurred()) SWIG_fail;
23521 }
23522 Py_INCREF(Py_None); resultobj = Py_None;
23523 return resultobj;
23524 fail:
23525 return NULL;
23526 }
23527
23528
23529 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23530 PyObject *resultobj;
23531 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23532 wxTreeItemId result;
23533 PyObject * obj0 = 0 ;
23534 char *kwnames[] = {
23535 (char *) "self", NULL
23536 };
23537
23538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23540 {
23541 PyThreadState* __tstate = wxPyBeginAllowThreads();
23542 result = (arg1)->GetRootId();
23543
23544 wxPyEndAllowThreads(__tstate);
23545 if (PyErr_Occurred()) SWIG_fail;
23546 }
23547 {
23548 wxTreeItemId * resultptr;
23549 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23550 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23551 }
23552 return resultobj;
23553 fail:
23554 return NULL;
23555 }
23556
23557
23558 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23559 PyObject *resultobj;
23560 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23561 wxTreeCtrl *result;
23562 PyObject * obj0 = 0 ;
23563 char *kwnames[] = {
23564 (char *) "self", NULL
23565 };
23566
23567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23569 {
23570 PyThreadState* __tstate = wxPyBeginAllowThreads();
23571 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23572
23573 wxPyEndAllowThreads(__tstate);
23574 if (PyErr_Occurred()) SWIG_fail;
23575 }
23576 {
23577 resultobj = wxPyMake_wxObject(result);
23578 }
23579 return resultobj;
23580 fail:
23581 return NULL;
23582 }
23583
23584
23585 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23586 PyObject *resultobj;
23587 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23588 wxDirFilterListCtrl *result;
23589 PyObject * obj0 = 0 ;
23590 char *kwnames[] = {
23591 (char *) "self", NULL
23592 };
23593
23594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23596 {
23597 PyThreadState* __tstate = wxPyBeginAllowThreads();
23598 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23599
23600 wxPyEndAllowThreads(__tstate);
23601 if (PyErr_Occurred()) SWIG_fail;
23602 }
23603 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23604 return resultobj;
23605 fail:
23606 return NULL;
23607 }
23608
23609
23610 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23611 PyObject *resultobj;
23612 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23613 wxTreeItemId arg2 ;
23614 wxString *arg3 = 0 ;
23615 bool *arg4 = 0 ;
23616 wxTreeItemId result;
23617 wxTreeItemId *argp2 ;
23618 bool temp3 = False ;
23619 bool temp4 ;
23620 PyObject * obj0 = 0 ;
23621 PyObject * obj1 = 0 ;
23622 PyObject * obj2 = 0 ;
23623 char *kwnames[] = {
23624 (char *) "self",(char *) "parentId",(char *) "path", NULL
23625 };
23626
23627 arg4 = &temp4;
23628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23630 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23631 arg2 = *argp2;
23632 {
23633 arg3 = wxString_in_helper(obj2);
23634 if (arg3 == NULL) SWIG_fail;
23635 temp3 = True;
23636 }
23637 {
23638 PyThreadState* __tstate = wxPyBeginAllowThreads();
23639 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23640
23641 wxPyEndAllowThreads(__tstate);
23642 if (PyErr_Occurred()) SWIG_fail;
23643 }
23644 {
23645 wxTreeItemId * resultptr;
23646 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23647 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23648 }
23649 {
23650 PyObject *o = PyInt_FromLong((long) (*arg4));
23651 resultobj = t_output_helper(resultobj,o);
23652 }
23653 {
23654 if (temp3)
23655 delete arg3;
23656 }
23657 return resultobj;
23658 fail:
23659 {
23660 if (temp3)
23661 delete arg3;
23662 }
23663 return NULL;
23664 }
23665
23666
23667 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23668 PyObject *resultobj;
23669 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23670 PyObject * obj0 = 0 ;
23671 char *kwnames[] = {
23672 (char *) "self", NULL
23673 };
23674
23675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23677 {
23678 PyThreadState* __tstate = wxPyBeginAllowThreads();
23679 (arg1)->DoResize();
23680
23681 wxPyEndAllowThreads(__tstate);
23682 if (PyErr_Occurred()) SWIG_fail;
23683 }
23684 Py_INCREF(Py_None); resultobj = Py_None;
23685 return resultobj;
23686 fail:
23687 return NULL;
23688 }
23689
23690
23691 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23692 PyObject *resultobj;
23693 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23694 PyObject * obj0 = 0 ;
23695 char *kwnames[] = {
23696 (char *) "self", NULL
23697 };
23698
23699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23701 {
23702 PyThreadState* __tstate = wxPyBeginAllowThreads();
23703 (arg1)->ReCreateTree();
23704
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
23708 Py_INCREF(Py_None); resultobj = Py_None;
23709 return resultobj;
23710 fail:
23711 return NULL;
23712 }
23713
23714
23715 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23716 PyObject *obj;
23717 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23718 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
23719 Py_INCREF(obj);
23720 return Py_BuildValue((char *)"");
23721 }
23722 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23723 PyObject *resultobj;
23724 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23725 int arg2 = (int) (int)-1 ;
23726 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23727 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23728 wxSize const &arg4_defvalue = wxDefaultSize ;
23729 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23730 long arg5 = (long) 0 ;
23731 wxDirFilterListCtrl *result;
23732 wxPoint temp3 ;
23733 wxSize temp4 ;
23734 PyObject * obj0 = 0 ;
23735 PyObject * obj2 = 0 ;
23736 PyObject * obj3 = 0 ;
23737 char *kwnames[] = {
23738 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23739 };
23740
23741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
23742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23743 if (obj2) {
23744 {
23745 arg3 = &temp3;
23746 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23747 }
23748 }
23749 if (obj3) {
23750 {
23751 arg4 = &temp4;
23752 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23753 }
23754 }
23755 {
23756 PyThreadState* __tstate = wxPyBeginAllowThreads();
23757 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
23758
23759 wxPyEndAllowThreads(__tstate);
23760 if (PyErr_Occurred()) SWIG_fail;
23761 }
23762 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23763 return resultobj;
23764 fail:
23765 return NULL;
23766 }
23767
23768
23769 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23770 PyObject *resultobj;
23771 wxDirFilterListCtrl *result;
23772 char *kwnames[] = {
23773 NULL
23774 };
23775
23776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
23777 {
23778 PyThreadState* __tstate = wxPyBeginAllowThreads();
23779 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
23780
23781 wxPyEndAllowThreads(__tstate);
23782 if (PyErr_Occurred()) SWIG_fail;
23783 }
23784 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
23785 return resultobj;
23786 fail:
23787 return NULL;
23788 }
23789
23790
23791 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23792 PyObject *resultobj;
23793 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23794 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
23795 int arg3 = (int) (int)-1 ;
23796 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23797 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23798 wxSize const &arg5_defvalue = wxDefaultSize ;
23799 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23800 long arg6 = (long) 0 ;
23801 bool result;
23802 wxPoint temp4 ;
23803 wxSize temp5 ;
23804 PyObject * obj0 = 0 ;
23805 PyObject * obj1 = 0 ;
23806 PyObject * obj3 = 0 ;
23807 PyObject * obj4 = 0 ;
23808 char *kwnames[] = {
23809 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
23810 };
23811
23812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
23813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23814 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23815 if (obj3) {
23816 {
23817 arg4 = &temp4;
23818 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23819 }
23820 }
23821 if (obj4) {
23822 {
23823 arg5 = &temp5;
23824 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23825 }
23826 }
23827 {
23828 PyThreadState* __tstate = wxPyBeginAllowThreads();
23829 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
23830
23831 wxPyEndAllowThreads(__tstate);
23832 if (PyErr_Occurred()) SWIG_fail;
23833 }
23834 resultobj = PyInt_FromLong((long)result);
23835 return resultobj;
23836 fail:
23837 return NULL;
23838 }
23839
23840
23841 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
23842 PyObject *resultobj;
23843 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
23844 wxString *arg2 = 0 ;
23845 int arg3 ;
23846 bool temp2 = False ;
23847 PyObject * obj0 = 0 ;
23848 PyObject * obj1 = 0 ;
23849 char *kwnames[] = {
23850 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
23851 };
23852
23853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
23854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23855 {
23856 arg2 = wxString_in_helper(obj1);
23857 if (arg2 == NULL) SWIG_fail;
23858 temp2 = True;
23859 }
23860 {
23861 PyThreadState* __tstate = wxPyBeginAllowThreads();
23862 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
23863
23864 wxPyEndAllowThreads(__tstate);
23865 if (PyErr_Occurred()) SWIG_fail;
23866 }
23867 Py_INCREF(Py_None); resultobj = Py_None;
23868 {
23869 if (temp2)
23870 delete arg2;
23871 }
23872 return resultobj;
23873 fail:
23874 {
23875 if (temp2)
23876 delete arg2;
23877 }
23878 return NULL;
23879 }
23880
23881
23882 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
23883 PyObject *obj;
23884 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23885 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
23886 Py_INCREF(obj);
23887 return Py_BuildValue((char *)"");
23888 }
23889 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23890 PyObject *resultobj;
23891 wxWindow *arg1 = (wxWindow *) 0 ;
23892 int arg2 ;
23893 wxPoint const &arg3_defvalue = wxDefaultPosition ;
23894 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
23895 wxSize const &arg4_defvalue = wxDefaultSize ;
23896 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
23897 long arg5 = (long) 0 ;
23898 wxValidator const &arg6_defvalue = wxDefaultValidator ;
23899 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
23900 wxString const &arg7_defvalue = wxPyControlNameStr ;
23901 wxString *arg7 = (wxString *) &arg7_defvalue ;
23902 wxPyControl *result;
23903 wxPoint temp3 ;
23904 wxSize temp4 ;
23905 bool temp7 = False ;
23906 PyObject * obj0 = 0 ;
23907 PyObject * obj2 = 0 ;
23908 PyObject * obj3 = 0 ;
23909 PyObject * obj5 = 0 ;
23910 PyObject * obj6 = 0 ;
23911 char *kwnames[] = {
23912 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
23913 };
23914
23915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
23916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23917 if (obj2) {
23918 {
23919 arg3 = &temp3;
23920 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
23921 }
23922 }
23923 if (obj3) {
23924 {
23925 arg4 = &temp4;
23926 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
23927 }
23928 }
23929 if (obj5) {
23930 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23931 if (arg6 == NULL) {
23932 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23933 }
23934 }
23935 if (obj6) {
23936 {
23937 arg7 = wxString_in_helper(obj6);
23938 if (arg7 == NULL) SWIG_fail;
23939 temp7 = True;
23940 }
23941 }
23942 {
23943 PyThreadState* __tstate = wxPyBeginAllowThreads();
23944 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
23945
23946 wxPyEndAllowThreads(__tstate);
23947 if (PyErr_Occurred()) SWIG_fail;
23948 }
23949 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
23950 {
23951 if (temp7)
23952 delete arg7;
23953 }
23954 return resultobj;
23955 fail:
23956 {
23957 if (temp7)
23958 delete arg7;
23959 }
23960 return NULL;
23961 }
23962
23963
23964 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
23965 PyObject *resultobj;
23966 wxPyControl *arg1 = (wxPyControl *) 0 ;
23967 PyObject *arg2 = (PyObject *) 0 ;
23968 PyObject *arg3 = (PyObject *) 0 ;
23969 PyObject * obj0 = 0 ;
23970 PyObject * obj1 = 0 ;
23971 PyObject * obj2 = 0 ;
23972 char *kwnames[] = {
23973 (char *) "self",(char *) "self",(char *) "_class", NULL
23974 };
23975
23976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
23977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23978 arg2 = obj1;
23979 arg3 = obj2;
23980 {
23981 PyThreadState* __tstate = wxPyBeginAllowThreads();
23982 (arg1)->_setCallbackInfo(arg2,arg3);
23983
23984 wxPyEndAllowThreads(__tstate);
23985 if (PyErr_Occurred()) SWIG_fail;
23986 }
23987 Py_INCREF(Py_None); resultobj = Py_None;
23988 return resultobj;
23989 fail:
23990 return NULL;
23991 }
23992
23993
23994 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
23995 PyObject *resultobj;
23996 wxPyControl *arg1 = (wxPyControl *) 0 ;
23997 int arg2 ;
23998 int arg3 ;
23999 int arg4 ;
24000 int arg5 ;
24001 PyObject * obj0 = 0 ;
24002 char *kwnames[] = {
24003 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24004 };
24005
24006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24008 {
24009 PyThreadState* __tstate = wxPyBeginAllowThreads();
24010 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24011
24012 wxPyEndAllowThreads(__tstate);
24013 if (PyErr_Occurred()) SWIG_fail;
24014 }
24015 Py_INCREF(Py_None); resultobj = Py_None;
24016 return resultobj;
24017 fail:
24018 return NULL;
24019 }
24020
24021
24022 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24023 PyObject *resultobj;
24024 wxPyControl *arg1 = (wxPyControl *) 0 ;
24025 int arg2 ;
24026 int arg3 ;
24027 int arg4 ;
24028 int arg5 ;
24029 int arg6 = (int) wxSIZE_AUTO ;
24030 PyObject * obj0 = 0 ;
24031 char *kwnames[] = {
24032 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24033 };
24034
24035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24037 {
24038 PyThreadState* __tstate = wxPyBeginAllowThreads();
24039 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24040
24041 wxPyEndAllowThreads(__tstate);
24042 if (PyErr_Occurred()) SWIG_fail;
24043 }
24044 Py_INCREF(Py_None); resultobj = Py_None;
24045 return resultobj;
24046 fail:
24047 return NULL;
24048 }
24049
24050
24051 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24052 PyObject *resultobj;
24053 wxPyControl *arg1 = (wxPyControl *) 0 ;
24054 int arg2 ;
24055 int arg3 ;
24056 PyObject * obj0 = 0 ;
24057 char *kwnames[] = {
24058 (char *) "self",(char *) "width",(char *) "height", NULL
24059 };
24060
24061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24063 {
24064 PyThreadState* __tstate = wxPyBeginAllowThreads();
24065 (arg1)->base_DoSetClientSize(arg2,arg3);
24066
24067 wxPyEndAllowThreads(__tstate);
24068 if (PyErr_Occurred()) SWIG_fail;
24069 }
24070 Py_INCREF(Py_None); resultobj = Py_None;
24071 return resultobj;
24072 fail:
24073 return NULL;
24074 }
24075
24076
24077 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24078 PyObject *resultobj;
24079 wxPyControl *arg1 = (wxPyControl *) 0 ;
24080 int arg2 ;
24081 int arg3 ;
24082 PyObject * obj0 = 0 ;
24083 char *kwnames[] = {
24084 (char *) "self",(char *) "x",(char *) "y", NULL
24085 };
24086
24087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24089 {
24090 PyThreadState* __tstate = wxPyBeginAllowThreads();
24091 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24092
24093 wxPyEndAllowThreads(__tstate);
24094 if (PyErr_Occurred()) SWIG_fail;
24095 }
24096 Py_INCREF(Py_None); resultobj = Py_None;
24097 return resultobj;
24098 fail:
24099 return NULL;
24100 }
24101
24102
24103 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24104 PyObject *resultobj;
24105 wxPyControl *arg1 = (wxPyControl *) 0 ;
24106 int *arg2 = (int *) 0 ;
24107 int *arg3 = (int *) 0 ;
24108 int temp2 ;
24109 int temp3 ;
24110 PyObject * obj0 = 0 ;
24111 char *kwnames[] = {
24112 (char *) "self", NULL
24113 };
24114
24115 arg2 = &temp2;
24116 arg3 = &temp3;
24117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24119 {
24120 PyThreadState* __tstate = wxPyBeginAllowThreads();
24121 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24122
24123 wxPyEndAllowThreads(__tstate);
24124 if (PyErr_Occurred()) SWIG_fail;
24125 }
24126 Py_INCREF(Py_None); resultobj = Py_None;
24127 {
24128 PyObject *o = PyInt_FromLong((long) (*arg2));
24129 resultobj = t_output_helper(resultobj,o);
24130 }
24131 {
24132 PyObject *o = PyInt_FromLong((long) (*arg3));
24133 resultobj = t_output_helper(resultobj,o);
24134 }
24135 return resultobj;
24136 fail:
24137 return NULL;
24138 }
24139
24140
24141 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24142 PyObject *resultobj;
24143 wxPyControl *arg1 = (wxPyControl *) 0 ;
24144 int *arg2 = (int *) 0 ;
24145 int *arg3 = (int *) 0 ;
24146 int temp2 ;
24147 int temp3 ;
24148 PyObject * obj0 = 0 ;
24149 char *kwnames[] = {
24150 (char *) "self", NULL
24151 };
24152
24153 arg2 = &temp2;
24154 arg3 = &temp3;
24155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24157 {
24158 PyThreadState* __tstate = wxPyBeginAllowThreads();
24159 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24160
24161 wxPyEndAllowThreads(__tstate);
24162 if (PyErr_Occurred()) SWIG_fail;
24163 }
24164 Py_INCREF(Py_None); resultobj = Py_None;
24165 {
24166 PyObject *o = PyInt_FromLong((long) (*arg2));
24167 resultobj = t_output_helper(resultobj,o);
24168 }
24169 {
24170 PyObject *o = PyInt_FromLong((long) (*arg3));
24171 resultobj = t_output_helper(resultobj,o);
24172 }
24173 return resultobj;
24174 fail:
24175 return NULL;
24176 }
24177
24178
24179 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24180 PyObject *resultobj;
24181 wxPyControl *arg1 = (wxPyControl *) 0 ;
24182 int *arg2 = (int *) 0 ;
24183 int *arg3 = (int *) 0 ;
24184 int temp2 ;
24185 int temp3 ;
24186 PyObject * obj0 = 0 ;
24187 char *kwnames[] = {
24188 (char *) "self", NULL
24189 };
24190
24191 arg2 = &temp2;
24192 arg3 = &temp3;
24193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24195 {
24196 PyThreadState* __tstate = wxPyBeginAllowThreads();
24197 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24198
24199 wxPyEndAllowThreads(__tstate);
24200 if (PyErr_Occurred()) SWIG_fail;
24201 }
24202 Py_INCREF(Py_None); resultobj = Py_None;
24203 {
24204 PyObject *o = PyInt_FromLong((long) (*arg2));
24205 resultobj = t_output_helper(resultobj,o);
24206 }
24207 {
24208 PyObject *o = PyInt_FromLong((long) (*arg3));
24209 resultobj = t_output_helper(resultobj,o);
24210 }
24211 return resultobj;
24212 fail:
24213 return NULL;
24214 }
24215
24216
24217 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24218 PyObject *resultobj;
24219 wxPyControl *arg1 = (wxPyControl *) 0 ;
24220 wxSize result;
24221 PyObject * obj0 = 0 ;
24222 char *kwnames[] = {
24223 (char *) "self", NULL
24224 };
24225
24226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24228 {
24229 PyThreadState* __tstate = wxPyBeginAllowThreads();
24230 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24231
24232 wxPyEndAllowThreads(__tstate);
24233 if (PyErr_Occurred()) SWIG_fail;
24234 }
24235 {
24236 wxSize * resultptr;
24237 resultptr = new wxSize((wxSize &) result);
24238 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24239 }
24240 return resultobj;
24241 fail:
24242 return NULL;
24243 }
24244
24245
24246 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24247 PyObject *resultobj;
24248 wxPyControl *arg1 = (wxPyControl *) 0 ;
24249 wxSize result;
24250 PyObject * obj0 = 0 ;
24251 char *kwnames[] = {
24252 (char *) "self", NULL
24253 };
24254
24255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24257 {
24258 PyThreadState* __tstate = wxPyBeginAllowThreads();
24259 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24260
24261 wxPyEndAllowThreads(__tstate);
24262 if (PyErr_Occurred()) SWIG_fail;
24263 }
24264 {
24265 wxSize * resultptr;
24266 resultptr = new wxSize((wxSize &) result);
24267 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24268 }
24269 return resultobj;
24270 fail:
24271 return NULL;
24272 }
24273
24274
24275 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24276 PyObject *resultobj;
24277 wxPyControl *arg1 = (wxPyControl *) 0 ;
24278 PyObject * obj0 = 0 ;
24279 char *kwnames[] = {
24280 (char *) "self", NULL
24281 };
24282
24283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24285 {
24286 PyThreadState* __tstate = wxPyBeginAllowThreads();
24287 (arg1)->base_InitDialog();
24288
24289 wxPyEndAllowThreads(__tstate);
24290 if (PyErr_Occurred()) SWIG_fail;
24291 }
24292 Py_INCREF(Py_None); resultobj = Py_None;
24293 return resultobj;
24294 fail:
24295 return NULL;
24296 }
24297
24298
24299 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24300 PyObject *resultobj;
24301 wxPyControl *arg1 = (wxPyControl *) 0 ;
24302 bool result;
24303 PyObject * obj0 = 0 ;
24304 char *kwnames[] = {
24305 (char *) "self", NULL
24306 };
24307
24308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24310 {
24311 PyThreadState* __tstate = wxPyBeginAllowThreads();
24312 result = (bool)(arg1)->base_TransferDataToWindow();
24313
24314 wxPyEndAllowThreads(__tstate);
24315 if (PyErr_Occurred()) SWIG_fail;
24316 }
24317 resultobj = PyInt_FromLong((long)result);
24318 return resultobj;
24319 fail:
24320 return NULL;
24321 }
24322
24323
24324 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24325 PyObject *resultobj;
24326 wxPyControl *arg1 = (wxPyControl *) 0 ;
24327 bool result;
24328 PyObject * obj0 = 0 ;
24329 char *kwnames[] = {
24330 (char *) "self", NULL
24331 };
24332
24333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24335 {
24336 PyThreadState* __tstate = wxPyBeginAllowThreads();
24337 result = (bool)(arg1)->base_TransferDataFromWindow();
24338
24339 wxPyEndAllowThreads(__tstate);
24340 if (PyErr_Occurred()) SWIG_fail;
24341 }
24342 resultobj = PyInt_FromLong((long)result);
24343 return resultobj;
24344 fail:
24345 return NULL;
24346 }
24347
24348
24349 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24350 PyObject *resultobj;
24351 wxPyControl *arg1 = (wxPyControl *) 0 ;
24352 bool result;
24353 PyObject * obj0 = 0 ;
24354 char *kwnames[] = {
24355 (char *) "self", NULL
24356 };
24357
24358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24360 {
24361 PyThreadState* __tstate = wxPyBeginAllowThreads();
24362 result = (bool)(arg1)->base_Validate();
24363
24364 wxPyEndAllowThreads(__tstate);
24365 if (PyErr_Occurred()) SWIG_fail;
24366 }
24367 resultobj = PyInt_FromLong((long)result);
24368 return resultobj;
24369 fail:
24370 return NULL;
24371 }
24372
24373
24374 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24375 PyObject *resultobj;
24376 wxPyControl *arg1 = (wxPyControl *) 0 ;
24377 bool result;
24378 PyObject * obj0 = 0 ;
24379 char *kwnames[] = {
24380 (char *) "self", NULL
24381 };
24382
24383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24385 {
24386 PyThreadState* __tstate = wxPyBeginAllowThreads();
24387 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24388
24389 wxPyEndAllowThreads(__tstate);
24390 if (PyErr_Occurred()) SWIG_fail;
24391 }
24392 resultobj = PyInt_FromLong((long)result);
24393 return resultobj;
24394 fail:
24395 return NULL;
24396 }
24397
24398
24399 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24400 PyObject *resultobj;
24401 wxPyControl *arg1 = (wxPyControl *) 0 ;
24402 bool result;
24403 PyObject * obj0 = 0 ;
24404 char *kwnames[] = {
24405 (char *) "self", NULL
24406 };
24407
24408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24410 {
24411 PyThreadState* __tstate = wxPyBeginAllowThreads();
24412 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24413
24414 wxPyEndAllowThreads(__tstate);
24415 if (PyErr_Occurred()) SWIG_fail;
24416 }
24417 resultobj = PyInt_FromLong((long)result);
24418 return resultobj;
24419 fail:
24420 return NULL;
24421 }
24422
24423
24424 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24425 PyObject *resultobj;
24426 wxPyControl *arg1 = (wxPyControl *) 0 ;
24427 wxSize result;
24428 PyObject * obj0 = 0 ;
24429 char *kwnames[] = {
24430 (char *) "self", NULL
24431 };
24432
24433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24435 {
24436 PyThreadState* __tstate = wxPyBeginAllowThreads();
24437 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24438
24439 wxPyEndAllowThreads(__tstate);
24440 if (PyErr_Occurred()) SWIG_fail;
24441 }
24442 {
24443 wxSize * resultptr;
24444 resultptr = new wxSize((wxSize &) result);
24445 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24446 }
24447 return resultobj;
24448 fail:
24449 return NULL;
24450 }
24451
24452
24453 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24454 PyObject *resultobj;
24455 wxPyControl *arg1 = (wxPyControl *) 0 ;
24456 wxWindow *arg2 = (wxWindow *) 0 ;
24457 PyObject * obj0 = 0 ;
24458 PyObject * obj1 = 0 ;
24459 char *kwnames[] = {
24460 (char *) "self",(char *) "child", NULL
24461 };
24462
24463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24465 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24466 {
24467 PyThreadState* __tstate = wxPyBeginAllowThreads();
24468 (arg1)->base_AddChild(arg2);
24469
24470 wxPyEndAllowThreads(__tstate);
24471 if (PyErr_Occurred()) SWIG_fail;
24472 }
24473 Py_INCREF(Py_None); resultobj = Py_None;
24474 return resultobj;
24475 fail:
24476 return NULL;
24477 }
24478
24479
24480 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24481 PyObject *resultobj;
24482 wxPyControl *arg1 = (wxPyControl *) 0 ;
24483 wxWindow *arg2 = (wxWindow *) 0 ;
24484 PyObject * obj0 = 0 ;
24485 PyObject * obj1 = 0 ;
24486 char *kwnames[] = {
24487 (char *) "self",(char *) "child", NULL
24488 };
24489
24490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24492 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24493 {
24494 PyThreadState* __tstate = wxPyBeginAllowThreads();
24495 (arg1)->base_RemoveChild(arg2);
24496
24497 wxPyEndAllowThreads(__tstate);
24498 if (PyErr_Occurred()) SWIG_fail;
24499 }
24500 Py_INCREF(Py_None); resultobj = Py_None;
24501 return resultobj;
24502 fail:
24503 return NULL;
24504 }
24505
24506
24507 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24508 PyObject *obj;
24509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24510 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24511 Py_INCREF(obj);
24512 return Py_BuildValue((char *)"");
24513 }
24514 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24515 PyObject *resultobj;
24516 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24517 int arg2 = (int) 0 ;
24518 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24519 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24520 wxHelpEvent *result;
24521 wxPoint temp3 ;
24522 PyObject * obj2 = 0 ;
24523 char *kwnames[] = {
24524 (char *) "type",(char *) "winid",(char *) "pt", NULL
24525 };
24526
24527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24528 if (obj2) {
24529 {
24530 arg3 = &temp3;
24531 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24532 }
24533 }
24534 {
24535 PyThreadState* __tstate = wxPyBeginAllowThreads();
24536 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24537
24538 wxPyEndAllowThreads(__tstate);
24539 if (PyErr_Occurred()) SWIG_fail;
24540 }
24541 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24542 return resultobj;
24543 fail:
24544 return NULL;
24545 }
24546
24547
24548 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24549 PyObject *resultobj;
24550 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24551 wxPoint *result;
24552 PyObject * obj0 = 0 ;
24553 char *kwnames[] = {
24554 (char *) "self", NULL
24555 };
24556
24557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24559 {
24560 PyThreadState* __tstate = wxPyBeginAllowThreads();
24561 {
24562 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24563 result = (wxPoint *) &_result_ref;
24564 }
24565
24566 wxPyEndAllowThreads(__tstate);
24567 if (PyErr_Occurred()) SWIG_fail;
24568 }
24569 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24570 return resultobj;
24571 fail:
24572 return NULL;
24573 }
24574
24575
24576 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24577 PyObject *resultobj;
24578 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24579 wxPoint *arg2 = 0 ;
24580 wxPoint temp2 ;
24581 PyObject * obj0 = 0 ;
24582 PyObject * obj1 = 0 ;
24583 char *kwnames[] = {
24584 (char *) "self",(char *) "pos", NULL
24585 };
24586
24587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24589 {
24590 arg2 = &temp2;
24591 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24592 }
24593 {
24594 PyThreadState* __tstate = wxPyBeginAllowThreads();
24595 (arg1)->SetPosition((wxPoint const &)*arg2);
24596
24597 wxPyEndAllowThreads(__tstate);
24598 if (PyErr_Occurred()) SWIG_fail;
24599 }
24600 Py_INCREF(Py_None); resultobj = Py_None;
24601 return resultobj;
24602 fail:
24603 return NULL;
24604 }
24605
24606
24607 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24608 PyObject *resultobj;
24609 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24610 wxString *result;
24611 PyObject * obj0 = 0 ;
24612 char *kwnames[] = {
24613 (char *) "self", NULL
24614 };
24615
24616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24618 {
24619 PyThreadState* __tstate = wxPyBeginAllowThreads();
24620 {
24621 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24622 result = (wxString *) &_result_ref;
24623 }
24624
24625 wxPyEndAllowThreads(__tstate);
24626 if (PyErr_Occurred()) SWIG_fail;
24627 }
24628 {
24629 #if wxUSE_UNICODE
24630 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24631 #else
24632 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24633 #endif
24634 }
24635 return resultobj;
24636 fail:
24637 return NULL;
24638 }
24639
24640
24641 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24642 PyObject *resultobj;
24643 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24644 wxString *arg2 = 0 ;
24645 bool temp2 = False ;
24646 PyObject * obj0 = 0 ;
24647 PyObject * obj1 = 0 ;
24648 char *kwnames[] = {
24649 (char *) "self",(char *) "link", NULL
24650 };
24651
24652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24654 {
24655 arg2 = wxString_in_helper(obj1);
24656 if (arg2 == NULL) SWIG_fail;
24657 temp2 = True;
24658 }
24659 {
24660 PyThreadState* __tstate = wxPyBeginAllowThreads();
24661 (arg1)->SetLink((wxString const &)*arg2);
24662
24663 wxPyEndAllowThreads(__tstate);
24664 if (PyErr_Occurred()) SWIG_fail;
24665 }
24666 Py_INCREF(Py_None); resultobj = Py_None;
24667 {
24668 if (temp2)
24669 delete arg2;
24670 }
24671 return resultobj;
24672 fail:
24673 {
24674 if (temp2)
24675 delete arg2;
24676 }
24677 return NULL;
24678 }
24679
24680
24681 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24682 PyObject *resultobj;
24683 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24684 wxString *result;
24685 PyObject * obj0 = 0 ;
24686 char *kwnames[] = {
24687 (char *) "self", NULL
24688 };
24689
24690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24692 {
24693 PyThreadState* __tstate = wxPyBeginAllowThreads();
24694 {
24695 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24696 result = (wxString *) &_result_ref;
24697 }
24698
24699 wxPyEndAllowThreads(__tstate);
24700 if (PyErr_Occurred()) SWIG_fail;
24701 }
24702 {
24703 #if wxUSE_UNICODE
24704 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24705 #else
24706 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24707 #endif
24708 }
24709 return resultobj;
24710 fail:
24711 return NULL;
24712 }
24713
24714
24715 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24716 PyObject *resultobj;
24717 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24718 wxString *arg2 = 0 ;
24719 bool temp2 = False ;
24720 PyObject * obj0 = 0 ;
24721 PyObject * obj1 = 0 ;
24722 char *kwnames[] = {
24723 (char *) "self",(char *) "target", NULL
24724 };
24725
24726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
24727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24728 {
24729 arg2 = wxString_in_helper(obj1);
24730 if (arg2 == NULL) SWIG_fail;
24731 temp2 = True;
24732 }
24733 {
24734 PyThreadState* __tstate = wxPyBeginAllowThreads();
24735 (arg1)->SetTarget((wxString const &)*arg2);
24736
24737 wxPyEndAllowThreads(__tstate);
24738 if (PyErr_Occurred()) SWIG_fail;
24739 }
24740 Py_INCREF(Py_None); resultobj = Py_None;
24741 {
24742 if (temp2)
24743 delete arg2;
24744 }
24745 return resultobj;
24746 fail:
24747 {
24748 if (temp2)
24749 delete arg2;
24750 }
24751 return NULL;
24752 }
24753
24754
24755 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
24756 PyObject *obj;
24757 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24758 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
24759 Py_INCREF(obj);
24760 return Py_BuildValue((char *)"");
24761 }
24762 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24763 PyObject *resultobj;
24764 wxWindow *arg1 = (wxWindow *) NULL ;
24765 bool arg2 = (bool) True ;
24766 wxContextHelp *result;
24767 PyObject * obj0 = 0 ;
24768 PyObject * obj1 = 0 ;
24769 char *kwnames[] = {
24770 (char *) "window",(char *) "doNow", NULL
24771 };
24772
24773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
24774 if (obj0) {
24775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24776 }
24777 if (obj1) {
24778 arg2 = PyInt_AsLong(obj1) ? true : false;
24779 if (PyErr_Occurred()) SWIG_fail;
24780 }
24781 {
24782 PyThreadState* __tstate = wxPyBeginAllowThreads();
24783 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
24784
24785 wxPyEndAllowThreads(__tstate);
24786 if (PyErr_Occurred()) SWIG_fail;
24787 }
24788 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
24789 return resultobj;
24790 fail:
24791 return NULL;
24792 }
24793
24794
24795 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24796 PyObject *resultobj;
24797 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24798 PyObject * obj0 = 0 ;
24799 char *kwnames[] = {
24800 (char *) "self", NULL
24801 };
24802
24803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
24804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24805 {
24806 PyThreadState* __tstate = wxPyBeginAllowThreads();
24807 delete arg1;
24808
24809 wxPyEndAllowThreads(__tstate);
24810 if (PyErr_Occurred()) SWIG_fail;
24811 }
24812 Py_INCREF(Py_None); resultobj = Py_None;
24813 return resultobj;
24814 fail:
24815 return NULL;
24816 }
24817
24818
24819 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24820 PyObject *resultobj;
24821 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24822 wxWindow *arg2 = (wxWindow *) NULL ;
24823 bool result;
24824 PyObject * obj0 = 0 ;
24825 PyObject * obj1 = 0 ;
24826 char *kwnames[] = {
24827 (char *) "self",(char *) "window", NULL
24828 };
24829
24830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
24831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24832 if (obj1) {
24833 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24834 }
24835 {
24836 PyThreadState* __tstate = wxPyBeginAllowThreads();
24837 result = (bool)(arg1)->BeginContextHelp(arg2);
24838
24839 wxPyEndAllowThreads(__tstate);
24840 if (PyErr_Occurred()) SWIG_fail;
24841 }
24842 resultobj = PyInt_FromLong((long)result);
24843 return resultobj;
24844 fail:
24845 return NULL;
24846 }
24847
24848
24849 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24850 PyObject *resultobj;
24851 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
24852 bool result;
24853 PyObject * obj0 = 0 ;
24854 char *kwnames[] = {
24855 (char *) "self", NULL
24856 };
24857
24858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
24859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24860 {
24861 PyThreadState* __tstate = wxPyBeginAllowThreads();
24862 result = (bool)(arg1)->EndContextHelp();
24863
24864 wxPyEndAllowThreads(__tstate);
24865 if (PyErr_Occurred()) SWIG_fail;
24866 }
24867 resultobj = PyInt_FromLong((long)result);
24868 return resultobj;
24869 fail:
24870 return NULL;
24871 }
24872
24873
24874 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
24875 PyObject *obj;
24876 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24877 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
24878 Py_INCREF(obj);
24879 return Py_BuildValue((char *)"");
24880 }
24881 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
24882 PyObject *resultobj;
24883 wxWindow *arg1 = (wxWindow *) 0 ;
24884 int arg2 = (int) wxID_CONTEXT_HELP ;
24885 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24886 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24887 wxSize const &arg4_defvalue = wxDefaultSize ;
24888 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24889 long arg5 = (long) wxBU_AUTODRAW ;
24890 wxContextHelpButton *result;
24891 wxPoint temp3 ;
24892 wxSize temp4 ;
24893 PyObject * obj0 = 0 ;
24894 PyObject * obj2 = 0 ;
24895 PyObject * obj3 = 0 ;
24896 char *kwnames[] = {
24897 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24898 };
24899
24900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24902 if (obj2) {
24903 {
24904 arg3 = &temp3;
24905 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24906 }
24907 }
24908 if (obj3) {
24909 {
24910 arg4 = &temp4;
24911 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24912 }
24913 }
24914 {
24915 PyThreadState* __tstate = wxPyBeginAllowThreads();
24916 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24917
24918 wxPyEndAllowThreads(__tstate);
24919 if (PyErr_Occurred()) SWIG_fail;
24920 }
24921 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
24922 return resultobj;
24923 fail:
24924 return NULL;
24925 }
24926
24927
24928 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
24929 PyObject *obj;
24930 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24931 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
24932 Py_INCREF(obj);
24933 return Py_BuildValue((char *)"");
24934 }
24935 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
24936 PyObject *resultobj;
24937 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24938 wxHelpProvider *result;
24939 PyObject * obj0 = 0 ;
24940 char *kwnames[] = {
24941 (char *) "helpProvider", NULL
24942 };
24943
24944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
24945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24946 {
24947 PyThreadState* __tstate = wxPyBeginAllowThreads();
24948 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
24949
24950 wxPyEndAllowThreads(__tstate);
24951 if (PyErr_Occurred()) SWIG_fail;
24952 }
24953 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24954 return resultobj;
24955 fail:
24956 return NULL;
24957 }
24958
24959
24960 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
24961 PyObject *resultobj;
24962 wxHelpProvider *result;
24963 char *kwnames[] = {
24964 NULL
24965 };
24966
24967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
24968 {
24969 PyThreadState* __tstate = wxPyBeginAllowThreads();
24970 result = (wxHelpProvider *)wxHelpProvider::Get();
24971
24972 wxPyEndAllowThreads(__tstate);
24973 if (PyErr_Occurred()) SWIG_fail;
24974 }
24975 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
24976 return resultobj;
24977 fail:
24978 return NULL;
24979 }
24980
24981
24982 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
24983 PyObject *resultobj;
24984 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
24985 wxWindow *arg2 = (wxWindow *) 0 ;
24986 wxString result;
24987 PyObject * obj0 = 0 ;
24988 PyObject * obj1 = 0 ;
24989 char *kwnames[] = {
24990 (char *) "self",(char *) "window", NULL
24991 };
24992
24993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
24994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24996 {
24997 PyThreadState* __tstate = wxPyBeginAllowThreads();
24998 result = (arg1)->GetHelp((wxWindow const *)arg2);
24999
25000 wxPyEndAllowThreads(__tstate);
25001 if (PyErr_Occurred()) SWIG_fail;
25002 }
25003 {
25004 #if wxUSE_UNICODE
25005 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25006 #else
25007 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25008 #endif
25009 }
25010 return resultobj;
25011 fail:
25012 return NULL;
25013 }
25014
25015
25016 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25017 PyObject *resultobj;
25018 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25019 wxWindow *arg2 = (wxWindow *) 0 ;
25020 bool result;
25021 PyObject * obj0 = 0 ;
25022 PyObject * obj1 = 0 ;
25023 char *kwnames[] = {
25024 (char *) "self",(char *) "window", NULL
25025 };
25026
25027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25029 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25030 {
25031 PyThreadState* __tstate = wxPyBeginAllowThreads();
25032 result = (bool)(arg1)->ShowHelp(arg2);
25033
25034 wxPyEndAllowThreads(__tstate);
25035 if (PyErr_Occurred()) SWIG_fail;
25036 }
25037 resultobj = PyInt_FromLong((long)result);
25038 return resultobj;
25039 fail:
25040 return NULL;
25041 }
25042
25043
25044 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25045 PyObject *resultobj;
25046 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25047 wxWindow *arg2 = (wxWindow *) 0 ;
25048 wxString *arg3 = 0 ;
25049 bool temp3 = False ;
25050 PyObject * obj0 = 0 ;
25051 PyObject * obj1 = 0 ;
25052 PyObject * obj2 = 0 ;
25053 char *kwnames[] = {
25054 (char *) "self",(char *) "window",(char *) "text", NULL
25055 };
25056
25057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25060 {
25061 arg3 = wxString_in_helper(obj2);
25062 if (arg3 == NULL) SWIG_fail;
25063 temp3 = True;
25064 }
25065 {
25066 PyThreadState* __tstate = wxPyBeginAllowThreads();
25067 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25068
25069 wxPyEndAllowThreads(__tstate);
25070 if (PyErr_Occurred()) SWIG_fail;
25071 }
25072 Py_INCREF(Py_None); resultobj = Py_None;
25073 {
25074 if (temp3)
25075 delete arg3;
25076 }
25077 return resultobj;
25078 fail:
25079 {
25080 if (temp3)
25081 delete arg3;
25082 }
25083 return NULL;
25084 }
25085
25086
25087 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25088 PyObject *resultobj;
25089 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25090 int arg2 ;
25091 wxString *arg3 = 0 ;
25092 bool temp3 = False ;
25093 PyObject * obj0 = 0 ;
25094 PyObject * obj2 = 0 ;
25095 char *kwnames[] = {
25096 (char *) "self",(char *) "id",(char *) "text", NULL
25097 };
25098
25099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25101 {
25102 arg3 = wxString_in_helper(obj2);
25103 if (arg3 == NULL) SWIG_fail;
25104 temp3 = True;
25105 }
25106 {
25107 PyThreadState* __tstate = wxPyBeginAllowThreads();
25108 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25109
25110 wxPyEndAllowThreads(__tstate);
25111 if (PyErr_Occurred()) SWIG_fail;
25112 }
25113 Py_INCREF(Py_None); resultobj = Py_None;
25114 {
25115 if (temp3)
25116 delete arg3;
25117 }
25118 return resultobj;
25119 fail:
25120 {
25121 if (temp3)
25122 delete arg3;
25123 }
25124 return NULL;
25125 }
25126
25127
25128 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25129 PyObject *resultobj;
25130 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25131 PyObject * obj0 = 0 ;
25132 char *kwnames[] = {
25133 (char *) "self", NULL
25134 };
25135
25136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25138 {
25139 PyThreadState* __tstate = wxPyBeginAllowThreads();
25140 wxHelpProvider_Destroy(arg1);
25141
25142 wxPyEndAllowThreads(__tstate);
25143 if (PyErr_Occurred()) SWIG_fail;
25144 }
25145 Py_INCREF(Py_None); resultobj = Py_None;
25146 return resultobj;
25147 fail:
25148 return NULL;
25149 }
25150
25151
25152 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25153 PyObject *obj;
25154 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25155 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25156 Py_INCREF(obj);
25157 return Py_BuildValue((char *)"");
25158 }
25159 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25160 PyObject *resultobj;
25161 wxSimpleHelpProvider *result;
25162 char *kwnames[] = {
25163 NULL
25164 };
25165
25166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25167 {
25168 PyThreadState* __tstate = wxPyBeginAllowThreads();
25169 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25170
25171 wxPyEndAllowThreads(__tstate);
25172 if (PyErr_Occurred()) SWIG_fail;
25173 }
25174 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25175 return resultobj;
25176 fail:
25177 return NULL;
25178 }
25179
25180
25181 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25182 PyObject *obj;
25183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25184 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25185 Py_INCREF(obj);
25186 return Py_BuildValue((char *)"");
25187 }
25188 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25189 PyObject *resultobj;
25190 wxBitmap *arg1 = 0 ;
25191 wxCursor const &arg2_defvalue = wxNullCursor ;
25192 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25193 wxGenericDragImage *result;
25194 PyObject * obj0 = 0 ;
25195 PyObject * obj1 = 0 ;
25196 char *kwnames[] = {
25197 (char *) "image",(char *) "cursor", NULL
25198 };
25199
25200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25202 if (arg1 == NULL) {
25203 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25204 }
25205 if (obj1) {
25206 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25207 if (arg2 == NULL) {
25208 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25209 }
25210 }
25211 {
25212 PyThreadState* __tstate = wxPyBeginAllowThreads();
25213 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25214
25215 wxPyEndAllowThreads(__tstate);
25216 if (PyErr_Occurred()) SWIG_fail;
25217 }
25218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25219 return resultobj;
25220 fail:
25221 return NULL;
25222 }
25223
25224
25225 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25226 PyObject *resultobj;
25227 wxIcon *arg1 = 0 ;
25228 wxCursor const &arg2_defvalue = wxNullCursor ;
25229 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25230 wxGenericDragImage *result;
25231 PyObject * obj0 = 0 ;
25232 PyObject * obj1 = 0 ;
25233 char *kwnames[] = {
25234 (char *) "image",(char *) "cursor", NULL
25235 };
25236
25237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25239 if (arg1 == NULL) {
25240 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25241 }
25242 if (obj1) {
25243 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25244 if (arg2 == NULL) {
25245 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25246 }
25247 }
25248 {
25249 PyThreadState* __tstate = wxPyBeginAllowThreads();
25250 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25251
25252 wxPyEndAllowThreads(__tstate);
25253 if (PyErr_Occurred()) SWIG_fail;
25254 }
25255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25256 return resultobj;
25257 fail:
25258 return NULL;
25259 }
25260
25261
25262 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25263 PyObject *resultobj;
25264 wxString *arg1 = 0 ;
25265 wxCursor const &arg2_defvalue = wxNullCursor ;
25266 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25267 wxGenericDragImage *result;
25268 bool temp1 = False ;
25269 PyObject * obj0 = 0 ;
25270 PyObject * obj1 = 0 ;
25271 char *kwnames[] = {
25272 (char *) "str",(char *) "cursor", NULL
25273 };
25274
25275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25276 {
25277 arg1 = wxString_in_helper(obj0);
25278 if (arg1 == NULL) SWIG_fail;
25279 temp1 = True;
25280 }
25281 if (obj1) {
25282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25283 if (arg2 == NULL) {
25284 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25285 }
25286 }
25287 {
25288 PyThreadState* __tstate = wxPyBeginAllowThreads();
25289 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25290
25291 wxPyEndAllowThreads(__tstate);
25292 if (PyErr_Occurred()) SWIG_fail;
25293 }
25294 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25295 {
25296 if (temp1)
25297 delete arg1;
25298 }
25299 return resultobj;
25300 fail:
25301 {
25302 if (temp1)
25303 delete arg1;
25304 }
25305 return NULL;
25306 }
25307
25308
25309 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25310 PyObject *resultobj;
25311 wxPyTreeCtrl *arg1 = 0 ;
25312 wxTreeItemId *arg2 = 0 ;
25313 wxGenericDragImage *result;
25314 PyObject * obj0 = 0 ;
25315 PyObject * obj1 = 0 ;
25316 char *kwnames[] = {
25317 (char *) "treeCtrl",(char *) "id", NULL
25318 };
25319
25320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25322 if (arg1 == NULL) {
25323 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25324 }
25325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25326 if (arg2 == NULL) {
25327 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25328 }
25329 {
25330 PyThreadState* __tstate = wxPyBeginAllowThreads();
25331 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25332
25333 wxPyEndAllowThreads(__tstate);
25334 if (PyErr_Occurred()) SWIG_fail;
25335 }
25336 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25337 return resultobj;
25338 fail:
25339 return NULL;
25340 }
25341
25342
25343 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25344 PyObject *resultobj;
25345 wxPyListCtrl *arg1 = 0 ;
25346 long arg2 ;
25347 wxGenericDragImage *result;
25348 PyObject * obj0 = 0 ;
25349 char *kwnames[] = {
25350 (char *) "listCtrl",(char *) "id", NULL
25351 };
25352
25353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25355 if (arg1 == NULL) {
25356 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25357 }
25358 {
25359 PyThreadState* __tstate = wxPyBeginAllowThreads();
25360 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25361
25362 wxPyEndAllowThreads(__tstate);
25363 if (PyErr_Occurred()) SWIG_fail;
25364 }
25365 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25366 return resultobj;
25367 fail:
25368 return NULL;
25369 }
25370
25371
25372 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25373 PyObject *resultobj;
25374 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25375 PyObject * obj0 = 0 ;
25376 char *kwnames[] = {
25377 (char *) "self", NULL
25378 };
25379
25380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25382 {
25383 PyThreadState* __tstate = wxPyBeginAllowThreads();
25384 delete arg1;
25385
25386 wxPyEndAllowThreads(__tstate);
25387 if (PyErr_Occurred()) SWIG_fail;
25388 }
25389 Py_INCREF(Py_None); resultobj = Py_None;
25390 return resultobj;
25391 fail:
25392 return NULL;
25393 }
25394
25395
25396 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25397 PyObject *resultobj;
25398 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25399 wxBitmap *arg2 = (wxBitmap *) 0 ;
25400 PyObject * obj0 = 0 ;
25401 PyObject * obj1 = 0 ;
25402 char *kwnames[] = {
25403 (char *) "self",(char *) "bitmap", NULL
25404 };
25405
25406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25408 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25409 {
25410 PyThreadState* __tstate = wxPyBeginAllowThreads();
25411 (arg1)->SetBackingBitmap(arg2);
25412
25413 wxPyEndAllowThreads(__tstate);
25414 if (PyErr_Occurred()) SWIG_fail;
25415 }
25416 Py_INCREF(Py_None); resultobj = Py_None;
25417 return resultobj;
25418 fail:
25419 return NULL;
25420 }
25421
25422
25423 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25424 PyObject *resultobj;
25425 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25426 wxPoint *arg2 = 0 ;
25427 wxWindow *arg3 = (wxWindow *) 0 ;
25428 bool arg4 = (bool) False ;
25429 wxRect *arg5 = (wxRect *) NULL ;
25430 bool result;
25431 wxPoint temp2 ;
25432 PyObject * obj0 = 0 ;
25433 PyObject * obj1 = 0 ;
25434 PyObject * obj2 = 0 ;
25435 PyObject * obj3 = 0 ;
25436 PyObject * obj4 = 0 ;
25437 char *kwnames[] = {
25438 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25439 };
25440
25441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25443 {
25444 arg2 = &temp2;
25445 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25446 }
25447 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25448 if (obj3) {
25449 arg4 = PyInt_AsLong(obj3) ? true : false;
25450 if (PyErr_Occurred()) SWIG_fail;
25451 }
25452 if (obj4) {
25453 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25454 }
25455 {
25456 PyThreadState* __tstate = wxPyBeginAllowThreads();
25457 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25458
25459 wxPyEndAllowThreads(__tstate);
25460 if (PyErr_Occurred()) SWIG_fail;
25461 }
25462 resultobj = PyInt_FromLong((long)result);
25463 return resultobj;
25464 fail:
25465 return NULL;
25466 }
25467
25468
25469 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25470 PyObject *resultobj;
25471 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25472 wxPoint *arg2 = 0 ;
25473 wxWindow *arg3 = (wxWindow *) 0 ;
25474 wxWindow *arg4 = (wxWindow *) 0 ;
25475 bool result;
25476 wxPoint temp2 ;
25477 PyObject * obj0 = 0 ;
25478 PyObject * obj1 = 0 ;
25479 PyObject * obj2 = 0 ;
25480 PyObject * obj3 = 0 ;
25481 char *kwnames[] = {
25482 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25483 };
25484
25485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25487 {
25488 arg2 = &temp2;
25489 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25490 }
25491 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25492 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25493 {
25494 PyThreadState* __tstate = wxPyBeginAllowThreads();
25495 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
25496
25497 wxPyEndAllowThreads(__tstate);
25498 if (PyErr_Occurred()) SWIG_fail;
25499 }
25500 resultobj = PyInt_FromLong((long)result);
25501 return resultobj;
25502 fail:
25503 return NULL;
25504 }
25505
25506
25507 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25508 PyObject *resultobj;
25509 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25510 bool result;
25511 PyObject * obj0 = 0 ;
25512 char *kwnames[] = {
25513 (char *) "self", NULL
25514 };
25515
25516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
25517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25518 {
25519 PyThreadState* __tstate = wxPyBeginAllowThreads();
25520 result = (bool)(arg1)->EndDrag();
25521
25522 wxPyEndAllowThreads(__tstate);
25523 if (PyErr_Occurred()) SWIG_fail;
25524 }
25525 resultobj = PyInt_FromLong((long)result);
25526 return resultobj;
25527 fail:
25528 return NULL;
25529 }
25530
25531
25532 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
25533 PyObject *resultobj;
25534 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25535 wxPoint *arg2 = 0 ;
25536 bool result;
25537 wxPoint temp2 ;
25538 PyObject * obj0 = 0 ;
25539 PyObject * obj1 = 0 ;
25540 char *kwnames[] = {
25541 (char *) "self",(char *) "pt", NULL
25542 };
25543
25544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
25545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25546 {
25547 arg2 = &temp2;
25548 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25549 }
25550 {
25551 PyThreadState* __tstate = wxPyBeginAllowThreads();
25552 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
25553
25554 wxPyEndAllowThreads(__tstate);
25555 if (PyErr_Occurred()) SWIG_fail;
25556 }
25557 resultobj = PyInt_FromLong((long)result);
25558 return resultobj;
25559 fail:
25560 return NULL;
25561 }
25562
25563
25564 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
25565 PyObject *resultobj;
25566 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25567 bool result;
25568 PyObject * obj0 = 0 ;
25569 char *kwnames[] = {
25570 (char *) "self", NULL
25571 };
25572
25573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
25574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25575 {
25576 PyThreadState* __tstate = wxPyBeginAllowThreads();
25577 result = (bool)(arg1)->Show();
25578
25579 wxPyEndAllowThreads(__tstate);
25580 if (PyErr_Occurred()) SWIG_fail;
25581 }
25582 resultobj = PyInt_FromLong((long)result);
25583 return resultobj;
25584 fail:
25585 return NULL;
25586 }
25587
25588
25589 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
25590 PyObject *resultobj;
25591 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25592 bool result;
25593 PyObject * obj0 = 0 ;
25594 char *kwnames[] = {
25595 (char *) "self", NULL
25596 };
25597
25598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
25599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25600 {
25601 PyThreadState* __tstate = wxPyBeginAllowThreads();
25602 result = (bool)(arg1)->Hide();
25603
25604 wxPyEndAllowThreads(__tstate);
25605 if (PyErr_Occurred()) SWIG_fail;
25606 }
25607 resultobj = PyInt_FromLong((long)result);
25608 return resultobj;
25609 fail:
25610 return NULL;
25611 }
25612
25613
25614 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25615 PyObject *resultobj;
25616 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25617 wxPoint *arg2 = 0 ;
25618 wxRect result;
25619 wxPoint temp2 ;
25620 PyObject * obj0 = 0 ;
25621 PyObject * obj1 = 0 ;
25622 char *kwnames[] = {
25623 (char *) "self",(char *) "pos", NULL
25624 };
25625
25626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
25627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25628 {
25629 arg2 = &temp2;
25630 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25631 }
25632 {
25633 PyThreadState* __tstate = wxPyBeginAllowThreads();
25634 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
25635
25636 wxPyEndAllowThreads(__tstate);
25637 if (PyErr_Occurred()) SWIG_fail;
25638 }
25639 {
25640 wxRect * resultptr;
25641 resultptr = new wxRect((wxRect &) result);
25642 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
25643 }
25644 return resultobj;
25645 fail:
25646 return NULL;
25647 }
25648
25649
25650 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25651 PyObject *resultobj;
25652 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25653 wxDC *arg2 = 0 ;
25654 wxPoint *arg3 = 0 ;
25655 bool result;
25656 wxPoint temp3 ;
25657 PyObject * obj0 = 0 ;
25658 PyObject * obj1 = 0 ;
25659 PyObject * obj2 = 0 ;
25660 char *kwnames[] = {
25661 (char *) "self",(char *) "dc",(char *) "pos", NULL
25662 };
25663
25664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25666 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25667 if (arg2 == NULL) {
25668 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25669 }
25670 {
25671 arg3 = &temp3;
25672 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25673 }
25674 {
25675 PyThreadState* __tstate = wxPyBeginAllowThreads();
25676 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
25677
25678 wxPyEndAllowThreads(__tstate);
25679 if (PyErr_Occurred()) SWIG_fail;
25680 }
25681 resultobj = PyInt_FromLong((long)result);
25682 return resultobj;
25683 fail:
25684 return NULL;
25685 }
25686
25687
25688 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25689 PyObject *resultobj;
25690 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25691 wxDC *arg2 = 0 ;
25692 wxMemoryDC *arg3 = 0 ;
25693 wxRect *arg4 = 0 ;
25694 wxRect *arg5 = 0 ;
25695 bool result;
25696 wxRect temp4 ;
25697 wxRect temp5 ;
25698 PyObject * obj0 = 0 ;
25699 PyObject * obj1 = 0 ;
25700 PyObject * obj2 = 0 ;
25701 PyObject * obj3 = 0 ;
25702 PyObject * obj4 = 0 ;
25703 char *kwnames[] = {
25704 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25705 };
25706
25707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25709 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25710 if (arg2 == NULL) {
25711 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25712 }
25713 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25714 if (arg3 == NULL) {
25715 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25716 }
25717 {
25718 arg4 = &temp4;
25719 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
25720 }
25721 {
25722 arg5 = &temp5;
25723 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
25724 }
25725 {
25726 PyThreadState* __tstate = wxPyBeginAllowThreads();
25727 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
25728
25729 wxPyEndAllowThreads(__tstate);
25730 if (PyErr_Occurred()) SWIG_fail;
25731 }
25732 resultobj = PyInt_FromLong((long)result);
25733 return resultobj;
25734 fail:
25735 return NULL;
25736 }
25737
25738
25739 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25740 PyObject *resultobj;
25741 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25742 wxPoint *arg2 = 0 ;
25743 wxPoint *arg3 = 0 ;
25744 bool arg4 ;
25745 bool arg5 ;
25746 bool result;
25747 wxPoint temp2 ;
25748 wxPoint temp3 ;
25749 PyObject * obj0 = 0 ;
25750 PyObject * obj1 = 0 ;
25751 PyObject * obj2 = 0 ;
25752 PyObject * obj3 = 0 ;
25753 PyObject * obj4 = 0 ;
25754 char *kwnames[] = {
25755 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
25756 };
25757
25758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25760 {
25761 arg2 = &temp2;
25762 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25763 }
25764 {
25765 arg3 = &temp3;
25766 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25767 }
25768 arg4 = PyInt_AsLong(obj3) ? true : false;
25769 if (PyErr_Occurred()) SWIG_fail;
25770 arg5 = PyInt_AsLong(obj4) ? true : false;
25771 if (PyErr_Occurred()) SWIG_fail;
25772 {
25773 PyThreadState* __tstate = wxPyBeginAllowThreads();
25774 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
25775
25776 wxPyEndAllowThreads(__tstate);
25777 if (PyErr_Occurred()) SWIG_fail;
25778 }
25779 resultobj = PyInt_FromLong((long)result);
25780 return resultobj;
25781 fail:
25782 return NULL;
25783 }
25784
25785
25786 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
25787 PyObject *obj;
25788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25789 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
25790 Py_INCREF(obj);
25791 return Py_BuildValue((char *)"");
25792 }
25793 static PyMethodDef SwigMethods[] = {
25794 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
25795 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
25796 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
25797 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
25798 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25799 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
25800 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
25801 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
25802 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
25803 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25804 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25805 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25806 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25807 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
25808 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
25809 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
25810 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
25811 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
25812 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
25813 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
25814 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
25815 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
25816 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
25817 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
25818 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25819 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25820 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25821 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
25822 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
25823 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
25824 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
25825 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
25826 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
25827 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
25828 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
25829 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
25830 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
25831 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
25832 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25833 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
25834 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
25835 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
25836 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
25837 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
25838 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
25839 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
25840 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
25841 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
25842 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
25843 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25844 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25845 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25846 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
25847 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25848 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
25849 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
25850 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25851 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
25852 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
25853 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
25854 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
25855 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
25856 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
25857 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
25858 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
25859 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
25860 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
25861 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25862 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
25863 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
25864 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
25865 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
25866 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
25867 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
25868 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
25869 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
25870 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
25871 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
25872 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
25873 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
25874 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
25875 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
25876 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
25877 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
25878 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
25879 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
25880 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
25881 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
25882 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
25883 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
25884 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
25885 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
25886 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
25887 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
25888 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
25889 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
25890 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
25891 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
25892 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
25893 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
25894 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
25895 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
25896 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
25897 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
25898 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
25899 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
25900 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
25901 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
25902 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
25903 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
25904 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
25905 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
25906 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
25907 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
25908 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
25909 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
25910 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
25911 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
25912 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
25913 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
25914 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
25915 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
25916 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
25917 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
25918 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25919 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
25920 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
25921 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
25922 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25923 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
25924 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
25925 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
25926 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25927 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
25928 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
25929 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
25930 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
25931 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
25932 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
25933 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
25934 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
25935 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
25936 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
25937 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
25938 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
25939 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
25940 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
25941 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
25942 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
25943 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
25944 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
25945 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
25946 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
25947 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
25948 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
25949 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
25950 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
25951 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
25952 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
25953 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
25954 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
25955 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
25956 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
25957 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
25958 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
25959 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
25960 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
25961 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
25962 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
25963 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
25964 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
25965 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
25966 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
25967 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
25968 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
25969 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
25970 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
25971 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
25972 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25973 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
25974 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
25975 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
25976 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
25977 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
25978 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
25979 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
25980 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
25981 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
25982 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
25983 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
25984 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
25985 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
25986 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
25987 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25988 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
25989 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
25990 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
25991 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
25992 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
25993 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
25994 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
25995 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
25996 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
25997 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
25998 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
25999 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26000 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26001 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26002 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26003 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26004 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26005 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26006 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26007 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26008 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26009 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26010 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26011 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26012 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26013 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26014 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26015 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26016 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26017 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26018 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26019 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26020 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26021 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26022 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26023 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26024 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26025 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26026 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26027 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26028 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26029 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26030 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26031 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26032 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26033 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26034 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26035 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26036 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26037 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26038 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26039 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26040 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26041 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26042 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26043 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26044 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26045 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26046 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26047 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26048 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26049 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26050 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26051 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26052 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26053 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26054 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26055 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26056 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26057 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26058 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26059 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26060 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26061 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26062 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26063 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26064 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26065 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26066 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26067 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26068 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26069 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26070 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26071 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26072 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26073 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26074 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26075 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26076 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26077 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26084 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26091 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26094 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26099 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26110 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26111 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26117 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26119 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26126 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26128 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26130 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26132 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26133 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26135 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26137 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26140 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26145 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26150 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26154 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26158 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26160 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26164 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26169 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26171 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26175 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26187 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26190 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26199 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26200 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26217 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26222 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26228 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26234 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26275 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26283 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26286 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26288 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26299 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26301 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26307 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26311 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26313 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26316 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26317 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26322 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26339 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"ListCtrl_SetItemSpacing", (PyCFunction) _wrap_ListCtrl_SetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26343 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26345 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26370 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26377 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26382 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26394 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26397 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26402 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26403 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26409 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26413 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26415 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26420 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26422 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26424 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26427 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26432 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26447 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26462 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26496 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26504 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26509 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26518 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26521 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26523 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26544 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26552 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26557 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26559 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26567 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
26569 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
26573 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
26587 { NULL, NULL }
26588 };
26589
26590
26591 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26592
26593 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26594 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26595 }
26596 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26597 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26598 }
26599 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26600 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26601 }
26602 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26603 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26604 }
26605 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26606 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26607 }
26608 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26609 return (void *)((wxSizer *) ((wxGridSizer *) x));
26610 }
26611 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26612 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26613 }
26614 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26615 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26616 }
26617 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26618 return (void *)((wxSizer *) ((wxPySizer *) x));
26619 }
26620 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26621 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26622 }
26623 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26624 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26625 }
26626 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26627 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26628 }
26629 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26630 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26631 }
26632 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26633 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26634 }
26635 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26636 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26637 }
26638 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26639 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26640 }
26641 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26642 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26643 }
26644 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26645 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26646 }
26647 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26648 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26649 }
26650 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26651 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26652 }
26653 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26654 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26655 }
26656 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26657 return (void *)((wxEvent *) ((wxPyEvent *) x));
26658 }
26659 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26660 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26661 }
26662 static void *_p_wxListEventTo_p_wxEvent(void *x) {
26663 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26664 }
26665 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26666 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26667 }
26668 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26669 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26670 }
26671 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26672 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26673 }
26674 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26675 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26676 }
26677 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26678 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26679 }
26680 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26681 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26682 }
26683 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26684 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26685 }
26686 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26687 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26688 }
26689 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26690 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26691 }
26692 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26693 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26694 }
26695 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26696 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26697 }
26698 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26699 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26700 }
26701 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26702 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26703 }
26704 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26705 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26706 }
26707 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26708 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
26709 }
26710 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
26711 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
26712 }
26713 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
26714 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
26715 }
26716 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
26717 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
26718 }
26719 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
26720 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
26721 }
26722 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
26723 return (void *)((wxEvent *) ((wxFocusEvent *) x));
26724 }
26725 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
26726 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
26727 }
26728 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
26729 return (void *)((wxEvent *) ((wxShowEvent *) x));
26730 }
26731 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
26732 return (void *)((wxEvent *) ((wxCommandEvent *) x));
26733 }
26734 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
26735 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
26736 }
26737 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
26738 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
26739 }
26740 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
26741 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
26742 }
26743 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
26744 return (void *)((wxEvent *) ((wxKeyEvent *) x));
26745 }
26746 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
26747 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
26748 }
26749 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
26750 return (void *)((wxItemContainer *) ((wxComboBox *) x));
26751 }
26752 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
26753 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26754 }
26755 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
26756 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
26757 }
26758 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
26759 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
26760 }
26761 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
26762 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
26763 }
26764 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
26765 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26766 }
26767 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
26768 return (void *)((wxPyListCtrl *) ((wxListView *) x));
26769 }
26770 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
26771 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26772 }
26773 static void *_p_wxListBoxTo_p_wxControl(void *x) {
26774 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
26775 }
26776 static void *_p_wxChoiceTo_p_wxControl(void *x) {
26777 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
26778 }
26779 static void *_p_wxToolBarTo_p_wxControl(void *x) {
26780 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
26781 }
26782 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
26783 return (void *)((wxControl *) ((wxStaticBitmap *) x));
26784 }
26785 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
26786 return (void *)((wxControl *) ((wxComboBox *) x));
26787 }
26788 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
26789 return (void *)((wxControl *) ((wxSpinCtrl *) x));
26790 }
26791 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
26792 return (void *)((wxControl *) ((wxStaticBox *) x));
26793 }
26794 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
26795 return (void *)((wxControl *) ((wxPyListCtrl *) x));
26796 }
26797 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
26798 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
26799 }
26800 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
26801 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26802 }
26803 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
26804 return (void *)((wxControl *) ((wxScrollBar *) x));
26805 }
26806 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
26807 return (void *)((wxControl *) ((wxBookCtrl *) x));
26808 }
26809 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
26810 return (void *)((wxControl *) ((wxRadioButton *) x));
26811 }
26812 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
26813 return (void *)((wxControl *) ((wxToggleButton *) x));
26814 }
26815 static void *_p_wxGaugeTo_p_wxControl(void *x) {
26816 return (void *)((wxControl *) ((wxGauge *) x));
26817 }
26818 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
26819 return (void *)((wxControl *) ((wxToolBarBase *) x));
26820 }
26821 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
26822 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
26823 }
26824 static void *_p_wxButtonTo_p_wxControl(void *x) {
26825 return (void *)((wxControl *) ((wxButton *) x));
26826 }
26827 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
26828 return (void *)((wxControl *) ((wxSpinButton *) x));
26829 }
26830 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
26831 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
26832 }
26833 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
26834 return (void *)((wxControl *) ((wxControlWithItems *) x));
26835 }
26836 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
26837 return (void *)((wxControl *) ((wxRadioBox *) x));
26838 }
26839 static void *_p_wxNotebookTo_p_wxControl(void *x) {
26840 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
26841 }
26842 static void *_p_wxListbookTo_p_wxControl(void *x) {
26843 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
26844 }
26845 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
26846 return (void *)((wxControl *) ((wxCheckBox *) x));
26847 }
26848 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
26849 return (void *)((wxControl *) ((wxTextCtrl *) x));
26850 }
26851 static void *_p_wxListViewTo_p_wxControl(void *x) {
26852 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
26853 }
26854 static void *_p_wxSliderTo_p_wxControl(void *x) {
26855 return (void *)((wxControl *) ((wxSlider *) x));
26856 }
26857 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
26858 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
26859 }
26860 static void *_p_wxPyControlTo_p_wxControl(void *x) {
26861 return (void *)((wxControl *) ((wxPyControl *) x));
26862 }
26863 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
26864 return (void *)((wxControl *) ((wxStaticLine *) x));
26865 }
26866 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
26867 return (void *)((wxControl *) ((wxStaticText *) x));
26868 }
26869 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
26870 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
26871 }
26872 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
26873 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
26874 }
26875 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
26876 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
26877 }
26878 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
26879 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26880 }
26881 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
26882 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
26883 }
26884 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
26885 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26886 }
26887 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
26888 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
26889 }
26890 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
26891 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
26892 }
26893 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
26894 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
26895 }
26896 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
26897 return (void *)((wxEvtHandler *) ((wxValidator *) x));
26898 }
26899 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
26900 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
26901 }
26902 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
26903 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
26904 }
26905 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
26906 return (void *)((wxEvtHandler *) ((wxMenu *) x));
26907 }
26908 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
26909 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
26910 }
26911 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
26912 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
26913 }
26914 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
26915 return (void *)((wxEvtHandler *) ((wxWindow *) x));
26916 }
26917 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
26918 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
26919 }
26920 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
26921 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
26922 }
26923 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
26924 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
26925 }
26926 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
26927 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxComboBox *) x));
26928 }
26929 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
26930 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
26931 }
26932 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
26933 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
26934 }
26935 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
26936 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
26937 }
26938 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
26939 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
26940 }
26941 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
26942 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
26943 }
26944 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
26945 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
26946 }
26947 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
26948 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
26949 }
26950 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
26951 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
26952 }
26953 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
26954 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
26955 }
26956 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
26957 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
26958 }
26959 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
26960 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
26961 }
26962 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
26963 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
26964 }
26965 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
26966 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
26967 }
26968 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
26969 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
26970 }
26971 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
26972 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
26973 }
26974 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
26975 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
26976 }
26977 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
26978 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
26979 }
26980 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
26981 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
26982 }
26983 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
26984 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
26985 }
26986 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
26987 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
26988 }
26989 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
26990 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
26991 }
26992 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
26993 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
26994 }
26995 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
26996 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
26997 }
26998 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
26999 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27000 }
27001 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27002 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27003 }
27004 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27005 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27006 }
27007 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27008 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27009 }
27010 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27011 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27012 }
27013 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27014 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27015 }
27016 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27017 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27018 }
27019 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27020 return (void *)((wxButton *) ((wxBitmapButton *) x));
27021 }
27022 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27023 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27024 }
27025 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27026 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27027 }
27028 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27029 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27030 }
27031 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27032 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27033 }
27034 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27035 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27036 }
27037 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27038 return (void *)((wxObject *) ((wxSizerItem *) x));
27039 }
27040 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27041 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27042 }
27043 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27044 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27045 }
27046 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27047 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27048 }
27049 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27050 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27051 }
27052 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27053 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27054 }
27055 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27056 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27057 }
27058 static void *_p_wxSizerTo_p_wxObject(void *x) {
27059 return (void *)((wxObject *) ((wxSizer *) x));
27060 }
27061 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27062 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27063 }
27064 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27065 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27066 }
27067 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27068 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27069 }
27070 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27071 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27072 }
27073 static void *_p_wxEventTo_p_wxObject(void *x) {
27074 return (void *)((wxObject *) ((wxEvent *) x));
27075 }
27076 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27077 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27078 }
27079 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27080 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27081 }
27082 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27083 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27084 }
27085 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27086 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27087 }
27088 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27089 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27090 }
27091 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27092 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27093 }
27094 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27095 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27096 }
27097 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27098 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27099 }
27100 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27101 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27102 }
27103 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27104 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27105 }
27106 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27107 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27108 }
27109 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27110 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27111 }
27112 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27113 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27114 }
27115 static void *_p_wxControlTo_p_wxObject(void *x) {
27116 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27117 }
27118 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27119 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27120 }
27121 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27122 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27123 }
27124 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27125 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27126 }
27127 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27128 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27129 }
27130 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27131 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27132 }
27133 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27134 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27135 }
27136 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27137 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27138 }
27139 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27140 return (void *)((wxObject *) ((wxFSFile *) x));
27141 }
27142 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27143 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27144 }
27145 static void *_p_wxListViewTo_p_wxObject(void *x) {
27146 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27147 }
27148 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27149 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27150 }
27151 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27152 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27153 }
27154 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27155 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27156 }
27157 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27158 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27159 }
27160 static void *_p_wxListbookTo_p_wxObject(void *x) {
27161 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27162 }
27163 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27164 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27165 }
27166 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27167 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27168 }
27169 static void *_p_wxSliderTo_p_wxObject(void *x) {
27170 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27171 }
27172 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27173 return (void *)((wxObject *) ((wxMenuItem *) x));
27174 }
27175 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27176 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27177 }
27178 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27179 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27180 }
27181 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27182 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27183 }
27184 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27185 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27186 }
27187 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27188 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27189 }
27190 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27191 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27192 }
27193 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27194 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27195 }
27196 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27197 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27198 }
27199 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27201 }
27202 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27203 return (void *)((wxObject *) ((wxContextHelp *) x));
27204 }
27205 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27206 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27207 }
27208 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27209 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27210 }
27211 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27212 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27213 }
27214 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27215 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27216 }
27217 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27218 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27219 }
27220 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27221 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27222 }
27223 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27224 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27225 }
27226 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27227 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27228 }
27229 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27230 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27231 }
27232 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27233 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27234 }
27235 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27236 return (void *)((wxObject *) ((wxImageHandler *) x));
27237 }
27238 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27239 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27240 }
27241 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27242 return (void *)((wxObject *) ((wxEvtHandler *) x));
27243 }
27244 static void *_p_wxListEventTo_p_wxObject(void *x) {
27245 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27246 }
27247 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27248 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27249 }
27250 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27251 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27252 }
27253 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27254 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27255 }
27256 static void *_p_wxButtonTo_p_wxObject(void *x) {
27257 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27258 }
27259 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27260 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27261 }
27262 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27263 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27264 }
27265 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27266 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27267 }
27268 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27269 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27270 }
27271 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27272 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27273 }
27274 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27275 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27276 }
27277 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27278 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxComboBox *) x));
27279 }
27280 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27281 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27282 }
27283 static void *_p_wxListItemTo_p_wxObject(void *x) {
27284 return (void *)((wxObject *) ((wxListItem *) x));
27285 }
27286 static void *_p_wxImageTo_p_wxObject(void *x) {
27287 return (void *)((wxObject *) ((wxImage *) x));
27288 }
27289 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27290 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27291 }
27292 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27293 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27294 }
27295 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27296 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27297 }
27298 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27300 }
27301 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27302 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27303 }
27304 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27305 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27306 }
27307 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27308 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27309 }
27310 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27311 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27312 }
27313 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27314 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27315 }
27316 static void *_p_wxWindowTo_p_wxObject(void *x) {
27317 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27318 }
27319 static void *_p_wxMenuTo_p_wxObject(void *x) {
27320 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27321 }
27322 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27323 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27324 }
27325 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27326 return (void *)((wxObject *) ((wxFileSystem *) x));
27327 }
27328 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27329 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27330 }
27331 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27332 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27333 }
27334 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27335 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27336 }
27337 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27338 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27339 }
27340 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27341 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27342 }
27343 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27344 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27345 }
27346 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27347 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27348 }
27349 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27350 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27351 }
27352 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27353 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27354 }
27355 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27357 }
27358 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27359 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27360 }
27361 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27362 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27363 }
27364 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27365 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27366 }
27367 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27369 }
27370 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27371 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27372 }
27373 static void *_p_wxToolBarTo_p_wxObject(void *x) {
27374 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27375 }
27376 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27377 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27378 }
27379 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27380 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27381 }
27382 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27383 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27384 }
27385 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27386 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27387 }
27388 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27389 return (void *)((wxWindow *) ((wxMenuBar *) x));
27390 }
27391 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27392 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27393 }
27394 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27395 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27396 }
27397 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27398 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27399 }
27400 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27401 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27402 }
27403 static void *_p_wxControlTo_p_wxWindow(void *x) {
27404 return (void *)((wxWindow *) ((wxControl *) x));
27405 }
27406 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27407 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27408 }
27409 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27410 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27411 }
27412 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27413 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27414 }
27415 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27416 return (void *)((wxWindow *) (wxControl *) ((wxComboBox *) x));
27417 }
27418 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27419 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27420 }
27421 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27422 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27423 }
27424 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27425 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27426 }
27427 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27428 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27429 }
27430 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27431 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27432 }
27433 static void *_p_wxListbookTo_p_wxWindow(void *x) {
27434 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27435 }
27436 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27437 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27438 }
27439 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27440 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27441 }
27442 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27443 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27444 }
27445 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27446 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27447 }
27448 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27449 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27450 }
27451 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27452 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27453 }
27454 static void *_p_wxListViewTo_p_wxWindow(void *x) {
27455 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27456 }
27457 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27458 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27459 }
27460 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27461 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27462 }
27463 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27464 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27465 }
27466 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27467 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27468 }
27469 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27470 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27471 }
27472 static void *_p_wxSliderTo_p_wxWindow(void *x) {
27473 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27474 }
27475 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27476 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27477 }
27478 static void *_p_wxButtonTo_p_wxWindow(void *x) {
27479 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27480 }
27481 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27482 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27483 }
27484 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27485 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27486 }
27487 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27488 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27489 }
27490 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27491 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27492 }
27493 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27494 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27495 }
27496 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27497 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27498 }
27499 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27500 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27501 }
27502 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27503 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27504 }
27505 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27506 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27507 }
27508 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27509 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27510 }
27511 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27512 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27513 }
27514 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27515 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27516 }
27517 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27518 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27519 }
27520 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27521 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27522 }
27523 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27524 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27525 }
27526 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27527 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27528 }
27529 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27530 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27531 }
27532 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27533 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27534 }
27535 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27536 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27537 }
27538 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27539 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27540 }
27541 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27542 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27543 }
27544 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27545 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27546 }
27547 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27548 return (void *)((wxValidator *) ((wxPyValidator *) x));
27549 }
27550 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27551 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}};
27552 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}};
27553 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27554 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27555 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27556 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27557 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}};
27558 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27559 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27560 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27561 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}};
27562 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27563 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27564 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27565 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}};
27566 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27567 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27568 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27569 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27570 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27571 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27572 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
27573 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27574 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27575 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27576 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27577 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27578 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27579 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27580 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27581 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27582 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}};
27583 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27584 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27585 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27586 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27587 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27588 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27589 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27590 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27591 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}};
27592 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27593 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27594 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27595 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}};
27596 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27597 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}};
27598 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27599 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27600 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27601 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27602 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27603 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27604 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27605 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27606 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27607 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27608 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27609 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27610 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27611 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27612 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27613 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27614 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27615 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27616 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27617 static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxTextUrlEvent", _p_wxTextUrlEventTo_p_wxObject},{"_p_wxBookCtrlEvent", _p_wxBookCtrlEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxCheckBox", _p_wxCheckBoxTo_p_wxObject},{"_p_wxPyTreeCtrl", _p_wxPyTreeCtrlTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxGenericDirCtrl", _p_wxGenericDirCtrlTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxObject},{"_p_wxPyListCtrl", _p_wxPyListCtrlTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxStaticLine", _p_wxStaticLineTo_p_wxObject},{"_p_wxPyControl", _p_wxPyControlTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxToolBarBase", _p_wxToolBarBaseTo_p_wxObject},{"_p_wxRadioButton", _p_wxRadioButtonTo_p_wxObject},{"_p_wxToggleButton", _p_wxToggleButtonTo_p_wxObject},{"_p_wxGauge", _p_wxGaugeTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxChoice", _p_wxChoiceTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxListView", _p_wxListViewTo_p_wxObject},{"_p_wxNotebook", _p_wxNotebookTo_p_wxObject},{"_p_wxTextCtrl", _p_wxTextCtrlTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxListbook", _p_wxListbookTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxStaticBitmap", _p_wxStaticBitmapTo_p_wxObject},{"_p_wxSlider", _p_wxSliderTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxStaticBox", _p_wxStaticBoxTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxContextHelp", _p_wxContextHelpTo_p_wxObject},{"_p_wxListEvent", _p_wxListEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxListBox", _p_wxListBoxTo_p_wxObject},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxObject},{"_p_wxBookCtrl", _p_wxBookCtrlTo_p_wxObject},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxObject},{"_p_wxSpinButton", _p_wxSpinButtonTo_p_wxObject},{"_p_wxButton", _p_wxButtonTo_p_wxObject},{"_p_wxBitmapButton", _p_wxBitmapButtonTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxScrollBar", _p_wxScrollBarTo_p_wxObject},{"_p_wxRadioBox", _p_wxRadioBoxTo_p_wxObject},{"_p_wxHelpEvent", _p_wxHelpEventTo_p_wxObject},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxObject},{"_p_wxListItem", _p_wxListItemTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxNotebookSizer", _p_wxNotebookSizerTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxGenericDragImage", _p_wxGenericDragImageTo_p_wxObject},{"_p_wxSpinCtrl", _p_wxSpinCtrlTo_p_wxObject},{"_p_wxListbookEvent", _p_wxListbookEventTo_p_wxObject},{"_p_wxNotebookEvent", _p_wxNotebookEventTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxTreeEvent", _p_wxTreeEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxStaticText", _p_wxStaticTextTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxToolBarToolBase", _p_wxToolBarToolBaseTo_p_wxObject},{"_p_wxToolBar", _p_wxToolBarTo_p_wxObject},{"_p_wxBookCtrlSizer", _p_wxBookCtrlSizerTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
27618 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27619 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27620 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}};
27621 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27622 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27623 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27624 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27625 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}};
27626 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27627 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems},{0}};
27628 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27629 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27630 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27631 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27632 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27633
27634 static swig_type_info *swig_types_initial[] = {
27635 _swigt__p_wxTextUrlEvent,
27636 _swigt__p_wxBookCtrlEvent,
27637 _swigt__p_wxSizer,
27638 _swigt__p_wxTreeItemIdValue,
27639 _swigt__wxTreeItemIdValue,
27640 _swigt__p_wxCheckBox,
27641 _swigt__p_wxPyTreeCtrl,
27642 _swigt__p_wxEvent,
27643 _swigt__p_wxGenericDirCtrl,
27644 _swigt__p_bool,
27645 _swigt__p_wxPyTreeItemData,
27646 _swigt__p_wxItemContainer,
27647 _swigt__p_wxDirFilterListCtrl,
27648 _swigt__p_wxPyListCtrl,
27649 _swigt__p_wxStaticLine,
27650 _swigt__p_wxControl,
27651 _swigt__p_wxPyControl,
27652 _swigt__p_wxGauge,
27653 _swigt__p_wxToolBarBase,
27654 _swigt__p_wxFont,
27655 _swigt__p_wxToggleButton,
27656 _swigt__p_wxRadioButton,
27657 _swigt__p_wxChoice,
27658 _swigt__p_wxMemoryDC,
27659 _swigt__p_wxListItemAttr,
27660 _swigt__p_int,
27661 _swigt__p_wxSize,
27662 _swigt__p_wxDC,
27663 _swigt__p_wxListView,
27664 _swigt__p_wxIcon,
27665 _swigt__p_wxTextCtrl,
27666 _swigt__p_wxNotebook,
27667 _swigt__p_wxNotifyEvent,
27668 _swigt__p_wxArrayString,
27669 _swigt__p_wxListbook,
27670 _swigt__p_wxStaticBitmap,
27671 _swigt__p_wxSlider,
27672 _swigt__p_wxStaticBox,
27673 _swigt__p_wxArrayInt,
27674 _swigt__p_wxContextHelp,
27675 _swigt__p_long,
27676 _swigt__p_wxEvtHandler,
27677 _swigt__p_wxListEvent,
27678 _swigt__p_wxListBox,
27679 _swigt__p_wxCheckListBox,
27680 _swigt__p_wxBookCtrl,
27681 _swigt__p_wxSpinButton,
27682 _swigt__p_wxButton,
27683 _swigt__p_wxBitmapButton,
27684 _swigt__p_wxRect,
27685 _swigt__p_wxContextHelpButton,
27686 _swigt__p_wxRadioBox,
27687 _swigt__p_wxScrollBar,
27688 _swigt__p_wxTreeItemId,
27689 _swigt__p_wxComboBox,
27690 _swigt__p_wxHelpEvent,
27691 _swigt__p_wxListItem,
27692 _swigt__p_wxNotebookSizer,
27693 _swigt__p_wxGenericDragImage,
27694 _swigt__p_wxSpinCtrl,
27695 _swigt__p_wxImageList,
27696 _swigt__p_wxHelpProvider,
27697 _swigt__p_wxTextAttr,
27698 _swigt__p_wxSimpleHelpProvider,
27699 _swigt__p_wxPoint,
27700 _swigt__p_wxListbookEvent,
27701 _swigt__p_wxNotebookEvent,
27702 _swigt__p_wxObject,
27703 _swigt__p_wxCursor,
27704 _swigt__p_wxKeyEvent,
27705 _swigt__p_wxWindow,
27706 _swigt__p_wxString,
27707 _swigt__p_wxBitmap,
27708 _swigt__p_wxTreeEvent,
27709 _swigt__p_wxMouseEvent,
27710 _swigt__p_wxCommandEvent,
27711 _swigt__p_wxStaticText,
27712 _swigt__p_wxControlWithItems,
27713 _swigt__p_wxToolBarToolBase,
27714 _swigt__p_wxColour,
27715 _swigt__p_wxToolBar,
27716 _swigt__p_wxBookCtrlSizer,
27717 _swigt__p_wxValidator,
27718 0
27719 };
27720
27721
27722 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
27723
27724 static swig_const_info swig_const_table[] = {
27725 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
27726 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
27727 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
27728 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
27729 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
27730 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
27731 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
27732 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
27733 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
27734 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
27735 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
27736 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
27737 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
27738 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
27739 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
27740 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
27741 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
27742 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
27743 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
27744 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
27745 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
27746 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
27747 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
27748 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
27749 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
27750 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
27751 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
27752 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
27753 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
27754 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
27755 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
27756 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
27757 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
27758 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
27759 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
27760 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
27761 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
27762 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
27763 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
27764 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
27765 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
27766 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
27767 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
27768 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
27769 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
27770 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
27771 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
27772 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
27773 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
27774 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
27775 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
27776 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
27777 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
27778 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
27779 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
27780 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
27781 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
27782 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
27783 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
27784 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
27785 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
27786 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
27787 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
27788 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
27789 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
27790 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
27791 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
27792 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
27793 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
27794 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
27795 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
27796 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
27797 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
27798 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
27799 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
27800 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
27801 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
27802 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
27803 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
27804 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
27805 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
27806 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
27807 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
27808 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
27809 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
27810 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
27811 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
27812 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
27813 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
27814 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
27815 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
27816 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
27817 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
27818 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
27819 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
27820 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
27821 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
27822 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
27823 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
27824 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
27825 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
27826 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
27827 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
27828 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
27829 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
27830 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
27831 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
27832 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
27833 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
27834 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
27835 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
27836 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
27837 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
27838 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
27839 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
27840 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
27841 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
27842 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
27843 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
27844 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
27845 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
27846 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
27847 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
27848 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
27849 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
27850 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
27851 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
27852 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
27853 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
27854 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
27855 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
27856 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
27857 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
27858 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
27859 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
27860 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
27861 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
27862 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
27863 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27864 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
27865 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
27866 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
27867 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
27868 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
27869 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
27870 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
27871 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
27872 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
27873 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
27874 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
27875 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
27876 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
27877 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
27878 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
27879 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
27880 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
27881 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
27882 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
27883 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
27884 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
27885 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
27886 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
27887 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
27888 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
27889 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
27890 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
27891 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
27892 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
27893 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
27894 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
27895 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
27896 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
27897 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
27898 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
27899 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
27900 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
27901 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
27902 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
27903 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
27904 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
27905 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
27906 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
27907 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
27908 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
27909 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
27910 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
27911 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
27912 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
27913 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
27914 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
27915 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
27916 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
27917 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
27918 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
27919 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
27920 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
27921 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
27922 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
27923 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
27924 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
27925 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
27926 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
27927 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
27928 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
27929 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
27930 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
27931 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
27932 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
27933 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
27934 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
27935 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
27936 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
27937 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
27938 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
27939 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
27940 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
27941 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
27942 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
27943 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
27944 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
27945 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
27946 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
27947 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
27948 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
27949 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
27950 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
27951 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
27952 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
27953 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
27954 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
27955 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
27956 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
27957 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
27958 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
27959 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
27960 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
27961 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
27962 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
27963 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
27964 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
27965 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
27966 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
27967 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
27968 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
27969 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
27970 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
27971 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
27972 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
27973 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
27974 {0}};
27975
27976 #ifdef __cplusplus
27977 }
27978 #endif
27979
27980 #ifdef __cplusplus
27981 extern "C"
27982 #endif
27983 SWIGEXPORT(void) SWIG_init(void) {
27984 static PyObject *SWIG_globals = 0;
27985 static int typeinit = 0;
27986 PyObject *m, *d;
27987 int i;
27988 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
27989 m = Py_InitModule((char *) SWIG_name, SwigMethods);
27990 d = PyModule_GetDict(m);
27991
27992 if (!typeinit) {
27993 for (i = 0; swig_types_initial[i]; i++) {
27994 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
27995 }
27996 typeinit = 1;
27997 }
27998 SWIG_InstallConstants(d,swig_const_table);
27999
28000 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28001 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28002 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28003 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28004 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28005 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28006 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28007 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28008 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28009 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28010 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28011 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28012 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28013 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28014 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28015 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28016 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28017 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28018 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28019 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28020 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28021 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28022 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28023 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28024 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28025 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28026 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28027 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28028 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28029 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28030 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28031 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28032
28033 // Map renamed classes back to their common name for OOR
28034 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28035
28036 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28037 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28038 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28039 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28040 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28041 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28042 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28043 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28044 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28045 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28046 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28047 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28048 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28049 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28050 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28051 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28052 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28053 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28054 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28055
28056 // Map renamed classes back to their common name for OOR
28057 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28058 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28059
28060 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28061 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28062
28063 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28064
28065 }
28066