]> git.saurik.com Git - wxWidgets.git/blob - wxPython/src/msw/controls_wrap.cpp
Reworked how stock objects are initialized. They now have an
[wxWidgets.git] / wxPython / src / msw / controls_wrap.cpp
1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11 #define SWIGPYTHON
12 #define SWIG_NOINCLUDE
13
14 #ifdef __cplusplus
15 template<class T> class SwigValueWrapper {
16 T *tt;
17 public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25 private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27 };
28 #endif
29
30
31 #include "Python.h"
32
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
50
51
52 /***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62 #include <string.h>
63
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
69 # else
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
72 # endif
73 # else
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
77 # else
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
80 # endif
81 # endif
82 #else
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
85 #endif
86
87 #ifdef SWIG_GLOBAL
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 #else
90 # define SWIGRUNTIME(a) static a
91 #endif
92
93 #ifdef __cplusplus
94 extern "C" {
95 #endif
96
97 typedef void *(*swig_converter_func)(void *);
98 typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100 typedef struct swig_type_info {
101 const char *name;
102 swig_converter_func converter;
103 const char *str;
104 void *clientdata;
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108 } swig_type_info;
109
110
111 SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112 SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114 SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116 SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
120
121
122 #ifdef __cplusplus
123 }
124
125 #endif
126
127
128 /***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
138 #include "Python.h"
139
140 #ifdef __cplusplus
141 extern "C" {
142 #endif
143
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
149
150 /* Flags for pointer conversion */
151
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
154
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
157
158 /* Constant information structure */
159 typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166 } swig_const_info;
167
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190 SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192 SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195 SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198
199
200 /* Contract support */
201
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
203
204 #ifdef __cplusplus
205 }
206 #endif
207
208
209
210 /* -------- TYPES TABLE (BEGIN) -------- */
211
212 #define SWIGTYPE_p_wxTextUrlEvent swig_types[0]
213 #define SWIGTYPE_p_wxBookCtrlEvent swig_types[1]
214 #define SWIGTYPE_p_wxSizer swig_types[2]
215 #define SWIGTYPE_p_wxTreeItemIdValue swig_types[3]
216 #define SWIGTYPE_wxTreeItemIdValue swig_types[4]
217 #define SWIGTYPE_p_wxCheckBox swig_types[5]
218 #define SWIGTYPE_p_wxPyTreeCtrl swig_types[6]
219 #define SWIGTYPE_p_wxEvent swig_types[7]
220 #define SWIGTYPE_p_wxGenericDirCtrl swig_types[8]
221 #define SWIGTYPE_p_bool swig_types[9]
222 #define SWIGTYPE_p_wxPyTreeItemData swig_types[10]
223 #define SWIGTYPE_p_wxItemContainer swig_types[11]
224 #define SWIGTYPE_p_wxDirFilterListCtrl swig_types[12]
225 #define SWIGTYPE_p_wxPyListCtrl swig_types[13]
226 #define SWIGTYPE_p_wxStaticLine swig_types[14]
227 #define SWIGTYPE_p_wxControl swig_types[15]
228 #define SWIGTYPE_p_wxPyControl swig_types[16]
229 #define SWIGTYPE_p_wxGauge swig_types[17]
230 #define SWIGTYPE_p_wxToolBarBase swig_types[18]
231 #define SWIGTYPE_p_wxFont swig_types[19]
232 #define SWIGTYPE_p_wxToggleButton swig_types[20]
233 #define SWIGTYPE_p_wxRadioButton swig_types[21]
234 #define SWIGTYPE_p_wxChoice swig_types[22]
235 #define SWIGTYPE_p_wxMemoryDC swig_types[23]
236 #define SWIGTYPE_p_wxListItemAttr swig_types[24]
237 #define SWIGTYPE_p_int swig_types[25]
238 #define SWIGTYPE_p_wxSize swig_types[26]
239 #define SWIGTYPE_p_wxDC swig_types[27]
240 #define SWIGTYPE_p_wxListView swig_types[28]
241 #define SWIGTYPE_p_wxIcon swig_types[29]
242 #define SWIGTYPE_p_wxTextCtrl swig_types[30]
243 #define SWIGTYPE_p_wxNotebook swig_types[31]
244 #define SWIGTYPE_p_wxNotifyEvent swig_types[32]
245 #define SWIGTYPE_p_wxArrayString swig_types[33]
246 #define SWIGTYPE_p_wxListbook swig_types[34]
247 #define SWIGTYPE_p_wxStaticBitmap swig_types[35]
248 #define SWIGTYPE_p_wxSlider swig_types[36]
249 #define SWIGTYPE_p_wxStaticBox swig_types[37]
250 #define SWIGTYPE_p_wxArrayInt swig_types[38]
251 #define SWIGTYPE_p_wxContextHelp swig_types[39]
252 #define SWIGTYPE_p_long swig_types[40]
253 #define SWIGTYPE_p_wxEvtHandler swig_types[41]
254 #define SWIGTYPE_p_wxListEvent swig_types[42]
255 #define SWIGTYPE_p_wxListBox swig_types[43]
256 #define SWIGTYPE_p_wxCheckListBox swig_types[44]
257 #define SWIGTYPE_p_wxBookCtrl swig_types[45]
258 #define SWIGTYPE_p_wxSpinButton swig_types[46]
259 #define SWIGTYPE_p_wxButton swig_types[47]
260 #define SWIGTYPE_p_wxBitmapButton swig_types[48]
261 #define SWIGTYPE_p_wxRect swig_types[49]
262 #define SWIGTYPE_p_wxContextHelpButton swig_types[50]
263 #define SWIGTYPE_p_wxRadioBox swig_types[51]
264 #define SWIGTYPE_p_wxScrollBar swig_types[52]
265 #define SWIGTYPE_p_wxTreeItemId swig_types[53]
266 #define SWIGTYPE_p_wxComboBox swig_types[54]
267 #define SWIGTYPE_p_wxHelpEvent swig_types[55]
268 #define SWIGTYPE_p_wxListItem swig_types[56]
269 #define SWIGTYPE_p_wxNotebookSizer swig_types[57]
270 #define SWIGTYPE_p_wxGenericDragImage swig_types[58]
271 #define SWIGTYPE_p_wxSpinCtrl swig_types[59]
272 #define SWIGTYPE_p_wxImageList swig_types[60]
273 #define SWIGTYPE_p_wxHelpProvider swig_types[61]
274 #define SWIGTYPE_p_wxTextAttr swig_types[62]
275 #define SWIGTYPE_p_wxSimpleHelpProvider swig_types[63]
276 #define SWIGTYPE_p_wxPoint swig_types[64]
277 #define SWIGTYPE_p_wxListbookEvent swig_types[65]
278 #define SWIGTYPE_p_wxNotebookEvent swig_types[66]
279 #define SWIGTYPE_p_wxObject swig_types[67]
280 #define SWIGTYPE_p_wxCursor swig_types[68]
281 #define SWIGTYPE_p_wxKeyEvent swig_types[69]
282 #define SWIGTYPE_p_wxWindow swig_types[70]
283 #define SWIGTYPE_p_wxString swig_types[71]
284 #define SWIGTYPE_p_wxBitmap swig_types[72]
285 #define SWIGTYPE_p_wxTreeEvent swig_types[73]
286 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
287 #define SWIGTYPE_p_wxCommandEvent swig_types[75]
288 #define SWIGTYPE_p_wxStaticText swig_types[76]
289 #define SWIGTYPE_p_wxControlWithItems swig_types[77]
290 #define SWIGTYPE_p_wxToolBarToolBase swig_types[78]
291 #define SWIGTYPE_p_wxColour swig_types[79]
292 #define SWIGTYPE_p_wxToolBar swig_types[80]
293 #define SWIGTYPE_p_wxBookCtrlSizer swig_types[81]
294 #define SWIGTYPE_p_wxValidator swig_types[82]
295 static swig_type_info *swig_types[84];
296
297 /* -------- TYPES TABLE (END) -------- */
298
299
300 /*-----------------------------------------------
301 @(target):= _controls.so
302 ------------------------------------------------*/
303 #define SWIG_init init_controls
304
305 #define SWIG_name "_controls"
306
307 #include "wx/wxPython/wxPython.h"
308 #include "wx/wxPython/pyclasses.h"
309
310 DECLARE_DEF_STRING(PanelNameStr);
311 DECLARE_DEF_STRING(EmptyString);
312 DECLARE_DEF_STRING(ControlNameStr);
313
314
315
316 DECLARE_DEF_STRING(ButtonNameStr);
317
318
319 DECLARE_DEF_STRING(CheckBoxNameStr);
320
321
322 DECLARE_DEF_STRING(ChoiceNameStr);
323
324
325 DECLARE_DEF_STRING(ComboBoxNameStr);
326
327
328 DECLARE_DEF_STRING(GaugeNameStr);
329
330
331 DECLARE_DEF_STRING(StaticBitmapNameStr);
332 DECLARE_DEF_STRING(StaticBoxNameStr);
333 DECLARE_DEF_STRING(StaticTextNameStr);
334
335
336 #include <wx/checklst.h>
337
338 DECLARE_DEF_STRING(ListBoxNameStr);
339
340 void wxListBox_Insert(wxListBox *self,wxString const &item,int pos,PyObject *clientData){
341 if (clientData) {
342 wxPyClientData* data = new wxPyClientData(clientData);
343 self->Insert(item, pos, data);
344 } else
345 self->Insert(item, pos);
346 }
347 PyObject *wxListBox_GetSelections(wxListBox *self){
348 wxArrayInt lst;
349 self->GetSelections(lst);
350 PyObject *tup = PyTuple_New(lst.GetCount());
351 for(size_t i=0; i<lst.GetCount(); i++) {
352 PyTuple_SetItem(tup, i, PyInt_FromLong(lst[i]));
353 }
354 return tup;
355 }
356
357 DECLARE_DEF_STRING(TextCtrlNameStr);
358
359
360 static PyObject* t_output_helper(PyObject* target, PyObject* o) {
361 PyObject* o2;
362 PyObject* o3;
363
364 if (!target) {
365 target = o;
366 } else if (target == Py_None) {
367 Py_DECREF(Py_None);
368 target = o;
369 } else {
370 if (!PyTuple_Check(target)) {
371 o2 = target;
372 target = PyTuple_New(1);
373 PyTuple_SetItem(target, 0, o2);
374 }
375 o3 = PyTuple_New(1);
376 PyTuple_SetItem(o3, 0, o);
377
378 o2 = target;
379 target = PySequence_Concat(o2, o3);
380 Py_DECREF(o2);
381 Py_DECREF(o3);
382 }
383 return target;
384 }
385
386 void wxTextCtrl_write(wxTextCtrl *self,wxString const &text){
387 self->AppendText(text);
388 }
389 wxString wxTextCtrl_GetString(wxTextCtrl *self,long from,long to){
390 return self->GetValue().Mid(from, to - from);
391 }
392
393 DECLARE_DEF_STRING(ScrollBarNameStr);
394
395
396 DECLARE_DEF_STRING(SPIN_BUTTON_NAME);
397 wxChar* wxSpinCtrlNameStr = _T("wxSpinCtrl");
398 DECLARE_DEF_STRING(SpinCtrlNameStr);
399
400
401 DECLARE_DEF_STRING(RadioBoxNameStr);
402 DECLARE_DEF_STRING(RadioButtonNameStr);
403
404
405 #include <wx/slider.h>
406
407 DECLARE_DEF_STRING(SliderNameStr);
408
409
410 wxChar* wxToggleButtonNameStr = _T("wxToggleButton");
411 DECLARE_DEF_STRING(ToggleButtonNameStr);
412
413
414 #ifdef __WXMAC__
415 // implement dummy classes and such for wxMac
416
417 #define wxEVT_COMMAND_TOGGLEBUTTON_CLICKED 0
418
419 class wxToggleButton : public wxControl
420 {
421 public:
422 wxToggleButton(wxWindow *, wxWindowID, const wxString&,
423 const wxPoint&, const wxSize&, long,
424 const wxValidator&, const wxString&)
425 { PyErr_SetNone(PyExc_NotImplementedError); }
426
427 wxToggleButton()
428 { PyErr_SetNone(PyExc_NotImplementedError); }
429 };
430 #endif
431
432
433 DECLARE_DEF_STRING(NOTEBOOK_NAME);
434
435
436 DECLARE_DEF_STRING(ToolBarNameStr);
437
438 PyObject *wxToolBarToolBase_GetClientData(wxToolBarToolBase *self){
439 wxPyUserData* udata = (wxPyUserData*)self->GetClientData();
440 if (udata) {
441 Py_INCREF(udata->m_obj);
442 return udata->m_obj;
443 } else {
444 Py_INCREF(Py_None);
445 return Py_None;
446 }
447 }
448 void wxToolBarToolBase_SetClientData(wxToolBarToolBase *self,PyObject *clientData){
449 self->SetClientData(new wxPyUserData(clientData));
450 }
451 wxToolBarToolBase *wxToolBarBase_DoAddTool(wxToolBarBase *self,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
452 wxPyUserData* udata = NULL;
453 if (clientData && clientData != Py_None)
454 udata = new wxPyUserData(clientData);
455 return self->AddTool(id, label, bitmap, bmpDisabled, kind,
456 shortHelp, longHelp, udata);
457 }
458 wxToolBarToolBase *wxToolBarBase_DoInsertTool(wxToolBarBase *self,size_t pos,int id,wxString const &label,wxBitmap const &bitmap,wxBitmap const &bmpDisabled,wxItemKind kind,wxString const &shortHelp,wxString const &longHelp,PyObject *clientData){
459 wxPyUserData* udata = NULL;
460 if (clientData && clientData != Py_None)
461 udata = new wxPyUserData(clientData);
462 return self->InsertTool(pos, id, label, bitmap, bmpDisabled, kind,
463 shortHelp, longHelp, udata);
464 }
465 PyObject *wxToolBarBase_GetToolClientData(wxToolBarBase *self,int id){
466 wxPyUserData* udata = (wxPyUserData*)self->GetToolClientData(id);
467 if (udata) {
468 Py_INCREF(udata->m_obj);
469 return udata->m_obj;
470 } else {
471 Py_INCREF(Py_None);
472 return Py_None;
473 }
474 }
475 void wxToolBarBase_SetToolClientData(wxToolBarBase *self,int id,PyObject *clientData){
476 self->SetToolClientData(id, new wxPyUserData(clientData));
477 }
478
479 #include <wx/listctrl.h>
480
481 const wxChar* wxListCtrlNameStr = _T("wxListCtrl");
482 DECLARE_DEF_STRING(ListCtrlNameStr);
483
484 void wxListItemAttr_Destroy(wxListItemAttr *self){ delete self; }
485 // Python aware sorting function for wxPyListCtrl
486 static int wxCALLBACK wxPyListCtrl_SortItems(long item1, long item2, long funcPtr) {
487 int retval = 0;
488 PyObject* func = (PyObject*)funcPtr;
489 wxPyBeginBlockThreads();
490
491 PyObject* args = Py_BuildValue("(ii)", item1, item2);
492 PyObject* result = PyEval_CallObject(func, args);
493 Py_DECREF(args);
494 if (result) {
495 retval = PyInt_AsLong(result);
496 Py_DECREF(result);
497 }
498
499 wxPyEndBlockThreads();
500 return retval;
501 }
502
503 // C++ Version of a Python aware class
504 class wxPyListCtrl : public wxListCtrl {
505 DECLARE_ABSTRACT_CLASS(wxPyListCtrl);
506 public:
507 wxPyListCtrl() : wxListCtrl() {}
508 wxPyListCtrl(wxWindow* parent, wxWindowID id,
509 const wxPoint& pos,
510 const wxSize& size,
511 long style,
512 const wxValidator& validator,
513 const wxString& name) :
514 wxListCtrl(parent, id, pos, size, style, validator, name) {}
515
516 bool Create(wxWindow* parent, wxWindowID id,
517 const wxPoint& pos,
518 const wxSize& size,
519 long style,
520 const wxValidator& validator,
521 const wxString& name) {
522 return wxListCtrl::Create(parent, id, pos, size, style, validator, name);
523 }
524
525 DEC_PYCALLBACK_STRING_LONGLONG(OnGetItemText);
526 DEC_PYCALLBACK_INT_LONG(OnGetItemImage);
527 DEC_PYCALLBACK_LISTATTR_LONG(OnGetItemAttr);
528
529 PYPRIVATE;
530 };
531
532 IMPLEMENT_ABSTRACT_CLASS(wxPyListCtrl, wxListCtrl);
533
534 IMP_PYCALLBACK_STRING_LONGLONG(wxPyListCtrl, wxListCtrl, OnGetItemText);
535 IMP_PYCALLBACK_INT_LONG(wxPyListCtrl, wxListCtrl, OnGetItemImage);
536 IMP_PYCALLBACK_LISTATTR_LONG(wxPyListCtrl, wxListCtrl, OnGetItemAttr);
537
538 wxListItem *wxPyListCtrl_GetColumn(wxPyListCtrl *self,int col){
539 wxListItem item;
540 item.SetMask( wxLIST_MASK_STATE |
541 wxLIST_MASK_TEXT |
542 wxLIST_MASK_IMAGE |
543 wxLIST_MASK_DATA |
544 wxLIST_SET_ITEM |
545 wxLIST_MASK_WIDTH |
546 wxLIST_MASK_FORMAT
547 );
548 if (self->GetColumn(col, item))
549 return new wxListItem(item);
550 else
551 return NULL;
552 }
553 wxListItem *wxPyListCtrl_GetItem(wxPyListCtrl *self,long itemId,int col){
554 wxListItem* info = new wxListItem;
555 info->m_itemId = itemId;
556 info->m_col = col;
557 info->m_mask = 0xFFFF;
558 self->GetItem(*info);
559 return info;
560 }
561 wxPoint wxPyListCtrl_GetItemPosition(wxPyListCtrl *self,long item){
562 wxPoint pos;
563 self->GetItemPosition(item, pos);
564 return pos;
565 }
566 wxRect wxPyListCtrl_GetItemRect(wxPyListCtrl *self,long item,int code){
567 wxRect rect;
568 self->GetItemRect(item, rect, code);
569 return rect;
570 }
571 bool wxPyListCtrl_SortItems(wxPyListCtrl *self,PyObject *func){
572 if (!PyCallable_Check(func))
573 return False;
574 return self->SortItems((wxListCtrlCompare)wxPyListCtrl_SortItems, (long)func);
575 }
576 wxWindow *wxPyListCtrl_GetMainWindow(wxPyListCtrl *self){
577
578 return self;
579
580
581
582 }
583
584 #include <wx/treectrl.h>
585 #include "wx/wxPython/pytree.h"
586
587 const wxChar* wx_TreeCtrlNameStr = _T("wxTreeCtrl");
588 DECLARE_DEF_STRING(_TreeCtrlNameStr);
589
590 bool wxTreeItemId_operator_ee___(wxTreeItemId *self,wxTreeItemId const *other){
591 if (!other) return False;
592 return *self == *other;
593 }
594 bool wxTreeItemId_operator_Ne___(wxTreeItemId *self,wxTreeItemId const *other){
595 if (!other) return True;
596 return *self != *other;
597 }
598 void wxPyTreeItemData_Destroy(wxPyTreeItemData *self){ delete self; }
599 // C++ version of Python aware wxTreeCtrl
600 class wxPyTreeCtrl : public wxTreeCtrl {
601 DECLARE_ABSTRACT_CLASS(wxPyTreeCtrl);
602 public:
603 wxPyTreeCtrl() : wxTreeCtrl() {}
604 wxPyTreeCtrl(wxWindow *parent, wxWindowID id,
605 const wxPoint& pos,
606 const wxSize& size,
607 long style,
608 const wxValidator& validator,
609 const wxString& name) :
610 wxTreeCtrl(parent, id, pos, size, style, validator, name) {}
611
612 bool Create(wxWindow *parent, wxWindowID id,
613 const wxPoint& pos,
614 const wxSize& size,
615 long style,
616 const wxValidator& validator,
617 const wxString& name) {
618 return wxTreeCtrl::Create(parent, id, pos, size, style, validator, name);
619 }
620
621
622 int OnCompareItems(const wxTreeItemId& item1,
623 const wxTreeItemId& item2) {
624 int rval = 0;
625 bool found;
626 wxPyBeginBlockThreads();
627 if ((found = wxPyCBH_findCallback(m_myInst, "OnCompareItems"))) {
628 PyObject *o1 = wxPyConstructObject((void*)&item1, wxT("wxTreeItemId"), False);
629 PyObject *o2 = wxPyConstructObject((void*)&item2, wxT("wxTreeItemId"), False);
630 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)",o1,o2));
631 Py_DECREF(o1);
632 Py_DECREF(o2);
633 }
634 wxPyEndBlockThreads();
635 if (! found)
636 rval = wxTreeCtrl::OnCompareItems(item1, item2);
637 return rval;
638 }
639 PYPRIVATE;
640 };
641
642 IMPLEMENT_ABSTRACT_CLASS(wxPyTreeCtrl, wxTreeCtrl);
643
644
645 wxPyTreeItemData *wxPyTreeCtrl_GetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item){
646 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
647 if (data == NULL) {
648 data = new wxPyTreeItemData();
649 data->SetId(item); // set the id
650 self->SetItemData(item, data);
651 }
652 return data;
653 }
654 PyObject *wxPyTreeCtrl_GetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item){
655 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
656 if (data == NULL) {
657 data = new wxPyTreeItemData();
658 data->SetId(item); // set the id
659 self->SetItemData(item, data);
660 }
661 return data->GetData();
662 }
663 void wxPyTreeCtrl_SetItemData(wxPyTreeCtrl *self,wxTreeItemId const &item,wxPyTreeItemData *data){
664 data->SetId(item); // set the id
665 self->SetItemData(item, data);
666 }
667 void wxPyTreeCtrl_SetItemPyData(wxPyTreeCtrl *self,wxTreeItemId const &item,PyObject *obj){
668 wxPyTreeItemData* data = (wxPyTreeItemData*)self->GetItemData(item);
669 if (data == NULL) {
670 data = new wxPyTreeItemData(obj);
671 data->SetId(item); // set the id
672 self->SetItemData(item, data);
673 } else
674 data->SetData(obj);
675 }
676 PyObject *wxPyTreeCtrl_GetSelections(wxPyTreeCtrl *self){
677 wxPyBeginBlockThreads();
678 PyObject* rval = PyList_New(0);
679 wxArrayTreeItemIds array;
680 size_t num, x;
681 num = self->GetSelections(array);
682 for (x=0; x < num; x++) {
683 wxTreeItemId *tii = new wxTreeItemId(array.Item(x));
684 PyObject* item = wxPyConstructObject((void*)tii, wxT("wxTreeItemId"), True);
685 PyList_Append(rval, item);
686 }
687 wxPyEndBlockThreads();
688 return rval;
689 }
690 PyObject *wxPyTreeCtrl_GetFirstChild(wxPyTreeCtrl *self,wxTreeItemId const &item){
691 wxTreeItemIdValue cookie = 0;
692 wxTreeItemId ritem = self->GetFirstChild(item, cookie);
693 wxPyBeginBlockThreads();
694 PyObject* tup = PyTuple_New(2);
695 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
696 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
697 wxPyEndBlockThreads();
698 return tup;
699 }
700 PyObject *wxPyTreeCtrl_GetNextChild(wxPyTreeCtrl *self,wxTreeItemId const &item,wxTreeItemIdValue &cookie){
701 wxTreeItemId ritem = self->GetNextChild(item, cookie);
702 wxPyBeginBlockThreads();
703 PyObject* tup = PyTuple_New(2);
704 PyTuple_SET_ITEM(tup, 0, wxPyConstructObject(&ritem, wxT("wxTreeItemId"), True));
705 PyTuple_SET_ITEM(tup, 1, wxPyConstructObject(cookie, wxT("wxTreeItemIdValue"), True));
706 wxPyEndBlockThreads();
707 return tup;
708 }
709 PyObject *wxPyTreeCtrl_GetBoundingRect(wxPyTreeCtrl *self,wxTreeItemId const &item,bool textOnly){
710 wxRect rect;
711 if (self->GetBoundingRect(item, rect, textOnly)) {
712 wxPyBeginBlockThreads();
713 wxRect* r = new wxRect(rect);
714 PyObject* val = wxPyConstructObject((void*)r, wxT("wxRect"), True);
715 wxPyEndBlockThreads();
716 return val;
717 }
718 else
719 RETURN_NONE();
720 }
721
722 DECLARE_DEF_STRING(DirDialogDefaultFolderStr);
723
724 // C++ version of Python aware wxControl
725 class wxPyControl : public wxControl
726 {
727 DECLARE_DYNAMIC_CLASS(wxPyControl)
728 public:
729 wxPyControl() : wxControl() {}
730 wxPyControl(wxWindow* parent, const wxWindowID id,
731 const wxPoint& pos = wxDefaultPosition,
732 const wxSize& size = wxDefaultSize,
733 long style = 0,
734 const wxValidator& validator=wxDefaultValidator,
735 const wxString& name = wxPyControlNameStr)
736 : wxControl(parent, id, pos, size, style, validator, name) {}
737
738
739 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
740 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
741 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
742 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
743
744 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
745 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
746 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
747
748 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
749 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
750
751 DEC_PYCALLBACK__(InitDialog);
752 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
753 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
754 DEC_PYCALLBACK_BOOL_(Validate);
755
756 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
757 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
758 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
759
760 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
761 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
762
763 PYPRIVATE;
764 };
765
766 IMPLEMENT_DYNAMIC_CLASS(wxPyControl, wxControl);
767
768 IMP_PYCALLBACK_VOID_INT4(wxPyControl, wxControl, DoMoveWindow);
769 IMP_PYCALLBACK_VOID_INT5(wxPyControl, wxControl, DoSetSize);
770 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetClientSize);
771 IMP_PYCALLBACK_VOID_INTINT(wxPyControl, wxControl, DoSetVirtualSize);
772
773 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetSize);
774 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetClientSize);
775 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyControl, wxControl, DoGetPosition);
776
777 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetVirtualSize);
778 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, DoGetBestSize);
779
780 IMP_PYCALLBACK__(wxPyControl, wxControl, InitDialog);
781 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataFromWindow);
782 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, TransferDataToWindow);
783 IMP_PYCALLBACK_BOOL_(wxPyControl, wxControl, Validate);
784
785 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocus);
786 IMP_PYCALLBACK_BOOL_const(wxPyControl, wxControl, AcceptsFocusFromKeyboard);
787 IMP_PYCALLBACK_SIZE_const(wxPyControl, wxControl, GetMaxSize);
788
789 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, AddChild);
790 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyControl, wxControl, RemoveChild);
791
792
793
794
795 void wxHelpProvider_Destroy(wxHelpProvider *self){ delete self; }
796
797 #include <wx/generic/dragimgg.h>
798
799 #ifdef __cplusplus
800 extern "C" {
801 #endif
802 static PyObject *_wrap_new_Button(PyObject *self, PyObject *args, PyObject *kwargs) {
803 PyObject *resultobj;
804 wxWindow *arg1 = (wxWindow *) 0 ;
805 int arg2 ;
806 wxString *arg3 = 0 ;
807 wxPoint const &arg4_defvalue = wxDefaultPosition ;
808 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
809 wxSize const &arg5_defvalue = wxDefaultSize ;
810 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
811 long arg6 = (long) 0 ;
812 wxValidator const &arg7_defvalue = wxDefaultValidator ;
813 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
814 wxString const &arg8_defvalue = wxPyButtonNameStr ;
815 wxString *arg8 = (wxString *) &arg8_defvalue ;
816 wxButton *result;
817 bool temp3 = False ;
818 wxPoint temp4 ;
819 wxSize temp5 ;
820 bool temp8 = False ;
821 PyObject * obj0 = 0 ;
822 PyObject * obj2 = 0 ;
823 PyObject * obj3 = 0 ;
824 PyObject * obj4 = 0 ;
825 PyObject * obj6 = 0 ;
826 PyObject * obj7 = 0 ;
827 char *kwnames[] = {
828 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
829 };
830
831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_Button",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
833 {
834 arg3 = wxString_in_helper(obj2);
835 if (arg3 == NULL) SWIG_fail;
836 temp3 = True;
837 }
838 if (obj3) {
839 {
840 arg4 = &temp4;
841 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
842 }
843 }
844 if (obj4) {
845 {
846 arg5 = &temp5;
847 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
848 }
849 }
850 if (obj6) {
851 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
852 if (arg7 == NULL) {
853 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
854 }
855 }
856 if (obj7) {
857 {
858 arg8 = wxString_in_helper(obj7);
859 if (arg8 == NULL) SWIG_fail;
860 temp8 = True;
861 }
862 }
863 {
864 PyThreadState* __tstate = wxPyBeginAllowThreads();
865 result = (wxButton *)new wxButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
866
867 wxPyEndAllowThreads(__tstate);
868 if (PyErr_Occurred()) SWIG_fail;
869 }
870 {
871 resultobj = wxPyMake_wxObject(result);
872 }
873 {
874 if (temp3)
875 delete arg3;
876 }
877 {
878 if (temp8)
879 delete arg8;
880 }
881 return resultobj;
882 fail:
883 {
884 if (temp3)
885 delete arg3;
886 }
887 {
888 if (temp8)
889 delete arg8;
890 }
891 return NULL;
892 }
893
894
895 static PyObject *_wrap_new_PreButton(PyObject *self, PyObject *args, PyObject *kwargs) {
896 PyObject *resultobj;
897 wxButton *result;
898 char *kwnames[] = {
899 NULL
900 };
901
902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreButton",kwnames)) goto fail;
903 {
904 PyThreadState* __tstate = wxPyBeginAllowThreads();
905 result = (wxButton *)new wxButton();
906
907 wxPyEndAllowThreads(__tstate);
908 if (PyErr_Occurred()) SWIG_fail;
909 }
910 {
911 resultobj = wxPyMake_wxObject(result);
912 }
913 return resultobj;
914 fail:
915 return NULL;
916 }
917
918
919 static PyObject *_wrap_Button_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
920 PyObject *resultobj;
921 wxButton *arg1 = (wxButton *) 0 ;
922 wxWindow *arg2 = (wxWindow *) 0 ;
923 int arg3 ;
924 wxString *arg4 = 0 ;
925 wxPoint const &arg5_defvalue = wxDefaultPosition ;
926 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
927 wxSize const &arg6_defvalue = wxDefaultSize ;
928 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
929 long arg7 = (long) 0 ;
930 wxValidator const &arg8_defvalue = wxDefaultValidator ;
931 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
932 wxString const &arg9_defvalue = wxPyButtonNameStr ;
933 wxString *arg9 = (wxString *) &arg9_defvalue ;
934 bool result;
935 bool temp4 = False ;
936 wxPoint temp5 ;
937 wxSize temp6 ;
938 bool temp9 = False ;
939 PyObject * obj0 = 0 ;
940 PyObject * obj1 = 0 ;
941 PyObject * obj3 = 0 ;
942 PyObject * obj4 = 0 ;
943 PyObject * obj5 = 0 ;
944 PyObject * obj7 = 0 ;
945 PyObject * obj8 = 0 ;
946 char *kwnames[] = {
947 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
948 };
949
950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:Button_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
952 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
953 {
954 arg4 = wxString_in_helper(obj3);
955 if (arg4 == NULL) SWIG_fail;
956 temp4 = True;
957 }
958 if (obj4) {
959 {
960 arg5 = &temp5;
961 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
962 }
963 }
964 if (obj5) {
965 {
966 arg6 = &temp6;
967 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
968 }
969 }
970 if (obj7) {
971 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
972 if (arg8 == NULL) {
973 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
974 }
975 }
976 if (obj8) {
977 {
978 arg9 = wxString_in_helper(obj8);
979 if (arg9 == NULL) SWIG_fail;
980 temp9 = True;
981 }
982 }
983 {
984 PyThreadState* __tstate = wxPyBeginAllowThreads();
985 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
986
987 wxPyEndAllowThreads(__tstate);
988 if (PyErr_Occurred()) SWIG_fail;
989 }
990 resultobj = PyInt_FromLong((long)result);
991 {
992 if (temp4)
993 delete arg4;
994 }
995 {
996 if (temp9)
997 delete arg9;
998 }
999 return resultobj;
1000 fail:
1001 {
1002 if (temp4)
1003 delete arg4;
1004 }
1005 {
1006 if (temp9)
1007 delete arg9;
1008 }
1009 return NULL;
1010 }
1011
1012
1013 static PyObject *_wrap_Button_SetDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
1014 PyObject *resultobj;
1015 wxButton *arg1 = (wxButton *) 0 ;
1016 PyObject * obj0 = 0 ;
1017 char *kwnames[] = {
1018 (char *) "self", NULL
1019 };
1020
1021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Button_SetDefault",kwnames,&obj0)) goto fail;
1022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1023 {
1024 PyThreadState* __tstate = wxPyBeginAllowThreads();
1025 (arg1)->SetDefault();
1026
1027 wxPyEndAllowThreads(__tstate);
1028 if (PyErr_Occurred()) SWIG_fail;
1029 }
1030 Py_INCREF(Py_None); resultobj = Py_None;
1031 return resultobj;
1032 fail:
1033 return NULL;
1034 }
1035
1036
1037 static PyObject *_wrap_Button_SetImageLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1038 PyObject *resultobj;
1039 wxButton *arg1 = (wxButton *) 0 ;
1040 wxBitmap *arg2 = 0 ;
1041 PyObject * obj0 = 0 ;
1042 PyObject * obj1 = 0 ;
1043 char *kwnames[] = {
1044 (char *) "self",(char *) "bitmap", NULL
1045 };
1046
1047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Button_SetImageLabel",kwnames,&obj0,&obj1)) goto fail;
1048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1049 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1050 if (arg2 == NULL) {
1051 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1052 }
1053 {
1054 PyThreadState* __tstate = wxPyBeginAllowThreads();
1055 (arg1)->SetImageLabel((wxBitmap const &)*arg2);
1056
1057 wxPyEndAllowThreads(__tstate);
1058 if (PyErr_Occurred()) SWIG_fail;
1059 }
1060 Py_INCREF(Py_None); resultobj = Py_None;
1061 return resultobj;
1062 fail:
1063 return NULL;
1064 }
1065
1066
1067 static PyObject *_wrap_Button_SetImageMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1068 PyObject *resultobj;
1069 wxButton *arg1 = (wxButton *) 0 ;
1070 int arg2 ;
1071 int arg3 ;
1072 PyObject * obj0 = 0 ;
1073 char *kwnames[] = {
1074 (char *) "self",(char *) "x",(char *) "y", NULL
1075 };
1076
1077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Button_SetImageMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1079 {
1080 PyThreadState* __tstate = wxPyBeginAllowThreads();
1081 (arg1)->SetImageMargins(arg2,arg3);
1082
1083 wxPyEndAllowThreads(__tstate);
1084 if (PyErr_Occurred()) SWIG_fail;
1085 }
1086 Py_INCREF(Py_None); resultobj = Py_None;
1087 return resultobj;
1088 fail:
1089 return NULL;
1090 }
1091
1092
1093 static PyObject *_wrap_Button_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1094 PyObject *resultobj;
1095 wxSize result;
1096 char *kwnames[] = {
1097 NULL
1098 };
1099
1100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Button_GetDefaultSize",kwnames)) goto fail;
1101 {
1102 PyThreadState* __tstate = wxPyBeginAllowThreads();
1103 result = wxButton::GetDefaultSize();
1104
1105 wxPyEndAllowThreads(__tstate);
1106 if (PyErr_Occurred()) SWIG_fail;
1107 }
1108 {
1109 wxSize * resultptr;
1110 resultptr = new wxSize((wxSize &) result);
1111 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
1112 }
1113 return resultobj;
1114 fail:
1115 return NULL;
1116 }
1117
1118
1119 static PyObject * Button_swigregister(PyObject *self, PyObject *args) {
1120 PyObject *obj;
1121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1122 SWIG_TypeClientData(SWIGTYPE_p_wxButton, obj);
1123 Py_INCREF(obj);
1124 return Py_BuildValue((char *)"");
1125 }
1126 static PyObject *_wrap_new_BitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1127 PyObject *resultobj;
1128 wxWindow *arg1 = (wxWindow *) 0 ;
1129 int arg2 ;
1130 wxBitmap *arg3 = 0 ;
1131 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1132 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1133 wxSize const &arg5_defvalue = wxDefaultSize ;
1134 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1135 long arg6 = (long) wxBU_AUTODRAW ;
1136 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1137 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1138 wxString const &arg8_defvalue = wxPyButtonNameStr ;
1139 wxString *arg8 = (wxString *) &arg8_defvalue ;
1140 wxBitmapButton *result;
1141 wxPoint temp4 ;
1142 wxSize temp5 ;
1143 bool temp8 = False ;
1144 PyObject * obj0 = 0 ;
1145 PyObject * obj2 = 0 ;
1146 PyObject * obj3 = 0 ;
1147 PyObject * obj4 = 0 ;
1148 PyObject * obj6 = 0 ;
1149 PyObject * obj7 = 0 ;
1150 char *kwnames[] = {
1151 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1152 };
1153
1154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_BitmapButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1156 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1157 if (arg3 == NULL) {
1158 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1159 }
1160 if (obj3) {
1161 {
1162 arg4 = &temp4;
1163 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1164 }
1165 }
1166 if (obj4) {
1167 {
1168 arg5 = &temp5;
1169 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1170 }
1171 }
1172 if (obj6) {
1173 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1174 if (arg7 == NULL) {
1175 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1176 }
1177 }
1178 if (obj7) {
1179 {
1180 arg8 = wxString_in_helper(obj7);
1181 if (arg8 == NULL) SWIG_fail;
1182 temp8 = True;
1183 }
1184 }
1185 {
1186 PyThreadState* __tstate = wxPyBeginAllowThreads();
1187 result = (wxBitmapButton *)new wxBitmapButton(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1188
1189 wxPyEndAllowThreads(__tstate);
1190 if (PyErr_Occurred()) SWIG_fail;
1191 }
1192 {
1193 resultobj = wxPyMake_wxObject(result);
1194 }
1195 {
1196 if (temp8)
1197 delete arg8;
1198 }
1199 return resultobj;
1200 fail:
1201 {
1202 if (temp8)
1203 delete arg8;
1204 }
1205 return NULL;
1206 }
1207
1208
1209 static PyObject *_wrap_new_PreBitmapButton(PyObject *self, PyObject *args, PyObject *kwargs) {
1210 PyObject *resultobj;
1211 wxBitmapButton *result;
1212 char *kwnames[] = {
1213 NULL
1214 };
1215
1216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreBitmapButton",kwnames)) goto fail;
1217 {
1218 PyThreadState* __tstate = wxPyBeginAllowThreads();
1219 result = (wxBitmapButton *)new wxBitmapButton();
1220
1221 wxPyEndAllowThreads(__tstate);
1222 if (PyErr_Occurred()) SWIG_fail;
1223 }
1224 {
1225 resultobj = wxPyMake_wxObject(result);
1226 }
1227 return resultobj;
1228 fail:
1229 return NULL;
1230 }
1231
1232
1233 static PyObject *_wrap_BitmapButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1234 PyObject *resultobj;
1235 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1236 wxWindow *arg2 = (wxWindow *) 0 ;
1237 int arg3 ;
1238 wxBitmap *arg4 = 0 ;
1239 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1240 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1241 wxSize const &arg6_defvalue = wxDefaultSize ;
1242 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1243 long arg7 = (long) wxBU_AUTODRAW ;
1244 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1245 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1246 wxString const &arg9_defvalue = wxPyButtonNameStr ;
1247 wxString *arg9 = (wxString *) &arg9_defvalue ;
1248 bool result;
1249 wxPoint temp5 ;
1250 wxSize temp6 ;
1251 bool temp9 = False ;
1252 PyObject * obj0 = 0 ;
1253 PyObject * obj1 = 0 ;
1254 PyObject * obj3 = 0 ;
1255 PyObject * obj4 = 0 ;
1256 PyObject * obj5 = 0 ;
1257 PyObject * obj7 = 0 ;
1258 PyObject * obj8 = 0 ;
1259 char *kwnames[] = {
1260 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1261 };
1262
1263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:BitmapButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1265 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1266 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1267 if (arg4 == NULL) {
1268 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1269 }
1270 if (obj4) {
1271 {
1272 arg5 = &temp5;
1273 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1274 }
1275 }
1276 if (obj5) {
1277 {
1278 arg6 = &temp6;
1279 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1280 }
1281 }
1282 if (obj7) {
1283 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1284 if (arg8 == NULL) {
1285 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1286 }
1287 }
1288 if (obj8) {
1289 {
1290 arg9 = wxString_in_helper(obj8);
1291 if (arg9 == NULL) SWIG_fail;
1292 temp9 = True;
1293 }
1294 }
1295 {
1296 PyThreadState* __tstate = wxPyBeginAllowThreads();
1297 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1298
1299 wxPyEndAllowThreads(__tstate);
1300 if (PyErr_Occurred()) SWIG_fail;
1301 }
1302 resultobj = PyInt_FromLong((long)result);
1303 {
1304 if (temp9)
1305 delete arg9;
1306 }
1307 return resultobj;
1308 fail:
1309 {
1310 if (temp9)
1311 delete arg9;
1312 }
1313 return NULL;
1314 }
1315
1316
1317 static PyObject *_wrap_BitmapButton_GetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1318 PyObject *resultobj;
1319 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1320 wxBitmap result;
1321 PyObject * obj0 = 0 ;
1322 char *kwnames[] = {
1323 (char *) "self", NULL
1324 };
1325
1326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapLabel",kwnames,&obj0)) goto fail;
1327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1328 {
1329 PyThreadState* __tstate = wxPyBeginAllowThreads();
1330 result = (arg1)->GetBitmapLabel();
1331
1332 wxPyEndAllowThreads(__tstate);
1333 if (PyErr_Occurred()) SWIG_fail;
1334 }
1335 {
1336 wxBitmap * resultptr;
1337 resultptr = new wxBitmap((wxBitmap &) result);
1338 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1339 }
1340 return resultobj;
1341 fail:
1342 return NULL;
1343 }
1344
1345
1346 static PyObject *_wrap_BitmapButton_GetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1347 PyObject *resultobj;
1348 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1349 wxBitmap result;
1350 PyObject * obj0 = 0 ;
1351 char *kwnames[] = {
1352 (char *) "self", NULL
1353 };
1354
1355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapDisabled",kwnames,&obj0)) goto fail;
1356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1357 {
1358 PyThreadState* __tstate = wxPyBeginAllowThreads();
1359 result = (arg1)->GetBitmapDisabled();
1360
1361 wxPyEndAllowThreads(__tstate);
1362 if (PyErr_Occurred()) SWIG_fail;
1363 }
1364 {
1365 wxBitmap * resultptr;
1366 resultptr = new wxBitmap((wxBitmap &) result);
1367 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1368 }
1369 return resultobj;
1370 fail:
1371 return NULL;
1372 }
1373
1374
1375 static PyObject *_wrap_BitmapButton_GetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1376 PyObject *resultobj;
1377 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1378 wxBitmap result;
1379 PyObject * obj0 = 0 ;
1380 char *kwnames[] = {
1381 (char *) "self", NULL
1382 };
1383
1384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapFocus",kwnames,&obj0)) goto fail;
1385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1386 {
1387 PyThreadState* __tstate = wxPyBeginAllowThreads();
1388 result = (arg1)->GetBitmapFocus();
1389
1390 wxPyEndAllowThreads(__tstate);
1391 if (PyErr_Occurred()) SWIG_fail;
1392 }
1393 {
1394 wxBitmap * resultptr;
1395 resultptr = new wxBitmap((wxBitmap &) result);
1396 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1397 }
1398 return resultobj;
1399 fail:
1400 return NULL;
1401 }
1402
1403
1404 static PyObject *_wrap_BitmapButton_GetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1405 PyObject *resultobj;
1406 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1407 wxBitmap result;
1408 PyObject * obj0 = 0 ;
1409 char *kwnames[] = {
1410 (char *) "self", NULL
1411 };
1412
1413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetBitmapSelected",kwnames,&obj0)) goto fail;
1414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1415 {
1416 PyThreadState* __tstate = wxPyBeginAllowThreads();
1417 result = (arg1)->GetBitmapSelected();
1418
1419 wxPyEndAllowThreads(__tstate);
1420 if (PyErr_Occurred()) SWIG_fail;
1421 }
1422 {
1423 wxBitmap * resultptr;
1424 resultptr = new wxBitmap((wxBitmap &) result);
1425 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
1426 }
1427 return resultobj;
1428 fail:
1429 return NULL;
1430 }
1431
1432
1433 static PyObject *_wrap_BitmapButton_SetBitmapDisabled(PyObject *self, PyObject *args, PyObject *kwargs) {
1434 PyObject *resultobj;
1435 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1436 wxBitmap *arg2 = 0 ;
1437 PyObject * obj0 = 0 ;
1438 PyObject * obj1 = 0 ;
1439 char *kwnames[] = {
1440 (char *) "self",(char *) "bitmap", NULL
1441 };
1442
1443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapDisabled",kwnames,&obj0,&obj1)) goto fail;
1444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1445 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1446 if (arg2 == NULL) {
1447 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1448 }
1449 {
1450 PyThreadState* __tstate = wxPyBeginAllowThreads();
1451 (arg1)->SetBitmapDisabled((wxBitmap const &)*arg2);
1452
1453 wxPyEndAllowThreads(__tstate);
1454 if (PyErr_Occurred()) SWIG_fail;
1455 }
1456 Py_INCREF(Py_None); resultobj = Py_None;
1457 return resultobj;
1458 fail:
1459 return NULL;
1460 }
1461
1462
1463 static PyObject *_wrap_BitmapButton_SetBitmapFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
1464 PyObject *resultobj;
1465 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1466 wxBitmap *arg2 = 0 ;
1467 PyObject * obj0 = 0 ;
1468 PyObject * obj1 = 0 ;
1469 char *kwnames[] = {
1470 (char *) "self",(char *) "bitmap", NULL
1471 };
1472
1473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapFocus",kwnames,&obj0,&obj1)) goto fail;
1474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1475 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1476 if (arg2 == NULL) {
1477 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1478 }
1479 {
1480 PyThreadState* __tstate = wxPyBeginAllowThreads();
1481 (arg1)->SetBitmapFocus((wxBitmap const &)*arg2);
1482
1483 wxPyEndAllowThreads(__tstate);
1484 if (PyErr_Occurred()) SWIG_fail;
1485 }
1486 Py_INCREF(Py_None); resultobj = Py_None;
1487 return resultobj;
1488 fail:
1489 return NULL;
1490 }
1491
1492
1493 static PyObject *_wrap_BitmapButton_SetBitmapSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
1494 PyObject *resultobj;
1495 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1496 wxBitmap *arg2 = 0 ;
1497 PyObject * obj0 = 0 ;
1498 PyObject * obj1 = 0 ;
1499 char *kwnames[] = {
1500 (char *) "self",(char *) "bitmap", NULL
1501 };
1502
1503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapSelected",kwnames,&obj0,&obj1)) goto fail;
1504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1506 if (arg2 == NULL) {
1507 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1508 }
1509 {
1510 PyThreadState* __tstate = wxPyBeginAllowThreads();
1511 (arg1)->SetBitmapSelected((wxBitmap const &)*arg2);
1512
1513 wxPyEndAllowThreads(__tstate);
1514 if (PyErr_Occurred()) SWIG_fail;
1515 }
1516 Py_INCREF(Py_None); resultobj = Py_None;
1517 return resultobj;
1518 fail:
1519 return NULL;
1520 }
1521
1522
1523 static PyObject *_wrap_BitmapButton_SetBitmapLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
1524 PyObject *resultobj;
1525 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1526 wxBitmap *arg2 = 0 ;
1527 PyObject * obj0 = 0 ;
1528 PyObject * obj1 = 0 ;
1529 char *kwnames[] = {
1530 (char *) "self",(char *) "bitmap", NULL
1531 };
1532
1533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BitmapButton_SetBitmapLabel",kwnames,&obj0,&obj1)) goto fail;
1534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1535 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1536 if (arg2 == NULL) {
1537 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1538 }
1539 {
1540 PyThreadState* __tstate = wxPyBeginAllowThreads();
1541 (arg1)->SetBitmapLabel((wxBitmap const &)*arg2);
1542
1543 wxPyEndAllowThreads(__tstate);
1544 if (PyErr_Occurred()) SWIG_fail;
1545 }
1546 Py_INCREF(Py_None); resultobj = Py_None;
1547 return resultobj;
1548 fail:
1549 return NULL;
1550 }
1551
1552
1553 static PyObject *_wrap_BitmapButton_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
1554 PyObject *resultobj;
1555 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1556 int arg2 ;
1557 int arg3 ;
1558 PyObject * obj0 = 0 ;
1559 char *kwnames[] = {
1560 (char *) "self",(char *) "x",(char *) "y", NULL
1561 };
1562
1563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:BitmapButton_SetMargins",kwnames,&obj0,&arg2,&arg3)) goto fail;
1564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1565 {
1566 PyThreadState* __tstate = wxPyBeginAllowThreads();
1567 (arg1)->SetMargins(arg2,arg3);
1568
1569 wxPyEndAllowThreads(__tstate);
1570 if (PyErr_Occurred()) SWIG_fail;
1571 }
1572 Py_INCREF(Py_None); resultobj = Py_None;
1573 return resultobj;
1574 fail:
1575 return NULL;
1576 }
1577
1578
1579 static PyObject *_wrap_BitmapButton_GetMarginX(PyObject *self, PyObject *args, PyObject *kwargs) {
1580 PyObject *resultobj;
1581 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1582 int result;
1583 PyObject * obj0 = 0 ;
1584 char *kwnames[] = {
1585 (char *) "self", NULL
1586 };
1587
1588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginX",kwnames,&obj0)) goto fail;
1589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1590 {
1591 PyThreadState* __tstate = wxPyBeginAllowThreads();
1592 result = (int)((wxBitmapButton const *)arg1)->GetMarginX();
1593
1594 wxPyEndAllowThreads(__tstate);
1595 if (PyErr_Occurred()) SWIG_fail;
1596 }
1597 resultobj = PyInt_FromLong((long)result);
1598 return resultobj;
1599 fail:
1600 return NULL;
1601 }
1602
1603
1604 static PyObject *_wrap_BitmapButton_GetMarginY(PyObject *self, PyObject *args, PyObject *kwargs) {
1605 PyObject *resultobj;
1606 wxBitmapButton *arg1 = (wxBitmapButton *) 0 ;
1607 int result;
1608 PyObject * obj0 = 0 ;
1609 char *kwnames[] = {
1610 (char *) "self", NULL
1611 };
1612
1613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BitmapButton_GetMarginY",kwnames,&obj0)) goto fail;
1614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmapButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1615 {
1616 PyThreadState* __tstate = wxPyBeginAllowThreads();
1617 result = (int)((wxBitmapButton const *)arg1)->GetMarginY();
1618
1619 wxPyEndAllowThreads(__tstate);
1620 if (PyErr_Occurred()) SWIG_fail;
1621 }
1622 resultobj = PyInt_FromLong((long)result);
1623 return resultobj;
1624 fail:
1625 return NULL;
1626 }
1627
1628
1629 static PyObject * BitmapButton_swigregister(PyObject *self, PyObject *args) {
1630 PyObject *obj;
1631 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1632 SWIG_TypeClientData(SWIGTYPE_p_wxBitmapButton, obj);
1633 Py_INCREF(obj);
1634 return Py_BuildValue((char *)"");
1635 }
1636 static PyObject *_wrap_new_CheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1637 PyObject *resultobj;
1638 wxWindow *arg1 = (wxWindow *) 0 ;
1639 int arg2 ;
1640 wxString *arg3 = 0 ;
1641 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1642 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1643 wxSize const &arg5_defvalue = wxDefaultSize ;
1644 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1645 long arg6 = (long) 0 ;
1646 wxValidator const &arg7_defvalue = wxDefaultValidator ;
1647 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
1648 wxString const &arg8_defvalue = wxPyCheckBoxNameStr ;
1649 wxString *arg8 = (wxString *) &arg8_defvalue ;
1650 wxCheckBox *result;
1651 bool temp3 = False ;
1652 wxPoint temp4 ;
1653 wxSize temp5 ;
1654 bool temp8 = False ;
1655 PyObject * obj0 = 0 ;
1656 PyObject * obj2 = 0 ;
1657 PyObject * obj3 = 0 ;
1658 PyObject * obj4 = 0 ;
1659 PyObject * obj6 = 0 ;
1660 PyObject * obj7 = 0 ;
1661 char *kwnames[] = {
1662 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1663 };
1664
1665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_CheckBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
1666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1667 {
1668 arg3 = wxString_in_helper(obj2);
1669 if (arg3 == NULL) SWIG_fail;
1670 temp3 = True;
1671 }
1672 if (obj3) {
1673 {
1674 arg4 = &temp4;
1675 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1676 }
1677 }
1678 if (obj4) {
1679 {
1680 arg5 = &temp5;
1681 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1682 }
1683 }
1684 if (obj6) {
1685 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1686 if (arg7 == NULL) {
1687 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1688 }
1689 }
1690 if (obj7) {
1691 {
1692 arg8 = wxString_in_helper(obj7);
1693 if (arg8 == NULL) SWIG_fail;
1694 temp8 = True;
1695 }
1696 }
1697 {
1698 PyThreadState* __tstate = wxPyBeginAllowThreads();
1699 result = (wxCheckBox *)new wxCheckBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
1700
1701 wxPyEndAllowThreads(__tstate);
1702 if (PyErr_Occurred()) SWIG_fail;
1703 }
1704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1705 {
1706 if (temp3)
1707 delete arg3;
1708 }
1709 {
1710 if (temp8)
1711 delete arg8;
1712 }
1713 return resultobj;
1714 fail:
1715 {
1716 if (temp3)
1717 delete arg3;
1718 }
1719 {
1720 if (temp8)
1721 delete arg8;
1722 }
1723 return NULL;
1724 }
1725
1726
1727 static PyObject *_wrap_new_PreCheckBox(PyObject *self, PyObject *args, PyObject *kwargs) {
1728 PyObject *resultobj;
1729 wxCheckBox *result;
1730 char *kwnames[] = {
1731 NULL
1732 };
1733
1734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckBox",kwnames)) goto fail;
1735 {
1736 PyThreadState* __tstate = wxPyBeginAllowThreads();
1737 result = (wxCheckBox *)new wxCheckBox();
1738
1739 wxPyEndAllowThreads(__tstate);
1740 if (PyErr_Occurred()) SWIG_fail;
1741 }
1742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckBox, 1);
1743 return resultobj;
1744 fail:
1745 return NULL;
1746 }
1747
1748
1749 static PyObject *_wrap_CheckBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1750 PyObject *resultobj;
1751 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1752 wxWindow *arg2 = (wxWindow *) 0 ;
1753 int arg3 ;
1754 wxString *arg4 = 0 ;
1755 wxPoint const &arg5_defvalue = wxDefaultPosition ;
1756 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
1757 wxSize const &arg6_defvalue = wxDefaultSize ;
1758 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
1759 long arg7 = (long) 0 ;
1760 wxValidator const &arg8_defvalue = wxDefaultValidator ;
1761 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
1762 wxString const &arg9_defvalue = wxPyCheckBoxNameStr ;
1763 wxString *arg9 = (wxString *) &arg9_defvalue ;
1764 bool result;
1765 bool temp4 = False ;
1766 wxPoint temp5 ;
1767 wxSize temp6 ;
1768 bool temp9 = False ;
1769 PyObject * obj0 = 0 ;
1770 PyObject * obj1 = 0 ;
1771 PyObject * obj3 = 0 ;
1772 PyObject * obj4 = 0 ;
1773 PyObject * obj5 = 0 ;
1774 PyObject * obj7 = 0 ;
1775 PyObject * obj8 = 0 ;
1776 char *kwnames[] = {
1777 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
1778 };
1779
1780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:CheckBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
1781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1782 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1783 {
1784 arg4 = wxString_in_helper(obj3);
1785 if (arg4 == NULL) SWIG_fail;
1786 temp4 = True;
1787 }
1788 if (obj4) {
1789 {
1790 arg5 = &temp5;
1791 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
1792 }
1793 }
1794 if (obj5) {
1795 {
1796 arg6 = &temp6;
1797 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
1798 }
1799 }
1800 if (obj7) {
1801 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1802 if (arg8 == NULL) {
1803 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1804 }
1805 }
1806 if (obj8) {
1807 {
1808 arg9 = wxString_in_helper(obj8);
1809 if (arg9 == NULL) SWIG_fail;
1810 temp9 = True;
1811 }
1812 }
1813 {
1814 PyThreadState* __tstate = wxPyBeginAllowThreads();
1815 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
1816
1817 wxPyEndAllowThreads(__tstate);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 resultobj = PyInt_FromLong((long)result);
1821 {
1822 if (temp4)
1823 delete arg4;
1824 }
1825 {
1826 if (temp9)
1827 delete arg9;
1828 }
1829 return resultobj;
1830 fail:
1831 {
1832 if (temp4)
1833 delete arg4;
1834 }
1835 {
1836 if (temp9)
1837 delete arg9;
1838 }
1839 return NULL;
1840 }
1841
1842
1843 static PyObject *_wrap_CheckBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1844 PyObject *resultobj;
1845 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1846 bool result;
1847 PyObject * obj0 = 0 ;
1848 char *kwnames[] = {
1849 (char *) "self", NULL
1850 };
1851
1852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_GetValue",kwnames,&obj0)) goto fail;
1853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1854 {
1855 PyThreadState* __tstate = wxPyBeginAllowThreads();
1856 result = (bool)(arg1)->GetValue();
1857
1858 wxPyEndAllowThreads(__tstate);
1859 if (PyErr_Occurred()) SWIG_fail;
1860 }
1861 resultobj = PyInt_FromLong((long)result);
1862 return resultobj;
1863 fail:
1864 return NULL;
1865 }
1866
1867
1868 static PyObject *_wrap_CheckBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
1869 PyObject *resultobj;
1870 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1871 bool result;
1872 PyObject * obj0 = 0 ;
1873 char *kwnames[] = {
1874 (char *) "self", NULL
1875 };
1876
1877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_IsChecked",kwnames,&obj0)) goto fail;
1878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1879 {
1880 PyThreadState* __tstate = wxPyBeginAllowThreads();
1881 result = (bool)(arg1)->IsChecked();
1882
1883 wxPyEndAllowThreads(__tstate);
1884 if (PyErr_Occurred()) SWIG_fail;
1885 }
1886 resultobj = PyInt_FromLong((long)result);
1887 return resultobj;
1888 fail:
1889 return NULL;
1890 }
1891
1892
1893 static PyObject *_wrap_CheckBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1894 PyObject *resultobj;
1895 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1896 bool arg2 ;
1897 PyObject * obj0 = 0 ;
1898 PyObject * obj1 = 0 ;
1899 char *kwnames[] = {
1900 (char *) "self",(char *) "state", NULL
1901 };
1902
1903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
1904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1905 arg2 = PyInt_AsLong(obj1) ? true : false;
1906 if (PyErr_Occurred()) SWIG_fail;
1907 {
1908 PyThreadState* __tstate = wxPyBeginAllowThreads();
1909 (arg1)->SetValue(arg2);
1910
1911 wxPyEndAllowThreads(__tstate);
1912 if (PyErr_Occurred()) SWIG_fail;
1913 }
1914 Py_INCREF(Py_None); resultobj = Py_None;
1915 return resultobj;
1916 fail:
1917 return NULL;
1918 }
1919
1920
1921 static PyObject *_wrap_CheckBox_Get3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1922 PyObject *resultobj;
1923 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1924 int result;
1925 PyObject * obj0 = 0 ;
1926 char *kwnames[] = {
1927 (char *) "self", NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Get3StateValue",kwnames,&obj0)) goto fail;
1931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1932 {
1933 PyThreadState* __tstate = wxPyBeginAllowThreads();
1934 result = (int)((wxCheckBox const *)arg1)->Get3StateValue();
1935
1936 wxPyEndAllowThreads(__tstate);
1937 if (PyErr_Occurred()) SWIG_fail;
1938 }
1939 resultobj = PyInt_FromLong((long)result);
1940 return resultobj;
1941 fail:
1942 return NULL;
1943 }
1944
1945
1946 static PyObject *_wrap_CheckBox_Set3StateValue(PyObject *self, PyObject *args, PyObject *kwargs) {
1947 PyObject *resultobj;
1948 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1949 int arg2 ;
1950 PyObject * obj0 = 0 ;
1951 char *kwnames[] = {
1952 (char *) "self",(char *) "state", NULL
1953 };
1954
1955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckBox_Set3StateValue",kwnames,&obj0,&arg2)) goto fail;
1956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1957 {
1958 PyThreadState* __tstate = wxPyBeginAllowThreads();
1959 (arg1)->Set3StateValue((wxCheckBoxState )arg2);
1960
1961 wxPyEndAllowThreads(__tstate);
1962 if (PyErr_Occurred()) SWIG_fail;
1963 }
1964 Py_INCREF(Py_None); resultobj = Py_None;
1965 return resultobj;
1966 fail:
1967 return NULL;
1968 }
1969
1970
1971 static PyObject *_wrap_CheckBox_Is3State(PyObject *self, PyObject *args, PyObject *kwargs) {
1972 PyObject *resultobj;
1973 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1974 bool result;
1975 PyObject * obj0 = 0 ;
1976 char *kwnames[] = {
1977 (char *) "self", NULL
1978 };
1979
1980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3State",kwnames,&obj0)) goto fail;
1981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1982 {
1983 PyThreadState* __tstate = wxPyBeginAllowThreads();
1984 result = (bool)((wxCheckBox const *)arg1)->Is3State();
1985
1986 wxPyEndAllowThreads(__tstate);
1987 if (PyErr_Occurred()) SWIG_fail;
1988 }
1989 resultobj = PyInt_FromLong((long)result);
1990 return resultobj;
1991 fail:
1992 return NULL;
1993 }
1994
1995
1996 static PyObject *_wrap_CheckBox_Is3rdStateAllowedForUser(PyObject *self, PyObject *args, PyObject *kwargs) {
1997 PyObject *resultobj;
1998 wxCheckBox *arg1 = (wxCheckBox *) 0 ;
1999 bool result;
2000 PyObject * obj0 = 0 ;
2001 char *kwnames[] = {
2002 (char *) "self", NULL
2003 };
2004
2005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckBox_Is3rdStateAllowedForUser",kwnames,&obj0)) goto fail;
2006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2007 {
2008 PyThreadState* __tstate = wxPyBeginAllowThreads();
2009 result = (bool)((wxCheckBox const *)arg1)->Is3rdStateAllowedForUser();
2010
2011 wxPyEndAllowThreads(__tstate);
2012 if (PyErr_Occurred()) SWIG_fail;
2013 }
2014 resultobj = PyInt_FromLong((long)result);
2015 return resultobj;
2016 fail:
2017 return NULL;
2018 }
2019
2020
2021 static PyObject * CheckBox_swigregister(PyObject *self, PyObject *args) {
2022 PyObject *obj;
2023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2024 SWIG_TypeClientData(SWIGTYPE_p_wxCheckBox, obj);
2025 Py_INCREF(obj);
2026 return Py_BuildValue((char *)"");
2027 }
2028 static PyObject *_wrap_new_Choice(PyObject *self, PyObject *args, PyObject *kwargs) {
2029 PyObject *resultobj;
2030 wxWindow *arg1 = (wxWindow *) 0 ;
2031 int arg2 ;
2032 wxPoint const &arg3_defvalue = wxDefaultPosition ;
2033 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
2034 wxSize const &arg4_defvalue = wxDefaultSize ;
2035 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
2036 int arg5 = (int) 0 ;
2037 wxString *arg6 = (wxString *) NULL ;
2038 long arg7 = (long) 0 ;
2039 wxValidator const &arg8_defvalue = wxDefaultValidator ;
2040 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
2041 wxString const &arg9_defvalue = wxPyChoiceNameStr ;
2042 wxString *arg9 = (wxString *) &arg9_defvalue ;
2043 wxChoice *result;
2044 wxPoint temp3 ;
2045 wxSize temp4 ;
2046 bool temp8 = False ;
2047 PyObject * obj0 = 0 ;
2048 PyObject * obj2 = 0 ;
2049 PyObject * obj3 = 0 ;
2050 PyObject * obj4 = 0 ;
2051 PyObject * obj6 = 0 ;
2052 PyObject * obj7 = 0 ;
2053 char *kwnames[] = {
2054 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2055 };
2056
2057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_Choice",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
2058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2059 if (obj2) {
2060 {
2061 arg3 = &temp3;
2062 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
2063 }
2064 }
2065 if (obj3) {
2066 {
2067 arg4 = &temp4;
2068 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
2069 }
2070 }
2071 if (obj4) {
2072 {
2073 arg5 = PyList_Size(obj4);
2074 arg6 = wxString_LIST_helper(obj4);
2075 if (arg6 == NULL) SWIG_fail;
2076 }
2077 }
2078 if (obj6) {
2079 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2080 if (arg8 == NULL) {
2081 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2082 }
2083 }
2084 if (obj7) {
2085 {
2086 arg9 = wxString_in_helper(obj7);
2087 if (arg9 == NULL) SWIG_fail;
2088 temp8 = True;
2089 }
2090 }
2091 {
2092 PyThreadState* __tstate = wxPyBeginAllowThreads();
2093 result = (wxChoice *)new wxChoice(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
2094
2095 wxPyEndAllowThreads(__tstate);
2096 if (PyErr_Occurred()) SWIG_fail;
2097 }
2098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2099 {
2100 if (arg6) delete [] arg6;
2101 }
2102 {
2103 if (temp8)
2104 delete arg9;
2105 }
2106 return resultobj;
2107 fail:
2108 {
2109 if (arg6) delete [] arg6;
2110 }
2111 {
2112 if (temp8)
2113 delete arg9;
2114 }
2115 return NULL;
2116 }
2117
2118
2119 static PyObject *_wrap_new_PreChoice(PyObject *self, PyObject *args, PyObject *kwargs) {
2120 PyObject *resultobj;
2121 wxChoice *result;
2122 char *kwnames[] = {
2123 NULL
2124 };
2125
2126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreChoice",kwnames)) goto fail;
2127 {
2128 PyThreadState* __tstate = wxPyBeginAllowThreads();
2129 result = (wxChoice *)new wxChoice();
2130
2131 wxPyEndAllowThreads(__tstate);
2132 if (PyErr_Occurred()) SWIG_fail;
2133 }
2134 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxChoice, 1);
2135 return resultobj;
2136 fail:
2137 return NULL;
2138 }
2139
2140
2141 static PyObject *_wrap_Choice_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2142 PyObject *resultobj;
2143 wxChoice *arg1 = (wxChoice *) 0 ;
2144 wxWindow *arg2 = (wxWindow *) 0 ;
2145 int arg3 ;
2146 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2147 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2148 wxSize const &arg5_defvalue = wxDefaultSize ;
2149 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2150 int arg6 = (int) 0 ;
2151 wxString *arg7 = (wxString *) NULL ;
2152 long arg8 = (long) 0 ;
2153 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2154 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2155 wxString const &arg10_defvalue = wxPyChoiceNameStr ;
2156 wxString *arg10 = (wxString *) &arg10_defvalue ;
2157 bool result;
2158 wxPoint temp4 ;
2159 wxSize temp5 ;
2160 bool temp9 = False ;
2161 PyObject * obj0 = 0 ;
2162 PyObject * obj1 = 0 ;
2163 PyObject * obj3 = 0 ;
2164 PyObject * obj4 = 0 ;
2165 PyObject * obj5 = 0 ;
2166 PyObject * obj7 = 0 ;
2167 PyObject * obj8 = 0 ;
2168 char *kwnames[] = {
2169 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2170 };
2171
2172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:Choice_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2174 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2175 if (obj3) {
2176 {
2177 arg4 = &temp4;
2178 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2179 }
2180 }
2181 if (obj4) {
2182 {
2183 arg5 = &temp5;
2184 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2185 }
2186 }
2187 if (obj5) {
2188 {
2189 arg6 = PyList_Size(obj5);
2190 arg7 = wxString_LIST_helper(obj5);
2191 if (arg7 == NULL) SWIG_fail;
2192 }
2193 }
2194 if (obj7) {
2195 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2196 if (arg9 == NULL) {
2197 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2198 }
2199 }
2200 if (obj8) {
2201 {
2202 arg10 = wxString_in_helper(obj8);
2203 if (arg10 == NULL) SWIG_fail;
2204 temp9 = True;
2205 }
2206 }
2207 {
2208 PyThreadState* __tstate = wxPyBeginAllowThreads();
2209 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2210
2211 wxPyEndAllowThreads(__tstate);
2212 if (PyErr_Occurred()) SWIG_fail;
2213 }
2214 resultobj = PyInt_FromLong((long)result);
2215 {
2216 if (arg7) delete [] arg7;
2217 }
2218 {
2219 if (temp9)
2220 delete arg10;
2221 }
2222 return resultobj;
2223 fail:
2224 {
2225 if (arg7) delete [] arg7;
2226 }
2227 {
2228 if (temp9)
2229 delete arg10;
2230 }
2231 return NULL;
2232 }
2233
2234
2235 static PyObject *_wrap_Choice_GetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2236 PyObject *resultobj;
2237 wxChoice *arg1 = (wxChoice *) 0 ;
2238 int result;
2239 PyObject * obj0 = 0 ;
2240 char *kwnames[] = {
2241 (char *) "self", NULL
2242 };
2243
2244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Choice_GetColumns",kwnames,&obj0)) goto fail;
2245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2246 {
2247 PyThreadState* __tstate = wxPyBeginAllowThreads();
2248 result = (int)(arg1)->GetColumns();
2249
2250 wxPyEndAllowThreads(__tstate);
2251 if (PyErr_Occurred()) SWIG_fail;
2252 }
2253 resultobj = PyInt_FromLong((long)result);
2254 return resultobj;
2255 fail:
2256 return NULL;
2257 }
2258
2259
2260 static PyObject *_wrap_Choice_SetColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
2261 PyObject *resultobj;
2262 wxChoice *arg1 = (wxChoice *) 0 ;
2263 int arg2 = (int) (int)1 ;
2264 PyObject * obj0 = 0 ;
2265 char *kwnames[] = {
2266 (char *) "self",(char *) "n", NULL
2267 };
2268
2269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Choice_SetColumns",kwnames,&obj0,&arg2)) goto fail;
2270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2271 {
2272 PyThreadState* __tstate = wxPyBeginAllowThreads();
2273 (arg1)->SetColumns(arg2);
2274
2275 wxPyEndAllowThreads(__tstate);
2276 if (PyErr_Occurred()) SWIG_fail;
2277 }
2278 Py_INCREF(Py_None); resultobj = Py_None;
2279 return resultobj;
2280 fail:
2281 return NULL;
2282 }
2283
2284
2285 static PyObject *_wrap_Choice_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2286 PyObject *resultobj;
2287 wxChoice *arg1 = (wxChoice *) 0 ;
2288 int arg2 ;
2289 PyObject * obj0 = 0 ;
2290 char *kwnames[] = {
2291 (char *) "self",(char *) "n", NULL
2292 };
2293
2294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Choice_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2296 {
2297 PyThreadState* __tstate = wxPyBeginAllowThreads();
2298 (arg1)->SetSelection(arg2);
2299
2300 wxPyEndAllowThreads(__tstate);
2301 if (PyErr_Occurred()) SWIG_fail;
2302 }
2303 Py_INCREF(Py_None); resultobj = Py_None;
2304 return resultobj;
2305 fail:
2306 return NULL;
2307 }
2308
2309
2310 static PyObject *_wrap_Choice_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2311 PyObject *resultobj;
2312 wxChoice *arg1 = (wxChoice *) 0 ;
2313 wxString *arg2 = 0 ;
2314 bool temp2 = False ;
2315 PyObject * obj0 = 0 ;
2316 PyObject * obj1 = 0 ;
2317 char *kwnames[] = {
2318 (char *) "self",(char *) "string", NULL
2319 };
2320
2321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Choice_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
2322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2323 {
2324 arg2 = wxString_in_helper(obj1);
2325 if (arg2 == NULL) SWIG_fail;
2326 temp2 = True;
2327 }
2328 {
2329 PyThreadState* __tstate = wxPyBeginAllowThreads();
2330 (arg1)->SetStringSelection((wxString const &)*arg2);
2331
2332 wxPyEndAllowThreads(__tstate);
2333 if (PyErr_Occurred()) SWIG_fail;
2334 }
2335 Py_INCREF(Py_None); resultobj = Py_None;
2336 {
2337 if (temp2)
2338 delete arg2;
2339 }
2340 return resultobj;
2341 fail:
2342 {
2343 if (temp2)
2344 delete arg2;
2345 }
2346 return NULL;
2347 }
2348
2349
2350 static PyObject *_wrap_Choice_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
2351 PyObject *resultobj;
2352 wxChoice *arg1 = (wxChoice *) 0 ;
2353 int arg2 ;
2354 wxString *arg3 = 0 ;
2355 bool temp3 = False ;
2356 PyObject * obj0 = 0 ;
2357 PyObject * obj2 = 0 ;
2358 char *kwnames[] = {
2359 (char *) "self",(char *) "n",(char *) "s", NULL
2360 };
2361
2362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:Choice_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
2363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxChoice,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2364 {
2365 arg3 = wxString_in_helper(obj2);
2366 if (arg3 == NULL) SWIG_fail;
2367 temp3 = True;
2368 }
2369 {
2370 PyThreadState* __tstate = wxPyBeginAllowThreads();
2371 (arg1)->SetString(arg2,(wxString const &)*arg3);
2372
2373 wxPyEndAllowThreads(__tstate);
2374 if (PyErr_Occurred()) SWIG_fail;
2375 }
2376 Py_INCREF(Py_None); resultobj = Py_None;
2377 {
2378 if (temp3)
2379 delete arg3;
2380 }
2381 return resultobj;
2382 fail:
2383 {
2384 if (temp3)
2385 delete arg3;
2386 }
2387 return NULL;
2388 }
2389
2390
2391 static PyObject * Choice_swigregister(PyObject *self, PyObject *args) {
2392 PyObject *obj;
2393 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2394 SWIG_TypeClientData(SWIGTYPE_p_wxChoice, obj);
2395 Py_INCREF(obj);
2396 return Py_BuildValue((char *)"");
2397 }
2398 static PyObject *_wrap_new_ComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2399 PyObject *resultobj;
2400 wxWindow *arg1 = (wxWindow *) 0 ;
2401 int arg2 ;
2402 wxString const &arg3_defvalue = wxPyEmptyString ;
2403 wxString *arg3 = (wxString *) &arg3_defvalue ;
2404 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2405 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2406 wxSize const &arg5_defvalue = wxDefaultSize ;
2407 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2408 int arg6 = (int) 0 ;
2409 wxString *arg7 = (wxString *) NULL ;
2410 long arg8 = (long) 0 ;
2411 wxValidator const &arg9_defvalue = wxDefaultValidator ;
2412 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
2413 wxString const &arg10_defvalue = wxPyComboBoxNameStr ;
2414 wxString *arg10 = (wxString *) &arg10_defvalue ;
2415 wxComboBox *result;
2416 bool temp3 = False ;
2417 wxPoint temp4 ;
2418 wxSize temp5 ;
2419 bool temp9 = False ;
2420 PyObject * obj0 = 0 ;
2421 PyObject * obj2 = 0 ;
2422 PyObject * obj3 = 0 ;
2423 PyObject * obj4 = 0 ;
2424 PyObject * obj5 = 0 ;
2425 PyObject * obj7 = 0 ;
2426 PyObject * obj8 = 0 ;
2427 char *kwnames[] = {
2428 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2429 };
2430
2431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOOlOO:new_ComboBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
2432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2433 if (obj2) {
2434 {
2435 arg3 = wxString_in_helper(obj2);
2436 if (arg3 == NULL) SWIG_fail;
2437 temp3 = True;
2438 }
2439 }
2440 if (obj3) {
2441 {
2442 arg4 = &temp4;
2443 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2444 }
2445 }
2446 if (obj4) {
2447 {
2448 arg5 = &temp5;
2449 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2450 }
2451 }
2452 if (obj5) {
2453 {
2454 arg6 = PyList_Size(obj5);
2455 arg7 = wxString_LIST_helper(obj5);
2456 if (arg7 == NULL) SWIG_fail;
2457 }
2458 }
2459 if (obj7) {
2460 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2461 if (arg9 == NULL) {
2462 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2463 }
2464 }
2465 if (obj8) {
2466 {
2467 arg10 = wxString_in_helper(obj8);
2468 if (arg10 == NULL) SWIG_fail;
2469 temp9 = True;
2470 }
2471 }
2472 {
2473 PyThreadState* __tstate = wxPyBeginAllowThreads();
2474 result = (wxComboBox *)new wxComboBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
2475
2476 wxPyEndAllowThreads(__tstate);
2477 if (PyErr_Occurred()) SWIG_fail;
2478 }
2479 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2480 {
2481 if (temp3)
2482 delete arg3;
2483 }
2484 {
2485 if (arg7) delete [] arg7;
2486 }
2487 {
2488 if (temp9)
2489 delete arg10;
2490 }
2491 return resultobj;
2492 fail:
2493 {
2494 if (temp3)
2495 delete arg3;
2496 }
2497 {
2498 if (arg7) delete [] arg7;
2499 }
2500 {
2501 if (temp9)
2502 delete arg10;
2503 }
2504 return NULL;
2505 }
2506
2507
2508 static PyObject *_wrap_new_PreComboBox(PyObject *self, PyObject *args, PyObject *kwargs) {
2509 PyObject *resultobj;
2510 wxComboBox *result;
2511 char *kwnames[] = {
2512 NULL
2513 };
2514
2515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreComboBox",kwnames)) goto fail;
2516 {
2517 PyThreadState* __tstate = wxPyBeginAllowThreads();
2518 result = (wxComboBox *)new wxComboBox();
2519
2520 wxPyEndAllowThreads(__tstate);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 }
2523 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxComboBox, 1);
2524 return resultobj;
2525 fail:
2526 return NULL;
2527 }
2528
2529
2530 static PyObject *_wrap_ComboBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2531 PyObject *resultobj;
2532 wxComboBox *arg1 = (wxComboBox *) 0 ;
2533 wxWindow *arg2 = (wxWindow *) 0 ;
2534 int arg3 ;
2535 wxString const &arg4_defvalue = wxPyEmptyString ;
2536 wxString *arg4 = (wxString *) &arg4_defvalue ;
2537 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2538 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2539 wxSize const &arg6_defvalue = wxDefaultSize ;
2540 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2541 int arg7 = (int) 0 ;
2542 wxString *arg8 = (wxString *) NULL ;
2543 long arg9 = (long) 0 ;
2544 wxValidator const &arg10_defvalue = wxDefaultValidator ;
2545 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
2546 wxString const &arg11_defvalue = wxPyComboBoxNameStr ;
2547 wxString *arg11 = (wxString *) &arg11_defvalue ;
2548 bool result;
2549 bool temp4 = False ;
2550 wxPoint temp5 ;
2551 wxSize temp6 ;
2552 bool temp10 = False ;
2553 PyObject * obj0 = 0 ;
2554 PyObject * obj1 = 0 ;
2555 PyObject * obj3 = 0 ;
2556 PyObject * obj4 = 0 ;
2557 PyObject * obj5 = 0 ;
2558 PyObject * obj6 = 0 ;
2559 PyObject * obj8 = 0 ;
2560 PyObject * obj9 = 0 ;
2561 char *kwnames[] = {
2562 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
2563 };
2564
2565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOOlOO:ComboBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&obj8,&obj9)) goto fail;
2566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2567 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2568 if (obj3) {
2569 {
2570 arg4 = wxString_in_helper(obj3);
2571 if (arg4 == NULL) SWIG_fail;
2572 temp4 = True;
2573 }
2574 }
2575 if (obj4) {
2576 {
2577 arg5 = &temp5;
2578 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2579 }
2580 }
2581 if (obj5) {
2582 {
2583 arg6 = &temp6;
2584 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2585 }
2586 }
2587 if (obj6) {
2588 {
2589 arg7 = PyList_Size(obj6);
2590 arg8 = wxString_LIST_helper(obj6);
2591 if (arg8 == NULL) SWIG_fail;
2592 }
2593 }
2594 if (obj8) {
2595 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2596 if (arg10 == NULL) {
2597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2598 }
2599 }
2600 if (obj9) {
2601 {
2602 arg11 = wxString_in_helper(obj9);
2603 if (arg11 == NULL) SWIG_fail;
2604 temp10 = True;
2605 }
2606 }
2607 {
2608 PyThreadState* __tstate = wxPyBeginAllowThreads();
2609 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
2610
2611 wxPyEndAllowThreads(__tstate);
2612 if (PyErr_Occurred()) SWIG_fail;
2613 }
2614 resultobj = PyInt_FromLong((long)result);
2615 {
2616 if (temp4)
2617 delete arg4;
2618 }
2619 {
2620 if (arg8) delete [] arg8;
2621 }
2622 {
2623 if (temp10)
2624 delete arg11;
2625 }
2626 return resultobj;
2627 fail:
2628 {
2629 if (temp4)
2630 delete arg4;
2631 }
2632 {
2633 if (arg8) delete [] arg8;
2634 }
2635 {
2636 if (temp10)
2637 delete arg11;
2638 }
2639 return NULL;
2640 }
2641
2642
2643 static PyObject *_wrap_ComboBox_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2644 PyObject *resultobj;
2645 wxComboBox *arg1 = (wxComboBox *) 0 ;
2646 wxString result;
2647 PyObject * obj0 = 0 ;
2648 char *kwnames[] = {
2649 (char *) "self", NULL
2650 };
2651
2652 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetValue",kwnames,&obj0)) goto fail;
2653 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2654 {
2655 PyThreadState* __tstate = wxPyBeginAllowThreads();
2656 result = ((wxComboBox const *)arg1)->GetValue();
2657
2658 wxPyEndAllowThreads(__tstate);
2659 if (PyErr_Occurred()) SWIG_fail;
2660 }
2661 {
2662 #if wxUSE_UNICODE
2663 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2664 #else
2665 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2666 #endif
2667 }
2668 return resultobj;
2669 fail:
2670 return NULL;
2671 }
2672
2673
2674 static PyObject *_wrap_ComboBox_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
2675 PyObject *resultobj;
2676 wxComboBox *arg1 = (wxComboBox *) 0 ;
2677 wxString *arg2 = 0 ;
2678 bool temp2 = False ;
2679 PyObject * obj0 = 0 ;
2680 PyObject * obj1 = 0 ;
2681 char *kwnames[] = {
2682 (char *) "self",(char *) "value", NULL
2683 };
2684
2685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetValue",kwnames,&obj0,&obj1)) goto fail;
2686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2687 {
2688 arg2 = wxString_in_helper(obj1);
2689 if (arg2 == NULL) SWIG_fail;
2690 temp2 = True;
2691 }
2692 {
2693 PyThreadState* __tstate = wxPyBeginAllowThreads();
2694 (arg1)->SetValue((wxString const &)*arg2);
2695
2696 wxPyEndAllowThreads(__tstate);
2697 if (PyErr_Occurred()) SWIG_fail;
2698 }
2699 Py_INCREF(Py_None); resultobj = Py_None;
2700 {
2701 if (temp2)
2702 delete arg2;
2703 }
2704 return resultobj;
2705 fail:
2706 {
2707 if (temp2)
2708 delete arg2;
2709 }
2710 return NULL;
2711 }
2712
2713
2714 static PyObject *_wrap_ComboBox_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
2715 PyObject *resultobj;
2716 wxComboBox *arg1 = (wxComboBox *) 0 ;
2717 PyObject * obj0 = 0 ;
2718 char *kwnames[] = {
2719 (char *) "self", NULL
2720 };
2721
2722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Copy",kwnames,&obj0)) goto fail;
2723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2724 {
2725 PyThreadState* __tstate = wxPyBeginAllowThreads();
2726 (arg1)->Copy();
2727
2728 wxPyEndAllowThreads(__tstate);
2729 if (PyErr_Occurred()) SWIG_fail;
2730 }
2731 Py_INCREF(Py_None); resultobj = Py_None;
2732 return resultobj;
2733 fail:
2734 return NULL;
2735 }
2736
2737
2738 static PyObject *_wrap_ComboBox_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
2739 PyObject *resultobj;
2740 wxComboBox *arg1 = (wxComboBox *) 0 ;
2741 PyObject * obj0 = 0 ;
2742 char *kwnames[] = {
2743 (char *) "self", NULL
2744 };
2745
2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Cut",kwnames,&obj0)) goto fail;
2747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2748 {
2749 PyThreadState* __tstate = wxPyBeginAllowThreads();
2750 (arg1)->Cut();
2751
2752 wxPyEndAllowThreads(__tstate);
2753 if (PyErr_Occurred()) SWIG_fail;
2754 }
2755 Py_INCREF(Py_None); resultobj = Py_None;
2756 return resultobj;
2757 fail:
2758 return NULL;
2759 }
2760
2761
2762 static PyObject *_wrap_ComboBox_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
2763 PyObject *resultobj;
2764 wxComboBox *arg1 = (wxComboBox *) 0 ;
2765 PyObject * obj0 = 0 ;
2766 char *kwnames[] = {
2767 (char *) "self", NULL
2768 };
2769
2770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_Paste",kwnames,&obj0)) goto fail;
2771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2772 {
2773 PyThreadState* __tstate = wxPyBeginAllowThreads();
2774 (arg1)->Paste();
2775
2776 wxPyEndAllowThreads(__tstate);
2777 if (PyErr_Occurred()) SWIG_fail;
2778 }
2779 Py_INCREF(Py_None); resultobj = Py_None;
2780 return resultobj;
2781 fail:
2782 return NULL;
2783 }
2784
2785
2786 static PyObject *_wrap_ComboBox_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2787 PyObject *resultobj;
2788 wxComboBox *arg1 = (wxComboBox *) 0 ;
2789 long arg2 ;
2790 PyObject * obj0 = 0 ;
2791 char *kwnames[] = {
2792 (char *) "self",(char *) "pos", NULL
2793 };
2794
2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ComboBox_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
2796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2797 {
2798 PyThreadState* __tstate = wxPyBeginAllowThreads();
2799 (arg1)->SetInsertionPoint(arg2);
2800
2801 wxPyEndAllowThreads(__tstate);
2802 if (PyErr_Occurred()) SWIG_fail;
2803 }
2804 Py_INCREF(Py_None); resultobj = Py_None;
2805 return resultobj;
2806 fail:
2807 return NULL;
2808 }
2809
2810
2811 static PyObject *_wrap_ComboBox_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
2812 PyObject *resultobj;
2813 wxComboBox *arg1 = (wxComboBox *) 0 ;
2814 long result;
2815 PyObject * obj0 = 0 ;
2816 char *kwnames[] = {
2817 (char *) "self", NULL
2818 };
2819
2820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetInsertionPoint",kwnames,&obj0)) goto fail;
2821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2822 {
2823 PyThreadState* __tstate = wxPyBeginAllowThreads();
2824 result = (long)((wxComboBox const *)arg1)->GetInsertionPoint();
2825
2826 wxPyEndAllowThreads(__tstate);
2827 if (PyErr_Occurred()) SWIG_fail;
2828 }
2829 resultobj = PyInt_FromLong((long)result);
2830 return resultobj;
2831 fail:
2832 return NULL;
2833 }
2834
2835
2836 static PyObject *_wrap_ComboBox_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
2837 PyObject *resultobj;
2838 wxComboBox *arg1 = (wxComboBox *) 0 ;
2839 long result;
2840 PyObject * obj0 = 0 ;
2841 char *kwnames[] = {
2842 (char *) "self", NULL
2843 };
2844
2845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_GetLastPosition",kwnames,&obj0)) goto fail;
2846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2847 {
2848 PyThreadState* __tstate = wxPyBeginAllowThreads();
2849 result = (long)((wxComboBox const *)arg1)->GetLastPosition();
2850
2851 wxPyEndAllowThreads(__tstate);
2852 if (PyErr_Occurred()) SWIG_fail;
2853 }
2854 resultobj = PyInt_FromLong((long)result);
2855 return resultobj;
2856 fail:
2857 return NULL;
2858 }
2859
2860
2861 static PyObject *_wrap_ComboBox_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
2862 PyObject *resultobj;
2863 wxComboBox *arg1 = (wxComboBox *) 0 ;
2864 long arg2 ;
2865 long arg3 ;
2866 wxString *arg4 = 0 ;
2867 bool temp4 = False ;
2868 PyObject * obj0 = 0 ;
2869 PyObject * obj3 = 0 ;
2870 char *kwnames[] = {
2871 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
2872 };
2873
2874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:ComboBox_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
2875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2876 {
2877 arg4 = wxString_in_helper(obj3);
2878 if (arg4 == NULL) SWIG_fail;
2879 temp4 = True;
2880 }
2881 {
2882 PyThreadState* __tstate = wxPyBeginAllowThreads();
2883 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
2884
2885 wxPyEndAllowThreads(__tstate);
2886 if (PyErr_Occurred()) SWIG_fail;
2887 }
2888 Py_INCREF(Py_None); resultobj = Py_None;
2889 {
2890 if (temp4)
2891 delete arg4;
2892 }
2893 return resultobj;
2894 fail:
2895 {
2896 if (temp4)
2897 delete arg4;
2898 }
2899 return NULL;
2900 }
2901
2902
2903 static PyObject *_wrap_ComboBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
2904 PyObject *resultobj;
2905 wxComboBox *arg1 = (wxComboBox *) 0 ;
2906 int arg2 ;
2907 PyObject * obj0 = 0 ;
2908 char *kwnames[] = {
2909 (char *) "self",(char *) "n", NULL
2910 };
2911
2912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ComboBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
2913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2914 {
2915 PyThreadState* __tstate = wxPyBeginAllowThreads();
2916 (arg1)->SetSelection(arg2);
2917
2918 wxPyEndAllowThreads(__tstate);
2919 if (PyErr_Occurred()) SWIG_fail;
2920 }
2921 Py_INCREF(Py_None); resultobj = Py_None;
2922 return resultobj;
2923 fail:
2924 return NULL;
2925 }
2926
2927
2928 static PyObject *_wrap_ComboBox_SetMark(PyObject *self, PyObject *args, PyObject *kwargs) {
2929 PyObject *resultobj;
2930 wxComboBox *arg1 = (wxComboBox *) 0 ;
2931 long arg2 ;
2932 long arg3 ;
2933 PyObject * obj0 = 0 ;
2934 char *kwnames[] = {
2935 (char *) "self",(char *) "from",(char *) "to", NULL
2936 };
2937
2938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_SetMark",kwnames,&obj0,&arg2,&arg3)) 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)->SetSelection(arg2,arg3);
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_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
2955 PyObject *resultobj;
2956 wxComboBox *arg1 = (wxComboBox *) 0 ;
2957 bool arg2 ;
2958 PyObject * obj0 = 0 ;
2959 PyObject * obj1 = 0 ;
2960 char *kwnames[] = {
2961 (char *) "self",(char *) "editable", NULL
2962 };
2963
2964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ComboBox_SetEditable",kwnames,&obj0,&obj1)) goto fail;
2965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2966 arg2 = PyInt_AsLong(obj1) ? true : false;
2967 if (PyErr_Occurred()) SWIG_fail;
2968 {
2969 PyThreadState* __tstate = wxPyBeginAllowThreads();
2970 (arg1)->SetEditable(arg2);
2971
2972 wxPyEndAllowThreads(__tstate);
2973 if (PyErr_Occurred()) SWIG_fail;
2974 }
2975 Py_INCREF(Py_None); resultobj = Py_None;
2976 return resultobj;
2977 fail:
2978 return NULL;
2979 }
2980
2981
2982 static PyObject *_wrap_ComboBox_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
2983 PyObject *resultobj;
2984 wxComboBox *arg1 = (wxComboBox *) 0 ;
2985 PyObject * obj0 = 0 ;
2986 char *kwnames[] = {
2987 (char *) "self", NULL
2988 };
2989
2990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ComboBox_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
2991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2992 {
2993 PyThreadState* __tstate = wxPyBeginAllowThreads();
2994 (arg1)->SetInsertionPointEnd();
2995
2996 wxPyEndAllowThreads(__tstate);
2997 if (PyErr_Occurred()) SWIG_fail;
2998 }
2999 Py_INCREF(Py_None); resultobj = Py_None;
3000 return resultobj;
3001 fail:
3002 return NULL;
3003 }
3004
3005
3006 static PyObject *_wrap_ComboBox_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
3007 PyObject *resultobj;
3008 wxComboBox *arg1 = (wxComboBox *) 0 ;
3009 long arg2 ;
3010 long arg3 ;
3011 PyObject * obj0 = 0 ;
3012 char *kwnames[] = {
3013 (char *) "self",(char *) "from",(char *) "to", NULL
3014 };
3015
3016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ComboBox_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
3017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxComboBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3018 {
3019 PyThreadState* __tstate = wxPyBeginAllowThreads();
3020 (arg1)->Remove(arg2,arg3);
3021
3022 wxPyEndAllowThreads(__tstate);
3023 if (PyErr_Occurred()) SWIG_fail;
3024 }
3025 Py_INCREF(Py_None); resultobj = Py_None;
3026 return resultobj;
3027 fail:
3028 return NULL;
3029 }
3030
3031
3032 static PyObject * ComboBox_swigregister(PyObject *self, PyObject *args) {
3033 PyObject *obj;
3034 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3035 SWIG_TypeClientData(SWIGTYPE_p_wxComboBox, obj);
3036 Py_INCREF(obj);
3037 return Py_BuildValue((char *)"");
3038 }
3039 static PyObject *_wrap_new_Gauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3040 PyObject *resultobj;
3041 wxWindow *arg1 = (wxWindow *) 0 ;
3042 int arg2 ;
3043 int arg3 ;
3044 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3045 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3046 wxSize const &arg5_defvalue = wxDefaultSize ;
3047 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3048 long arg6 = (long) wxGA_HORIZONTAL ;
3049 wxValidator const &arg7_defvalue = wxDefaultValidator ;
3050 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
3051 wxString const &arg8_defvalue = wxPyGaugeNameStr ;
3052 wxString *arg8 = (wxString *) &arg8_defvalue ;
3053 wxGauge *result;
3054 wxPoint temp4 ;
3055 wxSize temp5 ;
3056 bool temp8 = False ;
3057 PyObject * obj0 = 0 ;
3058 PyObject * obj3 = 0 ;
3059 PyObject * obj4 = 0 ;
3060 PyObject * obj6 = 0 ;
3061 PyObject * obj7 = 0 ;
3062 char *kwnames[] = {
3063 (char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3064 };
3065
3066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|OOlOO:new_Gauge",kwnames,&obj0,&arg2,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
3067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3068 if (obj3) {
3069 {
3070 arg4 = &temp4;
3071 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3072 }
3073 }
3074 if (obj4) {
3075 {
3076 arg5 = &temp5;
3077 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3078 }
3079 }
3080 if (obj6) {
3081 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3082 if (arg7 == NULL) {
3083 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3084 }
3085 }
3086 if (obj7) {
3087 {
3088 arg8 = wxString_in_helper(obj7);
3089 if (arg8 == NULL) SWIG_fail;
3090 temp8 = True;
3091 }
3092 }
3093 {
3094 PyThreadState* __tstate = wxPyBeginAllowThreads();
3095 result = (wxGauge *)new wxGauge(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
3096
3097 wxPyEndAllowThreads(__tstate);
3098 if (PyErr_Occurred()) SWIG_fail;
3099 }
3100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3101 {
3102 if (temp8)
3103 delete arg8;
3104 }
3105 return resultobj;
3106 fail:
3107 {
3108 if (temp8)
3109 delete arg8;
3110 }
3111 return NULL;
3112 }
3113
3114
3115 static PyObject *_wrap_new_PreGauge(PyObject *self, PyObject *args, PyObject *kwargs) {
3116 PyObject *resultobj;
3117 wxGauge *result;
3118 char *kwnames[] = {
3119 NULL
3120 };
3121
3122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGauge",kwnames)) goto fail;
3123 {
3124 PyThreadState* __tstate = wxPyBeginAllowThreads();
3125 result = (wxGauge *)new wxGauge();
3126
3127 wxPyEndAllowThreads(__tstate);
3128 if (PyErr_Occurred()) SWIG_fail;
3129 }
3130 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGauge, 1);
3131 return resultobj;
3132 fail:
3133 return NULL;
3134 }
3135
3136
3137 static PyObject *_wrap_Gauge_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3138 PyObject *resultobj;
3139 wxGauge *arg1 = (wxGauge *) 0 ;
3140 wxWindow *arg2 = (wxWindow *) 0 ;
3141 int arg3 ;
3142 int arg4 ;
3143 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3144 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3145 wxSize const &arg6_defvalue = wxDefaultSize ;
3146 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3147 long arg7 = (long) wxGA_HORIZONTAL ;
3148 wxValidator const &arg8_defvalue = wxDefaultValidator ;
3149 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
3150 wxString const &arg9_defvalue = wxPyGaugeNameStr ;
3151 wxString *arg9 = (wxString *) &arg9_defvalue ;
3152 bool result;
3153 wxPoint temp5 ;
3154 wxSize temp6 ;
3155 bool temp9 = False ;
3156 PyObject * obj0 = 0 ;
3157 PyObject * obj1 = 0 ;
3158 PyObject * obj4 = 0 ;
3159 PyObject * obj5 = 0 ;
3160 PyObject * obj7 = 0 ;
3161 PyObject * obj8 = 0 ;
3162 char *kwnames[] = {
3163 (char *) "self",(char *) "parent",(char *) "id",(char *) "range",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
3164 };
3165
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOii|OOlOO:Gauge_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
3167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3168 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3169 if (obj4) {
3170 {
3171 arg5 = &temp5;
3172 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3173 }
3174 }
3175 if (obj5) {
3176 {
3177 arg6 = &temp6;
3178 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3179 }
3180 }
3181 if (obj7) {
3182 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3183 if (arg8 == NULL) {
3184 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3185 }
3186 }
3187 if (obj8) {
3188 {
3189 arg9 = wxString_in_helper(obj8);
3190 if (arg9 == NULL) SWIG_fail;
3191 temp9 = True;
3192 }
3193 }
3194 {
3195 PyThreadState* __tstate = wxPyBeginAllowThreads();
3196 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
3197
3198 wxPyEndAllowThreads(__tstate);
3199 if (PyErr_Occurred()) SWIG_fail;
3200 }
3201 resultobj = PyInt_FromLong((long)result);
3202 {
3203 if (temp9)
3204 delete arg9;
3205 }
3206 return resultobj;
3207 fail:
3208 {
3209 if (temp9)
3210 delete arg9;
3211 }
3212 return NULL;
3213 }
3214
3215
3216 static PyObject *_wrap_Gauge_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3217 PyObject *resultobj;
3218 wxGauge *arg1 = (wxGauge *) 0 ;
3219 int arg2 ;
3220 PyObject * obj0 = 0 ;
3221 char *kwnames[] = {
3222 (char *) "self",(char *) "range", NULL
3223 };
3224
3225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetRange",kwnames,&obj0,&arg2)) goto fail;
3226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3227 {
3228 PyThreadState* __tstate = wxPyBeginAllowThreads();
3229 (arg1)->SetRange(arg2);
3230
3231 wxPyEndAllowThreads(__tstate);
3232 if (PyErr_Occurred()) SWIG_fail;
3233 }
3234 Py_INCREF(Py_None); resultobj = Py_None;
3235 return resultobj;
3236 fail:
3237 return NULL;
3238 }
3239
3240
3241 static PyObject *_wrap_Gauge_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
3242 PyObject *resultobj;
3243 wxGauge *arg1 = (wxGauge *) 0 ;
3244 int result;
3245 PyObject * obj0 = 0 ;
3246 char *kwnames[] = {
3247 (char *) "self", NULL
3248 };
3249
3250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetRange",kwnames,&obj0)) goto fail;
3251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3252 {
3253 PyThreadState* __tstate = wxPyBeginAllowThreads();
3254 result = (int)((wxGauge const *)arg1)->GetRange();
3255
3256 wxPyEndAllowThreads(__tstate);
3257 if (PyErr_Occurred()) SWIG_fail;
3258 }
3259 resultobj = PyInt_FromLong((long)result);
3260 return resultobj;
3261 fail:
3262 return NULL;
3263 }
3264
3265
3266 static PyObject *_wrap_Gauge_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3267 PyObject *resultobj;
3268 wxGauge *arg1 = (wxGauge *) 0 ;
3269 int arg2 ;
3270 PyObject * obj0 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self",(char *) "pos", NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetValue",kwnames,&obj0,&arg2)) goto fail;
3276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3277 {
3278 PyThreadState* __tstate = wxPyBeginAllowThreads();
3279 (arg1)->SetValue(arg2);
3280
3281 wxPyEndAllowThreads(__tstate);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
3284 Py_INCREF(Py_None); resultobj = Py_None;
3285 return resultobj;
3286 fail:
3287 return NULL;
3288 }
3289
3290
3291 static PyObject *_wrap_Gauge_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
3292 PyObject *resultobj;
3293 wxGauge *arg1 = (wxGauge *) 0 ;
3294 int result;
3295 PyObject * obj0 = 0 ;
3296 char *kwnames[] = {
3297 (char *) "self", NULL
3298 };
3299
3300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetValue",kwnames,&obj0)) goto fail;
3301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3302 {
3303 PyThreadState* __tstate = wxPyBeginAllowThreads();
3304 result = (int)((wxGauge const *)arg1)->GetValue();
3305
3306 wxPyEndAllowThreads(__tstate);
3307 if (PyErr_Occurred()) SWIG_fail;
3308 }
3309 resultobj = PyInt_FromLong((long)result);
3310 return resultobj;
3311 fail:
3312 return NULL;
3313 }
3314
3315
3316 static PyObject *_wrap_Gauge_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3317 PyObject *resultobj;
3318 wxGauge *arg1 = (wxGauge *) 0 ;
3319 bool result;
3320 PyObject * obj0 = 0 ;
3321 char *kwnames[] = {
3322 (char *) "self", NULL
3323 };
3324
3325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_IsVertical",kwnames,&obj0)) goto fail;
3326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3327 {
3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
3329 result = (bool)((wxGauge const *)arg1)->IsVertical();
3330
3331 wxPyEndAllowThreads(__tstate);
3332 if (PyErr_Occurred()) SWIG_fail;
3333 }
3334 resultobj = PyInt_FromLong((long)result);
3335 return resultobj;
3336 fail:
3337 return NULL;
3338 }
3339
3340
3341 static PyObject *_wrap_Gauge_SetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3342 PyObject *resultobj;
3343 wxGauge *arg1 = (wxGauge *) 0 ;
3344 int arg2 ;
3345 PyObject * obj0 = 0 ;
3346 char *kwnames[] = {
3347 (char *) "self",(char *) "w", NULL
3348 };
3349
3350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetShadowWidth",kwnames,&obj0,&arg2)) goto fail;
3351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3352 {
3353 PyThreadState* __tstate = wxPyBeginAllowThreads();
3354 (arg1)->SetShadowWidth(arg2);
3355
3356 wxPyEndAllowThreads(__tstate);
3357 if (PyErr_Occurred()) SWIG_fail;
3358 }
3359 Py_INCREF(Py_None); resultobj = Py_None;
3360 return resultobj;
3361 fail:
3362 return NULL;
3363 }
3364
3365
3366 static PyObject *_wrap_Gauge_GetShadowWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
3367 PyObject *resultobj;
3368 wxGauge *arg1 = (wxGauge *) 0 ;
3369 int result;
3370 PyObject * obj0 = 0 ;
3371 char *kwnames[] = {
3372 (char *) "self", NULL
3373 };
3374
3375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetShadowWidth",kwnames,&obj0)) goto fail;
3376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3377 {
3378 PyThreadState* __tstate = wxPyBeginAllowThreads();
3379 result = (int)((wxGauge const *)arg1)->GetShadowWidth();
3380
3381 wxPyEndAllowThreads(__tstate);
3382 if (PyErr_Occurred()) SWIG_fail;
3383 }
3384 resultobj = PyInt_FromLong((long)result);
3385 return resultobj;
3386 fail:
3387 return NULL;
3388 }
3389
3390
3391 static PyObject *_wrap_Gauge_SetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3392 PyObject *resultobj;
3393 wxGauge *arg1 = (wxGauge *) 0 ;
3394 int arg2 ;
3395 PyObject * obj0 = 0 ;
3396 char *kwnames[] = {
3397 (char *) "self",(char *) "w", NULL
3398 };
3399
3400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Gauge_SetBezelFace",kwnames,&obj0,&arg2)) goto fail;
3401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3402 {
3403 PyThreadState* __tstate = wxPyBeginAllowThreads();
3404 (arg1)->SetBezelFace(arg2);
3405
3406 wxPyEndAllowThreads(__tstate);
3407 if (PyErr_Occurred()) SWIG_fail;
3408 }
3409 Py_INCREF(Py_None); resultobj = Py_None;
3410 return resultobj;
3411 fail:
3412 return NULL;
3413 }
3414
3415
3416 static PyObject *_wrap_Gauge_GetBezelFace(PyObject *self, PyObject *args, PyObject *kwargs) {
3417 PyObject *resultobj;
3418 wxGauge *arg1 = (wxGauge *) 0 ;
3419 int result;
3420 PyObject * obj0 = 0 ;
3421 char *kwnames[] = {
3422 (char *) "self", NULL
3423 };
3424
3425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Gauge_GetBezelFace",kwnames,&obj0)) goto fail;
3426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGauge,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3427 {
3428 PyThreadState* __tstate = wxPyBeginAllowThreads();
3429 result = (int)((wxGauge const *)arg1)->GetBezelFace();
3430
3431 wxPyEndAllowThreads(__tstate);
3432 if (PyErr_Occurred()) SWIG_fail;
3433 }
3434 resultobj = PyInt_FromLong((long)result);
3435 return resultobj;
3436 fail:
3437 return NULL;
3438 }
3439
3440
3441 static PyObject * Gauge_swigregister(PyObject *self, PyObject *args) {
3442 PyObject *obj;
3443 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3444 SWIG_TypeClientData(SWIGTYPE_p_wxGauge, obj);
3445 Py_INCREF(obj);
3446 return Py_BuildValue((char *)"");
3447 }
3448 static PyObject *_wrap_new_StaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3449 PyObject *resultobj;
3450 wxWindow *arg1 = (wxWindow *) 0 ;
3451 int arg2 ;
3452 wxString *arg3 = 0 ;
3453 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3454 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3455 wxSize const &arg5_defvalue = wxDefaultSize ;
3456 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3457 long arg6 = (long) 0 ;
3458 wxString const &arg7_defvalue = wxPyStaticBoxNameStr ;
3459 wxString *arg7 = (wxString *) &arg7_defvalue ;
3460 wxStaticBox *result;
3461 bool temp3 = False ;
3462 wxPoint temp4 ;
3463 wxSize temp5 ;
3464 bool temp7 = False ;
3465 PyObject * obj0 = 0 ;
3466 PyObject * obj2 = 0 ;
3467 PyObject * obj3 = 0 ;
3468 PyObject * obj4 = 0 ;
3469 PyObject * obj6 = 0 ;
3470 char *kwnames[] = {
3471 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3472 };
3473
3474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3476 {
3477 arg3 = wxString_in_helper(obj2);
3478 if (arg3 == NULL) SWIG_fail;
3479 temp3 = True;
3480 }
3481 if (obj3) {
3482 {
3483 arg4 = &temp4;
3484 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3485 }
3486 }
3487 if (obj4) {
3488 {
3489 arg5 = &temp5;
3490 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3491 }
3492 }
3493 if (obj6) {
3494 {
3495 arg7 = wxString_in_helper(obj6);
3496 if (arg7 == NULL) SWIG_fail;
3497 temp7 = True;
3498 }
3499 }
3500 {
3501 PyThreadState* __tstate = wxPyBeginAllowThreads();
3502 result = (wxStaticBox *)new wxStaticBox(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3503
3504 wxPyEndAllowThreads(__tstate);
3505 if (PyErr_Occurred()) SWIG_fail;
3506 }
3507 {
3508 resultobj = wxPyMake_wxObject(result);
3509 }
3510 {
3511 if (temp3)
3512 delete arg3;
3513 }
3514 {
3515 if (temp7)
3516 delete arg7;
3517 }
3518 return resultobj;
3519 fail:
3520 {
3521 if (temp3)
3522 delete arg3;
3523 }
3524 {
3525 if (temp7)
3526 delete arg7;
3527 }
3528 return NULL;
3529 }
3530
3531
3532 static PyObject *_wrap_new_PreStaticBox(PyObject *self, PyObject *args, PyObject *kwargs) {
3533 PyObject *resultobj;
3534 wxStaticBox *result;
3535 char *kwnames[] = {
3536 NULL
3537 };
3538
3539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBox",kwnames)) goto fail;
3540 {
3541 PyThreadState* __tstate = wxPyBeginAllowThreads();
3542 result = (wxStaticBox *)new wxStaticBox();
3543
3544 wxPyEndAllowThreads(__tstate);
3545 if (PyErr_Occurred()) SWIG_fail;
3546 }
3547 {
3548 resultobj = wxPyMake_wxObject(result);
3549 }
3550 return resultobj;
3551 fail:
3552 return NULL;
3553 }
3554
3555
3556 static PyObject *_wrap_StaticBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3557 PyObject *resultobj;
3558 wxStaticBox *arg1 = (wxStaticBox *) 0 ;
3559 wxWindow *arg2 = (wxWindow *) 0 ;
3560 int arg3 ;
3561 wxString *arg4 = 0 ;
3562 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3563 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3564 wxSize const &arg6_defvalue = wxDefaultSize ;
3565 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3566 long arg7 = (long) 0 ;
3567 wxString const &arg8_defvalue = wxPyStaticBoxNameStr ;
3568 wxString *arg8 = (wxString *) &arg8_defvalue ;
3569 bool result;
3570 bool temp4 = False ;
3571 wxPoint temp5 ;
3572 wxSize temp6 ;
3573 bool temp8 = False ;
3574 PyObject * obj0 = 0 ;
3575 PyObject * obj1 = 0 ;
3576 PyObject * obj3 = 0 ;
3577 PyObject * obj4 = 0 ;
3578 PyObject * obj5 = 0 ;
3579 PyObject * obj7 = 0 ;
3580 char *kwnames[] = {
3581 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3582 };
3583
3584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3586 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3587 {
3588 arg4 = wxString_in_helper(obj3);
3589 if (arg4 == NULL) SWIG_fail;
3590 temp4 = True;
3591 }
3592 if (obj4) {
3593 {
3594 arg5 = &temp5;
3595 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3596 }
3597 }
3598 if (obj5) {
3599 {
3600 arg6 = &temp6;
3601 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3602 }
3603 }
3604 if (obj7) {
3605 {
3606 arg8 = wxString_in_helper(obj7);
3607 if (arg8 == NULL) SWIG_fail;
3608 temp8 = True;
3609 }
3610 }
3611 {
3612 PyThreadState* __tstate = wxPyBeginAllowThreads();
3613 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3614
3615 wxPyEndAllowThreads(__tstate);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
3618 resultobj = PyInt_FromLong((long)result);
3619 {
3620 if (temp4)
3621 delete arg4;
3622 }
3623 {
3624 if (temp8)
3625 delete arg8;
3626 }
3627 return resultobj;
3628 fail:
3629 {
3630 if (temp4)
3631 delete arg4;
3632 }
3633 {
3634 if (temp8)
3635 delete arg8;
3636 }
3637 return NULL;
3638 }
3639
3640
3641 static PyObject * StaticBox_swigregister(PyObject *self, PyObject *args) {
3642 PyObject *obj;
3643 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3644 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBox, obj);
3645 Py_INCREF(obj);
3646 return Py_BuildValue((char *)"");
3647 }
3648 static PyObject *_wrap_new_StaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3649 PyObject *resultobj;
3650 wxWindow *arg1 = (wxWindow *) 0 ;
3651 int arg2 ;
3652 wxPoint const &arg3_defvalue = wxDefaultPosition ;
3653 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
3654 wxSize const &arg4_defvalue = wxDefaultSize ;
3655 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
3656 long arg5 = (long) wxLI_HORIZONTAL ;
3657 wxString const &arg6_defvalue = wxPyStaticTextNameStr ;
3658 wxString *arg6 = (wxString *) &arg6_defvalue ;
3659 wxStaticLine *result;
3660 wxPoint temp3 ;
3661 wxSize temp4 ;
3662 bool temp6 = False ;
3663 PyObject * obj0 = 0 ;
3664 PyObject * obj2 = 0 ;
3665 PyObject * obj3 = 0 ;
3666 PyObject * obj5 = 0 ;
3667 char *kwnames[] = {
3668 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3669 };
3670
3671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_StaticLine",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
3672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3673 if (obj2) {
3674 {
3675 arg3 = &temp3;
3676 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
3677 }
3678 }
3679 if (obj3) {
3680 {
3681 arg4 = &temp4;
3682 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
3683 }
3684 }
3685 if (obj5) {
3686 {
3687 arg6 = wxString_in_helper(obj5);
3688 if (arg6 == NULL) SWIG_fail;
3689 temp6 = True;
3690 }
3691 }
3692 {
3693 PyThreadState* __tstate = wxPyBeginAllowThreads();
3694 result = (wxStaticLine *)new wxStaticLine(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
3695
3696 wxPyEndAllowThreads(__tstate);
3697 if (PyErr_Occurred()) SWIG_fail;
3698 }
3699 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3700 {
3701 if (temp6)
3702 delete arg6;
3703 }
3704 return resultobj;
3705 fail:
3706 {
3707 if (temp6)
3708 delete arg6;
3709 }
3710 return NULL;
3711 }
3712
3713
3714 static PyObject *_wrap_new_PreStaticLine(PyObject *self, PyObject *args, PyObject *kwargs) {
3715 PyObject *resultobj;
3716 wxStaticLine *result;
3717 char *kwnames[] = {
3718 NULL
3719 };
3720
3721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticLine",kwnames)) goto fail;
3722 {
3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
3724 result = (wxStaticLine *)new wxStaticLine();
3725
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticLine, 1);
3730 return resultobj;
3731 fail:
3732 return NULL;
3733 }
3734
3735
3736 static PyObject *_wrap_StaticLine_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3737 PyObject *resultobj;
3738 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3739 wxWindow *arg2 = (wxWindow *) 0 ;
3740 int arg3 ;
3741 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3742 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3743 wxSize const &arg5_defvalue = wxDefaultSize ;
3744 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3745 long arg6 = (long) wxLI_HORIZONTAL ;
3746 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3747 wxString *arg7 = (wxString *) &arg7_defvalue ;
3748 bool result;
3749 wxPoint temp4 ;
3750 wxSize temp5 ;
3751 bool temp7 = False ;
3752 PyObject * obj0 = 0 ;
3753 PyObject * obj1 = 0 ;
3754 PyObject * obj3 = 0 ;
3755 PyObject * obj4 = 0 ;
3756 PyObject * obj6 = 0 ;
3757 char *kwnames[] = {
3758 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3759 };
3760
3761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:StaticLine_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
3762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3763 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3764 if (obj3) {
3765 {
3766 arg4 = &temp4;
3767 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3768 }
3769 }
3770 if (obj4) {
3771 {
3772 arg5 = &temp5;
3773 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3774 }
3775 }
3776 if (obj6) {
3777 {
3778 arg7 = wxString_in_helper(obj6);
3779 if (arg7 == NULL) SWIG_fail;
3780 temp7 = True;
3781 }
3782 }
3783 {
3784 PyThreadState* __tstate = wxPyBeginAllowThreads();
3785 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3786
3787 wxPyEndAllowThreads(__tstate);
3788 if (PyErr_Occurred()) SWIG_fail;
3789 }
3790 resultobj = PyInt_FromLong((long)result);
3791 {
3792 if (temp7)
3793 delete arg7;
3794 }
3795 return resultobj;
3796 fail:
3797 {
3798 if (temp7)
3799 delete arg7;
3800 }
3801 return NULL;
3802 }
3803
3804
3805 static PyObject *_wrap_StaticLine_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
3806 PyObject *resultobj;
3807 wxStaticLine *arg1 = (wxStaticLine *) 0 ;
3808 bool result;
3809 PyObject * obj0 = 0 ;
3810 char *kwnames[] = {
3811 (char *) "self", NULL
3812 };
3813
3814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticLine_IsVertical",kwnames,&obj0)) goto fail;
3815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticLine,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3816 {
3817 PyThreadState* __tstate = wxPyBeginAllowThreads();
3818 result = (bool)((wxStaticLine const *)arg1)->IsVertical();
3819
3820 wxPyEndAllowThreads(__tstate);
3821 if (PyErr_Occurred()) SWIG_fail;
3822 }
3823 resultobj = PyInt_FromLong((long)result);
3824 return resultobj;
3825 fail:
3826 return NULL;
3827 }
3828
3829
3830 static PyObject *_wrap_StaticLine_GetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
3831 PyObject *resultobj;
3832 int result;
3833 char *kwnames[] = {
3834 NULL
3835 };
3836
3837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":StaticLine_GetDefaultSize",kwnames)) goto fail;
3838 {
3839 PyThreadState* __tstate = wxPyBeginAllowThreads();
3840 result = (int)wxStaticLine::GetDefaultSize();
3841
3842 wxPyEndAllowThreads(__tstate);
3843 if (PyErr_Occurred()) SWIG_fail;
3844 }
3845 resultobj = PyInt_FromLong((long)result);
3846 return resultobj;
3847 fail:
3848 return NULL;
3849 }
3850
3851
3852 static PyObject * StaticLine_swigregister(PyObject *self, PyObject *args) {
3853 PyObject *obj;
3854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3855 SWIG_TypeClientData(SWIGTYPE_p_wxStaticLine, obj);
3856 Py_INCREF(obj);
3857 return Py_BuildValue((char *)"");
3858 }
3859 static PyObject *_wrap_new_StaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3860 PyObject *resultobj;
3861 wxWindow *arg1 = (wxWindow *) 0 ;
3862 int arg2 ;
3863 wxString *arg3 = 0 ;
3864 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3865 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3866 wxSize const &arg5_defvalue = wxDefaultSize ;
3867 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3868 long arg6 = (long) 0 ;
3869 wxString const &arg7_defvalue = wxPyStaticTextNameStr ;
3870 wxString *arg7 = (wxString *) &arg7_defvalue ;
3871 wxStaticText *result;
3872 bool temp3 = False ;
3873 wxPoint temp4 ;
3874 wxSize temp5 ;
3875 bool temp7 = False ;
3876 PyObject * obj0 = 0 ;
3877 PyObject * obj2 = 0 ;
3878 PyObject * obj3 = 0 ;
3879 PyObject * obj4 = 0 ;
3880 PyObject * obj6 = 0 ;
3881 char *kwnames[] = {
3882 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3883 };
3884
3885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticText",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3887 {
3888 arg3 = wxString_in_helper(obj2);
3889 if (arg3 == NULL) SWIG_fail;
3890 temp3 = True;
3891 }
3892 if (obj3) {
3893 {
3894 arg4 = &temp4;
3895 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3896 }
3897 }
3898 if (obj4) {
3899 {
3900 arg5 = &temp5;
3901 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3902 }
3903 }
3904 if (obj6) {
3905 {
3906 arg7 = wxString_in_helper(obj6);
3907 if (arg7 == NULL) SWIG_fail;
3908 temp7 = True;
3909 }
3910 }
3911 {
3912 PyThreadState* __tstate = wxPyBeginAllowThreads();
3913 result = (wxStaticText *)new wxStaticText(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3914
3915 wxPyEndAllowThreads(__tstate);
3916 if (PyErr_Occurred()) SWIG_fail;
3917 }
3918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3919 {
3920 if (temp3)
3921 delete arg3;
3922 }
3923 {
3924 if (temp7)
3925 delete arg7;
3926 }
3927 return resultobj;
3928 fail:
3929 {
3930 if (temp3)
3931 delete arg3;
3932 }
3933 {
3934 if (temp7)
3935 delete arg7;
3936 }
3937 return NULL;
3938 }
3939
3940
3941 static PyObject *_wrap_new_PreStaticText(PyObject *self, PyObject *args, PyObject *kwargs) {
3942 PyObject *resultobj;
3943 wxStaticText *result;
3944 char *kwnames[] = {
3945 NULL
3946 };
3947
3948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticText",kwnames)) goto fail;
3949 {
3950 PyThreadState* __tstate = wxPyBeginAllowThreads();
3951 result = (wxStaticText *)new wxStaticText();
3952
3953 wxPyEndAllowThreads(__tstate);
3954 if (PyErr_Occurred()) SWIG_fail;
3955 }
3956 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticText, 1);
3957 return resultobj;
3958 fail:
3959 return NULL;
3960 }
3961
3962
3963 static PyObject *_wrap_StaticText_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3964 PyObject *resultobj;
3965 wxStaticText *arg1 = (wxStaticText *) 0 ;
3966 wxWindow *arg2 = (wxWindow *) 0 ;
3967 int arg3 ;
3968 wxString *arg4 = 0 ;
3969 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3970 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3971 wxSize const &arg6_defvalue = wxDefaultSize ;
3972 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3973 long arg7 = (long) 0 ;
3974 wxString const &arg8_defvalue = wxPyStaticTextNameStr ;
3975 wxString *arg8 = (wxString *) &arg8_defvalue ;
3976 bool result;
3977 bool temp4 = False ;
3978 wxPoint temp5 ;
3979 wxSize temp6 ;
3980 bool temp8 = False ;
3981 PyObject * obj0 = 0 ;
3982 PyObject * obj1 = 0 ;
3983 PyObject * obj3 = 0 ;
3984 PyObject * obj4 = 0 ;
3985 PyObject * obj5 = 0 ;
3986 PyObject * obj7 = 0 ;
3987 char *kwnames[] = {
3988 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3989 };
3990
3991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticText_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticText,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3993 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3994 {
3995 arg4 = wxString_in_helper(obj3);
3996 if (arg4 == NULL) SWIG_fail;
3997 temp4 = True;
3998 }
3999 if (obj4) {
4000 {
4001 arg5 = &temp5;
4002 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4003 }
4004 }
4005 if (obj5) {
4006 {
4007 arg6 = &temp6;
4008 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4009 }
4010 }
4011 if (obj7) {
4012 {
4013 arg8 = wxString_in_helper(obj7);
4014 if (arg8 == NULL) SWIG_fail;
4015 temp8 = True;
4016 }
4017 }
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4021
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 }
4025 resultobj = PyInt_FromLong((long)result);
4026 {
4027 if (temp4)
4028 delete arg4;
4029 }
4030 {
4031 if (temp8)
4032 delete arg8;
4033 }
4034 return resultobj;
4035 fail:
4036 {
4037 if (temp4)
4038 delete arg4;
4039 }
4040 {
4041 if (temp8)
4042 delete arg8;
4043 }
4044 return NULL;
4045 }
4046
4047
4048 static PyObject * StaticText_swigregister(PyObject *self, PyObject *args) {
4049 PyObject *obj;
4050 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4051 SWIG_TypeClientData(SWIGTYPE_p_wxStaticText, obj);
4052 Py_INCREF(obj);
4053 return Py_BuildValue((char *)"");
4054 }
4055 static PyObject *_wrap_new_StaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4056 PyObject *resultobj;
4057 wxWindow *arg1 = (wxWindow *) 0 ;
4058 int arg2 ;
4059 wxBitmap *arg3 = 0 ;
4060 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4061 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4062 wxSize const &arg5_defvalue = wxDefaultSize ;
4063 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4064 long arg6 = (long) 0 ;
4065 wxString const &arg7_defvalue = wxPyStaticBitmapNameStr ;
4066 wxString *arg7 = (wxString *) &arg7_defvalue ;
4067 wxStaticBitmap *result;
4068 wxPoint temp4 ;
4069 wxSize temp5 ;
4070 bool temp7 = False ;
4071 PyObject * obj0 = 0 ;
4072 PyObject * obj2 = 0 ;
4073 PyObject * obj3 = 0 ;
4074 PyObject * obj4 = 0 ;
4075 PyObject * obj6 = 0 ;
4076 char *kwnames[] = {
4077 (char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4078 };
4079
4080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_StaticBitmap",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4082 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4083 if (arg3 == NULL) {
4084 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4085 }
4086 if (obj3) {
4087 {
4088 arg4 = &temp4;
4089 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4090 }
4091 }
4092 if (obj4) {
4093 {
4094 arg5 = &temp5;
4095 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4096 }
4097 }
4098 if (obj6) {
4099 {
4100 arg7 = wxString_in_helper(obj6);
4101 if (arg7 == NULL) SWIG_fail;
4102 temp7 = True;
4103 }
4104 }
4105 {
4106 PyThreadState* __tstate = wxPyBeginAllowThreads();
4107 result = (wxStaticBitmap *)new wxStaticBitmap(arg1,arg2,(wxBitmap const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4108
4109 wxPyEndAllowThreads(__tstate);
4110 if (PyErr_Occurred()) SWIG_fail;
4111 }
4112 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4113 {
4114 if (temp7)
4115 delete arg7;
4116 }
4117 return resultobj;
4118 fail:
4119 {
4120 if (temp7)
4121 delete arg7;
4122 }
4123 return NULL;
4124 }
4125
4126
4127 static PyObject *_wrap_new_PreStaticBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4128 PyObject *resultobj;
4129 wxStaticBitmap *result;
4130 char *kwnames[] = {
4131 NULL
4132 };
4133
4134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStaticBitmap",kwnames)) goto fail;
4135 {
4136 PyThreadState* __tstate = wxPyBeginAllowThreads();
4137 result = (wxStaticBitmap *)new wxStaticBitmap();
4138
4139 wxPyEndAllowThreads(__tstate);
4140 if (PyErr_Occurred()) SWIG_fail;
4141 }
4142 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxStaticBitmap, 1);
4143 return resultobj;
4144 fail:
4145 return NULL;
4146 }
4147
4148
4149 static PyObject *_wrap_StaticBitmap_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4150 PyObject *resultobj;
4151 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4152 wxWindow *arg2 = (wxWindow *) 0 ;
4153 int arg3 ;
4154 wxBitmap *arg4 = 0 ;
4155 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4156 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4157 wxSize const &arg6_defvalue = wxDefaultSize ;
4158 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4159 long arg7 = (long) 0 ;
4160 wxString const &arg8_defvalue = wxPyStaticBitmapNameStr ;
4161 wxString *arg8 = (wxString *) &arg8_defvalue ;
4162 bool result;
4163 wxPoint temp5 ;
4164 wxSize temp6 ;
4165 bool temp8 = False ;
4166 PyObject * obj0 = 0 ;
4167 PyObject * obj1 = 0 ;
4168 PyObject * obj3 = 0 ;
4169 PyObject * obj4 = 0 ;
4170 PyObject * obj5 = 0 ;
4171 PyObject * obj7 = 0 ;
4172 char *kwnames[] = {
4173 (char *) "self",(char *) "parent",(char *) "id",(char *) "bitmap",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4174 };
4175
4176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:StaticBitmap_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4178 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4179 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4180 if (arg4 == NULL) {
4181 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4182 }
4183 if (obj4) {
4184 {
4185 arg5 = &temp5;
4186 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4187 }
4188 }
4189 if (obj5) {
4190 {
4191 arg6 = &temp6;
4192 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4193 }
4194 }
4195 if (obj7) {
4196 {
4197 arg8 = wxString_in_helper(obj7);
4198 if (arg8 == NULL) SWIG_fail;
4199 temp8 = True;
4200 }
4201 }
4202 {
4203 PyThreadState* __tstate = wxPyBeginAllowThreads();
4204 result = (bool)(arg1)->Create(arg2,arg3,(wxBitmap const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4205
4206 wxPyEndAllowThreads(__tstate);
4207 if (PyErr_Occurred()) SWIG_fail;
4208 }
4209 resultobj = PyInt_FromLong((long)result);
4210 {
4211 if (temp8)
4212 delete arg8;
4213 }
4214 return resultobj;
4215 fail:
4216 {
4217 if (temp8)
4218 delete arg8;
4219 }
4220 return NULL;
4221 }
4222
4223
4224 static PyObject *_wrap_StaticBitmap_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4225 PyObject *resultobj;
4226 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4227 wxBitmap result;
4228 PyObject * obj0 = 0 ;
4229 char *kwnames[] = {
4230 (char *) "self", NULL
4231 };
4232
4233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StaticBitmap_GetBitmap",kwnames,&obj0)) goto fail;
4234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4235 {
4236 PyThreadState* __tstate = wxPyBeginAllowThreads();
4237 result = (arg1)->GetBitmap();
4238
4239 wxPyEndAllowThreads(__tstate);
4240 if (PyErr_Occurred()) SWIG_fail;
4241 }
4242 {
4243 wxBitmap * resultptr;
4244 resultptr = new wxBitmap((wxBitmap &) result);
4245 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
4246 }
4247 return resultobj;
4248 fail:
4249 return NULL;
4250 }
4251
4252
4253 static PyObject *_wrap_StaticBitmap_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4254 PyObject *resultobj;
4255 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4256 wxBitmap *arg2 = 0 ;
4257 PyObject * obj0 = 0 ;
4258 PyObject * obj1 = 0 ;
4259 char *kwnames[] = {
4260 (char *) "self",(char *) "bitmap", NULL
4261 };
4262
4263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4265 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4266 if (arg2 == NULL) {
4267 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4268 }
4269 {
4270 PyThreadState* __tstate = wxPyBeginAllowThreads();
4271 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4272
4273 wxPyEndAllowThreads(__tstate);
4274 if (PyErr_Occurred()) SWIG_fail;
4275 }
4276 Py_INCREF(Py_None); resultobj = Py_None;
4277 return resultobj;
4278 fail:
4279 return NULL;
4280 }
4281
4282
4283 static PyObject *_wrap_StaticBitmap_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
4284 PyObject *resultobj;
4285 wxStaticBitmap *arg1 = (wxStaticBitmap *) 0 ;
4286 wxIcon *arg2 = 0 ;
4287 PyObject * obj0 = 0 ;
4288 PyObject * obj1 = 0 ;
4289 char *kwnames[] = {
4290 (char *) "self",(char *) "icon", NULL
4291 };
4292
4293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StaticBitmap_SetIcon",kwnames,&obj0,&obj1)) goto fail;
4294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStaticBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4295 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4296 if (arg2 == NULL) {
4297 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4298 }
4299 {
4300 PyThreadState* __tstate = wxPyBeginAllowThreads();
4301 (arg1)->SetIcon((wxIcon const &)*arg2);
4302
4303 wxPyEndAllowThreads(__tstate);
4304 if (PyErr_Occurred()) SWIG_fail;
4305 }
4306 Py_INCREF(Py_None); resultobj = Py_None;
4307 return resultobj;
4308 fail:
4309 return NULL;
4310 }
4311
4312
4313 static PyObject * StaticBitmap_swigregister(PyObject *self, PyObject *args) {
4314 PyObject *obj;
4315 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4316 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBitmap, obj);
4317 Py_INCREF(obj);
4318 return Py_BuildValue((char *)"");
4319 }
4320 static PyObject *_wrap_new_ListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4321 PyObject *resultobj;
4322 wxWindow *arg1 = (wxWindow *) 0 ;
4323 int arg2 ;
4324 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4325 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4326 wxSize const &arg4_defvalue = wxDefaultSize ;
4327 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4328 int arg5 = (int) 0 ;
4329 wxString *arg6 = (wxString *) NULL ;
4330 long arg7 = (long) 0 ;
4331 wxValidator const &arg8_defvalue = wxDefaultValidator ;
4332 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
4333 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
4334 wxString *arg9 = (wxString *) &arg9_defvalue ;
4335 wxListBox *result;
4336 wxPoint temp3 ;
4337 wxSize temp4 ;
4338 bool temp8 = False ;
4339 PyObject * obj0 = 0 ;
4340 PyObject * obj2 = 0 ;
4341 PyObject * obj3 = 0 ;
4342 PyObject * obj4 = 0 ;
4343 PyObject * obj6 = 0 ;
4344 PyObject * obj7 = 0 ;
4345 char *kwnames[] = {
4346 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4347 };
4348
4349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_ListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
4350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4351 if (obj2) {
4352 {
4353 arg3 = &temp3;
4354 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4355 }
4356 }
4357 if (obj3) {
4358 {
4359 arg4 = &temp4;
4360 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4361 }
4362 }
4363 if (obj4) {
4364 {
4365 arg5 = PyList_Size(obj4);
4366 arg6 = wxString_LIST_helper(obj4);
4367 if (arg6 == NULL) SWIG_fail;
4368 }
4369 }
4370 if (obj6) {
4371 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4372 if (arg8 == NULL) {
4373 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4374 }
4375 }
4376 if (obj7) {
4377 {
4378 arg9 = wxString_in_helper(obj7);
4379 if (arg9 == NULL) SWIG_fail;
4380 temp8 = True;
4381 }
4382 }
4383 {
4384 PyThreadState* __tstate = wxPyBeginAllowThreads();
4385 result = (wxListBox *)new wxListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
4386
4387 wxPyEndAllowThreads(__tstate);
4388 if (PyErr_Occurred()) SWIG_fail;
4389 }
4390 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4391 {
4392 if (arg6) delete [] arg6;
4393 }
4394 {
4395 if (temp8)
4396 delete arg9;
4397 }
4398 return resultobj;
4399 fail:
4400 {
4401 if (arg6) delete [] arg6;
4402 }
4403 {
4404 if (temp8)
4405 delete arg9;
4406 }
4407 return NULL;
4408 }
4409
4410
4411 static PyObject *_wrap_new_PreListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
4412 PyObject *resultobj;
4413 wxListBox *result;
4414 char *kwnames[] = {
4415 NULL
4416 };
4417
4418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListBox",kwnames)) goto fail;
4419 {
4420 PyThreadState* __tstate = wxPyBeginAllowThreads();
4421 result = (wxListBox *)new wxListBox();
4422
4423 wxPyEndAllowThreads(__tstate);
4424 if (PyErr_Occurred()) SWIG_fail;
4425 }
4426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListBox, 1);
4427 return resultobj;
4428 fail:
4429 return NULL;
4430 }
4431
4432
4433 static PyObject *_wrap_ListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj;
4435 wxListBox *arg1 = (wxListBox *) 0 ;
4436 wxWindow *arg2 = (wxWindow *) 0 ;
4437 int arg3 ;
4438 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4439 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4440 wxSize const &arg5_defvalue = wxDefaultSize ;
4441 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4442 int arg6 = (int) 0 ;
4443 wxString *arg7 = (wxString *) NULL ;
4444 long arg8 = (long) 0 ;
4445 wxValidator const &arg9_defvalue = wxDefaultValidator ;
4446 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
4447 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
4448 wxString *arg10 = (wxString *) &arg10_defvalue ;
4449 bool result;
4450 wxPoint temp4 ;
4451 wxSize temp5 ;
4452 bool temp9 = False ;
4453 PyObject * obj0 = 0 ;
4454 PyObject * obj1 = 0 ;
4455 PyObject * obj3 = 0 ;
4456 PyObject * obj4 = 0 ;
4457 PyObject * obj5 = 0 ;
4458 PyObject * obj7 = 0 ;
4459 PyObject * obj8 = 0 ;
4460 char *kwnames[] = {
4461 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
4462 };
4463
4464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:ListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
4465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4466 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4467 if (obj3) {
4468 {
4469 arg4 = &temp4;
4470 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4471 }
4472 }
4473 if (obj4) {
4474 {
4475 arg5 = &temp5;
4476 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4477 }
4478 }
4479 if (obj5) {
4480 {
4481 arg6 = PyList_Size(obj5);
4482 arg7 = wxString_LIST_helper(obj5);
4483 if (arg7 == NULL) SWIG_fail;
4484 }
4485 }
4486 if (obj7) {
4487 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4488 if (arg9 == NULL) {
4489 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4490 }
4491 }
4492 if (obj8) {
4493 {
4494 arg10 = wxString_in_helper(obj8);
4495 if (arg10 == NULL) SWIG_fail;
4496 temp9 = True;
4497 }
4498 }
4499 {
4500 PyThreadState* __tstate = wxPyBeginAllowThreads();
4501 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
4502
4503 wxPyEndAllowThreads(__tstate);
4504 if (PyErr_Occurred()) SWIG_fail;
4505 }
4506 resultobj = PyInt_FromLong((long)result);
4507 {
4508 if (arg7) delete [] arg7;
4509 }
4510 {
4511 if (temp9)
4512 delete arg10;
4513 }
4514 return resultobj;
4515 fail:
4516 {
4517 if (arg7) delete [] arg7;
4518 }
4519 {
4520 if (temp9)
4521 delete arg10;
4522 }
4523 return NULL;
4524 }
4525
4526
4527 static PyObject *_wrap_ListBox_Insert(PyObject *self, PyObject *args, PyObject *kwargs) {
4528 PyObject *resultobj;
4529 wxListBox *arg1 = (wxListBox *) 0 ;
4530 wxString *arg2 = 0 ;
4531 int arg3 ;
4532 PyObject *arg4 = (PyObject *) NULL ;
4533 bool temp2 = False ;
4534 PyObject * obj0 = 0 ;
4535 PyObject * obj1 = 0 ;
4536 PyObject * obj3 = 0 ;
4537 char *kwnames[] = {
4538 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
4539 };
4540
4541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|O:ListBox_Insert",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
4542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4543 {
4544 arg2 = wxString_in_helper(obj1);
4545 if (arg2 == NULL) SWIG_fail;
4546 temp2 = True;
4547 }
4548 if (obj3) {
4549 arg4 = obj3;
4550 }
4551 {
4552 PyThreadState* __tstate = wxPyBeginAllowThreads();
4553 wxListBox_Insert(arg1,(wxString const &)*arg2,arg3,arg4);
4554
4555 wxPyEndAllowThreads(__tstate);
4556 if (PyErr_Occurred()) SWIG_fail;
4557 }
4558 Py_INCREF(Py_None); resultobj = Py_None;
4559 {
4560 if (temp2)
4561 delete arg2;
4562 }
4563 return resultobj;
4564 fail:
4565 {
4566 if (temp2)
4567 delete arg2;
4568 }
4569 return NULL;
4570 }
4571
4572
4573 static PyObject *_wrap_ListBox_InsertItems(PyObject *self, PyObject *args, PyObject *kwargs) {
4574 PyObject *resultobj;
4575 wxListBox *arg1 = (wxListBox *) 0 ;
4576 wxArrayString *arg2 = 0 ;
4577 int arg3 ;
4578 PyObject * obj0 = 0 ;
4579 PyObject * obj1 = 0 ;
4580 char *kwnames[] = {
4581 (char *) "self",(char *) "items",(char *) "pos", NULL
4582 };
4583
4584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListBox_InsertItems",kwnames,&obj0,&obj1,&arg3)) goto fail;
4585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4586 {
4587 if (! PySequence_Check(obj1)) {
4588 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4589 SWIG_fail;
4590 }
4591 arg2 = new wxArrayString;
4592 int i, len=PySequence_Length(obj1);
4593 for (i=0; i<len; i++) {
4594 PyObject* item = PySequence_GetItem(obj1, i);
4595 #if wxUSE_UNICODE
4596 PyObject* str = PyObject_Unicode(item);
4597 #else
4598 PyObject* str = PyObject_Str(item);
4599 #endif
4600 arg2->Add(Py2wxString(str));
4601 Py_DECREF(item);
4602 Py_DECREF(str);
4603 }
4604 }
4605 {
4606 PyThreadState* __tstate = wxPyBeginAllowThreads();
4607 (arg1)->InsertItems((wxArrayString const &)*arg2,arg3);
4608
4609 wxPyEndAllowThreads(__tstate);
4610 if (PyErr_Occurred()) SWIG_fail;
4611 }
4612 Py_INCREF(Py_None); resultobj = Py_None;
4613 {
4614 if (arg2) delete arg2;
4615 }
4616 return resultobj;
4617 fail:
4618 {
4619 if (arg2) delete arg2;
4620 }
4621 return NULL;
4622 }
4623
4624
4625 static PyObject *_wrap_ListBox_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
4626 PyObject *resultobj;
4627 wxListBox *arg1 = (wxListBox *) 0 ;
4628 wxArrayString *arg2 = 0 ;
4629 PyObject * obj0 = 0 ;
4630 PyObject * obj1 = 0 ;
4631 char *kwnames[] = {
4632 (char *) "self",(char *) "items", NULL
4633 };
4634
4635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_Set",kwnames,&obj0,&obj1)) goto fail;
4636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4637 {
4638 if (! PySequence_Check(obj1)) {
4639 PyErr_SetString(PyExc_TypeError, "Sequence of strings expected.");
4640 SWIG_fail;
4641 }
4642 arg2 = new wxArrayString;
4643 int i, len=PySequence_Length(obj1);
4644 for (i=0; i<len; i++) {
4645 PyObject* item = PySequence_GetItem(obj1, i);
4646 #if wxUSE_UNICODE
4647 PyObject* str = PyObject_Unicode(item);
4648 #else
4649 PyObject* str = PyObject_Str(item);
4650 #endif
4651 arg2->Add(Py2wxString(str));
4652 Py_DECREF(item);
4653 Py_DECREF(str);
4654 }
4655 }
4656 {
4657 PyThreadState* __tstate = wxPyBeginAllowThreads();
4658 (arg1)->Set((wxArrayString const &)*arg2);
4659
4660 wxPyEndAllowThreads(__tstate);
4661 if (PyErr_Occurred()) SWIG_fail;
4662 }
4663 Py_INCREF(Py_None); resultobj = Py_None;
4664 {
4665 if (arg2) delete arg2;
4666 }
4667 return resultobj;
4668 fail:
4669 {
4670 if (arg2) delete arg2;
4671 }
4672 return NULL;
4673 }
4674
4675
4676 static PyObject *_wrap_ListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
4677 PyObject *resultobj;
4678 wxListBox *arg1 = (wxListBox *) 0 ;
4679 int arg2 ;
4680 bool result;
4681 PyObject * obj0 = 0 ;
4682 char *kwnames[] = {
4683 (char *) "self",(char *) "n", NULL
4684 };
4685
4686 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_IsSelected",kwnames,&obj0,&arg2)) goto fail;
4687 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4688 {
4689 PyThreadState* __tstate = wxPyBeginAllowThreads();
4690 result = (bool)((wxListBox const *)arg1)->IsSelected(arg2);
4691
4692 wxPyEndAllowThreads(__tstate);
4693 if (PyErr_Occurred()) SWIG_fail;
4694 }
4695 resultobj = PyInt_FromLong((long)result);
4696 return resultobj;
4697 fail:
4698 return NULL;
4699 }
4700
4701
4702 static PyObject *_wrap_ListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4703 PyObject *resultobj;
4704 wxListBox *arg1 = (wxListBox *) 0 ;
4705 int arg2 ;
4706 bool arg3 = (bool) True ;
4707 PyObject * obj0 = 0 ;
4708 PyObject * obj2 = 0 ;
4709 char *kwnames[] = {
4710 (char *) "self",(char *) "n",(char *) "select", NULL
4711 };
4712
4713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ListBox_SetSelection",kwnames,&obj0,&arg2,&obj2)) goto fail;
4714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4715 if (obj2) {
4716 arg3 = PyInt_AsLong(obj2) ? true : false;
4717 if (PyErr_Occurred()) SWIG_fail;
4718 }
4719 {
4720 PyThreadState* __tstate = wxPyBeginAllowThreads();
4721 (arg1)->SetSelection(arg2,arg3);
4722
4723 wxPyEndAllowThreads(__tstate);
4724 if (PyErr_Occurred()) SWIG_fail;
4725 }
4726 Py_INCREF(Py_None); resultobj = Py_None;
4727 return resultobj;
4728 fail:
4729 return NULL;
4730 }
4731
4732
4733 static PyObject *_wrap_ListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
4734 PyObject *resultobj;
4735 wxListBox *arg1 = (wxListBox *) 0 ;
4736 int arg2 ;
4737 PyObject * obj0 = 0 ;
4738 char *kwnames[] = {
4739 (char *) "self",(char *) "n", NULL
4740 };
4741
4742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Select",kwnames,&obj0,&arg2)) goto fail;
4743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4744 {
4745 PyThreadState* __tstate = wxPyBeginAllowThreads();
4746 (arg1)->Select(arg2);
4747
4748 wxPyEndAllowThreads(__tstate);
4749 if (PyErr_Occurred()) SWIG_fail;
4750 }
4751 Py_INCREF(Py_None); resultobj = Py_None;
4752 return resultobj;
4753 fail:
4754 return NULL;
4755 }
4756
4757
4758 static PyObject *_wrap_ListBox_Deselect(PyObject *self, PyObject *args, PyObject *kwargs) {
4759 PyObject *resultobj;
4760 wxListBox *arg1 = (wxListBox *) 0 ;
4761 int arg2 ;
4762 PyObject * obj0 = 0 ;
4763 char *kwnames[] = {
4764 (char *) "self",(char *) "n", NULL
4765 };
4766
4767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_Deselect",kwnames,&obj0,&arg2)) goto fail;
4768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4769 {
4770 PyThreadState* __tstate = wxPyBeginAllowThreads();
4771 (arg1)->Deselect(arg2);
4772
4773 wxPyEndAllowThreads(__tstate);
4774 if (PyErr_Occurred()) SWIG_fail;
4775 }
4776 Py_INCREF(Py_None); resultobj = Py_None;
4777 return resultobj;
4778 fail:
4779 return NULL;
4780 }
4781
4782
4783 static PyObject *_wrap_ListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
4784 PyObject *resultobj;
4785 wxListBox *arg1 = (wxListBox *) 0 ;
4786 int arg2 = (int) -1 ;
4787 PyObject * obj0 = 0 ;
4788 char *kwnames[] = {
4789 (char *) "self",(char *) "itemToLeaveSelected", NULL
4790 };
4791
4792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListBox_DeselectAll",kwnames,&obj0,&arg2)) goto fail;
4793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4794 {
4795 PyThreadState* __tstate = wxPyBeginAllowThreads();
4796 (arg1)->DeselectAll(arg2);
4797
4798 wxPyEndAllowThreads(__tstate);
4799 if (PyErr_Occurred()) SWIG_fail;
4800 }
4801 Py_INCREF(Py_None); resultobj = Py_None;
4802 return resultobj;
4803 fail:
4804 return NULL;
4805 }
4806
4807
4808 static PyObject *_wrap_ListBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
4809 PyObject *resultobj;
4810 wxListBox *arg1 = (wxListBox *) 0 ;
4811 wxString *arg2 = 0 ;
4812 bool arg3 = (bool) True ;
4813 bool result;
4814 bool temp2 = False ;
4815 PyObject * obj0 = 0 ;
4816 PyObject * obj1 = 0 ;
4817 PyObject * obj2 = 0 ;
4818 char *kwnames[] = {
4819 (char *) "self",(char *) "s",(char *) "select", NULL
4820 };
4821
4822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ListBox_SetStringSelection",kwnames,&obj0,&obj1,&obj2)) goto fail;
4823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4824 {
4825 arg2 = wxString_in_helper(obj1);
4826 if (arg2 == NULL) SWIG_fail;
4827 temp2 = True;
4828 }
4829 if (obj2) {
4830 arg3 = PyInt_AsLong(obj2) ? true : false;
4831 if (PyErr_Occurred()) SWIG_fail;
4832 }
4833 {
4834 PyThreadState* __tstate = wxPyBeginAllowThreads();
4835 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2,arg3);
4836
4837 wxPyEndAllowThreads(__tstate);
4838 if (PyErr_Occurred()) SWIG_fail;
4839 }
4840 resultobj = PyInt_FromLong((long)result);
4841 {
4842 if (temp2)
4843 delete arg2;
4844 }
4845 return resultobj;
4846 fail:
4847 {
4848 if (temp2)
4849 delete arg2;
4850 }
4851 return NULL;
4852 }
4853
4854
4855 static PyObject *_wrap_ListBox_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
4856 PyObject *resultobj;
4857 wxListBox *arg1 = (wxListBox *) 0 ;
4858 PyObject *result;
4859 PyObject * obj0 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_GetSelections",kwnames,&obj0)) goto fail;
4865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4866 {
4867 PyThreadState* __tstate = wxPyBeginAllowThreads();
4868 result = (PyObject *)wxListBox_GetSelections(arg1);
4869
4870 wxPyEndAllowThreads(__tstate);
4871 if (PyErr_Occurred()) SWIG_fail;
4872 }
4873 resultobj = result;
4874 return resultobj;
4875 fail:
4876 return NULL;
4877 }
4878
4879
4880 static PyObject *_wrap_ListBox_SetFirstItem(PyObject *self, PyObject *args, PyObject *kwargs) {
4881 PyObject *resultobj;
4882 wxListBox *arg1 = (wxListBox *) 0 ;
4883 int arg2 ;
4884 PyObject * obj0 = 0 ;
4885 char *kwnames[] = {
4886 (char *) "self",(char *) "n", NULL
4887 };
4888
4889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_SetFirstItem",kwnames,&obj0,&arg2)) goto fail;
4890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4891 {
4892 PyThreadState* __tstate = wxPyBeginAllowThreads();
4893 (arg1)->SetFirstItem(arg2);
4894
4895 wxPyEndAllowThreads(__tstate);
4896 if (PyErr_Occurred()) SWIG_fail;
4897 }
4898 Py_INCREF(Py_None); resultobj = Py_None;
4899 return resultobj;
4900 fail:
4901 return NULL;
4902 }
4903
4904
4905 static PyObject *_wrap_ListBox_SetFirstItemStr(PyObject *self, PyObject *args, PyObject *kwargs) {
4906 PyObject *resultobj;
4907 wxListBox *arg1 = (wxListBox *) 0 ;
4908 wxString *arg2 = 0 ;
4909 bool temp2 = False ;
4910 PyObject * obj0 = 0 ;
4911 PyObject * obj1 = 0 ;
4912 char *kwnames[] = {
4913 (char *) "self",(char *) "s", NULL
4914 };
4915
4916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_SetFirstItemStr",kwnames,&obj0,&obj1)) goto fail;
4917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4918 {
4919 arg2 = wxString_in_helper(obj1);
4920 if (arg2 == NULL) SWIG_fail;
4921 temp2 = True;
4922 }
4923 {
4924 PyThreadState* __tstate = wxPyBeginAllowThreads();
4925 (arg1)->SetFirstItem((wxString const &)*arg2);
4926
4927 wxPyEndAllowThreads(__tstate);
4928 if (PyErr_Occurred()) SWIG_fail;
4929 }
4930 Py_INCREF(Py_None); resultobj = Py_None;
4931 {
4932 if (temp2)
4933 delete arg2;
4934 }
4935 return resultobj;
4936 fail:
4937 {
4938 if (temp2)
4939 delete arg2;
4940 }
4941 return NULL;
4942 }
4943
4944
4945 static PyObject *_wrap_ListBox_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4946 PyObject *resultobj;
4947 wxListBox *arg1 = (wxListBox *) 0 ;
4948 int arg2 ;
4949 PyObject * obj0 = 0 ;
4950 char *kwnames[] = {
4951 (char *) "self",(char *) "n", NULL
4952 };
4953
4954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListBox_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
4955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4956 {
4957 PyThreadState* __tstate = wxPyBeginAllowThreads();
4958 (arg1)->EnsureVisible(arg2);
4959
4960 wxPyEndAllowThreads(__tstate);
4961 if (PyErr_Occurred()) SWIG_fail;
4962 }
4963 Py_INCREF(Py_None); resultobj = Py_None;
4964 return resultobj;
4965 fail:
4966 return NULL;
4967 }
4968
4969
4970 static PyObject *_wrap_ListBox_AppendAndEnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
4971 PyObject *resultobj;
4972 wxListBox *arg1 = (wxListBox *) 0 ;
4973 wxString *arg2 = 0 ;
4974 bool temp2 = False ;
4975 PyObject * obj0 = 0 ;
4976 PyObject * obj1 = 0 ;
4977 char *kwnames[] = {
4978 (char *) "self",(char *) "s", NULL
4979 };
4980
4981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListBox_AppendAndEnsureVisible",kwnames,&obj0,&obj1)) goto fail;
4982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4983 {
4984 arg2 = wxString_in_helper(obj1);
4985 if (arg2 == NULL) SWIG_fail;
4986 temp2 = True;
4987 }
4988 {
4989 PyThreadState* __tstate = wxPyBeginAllowThreads();
4990 (arg1)->AppendAndEnsureVisible((wxString const &)*arg2);
4991
4992 wxPyEndAllowThreads(__tstate);
4993 if (PyErr_Occurred()) SWIG_fail;
4994 }
4995 Py_INCREF(Py_None); resultobj = Py_None;
4996 {
4997 if (temp2)
4998 delete arg2;
4999 }
5000 return resultobj;
5001 fail:
5002 {
5003 if (temp2)
5004 delete arg2;
5005 }
5006 return NULL;
5007 }
5008
5009
5010 static PyObject *_wrap_ListBox_IsSorted(PyObject *self, PyObject *args, PyObject *kwargs) {
5011 PyObject *resultobj;
5012 wxListBox *arg1 = (wxListBox *) 0 ;
5013 bool result;
5014 PyObject * obj0 = 0 ;
5015 char *kwnames[] = {
5016 (char *) "self", NULL
5017 };
5018
5019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListBox_IsSorted",kwnames,&obj0)) goto fail;
5020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5021 {
5022 PyThreadState* __tstate = wxPyBeginAllowThreads();
5023 result = (bool)((wxListBox const *)arg1)->IsSorted();
5024
5025 wxPyEndAllowThreads(__tstate);
5026 if (PyErr_Occurred()) SWIG_fail;
5027 }
5028 resultobj = PyInt_FromLong((long)result);
5029 return resultobj;
5030 fail:
5031 return NULL;
5032 }
5033
5034
5035 static PyObject * ListBox_swigregister(PyObject *self, PyObject *args) {
5036 PyObject *obj;
5037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5038 SWIG_TypeClientData(SWIGTYPE_p_wxListBox, obj);
5039 Py_INCREF(obj);
5040 return Py_BuildValue((char *)"");
5041 }
5042 static PyObject *_wrap_new_CheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5043 PyObject *resultobj;
5044 wxWindow *arg1 = (wxWindow *) 0 ;
5045 int arg2 ;
5046 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5047 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5048 wxSize const &arg4_defvalue = wxDefaultSize ;
5049 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5050 int arg5 = (int) 0 ;
5051 wxString *arg6 = (wxString *) NULL ;
5052 long arg7 = (long) 0 ;
5053 wxValidator const &arg8_defvalue = wxDefaultValidator ;
5054 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
5055 wxString const &arg9_defvalue = wxPyListBoxNameStr ;
5056 wxString *arg9 = (wxString *) &arg9_defvalue ;
5057 wxCheckListBox *result;
5058 wxPoint temp3 ;
5059 wxSize temp4 ;
5060 bool temp8 = False ;
5061 PyObject * obj0 = 0 ;
5062 PyObject * obj2 = 0 ;
5063 PyObject * obj3 = 0 ;
5064 PyObject * obj4 = 0 ;
5065 PyObject * obj6 = 0 ;
5066 PyObject * obj7 = 0 ;
5067 char *kwnames[] = {
5068 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5069 };
5070
5071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_CheckListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg7,&obj6,&obj7)) goto fail;
5072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5073 if (obj2) {
5074 {
5075 arg3 = &temp3;
5076 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5077 }
5078 }
5079 if (obj3) {
5080 {
5081 arg4 = &temp4;
5082 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5083 }
5084 }
5085 if (obj4) {
5086 {
5087 arg5 = PyList_Size(obj4);
5088 arg6 = wxString_LIST_helper(obj4);
5089 if (arg6 == NULL) SWIG_fail;
5090 }
5091 }
5092 if (obj6) {
5093 if ((SWIG_ConvertPtr(obj6,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5094 if (arg8 == NULL) {
5095 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5096 }
5097 }
5098 if (obj7) {
5099 {
5100 arg9 = wxString_in_helper(obj7);
5101 if (arg9 == NULL) SWIG_fail;
5102 temp8 = True;
5103 }
5104 }
5105 {
5106 PyThreadState* __tstate = wxPyBeginAllowThreads();
5107 result = (wxCheckListBox *)new wxCheckListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
5108
5109 wxPyEndAllowThreads(__tstate);
5110 if (PyErr_Occurred()) SWIG_fail;
5111 }
5112 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5113 {
5114 if (arg6) delete [] arg6;
5115 }
5116 {
5117 if (temp8)
5118 delete arg9;
5119 }
5120 return resultobj;
5121 fail:
5122 {
5123 if (arg6) delete [] arg6;
5124 }
5125 {
5126 if (temp8)
5127 delete arg9;
5128 }
5129 return NULL;
5130 }
5131
5132
5133 static PyObject *_wrap_new_PreCheckListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
5134 PyObject *resultobj;
5135 wxCheckListBox *result;
5136 char *kwnames[] = {
5137 NULL
5138 };
5139
5140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreCheckListBox",kwnames)) goto fail;
5141 {
5142 PyThreadState* __tstate = wxPyBeginAllowThreads();
5143 result = (wxCheckListBox *)new wxCheckListBox();
5144
5145 wxPyEndAllowThreads(__tstate);
5146 if (PyErr_Occurred()) SWIG_fail;
5147 }
5148 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCheckListBox, 1);
5149 return resultobj;
5150 fail:
5151 return NULL;
5152 }
5153
5154
5155 static PyObject *_wrap_CheckListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5156 PyObject *resultobj;
5157 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5158 wxWindow *arg2 = (wxWindow *) 0 ;
5159 int arg3 ;
5160 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5161 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5162 wxSize const &arg5_defvalue = wxDefaultSize ;
5163 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5164 int arg6 = (int) 0 ;
5165 wxString *arg7 = (wxString *) NULL ;
5166 long arg8 = (long) 0 ;
5167 wxValidator const &arg9_defvalue = wxDefaultValidator ;
5168 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
5169 wxString const &arg10_defvalue = wxPyListBoxNameStr ;
5170 wxString *arg10 = (wxString *) &arg10_defvalue ;
5171 bool result;
5172 wxPoint temp4 ;
5173 wxSize temp5 ;
5174 bool temp9 = False ;
5175 PyObject * obj0 = 0 ;
5176 PyObject * obj1 = 0 ;
5177 PyObject * obj3 = 0 ;
5178 PyObject * obj4 = 0 ;
5179 PyObject * obj5 = 0 ;
5180 PyObject * obj7 = 0 ;
5181 PyObject * obj8 = 0 ;
5182 char *kwnames[] = {
5183 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
5184 };
5185
5186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:CheckListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg8,&obj7,&obj8)) goto fail;
5187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5188 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5189 if (obj3) {
5190 {
5191 arg4 = &temp4;
5192 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5193 }
5194 }
5195 if (obj4) {
5196 {
5197 arg5 = &temp5;
5198 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5199 }
5200 }
5201 if (obj5) {
5202 {
5203 arg6 = PyList_Size(obj5);
5204 arg7 = wxString_LIST_helper(obj5);
5205 if (arg7 == NULL) SWIG_fail;
5206 }
5207 }
5208 if (obj7) {
5209 if ((SWIG_ConvertPtr(obj7,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5210 if (arg9 == NULL) {
5211 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5212 }
5213 }
5214 if (obj8) {
5215 {
5216 arg10 = wxString_in_helper(obj8);
5217 if (arg10 == NULL) SWIG_fail;
5218 temp9 = True;
5219 }
5220 }
5221 {
5222 PyThreadState* __tstate = wxPyBeginAllowThreads();
5223 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
5224
5225 wxPyEndAllowThreads(__tstate);
5226 if (PyErr_Occurred()) SWIG_fail;
5227 }
5228 resultobj = PyInt_FromLong((long)result);
5229 {
5230 if (arg7) delete [] arg7;
5231 }
5232 {
5233 if (temp9)
5234 delete arg10;
5235 }
5236 return resultobj;
5237 fail:
5238 {
5239 if (arg7) delete [] arg7;
5240 }
5241 {
5242 if (temp9)
5243 delete arg10;
5244 }
5245 return NULL;
5246 }
5247
5248
5249 static PyObject *_wrap_CheckListBox_IsChecked(PyObject *self, PyObject *args, PyObject *kwargs) {
5250 PyObject *resultobj;
5251 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5252 int arg2 ;
5253 bool result;
5254 PyObject * obj0 = 0 ;
5255 char *kwnames[] = {
5256 (char *) "self",(char *) "index", NULL
5257 };
5258
5259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CheckListBox_IsChecked",kwnames,&obj0,&arg2)) goto fail;
5260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5261 {
5262 PyThreadState* __tstate = wxPyBeginAllowThreads();
5263 result = (bool)(arg1)->IsChecked(arg2);
5264
5265 wxPyEndAllowThreads(__tstate);
5266 if (PyErr_Occurred()) SWIG_fail;
5267 }
5268 resultobj = PyInt_FromLong((long)result);
5269 return resultobj;
5270 fail:
5271 return NULL;
5272 }
5273
5274
5275 static PyObject *_wrap_CheckListBox_Check(PyObject *self, PyObject *args, PyObject *kwargs) {
5276 PyObject *resultobj;
5277 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5278 int arg2 ;
5279 int arg3 = (int) True ;
5280 PyObject * obj0 = 0 ;
5281 char *kwnames[] = {
5282 (char *) "self",(char *) "index",(char *) "check", NULL
5283 };
5284
5285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|i:CheckListBox_Check",kwnames,&obj0,&arg2,&arg3)) goto fail;
5286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5287 {
5288 PyThreadState* __tstate = wxPyBeginAllowThreads();
5289 (arg1)->Check(arg2,arg3);
5290
5291 wxPyEndAllowThreads(__tstate);
5292 if (PyErr_Occurred()) SWIG_fail;
5293 }
5294 Py_INCREF(Py_None); resultobj = Py_None;
5295 return resultobj;
5296 fail:
5297 return NULL;
5298 }
5299
5300
5301 static PyObject *_wrap_CheckListBox_GetItemHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5302 PyObject *resultobj;
5303 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5304 int result;
5305 PyObject * obj0 = 0 ;
5306 char *kwnames[] = {
5307 (char *) "self", NULL
5308 };
5309
5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CheckListBox_GetItemHeight",kwnames,&obj0)) goto fail;
5311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5312 {
5313 PyThreadState* __tstate = wxPyBeginAllowThreads();
5314 result = (int)(arg1)->GetItemHeight();
5315
5316 wxPyEndAllowThreads(__tstate);
5317 if (PyErr_Occurred()) SWIG_fail;
5318 }
5319 resultobj = PyInt_FromLong((long)result);
5320 return resultobj;
5321 fail:
5322 return NULL;
5323 }
5324
5325
5326 static PyObject *_wrap_CheckListBox_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5327 PyObject *resultobj;
5328 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5329 wxPoint *arg2 = 0 ;
5330 int result;
5331 wxPoint temp2 ;
5332 PyObject * obj0 = 0 ;
5333 PyObject * obj1 = 0 ;
5334 char *kwnames[] = {
5335 (char *) "self",(char *) "pt", NULL
5336 };
5337
5338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CheckListBox_HitTest",kwnames,&obj0,&obj1)) goto fail;
5339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5340 {
5341 arg2 = &temp2;
5342 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
5343 }
5344 {
5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
5346 result = (int)((wxCheckListBox const *)arg1)->HitTest((wxPoint const &)*arg2);
5347
5348 wxPyEndAllowThreads(__tstate);
5349 if (PyErr_Occurred()) SWIG_fail;
5350 }
5351 resultobj = PyInt_FromLong((long)result);
5352 return resultobj;
5353 fail:
5354 return NULL;
5355 }
5356
5357
5358 static PyObject *_wrap_CheckListBox_HitTestXY(PyObject *self, PyObject *args, PyObject *kwargs) {
5359 PyObject *resultobj;
5360 wxCheckListBox *arg1 = (wxCheckListBox *) 0 ;
5361 int arg2 ;
5362 int arg3 ;
5363 int result;
5364 PyObject * obj0 = 0 ;
5365 char *kwnames[] = {
5366 (char *) "self",(char *) "x",(char *) "y", NULL
5367 };
5368
5369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:CheckListBox_HitTestXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
5370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCheckListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5371 {
5372 PyThreadState* __tstate = wxPyBeginAllowThreads();
5373 result = (int)((wxCheckListBox const *)arg1)->HitTest(arg2,arg3);
5374
5375 wxPyEndAllowThreads(__tstate);
5376 if (PyErr_Occurred()) SWIG_fail;
5377 }
5378 resultobj = PyInt_FromLong((long)result);
5379 return resultobj;
5380 fail:
5381 return NULL;
5382 }
5383
5384
5385 static PyObject * CheckListBox_swigregister(PyObject *self, PyObject *args) {
5386 PyObject *obj;
5387 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5388 SWIG_TypeClientData(SWIGTYPE_p_wxCheckListBox, obj);
5389 Py_INCREF(obj);
5390 return Py_BuildValue((char *)"");
5391 }
5392 static PyObject *_wrap_new_TextAttr__SWIG_0(PyObject *self, PyObject *args) {
5393 PyObject *resultobj;
5394 wxTextAttr *result;
5395
5396 if(!PyArg_ParseTuple(args,(char *)":new_TextAttr")) goto fail;
5397 {
5398 PyThreadState* __tstate = wxPyBeginAllowThreads();
5399 result = (wxTextAttr *)new wxTextAttr();
5400
5401 wxPyEndAllowThreads(__tstate);
5402 if (PyErr_Occurred()) SWIG_fail;
5403 }
5404 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5405 return resultobj;
5406 fail:
5407 return NULL;
5408 }
5409
5410
5411 static PyObject *_wrap_new_TextAttr__SWIG_1(PyObject *self, PyObject *args) {
5412 PyObject *resultobj;
5413 wxColour *arg1 = 0 ;
5414 wxColour const &arg2_defvalue = wxNullColour ;
5415 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
5416 wxFont const &arg3_defvalue = wxNullFont ;
5417 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
5418 int arg4 = (int) wxTEXT_ALIGNMENT_DEFAULT ;
5419 wxTextAttr *result;
5420 wxColour temp1 ;
5421 wxColour temp2 ;
5422 PyObject * obj0 = 0 ;
5423 PyObject * obj1 = 0 ;
5424 PyObject * obj2 = 0 ;
5425
5426 if(!PyArg_ParseTuple(args,(char *)"O|OOi:new_TextAttr",&obj0,&obj1,&obj2,&arg4)) goto fail;
5427 {
5428 arg1 = &temp1;
5429 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
5430 }
5431 if (obj1) {
5432 {
5433 arg2 = &temp2;
5434 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5435 }
5436 }
5437 if (obj2) {
5438 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5439 if (arg3 == NULL) {
5440 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5441 }
5442 }
5443 {
5444 PyThreadState* __tstate = wxPyBeginAllowThreads();
5445 result = (wxTextAttr *)new wxTextAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3,(wxTextAttrAlignment )arg4);
5446
5447 wxPyEndAllowThreads(__tstate);
5448 if (PyErr_Occurred()) SWIG_fail;
5449 }
5450 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 1);
5451 return resultobj;
5452 fail:
5453 return NULL;
5454 }
5455
5456
5457 static PyObject *_wrap_new_TextAttr(PyObject *self, PyObject *args) {
5458 int argc;
5459 PyObject *argv[5];
5460 int ii;
5461
5462 argc = PyObject_Length(args);
5463 for (ii = 0; (ii < argc) && (ii < 4); ii++) {
5464 argv[ii] = PyTuple_GetItem(args,ii);
5465 }
5466 if (argc == 0) {
5467 return _wrap_new_TextAttr__SWIG_0(self,args);
5468 }
5469 if ((argc >= 1) && (argc <= 4)) {
5470 int _v;
5471 {
5472 _v = wxColour_typecheck(argv[0]);
5473 }
5474 if (_v) {
5475 if (argc <= 1) {
5476 return _wrap_new_TextAttr__SWIG_1(self,args);
5477 }
5478 {
5479 _v = wxColour_typecheck(argv[1]);
5480 }
5481 if (_v) {
5482 if (argc <= 2) {
5483 return _wrap_new_TextAttr__SWIG_1(self,args);
5484 }
5485 {
5486 void *ptr;
5487 if (SWIG_ConvertPtr(argv[2], (void **) &ptr, SWIGTYPE_p_wxFont, 0) == -1) {
5488 _v = 0;
5489 PyErr_Clear();
5490 } else {
5491 _v = 1;
5492 }
5493 }
5494 if (_v) {
5495 if (argc <= 3) {
5496 return _wrap_new_TextAttr__SWIG_1(self,args);
5497 }
5498 {
5499 _v = (PyInt_Check(argv[3]) || PyLong_Check(argv[3])) ? 1 : 0;
5500 }
5501 if (_v) {
5502 return _wrap_new_TextAttr__SWIG_1(self,args);
5503 }
5504 }
5505 }
5506 }
5507 }
5508
5509 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'new_TextAttr'");
5510 return NULL;
5511 }
5512
5513
5514 static PyObject *_wrap_TextAttr_Init(PyObject *self, PyObject *args, PyObject *kwargs) {
5515 PyObject *resultobj;
5516 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5517 PyObject * obj0 = 0 ;
5518 char *kwnames[] = {
5519 (char *) "self", NULL
5520 };
5521
5522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_Init",kwnames,&obj0)) goto fail;
5523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5524 {
5525 PyThreadState* __tstate = wxPyBeginAllowThreads();
5526 (arg1)->Init();
5527
5528 wxPyEndAllowThreads(__tstate);
5529 if (PyErr_Occurred()) SWIG_fail;
5530 }
5531 Py_INCREF(Py_None); resultobj = Py_None;
5532 return resultobj;
5533 fail:
5534 return NULL;
5535 }
5536
5537
5538 static PyObject *_wrap_TextAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5539 PyObject *resultobj;
5540 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5541 wxColour *arg2 = 0 ;
5542 wxColour temp2 ;
5543 PyObject * obj0 = 0 ;
5544 PyObject * obj1 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "self",(char *) "colText", NULL
5547 };
5548
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
5550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5551 {
5552 arg2 = &temp2;
5553 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5554 }
5555 {
5556 PyThreadState* __tstate = wxPyBeginAllowThreads();
5557 (arg1)->SetTextColour((wxColour const &)*arg2);
5558
5559 wxPyEndAllowThreads(__tstate);
5560 if (PyErr_Occurred()) SWIG_fail;
5561 }
5562 Py_INCREF(Py_None); resultobj = Py_None;
5563 return resultobj;
5564 fail:
5565 return NULL;
5566 }
5567
5568
5569 static PyObject *_wrap_TextAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5570 PyObject *resultobj;
5571 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5572 wxColour *arg2 = 0 ;
5573 wxColour temp2 ;
5574 PyObject * obj0 = 0 ;
5575 PyObject * obj1 = 0 ;
5576 char *kwnames[] = {
5577 (char *) "self",(char *) "colBack", NULL
5578 };
5579
5580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
5581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5582 {
5583 arg2 = &temp2;
5584 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
5585 }
5586 {
5587 PyThreadState* __tstate = wxPyBeginAllowThreads();
5588 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
5589
5590 wxPyEndAllowThreads(__tstate);
5591 if (PyErr_Occurred()) SWIG_fail;
5592 }
5593 Py_INCREF(Py_None); resultobj = Py_None;
5594 return resultobj;
5595 fail:
5596 return NULL;
5597 }
5598
5599
5600 static PyObject *_wrap_TextAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5601 PyObject *resultobj;
5602 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5603 wxFont *arg2 = 0 ;
5604 long arg3 = (long) wxTEXT_ATTR_FONT ;
5605 PyObject * obj0 = 0 ;
5606 PyObject * obj1 = 0 ;
5607 char *kwnames[] = {
5608 (char *) "self",(char *) "font",(char *) "flags", NULL
5609 };
5610
5611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TextAttr_SetFont",kwnames,&obj0,&obj1,&arg3)) goto fail;
5612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5613 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5614 if (arg2 == NULL) {
5615 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
5616 }
5617 {
5618 PyThreadState* __tstate = wxPyBeginAllowThreads();
5619 (arg1)->SetFont((wxFont const &)*arg2,arg3);
5620
5621 wxPyEndAllowThreads(__tstate);
5622 if (PyErr_Occurred()) SWIG_fail;
5623 }
5624 Py_INCREF(Py_None); resultobj = Py_None;
5625 return resultobj;
5626 fail:
5627 return NULL;
5628 }
5629
5630
5631 static PyObject *_wrap_TextAttr_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5632 PyObject *resultobj;
5633 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5634 int arg2 ;
5635 PyObject * obj0 = 0 ;
5636 char *kwnames[] = {
5637 (char *) "self",(char *) "alignment", NULL
5638 };
5639
5640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
5641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5642 {
5643 PyThreadState* __tstate = wxPyBeginAllowThreads();
5644 (arg1)->SetAlignment((wxTextAttrAlignment )arg2);
5645
5646 wxPyEndAllowThreads(__tstate);
5647 if (PyErr_Occurred()) SWIG_fail;
5648 }
5649 Py_INCREF(Py_None); resultobj = Py_None;
5650 return resultobj;
5651 fail:
5652 return NULL;
5653 }
5654
5655
5656 static PyObject *_wrap_TextAttr_SetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5657 PyObject *resultobj;
5658 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5659 wxArrayInt *arg2 = 0 ;
5660 PyObject * obj0 = 0 ;
5661 PyObject * obj1 = 0 ;
5662 char *kwnames[] = {
5663 (char *) "self",(char *) "tabs", NULL
5664 };
5665
5666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextAttr_SetTabs",kwnames,&obj0,&obj1)) goto fail;
5667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5668 {
5669 if (! PySequence_Check(obj1)) {
5670 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
5671 SWIG_fail;
5672 }
5673 arg2 = new wxArrayInt;
5674 int i, len=PySequence_Length(obj1);
5675 for (i=0; i<len; i++) {
5676 PyObject* item = PySequence_GetItem(obj1, i);
5677 PyObject* number = PyNumber_Int(item);
5678 arg2->Add(PyInt_AS_LONG(number));
5679 Py_DECREF(item);
5680 Py_DECREF(number);
5681 }
5682 }
5683 {
5684 PyThreadState* __tstate = wxPyBeginAllowThreads();
5685 (arg1)->SetTabs((wxArrayInt const &)*arg2);
5686
5687 wxPyEndAllowThreads(__tstate);
5688 if (PyErr_Occurred()) SWIG_fail;
5689 }
5690 Py_INCREF(Py_None); resultobj = Py_None;
5691 {
5692 if (arg2) delete arg2;
5693 }
5694 return resultobj;
5695 fail:
5696 {
5697 if (arg2) delete arg2;
5698 }
5699 return NULL;
5700 }
5701
5702
5703 static PyObject *_wrap_TextAttr_SetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5704 PyObject *resultobj;
5705 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5706 int arg2 ;
5707 PyObject * obj0 = 0 ;
5708 char *kwnames[] = {
5709 (char *) "self",(char *) "indent", NULL
5710 };
5711
5712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetLeftIndent",kwnames,&obj0,&arg2)) goto fail;
5713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5714 {
5715 PyThreadState* __tstate = wxPyBeginAllowThreads();
5716 (arg1)->SetLeftIndent(arg2);
5717
5718 wxPyEndAllowThreads(__tstate);
5719 if (PyErr_Occurred()) SWIG_fail;
5720 }
5721 Py_INCREF(Py_None); resultobj = Py_None;
5722 return resultobj;
5723 fail:
5724 return NULL;
5725 }
5726
5727
5728 static PyObject *_wrap_TextAttr_SetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5729 PyObject *resultobj;
5730 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5731 int arg2 ;
5732 PyObject * obj0 = 0 ;
5733 char *kwnames[] = {
5734 (char *) "self",(char *) "indent", NULL
5735 };
5736
5737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:TextAttr_SetRightIndent",kwnames,&obj0,&arg2)) goto fail;
5738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5739 {
5740 PyThreadState* __tstate = wxPyBeginAllowThreads();
5741 (arg1)->SetRightIndent(arg2);
5742
5743 wxPyEndAllowThreads(__tstate);
5744 if (PyErr_Occurred()) SWIG_fail;
5745 }
5746 Py_INCREF(Py_None); resultobj = Py_None;
5747 return resultobj;
5748 fail:
5749 return NULL;
5750 }
5751
5752
5753 static PyObject *_wrap_TextAttr_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
5754 PyObject *resultobj;
5755 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5756 long arg2 ;
5757 PyObject * obj0 = 0 ;
5758 char *kwnames[] = {
5759 (char *) "self",(char *) "flags", NULL
5760 };
5761
5762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_SetFlags",kwnames,&obj0,&arg2)) goto fail;
5763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5764 {
5765 PyThreadState* __tstate = wxPyBeginAllowThreads();
5766 (arg1)->SetFlags(arg2);
5767
5768 wxPyEndAllowThreads(__tstate);
5769 if (PyErr_Occurred()) SWIG_fail;
5770 }
5771 Py_INCREF(Py_None); resultobj = Py_None;
5772 return resultobj;
5773 fail:
5774 return NULL;
5775 }
5776
5777
5778 static PyObject *_wrap_TextAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5779 PyObject *resultobj;
5780 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5781 bool result;
5782 PyObject * obj0 = 0 ;
5783 char *kwnames[] = {
5784 (char *) "self", NULL
5785 };
5786
5787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTextColour",kwnames,&obj0)) goto fail;
5788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5789 {
5790 PyThreadState* __tstate = wxPyBeginAllowThreads();
5791 result = (bool)((wxTextAttr const *)arg1)->HasTextColour();
5792
5793 wxPyEndAllowThreads(__tstate);
5794 if (PyErr_Occurred()) SWIG_fail;
5795 }
5796 resultobj = PyInt_FromLong((long)result);
5797 return resultobj;
5798 fail:
5799 return NULL;
5800 }
5801
5802
5803 static PyObject *_wrap_TextAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5804 PyObject *resultobj;
5805 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5806 bool result;
5807 PyObject * obj0 = 0 ;
5808 char *kwnames[] = {
5809 (char *) "self", NULL
5810 };
5811
5812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
5813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5814 {
5815 PyThreadState* __tstate = wxPyBeginAllowThreads();
5816 result = (bool)((wxTextAttr const *)arg1)->HasBackgroundColour();
5817
5818 wxPyEndAllowThreads(__tstate);
5819 if (PyErr_Occurred()) SWIG_fail;
5820 }
5821 resultobj = PyInt_FromLong((long)result);
5822 return resultobj;
5823 fail:
5824 return NULL;
5825 }
5826
5827
5828 static PyObject *_wrap_TextAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
5829 PyObject *resultobj;
5830 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5831 bool result;
5832 PyObject * obj0 = 0 ;
5833 char *kwnames[] = {
5834 (char *) "self", NULL
5835 };
5836
5837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasFont",kwnames,&obj0)) goto fail;
5838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5839 {
5840 PyThreadState* __tstate = wxPyBeginAllowThreads();
5841 result = (bool)((wxTextAttr const *)arg1)->HasFont();
5842
5843 wxPyEndAllowThreads(__tstate);
5844 if (PyErr_Occurred()) SWIG_fail;
5845 }
5846 resultobj = PyInt_FromLong((long)result);
5847 return resultobj;
5848 fail:
5849 return NULL;
5850 }
5851
5852
5853 static PyObject *_wrap_TextAttr_HasAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
5854 PyObject *resultobj;
5855 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5856 bool result;
5857 PyObject * obj0 = 0 ;
5858 char *kwnames[] = {
5859 (char *) "self", NULL
5860 };
5861
5862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasAlignment",kwnames,&obj0)) goto fail;
5863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5864 {
5865 PyThreadState* __tstate = wxPyBeginAllowThreads();
5866 result = (bool)((wxTextAttr const *)arg1)->HasAlignment();
5867
5868 wxPyEndAllowThreads(__tstate);
5869 if (PyErr_Occurred()) SWIG_fail;
5870 }
5871 resultobj = PyInt_FromLong((long)result);
5872 return resultobj;
5873 fail:
5874 return NULL;
5875 }
5876
5877
5878 static PyObject *_wrap_TextAttr_HasTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
5879 PyObject *resultobj;
5880 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5881 bool result;
5882 PyObject * obj0 = 0 ;
5883 char *kwnames[] = {
5884 (char *) "self", NULL
5885 };
5886
5887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasTabs",kwnames,&obj0)) goto fail;
5888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5889 {
5890 PyThreadState* __tstate = wxPyBeginAllowThreads();
5891 result = (bool)((wxTextAttr const *)arg1)->HasTabs();
5892
5893 wxPyEndAllowThreads(__tstate);
5894 if (PyErr_Occurred()) SWIG_fail;
5895 }
5896 resultobj = PyInt_FromLong((long)result);
5897 return resultobj;
5898 fail:
5899 return NULL;
5900 }
5901
5902
5903 static PyObject *_wrap_TextAttr_HasLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5904 PyObject *resultobj;
5905 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5906 bool result;
5907 PyObject * obj0 = 0 ;
5908 char *kwnames[] = {
5909 (char *) "self", NULL
5910 };
5911
5912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasLeftIndent",kwnames,&obj0)) goto fail;
5913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5914 {
5915 PyThreadState* __tstate = wxPyBeginAllowThreads();
5916 result = (bool)((wxTextAttr const *)arg1)->HasLeftIndent();
5917
5918 wxPyEndAllowThreads(__tstate);
5919 if (PyErr_Occurred()) SWIG_fail;
5920 }
5921 resultobj = PyInt_FromLong((long)result);
5922 return resultobj;
5923 fail:
5924 return NULL;
5925 }
5926
5927
5928 static PyObject *_wrap_TextAttr_HasRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
5929 PyObject *resultobj;
5930 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5931 bool result;
5932 PyObject * obj0 = 0 ;
5933 char *kwnames[] = {
5934 (char *) "self", NULL
5935 };
5936
5937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_HasRightIndent",kwnames,&obj0)) goto fail;
5938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5939 {
5940 PyThreadState* __tstate = wxPyBeginAllowThreads();
5941 result = (bool)((wxTextAttr const *)arg1)->HasRightIndent();
5942
5943 wxPyEndAllowThreads(__tstate);
5944 if (PyErr_Occurred()) SWIG_fail;
5945 }
5946 resultobj = PyInt_FromLong((long)result);
5947 return resultobj;
5948 fail:
5949 return NULL;
5950 }
5951
5952
5953 static PyObject *_wrap_TextAttr_HasFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
5954 PyObject *resultobj;
5955 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5956 long arg2 ;
5957 bool result;
5958 PyObject * obj0 = 0 ;
5959 char *kwnames[] = {
5960 (char *) "self",(char *) "flag", NULL
5961 };
5962
5963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextAttr_HasFlag",kwnames,&obj0,&arg2)) goto fail;
5964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5965 {
5966 PyThreadState* __tstate = wxPyBeginAllowThreads();
5967 result = (bool)((wxTextAttr const *)arg1)->HasFlag(arg2);
5968
5969 wxPyEndAllowThreads(__tstate);
5970 if (PyErr_Occurred()) SWIG_fail;
5971 }
5972 resultobj = PyInt_FromLong((long)result);
5973 return resultobj;
5974 fail:
5975 return NULL;
5976 }
5977
5978
5979 static PyObject *_wrap_TextAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
5980 PyObject *resultobj;
5981 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
5982 wxColour *result;
5983 PyObject * obj0 = 0 ;
5984 char *kwnames[] = {
5985 (char *) "self", NULL
5986 };
5987
5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTextColour",kwnames,&obj0)) goto fail;
5989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5990 {
5991 PyThreadState* __tstate = wxPyBeginAllowThreads();
5992 {
5993 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetTextColour();
5994 result = (wxColour *) &_result_ref;
5995 }
5996
5997 wxPyEndAllowThreads(__tstate);
5998 if (PyErr_Occurred()) SWIG_fail;
5999 }
6000 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6001 return resultobj;
6002 fail:
6003 return NULL;
6004 }
6005
6006
6007 static PyObject *_wrap_TextAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
6008 PyObject *resultobj;
6009 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6010 wxColour *result;
6011 PyObject * obj0 = 0 ;
6012 char *kwnames[] = {
6013 (char *) "self", NULL
6014 };
6015
6016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
6017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6018 {
6019 PyThreadState* __tstate = wxPyBeginAllowThreads();
6020 {
6021 wxColour const &_result_ref = ((wxTextAttr const *)arg1)->GetBackgroundColour();
6022 result = (wxColour *) &_result_ref;
6023 }
6024
6025 wxPyEndAllowThreads(__tstate);
6026 if (PyErr_Occurred()) SWIG_fail;
6027 }
6028 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
6029 return resultobj;
6030 fail:
6031 return NULL;
6032 }
6033
6034
6035 static PyObject *_wrap_TextAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
6036 PyObject *resultobj;
6037 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6038 wxFont *result;
6039 PyObject * obj0 = 0 ;
6040 char *kwnames[] = {
6041 (char *) "self", NULL
6042 };
6043
6044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFont",kwnames,&obj0)) goto fail;
6045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6046 {
6047 PyThreadState* __tstate = wxPyBeginAllowThreads();
6048 {
6049 wxFont const &_result_ref = ((wxTextAttr const *)arg1)->GetFont();
6050 result = (wxFont *) &_result_ref;
6051 }
6052
6053 wxPyEndAllowThreads(__tstate);
6054 if (PyErr_Occurred()) SWIG_fail;
6055 }
6056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFont, 0);
6057 return resultobj;
6058 fail:
6059 return NULL;
6060 }
6061
6062
6063 static PyObject *_wrap_TextAttr_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6064 PyObject *resultobj;
6065 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6066 int result;
6067 PyObject * obj0 = 0 ;
6068 char *kwnames[] = {
6069 (char *) "self", NULL
6070 };
6071
6072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetAlignment",kwnames,&obj0)) goto fail;
6073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6074 {
6075 PyThreadState* __tstate = wxPyBeginAllowThreads();
6076 result = (int)((wxTextAttr const *)arg1)->GetAlignment();
6077
6078 wxPyEndAllowThreads(__tstate);
6079 if (PyErr_Occurred()) SWIG_fail;
6080 }
6081 resultobj = PyInt_FromLong((long)result);
6082 return resultobj;
6083 fail:
6084 return NULL;
6085 }
6086
6087
6088 static PyObject *_wrap_TextAttr_GetTabs(PyObject *self, PyObject *args, PyObject *kwargs) {
6089 PyObject *resultobj;
6090 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6091 wxArrayInt *result;
6092 PyObject * obj0 = 0 ;
6093 char *kwnames[] = {
6094 (char *) "self", NULL
6095 };
6096
6097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetTabs",kwnames,&obj0)) goto fail;
6098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6099 {
6100 PyThreadState* __tstate = wxPyBeginAllowThreads();
6101 {
6102 wxArrayInt const &_result_ref = ((wxTextAttr const *)arg1)->GetTabs();
6103 result = (wxArrayInt *) &_result_ref;
6104 }
6105
6106 wxPyEndAllowThreads(__tstate);
6107 if (PyErr_Occurred()) SWIG_fail;
6108 }
6109 {
6110 resultobj = PyList_New(0);
6111 size_t idx;
6112 for (idx = 0; idx < result->GetCount(); idx += 1) {
6113 PyObject* val = PyInt_FromLong( result->Item(idx) );
6114 PyList_Append(resultobj, val);
6115 Py_DECREF(val);
6116 }
6117 }
6118 return resultobj;
6119 fail:
6120 return NULL;
6121 }
6122
6123
6124 static PyObject *_wrap_TextAttr_GetLeftIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6125 PyObject *resultobj;
6126 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6127 long result;
6128 PyObject * obj0 = 0 ;
6129 char *kwnames[] = {
6130 (char *) "self", NULL
6131 };
6132
6133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetLeftIndent",kwnames,&obj0)) goto fail;
6134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6135 {
6136 PyThreadState* __tstate = wxPyBeginAllowThreads();
6137 result = (long)((wxTextAttr const *)arg1)->GetLeftIndent();
6138
6139 wxPyEndAllowThreads(__tstate);
6140 if (PyErr_Occurred()) SWIG_fail;
6141 }
6142 resultobj = PyInt_FromLong((long)result);
6143 return resultobj;
6144 fail:
6145 return NULL;
6146 }
6147
6148
6149 static PyObject *_wrap_TextAttr_GetRightIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
6150 PyObject *resultobj;
6151 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6152 long result;
6153 PyObject * obj0 = 0 ;
6154 char *kwnames[] = {
6155 (char *) "self", NULL
6156 };
6157
6158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetRightIndent",kwnames,&obj0)) goto fail;
6159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6160 {
6161 PyThreadState* __tstate = wxPyBeginAllowThreads();
6162 result = (long)((wxTextAttr const *)arg1)->GetRightIndent();
6163
6164 wxPyEndAllowThreads(__tstate);
6165 if (PyErr_Occurred()) SWIG_fail;
6166 }
6167 resultobj = PyInt_FromLong((long)result);
6168 return resultobj;
6169 fail:
6170 return NULL;
6171 }
6172
6173
6174 static PyObject *_wrap_TextAttr_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6175 PyObject *resultobj;
6176 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6177 long result;
6178 PyObject * obj0 = 0 ;
6179 char *kwnames[] = {
6180 (char *) "self", NULL
6181 };
6182
6183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_GetFlags",kwnames,&obj0)) goto fail;
6184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6185 {
6186 PyThreadState* __tstate = wxPyBeginAllowThreads();
6187 result = (long)((wxTextAttr const *)arg1)->GetFlags();
6188
6189 wxPyEndAllowThreads(__tstate);
6190 if (PyErr_Occurred()) SWIG_fail;
6191 }
6192 resultobj = PyInt_FromLong((long)result);
6193 return resultobj;
6194 fail:
6195 return NULL;
6196 }
6197
6198
6199 static PyObject *_wrap_TextAttr_IsDefault(PyObject *self, PyObject *args, PyObject *kwargs) {
6200 PyObject *resultobj;
6201 wxTextAttr *arg1 = (wxTextAttr *) 0 ;
6202 bool result;
6203 PyObject * obj0 = 0 ;
6204 char *kwnames[] = {
6205 (char *) "self", NULL
6206 };
6207
6208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextAttr_IsDefault",kwnames,&obj0)) goto fail;
6209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6210 {
6211 PyThreadState* __tstate = wxPyBeginAllowThreads();
6212 result = (bool)((wxTextAttr const *)arg1)->IsDefault();
6213
6214 wxPyEndAllowThreads(__tstate);
6215 if (PyErr_Occurred()) SWIG_fail;
6216 }
6217 resultobj = PyInt_FromLong((long)result);
6218 return resultobj;
6219 fail:
6220 return NULL;
6221 }
6222
6223
6224 static PyObject *_wrap_TextAttr_Combine(PyObject *self, PyObject *args, PyObject *kwargs) {
6225 PyObject *resultobj;
6226 wxTextAttr *arg1 = 0 ;
6227 wxTextAttr *arg2 = 0 ;
6228 wxTextCtrl *arg3 = (wxTextCtrl *) 0 ;
6229 wxTextAttr result;
6230 PyObject * obj0 = 0 ;
6231 PyObject * obj1 = 0 ;
6232 PyObject * obj2 = 0 ;
6233 char *kwnames[] = {
6234 (char *) "attr",(char *) "attrDef",(char *) "text", NULL
6235 };
6236
6237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TextAttr_Combine",kwnames,&obj0,&obj1,&obj2)) goto fail;
6238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6239 if (arg1 == NULL) {
6240 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6241 }
6242 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6243 if (arg2 == NULL) {
6244 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6245 }
6246 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6247 {
6248 PyThreadState* __tstate = wxPyBeginAllowThreads();
6249 result = wxTextAttr::Combine((wxTextAttr const &)*arg1,(wxTextAttr const &)*arg2,(wxTextCtrl const *)arg3);
6250
6251 wxPyEndAllowThreads(__tstate);
6252 if (PyErr_Occurred()) SWIG_fail;
6253 }
6254 {
6255 wxTextAttr * resultptr;
6256 resultptr = new wxTextAttr((wxTextAttr &) result);
6257 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTextAttr, 1);
6258 }
6259 return resultobj;
6260 fail:
6261 return NULL;
6262 }
6263
6264
6265 static PyObject * TextAttr_swigregister(PyObject *self, PyObject *args) {
6266 PyObject *obj;
6267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6268 SWIG_TypeClientData(SWIGTYPE_p_wxTextAttr, obj);
6269 Py_INCREF(obj);
6270 return Py_BuildValue((char *)"");
6271 }
6272 static PyObject *_wrap_new_TextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6273 PyObject *resultobj;
6274 wxWindow *arg1 = (wxWindow *) 0 ;
6275 int arg2 ;
6276 wxString const &arg3_defvalue = wxPyEmptyString ;
6277 wxString *arg3 = (wxString *) &arg3_defvalue ;
6278 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6279 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6280 wxSize const &arg5_defvalue = wxDefaultSize ;
6281 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6282 long arg6 = (long) 0 ;
6283 wxValidator const &arg7_defvalue = wxDefaultValidator ;
6284 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
6285 wxString const &arg8_defvalue = wxPyTextCtrlNameStr ;
6286 wxString *arg8 = (wxString *) &arg8_defvalue ;
6287 wxTextCtrl *result;
6288 bool temp3 = False ;
6289 wxPoint temp4 ;
6290 wxSize temp5 ;
6291 bool temp8 = False ;
6292 PyObject * obj0 = 0 ;
6293 PyObject * obj2 = 0 ;
6294 PyObject * obj3 = 0 ;
6295 PyObject * obj4 = 0 ;
6296 PyObject * obj6 = 0 ;
6297 PyObject * obj7 = 0 ;
6298 char *kwnames[] = {
6299 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6300 };
6301
6302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOOlOO:new_TextCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
6303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6304 if (obj2) {
6305 {
6306 arg3 = wxString_in_helper(obj2);
6307 if (arg3 == NULL) SWIG_fail;
6308 temp3 = True;
6309 }
6310 }
6311 if (obj3) {
6312 {
6313 arg4 = &temp4;
6314 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6315 }
6316 }
6317 if (obj4) {
6318 {
6319 arg5 = &temp5;
6320 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6321 }
6322 }
6323 if (obj6) {
6324 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6325 if (arg7 == NULL) {
6326 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6327 }
6328 }
6329 if (obj7) {
6330 {
6331 arg8 = wxString_in_helper(obj7);
6332 if (arg8 == NULL) SWIG_fail;
6333 temp8 = True;
6334 }
6335 }
6336 {
6337 PyThreadState* __tstate = wxPyBeginAllowThreads();
6338 result = (wxTextCtrl *)new wxTextCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
6339
6340 wxPyEndAllowThreads(__tstate);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 {
6344 resultobj = wxPyMake_wxObject(result);
6345 }
6346 {
6347 if (temp3)
6348 delete arg3;
6349 }
6350 {
6351 if (temp8)
6352 delete arg8;
6353 }
6354 return resultobj;
6355 fail:
6356 {
6357 if (temp3)
6358 delete arg3;
6359 }
6360 {
6361 if (temp8)
6362 delete arg8;
6363 }
6364 return NULL;
6365 }
6366
6367
6368 static PyObject *_wrap_new_PreTextCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
6369 PyObject *resultobj;
6370 wxTextCtrl *result;
6371 char *kwnames[] = {
6372 NULL
6373 };
6374
6375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTextCtrl",kwnames)) goto fail;
6376 {
6377 PyThreadState* __tstate = wxPyBeginAllowThreads();
6378 result = (wxTextCtrl *)new wxTextCtrl();
6379
6380 wxPyEndAllowThreads(__tstate);
6381 if (PyErr_Occurred()) SWIG_fail;
6382 }
6383 {
6384 resultobj = wxPyMake_wxObject(result);
6385 }
6386 return resultobj;
6387 fail:
6388 return NULL;
6389 }
6390
6391
6392 static PyObject *_wrap_TextCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6393 PyObject *resultobj;
6394 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6395 wxWindow *arg2 = (wxWindow *) 0 ;
6396 int arg3 ;
6397 wxString const &arg4_defvalue = wxPyEmptyString ;
6398 wxString *arg4 = (wxString *) &arg4_defvalue ;
6399 wxPoint const &arg5_defvalue = wxDefaultPosition ;
6400 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
6401 wxSize const &arg6_defvalue = wxDefaultSize ;
6402 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
6403 long arg7 = (long) 0 ;
6404 wxValidator const &arg8_defvalue = wxDefaultValidator ;
6405 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
6406 wxString const &arg9_defvalue = wxPyTextCtrlNameStr ;
6407 wxString *arg9 = (wxString *) &arg9_defvalue ;
6408 bool result;
6409 bool temp4 = False ;
6410 wxPoint temp5 ;
6411 wxSize temp6 ;
6412 bool temp9 = False ;
6413 PyObject * obj0 = 0 ;
6414 PyObject * obj1 = 0 ;
6415 PyObject * obj3 = 0 ;
6416 PyObject * obj4 = 0 ;
6417 PyObject * obj5 = 0 ;
6418 PyObject * obj7 = 0 ;
6419 PyObject * obj8 = 0 ;
6420 char *kwnames[] = {
6421 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
6422 };
6423
6424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOOlOO:TextCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
6425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6426 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6427 if (obj3) {
6428 {
6429 arg4 = wxString_in_helper(obj3);
6430 if (arg4 == NULL) SWIG_fail;
6431 temp4 = True;
6432 }
6433 }
6434 if (obj4) {
6435 {
6436 arg5 = &temp5;
6437 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
6438 }
6439 }
6440 if (obj5) {
6441 {
6442 arg6 = &temp6;
6443 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
6444 }
6445 }
6446 if (obj7) {
6447 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6448 if (arg8 == NULL) {
6449 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
6450 }
6451 }
6452 if (obj8) {
6453 {
6454 arg9 = wxString_in_helper(obj8);
6455 if (arg9 == NULL) SWIG_fail;
6456 temp9 = True;
6457 }
6458 }
6459 {
6460 PyThreadState* __tstate = wxPyBeginAllowThreads();
6461 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
6462
6463 wxPyEndAllowThreads(__tstate);
6464 if (PyErr_Occurred()) SWIG_fail;
6465 }
6466 resultobj = PyInt_FromLong((long)result);
6467 {
6468 if (temp4)
6469 delete arg4;
6470 }
6471 {
6472 if (temp9)
6473 delete arg9;
6474 }
6475 return resultobj;
6476 fail:
6477 {
6478 if (temp4)
6479 delete arg4;
6480 }
6481 {
6482 if (temp9)
6483 delete arg9;
6484 }
6485 return NULL;
6486 }
6487
6488
6489 static PyObject *_wrap_TextCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6490 PyObject *resultobj;
6491 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6492 wxString result;
6493 PyObject * obj0 = 0 ;
6494 char *kwnames[] = {
6495 (char *) "self", NULL
6496 };
6497
6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetValue",kwnames,&obj0)) goto fail;
6499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 result = ((wxTextCtrl const *)arg1)->GetValue();
6503
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 {
6508 #if wxUSE_UNICODE
6509 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6510 #else
6511 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6512 #endif
6513 }
6514 return resultobj;
6515 fail:
6516 return NULL;
6517 }
6518
6519
6520 static PyObject *_wrap_TextCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
6521 PyObject *resultobj;
6522 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6523 wxString *arg2 = 0 ;
6524 bool temp2 = False ;
6525 PyObject * obj0 = 0 ;
6526 PyObject * obj1 = 0 ;
6527 char *kwnames[] = {
6528 (char *) "self",(char *) "value", NULL
6529 };
6530
6531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetValue",kwnames,&obj0,&obj1)) goto fail;
6532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6533 {
6534 arg2 = wxString_in_helper(obj1);
6535 if (arg2 == NULL) SWIG_fail;
6536 temp2 = True;
6537 }
6538 {
6539 PyThreadState* __tstate = wxPyBeginAllowThreads();
6540 (arg1)->SetValue((wxString const &)*arg2);
6541
6542 wxPyEndAllowThreads(__tstate);
6543 if (PyErr_Occurred()) SWIG_fail;
6544 }
6545 Py_INCREF(Py_None); resultobj = Py_None;
6546 {
6547 if (temp2)
6548 delete arg2;
6549 }
6550 return resultobj;
6551 fail:
6552 {
6553 if (temp2)
6554 delete arg2;
6555 }
6556 return NULL;
6557 }
6558
6559
6560 static PyObject *_wrap_TextCtrl_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
6561 PyObject *resultobj;
6562 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6563 long arg2 ;
6564 long arg3 ;
6565 wxString result;
6566 PyObject * obj0 = 0 ;
6567 char *kwnames[] = {
6568 (char *) "self",(char *) "from",(char *) "to", NULL
6569 };
6570
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
6572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6573 {
6574 PyThreadState* __tstate = wxPyBeginAllowThreads();
6575 result = ((wxTextCtrl const *)arg1)->GetRange(arg2,arg3);
6576
6577 wxPyEndAllowThreads(__tstate);
6578 if (PyErr_Occurred()) SWIG_fail;
6579 }
6580 {
6581 #if wxUSE_UNICODE
6582 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6583 #else
6584 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6585 #endif
6586 }
6587 return resultobj;
6588 fail:
6589 return NULL;
6590 }
6591
6592
6593 static PyObject *_wrap_TextCtrl_GetLineLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6594 PyObject *resultobj;
6595 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6596 long arg2 ;
6597 int result;
6598 PyObject * obj0 = 0 ;
6599 char *kwnames[] = {
6600 (char *) "self",(char *) "lineNo", NULL
6601 };
6602
6603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineLength",kwnames,&obj0,&arg2)) goto fail;
6604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6605 {
6606 PyThreadState* __tstate = wxPyBeginAllowThreads();
6607 result = (int)((wxTextCtrl const *)arg1)->GetLineLength(arg2);
6608
6609 wxPyEndAllowThreads(__tstate);
6610 if (PyErr_Occurred()) SWIG_fail;
6611 }
6612 resultobj = PyInt_FromLong((long)result);
6613 return resultobj;
6614 fail:
6615 return NULL;
6616 }
6617
6618
6619 static PyObject *_wrap_TextCtrl_GetLineText(PyObject *self, PyObject *args, PyObject *kwargs) {
6620 PyObject *resultobj;
6621 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6622 long arg2 ;
6623 wxString result;
6624 PyObject * obj0 = 0 ;
6625 char *kwnames[] = {
6626 (char *) "self",(char *) "lineNo", NULL
6627 };
6628
6629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_GetLineText",kwnames,&obj0,&arg2)) goto fail;
6630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6631 {
6632 PyThreadState* __tstate = wxPyBeginAllowThreads();
6633 result = ((wxTextCtrl const *)arg1)->GetLineText(arg2);
6634
6635 wxPyEndAllowThreads(__tstate);
6636 if (PyErr_Occurred()) SWIG_fail;
6637 }
6638 {
6639 #if wxUSE_UNICODE
6640 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6641 #else
6642 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6643 #endif
6644 }
6645 return resultobj;
6646 fail:
6647 return NULL;
6648 }
6649
6650
6651 static PyObject *_wrap_TextCtrl_GetNumberOfLines(PyObject *self, PyObject *args, PyObject *kwargs) {
6652 PyObject *resultobj;
6653 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6654 int result;
6655 PyObject * obj0 = 0 ;
6656 char *kwnames[] = {
6657 (char *) "self", NULL
6658 };
6659
6660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetNumberOfLines",kwnames,&obj0)) goto fail;
6661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6662 {
6663 PyThreadState* __tstate = wxPyBeginAllowThreads();
6664 result = (int)((wxTextCtrl const *)arg1)->GetNumberOfLines();
6665
6666 wxPyEndAllowThreads(__tstate);
6667 if (PyErr_Occurred()) SWIG_fail;
6668 }
6669 resultobj = PyInt_FromLong((long)result);
6670 return resultobj;
6671 fail:
6672 return NULL;
6673 }
6674
6675
6676 static PyObject *_wrap_TextCtrl_IsModified(PyObject *self, PyObject *args, PyObject *kwargs) {
6677 PyObject *resultobj;
6678 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6679 bool result;
6680 PyObject * obj0 = 0 ;
6681 char *kwnames[] = {
6682 (char *) "self", NULL
6683 };
6684
6685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsModified",kwnames,&obj0)) goto fail;
6686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6687 {
6688 PyThreadState* __tstate = wxPyBeginAllowThreads();
6689 result = (bool)((wxTextCtrl const *)arg1)->IsModified();
6690
6691 wxPyEndAllowThreads(__tstate);
6692 if (PyErr_Occurred()) SWIG_fail;
6693 }
6694 resultobj = PyInt_FromLong((long)result);
6695 return resultobj;
6696 fail:
6697 return NULL;
6698 }
6699
6700
6701 static PyObject *_wrap_TextCtrl_IsEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
6702 PyObject *resultobj;
6703 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6704 bool result;
6705 PyObject * obj0 = 0 ;
6706 char *kwnames[] = {
6707 (char *) "self", NULL
6708 };
6709
6710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsEditable",kwnames,&obj0)) goto fail;
6711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6712 {
6713 PyThreadState* __tstate = wxPyBeginAllowThreads();
6714 result = (bool)((wxTextCtrl const *)arg1)->IsEditable();
6715
6716 wxPyEndAllowThreads(__tstate);
6717 if (PyErr_Occurred()) SWIG_fail;
6718 }
6719 resultobj = PyInt_FromLong((long)result);
6720 return resultobj;
6721 fail:
6722 return NULL;
6723 }
6724
6725
6726 static PyObject *_wrap_TextCtrl_IsSingleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6727 PyObject *resultobj;
6728 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6729 bool result;
6730 PyObject * obj0 = 0 ;
6731 char *kwnames[] = {
6732 (char *) "self", NULL
6733 };
6734
6735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsSingleLine",kwnames,&obj0)) goto fail;
6736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6737 {
6738 PyThreadState* __tstate = wxPyBeginAllowThreads();
6739 result = (bool)((wxTextCtrl const *)arg1)->IsSingleLine();
6740
6741 wxPyEndAllowThreads(__tstate);
6742 if (PyErr_Occurred()) SWIG_fail;
6743 }
6744 resultobj = PyInt_FromLong((long)result);
6745 return resultobj;
6746 fail:
6747 return NULL;
6748 }
6749
6750
6751 static PyObject *_wrap_TextCtrl_IsMultiLine(PyObject *self, PyObject *args, PyObject *kwargs) {
6752 PyObject *resultobj;
6753 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6754 bool result;
6755 PyObject * obj0 = 0 ;
6756 char *kwnames[] = {
6757 (char *) "self", NULL
6758 };
6759
6760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_IsMultiLine",kwnames,&obj0)) goto fail;
6761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6762 {
6763 PyThreadState* __tstate = wxPyBeginAllowThreads();
6764 result = (bool)((wxTextCtrl const *)arg1)->IsMultiLine();
6765
6766 wxPyEndAllowThreads(__tstate);
6767 if (PyErr_Occurred()) SWIG_fail;
6768 }
6769 resultobj = PyInt_FromLong((long)result);
6770 return resultobj;
6771 fail:
6772 return NULL;
6773 }
6774
6775
6776 static PyObject *_wrap_TextCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6777 PyObject *resultobj;
6778 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6779 long *arg2 = (long *) 0 ;
6780 long *arg3 = (long *) 0 ;
6781 long temp2 ;
6782 long temp3 ;
6783 PyObject * obj0 = 0 ;
6784 char *kwnames[] = {
6785 (char *) "self", NULL
6786 };
6787
6788 arg2 = &temp2;
6789 arg3 = &temp3;
6790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetSelection",kwnames,&obj0)) goto fail;
6791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6792 {
6793 PyThreadState* __tstate = wxPyBeginAllowThreads();
6794 ((wxTextCtrl const *)arg1)->GetSelection(arg2,arg3);
6795
6796 wxPyEndAllowThreads(__tstate);
6797 if (PyErr_Occurred()) SWIG_fail;
6798 }
6799 Py_INCREF(Py_None); resultobj = Py_None;
6800 {
6801 PyObject *o = PyInt_FromLong((long) (*arg2));
6802 resultobj = t_output_helper(resultobj,o);
6803 }
6804 {
6805 PyObject *o = PyInt_FromLong((long) (*arg3));
6806 resultobj = t_output_helper(resultobj,o);
6807 }
6808 return resultobj;
6809 fail:
6810 return NULL;
6811 }
6812
6813
6814 static PyObject *_wrap_TextCtrl_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
6815 PyObject *resultobj;
6816 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6817 wxString result;
6818 PyObject * obj0 = 0 ;
6819 char *kwnames[] = {
6820 (char *) "self", NULL
6821 };
6822
6823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetStringSelection",kwnames,&obj0)) goto fail;
6824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6825 {
6826 PyThreadState* __tstate = wxPyBeginAllowThreads();
6827 result = ((wxTextCtrl const *)arg1)->GetStringSelection();
6828
6829 wxPyEndAllowThreads(__tstate);
6830 if (PyErr_Occurred()) SWIG_fail;
6831 }
6832 {
6833 #if wxUSE_UNICODE
6834 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
6835 #else
6836 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
6837 #endif
6838 }
6839 return resultobj;
6840 fail:
6841 return NULL;
6842 }
6843
6844
6845 static PyObject *_wrap_TextCtrl_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
6846 PyObject *resultobj;
6847 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6848 PyObject * obj0 = 0 ;
6849 char *kwnames[] = {
6850 (char *) "self", NULL
6851 };
6852
6853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Clear",kwnames,&obj0)) goto fail;
6854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6855 {
6856 PyThreadState* __tstate = wxPyBeginAllowThreads();
6857 (arg1)->Clear();
6858
6859 wxPyEndAllowThreads(__tstate);
6860 if (PyErr_Occurred()) SWIG_fail;
6861 }
6862 Py_INCREF(Py_None); resultobj = Py_None;
6863 return resultobj;
6864 fail:
6865 return NULL;
6866 }
6867
6868
6869 static PyObject *_wrap_TextCtrl_Replace(PyObject *self, PyObject *args, PyObject *kwargs) {
6870 PyObject *resultobj;
6871 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6872 long arg2 ;
6873 long arg3 ;
6874 wxString *arg4 = 0 ;
6875 bool temp4 = False ;
6876 PyObject * obj0 = 0 ;
6877 PyObject * obj3 = 0 ;
6878 char *kwnames[] = {
6879 (char *) "self",(char *) "from",(char *) "to",(char *) "value", NULL
6880 };
6881
6882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_Replace",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
6883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6884 {
6885 arg4 = wxString_in_helper(obj3);
6886 if (arg4 == NULL) SWIG_fail;
6887 temp4 = True;
6888 }
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 (arg1)->Replace(arg2,arg3,(wxString const &)*arg4);
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 Py_INCREF(Py_None); resultobj = Py_None;
6897 {
6898 if (temp4)
6899 delete arg4;
6900 }
6901 return resultobj;
6902 fail:
6903 {
6904 if (temp4)
6905 delete arg4;
6906 }
6907 return NULL;
6908 }
6909
6910
6911 static PyObject *_wrap_TextCtrl_Remove(PyObject *self, PyObject *args, PyObject *kwargs) {
6912 PyObject *resultobj;
6913 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6914 long arg2 ;
6915 long arg3 ;
6916 PyObject * obj0 = 0 ;
6917 char *kwnames[] = {
6918 (char *) "self",(char *) "from",(char *) "to", NULL
6919 };
6920
6921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_Remove",kwnames,&obj0,&arg2,&arg3)) goto fail;
6922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6923 {
6924 PyThreadState* __tstate = wxPyBeginAllowThreads();
6925 (arg1)->Remove(arg2,arg3);
6926
6927 wxPyEndAllowThreads(__tstate);
6928 if (PyErr_Occurred()) SWIG_fail;
6929 }
6930 Py_INCREF(Py_None); resultobj = Py_None;
6931 return resultobj;
6932 fail:
6933 return NULL;
6934 }
6935
6936
6937 static PyObject *_wrap_TextCtrl_LoadFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6938 PyObject *resultobj;
6939 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6940 wxString *arg2 = 0 ;
6941 bool result;
6942 bool temp2 = False ;
6943 PyObject * obj0 = 0 ;
6944 PyObject * obj1 = 0 ;
6945 char *kwnames[] = {
6946 (char *) "self",(char *) "file", NULL
6947 };
6948
6949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_LoadFile",kwnames,&obj0,&obj1)) goto fail;
6950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6951 {
6952 arg2 = wxString_in_helper(obj1);
6953 if (arg2 == NULL) SWIG_fail;
6954 temp2 = True;
6955 }
6956 {
6957 PyThreadState* __tstate = wxPyBeginAllowThreads();
6958 result = (bool)(arg1)->LoadFile((wxString const &)*arg2);
6959
6960 wxPyEndAllowThreads(__tstate);
6961 if (PyErr_Occurred()) SWIG_fail;
6962 }
6963 resultobj = PyInt_FromLong((long)result);
6964 {
6965 if (temp2)
6966 delete arg2;
6967 }
6968 return resultobj;
6969 fail:
6970 {
6971 if (temp2)
6972 delete arg2;
6973 }
6974 return NULL;
6975 }
6976
6977
6978 static PyObject *_wrap_TextCtrl_SaveFile(PyObject *self, PyObject *args, PyObject *kwargs) {
6979 PyObject *resultobj;
6980 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
6981 wxString const &arg2_defvalue = wxPyEmptyString ;
6982 wxString *arg2 = (wxString *) &arg2_defvalue ;
6983 bool result;
6984 bool temp2 = False ;
6985 PyObject * obj0 = 0 ;
6986 PyObject * obj1 = 0 ;
6987 char *kwnames[] = {
6988 (char *) "self",(char *) "file", NULL
6989 };
6990
6991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_SaveFile",kwnames,&obj0,&obj1)) goto fail;
6992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6993 if (obj1) {
6994 {
6995 arg2 = wxString_in_helper(obj1);
6996 if (arg2 == NULL) SWIG_fail;
6997 temp2 = True;
6998 }
6999 }
7000 {
7001 PyThreadState* __tstate = wxPyBeginAllowThreads();
7002 result = (bool)(arg1)->SaveFile((wxString const &)*arg2);
7003
7004 wxPyEndAllowThreads(__tstate);
7005 if (PyErr_Occurred()) SWIG_fail;
7006 }
7007 resultobj = PyInt_FromLong((long)result);
7008 {
7009 if (temp2)
7010 delete arg2;
7011 }
7012 return resultobj;
7013 fail:
7014 {
7015 if (temp2)
7016 delete arg2;
7017 }
7018 return NULL;
7019 }
7020
7021
7022 static PyObject *_wrap_TextCtrl_MarkDirty(PyObject *self, PyObject *args, PyObject *kwargs) {
7023 PyObject *resultobj;
7024 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7025 PyObject * obj0 = 0 ;
7026 char *kwnames[] = {
7027 (char *) "self", NULL
7028 };
7029
7030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_MarkDirty",kwnames,&obj0)) goto fail;
7031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7032 {
7033 PyThreadState* __tstate = wxPyBeginAllowThreads();
7034 (arg1)->MarkDirty();
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_DiscardEdits(PyObject *self, PyObject *args, PyObject *kwargs) {
7047 PyObject *resultobj;
7048 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7049 PyObject * obj0 = 0 ;
7050 char *kwnames[] = {
7051 (char *) "self", NULL
7052 };
7053
7054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_DiscardEdits",kwnames,&obj0)) goto fail;
7055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7056 {
7057 PyThreadState* __tstate = wxPyBeginAllowThreads();
7058 (arg1)->DiscardEdits();
7059
7060 wxPyEndAllowThreads(__tstate);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
7063 Py_INCREF(Py_None); resultobj = Py_None;
7064 return resultobj;
7065 fail:
7066 return NULL;
7067 }
7068
7069
7070 static PyObject *_wrap_TextCtrl_SetMaxLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj;
7072 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7073 unsigned long arg2 ;
7074 PyObject * obj0 = 0 ;
7075 PyObject * obj1 = 0 ;
7076 char *kwnames[] = {
7077 (char *) "self",(char *) "len", NULL
7078 };
7079
7080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetMaxLength",kwnames,&obj0,&obj1)) goto fail;
7081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7082 arg2 = (unsigned long) PyInt_AsLong(obj1);
7083 if (PyErr_Occurred()) SWIG_fail;
7084 {
7085 PyThreadState* __tstate = wxPyBeginAllowThreads();
7086 (arg1)->SetMaxLength(arg2);
7087
7088 wxPyEndAllowThreads(__tstate);
7089 if (PyErr_Occurred()) SWIG_fail;
7090 }
7091 Py_INCREF(Py_None); resultobj = Py_None;
7092 return resultobj;
7093 fail:
7094 return NULL;
7095 }
7096
7097
7098 static PyObject *_wrap_TextCtrl_WriteText(PyObject *self, PyObject *args, PyObject *kwargs) {
7099 PyObject *resultobj;
7100 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7101 wxString *arg2 = 0 ;
7102 bool temp2 = False ;
7103 PyObject * obj0 = 0 ;
7104 PyObject * obj1 = 0 ;
7105 char *kwnames[] = {
7106 (char *) "self",(char *) "text", NULL
7107 };
7108
7109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_WriteText",kwnames,&obj0,&obj1)) goto fail;
7110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7111 {
7112 arg2 = wxString_in_helper(obj1);
7113 if (arg2 == NULL) SWIG_fail;
7114 temp2 = True;
7115 }
7116 {
7117 PyThreadState* __tstate = wxPyBeginAllowThreads();
7118 (arg1)->WriteText((wxString const &)*arg2);
7119
7120 wxPyEndAllowThreads(__tstate);
7121 if (PyErr_Occurred()) SWIG_fail;
7122 }
7123 Py_INCREF(Py_None); resultobj = Py_None;
7124 {
7125 if (temp2)
7126 delete arg2;
7127 }
7128 return resultobj;
7129 fail:
7130 {
7131 if (temp2)
7132 delete arg2;
7133 }
7134 return NULL;
7135 }
7136
7137
7138 static PyObject *_wrap_TextCtrl_AppendText(PyObject *self, PyObject *args, PyObject *kwargs) {
7139 PyObject *resultobj;
7140 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7141 wxString *arg2 = 0 ;
7142 bool temp2 = False ;
7143 PyObject * obj0 = 0 ;
7144 PyObject * obj1 = 0 ;
7145 char *kwnames[] = {
7146 (char *) "self",(char *) "text", NULL
7147 };
7148
7149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_AppendText",kwnames,&obj0,&obj1)) goto fail;
7150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7151 {
7152 arg2 = wxString_in_helper(obj1);
7153 if (arg2 == NULL) SWIG_fail;
7154 temp2 = True;
7155 }
7156 {
7157 PyThreadState* __tstate = wxPyBeginAllowThreads();
7158 (arg1)->AppendText((wxString const &)*arg2);
7159
7160 wxPyEndAllowThreads(__tstate);
7161 if (PyErr_Occurred()) SWIG_fail;
7162 }
7163 Py_INCREF(Py_None); resultobj = Py_None;
7164 {
7165 if (temp2)
7166 delete arg2;
7167 }
7168 return resultobj;
7169 fail:
7170 {
7171 if (temp2)
7172 delete arg2;
7173 }
7174 return NULL;
7175 }
7176
7177
7178 static PyObject *_wrap_TextCtrl_EmulateKeyPress(PyObject *self, PyObject *args, PyObject *kwargs) {
7179 PyObject *resultobj;
7180 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7181 wxKeyEvent *arg2 = 0 ;
7182 bool result;
7183 PyObject * obj0 = 0 ;
7184 PyObject * obj1 = 0 ;
7185 char *kwnames[] = {
7186 (char *) "self",(char *) "event", NULL
7187 };
7188
7189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_EmulateKeyPress",kwnames,&obj0,&obj1)) goto fail;
7190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7191 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7192 if (arg2 == NULL) {
7193 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7194 }
7195 {
7196 PyThreadState* __tstate = wxPyBeginAllowThreads();
7197 result = (bool)(arg1)->EmulateKeyPress((wxKeyEvent const &)*arg2);
7198
7199 wxPyEndAllowThreads(__tstate);
7200 if (PyErr_Occurred()) SWIG_fail;
7201 }
7202 resultobj = PyInt_FromLong((long)result);
7203 return resultobj;
7204 fail:
7205 return NULL;
7206 }
7207
7208
7209 static PyObject *_wrap_TextCtrl_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7210 PyObject *resultobj;
7211 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7212 long arg2 ;
7213 long arg3 ;
7214 wxTextAttr *arg4 = 0 ;
7215 bool result;
7216 PyObject * obj0 = 0 ;
7217 PyObject * obj3 = 0 ;
7218 char *kwnames[] = {
7219 (char *) "self",(char *) "start",(char *) "end",(char *) "style", NULL
7220 };
7221
7222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OllO:TextCtrl_SetStyle",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
7223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7224 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7225 if (arg4 == NULL) {
7226 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7227 }
7228 {
7229 PyThreadState* __tstate = wxPyBeginAllowThreads();
7230 result = (bool)(arg1)->SetStyle(arg2,arg3,(wxTextAttr const &)*arg4);
7231
7232 wxPyEndAllowThreads(__tstate);
7233 if (PyErr_Occurred()) SWIG_fail;
7234 }
7235 resultobj = PyInt_FromLong((long)result);
7236 return resultobj;
7237 fail:
7238 return NULL;
7239 }
7240
7241
7242 static PyObject *_wrap_TextCtrl_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7243 PyObject *resultobj;
7244 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7245 long arg2 ;
7246 wxTextAttr *arg3 = 0 ;
7247 bool result;
7248 PyObject * obj0 = 0 ;
7249 PyObject * obj2 = 0 ;
7250 char *kwnames[] = {
7251 (char *) "self",(char *) "position",(char *) "style", NULL
7252 };
7253
7254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:TextCtrl_GetStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
7255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7256 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7257 if (arg3 == NULL) {
7258 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7259 }
7260 {
7261 PyThreadState* __tstate = wxPyBeginAllowThreads();
7262 result = (bool)(arg1)->GetStyle(arg2,*arg3);
7263
7264 wxPyEndAllowThreads(__tstate);
7265 if (PyErr_Occurred()) SWIG_fail;
7266 }
7267 resultobj = PyInt_FromLong((long)result);
7268 return resultobj;
7269 fail:
7270 return NULL;
7271 }
7272
7273
7274 static PyObject *_wrap_TextCtrl_SetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7275 PyObject *resultobj;
7276 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7277 wxTextAttr *arg2 = 0 ;
7278 bool result;
7279 PyObject * obj0 = 0 ;
7280 PyObject * obj1 = 0 ;
7281 char *kwnames[] = {
7282 (char *) "self",(char *) "style", NULL
7283 };
7284
7285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetDefaultStyle",kwnames,&obj0,&obj1)) goto fail;
7286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7287 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTextAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7288 if (arg2 == NULL) {
7289 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7290 }
7291 {
7292 PyThreadState* __tstate = wxPyBeginAllowThreads();
7293 result = (bool)(arg1)->SetDefaultStyle((wxTextAttr const &)*arg2);
7294
7295 wxPyEndAllowThreads(__tstate);
7296 if (PyErr_Occurred()) SWIG_fail;
7297 }
7298 resultobj = PyInt_FromLong((long)result);
7299 return resultobj;
7300 fail:
7301 return NULL;
7302 }
7303
7304
7305 static PyObject *_wrap_TextCtrl_GetDefaultStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
7306 PyObject *resultobj;
7307 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7308 wxTextAttr *result;
7309 PyObject * obj0 = 0 ;
7310 char *kwnames[] = {
7311 (char *) "self", NULL
7312 };
7313
7314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetDefaultStyle",kwnames,&obj0)) goto fail;
7315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7316 {
7317 PyThreadState* __tstate = wxPyBeginAllowThreads();
7318 {
7319 wxTextAttr const &_result_ref = ((wxTextCtrl const *)arg1)->GetDefaultStyle();
7320 result = (wxTextAttr *) &_result_ref;
7321 }
7322
7323 wxPyEndAllowThreads(__tstate);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
7326 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextAttr, 0);
7327 return resultobj;
7328 fail:
7329 return NULL;
7330 }
7331
7332
7333 static PyObject *_wrap_TextCtrl_XYToPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7334 PyObject *resultobj;
7335 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7336 long arg2 ;
7337 long arg3 ;
7338 long result;
7339 PyObject * obj0 = 0 ;
7340 char *kwnames[] = {
7341 (char *) "self",(char *) "x",(char *) "y", NULL
7342 };
7343
7344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_XYToPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
7345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7346 {
7347 PyThreadState* __tstate = wxPyBeginAllowThreads();
7348 result = (long)((wxTextCtrl const *)arg1)->XYToPosition(arg2,arg3);
7349
7350 wxPyEndAllowThreads(__tstate);
7351 if (PyErr_Occurred()) SWIG_fail;
7352 }
7353 resultobj = PyInt_FromLong((long)result);
7354 return resultobj;
7355 fail:
7356 return NULL;
7357 }
7358
7359
7360 static PyObject *_wrap_TextCtrl_PositionToXY(PyObject *self, PyObject *args, PyObject *kwargs) {
7361 PyObject *resultobj;
7362 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7363 long arg2 ;
7364 long *arg3 = (long *) 0 ;
7365 long *arg4 = (long *) 0 ;
7366 long temp3 ;
7367 long temp4 ;
7368 PyObject * obj0 = 0 ;
7369 char *kwnames[] = {
7370 (char *) "self",(char *) "pos", NULL
7371 };
7372
7373 arg3 = &temp3;
7374 arg4 = &temp4;
7375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_PositionToXY",kwnames,&obj0,&arg2)) goto fail;
7376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7377 {
7378 PyThreadState* __tstate = wxPyBeginAllowThreads();
7379 ((wxTextCtrl const *)arg1)->PositionToXY(arg2,arg3,arg4);
7380
7381 wxPyEndAllowThreads(__tstate);
7382 if (PyErr_Occurred()) SWIG_fail;
7383 }
7384 Py_INCREF(Py_None); resultobj = Py_None;
7385 {
7386 PyObject *o = PyInt_FromLong((long) (*arg3));
7387 resultobj = t_output_helper(resultobj,o);
7388 }
7389 {
7390 PyObject *o = PyInt_FromLong((long) (*arg4));
7391 resultobj = t_output_helper(resultobj,o);
7392 }
7393 return resultobj;
7394 fail:
7395 return NULL;
7396 }
7397
7398
7399 static PyObject *_wrap_TextCtrl_ShowPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7400 PyObject *resultobj;
7401 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7402 long arg2 ;
7403 PyObject * obj0 = 0 ;
7404 char *kwnames[] = {
7405 (char *) "self",(char *) "pos", NULL
7406 };
7407
7408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_ShowPosition",kwnames,&obj0,&arg2)) goto fail;
7409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7410 {
7411 PyThreadState* __tstate = wxPyBeginAllowThreads();
7412 (arg1)->ShowPosition(arg2);
7413
7414 wxPyEndAllowThreads(__tstate);
7415 if (PyErr_Occurred()) SWIG_fail;
7416 }
7417 Py_INCREF(Py_None); resultobj = Py_None;
7418 return resultobj;
7419 fail:
7420 return NULL;
7421 }
7422
7423
7424 static PyObject *_wrap_TextCtrl_Copy(PyObject *self, PyObject *args, PyObject *kwargs) {
7425 PyObject *resultobj;
7426 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7427 PyObject * obj0 = 0 ;
7428 char *kwnames[] = {
7429 (char *) "self", NULL
7430 };
7431
7432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Copy",kwnames,&obj0)) goto fail;
7433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7434 {
7435 PyThreadState* __tstate = wxPyBeginAllowThreads();
7436 (arg1)->Copy();
7437
7438 wxPyEndAllowThreads(__tstate);
7439 if (PyErr_Occurred()) SWIG_fail;
7440 }
7441 Py_INCREF(Py_None); resultobj = Py_None;
7442 return resultobj;
7443 fail:
7444 return NULL;
7445 }
7446
7447
7448 static PyObject *_wrap_TextCtrl_Cut(PyObject *self, PyObject *args, PyObject *kwargs) {
7449 PyObject *resultobj;
7450 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7451 PyObject * obj0 = 0 ;
7452 char *kwnames[] = {
7453 (char *) "self", NULL
7454 };
7455
7456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Cut",kwnames,&obj0)) goto fail;
7457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7458 {
7459 PyThreadState* __tstate = wxPyBeginAllowThreads();
7460 (arg1)->Cut();
7461
7462 wxPyEndAllowThreads(__tstate);
7463 if (PyErr_Occurred()) SWIG_fail;
7464 }
7465 Py_INCREF(Py_None); resultobj = Py_None;
7466 return resultobj;
7467 fail:
7468 return NULL;
7469 }
7470
7471
7472 static PyObject *_wrap_TextCtrl_Paste(PyObject *self, PyObject *args, PyObject *kwargs) {
7473 PyObject *resultobj;
7474 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7475 PyObject * obj0 = 0 ;
7476 char *kwnames[] = {
7477 (char *) "self", NULL
7478 };
7479
7480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Paste",kwnames,&obj0)) goto fail;
7481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7482 {
7483 PyThreadState* __tstate = wxPyBeginAllowThreads();
7484 (arg1)->Paste();
7485
7486 wxPyEndAllowThreads(__tstate);
7487 if (PyErr_Occurred()) SWIG_fail;
7488 }
7489 Py_INCREF(Py_None); resultobj = Py_None;
7490 return resultobj;
7491 fail:
7492 return NULL;
7493 }
7494
7495
7496 static PyObject *_wrap_TextCtrl_CanCopy(PyObject *self, PyObject *args, PyObject *kwargs) {
7497 PyObject *resultobj;
7498 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7499 bool result;
7500 PyObject * obj0 = 0 ;
7501 char *kwnames[] = {
7502 (char *) "self", NULL
7503 };
7504
7505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCopy",kwnames,&obj0)) goto fail;
7506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7507 {
7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
7509 result = (bool)((wxTextCtrl const *)arg1)->CanCopy();
7510
7511 wxPyEndAllowThreads(__tstate);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 }
7514 resultobj = PyInt_FromLong((long)result);
7515 return resultobj;
7516 fail:
7517 return NULL;
7518 }
7519
7520
7521 static PyObject *_wrap_TextCtrl_CanCut(PyObject *self, PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj;
7523 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7524 bool result;
7525 PyObject * obj0 = 0 ;
7526 char *kwnames[] = {
7527 (char *) "self", NULL
7528 };
7529
7530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanCut",kwnames,&obj0)) goto fail;
7531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7532 {
7533 PyThreadState* __tstate = wxPyBeginAllowThreads();
7534 result = (bool)((wxTextCtrl const *)arg1)->CanCut();
7535
7536 wxPyEndAllowThreads(__tstate);
7537 if (PyErr_Occurred()) SWIG_fail;
7538 }
7539 resultobj = PyInt_FromLong((long)result);
7540 return resultobj;
7541 fail:
7542 return NULL;
7543 }
7544
7545
7546 static PyObject *_wrap_TextCtrl_CanPaste(PyObject *self, PyObject *args, PyObject *kwargs) {
7547 PyObject *resultobj;
7548 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7549 bool result;
7550 PyObject * obj0 = 0 ;
7551 char *kwnames[] = {
7552 (char *) "self", NULL
7553 };
7554
7555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanPaste",kwnames,&obj0)) goto fail;
7556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7557 {
7558 PyThreadState* __tstate = wxPyBeginAllowThreads();
7559 result = (bool)((wxTextCtrl const *)arg1)->CanPaste();
7560
7561 wxPyEndAllowThreads(__tstate);
7562 if (PyErr_Occurred()) SWIG_fail;
7563 }
7564 resultobj = PyInt_FromLong((long)result);
7565 return resultobj;
7566 fail:
7567 return NULL;
7568 }
7569
7570
7571 static PyObject *_wrap_TextCtrl_Undo(PyObject *self, PyObject *args, PyObject *kwargs) {
7572 PyObject *resultobj;
7573 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7574 PyObject * obj0 = 0 ;
7575 char *kwnames[] = {
7576 (char *) "self", NULL
7577 };
7578
7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Undo",kwnames,&obj0)) goto fail;
7580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7581 {
7582 PyThreadState* __tstate = wxPyBeginAllowThreads();
7583 (arg1)->Undo();
7584
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
7588 Py_INCREF(Py_None); resultobj = Py_None;
7589 return resultobj;
7590 fail:
7591 return NULL;
7592 }
7593
7594
7595 static PyObject *_wrap_TextCtrl_Redo(PyObject *self, PyObject *args, PyObject *kwargs) {
7596 PyObject *resultobj;
7597 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7598 PyObject * obj0 = 0 ;
7599 char *kwnames[] = {
7600 (char *) "self", NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_Redo",kwnames,&obj0)) goto fail;
7604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7605 {
7606 PyThreadState* __tstate = wxPyBeginAllowThreads();
7607 (arg1)->Redo();
7608
7609 wxPyEndAllowThreads(__tstate);
7610 if (PyErr_Occurred()) SWIG_fail;
7611 }
7612 Py_INCREF(Py_None); resultobj = Py_None;
7613 return resultobj;
7614 fail:
7615 return NULL;
7616 }
7617
7618
7619 static PyObject *_wrap_TextCtrl_CanUndo(PyObject *self, PyObject *args, PyObject *kwargs) {
7620 PyObject *resultobj;
7621 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7622 bool result;
7623 PyObject * obj0 = 0 ;
7624 char *kwnames[] = {
7625 (char *) "self", NULL
7626 };
7627
7628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanUndo",kwnames,&obj0)) goto fail;
7629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7630 {
7631 PyThreadState* __tstate = wxPyBeginAllowThreads();
7632 result = (bool)((wxTextCtrl const *)arg1)->CanUndo();
7633
7634 wxPyEndAllowThreads(__tstate);
7635 if (PyErr_Occurred()) SWIG_fail;
7636 }
7637 resultobj = PyInt_FromLong((long)result);
7638 return resultobj;
7639 fail:
7640 return NULL;
7641 }
7642
7643
7644 static PyObject *_wrap_TextCtrl_CanRedo(PyObject *self, PyObject *args, PyObject *kwargs) {
7645 PyObject *resultobj;
7646 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7647 bool result;
7648 PyObject * obj0 = 0 ;
7649 char *kwnames[] = {
7650 (char *) "self", NULL
7651 };
7652
7653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_CanRedo",kwnames,&obj0)) goto fail;
7654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7655 {
7656 PyThreadState* __tstate = wxPyBeginAllowThreads();
7657 result = (bool)((wxTextCtrl const *)arg1)->CanRedo();
7658
7659 wxPyEndAllowThreads(__tstate);
7660 if (PyErr_Occurred()) SWIG_fail;
7661 }
7662 resultobj = PyInt_FromLong((long)result);
7663 return resultobj;
7664 fail:
7665 return NULL;
7666 }
7667
7668
7669 static PyObject *_wrap_TextCtrl_SetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7670 PyObject *resultobj;
7671 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7672 long arg2 ;
7673 PyObject * obj0 = 0 ;
7674 char *kwnames[] = {
7675 (char *) "self",(char *) "pos", NULL
7676 };
7677
7678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:TextCtrl_SetInsertionPoint",kwnames,&obj0,&arg2)) goto fail;
7679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7680 {
7681 PyThreadState* __tstate = wxPyBeginAllowThreads();
7682 (arg1)->SetInsertionPoint(arg2);
7683
7684 wxPyEndAllowThreads(__tstate);
7685 if (PyErr_Occurred()) SWIG_fail;
7686 }
7687 Py_INCREF(Py_None); resultobj = Py_None;
7688 return resultobj;
7689 fail:
7690 return NULL;
7691 }
7692
7693
7694 static PyObject *_wrap_TextCtrl_SetInsertionPointEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
7695 PyObject *resultobj;
7696 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7697 PyObject * obj0 = 0 ;
7698 char *kwnames[] = {
7699 (char *) "self", NULL
7700 };
7701
7702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SetInsertionPointEnd",kwnames,&obj0)) goto fail;
7703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7704 {
7705 PyThreadState* __tstate = wxPyBeginAllowThreads();
7706 (arg1)->SetInsertionPointEnd();
7707
7708 wxPyEndAllowThreads(__tstate);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
7711 Py_INCREF(Py_None); resultobj = Py_None;
7712 return resultobj;
7713 fail:
7714 return NULL;
7715 }
7716
7717
7718 static PyObject *_wrap_TextCtrl_GetInsertionPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
7719 PyObject *resultobj;
7720 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7721 long result;
7722 PyObject * obj0 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetInsertionPoint",kwnames,&obj0)) goto fail;
7728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 result = (long)((wxTextCtrl const *)arg1)->GetInsertionPoint();
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 resultobj = PyInt_FromLong((long)result);
7737 return resultobj;
7738 fail:
7739 return NULL;
7740 }
7741
7742
7743 static PyObject *_wrap_TextCtrl_GetLastPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj;
7745 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7746 long result;
7747 PyObject * obj0 = 0 ;
7748 char *kwnames[] = {
7749 (char *) "self", NULL
7750 };
7751
7752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_GetLastPosition",kwnames,&obj0)) goto fail;
7753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7754 {
7755 PyThreadState* __tstate = wxPyBeginAllowThreads();
7756 result = (long)((wxTextCtrl const *)arg1)->GetLastPosition();
7757
7758 wxPyEndAllowThreads(__tstate);
7759 if (PyErr_Occurred()) SWIG_fail;
7760 }
7761 resultobj = PyInt_FromLong((long)result);
7762 return resultobj;
7763 fail:
7764 return NULL;
7765 }
7766
7767
7768 static PyObject *_wrap_TextCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
7769 PyObject *resultobj;
7770 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7771 long arg2 ;
7772 long arg3 ;
7773 PyObject * obj0 = 0 ;
7774 char *kwnames[] = {
7775 (char *) "self",(char *) "from",(char *) "to", NULL
7776 };
7777
7778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
7779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7780 {
7781 PyThreadState* __tstate = wxPyBeginAllowThreads();
7782 (arg1)->SetSelection(arg2,arg3);
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_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
7795 PyObject *resultobj;
7796 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7797 PyObject * obj0 = 0 ;
7798 char *kwnames[] = {
7799 (char *) "self", NULL
7800 };
7801
7802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_SelectAll",kwnames,&obj0)) goto fail;
7803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7804 {
7805 PyThreadState* __tstate = wxPyBeginAllowThreads();
7806 (arg1)->SelectAll();
7807
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 Py_INCREF(Py_None); resultobj = Py_None;
7812 return resultobj;
7813 fail:
7814 return NULL;
7815 }
7816
7817
7818 static PyObject *_wrap_TextCtrl_SetEditable(PyObject *self, PyObject *args, PyObject *kwargs) {
7819 PyObject *resultobj;
7820 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7821 bool arg2 ;
7822 PyObject * obj0 = 0 ;
7823 PyObject * obj1 = 0 ;
7824 char *kwnames[] = {
7825 (char *) "self",(char *) "editable", NULL
7826 };
7827
7828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_SetEditable",kwnames,&obj0,&obj1)) goto fail;
7829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7830 arg2 = PyInt_AsLong(obj1) ? true : false;
7831 if (PyErr_Occurred()) SWIG_fail;
7832 {
7833 PyThreadState* __tstate = wxPyBeginAllowThreads();
7834 (arg1)->SetEditable(arg2);
7835
7836 wxPyEndAllowThreads(__tstate);
7837 if (PyErr_Occurred()) SWIG_fail;
7838 }
7839 Py_INCREF(Py_None); resultobj = Py_None;
7840 return resultobj;
7841 fail:
7842 return NULL;
7843 }
7844
7845
7846 static PyObject *_wrap_TextCtrl_ShowNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
7847 PyObject *resultobj;
7848 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7849 bool arg2 = (bool) True ;
7850 bool result;
7851 PyObject * obj0 = 0 ;
7852 PyObject * obj1 = 0 ;
7853 char *kwnames[] = {
7854 (char *) "self",(char *) "show", NULL
7855 };
7856
7857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TextCtrl_ShowNativeCaret",kwnames,&obj0,&obj1)) goto fail;
7858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7859 if (obj1) {
7860 arg2 = PyInt_AsLong(obj1) ? true : false;
7861 if (PyErr_Occurred()) SWIG_fail;
7862 }
7863 {
7864 PyThreadState* __tstate = wxPyBeginAllowThreads();
7865 result = (bool)(arg1)->ShowNativeCaret(arg2);
7866
7867 wxPyEndAllowThreads(__tstate);
7868 if (PyErr_Occurred()) SWIG_fail;
7869 }
7870 resultobj = PyInt_FromLong((long)result);
7871 return resultobj;
7872 fail:
7873 return NULL;
7874 }
7875
7876
7877 static PyObject *_wrap_TextCtrl_HideNativeCaret(PyObject *self, PyObject *args, PyObject *kwargs) {
7878 PyObject *resultobj;
7879 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7880 bool result;
7881 PyObject * obj0 = 0 ;
7882 char *kwnames[] = {
7883 (char *) "self", NULL
7884 };
7885
7886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextCtrl_HideNativeCaret",kwnames,&obj0)) goto fail;
7887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7888 {
7889 PyThreadState* __tstate = wxPyBeginAllowThreads();
7890 result = (bool)(arg1)->HideNativeCaret();
7891
7892 wxPyEndAllowThreads(__tstate);
7893 if (PyErr_Occurred()) SWIG_fail;
7894 }
7895 resultobj = PyInt_FromLong((long)result);
7896 return resultobj;
7897 fail:
7898 return NULL;
7899 }
7900
7901
7902 static PyObject *_wrap_TextCtrl_write(PyObject *self, PyObject *args, PyObject *kwargs) {
7903 PyObject *resultobj;
7904 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7905 wxString *arg2 = 0 ;
7906 bool temp2 = False ;
7907 PyObject * obj0 = 0 ;
7908 PyObject * obj1 = 0 ;
7909 char *kwnames[] = {
7910 (char *) "self",(char *) "text", NULL
7911 };
7912
7913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextCtrl_write",kwnames,&obj0,&obj1)) goto fail;
7914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7915 {
7916 arg2 = wxString_in_helper(obj1);
7917 if (arg2 == NULL) SWIG_fail;
7918 temp2 = True;
7919 }
7920 {
7921 PyThreadState* __tstate = wxPyBeginAllowThreads();
7922 wxTextCtrl_write(arg1,(wxString const &)*arg2);
7923
7924 wxPyEndAllowThreads(__tstate);
7925 if (PyErr_Occurred()) SWIG_fail;
7926 }
7927 Py_INCREF(Py_None); resultobj = Py_None;
7928 {
7929 if (temp2)
7930 delete arg2;
7931 }
7932 return resultobj;
7933 fail:
7934 {
7935 if (temp2)
7936 delete arg2;
7937 }
7938 return NULL;
7939 }
7940
7941
7942 static PyObject *_wrap_TextCtrl_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
7943 PyObject *resultobj;
7944 wxTextCtrl *arg1 = (wxTextCtrl *) 0 ;
7945 long arg2 ;
7946 long arg3 ;
7947 wxString result;
7948 PyObject * obj0 = 0 ;
7949 char *kwnames[] = {
7950 (char *) "self",(char *) "from",(char *) "to", NULL
7951 };
7952
7953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:TextCtrl_GetString",kwnames,&obj0,&arg2,&arg3)) goto fail;
7954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7955 {
7956 PyThreadState* __tstate = wxPyBeginAllowThreads();
7957 result = wxTextCtrl_GetString(arg1,arg2,arg3);
7958
7959 wxPyEndAllowThreads(__tstate);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 }
7962 {
7963 #if wxUSE_UNICODE
7964 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
7965 #else
7966 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
7967 #endif
7968 }
7969 return resultobj;
7970 fail:
7971 return NULL;
7972 }
7973
7974
7975 static PyObject * TextCtrl_swigregister(PyObject *self, PyObject *args) {
7976 PyObject *obj;
7977 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7978 SWIG_TypeClientData(SWIGTYPE_p_wxTextCtrl, obj);
7979 Py_INCREF(obj);
7980 return Py_BuildValue((char *)"");
7981 }
7982 static PyObject *_wrap_new_TextUrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7983 PyObject *resultobj;
7984 int arg1 ;
7985 wxMouseEvent *arg2 = 0 ;
7986 long arg3 ;
7987 long arg4 ;
7988 wxTextUrlEvent *result;
7989 PyObject * obj1 = 0 ;
7990 char *kwnames[] = {
7991 (char *) "winid",(char *) "evtMouse",(char *) "start",(char *) "end", NULL
7992 };
7993
7994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iOll:new_TextUrlEvent",kwnames,&arg1,&obj1,&arg3,&arg4)) goto fail;
7995 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMouseEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7996 if (arg2 == NULL) {
7997 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
7998 }
7999 {
8000 PyThreadState* __tstate = wxPyBeginAllowThreads();
8001 result = (wxTextUrlEvent *)new wxTextUrlEvent(arg1,(wxMouseEvent const &)*arg2,arg3,arg4);
8002
8003 wxPyEndAllowThreads(__tstate);
8004 if (PyErr_Occurred()) SWIG_fail;
8005 }
8006 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextUrlEvent, 1);
8007 return resultobj;
8008 fail:
8009 return NULL;
8010 }
8011
8012
8013 static PyObject *_wrap_TextUrlEvent_GetMouseEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
8014 PyObject *resultobj;
8015 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8016 wxMouseEvent *result;
8017 PyObject * obj0 = 0 ;
8018 char *kwnames[] = {
8019 (char *) "self", NULL
8020 };
8021
8022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetMouseEvent",kwnames,&obj0)) goto fail;
8023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8024 {
8025 PyThreadState* __tstate = wxPyBeginAllowThreads();
8026 {
8027 wxMouseEvent const &_result_ref = (arg1)->GetMouseEvent();
8028 result = (wxMouseEvent *) &_result_ref;
8029 }
8030
8031 wxPyEndAllowThreads(__tstate);
8032 if (PyErr_Occurred()) SWIG_fail;
8033 }
8034 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMouseEvent, 0);
8035 return resultobj;
8036 fail:
8037 return NULL;
8038 }
8039
8040
8041 static PyObject *_wrap_TextUrlEvent_GetURLStart(PyObject *self, PyObject *args, PyObject *kwargs) {
8042 PyObject *resultobj;
8043 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8044 long result;
8045 PyObject * obj0 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLStart",kwnames,&obj0)) goto fail;
8051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8052 {
8053 PyThreadState* __tstate = wxPyBeginAllowThreads();
8054 result = (long)((wxTextUrlEvent const *)arg1)->GetURLStart();
8055
8056 wxPyEndAllowThreads(__tstate);
8057 if (PyErr_Occurred()) SWIG_fail;
8058 }
8059 resultobj = PyInt_FromLong((long)result);
8060 return resultobj;
8061 fail:
8062 return NULL;
8063 }
8064
8065
8066 static PyObject *_wrap_TextUrlEvent_GetURLEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
8067 PyObject *resultobj;
8068 wxTextUrlEvent *arg1 = (wxTextUrlEvent *) 0 ;
8069 long result;
8070 PyObject * obj0 = 0 ;
8071 char *kwnames[] = {
8072 (char *) "self", NULL
8073 };
8074
8075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextUrlEvent_GetURLEnd",kwnames,&obj0)) goto fail;
8076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextUrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8077 {
8078 PyThreadState* __tstate = wxPyBeginAllowThreads();
8079 result = (long)((wxTextUrlEvent const *)arg1)->GetURLEnd();
8080
8081 wxPyEndAllowThreads(__tstate);
8082 if (PyErr_Occurred()) SWIG_fail;
8083 }
8084 resultobj = PyInt_FromLong((long)result);
8085 return resultobj;
8086 fail:
8087 return NULL;
8088 }
8089
8090
8091 static PyObject * TextUrlEvent_swigregister(PyObject *self, PyObject *args) {
8092 PyObject *obj;
8093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8094 SWIG_TypeClientData(SWIGTYPE_p_wxTextUrlEvent, obj);
8095 Py_INCREF(obj);
8096 return Py_BuildValue((char *)"");
8097 }
8098 static PyObject *_wrap_new_ScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8099 PyObject *resultobj;
8100 wxWindow *arg1 = (wxWindow *) 0 ;
8101 int arg2 = (int) -1 ;
8102 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8103 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8104 wxSize const &arg4_defvalue = wxDefaultSize ;
8105 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8106 long arg5 = (long) wxSB_HORIZONTAL ;
8107 wxValidator const &arg6_defvalue = wxDefaultValidator ;
8108 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
8109 wxString const &arg7_defvalue = wxPyScrollBarNameStr ;
8110 wxString *arg7 = (wxString *) &arg7_defvalue ;
8111 wxScrollBar *result;
8112 wxPoint temp3 ;
8113 wxSize temp4 ;
8114 bool temp7 = False ;
8115 PyObject * obj0 = 0 ;
8116 PyObject * obj2 = 0 ;
8117 PyObject * obj3 = 0 ;
8118 PyObject * obj5 = 0 ;
8119 PyObject * obj6 = 0 ;
8120 char *kwnames[] = {
8121 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8122 };
8123
8124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ScrollBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
8125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8126 if (obj2) {
8127 {
8128 arg3 = &temp3;
8129 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8130 }
8131 }
8132 if (obj3) {
8133 {
8134 arg4 = &temp4;
8135 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8136 }
8137 }
8138 if (obj5) {
8139 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8140 if (arg6 == NULL) {
8141 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8142 }
8143 }
8144 if (obj6) {
8145 {
8146 arg7 = wxString_in_helper(obj6);
8147 if (arg7 == NULL) SWIG_fail;
8148 temp7 = True;
8149 }
8150 }
8151 {
8152 PyThreadState* __tstate = wxPyBeginAllowThreads();
8153 result = (wxScrollBar *)new wxScrollBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
8154
8155 wxPyEndAllowThreads(__tstate);
8156 if (PyErr_Occurred()) SWIG_fail;
8157 }
8158 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8159 {
8160 if (temp7)
8161 delete arg7;
8162 }
8163 return resultobj;
8164 fail:
8165 {
8166 if (temp7)
8167 delete arg7;
8168 }
8169 return NULL;
8170 }
8171
8172
8173 static PyObject *_wrap_new_PreScrollBar(PyObject *self, PyObject *args, PyObject *kwargs) {
8174 PyObject *resultobj;
8175 wxScrollBar *result;
8176 char *kwnames[] = {
8177 NULL
8178 };
8179
8180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrollBar",kwnames)) goto fail;
8181 {
8182 PyThreadState* __tstate = wxPyBeginAllowThreads();
8183 result = (wxScrollBar *)new wxScrollBar();
8184
8185 wxPyEndAllowThreads(__tstate);
8186 if (PyErr_Occurred()) SWIG_fail;
8187 }
8188 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrollBar, 1);
8189 return resultobj;
8190 fail:
8191 return NULL;
8192 }
8193
8194
8195 static PyObject *_wrap_ScrollBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8196 PyObject *resultobj;
8197 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8198 wxWindow *arg2 = (wxWindow *) 0 ;
8199 int arg3 = (int) -1 ;
8200 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8201 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8202 wxSize const &arg5_defvalue = wxDefaultSize ;
8203 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8204 long arg6 = (long) wxSB_HORIZONTAL ;
8205 wxValidator const &arg7_defvalue = wxDefaultValidator ;
8206 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
8207 wxString const &arg8_defvalue = wxPyScrollBarNameStr ;
8208 wxString *arg8 = (wxString *) &arg8_defvalue ;
8209 bool result;
8210 wxPoint temp4 ;
8211 wxSize temp5 ;
8212 bool temp8 = False ;
8213 PyObject * obj0 = 0 ;
8214 PyObject * obj1 = 0 ;
8215 PyObject * obj3 = 0 ;
8216 PyObject * obj4 = 0 ;
8217 PyObject * obj6 = 0 ;
8218 PyObject * obj7 = 0 ;
8219 char *kwnames[] = {
8220 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
8221 };
8222
8223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ScrollBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
8224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8225 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8226 if (obj3) {
8227 {
8228 arg4 = &temp4;
8229 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8230 }
8231 }
8232 if (obj4) {
8233 {
8234 arg5 = &temp5;
8235 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8236 }
8237 }
8238 if (obj6) {
8239 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8240 if (arg7 == NULL) {
8241 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8242 }
8243 }
8244 if (obj7) {
8245 {
8246 arg8 = wxString_in_helper(obj7);
8247 if (arg8 == NULL) SWIG_fail;
8248 temp8 = True;
8249 }
8250 }
8251 {
8252 PyThreadState* __tstate = wxPyBeginAllowThreads();
8253 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
8254
8255 wxPyEndAllowThreads(__tstate);
8256 if (PyErr_Occurred()) SWIG_fail;
8257 }
8258 resultobj = PyInt_FromLong((long)result);
8259 {
8260 if (temp8)
8261 delete arg8;
8262 }
8263 return resultobj;
8264 fail:
8265 {
8266 if (temp8)
8267 delete arg8;
8268 }
8269 return NULL;
8270 }
8271
8272
8273 static PyObject *_wrap_ScrollBar_GetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8274 PyObject *resultobj;
8275 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8276 int result;
8277 PyObject * obj0 = 0 ;
8278 char *kwnames[] = {
8279 (char *) "self", NULL
8280 };
8281
8282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbPosition",kwnames,&obj0)) goto fail;
8283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8284 {
8285 PyThreadState* __tstate = wxPyBeginAllowThreads();
8286 result = (int)((wxScrollBar const *)arg1)->GetThumbPosition();
8287
8288 wxPyEndAllowThreads(__tstate);
8289 if (PyErr_Occurred()) SWIG_fail;
8290 }
8291 resultobj = PyInt_FromLong((long)result);
8292 return resultobj;
8293 fail:
8294 return NULL;
8295 }
8296
8297
8298 static PyObject *_wrap_ScrollBar_GetThumbSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8299 PyObject *resultobj;
8300 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8301 int result;
8302 PyObject * obj0 = 0 ;
8303 char *kwnames[] = {
8304 (char *) "self", NULL
8305 };
8306
8307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetThumbSize",kwnames,&obj0)) goto fail;
8308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8309 {
8310 PyThreadState* __tstate = wxPyBeginAllowThreads();
8311 result = (int)((wxScrollBar const *)arg1)->GetThumbSize();
8312
8313 wxPyEndAllowThreads(__tstate);
8314 if (PyErr_Occurred()) SWIG_fail;
8315 }
8316 resultobj = PyInt_FromLong((long)result);
8317 return resultobj;
8318 fail:
8319 return NULL;
8320 }
8321
8322
8323 static PyObject *_wrap_ScrollBar_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8324 PyObject *resultobj;
8325 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8326 int result;
8327 PyObject * obj0 = 0 ;
8328 char *kwnames[] = {
8329 (char *) "self", NULL
8330 };
8331
8332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetPageSize",kwnames,&obj0)) goto fail;
8333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8334 {
8335 PyThreadState* __tstate = wxPyBeginAllowThreads();
8336 result = (int)((wxScrollBar const *)arg1)->GetPageSize();
8337
8338 wxPyEndAllowThreads(__tstate);
8339 if (PyErr_Occurred()) SWIG_fail;
8340 }
8341 resultobj = PyInt_FromLong((long)result);
8342 return resultobj;
8343 fail:
8344 return NULL;
8345 }
8346
8347
8348 static PyObject *_wrap_ScrollBar_GetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8349 PyObject *resultobj;
8350 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8351 int result;
8352 PyObject * obj0 = 0 ;
8353 char *kwnames[] = {
8354 (char *) "self", NULL
8355 };
8356
8357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_GetRange",kwnames,&obj0)) goto fail;
8358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8359 {
8360 PyThreadState* __tstate = wxPyBeginAllowThreads();
8361 result = (int)((wxScrollBar const *)arg1)->GetRange();
8362
8363 wxPyEndAllowThreads(__tstate);
8364 if (PyErr_Occurred()) SWIG_fail;
8365 }
8366 resultobj = PyInt_FromLong((long)result);
8367 return resultobj;
8368 fail:
8369 return NULL;
8370 }
8371
8372
8373 static PyObject *_wrap_ScrollBar_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8374 PyObject *resultobj;
8375 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8376 bool result;
8377 PyObject * obj0 = 0 ;
8378 char *kwnames[] = {
8379 (char *) "self", NULL
8380 };
8381
8382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrollBar_IsVertical",kwnames,&obj0)) goto fail;
8383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8384 {
8385 PyThreadState* __tstate = wxPyBeginAllowThreads();
8386 result = (bool)((wxScrollBar const *)arg1)->IsVertical();
8387
8388 wxPyEndAllowThreads(__tstate);
8389 if (PyErr_Occurred()) SWIG_fail;
8390 }
8391 resultobj = PyInt_FromLong((long)result);
8392 return resultobj;
8393 fail:
8394 return NULL;
8395 }
8396
8397
8398 static PyObject *_wrap_ScrollBar_SetThumbPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
8399 PyObject *resultobj;
8400 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8401 int arg2 ;
8402 PyObject * obj0 = 0 ;
8403 char *kwnames[] = {
8404 (char *) "self",(char *) "viewStart", NULL
8405 };
8406
8407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrollBar_SetThumbPosition",kwnames,&obj0,&arg2)) goto fail;
8408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 (arg1)->SetThumbPosition(arg2);
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 Py_INCREF(Py_None); resultobj = Py_None;
8417 return resultobj;
8418 fail:
8419 return NULL;
8420 }
8421
8422
8423 static PyObject *_wrap_ScrollBar_SetScrollbar(PyObject *self, PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj;
8425 wxScrollBar *arg1 = (wxScrollBar *) 0 ;
8426 int arg2 ;
8427 int arg3 ;
8428 int arg4 ;
8429 int arg5 ;
8430 bool arg6 = (bool) True ;
8431 PyObject * obj0 = 0 ;
8432 PyObject * obj5 = 0 ;
8433 char *kwnames[] = {
8434 (char *) "self",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "pageSize",(char *) "refresh", NULL
8435 };
8436
8437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|O:ScrollBar_SetScrollbar",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5)) goto fail;
8438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrollBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8439 if (obj5) {
8440 arg6 = PyInt_AsLong(obj5) ? true : false;
8441 if (PyErr_Occurred()) SWIG_fail;
8442 }
8443 {
8444 PyThreadState* __tstate = wxPyBeginAllowThreads();
8445 (arg1)->SetScrollbar(arg2,arg3,arg4,arg5,arg6);
8446
8447 wxPyEndAllowThreads(__tstate);
8448 if (PyErr_Occurred()) SWIG_fail;
8449 }
8450 Py_INCREF(Py_None); resultobj = Py_None;
8451 return resultobj;
8452 fail:
8453 return NULL;
8454 }
8455
8456
8457 static PyObject * ScrollBar_swigregister(PyObject *self, PyObject *args) {
8458 PyObject *obj;
8459 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8460 SWIG_TypeClientData(SWIGTYPE_p_wxScrollBar, obj);
8461 Py_INCREF(obj);
8462 return Py_BuildValue((char *)"");
8463 }
8464 static PyObject *_wrap_new_SpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8465 PyObject *resultobj;
8466 wxWindow *arg1 = (wxWindow *) 0 ;
8467 int arg2 = (int) -1 ;
8468 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8469 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8470 wxSize const &arg4_defvalue = wxDefaultSize ;
8471 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8472 long arg5 = (long) wxSP_HORIZONTAL ;
8473 wxString const &arg6_defvalue = wxPySPIN_BUTTON_NAME ;
8474 wxString *arg6 = (wxString *) &arg6_defvalue ;
8475 wxSpinButton *result;
8476 wxPoint temp3 ;
8477 wxSize temp4 ;
8478 bool temp6 = False ;
8479 PyObject * obj0 = 0 ;
8480 PyObject * obj2 = 0 ;
8481 PyObject * obj3 = 0 ;
8482 PyObject * obj5 = 0 ;
8483 char *kwnames[] = {
8484 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8485 };
8486
8487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_SpinButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8489 if (obj2) {
8490 {
8491 arg3 = &temp3;
8492 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8493 }
8494 }
8495 if (obj3) {
8496 {
8497 arg4 = &temp4;
8498 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8499 }
8500 }
8501 if (obj5) {
8502 {
8503 arg6 = wxString_in_helper(obj5);
8504 if (arg6 == NULL) SWIG_fail;
8505 temp6 = True;
8506 }
8507 }
8508 {
8509 PyThreadState* __tstate = wxPyBeginAllowThreads();
8510 result = (wxSpinButton *)new wxSpinButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8511
8512 wxPyEndAllowThreads(__tstate);
8513 if (PyErr_Occurred()) SWIG_fail;
8514 }
8515 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8516 {
8517 if (temp6)
8518 delete arg6;
8519 }
8520 return resultobj;
8521 fail:
8522 {
8523 if (temp6)
8524 delete arg6;
8525 }
8526 return NULL;
8527 }
8528
8529
8530 static PyObject *_wrap_new_PreSpinButton(PyObject *self, PyObject *args, PyObject *kwargs) {
8531 PyObject *resultobj;
8532 wxSpinButton *result;
8533 char *kwnames[] = {
8534 NULL
8535 };
8536
8537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinButton",kwnames)) goto fail;
8538 {
8539 PyThreadState* __tstate = wxPyBeginAllowThreads();
8540 result = (wxSpinButton *)new wxSpinButton();
8541
8542 wxPyEndAllowThreads(__tstate);
8543 if (PyErr_Occurred()) SWIG_fail;
8544 }
8545 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinButton, 1);
8546 return resultobj;
8547 fail:
8548 return NULL;
8549 }
8550
8551
8552 static PyObject *_wrap_SpinButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8553 PyObject *resultobj;
8554 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8555 wxWindow *arg2 = (wxWindow *) 0 ;
8556 int arg3 = (int) -1 ;
8557 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8558 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8559 wxSize const &arg5_defvalue = wxDefaultSize ;
8560 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8561 long arg6 = (long) wxSP_HORIZONTAL ;
8562 wxString const &arg7_defvalue = wxPySPIN_BUTTON_NAME ;
8563 wxString *arg7 = (wxString *) &arg7_defvalue ;
8564 bool result;
8565 wxPoint temp4 ;
8566 wxSize temp5 ;
8567 bool temp7 = False ;
8568 PyObject * obj0 = 0 ;
8569 PyObject * obj1 = 0 ;
8570 PyObject * obj3 = 0 ;
8571 PyObject * obj4 = 0 ;
8572 PyObject * obj6 = 0 ;
8573 char *kwnames[] = {
8574 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8575 };
8576
8577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:SpinButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8579 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8580 if (obj3) {
8581 {
8582 arg4 = &temp4;
8583 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8584 }
8585 }
8586 if (obj4) {
8587 {
8588 arg5 = &temp5;
8589 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8590 }
8591 }
8592 if (obj6) {
8593 {
8594 arg7 = wxString_in_helper(obj6);
8595 if (arg7 == NULL) SWIG_fail;
8596 temp7 = True;
8597 }
8598 }
8599 {
8600 PyThreadState* __tstate = wxPyBeginAllowThreads();
8601 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8602
8603 wxPyEndAllowThreads(__tstate);
8604 if (PyErr_Occurred()) SWIG_fail;
8605 }
8606 resultobj = PyInt_FromLong((long)result);
8607 {
8608 if (temp7)
8609 delete arg7;
8610 }
8611 return resultobj;
8612 fail:
8613 {
8614 if (temp7)
8615 delete arg7;
8616 }
8617 return NULL;
8618 }
8619
8620
8621 static PyObject *_wrap_SpinButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8622 PyObject *resultobj;
8623 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8624 int result;
8625 PyObject * obj0 = 0 ;
8626 char *kwnames[] = {
8627 (char *) "self", NULL
8628 };
8629
8630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetValue",kwnames,&obj0)) goto fail;
8631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8632 {
8633 PyThreadState* __tstate = wxPyBeginAllowThreads();
8634 result = (int)((wxSpinButton const *)arg1)->GetValue();
8635
8636 wxPyEndAllowThreads(__tstate);
8637 if (PyErr_Occurred()) SWIG_fail;
8638 }
8639 resultobj = PyInt_FromLong((long)result);
8640 return resultobj;
8641 fail:
8642 return NULL;
8643 }
8644
8645
8646 static PyObject *_wrap_SpinButton_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8647 PyObject *resultobj;
8648 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8649 int result;
8650 PyObject * obj0 = 0 ;
8651 char *kwnames[] = {
8652 (char *) "self", NULL
8653 };
8654
8655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMin",kwnames,&obj0)) goto fail;
8656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8657 {
8658 PyThreadState* __tstate = wxPyBeginAllowThreads();
8659 result = (int)((wxSpinButton const *)arg1)->GetMin();
8660
8661 wxPyEndAllowThreads(__tstate);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
8664 resultobj = PyInt_FromLong((long)result);
8665 return resultobj;
8666 fail:
8667 return NULL;
8668 }
8669
8670
8671 static PyObject *_wrap_SpinButton_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8672 PyObject *resultobj;
8673 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8674 int result;
8675 PyObject * obj0 = 0 ;
8676 char *kwnames[] = {
8677 (char *) "self", NULL
8678 };
8679
8680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_GetMax",kwnames,&obj0)) goto fail;
8681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8682 {
8683 PyThreadState* __tstate = wxPyBeginAllowThreads();
8684 result = (int)((wxSpinButton const *)arg1)->GetMax();
8685
8686 wxPyEndAllowThreads(__tstate);
8687 if (PyErr_Occurred()) SWIG_fail;
8688 }
8689 resultobj = PyInt_FromLong((long)result);
8690 return resultobj;
8691 fail:
8692 return NULL;
8693 }
8694
8695
8696 static PyObject *_wrap_SpinButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
8697 PyObject *resultobj;
8698 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8699 int arg2 ;
8700 PyObject * obj0 = 0 ;
8701 char *kwnames[] = {
8702 (char *) "self",(char *) "val", NULL
8703 };
8704
8705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetValue",kwnames,&obj0,&arg2)) goto fail;
8706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8707 {
8708 PyThreadState* __tstate = wxPyBeginAllowThreads();
8709 (arg1)->SetValue(arg2);
8710
8711 wxPyEndAllowThreads(__tstate);
8712 if (PyErr_Occurred()) SWIG_fail;
8713 }
8714 Py_INCREF(Py_None); resultobj = Py_None;
8715 return resultobj;
8716 fail:
8717 return NULL;
8718 }
8719
8720
8721 static PyObject *_wrap_SpinButton_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
8722 PyObject *resultobj;
8723 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8724 int arg2 ;
8725 PyObject * obj0 = 0 ;
8726 char *kwnames[] = {
8727 (char *) "self",(char *) "minVal", NULL
8728 };
8729
8730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMin",kwnames,&obj0,&arg2)) goto fail;
8731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8732 {
8733 PyThreadState* __tstate = wxPyBeginAllowThreads();
8734 (arg1)->SetMin(arg2);
8735
8736 wxPyEndAllowThreads(__tstate);
8737 if (PyErr_Occurred()) SWIG_fail;
8738 }
8739 Py_INCREF(Py_None); resultobj = Py_None;
8740 return resultobj;
8741 fail:
8742 return NULL;
8743 }
8744
8745
8746 static PyObject *_wrap_SpinButton_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
8747 PyObject *resultobj;
8748 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8749 int arg2 ;
8750 PyObject * obj0 = 0 ;
8751 char *kwnames[] = {
8752 (char *) "self",(char *) "maxVal", NULL
8753 };
8754
8755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinButton_SetMax",kwnames,&obj0,&arg2)) goto fail;
8756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8757 {
8758 PyThreadState* __tstate = wxPyBeginAllowThreads();
8759 (arg1)->SetMax(arg2);
8760
8761 wxPyEndAllowThreads(__tstate);
8762 if (PyErr_Occurred()) SWIG_fail;
8763 }
8764 Py_INCREF(Py_None); resultobj = Py_None;
8765 return resultobj;
8766 fail:
8767 return NULL;
8768 }
8769
8770
8771 static PyObject *_wrap_SpinButton_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8772 PyObject *resultobj;
8773 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8774 int arg2 ;
8775 int arg3 ;
8776 PyObject * obj0 = 0 ;
8777 char *kwnames[] = {
8778 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
8779 };
8780
8781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinButton_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
8782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8783 {
8784 PyThreadState* __tstate = wxPyBeginAllowThreads();
8785 (arg1)->SetRange(arg2,arg3);
8786
8787 wxPyEndAllowThreads(__tstate);
8788 if (PyErr_Occurred()) SWIG_fail;
8789 }
8790 Py_INCREF(Py_None); resultobj = Py_None;
8791 return resultobj;
8792 fail:
8793 return NULL;
8794 }
8795
8796
8797 static PyObject *_wrap_SpinButton_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
8798 PyObject *resultobj;
8799 wxSpinButton *arg1 = (wxSpinButton *) 0 ;
8800 bool result;
8801 PyObject * obj0 = 0 ;
8802 char *kwnames[] = {
8803 (char *) "self", NULL
8804 };
8805
8806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinButton_IsVertical",kwnames,&obj0)) goto fail;
8807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8808 {
8809 PyThreadState* __tstate = wxPyBeginAllowThreads();
8810 result = (bool)((wxSpinButton const *)arg1)->IsVertical();
8811
8812 wxPyEndAllowThreads(__tstate);
8813 if (PyErr_Occurred()) SWIG_fail;
8814 }
8815 resultobj = PyInt_FromLong((long)result);
8816 return resultobj;
8817 fail:
8818 return NULL;
8819 }
8820
8821
8822 static PyObject * SpinButton_swigregister(PyObject *self, PyObject *args) {
8823 PyObject *obj;
8824 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8825 SWIG_TypeClientData(SWIGTYPE_p_wxSpinButton, obj);
8826 Py_INCREF(obj);
8827 return Py_BuildValue((char *)"");
8828 }
8829 static PyObject *_wrap_new_SpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8830 PyObject *resultobj;
8831 wxWindow *arg1 = (wxWindow *) 0 ;
8832 int arg2 = (int) -1 ;
8833 wxString const &arg3_defvalue = wxPyEmptyString ;
8834 wxString *arg3 = (wxString *) &arg3_defvalue ;
8835 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8836 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8837 wxSize const &arg5_defvalue = wxDefaultSize ;
8838 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8839 long arg6 = (long) wxSP_ARROW_KEYS ;
8840 int arg7 = (int) 0 ;
8841 int arg8 = (int) 100 ;
8842 int arg9 = (int) 0 ;
8843 wxString const &arg10_defvalue = wxPySpinCtrlNameStr ;
8844 wxString *arg10 = (wxString *) &arg10_defvalue ;
8845 wxSpinCtrl *result;
8846 bool temp3 = False ;
8847 wxPoint temp4 ;
8848 wxSize temp5 ;
8849 bool temp10 = False ;
8850 PyObject * obj0 = 0 ;
8851 PyObject * obj2 = 0 ;
8852 PyObject * obj3 = 0 ;
8853 PyObject * obj4 = 0 ;
8854 PyObject * obj9 = 0 ;
8855 char *kwnames[] = {
8856 (char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8857 };
8858
8859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOliiiO:new_SpinCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&arg7,&arg8,&arg9,&obj9)) goto fail;
8860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8861 if (obj2) {
8862 {
8863 arg3 = wxString_in_helper(obj2);
8864 if (arg3 == NULL) SWIG_fail;
8865 temp3 = True;
8866 }
8867 }
8868 if (obj3) {
8869 {
8870 arg4 = &temp4;
8871 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8872 }
8873 }
8874 if (obj4) {
8875 {
8876 arg5 = &temp5;
8877 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8878 }
8879 }
8880 if (obj9) {
8881 {
8882 arg10 = wxString_in_helper(obj9);
8883 if (arg10 == NULL) SWIG_fail;
8884 temp10 = True;
8885 }
8886 }
8887 {
8888 PyThreadState* __tstate = wxPyBeginAllowThreads();
8889 result = (wxSpinCtrl *)new wxSpinCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,arg7,arg8,arg9,(wxString const &)*arg10);
8890
8891 wxPyEndAllowThreads(__tstate);
8892 if (PyErr_Occurred()) SWIG_fail;
8893 }
8894 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8895 {
8896 if (temp3)
8897 delete arg3;
8898 }
8899 {
8900 if (temp10)
8901 delete arg10;
8902 }
8903 return resultobj;
8904 fail:
8905 {
8906 if (temp3)
8907 delete arg3;
8908 }
8909 {
8910 if (temp10)
8911 delete arg10;
8912 }
8913 return NULL;
8914 }
8915
8916
8917 static PyObject *_wrap_new_PreSpinCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
8918 PyObject *resultobj;
8919 wxSpinCtrl *result;
8920 char *kwnames[] = {
8921 NULL
8922 };
8923
8924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSpinCtrl",kwnames)) goto fail;
8925 {
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 result = (wxSpinCtrl *)new wxSpinCtrl();
8928
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
8932 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSpinCtrl, 1);
8933 return resultobj;
8934 fail:
8935 return NULL;
8936 }
8937
8938
8939 static PyObject *_wrap_SpinCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj;
8941 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
8942 wxWindow *arg2 = (wxWindow *) 0 ;
8943 int arg3 = (int) -1 ;
8944 wxString const &arg4_defvalue = wxPyEmptyString ;
8945 wxString *arg4 = (wxString *) &arg4_defvalue ;
8946 wxPoint const &arg5_defvalue = wxDefaultPosition ;
8947 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
8948 wxSize const &arg6_defvalue = wxDefaultSize ;
8949 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
8950 long arg7 = (long) wxSP_ARROW_KEYS ;
8951 int arg8 = (int) 0 ;
8952 int arg9 = (int) 100 ;
8953 int arg10 = (int) 0 ;
8954 wxString const &arg11_defvalue = wxPySpinCtrlNameStr ;
8955 wxString *arg11 = (wxString *) &arg11_defvalue ;
8956 bool result;
8957 bool temp4 = False ;
8958 wxPoint temp5 ;
8959 wxSize temp6 ;
8960 bool temp11 = False ;
8961 PyObject * obj0 = 0 ;
8962 PyObject * obj1 = 0 ;
8963 PyObject * obj3 = 0 ;
8964 PyObject * obj4 = 0 ;
8965 PyObject * obj5 = 0 ;
8966 PyObject * obj10 = 0 ;
8967 char *kwnames[] = {
8968 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "pos",(char *) "size",(char *) "style",(char *) "min",(char *) "max",(char *) "initial",(char *) "name", NULL
8969 };
8970
8971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOliiiO:SpinCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&arg8,&arg9,&arg10,&obj10)) goto fail;
8972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8974 if (obj3) {
8975 {
8976 arg4 = wxString_in_helper(obj3);
8977 if (arg4 == NULL) SWIG_fail;
8978 temp4 = True;
8979 }
8980 }
8981 if (obj4) {
8982 {
8983 arg5 = &temp5;
8984 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
8985 }
8986 }
8987 if (obj5) {
8988 {
8989 arg6 = &temp6;
8990 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
8991 }
8992 }
8993 if (obj10) {
8994 {
8995 arg11 = wxString_in_helper(obj10);
8996 if (arg11 == NULL) SWIG_fail;
8997 temp11 = True;
8998 }
8999 }
9000 {
9001 PyThreadState* __tstate = wxPyBeginAllowThreads();
9002 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,arg8,arg9,arg10,(wxString const &)*arg11);
9003
9004 wxPyEndAllowThreads(__tstate);
9005 if (PyErr_Occurred()) SWIG_fail;
9006 }
9007 resultobj = PyInt_FromLong((long)result);
9008 {
9009 if (temp4)
9010 delete arg4;
9011 }
9012 {
9013 if (temp11)
9014 delete arg11;
9015 }
9016 return resultobj;
9017 fail:
9018 {
9019 if (temp4)
9020 delete arg4;
9021 }
9022 {
9023 if (temp11)
9024 delete arg11;
9025 }
9026 return NULL;
9027 }
9028
9029
9030 static PyObject *_wrap_SpinCtrl_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9031 PyObject *resultobj;
9032 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9033 int result;
9034 PyObject * obj0 = 0 ;
9035 char *kwnames[] = {
9036 (char *) "self", NULL
9037 };
9038
9039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetValue",kwnames,&obj0)) goto fail;
9040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9041 {
9042 PyThreadState* __tstate = wxPyBeginAllowThreads();
9043 result = (int)((wxSpinCtrl const *)arg1)->GetValue();
9044
9045 wxPyEndAllowThreads(__tstate);
9046 if (PyErr_Occurred()) SWIG_fail;
9047 }
9048 resultobj = PyInt_FromLong((long)result);
9049 return resultobj;
9050 fail:
9051 return NULL;
9052 }
9053
9054
9055 static PyObject *_wrap_SpinCtrl_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
9056 PyObject *resultobj;
9057 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9058 int arg2 ;
9059 PyObject * obj0 = 0 ;
9060 char *kwnames[] = {
9061 (char *) "self",(char *) "value", NULL
9062 };
9063
9064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SpinCtrl_SetValue",kwnames,&obj0,&arg2)) goto fail;
9065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9066 {
9067 PyThreadState* __tstate = wxPyBeginAllowThreads();
9068 (arg1)->SetValue(arg2);
9069
9070 wxPyEndAllowThreads(__tstate);
9071 if (PyErr_Occurred()) SWIG_fail;
9072 }
9073 Py_INCREF(Py_None); resultobj = Py_None;
9074 return resultobj;
9075 fail:
9076 return NULL;
9077 }
9078
9079
9080 static PyObject *_wrap_SpinCtrl_SetValueString(PyObject *self, PyObject *args, PyObject *kwargs) {
9081 PyObject *resultobj;
9082 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9083 wxString *arg2 = 0 ;
9084 bool temp2 = False ;
9085 PyObject * obj0 = 0 ;
9086 PyObject * obj1 = 0 ;
9087 char *kwnames[] = {
9088 (char *) "self",(char *) "text", NULL
9089 };
9090
9091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SpinCtrl_SetValueString",kwnames,&obj0,&obj1)) goto fail;
9092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9093 {
9094 arg2 = wxString_in_helper(obj1);
9095 if (arg2 == NULL) SWIG_fail;
9096 temp2 = True;
9097 }
9098 {
9099 PyThreadState* __tstate = wxPyBeginAllowThreads();
9100 (arg1)->SetValue((wxString const &)*arg2);
9101
9102 wxPyEndAllowThreads(__tstate);
9103 if (PyErr_Occurred()) SWIG_fail;
9104 }
9105 Py_INCREF(Py_None); resultobj = Py_None;
9106 {
9107 if (temp2)
9108 delete arg2;
9109 }
9110 return resultobj;
9111 fail:
9112 {
9113 if (temp2)
9114 delete arg2;
9115 }
9116 return NULL;
9117 }
9118
9119
9120 static PyObject *_wrap_SpinCtrl_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9121 PyObject *resultobj;
9122 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9123 int arg2 ;
9124 int arg3 ;
9125 PyObject * obj0 = 0 ;
9126 char *kwnames[] = {
9127 (char *) "self",(char *) "minVal",(char *) "maxVal", NULL
9128 };
9129
9130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:SpinCtrl_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
9131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9132 {
9133 PyThreadState* __tstate = wxPyBeginAllowThreads();
9134 (arg1)->SetRange(arg2,arg3);
9135
9136 wxPyEndAllowThreads(__tstate);
9137 if (PyErr_Occurred()) SWIG_fail;
9138 }
9139 Py_INCREF(Py_None); resultobj = Py_None;
9140 return resultobj;
9141 fail:
9142 return NULL;
9143 }
9144
9145
9146 static PyObject *_wrap_SpinCtrl_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
9147 PyObject *resultobj;
9148 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9149 int result;
9150 PyObject * obj0 = 0 ;
9151 char *kwnames[] = {
9152 (char *) "self", NULL
9153 };
9154
9155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMin",kwnames,&obj0)) goto fail;
9156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9157 {
9158 PyThreadState* __tstate = wxPyBeginAllowThreads();
9159 result = (int)((wxSpinCtrl const *)arg1)->GetMin();
9160
9161 wxPyEndAllowThreads(__tstate);
9162 if (PyErr_Occurred()) SWIG_fail;
9163 }
9164 resultobj = PyInt_FromLong((long)result);
9165 return resultobj;
9166 fail:
9167 return NULL;
9168 }
9169
9170
9171 static PyObject *_wrap_SpinCtrl_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
9172 PyObject *resultobj;
9173 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9174 int result;
9175 PyObject * obj0 = 0 ;
9176 char *kwnames[] = {
9177 (char *) "self", NULL
9178 };
9179
9180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SpinCtrl_GetMax",kwnames,&obj0)) goto fail;
9181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9182 {
9183 PyThreadState* __tstate = wxPyBeginAllowThreads();
9184 result = (int)((wxSpinCtrl const *)arg1)->GetMax();
9185
9186 wxPyEndAllowThreads(__tstate);
9187 if (PyErr_Occurred()) SWIG_fail;
9188 }
9189 resultobj = PyInt_FromLong((long)result);
9190 return resultobj;
9191 fail:
9192 return NULL;
9193 }
9194
9195
9196 static PyObject *_wrap_SpinCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9197 PyObject *resultobj;
9198 wxSpinCtrl *arg1 = (wxSpinCtrl *) 0 ;
9199 long arg2 ;
9200 long arg3 ;
9201 PyObject * obj0 = 0 ;
9202 char *kwnames[] = {
9203 (char *) "self",(char *) "from",(char *) "to", NULL
9204 };
9205
9206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:SpinCtrl_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
9207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSpinCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9208 {
9209 PyThreadState* __tstate = wxPyBeginAllowThreads();
9210 (arg1)->SetSelection(arg2,arg3);
9211
9212 wxPyEndAllowThreads(__tstate);
9213 if (PyErr_Occurred()) SWIG_fail;
9214 }
9215 Py_INCREF(Py_None); resultobj = Py_None;
9216 return resultobj;
9217 fail:
9218 return NULL;
9219 }
9220
9221
9222 static PyObject * SpinCtrl_swigregister(PyObject *self, PyObject *args) {
9223 PyObject *obj;
9224 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9225 SWIG_TypeClientData(SWIGTYPE_p_wxSpinCtrl, obj);
9226 Py_INCREF(obj);
9227 return Py_BuildValue((char *)"");
9228 }
9229 static PyObject *_wrap_new_RadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9230 PyObject *resultobj;
9231 wxWindow *arg1 = (wxWindow *) 0 ;
9232 int arg2 ;
9233 wxString *arg3 = 0 ;
9234 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9235 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9236 wxSize const &arg5_defvalue = wxDefaultSize ;
9237 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9238 int arg6 = (int) 0 ;
9239 wxString *arg7 = (wxString *) NULL ;
9240 int arg8 = (int) 0 ;
9241 long arg9 = (long) wxRA_HORIZONTAL ;
9242 wxValidator const &arg10_defvalue = wxDefaultValidator ;
9243 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
9244 wxString const &arg11_defvalue = wxPyRadioBoxNameStr ;
9245 wxString *arg11 = (wxString *) &arg11_defvalue ;
9246 wxRadioBox *result;
9247 bool temp3 = False ;
9248 wxPoint temp4 ;
9249 wxSize temp5 ;
9250 bool temp10 = False ;
9251 PyObject * obj0 = 0 ;
9252 PyObject * obj2 = 0 ;
9253 PyObject * obj3 = 0 ;
9254 PyObject * obj4 = 0 ;
9255 PyObject * obj5 = 0 ;
9256 PyObject * obj8 = 0 ;
9257 PyObject * obj9 = 0 ;
9258 char *kwnames[] = {
9259 (char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9260 };
9261
9262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOOilOO:new_RadioBox",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&obj5,&arg8,&arg9,&obj8,&obj9)) goto fail;
9263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9264 {
9265 arg3 = wxString_in_helper(obj2);
9266 if (arg3 == NULL) SWIG_fail;
9267 temp3 = True;
9268 }
9269 if (obj3) {
9270 {
9271 arg4 = &temp4;
9272 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9273 }
9274 }
9275 if (obj4) {
9276 {
9277 arg5 = &temp5;
9278 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9279 }
9280 }
9281 if (obj5) {
9282 {
9283 arg6 = PyList_Size(obj5);
9284 arg7 = wxString_LIST_helper(obj5);
9285 if (arg7 == NULL) SWIG_fail;
9286 }
9287 }
9288 if (obj8) {
9289 if ((SWIG_ConvertPtr(obj8,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9290 if (arg10 == NULL) {
9291 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9292 }
9293 }
9294 if (obj9) {
9295 {
9296 arg11 = wxString_in_helper(obj9);
9297 if (arg11 == NULL) SWIG_fail;
9298 temp10 = True;
9299 }
9300 }
9301 {
9302 PyThreadState* __tstate = wxPyBeginAllowThreads();
9303 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);
9304
9305 wxPyEndAllowThreads(__tstate);
9306 if (PyErr_Occurred()) SWIG_fail;
9307 }
9308 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9309 {
9310 if (temp3)
9311 delete arg3;
9312 }
9313 {
9314 if (arg7) delete [] arg7;
9315 }
9316 {
9317 if (temp10)
9318 delete arg11;
9319 }
9320 return resultobj;
9321 fail:
9322 {
9323 if (temp3)
9324 delete arg3;
9325 }
9326 {
9327 if (arg7) delete [] arg7;
9328 }
9329 {
9330 if (temp10)
9331 delete arg11;
9332 }
9333 return NULL;
9334 }
9335
9336
9337 static PyObject *_wrap_new_PreRadioBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9338 PyObject *resultobj;
9339 wxRadioBox *result;
9340 char *kwnames[] = {
9341 NULL
9342 };
9343
9344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioBox",kwnames)) goto fail;
9345 {
9346 PyThreadState* __tstate = wxPyBeginAllowThreads();
9347 result = (wxRadioBox *)new wxRadioBox();
9348
9349 wxPyEndAllowThreads(__tstate);
9350 if (PyErr_Occurred()) SWIG_fail;
9351 }
9352 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioBox, 1);
9353 return resultobj;
9354 fail:
9355 return NULL;
9356 }
9357
9358
9359 static PyObject *_wrap_RadioBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9360 PyObject *resultobj;
9361 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9362 wxWindow *arg2 = (wxWindow *) 0 ;
9363 int arg3 ;
9364 wxString *arg4 = 0 ;
9365 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9366 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9367 wxSize const &arg6_defvalue = wxDefaultSize ;
9368 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9369 int arg7 = (int) 0 ;
9370 wxString *arg8 = (wxString *) NULL ;
9371 int arg9 = (int) 0 ;
9372 long arg10 = (long) wxRA_HORIZONTAL ;
9373 wxValidator const &arg11_defvalue = wxDefaultValidator ;
9374 wxValidator *arg11 = (wxValidator *) &arg11_defvalue ;
9375 wxString const &arg12_defvalue = wxPyRadioBoxNameStr ;
9376 wxString *arg12 = (wxString *) &arg12_defvalue ;
9377 bool result;
9378 bool temp4 = False ;
9379 wxPoint temp5 ;
9380 wxSize temp6 ;
9381 bool temp11 = False ;
9382 PyObject * obj0 = 0 ;
9383 PyObject * obj1 = 0 ;
9384 PyObject * obj3 = 0 ;
9385 PyObject * obj4 = 0 ;
9386 PyObject * obj5 = 0 ;
9387 PyObject * obj6 = 0 ;
9388 PyObject * obj9 = 0 ;
9389 PyObject * obj10 = 0 ;
9390 char *kwnames[] = {
9391 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "point",(char *) "size",(char *) "choices",(char *) "majorDimension",(char *) "style",(char *) "validator",(char *) "name", NULL
9392 };
9393
9394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOOilOO:RadioBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&obj6,&arg9,&arg10,&obj9,&obj10)) goto fail;
9395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9396 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9397 {
9398 arg4 = wxString_in_helper(obj3);
9399 if (arg4 == NULL) SWIG_fail;
9400 temp4 = True;
9401 }
9402 if (obj4) {
9403 {
9404 arg5 = &temp5;
9405 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9406 }
9407 }
9408 if (obj5) {
9409 {
9410 arg6 = &temp6;
9411 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9412 }
9413 }
9414 if (obj6) {
9415 {
9416 arg7 = PyList_Size(obj6);
9417 arg8 = wxString_LIST_helper(obj6);
9418 if (arg8 == NULL) SWIG_fail;
9419 }
9420 }
9421 if (obj9) {
9422 if ((SWIG_ConvertPtr(obj9,(void **) &arg11, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9423 if (arg11 == NULL) {
9424 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9425 }
9426 }
9427 if (obj10) {
9428 {
9429 arg12 = wxString_in_helper(obj10);
9430 if (arg12 == NULL) SWIG_fail;
9431 temp11 = True;
9432 }
9433 }
9434 {
9435 PyThreadState* __tstate = wxPyBeginAllowThreads();
9436 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);
9437
9438 wxPyEndAllowThreads(__tstate);
9439 if (PyErr_Occurred()) SWIG_fail;
9440 }
9441 resultobj = PyInt_FromLong((long)result);
9442 {
9443 if (temp4)
9444 delete arg4;
9445 }
9446 {
9447 if (arg8) delete [] arg8;
9448 }
9449 {
9450 if (temp11)
9451 delete arg12;
9452 }
9453 return resultobj;
9454 fail:
9455 {
9456 if (temp4)
9457 delete arg4;
9458 }
9459 {
9460 if (arg8) delete [] arg8;
9461 }
9462 {
9463 if (temp11)
9464 delete arg12;
9465 }
9466 return NULL;
9467 }
9468
9469
9470 static PyObject *_wrap_RadioBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9471 PyObject *resultobj;
9472 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9473 int arg2 ;
9474 PyObject * obj0 = 0 ;
9475 char *kwnames[] = {
9476 (char *) "self",(char *) "n", NULL
9477 };
9478
9479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9481 {
9482 PyThreadState* __tstate = wxPyBeginAllowThreads();
9483 (arg1)->SetSelection(arg2);
9484
9485 wxPyEndAllowThreads(__tstate);
9486 if (PyErr_Occurred()) SWIG_fail;
9487 }
9488 Py_INCREF(Py_None); resultobj = Py_None;
9489 return resultobj;
9490 fail:
9491 return NULL;
9492 }
9493
9494
9495 static PyObject *_wrap_RadioBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9496 PyObject *resultobj;
9497 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9498 int result;
9499 PyObject * obj0 = 0 ;
9500 char *kwnames[] = {
9501 (char *) "self", NULL
9502 };
9503
9504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetSelection",kwnames,&obj0)) goto fail;
9505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9506 {
9507 PyThreadState* __tstate = wxPyBeginAllowThreads();
9508 result = (int)((wxRadioBox const *)arg1)->GetSelection();
9509
9510 wxPyEndAllowThreads(__tstate);
9511 if (PyErr_Occurred()) SWIG_fail;
9512 }
9513 resultobj = PyInt_FromLong((long)result);
9514 return resultobj;
9515 fail:
9516 return NULL;
9517 }
9518
9519
9520 static PyObject *_wrap_RadioBox_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9521 PyObject *resultobj;
9522 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9523 wxString result;
9524 PyObject * obj0 = 0 ;
9525 char *kwnames[] = {
9526 (char *) "self", NULL
9527 };
9528
9529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetStringSelection",kwnames,&obj0)) goto fail;
9530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 result = ((wxRadioBox const *)arg1)->GetStringSelection();
9534
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 {
9539 #if wxUSE_UNICODE
9540 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9541 #else
9542 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9543 #endif
9544 }
9545 return resultobj;
9546 fail:
9547 return NULL;
9548 }
9549
9550
9551 static PyObject *_wrap_RadioBox_SetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9552 PyObject *resultobj;
9553 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9554 wxString *arg2 = 0 ;
9555 bool result;
9556 bool temp2 = False ;
9557 PyObject * obj0 = 0 ;
9558 PyObject * obj1 = 0 ;
9559 char *kwnames[] = {
9560 (char *) "self",(char *) "s", NULL
9561 };
9562
9563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_SetStringSelection",kwnames,&obj0,&obj1)) goto fail;
9564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9565 {
9566 arg2 = wxString_in_helper(obj1);
9567 if (arg2 == NULL) SWIG_fail;
9568 temp2 = True;
9569 }
9570 {
9571 PyThreadState* __tstate = wxPyBeginAllowThreads();
9572 result = (bool)(arg1)->SetStringSelection((wxString const &)*arg2);
9573
9574 wxPyEndAllowThreads(__tstate);
9575 if (PyErr_Occurred()) SWIG_fail;
9576 }
9577 resultobj = PyInt_FromLong((long)result);
9578 {
9579 if (temp2)
9580 delete arg2;
9581 }
9582 return resultobj;
9583 fail:
9584 {
9585 if (temp2)
9586 delete arg2;
9587 }
9588 return NULL;
9589 }
9590
9591
9592 static PyObject *_wrap_RadioBox_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9593 PyObject *resultobj;
9594 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9595 int result;
9596 PyObject * obj0 = 0 ;
9597 char *kwnames[] = {
9598 (char *) "self", NULL
9599 };
9600
9601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetCount",kwnames,&obj0)) goto fail;
9602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9603 {
9604 PyThreadState* __tstate = wxPyBeginAllowThreads();
9605 result = (int)((wxRadioBox const *)arg1)->GetCount();
9606
9607 wxPyEndAllowThreads(__tstate);
9608 if (PyErr_Occurred()) SWIG_fail;
9609 }
9610 resultobj = PyInt_FromLong((long)result);
9611 return resultobj;
9612 fail:
9613 return NULL;
9614 }
9615
9616
9617 static PyObject *_wrap_RadioBox_FindString(PyObject *self, PyObject *args, PyObject *kwargs) {
9618 PyObject *resultobj;
9619 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9620 wxString *arg2 = 0 ;
9621 int result;
9622 bool temp2 = False ;
9623 PyObject * obj0 = 0 ;
9624 PyObject * obj1 = 0 ;
9625 char *kwnames[] = {
9626 (char *) "self",(char *) "s", NULL
9627 };
9628
9629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioBox_FindString",kwnames,&obj0,&obj1)) goto fail;
9630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9631 {
9632 arg2 = wxString_in_helper(obj1);
9633 if (arg2 == NULL) SWIG_fail;
9634 temp2 = True;
9635 }
9636 {
9637 PyThreadState* __tstate = wxPyBeginAllowThreads();
9638 result = (int)((wxRadioBox const *)arg1)->FindString((wxString const &)*arg2);
9639
9640 wxPyEndAllowThreads(__tstate);
9641 if (PyErr_Occurred()) SWIG_fail;
9642 }
9643 resultobj = PyInt_FromLong((long)result);
9644 {
9645 if (temp2)
9646 delete arg2;
9647 }
9648 return resultobj;
9649 fail:
9650 {
9651 if (temp2)
9652 delete arg2;
9653 }
9654 return NULL;
9655 }
9656
9657
9658 static PyObject *_wrap_RadioBox_GetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9659 PyObject *resultobj;
9660 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9661 int arg2 ;
9662 wxString result;
9663 PyObject * obj0 = 0 ;
9664 char *kwnames[] = {
9665 (char *) "self",(char *) "n", NULL
9666 };
9667
9668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:RadioBox_GetString",kwnames,&obj0,&arg2)) goto fail;
9669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9670 {
9671 PyThreadState* __tstate = wxPyBeginAllowThreads();
9672 result = ((wxRadioBox const *)arg1)->GetString(arg2);
9673
9674 wxPyEndAllowThreads(__tstate);
9675 if (PyErr_Occurred()) SWIG_fail;
9676 }
9677 {
9678 #if wxUSE_UNICODE
9679 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9680 #else
9681 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9682 #endif
9683 }
9684 return resultobj;
9685 fail:
9686 return NULL;
9687 }
9688
9689
9690 static PyObject *_wrap_RadioBox_SetString(PyObject *self, PyObject *args, PyObject *kwargs) {
9691 PyObject *resultobj;
9692 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9693 int arg2 ;
9694 wxString *arg3 = 0 ;
9695 bool temp3 = False ;
9696 PyObject * obj0 = 0 ;
9697 PyObject * obj2 = 0 ;
9698 char *kwnames[] = {
9699 (char *) "self",(char *) "n",(char *) "label", NULL
9700 };
9701
9702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:RadioBox_SetString",kwnames,&obj0,&arg2,&obj2)) goto fail;
9703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9704 {
9705 arg3 = wxString_in_helper(obj2);
9706 if (arg3 == NULL) SWIG_fail;
9707 temp3 = True;
9708 }
9709 {
9710 PyThreadState* __tstate = wxPyBeginAllowThreads();
9711 (arg1)->SetString(arg2,(wxString const &)*arg3);
9712
9713 wxPyEndAllowThreads(__tstate);
9714 if (PyErr_Occurred()) SWIG_fail;
9715 }
9716 Py_INCREF(Py_None); resultobj = Py_None;
9717 {
9718 if (temp3)
9719 delete arg3;
9720 }
9721 return resultobj;
9722 fail:
9723 {
9724 if (temp3)
9725 delete arg3;
9726 }
9727 return NULL;
9728 }
9729
9730
9731 static PyObject *_wrap_RadioBox_EnableItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9732 PyObject *resultobj;
9733 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9734 int arg2 ;
9735 bool arg3 = (bool) True ;
9736 PyObject * obj0 = 0 ;
9737 PyObject * obj2 = 0 ;
9738 char *kwnames[] = {
9739 (char *) "self",(char *) "n",(char *) "enable", NULL
9740 };
9741
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_EnableItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9744 if (obj2) {
9745 arg3 = PyInt_AsLong(obj2) ? true : false;
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
9748 {
9749 PyThreadState* __tstate = wxPyBeginAllowThreads();
9750 (arg1)->Enable(arg2,arg3);
9751
9752 wxPyEndAllowThreads(__tstate);
9753 if (PyErr_Occurred()) SWIG_fail;
9754 }
9755 Py_INCREF(Py_None); resultobj = Py_None;
9756 return resultobj;
9757 fail:
9758 return NULL;
9759 }
9760
9761
9762 static PyObject *_wrap_RadioBox_ShowItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9763 PyObject *resultobj;
9764 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9765 int arg2 ;
9766 bool arg3 = (bool) True ;
9767 PyObject * obj0 = 0 ;
9768 PyObject * obj2 = 0 ;
9769 char *kwnames[] = {
9770 (char *) "self",(char *) "n",(char *) "show", NULL
9771 };
9772
9773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:RadioBox_ShowItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
9774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9775 if (obj2) {
9776 arg3 = PyInt_AsLong(obj2) ? true : false;
9777 if (PyErr_Occurred()) SWIG_fail;
9778 }
9779 {
9780 PyThreadState* __tstate = wxPyBeginAllowThreads();
9781 (arg1)->Show(arg2,arg3);
9782
9783 wxPyEndAllowThreads(__tstate);
9784 if (PyErr_Occurred()) SWIG_fail;
9785 }
9786 Py_INCREF(Py_None); resultobj = Py_None;
9787 return resultobj;
9788 fail:
9789 return NULL;
9790 }
9791
9792
9793 static PyObject *_wrap_RadioBox_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9794 PyObject *resultobj;
9795 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9796 int result;
9797 PyObject * obj0 = 0 ;
9798 char *kwnames[] = {
9799 (char *) "self", NULL
9800 };
9801
9802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetColumnCount",kwnames,&obj0)) goto fail;
9803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9804 {
9805 PyThreadState* __tstate = wxPyBeginAllowThreads();
9806 result = (int)((wxRadioBox const *)arg1)->GetColumnCount();
9807
9808 wxPyEndAllowThreads(__tstate);
9809 if (PyErr_Occurred()) SWIG_fail;
9810 }
9811 resultobj = PyInt_FromLong((long)result);
9812 return resultobj;
9813 fail:
9814 return NULL;
9815 }
9816
9817
9818 static PyObject *_wrap_RadioBox_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9819 PyObject *resultobj;
9820 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9821 int result;
9822 PyObject * obj0 = 0 ;
9823 char *kwnames[] = {
9824 (char *) "self", NULL
9825 };
9826
9827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioBox_GetRowCount",kwnames,&obj0)) goto fail;
9828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9829 {
9830 PyThreadState* __tstate = wxPyBeginAllowThreads();
9831 result = (int)((wxRadioBox const *)arg1)->GetRowCount();
9832
9833 wxPyEndAllowThreads(__tstate);
9834 if (PyErr_Occurred()) SWIG_fail;
9835 }
9836 resultobj = PyInt_FromLong((long)result);
9837 return resultobj;
9838 fail:
9839 return NULL;
9840 }
9841
9842
9843 static PyObject *_wrap_RadioBox_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
9844 PyObject *resultobj;
9845 wxRadioBox *arg1 = (wxRadioBox *) 0 ;
9846 int arg2 ;
9847 int arg3 ;
9848 long arg4 ;
9849 int result;
9850 PyObject * obj0 = 0 ;
9851 char *kwnames[] = {
9852 (char *) "self",(char *) "item",(char *) "dir",(char *) "style", NULL
9853 };
9854
9855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiil:RadioBox_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
9856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9857 {
9858 PyThreadState* __tstate = wxPyBeginAllowThreads();
9859 result = (int)((wxRadioBox const *)arg1)->GetNextItem(arg2,(wxDirection )arg3,arg4);
9860
9861 wxPyEndAllowThreads(__tstate);
9862 if (PyErr_Occurred()) SWIG_fail;
9863 }
9864 resultobj = PyInt_FromLong((long)result);
9865 return resultobj;
9866 fail:
9867 return NULL;
9868 }
9869
9870
9871 static PyObject * RadioBox_swigregister(PyObject *self, PyObject *args) {
9872 PyObject *obj;
9873 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9874 SWIG_TypeClientData(SWIGTYPE_p_wxRadioBox, obj);
9875 Py_INCREF(obj);
9876 return Py_BuildValue((char *)"");
9877 }
9878 static PyObject *_wrap_new_RadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9879 PyObject *resultobj;
9880 wxWindow *arg1 = (wxWindow *) 0 ;
9881 int arg2 ;
9882 wxString *arg3 = 0 ;
9883 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9884 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9885 wxSize const &arg5_defvalue = wxDefaultSize ;
9886 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9887 long arg6 = (long) 0 ;
9888 wxValidator const &arg7_defvalue = wxDefaultValidator ;
9889 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
9890 wxString const &arg8_defvalue = wxPyRadioButtonNameStr ;
9891 wxString *arg8 = (wxString *) &arg8_defvalue ;
9892 wxRadioButton *result;
9893 bool temp3 = False ;
9894 wxPoint temp4 ;
9895 wxSize temp5 ;
9896 bool temp8 = False ;
9897 PyObject * obj0 = 0 ;
9898 PyObject * obj2 = 0 ;
9899 PyObject * obj3 = 0 ;
9900 PyObject * obj4 = 0 ;
9901 PyObject * obj6 = 0 ;
9902 PyObject * obj7 = 0 ;
9903 char *kwnames[] = {
9904 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
9905 };
9906
9907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_RadioButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
9908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9909 {
9910 arg3 = wxString_in_helper(obj2);
9911 if (arg3 == NULL) SWIG_fail;
9912 temp3 = True;
9913 }
9914 if (obj3) {
9915 {
9916 arg4 = &temp4;
9917 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9918 }
9919 }
9920 if (obj4) {
9921 {
9922 arg5 = &temp5;
9923 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9924 }
9925 }
9926 if (obj6) {
9927 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9928 if (arg7 == NULL) {
9929 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9930 }
9931 }
9932 if (obj7) {
9933 {
9934 arg8 = wxString_in_helper(obj7);
9935 if (arg8 == NULL) SWIG_fail;
9936 temp8 = True;
9937 }
9938 }
9939 {
9940 PyThreadState* __tstate = wxPyBeginAllowThreads();
9941 result = (wxRadioButton *)new wxRadioButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
9942
9943 wxPyEndAllowThreads(__tstate);
9944 if (PyErr_Occurred()) SWIG_fail;
9945 }
9946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9947 {
9948 if (temp3)
9949 delete arg3;
9950 }
9951 {
9952 if (temp8)
9953 delete arg8;
9954 }
9955 return resultobj;
9956 fail:
9957 {
9958 if (temp3)
9959 delete arg3;
9960 }
9961 {
9962 if (temp8)
9963 delete arg8;
9964 }
9965 return NULL;
9966 }
9967
9968
9969 static PyObject *_wrap_new_PreRadioButton(PyObject *self, PyObject *args, PyObject *kwargs) {
9970 PyObject *resultobj;
9971 wxRadioButton *result;
9972 char *kwnames[] = {
9973 NULL
9974 };
9975
9976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreRadioButton",kwnames)) goto fail;
9977 {
9978 PyThreadState* __tstate = wxPyBeginAllowThreads();
9979 result = (wxRadioButton *)new wxRadioButton();
9980
9981 wxPyEndAllowThreads(__tstate);
9982 if (PyErr_Occurred()) SWIG_fail;
9983 }
9984 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxRadioButton, 1);
9985 return resultobj;
9986 fail:
9987 return NULL;
9988 }
9989
9990
9991 static PyObject *_wrap_RadioButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9992 PyObject *resultobj;
9993 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
9994 wxWindow *arg2 = (wxWindow *) 0 ;
9995 int arg3 ;
9996 wxString *arg4 = 0 ;
9997 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9998 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9999 wxSize const &arg6_defvalue = wxDefaultSize ;
10000 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10001 long arg7 = (long) 0 ;
10002 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10003 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10004 wxString const &arg9_defvalue = wxPyRadioButtonNameStr ;
10005 wxString *arg9 = (wxString *) &arg9_defvalue ;
10006 bool result;
10007 bool temp4 = False ;
10008 wxPoint temp5 ;
10009 wxSize temp6 ;
10010 bool temp9 = False ;
10011 PyObject * obj0 = 0 ;
10012 PyObject * obj1 = 0 ;
10013 PyObject * obj3 = 0 ;
10014 PyObject * obj4 = 0 ;
10015 PyObject * obj5 = 0 ;
10016 PyObject * obj7 = 0 ;
10017 PyObject * obj8 = 0 ;
10018 char *kwnames[] = {
10019 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10020 };
10021
10022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:RadioButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
10023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10024 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10025 {
10026 arg4 = wxString_in_helper(obj3);
10027 if (arg4 == NULL) SWIG_fail;
10028 temp4 = True;
10029 }
10030 if (obj4) {
10031 {
10032 arg5 = &temp5;
10033 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10034 }
10035 }
10036 if (obj5) {
10037 {
10038 arg6 = &temp6;
10039 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10040 }
10041 }
10042 if (obj7) {
10043 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10044 if (arg8 == NULL) {
10045 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10046 }
10047 }
10048 if (obj8) {
10049 {
10050 arg9 = wxString_in_helper(obj8);
10051 if (arg9 == NULL) SWIG_fail;
10052 temp9 = True;
10053 }
10054 }
10055 {
10056 PyThreadState* __tstate = wxPyBeginAllowThreads();
10057 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
10058
10059 wxPyEndAllowThreads(__tstate);
10060 if (PyErr_Occurred()) SWIG_fail;
10061 }
10062 resultobj = PyInt_FromLong((long)result);
10063 {
10064 if (temp4)
10065 delete arg4;
10066 }
10067 {
10068 if (temp9)
10069 delete arg9;
10070 }
10071 return resultobj;
10072 fail:
10073 {
10074 if (temp4)
10075 delete arg4;
10076 }
10077 {
10078 if (temp9)
10079 delete arg9;
10080 }
10081 return NULL;
10082 }
10083
10084
10085 static PyObject *_wrap_RadioButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10086 PyObject *resultobj;
10087 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10088 bool result;
10089 PyObject * obj0 = 0 ;
10090 char *kwnames[] = {
10091 (char *) "self", NULL
10092 };
10093
10094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:RadioButton_GetValue",kwnames,&obj0)) goto fail;
10095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10096 {
10097 PyThreadState* __tstate = wxPyBeginAllowThreads();
10098 result = (bool)(arg1)->GetValue();
10099
10100 wxPyEndAllowThreads(__tstate);
10101 if (PyErr_Occurred()) SWIG_fail;
10102 }
10103 resultobj = PyInt_FromLong((long)result);
10104 return resultobj;
10105 fail:
10106 return NULL;
10107 }
10108
10109
10110 static PyObject *_wrap_RadioButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10111 PyObject *resultobj;
10112 wxRadioButton *arg1 = (wxRadioButton *) 0 ;
10113 bool arg2 ;
10114 PyObject * obj0 = 0 ;
10115 PyObject * obj1 = 0 ;
10116 char *kwnames[] = {
10117 (char *) "self",(char *) "value", NULL
10118 };
10119
10120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:RadioButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
10121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxRadioButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10122 arg2 = PyInt_AsLong(obj1) ? true : false;
10123 if (PyErr_Occurred()) SWIG_fail;
10124 {
10125 PyThreadState* __tstate = wxPyBeginAllowThreads();
10126 (arg1)->SetValue(arg2);
10127
10128 wxPyEndAllowThreads(__tstate);
10129 if (PyErr_Occurred()) SWIG_fail;
10130 }
10131 Py_INCREF(Py_None); resultobj = Py_None;
10132 return resultobj;
10133 fail:
10134 return NULL;
10135 }
10136
10137
10138 static PyObject * RadioButton_swigregister(PyObject *self, PyObject *args) {
10139 PyObject *obj;
10140 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10141 SWIG_TypeClientData(SWIGTYPE_p_wxRadioButton, obj);
10142 Py_INCREF(obj);
10143 return Py_BuildValue((char *)"");
10144 }
10145 static PyObject *_wrap_new_Slider(PyObject *self, PyObject *args, PyObject *kwargs) {
10146 PyObject *resultobj;
10147 wxWindow *arg1 = (wxWindow *) 0 ;
10148 int arg2 ;
10149 int arg3 ;
10150 int arg4 ;
10151 int arg5 ;
10152 wxPoint const &arg6_defvalue = wxDefaultPosition ;
10153 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
10154 wxSize const &arg7_defvalue = wxDefaultSize ;
10155 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
10156 long arg8 = (long) wxSL_HORIZONTAL ;
10157 wxValidator const &arg9_defvalue = wxDefaultValidator ;
10158 wxValidator *arg9 = (wxValidator *) &arg9_defvalue ;
10159 wxString const &arg10_defvalue = wxPySliderNameStr ;
10160 wxString *arg10 = (wxString *) &arg10_defvalue ;
10161 wxSlider *result;
10162 wxPoint temp6 ;
10163 wxSize temp7 ;
10164 bool temp10 = False ;
10165 PyObject * obj0 = 0 ;
10166 PyObject * obj5 = 0 ;
10167 PyObject * obj6 = 0 ;
10168 PyObject * obj8 = 0 ;
10169 PyObject * obj9 = 0 ;
10170 char *kwnames[] = {
10171 (char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10172 };
10173
10174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|OOlOO:new_Slider",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&obj5,&obj6,&arg8,&obj8,&obj9)) goto fail;
10175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10176 if (obj5) {
10177 {
10178 arg6 = &temp6;
10179 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
10180 }
10181 }
10182 if (obj6) {
10183 {
10184 arg7 = &temp7;
10185 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
10186 }
10187 }
10188 if (obj8) {
10189 if ((SWIG_ConvertPtr(obj8,(void **) &arg9, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10190 if (arg9 == NULL) {
10191 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10192 }
10193 }
10194 if (obj9) {
10195 {
10196 arg10 = wxString_in_helper(obj9);
10197 if (arg10 == NULL) SWIG_fail;
10198 temp10 = True;
10199 }
10200 }
10201 {
10202 PyThreadState* __tstate = wxPyBeginAllowThreads();
10203 result = (wxSlider *)new wxSlider(arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8,(wxValidator const &)*arg9,(wxString const &)*arg10);
10204
10205 wxPyEndAllowThreads(__tstate);
10206 if (PyErr_Occurred()) SWIG_fail;
10207 }
10208 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10209 {
10210 if (temp10)
10211 delete arg10;
10212 }
10213 return resultobj;
10214 fail:
10215 {
10216 if (temp10)
10217 delete arg10;
10218 }
10219 return NULL;
10220 }
10221
10222
10223 static PyObject *_wrap_new_PreSlider(PyObject *self, PyObject *args, PyObject *kwargs) {
10224 PyObject *resultobj;
10225 wxSlider *result;
10226 char *kwnames[] = {
10227 NULL
10228 };
10229
10230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSlider",kwnames)) goto fail;
10231 {
10232 PyThreadState* __tstate = wxPyBeginAllowThreads();
10233 result = (wxSlider *)new wxSlider();
10234
10235 wxPyEndAllowThreads(__tstate);
10236 if (PyErr_Occurred()) SWIG_fail;
10237 }
10238 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSlider, 1);
10239 return resultobj;
10240 fail:
10241 return NULL;
10242 }
10243
10244
10245 static PyObject *_wrap_Slider_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10246 PyObject *resultobj;
10247 wxSlider *arg1 = (wxSlider *) 0 ;
10248 wxWindow *arg2 = (wxWindow *) 0 ;
10249 int arg3 ;
10250 int arg4 ;
10251 int arg5 ;
10252 int arg6 ;
10253 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10254 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10255 wxSize const &arg8_defvalue = wxDefaultSize ;
10256 wxSize *arg8 = (wxSize *) &arg8_defvalue ;
10257 long arg9 = (long) wxSL_HORIZONTAL ;
10258 wxValidator const &arg10_defvalue = wxDefaultValidator ;
10259 wxValidator *arg10 = (wxValidator *) &arg10_defvalue ;
10260 wxString const &arg11_defvalue = wxPySliderNameStr ;
10261 wxString *arg11 = (wxString *) &arg11_defvalue ;
10262 bool result;
10263 wxPoint temp7 ;
10264 wxSize temp8 ;
10265 bool temp11 = False ;
10266 PyObject * obj0 = 0 ;
10267 PyObject * obj1 = 0 ;
10268 PyObject * obj6 = 0 ;
10269 PyObject * obj7 = 0 ;
10270 PyObject * obj9 = 0 ;
10271 PyObject * obj10 = 0 ;
10272 char *kwnames[] = {
10273 (char *) "self",(char *) "parent",(char *) "id",(char *) "value",(char *) "minValue",(char *) "maxValue",(char *) "point",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10274 };
10275
10276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiiii|OOlOO:Slider_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&arg5,&arg6,&obj6,&obj7,&arg9,&obj9,&obj10)) goto fail;
10277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10278 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10279 if (obj6) {
10280 {
10281 arg7 = &temp7;
10282 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10283 }
10284 }
10285 if (obj7) {
10286 {
10287 arg8 = &temp8;
10288 if ( ! wxSize_helper(obj7, &arg8)) SWIG_fail;
10289 }
10290 }
10291 if (obj9) {
10292 if ((SWIG_ConvertPtr(obj9,(void **) &arg10, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10293 if (arg10 == NULL) {
10294 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10295 }
10296 }
10297 if (obj10) {
10298 {
10299 arg11 = wxString_in_helper(obj10);
10300 if (arg11 == NULL) SWIG_fail;
10301 temp11 = True;
10302 }
10303 }
10304 {
10305 PyThreadState* __tstate = wxPyBeginAllowThreads();
10306 result = (bool)(arg1)->Create(arg2,arg3,arg4,arg5,arg6,(wxPoint const &)*arg7,(wxSize const &)*arg8,arg9,(wxValidator const &)*arg10,(wxString const &)*arg11);
10307
10308 wxPyEndAllowThreads(__tstate);
10309 if (PyErr_Occurred()) SWIG_fail;
10310 }
10311 resultobj = PyInt_FromLong((long)result);
10312 {
10313 if (temp11)
10314 delete arg11;
10315 }
10316 return resultobj;
10317 fail:
10318 {
10319 if (temp11)
10320 delete arg11;
10321 }
10322 return NULL;
10323 }
10324
10325
10326 static PyObject *_wrap_Slider_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10327 PyObject *resultobj;
10328 wxSlider *arg1 = (wxSlider *) 0 ;
10329 int result;
10330 PyObject * obj0 = 0 ;
10331 char *kwnames[] = {
10332 (char *) "self", NULL
10333 };
10334
10335 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetValue",kwnames,&obj0)) goto fail;
10336 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10337 {
10338 PyThreadState* __tstate = wxPyBeginAllowThreads();
10339 result = (int)((wxSlider const *)arg1)->GetValue();
10340
10341 wxPyEndAllowThreads(__tstate);
10342 if (PyErr_Occurred()) SWIG_fail;
10343 }
10344 resultobj = PyInt_FromLong((long)result);
10345 return resultobj;
10346 fail:
10347 return NULL;
10348 }
10349
10350
10351 static PyObject *_wrap_Slider_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
10352 PyObject *resultobj;
10353 wxSlider *arg1 = (wxSlider *) 0 ;
10354 int arg2 ;
10355 PyObject * obj0 = 0 ;
10356 char *kwnames[] = {
10357 (char *) "self",(char *) "value", NULL
10358 };
10359
10360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetValue",kwnames,&obj0,&arg2)) goto fail;
10361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10362 {
10363 PyThreadState* __tstate = wxPyBeginAllowThreads();
10364 (arg1)->SetValue(arg2);
10365
10366 wxPyEndAllowThreads(__tstate);
10367 if (PyErr_Occurred()) SWIG_fail;
10368 }
10369 Py_INCREF(Py_None); resultobj = Py_None;
10370 return resultobj;
10371 fail:
10372 return NULL;
10373 }
10374
10375
10376 static PyObject *_wrap_Slider_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
10377 PyObject *resultobj;
10378 wxSlider *arg1 = (wxSlider *) 0 ;
10379 int arg2 ;
10380 int arg3 ;
10381 PyObject * obj0 = 0 ;
10382 char *kwnames[] = {
10383 (char *) "self",(char *) "minValue",(char *) "maxValue", NULL
10384 };
10385
10386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
10387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10388 {
10389 PyThreadState* __tstate = wxPyBeginAllowThreads();
10390 (arg1)->SetRange(arg2,arg3);
10391
10392 wxPyEndAllowThreads(__tstate);
10393 if (PyErr_Occurred()) SWIG_fail;
10394 }
10395 Py_INCREF(Py_None); resultobj = Py_None;
10396 return resultobj;
10397 fail:
10398 return NULL;
10399 }
10400
10401
10402 static PyObject *_wrap_Slider_GetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10403 PyObject *resultobj;
10404 wxSlider *arg1 = (wxSlider *) 0 ;
10405 int result;
10406 PyObject * obj0 = 0 ;
10407 char *kwnames[] = {
10408 (char *) "self", NULL
10409 };
10410
10411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMin",kwnames,&obj0)) goto fail;
10412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10413 {
10414 PyThreadState* __tstate = wxPyBeginAllowThreads();
10415 result = (int)((wxSlider const *)arg1)->GetMin();
10416
10417 wxPyEndAllowThreads(__tstate);
10418 if (PyErr_Occurred()) SWIG_fail;
10419 }
10420 resultobj = PyInt_FromLong((long)result);
10421 return resultobj;
10422 fail:
10423 return NULL;
10424 }
10425
10426
10427 static PyObject *_wrap_Slider_GetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10428 PyObject *resultobj;
10429 wxSlider *arg1 = (wxSlider *) 0 ;
10430 int result;
10431 PyObject * obj0 = 0 ;
10432 char *kwnames[] = {
10433 (char *) "self", NULL
10434 };
10435
10436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetMax",kwnames,&obj0)) goto fail;
10437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10438 {
10439 PyThreadState* __tstate = wxPyBeginAllowThreads();
10440 result = (int)((wxSlider const *)arg1)->GetMax();
10441
10442 wxPyEndAllowThreads(__tstate);
10443 if (PyErr_Occurred()) SWIG_fail;
10444 }
10445 resultobj = PyInt_FromLong((long)result);
10446 return resultobj;
10447 fail:
10448 return NULL;
10449 }
10450
10451
10452 static PyObject *_wrap_Slider_SetMin(PyObject *self, PyObject *args, PyObject *kwargs) {
10453 PyObject *resultobj;
10454 wxSlider *arg1 = (wxSlider *) 0 ;
10455 int arg2 ;
10456 PyObject * obj0 = 0 ;
10457 char *kwnames[] = {
10458 (char *) "self",(char *) "minValue", NULL
10459 };
10460
10461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMin",kwnames,&obj0,&arg2)) goto fail;
10462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10463 {
10464 PyThreadState* __tstate = wxPyBeginAllowThreads();
10465 (arg1)->SetMin(arg2);
10466
10467 wxPyEndAllowThreads(__tstate);
10468 if (PyErr_Occurred()) SWIG_fail;
10469 }
10470 Py_INCREF(Py_None); resultobj = Py_None;
10471 return resultobj;
10472 fail:
10473 return NULL;
10474 }
10475
10476
10477 static PyObject *_wrap_Slider_SetMax(PyObject *self, PyObject *args, PyObject *kwargs) {
10478 PyObject *resultobj;
10479 wxSlider *arg1 = (wxSlider *) 0 ;
10480 int arg2 ;
10481 PyObject * obj0 = 0 ;
10482 char *kwnames[] = {
10483 (char *) "self",(char *) "maxValue", NULL
10484 };
10485
10486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetMax",kwnames,&obj0,&arg2)) goto fail;
10487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10488 {
10489 PyThreadState* __tstate = wxPyBeginAllowThreads();
10490 (arg1)->SetMax(arg2);
10491
10492 wxPyEndAllowThreads(__tstate);
10493 if (PyErr_Occurred()) SWIG_fail;
10494 }
10495 Py_INCREF(Py_None); resultobj = Py_None;
10496 return resultobj;
10497 fail:
10498 return NULL;
10499 }
10500
10501
10502 static PyObject *_wrap_Slider_SetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10503 PyObject *resultobj;
10504 wxSlider *arg1 = (wxSlider *) 0 ;
10505 int arg2 ;
10506 PyObject * obj0 = 0 ;
10507 char *kwnames[] = {
10508 (char *) "self",(char *) "lineSize", NULL
10509 };
10510
10511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetLineSize",kwnames,&obj0,&arg2)) goto fail;
10512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10513 {
10514 PyThreadState* __tstate = wxPyBeginAllowThreads();
10515 (arg1)->SetLineSize(arg2);
10516
10517 wxPyEndAllowThreads(__tstate);
10518 if (PyErr_Occurred()) SWIG_fail;
10519 }
10520 Py_INCREF(Py_None); resultobj = Py_None;
10521 return resultobj;
10522 fail:
10523 return NULL;
10524 }
10525
10526
10527 static PyObject *_wrap_Slider_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10528 PyObject *resultobj;
10529 wxSlider *arg1 = (wxSlider *) 0 ;
10530 int arg2 ;
10531 PyObject * obj0 = 0 ;
10532 char *kwnames[] = {
10533 (char *) "self",(char *) "pageSize", NULL
10534 };
10535
10536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetPageSize",kwnames,&obj0,&arg2)) goto fail;
10537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10538 {
10539 PyThreadState* __tstate = wxPyBeginAllowThreads();
10540 (arg1)->SetPageSize(arg2);
10541
10542 wxPyEndAllowThreads(__tstate);
10543 if (PyErr_Occurred()) SWIG_fail;
10544 }
10545 Py_INCREF(Py_None); resultobj = Py_None;
10546 return resultobj;
10547 fail:
10548 return NULL;
10549 }
10550
10551
10552 static PyObject *_wrap_Slider_GetLineSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10553 PyObject *resultobj;
10554 wxSlider *arg1 = (wxSlider *) 0 ;
10555 int result;
10556 PyObject * obj0 = 0 ;
10557 char *kwnames[] = {
10558 (char *) "self", NULL
10559 };
10560
10561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetLineSize",kwnames,&obj0)) goto fail;
10562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10563 {
10564 PyThreadState* __tstate = wxPyBeginAllowThreads();
10565 result = (int)((wxSlider const *)arg1)->GetLineSize();
10566
10567 wxPyEndAllowThreads(__tstate);
10568 if (PyErr_Occurred()) SWIG_fail;
10569 }
10570 resultobj = PyInt_FromLong((long)result);
10571 return resultobj;
10572 fail:
10573 return NULL;
10574 }
10575
10576
10577 static PyObject *_wrap_Slider_GetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
10578 PyObject *resultobj;
10579 wxSlider *arg1 = (wxSlider *) 0 ;
10580 int result;
10581 PyObject * obj0 = 0 ;
10582 char *kwnames[] = {
10583 (char *) "self", NULL
10584 };
10585
10586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetPageSize",kwnames,&obj0)) goto fail;
10587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10588 {
10589 PyThreadState* __tstate = wxPyBeginAllowThreads();
10590 result = (int)((wxSlider const *)arg1)->GetPageSize();
10591
10592 wxPyEndAllowThreads(__tstate);
10593 if (PyErr_Occurred()) SWIG_fail;
10594 }
10595 resultobj = PyInt_FromLong((long)result);
10596 return resultobj;
10597 fail:
10598 return NULL;
10599 }
10600
10601
10602 static PyObject *_wrap_Slider_SetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10603 PyObject *resultobj;
10604 wxSlider *arg1 = (wxSlider *) 0 ;
10605 int arg2 ;
10606 PyObject * obj0 = 0 ;
10607 char *kwnames[] = {
10608 (char *) "self",(char *) "lenPixels", NULL
10609 };
10610
10611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetThumbLength",kwnames,&obj0,&arg2)) goto fail;
10612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10613 {
10614 PyThreadState* __tstate = wxPyBeginAllowThreads();
10615 (arg1)->SetThumbLength(arg2);
10616
10617 wxPyEndAllowThreads(__tstate);
10618 if (PyErr_Occurred()) SWIG_fail;
10619 }
10620 Py_INCREF(Py_None); resultobj = Py_None;
10621 return resultobj;
10622 fail:
10623 return NULL;
10624 }
10625
10626
10627 static PyObject *_wrap_Slider_GetThumbLength(PyObject *self, PyObject *args, PyObject *kwargs) {
10628 PyObject *resultobj;
10629 wxSlider *arg1 = (wxSlider *) 0 ;
10630 int result;
10631 PyObject * obj0 = 0 ;
10632 char *kwnames[] = {
10633 (char *) "self", NULL
10634 };
10635
10636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetThumbLength",kwnames,&obj0)) goto fail;
10637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10638 {
10639 PyThreadState* __tstate = wxPyBeginAllowThreads();
10640 result = (int)((wxSlider const *)arg1)->GetThumbLength();
10641
10642 wxPyEndAllowThreads(__tstate);
10643 if (PyErr_Occurred()) SWIG_fail;
10644 }
10645 resultobj = PyInt_FromLong((long)result);
10646 return resultobj;
10647 fail:
10648 return NULL;
10649 }
10650
10651
10652 static PyObject *_wrap_Slider_SetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10653 PyObject *resultobj;
10654 wxSlider *arg1 = (wxSlider *) 0 ;
10655 int arg2 ;
10656 int arg3 ;
10657 PyObject * obj0 = 0 ;
10658 char *kwnames[] = {
10659 (char *) "self",(char *) "n",(char *) "pos", NULL
10660 };
10661
10662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetTickFreq",kwnames,&obj0,&arg2,&arg3)) goto fail;
10663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10664 {
10665 PyThreadState* __tstate = wxPyBeginAllowThreads();
10666 (arg1)->SetTickFreq(arg2,arg3);
10667
10668 wxPyEndAllowThreads(__tstate);
10669 if (PyErr_Occurred()) SWIG_fail;
10670 }
10671 Py_INCREF(Py_None); resultobj = Py_None;
10672 return resultobj;
10673 fail:
10674 return NULL;
10675 }
10676
10677
10678 static PyObject *_wrap_Slider_GetTickFreq(PyObject *self, PyObject *args, PyObject *kwargs) {
10679 PyObject *resultobj;
10680 wxSlider *arg1 = (wxSlider *) 0 ;
10681 int result;
10682 PyObject * obj0 = 0 ;
10683 char *kwnames[] = {
10684 (char *) "self", NULL
10685 };
10686
10687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetTickFreq",kwnames,&obj0)) goto fail;
10688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10689 {
10690 PyThreadState* __tstate = wxPyBeginAllowThreads();
10691 result = (int)((wxSlider const *)arg1)->GetTickFreq();
10692
10693 wxPyEndAllowThreads(__tstate);
10694 if (PyErr_Occurred()) SWIG_fail;
10695 }
10696 resultobj = PyInt_FromLong((long)result);
10697 return resultobj;
10698 fail:
10699 return NULL;
10700 }
10701
10702
10703 static PyObject *_wrap_Slider_ClearTicks(PyObject *self, PyObject *args, PyObject *kwargs) {
10704 PyObject *resultobj;
10705 wxSlider *arg1 = (wxSlider *) 0 ;
10706 PyObject * obj0 = 0 ;
10707 char *kwnames[] = {
10708 (char *) "self", NULL
10709 };
10710
10711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearTicks",kwnames,&obj0)) goto fail;
10712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10713 {
10714 PyThreadState* __tstate = wxPyBeginAllowThreads();
10715 (arg1)->ClearTicks();
10716
10717 wxPyEndAllowThreads(__tstate);
10718 if (PyErr_Occurred()) SWIG_fail;
10719 }
10720 Py_INCREF(Py_None); resultobj = Py_None;
10721 return resultobj;
10722 fail:
10723 return NULL;
10724 }
10725
10726
10727 static PyObject *_wrap_Slider_SetTick(PyObject *self, PyObject *args, PyObject *kwargs) {
10728 PyObject *resultobj;
10729 wxSlider *arg1 = (wxSlider *) 0 ;
10730 int arg2 ;
10731 PyObject * obj0 = 0 ;
10732 char *kwnames[] = {
10733 (char *) "self",(char *) "tickPos", NULL
10734 };
10735
10736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Slider_SetTick",kwnames,&obj0,&arg2)) goto fail;
10737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10738 {
10739 PyThreadState* __tstate = wxPyBeginAllowThreads();
10740 (arg1)->SetTick(arg2);
10741
10742 wxPyEndAllowThreads(__tstate);
10743 if (PyErr_Occurred()) SWIG_fail;
10744 }
10745 Py_INCREF(Py_None); resultobj = Py_None;
10746 return resultobj;
10747 fail:
10748 return NULL;
10749 }
10750
10751
10752 static PyObject *_wrap_Slider_ClearSel(PyObject *self, PyObject *args, PyObject *kwargs) {
10753 PyObject *resultobj;
10754 wxSlider *arg1 = (wxSlider *) 0 ;
10755 PyObject * obj0 = 0 ;
10756 char *kwnames[] = {
10757 (char *) "self", NULL
10758 };
10759
10760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_ClearSel",kwnames,&obj0)) goto fail;
10761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10762 {
10763 PyThreadState* __tstate = wxPyBeginAllowThreads();
10764 (arg1)->ClearSel();
10765
10766 wxPyEndAllowThreads(__tstate);
10767 if (PyErr_Occurred()) SWIG_fail;
10768 }
10769 Py_INCREF(Py_None); resultobj = Py_None;
10770 return resultobj;
10771 fail:
10772 return NULL;
10773 }
10774
10775
10776 static PyObject *_wrap_Slider_GetSelEnd(PyObject *self, PyObject *args, PyObject *kwargs) {
10777 PyObject *resultobj;
10778 wxSlider *arg1 = (wxSlider *) 0 ;
10779 int result;
10780 PyObject * obj0 = 0 ;
10781 char *kwnames[] = {
10782 (char *) "self", NULL
10783 };
10784
10785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelEnd",kwnames,&obj0)) goto fail;
10786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10787 {
10788 PyThreadState* __tstate = wxPyBeginAllowThreads();
10789 result = (int)((wxSlider const *)arg1)->GetSelEnd();
10790
10791 wxPyEndAllowThreads(__tstate);
10792 if (PyErr_Occurred()) SWIG_fail;
10793 }
10794 resultobj = PyInt_FromLong((long)result);
10795 return resultobj;
10796 fail:
10797 return NULL;
10798 }
10799
10800
10801 static PyObject *_wrap_Slider_GetSelStart(PyObject *self, PyObject *args, PyObject *kwargs) {
10802 PyObject *resultobj;
10803 wxSlider *arg1 = (wxSlider *) 0 ;
10804 int result;
10805 PyObject * obj0 = 0 ;
10806 char *kwnames[] = {
10807 (char *) "self", NULL
10808 };
10809
10810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Slider_GetSelStart",kwnames,&obj0)) goto fail;
10811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10812 {
10813 PyThreadState* __tstate = wxPyBeginAllowThreads();
10814 result = (int)((wxSlider const *)arg1)->GetSelStart();
10815
10816 wxPyEndAllowThreads(__tstate);
10817 if (PyErr_Occurred()) SWIG_fail;
10818 }
10819 resultobj = PyInt_FromLong((long)result);
10820 return resultobj;
10821 fail:
10822 return NULL;
10823 }
10824
10825
10826 static PyObject *_wrap_Slider_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10827 PyObject *resultobj;
10828 wxSlider *arg1 = (wxSlider *) 0 ;
10829 int arg2 ;
10830 int arg3 ;
10831 PyObject * obj0 = 0 ;
10832 char *kwnames[] = {
10833 (char *) "self",(char *) "min",(char *) "max", NULL
10834 };
10835
10836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Slider_SetSelection",kwnames,&obj0,&arg2,&arg3)) goto fail;
10837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSlider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10838 {
10839 PyThreadState* __tstate = wxPyBeginAllowThreads();
10840 (arg1)->SetSelection(arg2,arg3);
10841
10842 wxPyEndAllowThreads(__tstate);
10843 if (PyErr_Occurred()) SWIG_fail;
10844 }
10845 Py_INCREF(Py_None); resultobj = Py_None;
10846 return resultobj;
10847 fail:
10848 return NULL;
10849 }
10850
10851
10852 static PyObject * Slider_swigregister(PyObject *self, PyObject *args) {
10853 PyObject *obj;
10854 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10855 SWIG_TypeClientData(SWIGTYPE_p_wxSlider, obj);
10856 Py_INCREF(obj);
10857 return Py_BuildValue((char *)"");
10858 }
10859 static PyObject *_wrap_new_ToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10860 PyObject *resultobj;
10861 wxWindow *arg1 = (wxWindow *) 0 ;
10862 int arg2 ;
10863 wxString *arg3 = 0 ;
10864 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10865 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10866 wxSize const &arg5_defvalue = wxDefaultSize ;
10867 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10868 long arg6 = (long) 0 ;
10869 wxValidator const &arg7_defvalue = wxDefaultValidator ;
10870 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
10871 wxString const &arg8_defvalue = wxPyToggleButtonNameStr ;
10872 wxString *arg8 = (wxString *) &arg8_defvalue ;
10873 wxToggleButton *result;
10874 bool temp3 = False ;
10875 wxPoint temp4 ;
10876 wxSize temp5 ;
10877 bool temp8 = False ;
10878 PyObject * obj0 = 0 ;
10879 PyObject * obj2 = 0 ;
10880 PyObject * obj3 = 0 ;
10881 PyObject * obj4 = 0 ;
10882 PyObject * obj6 = 0 ;
10883 PyObject * obj7 = 0 ;
10884 char *kwnames[] = {
10885 (char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
10886 };
10887
10888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlOO:new_ToggleButton",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
10889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10890 {
10891 arg3 = wxString_in_helper(obj2);
10892 if (arg3 == NULL) SWIG_fail;
10893 temp3 = True;
10894 }
10895 if (obj3) {
10896 {
10897 arg4 = &temp4;
10898 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10899 }
10900 }
10901 if (obj4) {
10902 {
10903 arg5 = &temp5;
10904 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10905 }
10906 }
10907 if (obj6) {
10908 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10909 if (arg7 == NULL) {
10910 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10911 }
10912 }
10913 if (obj7) {
10914 {
10915 arg8 = wxString_in_helper(obj7);
10916 if (arg8 == NULL) SWIG_fail;
10917 temp8 = True;
10918 }
10919 }
10920 {
10921 PyThreadState* __tstate = wxPyBeginAllowThreads();
10922 result = (wxToggleButton *)new wxToggleButton(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
10923
10924 wxPyEndAllowThreads(__tstate);
10925 if (PyErr_Occurred()) SWIG_fail;
10926 }
10927 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10928 {
10929 if (temp3)
10930 delete arg3;
10931 }
10932 {
10933 if (temp8)
10934 delete arg8;
10935 }
10936 return resultobj;
10937 fail:
10938 {
10939 if (temp3)
10940 delete arg3;
10941 }
10942 {
10943 if (temp8)
10944 delete arg8;
10945 }
10946 return NULL;
10947 }
10948
10949
10950 static PyObject *_wrap_new_PreToggleButton(PyObject *self, PyObject *args, PyObject *kwargs) {
10951 PyObject *resultobj;
10952 wxToggleButton *result;
10953 char *kwnames[] = {
10954 NULL
10955 };
10956
10957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToggleButton",kwnames)) goto fail;
10958 {
10959 PyThreadState* __tstate = wxPyBeginAllowThreads();
10960 result = (wxToggleButton *)new wxToggleButton();
10961
10962 wxPyEndAllowThreads(__tstate);
10963 if (PyErr_Occurred()) SWIG_fail;
10964 }
10965 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxToggleButton, 1);
10966 return resultobj;
10967 fail:
10968 return NULL;
10969 }
10970
10971
10972 static PyObject *_wrap_ToggleButton_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10973 PyObject *resultobj;
10974 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
10975 wxWindow *arg2 = (wxWindow *) 0 ;
10976 int arg3 ;
10977 wxString *arg4 = 0 ;
10978 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10979 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10980 wxSize const &arg6_defvalue = wxDefaultSize ;
10981 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10982 long arg7 = (long) 0 ;
10983 wxValidator const &arg8_defvalue = wxDefaultValidator ;
10984 wxValidator *arg8 = (wxValidator *) &arg8_defvalue ;
10985 wxString const &arg9_defvalue = wxPyToggleButtonNameStr ;
10986 wxString *arg9 = (wxString *) &arg9_defvalue ;
10987 bool result;
10988 bool temp4 = False ;
10989 wxPoint temp5 ;
10990 wxSize temp6 ;
10991 bool temp9 = False ;
10992 PyObject * obj0 = 0 ;
10993 PyObject * obj1 = 0 ;
10994 PyObject * obj3 = 0 ;
10995 PyObject * obj4 = 0 ;
10996 PyObject * obj5 = 0 ;
10997 PyObject * obj7 = 0 ;
10998 PyObject * obj8 = 0 ;
10999 char *kwnames[] = {
11000 (char *) "self",(char *) "parent",(char *) "id",(char *) "label",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
11001 };
11002
11003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlOO:ToggleButton_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8)) goto fail;
11004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11006 {
11007 arg4 = wxString_in_helper(obj3);
11008 if (arg4 == NULL) SWIG_fail;
11009 temp4 = True;
11010 }
11011 if (obj4) {
11012 {
11013 arg5 = &temp5;
11014 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11015 }
11016 }
11017 if (obj5) {
11018 {
11019 arg6 = &temp6;
11020 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11021 }
11022 }
11023 if (obj7) {
11024 if ((SWIG_ConvertPtr(obj7,(void **) &arg8, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11025 if (arg8 == NULL) {
11026 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11027 }
11028 }
11029 if (obj8) {
11030 {
11031 arg9 = wxString_in_helper(obj8);
11032 if (arg9 == NULL) SWIG_fail;
11033 temp9 = True;
11034 }
11035 }
11036 {
11037 PyThreadState* __tstate = wxPyBeginAllowThreads();
11038 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxValidator const &)*arg8,(wxString const &)*arg9);
11039
11040 wxPyEndAllowThreads(__tstate);
11041 if (PyErr_Occurred()) SWIG_fail;
11042 }
11043 resultobj = PyInt_FromLong((long)result);
11044 {
11045 if (temp4)
11046 delete arg4;
11047 }
11048 {
11049 if (temp9)
11050 delete arg9;
11051 }
11052 return resultobj;
11053 fail:
11054 {
11055 if (temp4)
11056 delete arg4;
11057 }
11058 {
11059 if (temp9)
11060 delete arg9;
11061 }
11062 return NULL;
11063 }
11064
11065
11066 static PyObject *_wrap_ToggleButton_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj;
11068 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11069 bool arg2 ;
11070 PyObject * obj0 = 0 ;
11071 PyObject * obj1 = 0 ;
11072 char *kwnames[] = {
11073 (char *) "self",(char *) "value", NULL
11074 };
11075
11076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetValue",kwnames,&obj0,&obj1)) goto fail;
11077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11078 arg2 = PyInt_AsLong(obj1) ? true : false;
11079 if (PyErr_Occurred()) SWIG_fail;
11080 {
11081 PyThreadState* __tstate = wxPyBeginAllowThreads();
11082 (arg1)->SetValue(arg2);
11083
11084 wxPyEndAllowThreads(__tstate);
11085 if (PyErr_Occurred()) SWIG_fail;
11086 }
11087 Py_INCREF(Py_None); resultobj = Py_None;
11088 return resultobj;
11089 fail:
11090 return NULL;
11091 }
11092
11093
11094 static PyObject *_wrap_ToggleButton_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11095 PyObject *resultobj;
11096 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11097 bool result;
11098 PyObject * obj0 = 0 ;
11099 char *kwnames[] = {
11100 (char *) "self", NULL
11101 };
11102
11103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToggleButton_GetValue",kwnames,&obj0)) goto fail;
11104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11105 {
11106 PyThreadState* __tstate = wxPyBeginAllowThreads();
11107 result = (bool)((wxToggleButton const *)arg1)->GetValue();
11108
11109 wxPyEndAllowThreads(__tstate);
11110 if (PyErr_Occurred()) SWIG_fail;
11111 }
11112 resultobj = PyInt_FromLong((long)result);
11113 return resultobj;
11114 fail:
11115 return NULL;
11116 }
11117
11118
11119 static PyObject *_wrap_ToggleButton_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
11120 PyObject *resultobj;
11121 wxToggleButton *arg1 = (wxToggleButton *) 0 ;
11122 wxString *arg2 = 0 ;
11123 bool temp2 = False ;
11124 PyObject * obj0 = 0 ;
11125 PyObject * obj1 = 0 ;
11126 char *kwnames[] = {
11127 (char *) "self",(char *) "label", NULL
11128 };
11129
11130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToggleButton_SetLabel",kwnames,&obj0,&obj1)) goto fail;
11131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToggleButton,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11132 {
11133 arg2 = wxString_in_helper(obj1);
11134 if (arg2 == NULL) SWIG_fail;
11135 temp2 = True;
11136 }
11137 {
11138 PyThreadState* __tstate = wxPyBeginAllowThreads();
11139 (arg1)->SetLabel((wxString const &)*arg2);
11140
11141 wxPyEndAllowThreads(__tstate);
11142 if (PyErr_Occurred()) SWIG_fail;
11143 }
11144 Py_INCREF(Py_None); resultobj = Py_None;
11145 {
11146 if (temp2)
11147 delete arg2;
11148 }
11149 return resultobj;
11150 fail:
11151 {
11152 if (temp2)
11153 delete arg2;
11154 }
11155 return NULL;
11156 }
11157
11158
11159 static PyObject * ToggleButton_swigregister(PyObject *self, PyObject *args) {
11160 PyObject *obj;
11161 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11162 SWIG_TypeClientData(SWIGTYPE_p_wxToggleButton, obj);
11163 Py_INCREF(obj);
11164 return Py_BuildValue((char *)"");
11165 }
11166 static PyObject *_wrap_BookCtrl_GetPageCount(PyObject *self, PyObject *args, PyObject *kwargs) {
11167 PyObject *resultobj;
11168 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11169 size_t result;
11170 PyObject * obj0 = 0 ;
11171 char *kwnames[] = {
11172 (char *) "self", NULL
11173 };
11174
11175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetPageCount",kwnames,&obj0)) goto fail;
11176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11177 {
11178 PyThreadState* __tstate = wxPyBeginAllowThreads();
11179 result = (size_t)((wxBookCtrl const *)arg1)->GetPageCount();
11180
11181 wxPyEndAllowThreads(__tstate);
11182 if (PyErr_Occurred()) SWIG_fail;
11183 }
11184 resultobj = PyInt_FromLong((long)result);
11185 return resultobj;
11186 fail:
11187 return NULL;
11188 }
11189
11190
11191 static PyObject *_wrap_BookCtrl_GetPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11192 PyObject *resultobj;
11193 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11194 size_t arg2 ;
11195 wxWindow *result;
11196 PyObject * obj0 = 0 ;
11197 PyObject * obj1 = 0 ;
11198 char *kwnames[] = {
11199 (char *) "self",(char *) "n", NULL
11200 };
11201
11202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPage",kwnames,&obj0,&obj1)) goto fail;
11203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11204 arg2 = (size_t) PyInt_AsLong(obj1);
11205 if (PyErr_Occurred()) SWIG_fail;
11206 {
11207 PyThreadState* __tstate = wxPyBeginAllowThreads();
11208 result = (wxWindow *)(arg1)->GetPage(arg2);
11209
11210 wxPyEndAllowThreads(__tstate);
11211 if (PyErr_Occurred()) SWIG_fail;
11212 }
11213 {
11214 resultobj = wxPyMake_wxObject(result);
11215 }
11216 return resultobj;
11217 fail:
11218 return NULL;
11219 }
11220
11221
11222 static PyObject *_wrap_BookCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11223 PyObject *resultobj;
11224 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11225 int result;
11226 PyObject * obj0 = 0 ;
11227 char *kwnames[] = {
11228 (char *) "self", NULL
11229 };
11230
11231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetSelection",kwnames,&obj0)) goto fail;
11232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11233 {
11234 PyThreadState* __tstate = wxPyBeginAllowThreads();
11235 result = (int)((wxBookCtrl const *)arg1)->GetSelection();
11236
11237 wxPyEndAllowThreads(__tstate);
11238 if (PyErr_Occurred()) SWIG_fail;
11239 }
11240 resultobj = PyInt_FromLong((long)result);
11241 return resultobj;
11242 fail:
11243 return NULL;
11244 }
11245
11246
11247 static PyObject *_wrap_BookCtrl_SetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11248 PyObject *resultobj;
11249 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11250 size_t arg2 ;
11251 wxString *arg3 = 0 ;
11252 bool result;
11253 bool temp3 = False ;
11254 PyObject * obj0 = 0 ;
11255 PyObject * obj1 = 0 ;
11256 PyObject * obj2 = 0 ;
11257 char *kwnames[] = {
11258 (char *) "self",(char *) "n",(char *) "strText", NULL
11259 };
11260
11261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:BookCtrl_SetPageText",kwnames,&obj0,&obj1,&obj2)) goto fail;
11262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11263 arg2 = (size_t) PyInt_AsLong(obj1);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 {
11266 arg3 = wxString_in_helper(obj2);
11267 if (arg3 == NULL) SWIG_fail;
11268 temp3 = True;
11269 }
11270 {
11271 PyThreadState* __tstate = wxPyBeginAllowThreads();
11272 result = (bool)(arg1)->SetPageText(arg2,(wxString const &)*arg3);
11273
11274 wxPyEndAllowThreads(__tstate);
11275 if (PyErr_Occurred()) SWIG_fail;
11276 }
11277 resultobj = PyInt_FromLong((long)result);
11278 {
11279 if (temp3)
11280 delete arg3;
11281 }
11282 return resultobj;
11283 fail:
11284 {
11285 if (temp3)
11286 delete arg3;
11287 }
11288 return NULL;
11289 }
11290
11291
11292 static PyObject *_wrap_BookCtrl_GetPageText(PyObject *self, PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj;
11294 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11295 size_t arg2 ;
11296 wxString result;
11297 PyObject * obj0 = 0 ;
11298 PyObject * obj1 = 0 ;
11299 char *kwnames[] = {
11300 (char *) "self",(char *) "n", NULL
11301 };
11302
11303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageText",kwnames,&obj0,&obj1)) goto fail;
11304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11305 arg2 = (size_t) PyInt_AsLong(obj1);
11306 if (PyErr_Occurred()) SWIG_fail;
11307 {
11308 PyThreadState* __tstate = wxPyBeginAllowThreads();
11309 result = ((wxBookCtrl const *)arg1)->GetPageText(arg2);
11310
11311 wxPyEndAllowThreads(__tstate);
11312 if (PyErr_Occurred()) SWIG_fail;
11313 }
11314 {
11315 #if wxUSE_UNICODE
11316 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11317 #else
11318 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11319 #endif
11320 }
11321 return resultobj;
11322 fail:
11323 return NULL;
11324 }
11325
11326
11327 static PyObject *_wrap_BookCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11328 PyObject *resultobj;
11329 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11330 wxImageList *arg2 = (wxImageList *) 0 ;
11331 PyObject * obj0 = 0 ;
11332 PyObject * obj1 = 0 ;
11333 char *kwnames[] = {
11334 (char *) "self",(char *) "imageList", NULL
11335 };
11336
11337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
11338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11339 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11340 {
11341 PyThreadState* __tstate = wxPyBeginAllowThreads();
11342 (arg1)->SetImageList(arg2);
11343
11344 wxPyEndAllowThreads(__tstate);
11345 if (PyErr_Occurred()) SWIG_fail;
11346 }
11347 Py_INCREF(Py_None); resultobj = Py_None;
11348 return resultobj;
11349 fail:
11350 return NULL;
11351 }
11352
11353
11354 static PyObject *_wrap_BookCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11355 PyObject *resultobj;
11356 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11357 wxImageList *arg2 = (wxImageList *) 0 ;
11358 PyObject * obj0 = 0 ;
11359 PyObject * obj1 = 0 ;
11360 char *kwnames[] = {
11361 (char *) "self",(char *) "imageList", NULL
11362 };
11363
11364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
11365 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11366 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11367 {
11368 PyThreadState* __tstate = wxPyBeginAllowThreads();
11369 (arg1)->AssignImageList(arg2);
11370
11371 wxPyEndAllowThreads(__tstate);
11372 if (PyErr_Occurred()) SWIG_fail;
11373 }
11374 Py_INCREF(Py_None); resultobj = Py_None;
11375 return resultobj;
11376 fail:
11377 return NULL;
11378 }
11379
11380
11381 static PyObject *_wrap_BookCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
11382 PyObject *resultobj;
11383 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11384 wxImageList *result;
11385 PyObject * obj0 = 0 ;
11386 char *kwnames[] = {
11387 (char *) "self", NULL
11388 };
11389
11390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_GetImageList",kwnames,&obj0)) goto fail;
11391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11392 {
11393 PyThreadState* __tstate = wxPyBeginAllowThreads();
11394 result = (wxImageList *)((wxBookCtrl const *)arg1)->GetImageList();
11395
11396 wxPyEndAllowThreads(__tstate);
11397 if (PyErr_Occurred()) SWIG_fail;
11398 }
11399 {
11400 resultobj = wxPyMake_wxObject(result);
11401 }
11402 return resultobj;
11403 fail:
11404 return NULL;
11405 }
11406
11407
11408 static PyObject *_wrap_BookCtrl_GetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11409 PyObject *resultobj;
11410 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11411 size_t arg2 ;
11412 int result;
11413 PyObject * obj0 = 0 ;
11414 PyObject * obj1 = 0 ;
11415 char *kwnames[] = {
11416 (char *) "self",(char *) "n", NULL
11417 };
11418
11419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_GetPageImage",kwnames,&obj0,&obj1)) goto fail;
11420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11421 arg2 = (size_t) PyInt_AsLong(obj1);
11422 if (PyErr_Occurred()) SWIG_fail;
11423 {
11424 PyThreadState* __tstate = wxPyBeginAllowThreads();
11425 result = (int)((wxBookCtrl const *)arg1)->GetPageImage(arg2);
11426
11427 wxPyEndAllowThreads(__tstate);
11428 if (PyErr_Occurred()) SWIG_fail;
11429 }
11430 resultobj = PyInt_FromLong((long)result);
11431 return resultobj;
11432 fail:
11433 return NULL;
11434 }
11435
11436
11437 static PyObject *_wrap_BookCtrl_SetPageImage(PyObject *self, PyObject *args, PyObject *kwargs) {
11438 PyObject *resultobj;
11439 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11440 size_t arg2 ;
11441 int arg3 ;
11442 bool result;
11443 PyObject * obj0 = 0 ;
11444 PyObject * obj1 = 0 ;
11445 char *kwnames[] = {
11446 (char *) "self",(char *) "n",(char *) "imageId", NULL
11447 };
11448
11449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:BookCtrl_SetPageImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
11450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11451 arg2 = (size_t) PyInt_AsLong(obj1);
11452 if (PyErr_Occurred()) SWIG_fail;
11453 {
11454 PyThreadState* __tstate = wxPyBeginAllowThreads();
11455 result = (bool)(arg1)->SetPageImage(arg2,arg3);
11456
11457 wxPyEndAllowThreads(__tstate);
11458 if (PyErr_Occurred()) SWIG_fail;
11459 }
11460 resultobj = PyInt_FromLong((long)result);
11461 return resultobj;
11462 fail:
11463 return NULL;
11464 }
11465
11466
11467 static PyObject *_wrap_BookCtrl_SetPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
11468 PyObject *resultobj;
11469 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11470 wxSize *arg2 = 0 ;
11471 wxSize temp2 ;
11472 PyObject * obj0 = 0 ;
11473 PyObject * obj1 = 0 ;
11474 char *kwnames[] = {
11475 (char *) "self",(char *) "size", NULL
11476 };
11477
11478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetPageSize",kwnames,&obj0,&obj1)) goto fail;
11479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11480 {
11481 arg2 = &temp2;
11482 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11483 }
11484 {
11485 PyThreadState* __tstate = wxPyBeginAllowThreads();
11486 (arg1)->SetPageSize((wxSize const &)*arg2);
11487
11488 wxPyEndAllowThreads(__tstate);
11489 if (PyErr_Occurred()) SWIG_fail;
11490 }
11491 Py_INCREF(Py_None); resultobj = Py_None;
11492 return resultobj;
11493 fail:
11494 return NULL;
11495 }
11496
11497
11498 static PyObject *_wrap_BookCtrl_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11499 PyObject *resultobj;
11500 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11501 wxSize *arg2 = 0 ;
11502 wxSize result;
11503 wxSize temp2 ;
11504 PyObject * obj0 = 0 ;
11505 PyObject * obj1 = 0 ;
11506 char *kwnames[] = {
11507 (char *) "self",(char *) "sizePage", NULL
11508 };
11509
11510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
11511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11512 {
11513 arg2 = &temp2;
11514 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
11515 }
11516 {
11517 PyThreadState* __tstate = wxPyBeginAllowThreads();
11518 result = ((wxBookCtrl const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
11519
11520 wxPyEndAllowThreads(__tstate);
11521 if (PyErr_Occurred()) SWIG_fail;
11522 }
11523 {
11524 wxSize * resultptr;
11525 resultptr = new wxSize((wxSize &) result);
11526 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
11527 }
11528 return resultobj;
11529 fail:
11530 return NULL;
11531 }
11532
11533
11534 static PyObject *_wrap_BookCtrl_DeletePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11535 PyObject *resultobj;
11536 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11537 size_t arg2 ;
11538 bool result;
11539 PyObject * obj0 = 0 ;
11540 PyObject * obj1 = 0 ;
11541 char *kwnames[] = {
11542 (char *) "self",(char *) "n", NULL
11543 };
11544
11545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_DeletePage",kwnames,&obj0,&obj1)) goto fail;
11546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11547 arg2 = (size_t) PyInt_AsLong(obj1);
11548 if (PyErr_Occurred()) SWIG_fail;
11549 {
11550 PyThreadState* __tstate = wxPyBeginAllowThreads();
11551 result = (bool)(arg1)->DeletePage(arg2);
11552
11553 wxPyEndAllowThreads(__tstate);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 }
11556 resultobj = PyInt_FromLong((long)result);
11557 return resultobj;
11558 fail:
11559 return NULL;
11560 }
11561
11562
11563 static PyObject *_wrap_BookCtrl_RemovePage(PyObject *self, PyObject *args, PyObject *kwargs) {
11564 PyObject *resultobj;
11565 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11566 size_t arg2 ;
11567 bool result;
11568 PyObject * obj0 = 0 ;
11569 PyObject * obj1 = 0 ;
11570 char *kwnames[] = {
11571 (char *) "self",(char *) "n", NULL
11572 };
11573
11574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_RemovePage",kwnames,&obj0,&obj1)) goto fail;
11575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11576 arg2 = (size_t) PyInt_AsLong(obj1);
11577 if (PyErr_Occurred()) SWIG_fail;
11578 {
11579 PyThreadState* __tstate = wxPyBeginAllowThreads();
11580 result = (bool)(arg1)->RemovePage(arg2);
11581
11582 wxPyEndAllowThreads(__tstate);
11583 if (PyErr_Occurred()) SWIG_fail;
11584 }
11585 resultobj = PyInt_FromLong((long)result);
11586 return resultobj;
11587 fail:
11588 return NULL;
11589 }
11590
11591
11592 static PyObject *_wrap_BookCtrl_DeleteAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
11593 PyObject *resultobj;
11594 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11595 bool result;
11596 PyObject * obj0 = 0 ;
11597 char *kwnames[] = {
11598 (char *) "self", NULL
11599 };
11600
11601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrl_DeleteAllPages",kwnames,&obj0)) goto fail;
11602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11603 {
11604 PyThreadState* __tstate = wxPyBeginAllowThreads();
11605 result = (bool)(arg1)->DeleteAllPages();
11606
11607 wxPyEndAllowThreads(__tstate);
11608 if (PyErr_Occurred()) SWIG_fail;
11609 }
11610 resultobj = PyInt_FromLong((long)result);
11611 return resultobj;
11612 fail:
11613 return NULL;
11614 }
11615
11616
11617 static PyObject *_wrap_BookCtrl_AddPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11618 PyObject *resultobj;
11619 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11620 wxWindow *arg2 = (wxWindow *) 0 ;
11621 wxString *arg3 = 0 ;
11622 bool arg4 = (bool) False ;
11623 int arg5 = (int) -1 ;
11624 bool result;
11625 bool temp3 = False ;
11626 PyObject * obj0 = 0 ;
11627 PyObject * obj1 = 0 ;
11628 PyObject * obj2 = 0 ;
11629 PyObject * obj3 = 0 ;
11630 char *kwnames[] = {
11631 (char *) "self",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11632 };
11633
11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|Oi:BookCtrl_AddPage",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
11635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11636 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11637 {
11638 arg3 = wxString_in_helper(obj2);
11639 if (arg3 == NULL) SWIG_fail;
11640 temp3 = True;
11641 }
11642 if (obj3) {
11643 arg4 = PyInt_AsLong(obj3) ? true : false;
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 {
11647 PyThreadState* __tstate = wxPyBeginAllowThreads();
11648 result = (bool)(arg1)->AddPage(arg2,(wxString const &)*arg3,arg4,arg5);
11649
11650 wxPyEndAllowThreads(__tstate);
11651 if (PyErr_Occurred()) SWIG_fail;
11652 }
11653 resultobj = PyInt_FromLong((long)result);
11654 {
11655 if (temp3)
11656 delete arg3;
11657 }
11658 return resultobj;
11659 fail:
11660 {
11661 if (temp3)
11662 delete arg3;
11663 }
11664 return NULL;
11665 }
11666
11667
11668 static PyObject *_wrap_BookCtrl_InsertPage(PyObject *self, PyObject *args, PyObject *kwargs) {
11669 PyObject *resultobj;
11670 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11671 size_t arg2 ;
11672 wxWindow *arg3 = (wxWindow *) 0 ;
11673 wxString *arg4 = 0 ;
11674 bool arg5 = (bool) False ;
11675 int arg6 = (int) -1 ;
11676 bool result;
11677 bool temp4 = False ;
11678 PyObject * obj0 = 0 ;
11679 PyObject * obj1 = 0 ;
11680 PyObject * obj2 = 0 ;
11681 PyObject * obj3 = 0 ;
11682 PyObject * obj4 = 0 ;
11683 char *kwnames[] = {
11684 (char *) "self",(char *) "n",(char *) "page",(char *) "text",(char *) "select",(char *) "imageId", NULL
11685 };
11686
11687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|Oi:BookCtrl_InsertPage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6)) goto fail;
11688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11689 arg2 = (size_t) PyInt_AsLong(obj1);
11690 if (PyErr_Occurred()) SWIG_fail;
11691 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11692 {
11693 arg4 = wxString_in_helper(obj3);
11694 if (arg4 == NULL) SWIG_fail;
11695 temp4 = True;
11696 }
11697 if (obj4) {
11698 arg5 = PyInt_AsLong(obj4) ? true : false;
11699 if (PyErr_Occurred()) SWIG_fail;
11700 }
11701 {
11702 PyThreadState* __tstate = wxPyBeginAllowThreads();
11703 result = (bool)(arg1)->InsertPage(arg2,arg3,(wxString const &)*arg4,arg5,arg6);
11704
11705 wxPyEndAllowThreads(__tstate);
11706 if (PyErr_Occurred()) SWIG_fail;
11707 }
11708 resultobj = PyInt_FromLong((long)result);
11709 {
11710 if (temp4)
11711 delete arg4;
11712 }
11713 return resultobj;
11714 fail:
11715 {
11716 if (temp4)
11717 delete arg4;
11718 }
11719 return NULL;
11720 }
11721
11722
11723 static PyObject *_wrap_BookCtrl_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11724 PyObject *resultobj;
11725 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11726 size_t arg2 ;
11727 int result;
11728 PyObject * obj0 = 0 ;
11729 PyObject * obj1 = 0 ;
11730 char *kwnames[] = {
11731 (char *) "self",(char *) "n", NULL
11732 };
11733
11734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:BookCtrl_SetSelection",kwnames,&obj0,&obj1)) goto fail;
11735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11736 arg2 = (size_t) PyInt_AsLong(obj1);
11737 if (PyErr_Occurred()) SWIG_fail;
11738 {
11739 PyThreadState* __tstate = wxPyBeginAllowThreads();
11740 result = (int)(arg1)->SetSelection(arg2);
11741
11742 wxPyEndAllowThreads(__tstate);
11743 if (PyErr_Occurred()) SWIG_fail;
11744 }
11745 resultobj = PyInt_FromLong((long)result);
11746 return resultobj;
11747 fail:
11748 return NULL;
11749 }
11750
11751
11752 static PyObject *_wrap_BookCtrl_AdvanceSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11753 PyObject *resultobj;
11754 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
11755 bool arg2 = (bool) True ;
11756 PyObject * obj0 = 0 ;
11757 PyObject * obj1 = 0 ;
11758 char *kwnames[] = {
11759 (char *) "self",(char *) "forward", NULL
11760 };
11761
11762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:BookCtrl_AdvanceSelection",kwnames,&obj0,&obj1)) goto fail;
11763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11764 if (obj1) {
11765 arg2 = PyInt_AsLong(obj1) ? true : false;
11766 if (PyErr_Occurred()) SWIG_fail;
11767 }
11768 {
11769 PyThreadState* __tstate = wxPyBeginAllowThreads();
11770 (arg1)->AdvanceSelection(arg2);
11771
11772 wxPyEndAllowThreads(__tstate);
11773 if (PyErr_Occurred()) SWIG_fail;
11774 }
11775 Py_INCREF(Py_None); resultobj = Py_None;
11776 return resultobj;
11777 fail:
11778 return NULL;
11779 }
11780
11781
11782 static PyObject * BookCtrl_swigregister(PyObject *self, PyObject *args) {
11783 PyObject *obj;
11784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11785 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrl, obj);
11786 Py_INCREF(obj);
11787 return Py_BuildValue((char *)"");
11788 }
11789 static PyObject *_wrap_new_BookCtrlEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11790 PyObject *resultobj;
11791 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11792 int arg2 = (int) 0 ;
11793 int arg3 = (int) -1 ;
11794 int arg4 = (int) -1 ;
11795 wxBookCtrlEvent *result;
11796 char *kwnames[] = {
11797 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
11798 };
11799
11800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_BookCtrlEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
11801 {
11802 PyThreadState* __tstate = wxPyBeginAllowThreads();
11803 result = (wxBookCtrlEvent *)new wxBookCtrlEvent(arg1,arg2,arg3,arg4);
11804
11805 wxPyEndAllowThreads(__tstate);
11806 if (PyErr_Occurred()) SWIG_fail;
11807 }
11808 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlEvent, 1);
11809 return resultobj;
11810 fail:
11811 return NULL;
11812 }
11813
11814
11815 static PyObject *_wrap_BookCtrlEvent_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11816 PyObject *resultobj;
11817 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11818 int result;
11819 PyObject * obj0 = 0 ;
11820 char *kwnames[] = {
11821 (char *) "self", NULL
11822 };
11823
11824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetSelection",kwnames,&obj0)) goto fail;
11825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11826 {
11827 PyThreadState* __tstate = wxPyBeginAllowThreads();
11828 result = (int)((wxBookCtrlEvent const *)arg1)->GetSelection();
11829
11830 wxPyEndAllowThreads(__tstate);
11831 if (PyErr_Occurred()) SWIG_fail;
11832 }
11833 resultobj = PyInt_FromLong((long)result);
11834 return resultobj;
11835 fail:
11836 return NULL;
11837 }
11838
11839
11840 static PyObject *_wrap_BookCtrlEvent_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11841 PyObject *resultobj;
11842 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11843 int arg2 ;
11844 PyObject * obj0 = 0 ;
11845 char *kwnames[] = {
11846 (char *) "self",(char *) "nSel", NULL
11847 };
11848
11849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11851 {
11852 PyThreadState* __tstate = wxPyBeginAllowThreads();
11853 (arg1)->SetSelection(arg2);
11854
11855 wxPyEndAllowThreads(__tstate);
11856 if (PyErr_Occurred()) SWIG_fail;
11857 }
11858 Py_INCREF(Py_None); resultobj = Py_None;
11859 return resultobj;
11860 fail:
11861 return NULL;
11862 }
11863
11864
11865 static PyObject *_wrap_BookCtrlEvent_GetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11866 PyObject *resultobj;
11867 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11868 int result;
11869 PyObject * obj0 = 0 ;
11870 char *kwnames[] = {
11871 (char *) "self", NULL
11872 };
11873
11874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlEvent_GetOldSelection",kwnames,&obj0)) goto fail;
11875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11876 {
11877 PyThreadState* __tstate = wxPyBeginAllowThreads();
11878 result = (int)((wxBookCtrlEvent const *)arg1)->GetOldSelection();
11879
11880 wxPyEndAllowThreads(__tstate);
11881 if (PyErr_Occurred()) SWIG_fail;
11882 }
11883 resultobj = PyInt_FromLong((long)result);
11884 return resultobj;
11885 fail:
11886 return NULL;
11887 }
11888
11889
11890 static PyObject *_wrap_BookCtrlEvent_SetOldSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11891 PyObject *resultobj;
11892 wxBookCtrlEvent *arg1 = (wxBookCtrlEvent *) 0 ;
11893 int arg2 ;
11894 PyObject * obj0 = 0 ;
11895 char *kwnames[] = {
11896 (char *) "self",(char *) "nOldSel", NULL
11897 };
11898
11899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:BookCtrlEvent_SetOldSelection",kwnames,&obj0,&arg2)) goto fail;
11900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11901 {
11902 PyThreadState* __tstate = wxPyBeginAllowThreads();
11903 (arg1)->SetOldSelection(arg2);
11904
11905 wxPyEndAllowThreads(__tstate);
11906 if (PyErr_Occurred()) SWIG_fail;
11907 }
11908 Py_INCREF(Py_None); resultobj = Py_None;
11909 return resultobj;
11910 fail:
11911 return NULL;
11912 }
11913
11914
11915 static PyObject * BookCtrlEvent_swigregister(PyObject *self, PyObject *args) {
11916 PyObject *obj;
11917 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11918 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlEvent, obj);
11919 Py_INCREF(obj);
11920 return Py_BuildValue((char *)"");
11921 }
11922 static PyObject *_wrap_new_Notebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11923 PyObject *resultobj;
11924 wxWindow *arg1 = (wxWindow *) 0 ;
11925 int arg2 ;
11926 wxPoint const &arg3_defvalue = wxDefaultPosition ;
11927 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
11928 wxSize const &arg4_defvalue = wxDefaultSize ;
11929 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
11930 long arg5 = (long) 0 ;
11931 wxString const &arg6_defvalue = wxPyNOTEBOOK_NAME ;
11932 wxString *arg6 = (wxString *) &arg6_defvalue ;
11933 wxNotebook *result;
11934 wxPoint temp3 ;
11935 wxSize temp4 ;
11936 bool temp6 = False ;
11937 PyObject * obj0 = 0 ;
11938 PyObject * obj2 = 0 ;
11939 PyObject * obj3 = 0 ;
11940 PyObject * obj5 = 0 ;
11941 char *kwnames[] = {
11942 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11943 };
11944
11945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Notebook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
11946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11947 if (obj2) {
11948 {
11949 arg3 = &temp3;
11950 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
11951 }
11952 }
11953 if (obj3) {
11954 {
11955 arg4 = &temp4;
11956 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
11957 }
11958 }
11959 if (obj5) {
11960 {
11961 arg6 = wxString_in_helper(obj5);
11962 if (arg6 == NULL) SWIG_fail;
11963 temp6 = True;
11964 }
11965 }
11966 {
11967 PyThreadState* __tstate = wxPyBeginAllowThreads();
11968 result = (wxNotebook *)new wxNotebook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
11969
11970 wxPyEndAllowThreads(__tstate);
11971 if (PyErr_Occurred()) SWIG_fail;
11972 }
11973 {
11974 resultobj = wxPyMake_wxObject(result);
11975 }
11976 {
11977 if (temp6)
11978 delete arg6;
11979 }
11980 return resultobj;
11981 fail:
11982 {
11983 if (temp6)
11984 delete arg6;
11985 }
11986 return NULL;
11987 }
11988
11989
11990 static PyObject *_wrap_new_PreNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
11991 PyObject *resultobj;
11992 wxNotebook *result;
11993 char *kwnames[] = {
11994 NULL
11995 };
11996
11997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreNotebook",kwnames)) goto fail;
11998 {
11999 PyThreadState* __tstate = wxPyBeginAllowThreads();
12000 result = (wxNotebook *)new wxNotebook();
12001
12002 wxPyEndAllowThreads(__tstate);
12003 if (PyErr_Occurred()) SWIG_fail;
12004 }
12005 {
12006 resultobj = wxPyMake_wxObject(result);
12007 }
12008 return resultobj;
12009 fail:
12010 return NULL;
12011 }
12012
12013
12014 static PyObject *_wrap_Notebook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12015 PyObject *resultobj;
12016 wxNotebook *arg1 = (wxNotebook *) 0 ;
12017 wxWindow *arg2 = (wxWindow *) 0 ;
12018 int arg3 ;
12019 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12020 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12021 wxSize const &arg5_defvalue = wxDefaultSize ;
12022 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12023 long arg6 = (long) 0 ;
12024 wxString const &arg7_defvalue = wxPyNOTEBOOK_NAME ;
12025 wxString *arg7 = (wxString *) &arg7_defvalue ;
12026 bool result;
12027 wxPoint temp4 ;
12028 wxSize temp5 ;
12029 bool temp7 = False ;
12030 PyObject * obj0 = 0 ;
12031 PyObject * obj1 = 0 ;
12032 PyObject * obj3 = 0 ;
12033 PyObject * obj4 = 0 ;
12034 PyObject * obj6 = 0 ;
12035 char *kwnames[] = {
12036 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12037 };
12038
12039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Notebook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12041 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12042 if (obj3) {
12043 {
12044 arg4 = &temp4;
12045 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12046 }
12047 }
12048 if (obj4) {
12049 {
12050 arg5 = &temp5;
12051 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12052 }
12053 }
12054 if (obj6) {
12055 {
12056 arg7 = wxString_in_helper(obj6);
12057 if (arg7 == NULL) SWIG_fail;
12058 temp7 = True;
12059 }
12060 }
12061 {
12062 PyThreadState* __tstate = wxPyBeginAllowThreads();
12063 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 resultobj = PyInt_FromLong((long)result);
12069 {
12070 if (temp7)
12071 delete arg7;
12072 }
12073 return resultobj;
12074 fail:
12075 {
12076 if (temp7)
12077 delete arg7;
12078 }
12079 return NULL;
12080 }
12081
12082
12083 static PyObject *_wrap_Notebook_GetRowCount(PyObject *self, PyObject *args, PyObject *kwargs) {
12084 PyObject *resultobj;
12085 wxNotebook *arg1 = (wxNotebook *) 0 ;
12086 int result;
12087 PyObject * obj0 = 0 ;
12088 char *kwnames[] = {
12089 (char *) "self", NULL
12090 };
12091
12092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Notebook_GetRowCount",kwnames,&obj0)) goto fail;
12093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12094 {
12095 PyThreadState* __tstate = wxPyBeginAllowThreads();
12096 result = (int)((wxNotebook const *)arg1)->GetRowCount();
12097
12098 wxPyEndAllowThreads(__tstate);
12099 if (PyErr_Occurred()) SWIG_fail;
12100 }
12101 resultobj = PyInt_FromLong((long)result);
12102 return resultobj;
12103 fail:
12104 return NULL;
12105 }
12106
12107
12108 static PyObject *_wrap_Notebook_SetPadding(PyObject *self, PyObject *args, PyObject *kwargs) {
12109 PyObject *resultobj;
12110 wxNotebook *arg1 = (wxNotebook *) 0 ;
12111 wxSize *arg2 = 0 ;
12112 wxSize temp2 ;
12113 PyObject * obj0 = 0 ;
12114 PyObject * obj1 = 0 ;
12115 char *kwnames[] = {
12116 (char *) "self",(char *) "padding", NULL
12117 };
12118
12119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetPadding",kwnames,&obj0,&obj1)) goto fail;
12120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12121 {
12122 arg2 = &temp2;
12123 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12124 }
12125 {
12126 PyThreadState* __tstate = wxPyBeginAllowThreads();
12127 (arg1)->SetPadding((wxSize const &)*arg2);
12128
12129 wxPyEndAllowThreads(__tstate);
12130 if (PyErr_Occurred()) SWIG_fail;
12131 }
12132 Py_INCREF(Py_None); resultobj = Py_None;
12133 return resultobj;
12134 fail:
12135 return NULL;
12136 }
12137
12138
12139 static PyObject *_wrap_Notebook_SetTabSize(PyObject *self, PyObject *args, PyObject *kwargs) {
12140 PyObject *resultobj;
12141 wxNotebook *arg1 = (wxNotebook *) 0 ;
12142 wxSize *arg2 = 0 ;
12143 wxSize temp2 ;
12144 PyObject * obj0 = 0 ;
12145 PyObject * obj1 = 0 ;
12146 char *kwnames[] = {
12147 (char *) "self",(char *) "sz", NULL
12148 };
12149
12150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_SetTabSize",kwnames,&obj0,&obj1)) goto fail;
12151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12152 {
12153 arg2 = &temp2;
12154 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12155 }
12156 {
12157 PyThreadState* __tstate = wxPyBeginAllowThreads();
12158 (arg1)->SetTabSize((wxSize const &)*arg2);
12159
12160 wxPyEndAllowThreads(__tstate);
12161 if (PyErr_Occurred()) SWIG_fail;
12162 }
12163 Py_INCREF(Py_None); resultobj = Py_None;
12164 return resultobj;
12165 fail:
12166 return NULL;
12167 }
12168
12169
12170 static PyObject *_wrap_Notebook_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
12171 PyObject *resultobj;
12172 wxNotebook *arg1 = (wxNotebook *) 0 ;
12173 wxPoint *arg2 = 0 ;
12174 long *arg3 = (long *) 0 ;
12175 int result;
12176 wxPoint temp2 ;
12177 long temp3 ;
12178 PyObject * obj0 = 0 ;
12179 PyObject * obj1 = 0 ;
12180 char *kwnames[] = {
12181 (char *) "self",(char *) "pt", NULL
12182 };
12183
12184 arg3 = &temp3;
12185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_HitTest",kwnames,&obj0,&obj1)) goto fail;
12186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12187 {
12188 arg2 = &temp2;
12189 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
12190 }
12191 {
12192 PyThreadState* __tstate = wxPyBeginAllowThreads();
12193 result = (int)((wxNotebook const *)arg1)->HitTest((wxPoint const &)*arg2,arg3);
12194
12195 wxPyEndAllowThreads(__tstate);
12196 if (PyErr_Occurred()) SWIG_fail;
12197 }
12198 resultobj = PyInt_FromLong((long)result);
12199 {
12200 PyObject *o = PyInt_FromLong((long) (*arg3));
12201 resultobj = t_output_helper(resultobj,o);
12202 }
12203 return resultobj;
12204 fail:
12205 return NULL;
12206 }
12207
12208
12209 static PyObject *_wrap_Notebook_CalcSizeFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
12210 PyObject *resultobj;
12211 wxNotebook *arg1 = (wxNotebook *) 0 ;
12212 wxSize *arg2 = 0 ;
12213 wxSize result;
12214 wxSize temp2 ;
12215 PyObject * obj0 = 0 ;
12216 PyObject * obj1 = 0 ;
12217 char *kwnames[] = {
12218 (char *) "self",(char *) "sizePage", NULL
12219 };
12220
12221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Notebook_CalcSizeFromPage",kwnames,&obj0,&obj1)) goto fail;
12222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12223 {
12224 arg2 = &temp2;
12225 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
12226 }
12227 {
12228 PyThreadState* __tstate = wxPyBeginAllowThreads();
12229 result = ((wxNotebook const *)arg1)->CalcSizeFromPage((wxSize const &)*arg2);
12230
12231 wxPyEndAllowThreads(__tstate);
12232 if (PyErr_Occurred()) SWIG_fail;
12233 }
12234 {
12235 wxSize * resultptr;
12236 resultptr = new wxSize((wxSize &) result);
12237 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12238 }
12239 return resultobj;
12240 fail:
12241 return NULL;
12242 }
12243
12244
12245 static PyObject *_wrap_Notebook_ApplyThemeBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
12246 PyObject *resultobj;
12247 wxNotebook *arg1 = (wxNotebook *) 0 ;
12248 wxWindow *arg2 = (wxWindow *) 0 ;
12249 wxColour *arg3 = 0 ;
12250 wxColour temp3 ;
12251 PyObject * obj0 = 0 ;
12252 PyObject * obj1 = 0 ;
12253 PyObject * obj2 = 0 ;
12254 char *kwnames[] = {
12255 (char *) "self",(char *) "window",(char *) "colour", NULL
12256 };
12257
12258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Notebook_ApplyThemeBackground",kwnames,&obj0,&obj1,&obj2)) goto fail;
12259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12261 {
12262 arg3 = &temp3;
12263 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
12264 }
12265 {
12266 PyThreadState* __tstate = wxPyBeginAllowThreads();
12267 (arg1)->ApplyThemeBackground(arg2,(wxColour const &)*arg3);
12268
12269 wxPyEndAllowThreads(__tstate);
12270 if (PyErr_Occurred()) SWIG_fail;
12271 }
12272 Py_INCREF(Py_None); resultobj = Py_None;
12273 return resultobj;
12274 fail:
12275 return NULL;
12276 }
12277
12278
12279 static PyObject * Notebook_swigregister(PyObject *self, PyObject *args) {
12280 PyObject *obj;
12281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12282 SWIG_TypeClientData(SWIGTYPE_p_wxNotebook, obj);
12283 Py_INCREF(obj);
12284 return Py_BuildValue((char *)"");
12285 }
12286 static PyObject *_wrap_new_NotebookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12287 PyObject *resultobj;
12288 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12289 int arg2 = (int) 0 ;
12290 int arg3 = (int) -1 ;
12291 int arg4 = (int) -1 ;
12292 wxNotebookEvent *result;
12293 char *kwnames[] = {
12294 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12295 };
12296
12297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_NotebookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12298 {
12299 PyThreadState* __tstate = wxPyBeginAllowThreads();
12300 result = (wxNotebookEvent *)new wxNotebookEvent(arg1,arg2,arg3,arg4);
12301
12302 wxPyEndAllowThreads(__tstate);
12303 if (PyErr_Occurred()) SWIG_fail;
12304 }
12305 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookEvent, 1);
12306 return resultobj;
12307 fail:
12308 return NULL;
12309 }
12310
12311
12312 static PyObject * NotebookEvent_swigregister(PyObject *self, PyObject *args) {
12313 PyObject *obj;
12314 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12315 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookEvent, obj);
12316 Py_INCREF(obj);
12317 return Py_BuildValue((char *)"");
12318 }
12319 static PyObject *_wrap_new_Listbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12320 PyObject *resultobj;
12321 wxWindow *arg1 = (wxWindow *) 0 ;
12322 int arg2 ;
12323 wxPoint const &arg3_defvalue = wxDefaultPosition ;
12324 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
12325 wxSize const &arg4_defvalue = wxDefaultSize ;
12326 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
12327 long arg5 = (long) 0 ;
12328 wxString const &arg6_defvalue = wxPyEmptyString ;
12329 wxString *arg6 = (wxString *) &arg6_defvalue ;
12330 wxListbook *result;
12331 wxPoint temp3 ;
12332 wxSize temp4 ;
12333 bool temp6 = False ;
12334 PyObject * obj0 = 0 ;
12335 PyObject * obj2 = 0 ;
12336 PyObject * obj3 = 0 ;
12337 PyObject * obj5 = 0 ;
12338 char *kwnames[] = {
12339 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12340 };
12341
12342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Listbook",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
12343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12344 if (obj2) {
12345 {
12346 arg3 = &temp3;
12347 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
12348 }
12349 }
12350 if (obj3) {
12351 {
12352 arg4 = &temp4;
12353 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
12354 }
12355 }
12356 if (obj5) {
12357 {
12358 arg6 = wxString_in_helper(obj5);
12359 if (arg6 == NULL) SWIG_fail;
12360 temp6 = True;
12361 }
12362 }
12363 {
12364 PyThreadState* __tstate = wxPyBeginAllowThreads();
12365 result = (wxListbook *)new wxListbook(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
12366
12367 wxPyEndAllowThreads(__tstate);
12368 if (PyErr_Occurred()) SWIG_fail;
12369 }
12370 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12371 {
12372 if (temp6)
12373 delete arg6;
12374 }
12375 return resultobj;
12376 fail:
12377 {
12378 if (temp6)
12379 delete arg6;
12380 }
12381 return NULL;
12382 }
12383
12384
12385 static PyObject *_wrap_new_PreListbook(PyObject *self, PyObject *args, PyObject *kwargs) {
12386 PyObject *resultobj;
12387 wxListbook *result;
12388 char *kwnames[] = {
12389 NULL
12390 };
12391
12392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListbook",kwnames)) goto fail;
12393 {
12394 PyThreadState* __tstate = wxPyBeginAllowThreads();
12395 result = (wxListbook *)new wxListbook();
12396
12397 wxPyEndAllowThreads(__tstate);
12398 if (PyErr_Occurred()) SWIG_fail;
12399 }
12400 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbook, 1);
12401 return resultobj;
12402 fail:
12403 return NULL;
12404 }
12405
12406
12407 static PyObject *_wrap_Listbook_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12408 PyObject *resultobj;
12409 wxListbook *arg1 = (wxListbook *) 0 ;
12410 wxWindow *arg2 = (wxWindow *) 0 ;
12411 int arg3 ;
12412 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12413 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12414 wxSize const &arg5_defvalue = wxDefaultSize ;
12415 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12416 long arg6 = (long) 0 ;
12417 wxString const &arg7_defvalue = wxPyEmptyString ;
12418 wxString *arg7 = (wxString *) &arg7_defvalue ;
12419 bool result;
12420 wxPoint temp4 ;
12421 wxSize temp5 ;
12422 bool temp7 = False ;
12423 PyObject * obj0 = 0 ;
12424 PyObject * obj1 = 0 ;
12425 PyObject * obj3 = 0 ;
12426 PyObject * obj4 = 0 ;
12427 PyObject * obj6 = 0 ;
12428 char *kwnames[] = {
12429 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12430 };
12431
12432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Listbook_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
12433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12435 if (obj3) {
12436 {
12437 arg4 = &temp4;
12438 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12439 }
12440 }
12441 if (obj4) {
12442 {
12443 arg5 = &temp5;
12444 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12445 }
12446 }
12447 if (obj6) {
12448 {
12449 arg7 = wxString_in_helper(obj6);
12450 if (arg7 == NULL) SWIG_fail;
12451 temp7 = True;
12452 }
12453 }
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 resultobj = PyInt_FromLong((long)result);
12462 {
12463 if (temp7)
12464 delete arg7;
12465 }
12466 return resultobj;
12467 fail:
12468 {
12469 if (temp7)
12470 delete arg7;
12471 }
12472 return NULL;
12473 }
12474
12475
12476 static PyObject *_wrap_Listbook_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
12477 PyObject *resultobj;
12478 wxListbook *arg1 = (wxListbook *) 0 ;
12479 bool result;
12480 PyObject * obj0 = 0 ;
12481 char *kwnames[] = {
12482 (char *) "self", NULL
12483 };
12484
12485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Listbook_IsVertical",kwnames,&obj0)) goto fail;
12486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListbook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12487 {
12488 PyThreadState* __tstate = wxPyBeginAllowThreads();
12489 result = (bool)((wxListbook const *)arg1)->IsVertical();
12490
12491 wxPyEndAllowThreads(__tstate);
12492 if (PyErr_Occurred()) SWIG_fail;
12493 }
12494 resultobj = PyInt_FromLong((long)result);
12495 return resultobj;
12496 fail:
12497 return NULL;
12498 }
12499
12500
12501 static PyObject * Listbook_swigregister(PyObject *self, PyObject *args) {
12502 PyObject *obj;
12503 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12504 SWIG_TypeClientData(SWIGTYPE_p_wxListbook, obj);
12505 Py_INCREF(obj);
12506 return Py_BuildValue((char *)"");
12507 }
12508 static PyObject *_wrap_new_ListbookEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12509 PyObject *resultobj;
12510 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12511 int arg2 = (int) 0 ;
12512 int arg3 = (int) -1 ;
12513 int arg4 = (int) -1 ;
12514 wxListbookEvent *result;
12515 char *kwnames[] = {
12516 (char *) "commandType",(char *) "id",(char *) "nSel",(char *) "nOldSel", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiii:new_ListbookEvent",kwnames,&arg1,&arg2,&arg3,&arg4)) goto fail;
12520 {
12521 PyThreadState* __tstate = wxPyBeginAllowThreads();
12522 result = (wxListbookEvent *)new wxListbookEvent(arg1,arg2,arg3,arg4);
12523
12524 wxPyEndAllowThreads(__tstate);
12525 if (PyErr_Occurred()) SWIG_fail;
12526 }
12527 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListbookEvent, 1);
12528 return resultobj;
12529 fail:
12530 return NULL;
12531 }
12532
12533
12534 static PyObject * ListbookEvent_swigregister(PyObject *self, PyObject *args) {
12535 PyObject *obj;
12536 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12537 SWIG_TypeClientData(SWIGTYPE_p_wxListbookEvent, obj);
12538 Py_INCREF(obj);
12539 return Py_BuildValue((char *)"");
12540 }
12541 static PyObject *_wrap_new_BookCtrlSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12542 PyObject *resultobj;
12543 wxBookCtrl *arg1 = (wxBookCtrl *) 0 ;
12544 wxBookCtrlSizer *result;
12545 PyObject * obj0 = 0 ;
12546 char *kwnames[] = {
12547 (char *) "nb", NULL
12548 };
12549
12550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_BookCtrlSizer",kwnames,&obj0)) goto fail;
12551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12552 {
12553 PyThreadState* __tstate = wxPyBeginAllowThreads();
12554 result = (wxBookCtrlSizer *)new wxBookCtrlSizer(arg1);
12555
12556 wxPyEndAllowThreads(__tstate);
12557 if (PyErr_Occurred()) SWIG_fail;
12558 }
12559 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrlSizer, 1);
12560 return resultobj;
12561 fail:
12562 return NULL;
12563 }
12564
12565
12566 static PyObject *_wrap_BookCtrlSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12567 PyObject *resultobj;
12568 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12569 PyObject * obj0 = 0 ;
12570 char *kwnames[] = {
12571 (char *) "self", NULL
12572 };
12573
12574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12576 {
12577 PyThreadState* __tstate = wxPyBeginAllowThreads();
12578 (arg1)->RecalcSizes();
12579
12580 wxPyEndAllowThreads(__tstate);
12581 if (PyErr_Occurred()) SWIG_fail;
12582 }
12583 Py_INCREF(Py_None); resultobj = Py_None;
12584 return resultobj;
12585 fail:
12586 return NULL;
12587 }
12588
12589
12590 static PyObject *_wrap_BookCtrlSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12591 PyObject *resultobj;
12592 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12593 wxSize result;
12594 PyObject * obj0 = 0 ;
12595 char *kwnames[] = {
12596 (char *) "self", NULL
12597 };
12598
12599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_CalcMin",kwnames,&obj0)) goto fail;
12600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12601 {
12602 PyThreadState* __tstate = wxPyBeginAllowThreads();
12603 result = (arg1)->CalcMin();
12604
12605 wxPyEndAllowThreads(__tstate);
12606 if (PyErr_Occurred()) SWIG_fail;
12607 }
12608 {
12609 wxSize * resultptr;
12610 resultptr = new wxSize((wxSize &) result);
12611 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12612 }
12613 return resultobj;
12614 fail:
12615 return NULL;
12616 }
12617
12618
12619 static PyObject *_wrap_BookCtrlSizer_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12620 PyObject *resultobj;
12621 wxBookCtrlSizer *arg1 = (wxBookCtrlSizer *) 0 ;
12622 wxBookCtrl *result;
12623 PyObject * obj0 = 0 ;
12624 char *kwnames[] = {
12625 (char *) "self", NULL
12626 };
12627
12628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:BookCtrlSizer_GetControl",kwnames,&obj0)) goto fail;
12629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBookCtrlSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12630 {
12631 PyThreadState* __tstate = wxPyBeginAllowThreads();
12632 result = (wxBookCtrl *)(arg1)->GetControl();
12633
12634 wxPyEndAllowThreads(__tstate);
12635 if (PyErr_Occurred()) SWIG_fail;
12636 }
12637 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBookCtrl, 0);
12638 return resultobj;
12639 fail:
12640 return NULL;
12641 }
12642
12643
12644 static PyObject * BookCtrlSizer_swigregister(PyObject *self, PyObject *args) {
12645 PyObject *obj;
12646 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12647 SWIG_TypeClientData(SWIGTYPE_p_wxBookCtrlSizer, obj);
12648 Py_INCREF(obj);
12649 return Py_BuildValue((char *)"");
12650 }
12651 static PyObject *_wrap_new_NotebookSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
12652 PyObject *resultobj;
12653 wxNotebook *arg1 = (wxNotebook *) 0 ;
12654 wxNotebookSizer *result;
12655 PyObject * obj0 = 0 ;
12656 char *kwnames[] = {
12657 (char *) "nb", NULL
12658 };
12659
12660 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_NotebookSizer",kwnames,&obj0)) goto fail;
12661 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebook,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12662 {
12663 PyThreadState* __tstate = wxPyBeginAllowThreads();
12664 result = (wxNotebookSizer *)new wxNotebookSizer(arg1);
12665
12666 wxPyEndAllowThreads(__tstate);
12667 if (PyErr_Occurred()) SWIG_fail;
12668 }
12669 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxNotebookSizer, 1);
12670 return resultobj;
12671 fail:
12672 return NULL;
12673 }
12674
12675
12676 static PyObject *_wrap_NotebookSizer_RecalcSizes(PyObject *self, PyObject *args, PyObject *kwargs) {
12677 PyObject *resultobj;
12678 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12679 PyObject * obj0 = 0 ;
12680 char *kwnames[] = {
12681 (char *) "self", NULL
12682 };
12683
12684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_RecalcSizes",kwnames,&obj0)) goto fail;
12685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12686 {
12687 PyThreadState* __tstate = wxPyBeginAllowThreads();
12688 (arg1)->RecalcSizes();
12689
12690 wxPyEndAllowThreads(__tstate);
12691 if (PyErr_Occurred()) SWIG_fail;
12692 }
12693 Py_INCREF(Py_None); resultobj = Py_None;
12694 return resultobj;
12695 fail:
12696 return NULL;
12697 }
12698
12699
12700 static PyObject *_wrap_NotebookSizer_CalcMin(PyObject *self, PyObject *args, PyObject *kwargs) {
12701 PyObject *resultobj;
12702 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12703 wxSize result;
12704 PyObject * obj0 = 0 ;
12705 char *kwnames[] = {
12706 (char *) "self", NULL
12707 };
12708
12709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_CalcMin",kwnames,&obj0)) goto fail;
12710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12711 {
12712 PyThreadState* __tstate = wxPyBeginAllowThreads();
12713 result = (arg1)->CalcMin();
12714
12715 wxPyEndAllowThreads(__tstate);
12716 if (PyErr_Occurred()) SWIG_fail;
12717 }
12718 {
12719 wxSize * resultptr;
12720 resultptr = new wxSize((wxSize &) result);
12721 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
12722 }
12723 return resultobj;
12724 fail:
12725 return NULL;
12726 }
12727
12728
12729 static PyObject *_wrap_NotebookSizer_GetNotebook(PyObject *self, PyObject *args, PyObject *kwargs) {
12730 PyObject *resultobj;
12731 wxNotebookSizer *arg1 = (wxNotebookSizer *) 0 ;
12732 wxNotebook *result;
12733 PyObject * obj0 = 0 ;
12734 char *kwnames[] = {
12735 (char *) "self", NULL
12736 };
12737
12738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:NotebookSizer_GetNotebook",kwnames,&obj0)) goto fail;
12739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxNotebookSizer,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12740 {
12741 PyThreadState* __tstate = wxPyBeginAllowThreads();
12742 result = (wxNotebook *)(arg1)->GetNotebook();
12743
12744 wxPyEndAllowThreads(__tstate);
12745 if (PyErr_Occurred()) SWIG_fail;
12746 }
12747 {
12748 resultobj = wxPyMake_wxObject(result);
12749 }
12750 return resultobj;
12751 fail:
12752 return NULL;
12753 }
12754
12755
12756 static PyObject * NotebookSizer_swigregister(PyObject *self, PyObject *args) {
12757 PyObject *obj;
12758 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12759 SWIG_TypeClientData(SWIGTYPE_p_wxNotebookSizer, obj);
12760 Py_INCREF(obj);
12761 return Py_BuildValue((char *)"");
12762 }
12763 static PyObject *_wrap_ToolBarToolBase_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
12764 PyObject *resultobj;
12765 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12766 int result;
12767 PyObject * obj0 = 0 ;
12768 char *kwnames[] = {
12769 (char *) "self", NULL
12770 };
12771
12772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetId",kwnames,&obj0)) goto fail;
12773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12774 {
12775 PyThreadState* __tstate = wxPyBeginAllowThreads();
12776 result = (int)(arg1)->GetId();
12777
12778 wxPyEndAllowThreads(__tstate);
12779 if (PyErr_Occurred()) SWIG_fail;
12780 }
12781 resultobj = PyInt_FromLong((long)result);
12782 return resultobj;
12783 fail:
12784 return NULL;
12785 }
12786
12787
12788 static PyObject *_wrap_ToolBarToolBase_GetControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12789 PyObject *resultobj;
12790 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12791 wxControl *result;
12792 PyObject * obj0 = 0 ;
12793 char *kwnames[] = {
12794 (char *) "self", NULL
12795 };
12796
12797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetControl",kwnames,&obj0)) goto fail;
12798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12799 {
12800 PyThreadState* __tstate = wxPyBeginAllowThreads();
12801 result = (wxControl *)(arg1)->GetControl();
12802
12803 wxPyEndAllowThreads(__tstate);
12804 if (PyErr_Occurred()) SWIG_fail;
12805 }
12806 {
12807 resultobj = wxPyMake_wxObject(result);
12808 }
12809 return resultobj;
12810 fail:
12811 return NULL;
12812 }
12813
12814
12815 static PyObject *_wrap_ToolBarToolBase_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12816 PyObject *resultobj;
12817 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12818 wxToolBarBase *result;
12819 PyObject * obj0 = 0 ;
12820 char *kwnames[] = {
12821 (char *) "self", NULL
12822 };
12823
12824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetToolBar",kwnames,&obj0)) goto fail;
12825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12826 {
12827 PyThreadState* __tstate = wxPyBeginAllowThreads();
12828 result = (wxToolBarBase *)(arg1)->GetToolBar();
12829
12830 wxPyEndAllowThreads(__tstate);
12831 if (PyErr_Occurred()) SWIG_fail;
12832 }
12833 {
12834 resultobj = wxPyMake_wxObject(result);
12835 }
12836 return resultobj;
12837 fail:
12838 return NULL;
12839 }
12840
12841
12842 static PyObject *_wrap_ToolBarToolBase_IsButton(PyObject *self, PyObject *args, PyObject *kwargs) {
12843 PyObject *resultobj;
12844 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12845 int result;
12846 PyObject * obj0 = 0 ;
12847 char *kwnames[] = {
12848 (char *) "self", NULL
12849 };
12850
12851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsButton",kwnames,&obj0)) goto fail;
12852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12853 {
12854 PyThreadState* __tstate = wxPyBeginAllowThreads();
12855 result = (int)(arg1)->IsButton();
12856
12857 wxPyEndAllowThreads(__tstate);
12858 if (PyErr_Occurred()) SWIG_fail;
12859 }
12860 resultobj = PyInt_FromLong((long)result);
12861 return resultobj;
12862 fail:
12863 return NULL;
12864 }
12865
12866
12867 static PyObject *_wrap_ToolBarToolBase_IsControl(PyObject *self, PyObject *args, PyObject *kwargs) {
12868 PyObject *resultobj;
12869 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12870 int result;
12871 PyObject * obj0 = 0 ;
12872 char *kwnames[] = {
12873 (char *) "self", NULL
12874 };
12875
12876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsControl",kwnames,&obj0)) goto fail;
12877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12878 {
12879 PyThreadState* __tstate = wxPyBeginAllowThreads();
12880 result = (int)(arg1)->IsControl();
12881
12882 wxPyEndAllowThreads(__tstate);
12883 if (PyErr_Occurred()) SWIG_fail;
12884 }
12885 resultobj = PyInt_FromLong((long)result);
12886 return resultobj;
12887 fail:
12888 return NULL;
12889 }
12890
12891
12892 static PyObject *_wrap_ToolBarToolBase_IsSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
12893 PyObject *resultobj;
12894 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12895 int result;
12896 PyObject * obj0 = 0 ;
12897 char *kwnames[] = {
12898 (char *) "self", NULL
12899 };
12900
12901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsSeparator",kwnames,&obj0)) goto fail;
12902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12903 {
12904 PyThreadState* __tstate = wxPyBeginAllowThreads();
12905 result = (int)(arg1)->IsSeparator();
12906
12907 wxPyEndAllowThreads(__tstate);
12908 if (PyErr_Occurred()) SWIG_fail;
12909 }
12910 resultobj = PyInt_FromLong((long)result);
12911 return resultobj;
12912 fail:
12913 return NULL;
12914 }
12915
12916
12917 static PyObject *_wrap_ToolBarToolBase_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
12918 PyObject *resultobj;
12919 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12920 int result;
12921 PyObject * obj0 = 0 ;
12922 char *kwnames[] = {
12923 (char *) "self", NULL
12924 };
12925
12926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetStyle",kwnames,&obj0)) goto fail;
12927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12928 {
12929 PyThreadState* __tstate = wxPyBeginAllowThreads();
12930 result = (int)(arg1)->GetStyle();
12931
12932 wxPyEndAllowThreads(__tstate);
12933 if (PyErr_Occurred()) SWIG_fail;
12934 }
12935 resultobj = PyInt_FromLong((long)result);
12936 return resultobj;
12937 fail:
12938 return NULL;
12939 }
12940
12941
12942 static PyObject *_wrap_ToolBarToolBase_GetKind(PyObject *self, PyObject *args, PyObject *kwargs) {
12943 PyObject *resultobj;
12944 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12945 int result;
12946 PyObject * obj0 = 0 ;
12947 char *kwnames[] = {
12948 (char *) "self", NULL
12949 };
12950
12951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetKind",kwnames,&obj0)) goto fail;
12952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12953 {
12954 PyThreadState* __tstate = wxPyBeginAllowThreads();
12955 result = (int)(arg1)->GetKind();
12956
12957 wxPyEndAllowThreads(__tstate);
12958 if (PyErr_Occurred()) SWIG_fail;
12959 }
12960 resultobj = PyInt_FromLong((long)result);
12961 return resultobj;
12962 fail:
12963 return NULL;
12964 }
12965
12966
12967 static PyObject *_wrap_ToolBarToolBase_IsEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
12968 PyObject *resultobj;
12969 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12970 bool result;
12971 PyObject * obj0 = 0 ;
12972 char *kwnames[] = {
12973 (char *) "self", NULL
12974 };
12975
12976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsEnabled",kwnames,&obj0)) goto fail;
12977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12978 {
12979 PyThreadState* __tstate = wxPyBeginAllowThreads();
12980 result = (bool)(arg1)->IsEnabled();
12981
12982 wxPyEndAllowThreads(__tstate);
12983 if (PyErr_Occurred()) SWIG_fail;
12984 }
12985 resultobj = PyInt_FromLong((long)result);
12986 return resultobj;
12987 fail:
12988 return NULL;
12989 }
12990
12991
12992 static PyObject *_wrap_ToolBarToolBase_IsToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
12993 PyObject *resultobj;
12994 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
12995 bool result;
12996 PyObject * obj0 = 0 ;
12997 char *kwnames[] = {
12998 (char *) "self", NULL
12999 };
13000
13001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_IsToggled",kwnames,&obj0)) goto fail;
13002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13003 {
13004 PyThreadState* __tstate = wxPyBeginAllowThreads();
13005 result = (bool)(arg1)->IsToggled();
13006
13007 wxPyEndAllowThreads(__tstate);
13008 if (PyErr_Occurred()) SWIG_fail;
13009 }
13010 resultobj = PyInt_FromLong((long)result);
13011 return resultobj;
13012 fail:
13013 return NULL;
13014 }
13015
13016
13017 static PyObject *_wrap_ToolBarToolBase_CanBeToggled(PyObject *self, PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj;
13019 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13020 bool result;
13021 PyObject * obj0 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "self", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_CanBeToggled",kwnames,&obj0)) goto fail;
13027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 result = (bool)(arg1)->CanBeToggled();
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 resultobj = PyInt_FromLong((long)result);
13036 return resultobj;
13037 fail:
13038 return NULL;
13039 }
13040
13041
13042 static PyObject *_wrap_ToolBarToolBase_GetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj;
13044 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13045 wxBitmap *result;
13046 PyObject * obj0 = 0 ;
13047 char *kwnames[] = {
13048 (char *) "self", NULL
13049 };
13050
13051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetNormalBitmap",kwnames,&obj0)) goto fail;
13052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13053 {
13054 PyThreadState* __tstate = wxPyBeginAllowThreads();
13055 {
13056 wxBitmap const &_result_ref = (arg1)->GetNormalBitmap();
13057 result = (wxBitmap *) &_result_ref;
13058 }
13059
13060 wxPyEndAllowThreads(__tstate);
13061 if (PyErr_Occurred()) SWIG_fail;
13062 }
13063 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13064 return resultobj;
13065 fail:
13066 return NULL;
13067 }
13068
13069
13070 static PyObject *_wrap_ToolBarToolBase_GetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13071 PyObject *resultobj;
13072 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13073 wxBitmap *result;
13074 PyObject * obj0 = 0 ;
13075 char *kwnames[] = {
13076 (char *) "self", NULL
13077 };
13078
13079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetDisabledBitmap",kwnames,&obj0)) goto fail;
13080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13081 {
13082 PyThreadState* __tstate = wxPyBeginAllowThreads();
13083 {
13084 wxBitmap const &_result_ref = (arg1)->GetDisabledBitmap();
13085 result = (wxBitmap *) &_result_ref;
13086 }
13087
13088 wxPyEndAllowThreads(__tstate);
13089 if (PyErr_Occurred()) SWIG_fail;
13090 }
13091 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
13092 return resultobj;
13093 fail:
13094 return NULL;
13095 }
13096
13097
13098 static PyObject *_wrap_ToolBarToolBase_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13099 PyObject *resultobj;
13100 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13101 wxBitmap result;
13102 PyObject * obj0 = 0 ;
13103 char *kwnames[] = {
13104 (char *) "self", NULL
13105 };
13106
13107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetBitmap",kwnames,&obj0)) goto fail;
13108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13109 {
13110 PyThreadState* __tstate = wxPyBeginAllowThreads();
13111 result = (arg1)->GetBitmap();
13112
13113 wxPyEndAllowThreads(__tstate);
13114 if (PyErr_Occurred()) SWIG_fail;
13115 }
13116 {
13117 wxBitmap * resultptr;
13118 resultptr = new wxBitmap((wxBitmap &) result);
13119 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxBitmap, 1);
13120 }
13121 return resultobj;
13122 fail:
13123 return NULL;
13124 }
13125
13126
13127 static PyObject *_wrap_ToolBarToolBase_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13128 PyObject *resultobj;
13129 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13130 wxString result;
13131 PyObject * obj0 = 0 ;
13132 char *kwnames[] = {
13133 (char *) "self", NULL
13134 };
13135
13136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLabel",kwnames,&obj0)) goto fail;
13137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13138 {
13139 PyThreadState* __tstate = wxPyBeginAllowThreads();
13140 result = (arg1)->GetLabel();
13141
13142 wxPyEndAllowThreads(__tstate);
13143 if (PyErr_Occurred()) SWIG_fail;
13144 }
13145 {
13146 #if wxUSE_UNICODE
13147 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13148 #else
13149 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13150 #endif
13151 }
13152 return resultobj;
13153 fail:
13154 return NULL;
13155 }
13156
13157
13158 static PyObject *_wrap_ToolBarToolBase_GetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13159 PyObject *resultobj;
13160 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13161 wxString result;
13162 PyObject * obj0 = 0 ;
13163 char *kwnames[] = {
13164 (char *) "self", NULL
13165 };
13166
13167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetShortHelp",kwnames,&obj0)) goto fail;
13168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13169 {
13170 PyThreadState* __tstate = wxPyBeginAllowThreads();
13171 result = (arg1)->GetShortHelp();
13172
13173 wxPyEndAllowThreads(__tstate);
13174 if (PyErr_Occurred()) SWIG_fail;
13175 }
13176 {
13177 #if wxUSE_UNICODE
13178 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13179 #else
13180 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13181 #endif
13182 }
13183 return resultobj;
13184 fail:
13185 return NULL;
13186 }
13187
13188
13189 static PyObject *_wrap_ToolBarToolBase_GetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13190 PyObject *resultobj;
13191 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13192 wxString result;
13193 PyObject * obj0 = 0 ;
13194 char *kwnames[] = {
13195 (char *) "self", NULL
13196 };
13197
13198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetLongHelp",kwnames,&obj0)) goto fail;
13199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13200 {
13201 PyThreadState* __tstate = wxPyBeginAllowThreads();
13202 result = (arg1)->GetLongHelp();
13203
13204 wxPyEndAllowThreads(__tstate);
13205 if (PyErr_Occurred()) SWIG_fail;
13206 }
13207 {
13208 #if wxUSE_UNICODE
13209 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
13210 #else
13211 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
13212 #endif
13213 }
13214 return resultobj;
13215 fail:
13216 return NULL;
13217 }
13218
13219
13220 static PyObject *_wrap_ToolBarToolBase_Enable(PyObject *self, PyObject *args, PyObject *kwargs) {
13221 PyObject *resultobj;
13222 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13223 bool arg2 ;
13224 bool result;
13225 PyObject * obj0 = 0 ;
13226 PyObject * obj1 = 0 ;
13227 char *kwnames[] = {
13228 (char *) "self",(char *) "enable", NULL
13229 };
13230
13231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Enable",kwnames,&obj0,&obj1)) goto fail;
13232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13233 arg2 = PyInt_AsLong(obj1) ? true : false;
13234 if (PyErr_Occurred()) SWIG_fail;
13235 {
13236 PyThreadState* __tstate = wxPyBeginAllowThreads();
13237 result = (bool)(arg1)->Enable(arg2);
13238
13239 wxPyEndAllowThreads(__tstate);
13240 if (PyErr_Occurred()) SWIG_fail;
13241 }
13242 resultobj = PyInt_FromLong((long)result);
13243 return resultobj;
13244 fail:
13245 return NULL;
13246 }
13247
13248
13249 static PyObject *_wrap_ToolBarToolBase_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13250 PyObject *resultobj;
13251 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13252 PyObject * obj0 = 0 ;
13253 char *kwnames[] = {
13254 (char *) "self", NULL
13255 };
13256
13257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Toggle",kwnames,&obj0)) goto fail;
13258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13259 {
13260 PyThreadState* __tstate = wxPyBeginAllowThreads();
13261 (arg1)->Toggle();
13262
13263 wxPyEndAllowThreads(__tstate);
13264 if (PyErr_Occurred()) SWIG_fail;
13265 }
13266 Py_INCREF(Py_None); resultobj = Py_None;
13267 return resultobj;
13268 fail:
13269 return NULL;
13270 }
13271
13272
13273 static PyObject *_wrap_ToolBarToolBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
13274 PyObject *resultobj;
13275 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13276 bool arg2 ;
13277 bool result;
13278 PyObject * obj0 = 0 ;
13279 PyObject * obj1 = 0 ;
13280 char *kwnames[] = {
13281 (char *) "self",(char *) "toggle", NULL
13282 };
13283
13284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetToggle",kwnames,&obj0,&obj1)) goto fail;
13285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13286 arg2 = PyInt_AsLong(obj1) ? true : false;
13287 if (PyErr_Occurred()) SWIG_fail;
13288 {
13289 PyThreadState* __tstate = wxPyBeginAllowThreads();
13290 result = (bool)(arg1)->SetToggle(arg2);
13291
13292 wxPyEndAllowThreads(__tstate);
13293 if (PyErr_Occurred()) SWIG_fail;
13294 }
13295 resultobj = PyInt_FromLong((long)result);
13296 return resultobj;
13297 fail:
13298 return NULL;
13299 }
13300
13301
13302 static PyObject *_wrap_ToolBarToolBase_SetShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13303 PyObject *resultobj;
13304 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13305 wxString *arg2 = 0 ;
13306 bool result;
13307 bool temp2 = False ;
13308 PyObject * obj0 = 0 ;
13309 PyObject * obj1 = 0 ;
13310 char *kwnames[] = {
13311 (char *) "self",(char *) "help", NULL
13312 };
13313
13314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetShortHelp",kwnames,&obj0,&obj1)) goto fail;
13315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13316 {
13317 arg2 = wxString_in_helper(obj1);
13318 if (arg2 == NULL) SWIG_fail;
13319 temp2 = True;
13320 }
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 result = (bool)(arg1)->SetShortHelp((wxString const &)*arg2);
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 resultobj = PyInt_FromLong((long)result);
13329 {
13330 if (temp2)
13331 delete arg2;
13332 }
13333 return resultobj;
13334 fail:
13335 {
13336 if (temp2)
13337 delete arg2;
13338 }
13339 return NULL;
13340 }
13341
13342
13343 static PyObject *_wrap_ToolBarToolBase_SetLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
13344 PyObject *resultobj;
13345 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13346 wxString *arg2 = 0 ;
13347 bool result;
13348 bool temp2 = False ;
13349 PyObject * obj0 = 0 ;
13350 PyObject * obj1 = 0 ;
13351 char *kwnames[] = {
13352 (char *) "self",(char *) "help", NULL
13353 };
13354
13355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLongHelp",kwnames,&obj0,&obj1)) goto fail;
13356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13357 {
13358 arg2 = wxString_in_helper(obj1);
13359 if (arg2 == NULL) SWIG_fail;
13360 temp2 = True;
13361 }
13362 {
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 result = (bool)(arg1)->SetLongHelp((wxString const &)*arg2);
13365
13366 wxPyEndAllowThreads(__tstate);
13367 if (PyErr_Occurred()) SWIG_fail;
13368 }
13369 resultobj = PyInt_FromLong((long)result);
13370 {
13371 if (temp2)
13372 delete arg2;
13373 }
13374 return resultobj;
13375 fail:
13376 {
13377 if (temp2)
13378 delete arg2;
13379 }
13380 return NULL;
13381 }
13382
13383
13384 static PyObject *_wrap_ToolBarToolBase_SetNormalBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13385 PyObject *resultobj;
13386 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13387 wxBitmap *arg2 = 0 ;
13388 PyObject * obj0 = 0 ;
13389 PyObject * obj1 = 0 ;
13390 char *kwnames[] = {
13391 (char *) "self",(char *) "bmp", NULL
13392 };
13393
13394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetNormalBitmap",kwnames,&obj0,&obj1)) goto fail;
13395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13396 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13397 if (arg2 == NULL) {
13398 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13399 }
13400 {
13401 PyThreadState* __tstate = wxPyBeginAllowThreads();
13402 (arg1)->SetNormalBitmap((wxBitmap const &)*arg2);
13403
13404 wxPyEndAllowThreads(__tstate);
13405 if (PyErr_Occurred()) SWIG_fail;
13406 }
13407 Py_INCREF(Py_None); resultobj = Py_None;
13408 return resultobj;
13409 fail:
13410 return NULL;
13411 }
13412
13413
13414 static PyObject *_wrap_ToolBarToolBase_SetDisabledBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
13415 PyObject *resultobj;
13416 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13417 wxBitmap *arg2 = 0 ;
13418 PyObject * obj0 = 0 ;
13419 PyObject * obj1 = 0 ;
13420 char *kwnames[] = {
13421 (char *) "self",(char *) "bmp", NULL
13422 };
13423
13424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetDisabledBitmap",kwnames,&obj0,&obj1)) goto fail;
13425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13426 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13427 if (arg2 == NULL) {
13428 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13429 }
13430 {
13431 PyThreadState* __tstate = wxPyBeginAllowThreads();
13432 (arg1)->SetDisabledBitmap((wxBitmap const &)*arg2);
13433
13434 wxPyEndAllowThreads(__tstate);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 }
13437 Py_INCREF(Py_None); resultobj = Py_None;
13438 return resultobj;
13439 fail:
13440 return NULL;
13441 }
13442
13443
13444 static PyObject *_wrap_ToolBarToolBase_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
13445 PyObject *resultobj;
13446 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13447 wxString *arg2 = 0 ;
13448 bool temp2 = False ;
13449 PyObject * obj0 = 0 ;
13450 PyObject * obj1 = 0 ;
13451 char *kwnames[] = {
13452 (char *) "self",(char *) "label", NULL
13453 };
13454
13455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetLabel",kwnames,&obj0,&obj1)) goto fail;
13456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13457 {
13458 arg2 = wxString_in_helper(obj1);
13459 if (arg2 == NULL) SWIG_fail;
13460 temp2 = True;
13461 }
13462 {
13463 PyThreadState* __tstate = wxPyBeginAllowThreads();
13464 (arg1)->SetLabel((wxString const &)*arg2);
13465
13466 wxPyEndAllowThreads(__tstate);
13467 if (PyErr_Occurred()) SWIG_fail;
13468 }
13469 Py_INCREF(Py_None); resultobj = Py_None;
13470 {
13471 if (temp2)
13472 delete arg2;
13473 }
13474 return resultobj;
13475 fail:
13476 {
13477 if (temp2)
13478 delete arg2;
13479 }
13480 return NULL;
13481 }
13482
13483
13484 static PyObject *_wrap_ToolBarToolBase_Detach(PyObject *self, PyObject *args, PyObject *kwargs) {
13485 PyObject *resultobj;
13486 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13487 PyObject * obj0 = 0 ;
13488 char *kwnames[] = {
13489 (char *) "self", NULL
13490 };
13491
13492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_Detach",kwnames,&obj0)) goto fail;
13493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13494 {
13495 PyThreadState* __tstate = wxPyBeginAllowThreads();
13496 (arg1)->Detach();
13497
13498 wxPyEndAllowThreads(__tstate);
13499 if (PyErr_Occurred()) SWIG_fail;
13500 }
13501 Py_INCREF(Py_None); resultobj = Py_None;
13502 return resultobj;
13503 fail:
13504 return NULL;
13505 }
13506
13507
13508 static PyObject *_wrap_ToolBarToolBase_Attach(PyObject *self, PyObject *args, PyObject *kwargs) {
13509 PyObject *resultobj;
13510 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13511 wxToolBarBase *arg2 = (wxToolBarBase *) 0 ;
13512 PyObject * obj0 = 0 ;
13513 PyObject * obj1 = 0 ;
13514 char *kwnames[] = {
13515 (char *) "self",(char *) "tbar", NULL
13516 };
13517
13518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_Attach",kwnames,&obj0,&obj1)) goto fail;
13519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13520 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13521 {
13522 PyThreadState* __tstate = wxPyBeginAllowThreads();
13523 (arg1)->Attach(arg2);
13524
13525 wxPyEndAllowThreads(__tstate);
13526 if (PyErr_Occurred()) SWIG_fail;
13527 }
13528 Py_INCREF(Py_None); resultobj = Py_None;
13529 return resultobj;
13530 fail:
13531 return NULL;
13532 }
13533
13534
13535 static PyObject *_wrap_ToolBarToolBase_GetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13536 PyObject *resultobj;
13537 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13538 PyObject *result;
13539 PyObject * obj0 = 0 ;
13540 char *kwnames[] = {
13541 (char *) "self", NULL
13542 };
13543
13544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarToolBase_GetClientData",kwnames,&obj0)) goto fail;
13545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13546 {
13547 PyThreadState* __tstate = wxPyBeginAllowThreads();
13548 result = (PyObject *)wxToolBarToolBase_GetClientData(arg1);
13549
13550 wxPyEndAllowThreads(__tstate);
13551 if (PyErr_Occurred()) SWIG_fail;
13552 }
13553 resultobj = result;
13554 return resultobj;
13555 fail:
13556 return NULL;
13557 }
13558
13559
13560 static PyObject *_wrap_ToolBarToolBase_SetClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
13561 PyObject *resultobj;
13562 wxToolBarToolBase *arg1 = (wxToolBarToolBase *) 0 ;
13563 PyObject *arg2 = (PyObject *) 0 ;
13564 PyObject * obj0 = 0 ;
13565 PyObject * obj1 = 0 ;
13566 char *kwnames[] = {
13567 (char *) "self",(char *) "clientData", NULL
13568 };
13569
13570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarToolBase_SetClientData",kwnames,&obj0,&obj1)) goto fail;
13571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarToolBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13572 arg2 = obj1;
13573 {
13574 PyThreadState* __tstate = wxPyBeginAllowThreads();
13575 wxToolBarToolBase_SetClientData(arg1,arg2);
13576
13577 wxPyEndAllowThreads(__tstate);
13578 if (PyErr_Occurred()) SWIG_fail;
13579 }
13580 Py_INCREF(Py_None); resultobj = Py_None;
13581 return resultobj;
13582 fail:
13583 return NULL;
13584 }
13585
13586
13587 static PyObject * ToolBarToolBase_swigregister(PyObject *self, PyObject *args) {
13588 PyObject *obj;
13589 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13590 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarToolBase, obj);
13591 Py_INCREF(obj);
13592 return Py_BuildValue((char *)"");
13593 }
13594 static PyObject *_wrap_ToolBarBase_DoAddTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13595 PyObject *resultobj;
13596 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13597 int arg2 ;
13598 wxString *arg3 = 0 ;
13599 wxBitmap *arg4 = 0 ;
13600 wxBitmap const &arg5_defvalue = wxNullBitmap ;
13601 wxBitmap *arg5 = (wxBitmap *) &arg5_defvalue ;
13602 int arg6 = (int) wxITEM_NORMAL ;
13603 wxString const &arg7_defvalue = wxPyEmptyString ;
13604 wxString *arg7 = (wxString *) &arg7_defvalue ;
13605 wxString const &arg8_defvalue = wxPyEmptyString ;
13606 wxString *arg8 = (wxString *) &arg8_defvalue ;
13607 PyObject *arg9 = (PyObject *) NULL ;
13608 wxToolBarToolBase *result;
13609 bool temp3 = False ;
13610 bool temp7 = False ;
13611 bool temp8 = False ;
13612 PyObject * obj0 = 0 ;
13613 PyObject * obj2 = 0 ;
13614 PyObject * obj3 = 0 ;
13615 PyObject * obj4 = 0 ;
13616 PyObject * obj6 = 0 ;
13617 PyObject * obj7 = 0 ;
13618 PyObject * obj8 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "self",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13621 };
13622
13623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiOO|OiOOO:ToolBarBase_DoAddTool",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&obj7,&obj8)) goto fail;
13624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13625 {
13626 arg3 = wxString_in_helper(obj2);
13627 if (arg3 == NULL) SWIG_fail;
13628 temp3 = True;
13629 }
13630 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13631 if (arg4 == NULL) {
13632 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13633 }
13634 if (obj4) {
13635 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13636 if (arg5 == NULL) {
13637 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13638 }
13639 }
13640 if (obj6) {
13641 {
13642 arg7 = wxString_in_helper(obj6);
13643 if (arg7 == NULL) SWIG_fail;
13644 temp7 = True;
13645 }
13646 }
13647 if (obj7) {
13648 {
13649 arg8 = wxString_in_helper(obj7);
13650 if (arg8 == NULL) SWIG_fail;
13651 temp8 = True;
13652 }
13653 }
13654 if (obj8) {
13655 arg9 = obj8;
13656 }
13657 {
13658 PyThreadState* __tstate = wxPyBeginAllowThreads();
13659 result = (wxToolBarToolBase *)wxToolBarBase_DoAddTool(arg1,arg2,(wxString const &)*arg3,(wxBitmap const &)*arg4,(wxBitmap const &)*arg5,(wxItemKind )arg6,(wxString const &)*arg7,(wxString const &)*arg8,arg9);
13660
13661 wxPyEndAllowThreads(__tstate);
13662 if (PyErr_Occurred()) SWIG_fail;
13663 }
13664 {
13665 resultobj = wxPyMake_wxObject(result);
13666 }
13667 {
13668 if (temp3)
13669 delete arg3;
13670 }
13671 {
13672 if (temp7)
13673 delete arg7;
13674 }
13675 {
13676 if (temp8)
13677 delete arg8;
13678 }
13679 return resultobj;
13680 fail:
13681 {
13682 if (temp3)
13683 delete arg3;
13684 }
13685 {
13686 if (temp7)
13687 delete arg7;
13688 }
13689 {
13690 if (temp8)
13691 delete arg8;
13692 }
13693 return NULL;
13694 }
13695
13696
13697 static PyObject *_wrap_ToolBarBase_DoInsertTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13698 PyObject *resultobj;
13699 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13700 size_t arg2 ;
13701 int arg3 ;
13702 wxString *arg4 = 0 ;
13703 wxBitmap *arg5 = 0 ;
13704 wxBitmap const &arg6_defvalue = wxNullBitmap ;
13705 wxBitmap *arg6 = (wxBitmap *) &arg6_defvalue ;
13706 int arg7 = (int) wxITEM_NORMAL ;
13707 wxString const &arg8_defvalue = wxPyEmptyString ;
13708 wxString *arg8 = (wxString *) &arg8_defvalue ;
13709 wxString const &arg9_defvalue = wxPyEmptyString ;
13710 wxString *arg9 = (wxString *) &arg9_defvalue ;
13711 PyObject *arg10 = (PyObject *) NULL ;
13712 wxToolBarToolBase *result;
13713 bool temp4 = False ;
13714 bool temp8 = False ;
13715 bool temp9 = False ;
13716 PyObject * obj0 = 0 ;
13717 PyObject * obj1 = 0 ;
13718 PyObject * obj3 = 0 ;
13719 PyObject * obj4 = 0 ;
13720 PyObject * obj5 = 0 ;
13721 PyObject * obj7 = 0 ;
13722 PyObject * obj8 = 0 ;
13723 PyObject * obj9 = 0 ;
13724 char *kwnames[] = {
13725 (char *) "self",(char *) "pos",(char *) "id",(char *) "label",(char *) "bitmap",(char *) "bmpDisabled",(char *) "kind",(char *) "shortHelp",(char *) "longHelp",(char *) "clientData", NULL
13726 };
13727
13728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiOO|OiOOO:ToolBarBase_DoInsertTool",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&obj8,&obj9)) goto fail;
13729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13730 arg2 = (size_t) PyInt_AsLong(obj1);
13731 if (PyErr_Occurred()) SWIG_fail;
13732 {
13733 arg4 = wxString_in_helper(obj3);
13734 if (arg4 == NULL) SWIG_fail;
13735 temp4 = True;
13736 }
13737 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13738 if (arg5 == NULL) {
13739 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13740 }
13741 if (obj5) {
13742 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13743 if (arg6 == NULL) {
13744 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13745 }
13746 }
13747 if (obj7) {
13748 {
13749 arg8 = wxString_in_helper(obj7);
13750 if (arg8 == NULL) SWIG_fail;
13751 temp8 = True;
13752 }
13753 }
13754 if (obj8) {
13755 {
13756 arg9 = wxString_in_helper(obj8);
13757 if (arg9 == NULL) SWIG_fail;
13758 temp9 = True;
13759 }
13760 }
13761 if (obj9) {
13762 arg10 = obj9;
13763 }
13764 {
13765 PyThreadState* __tstate = wxPyBeginAllowThreads();
13766 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);
13767
13768 wxPyEndAllowThreads(__tstate);
13769 if (PyErr_Occurred()) SWIG_fail;
13770 }
13771 {
13772 resultobj = wxPyMake_wxObject(result);
13773 }
13774 {
13775 if (temp4)
13776 delete arg4;
13777 }
13778 {
13779 if (temp8)
13780 delete arg8;
13781 }
13782 {
13783 if (temp9)
13784 delete arg9;
13785 }
13786 return resultobj;
13787 fail:
13788 {
13789 if (temp4)
13790 delete arg4;
13791 }
13792 {
13793 if (temp8)
13794 delete arg8;
13795 }
13796 {
13797 if (temp9)
13798 delete arg9;
13799 }
13800 return NULL;
13801 }
13802
13803
13804 static PyObject *_wrap_ToolBarBase_AddControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13805 PyObject *resultobj;
13806 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13807 wxControl *arg2 = (wxControl *) 0 ;
13808 wxToolBarToolBase *result;
13809 PyObject * obj0 = 0 ;
13810 PyObject * obj1 = 0 ;
13811 char *kwnames[] = {
13812 (char *) "self",(char *) "control", NULL
13813 };
13814
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_AddControl",kwnames,&obj0,&obj1)) goto fail;
13816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13818 {
13819 PyThreadState* __tstate = wxPyBeginAllowThreads();
13820 result = (wxToolBarToolBase *)(arg1)->AddControl(arg2);
13821
13822 wxPyEndAllowThreads(__tstate);
13823 if (PyErr_Occurred()) SWIG_fail;
13824 }
13825 {
13826 resultobj = wxPyMake_wxObject(result);
13827 }
13828 return resultobj;
13829 fail:
13830 return NULL;
13831 }
13832
13833
13834 static PyObject *_wrap_ToolBarBase_InsertControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13835 PyObject *resultobj;
13836 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13837 size_t arg2 ;
13838 wxControl *arg3 = (wxControl *) 0 ;
13839 wxToolBarToolBase *result;
13840 PyObject * obj0 = 0 ;
13841 PyObject * obj1 = 0 ;
13842 PyObject * obj2 = 0 ;
13843 char *kwnames[] = {
13844 (char *) "self",(char *) "pos",(char *) "control", NULL
13845 };
13846
13847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ToolBarBase_InsertControl",kwnames,&obj0,&obj1,&obj2)) goto fail;
13848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13849 arg2 = (size_t) PyInt_AsLong(obj1);
13850 if (PyErr_Occurred()) SWIG_fail;
13851 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13852 {
13853 PyThreadState* __tstate = wxPyBeginAllowThreads();
13854 result = (wxToolBarToolBase *)(arg1)->InsertControl(arg2,arg3);
13855
13856 wxPyEndAllowThreads(__tstate);
13857 if (PyErr_Occurred()) SWIG_fail;
13858 }
13859 {
13860 resultobj = wxPyMake_wxObject(result);
13861 }
13862 return resultobj;
13863 fail:
13864 return NULL;
13865 }
13866
13867
13868 static PyObject *_wrap_ToolBarBase_FindControl(PyObject *self, PyObject *args, PyObject *kwargs) {
13869 PyObject *resultobj;
13870 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13871 int arg2 ;
13872 wxControl *result;
13873 PyObject * obj0 = 0 ;
13874 char *kwnames[] = {
13875 (char *) "self",(char *) "id", NULL
13876 };
13877
13878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_FindControl",kwnames,&obj0,&arg2)) goto fail;
13879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13880 {
13881 PyThreadState* __tstate = wxPyBeginAllowThreads();
13882 result = (wxControl *)(arg1)->FindControl(arg2);
13883
13884 wxPyEndAllowThreads(__tstate);
13885 if (PyErr_Occurred()) SWIG_fail;
13886 }
13887 {
13888 resultobj = wxPyMake_wxObject(result);
13889 }
13890 return resultobj;
13891 fail:
13892 return NULL;
13893 }
13894
13895
13896 static PyObject *_wrap_ToolBarBase_AddSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13897 PyObject *resultobj;
13898 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13899 wxToolBarToolBase *result;
13900 PyObject * obj0 = 0 ;
13901 char *kwnames[] = {
13902 (char *) "self", NULL
13903 };
13904
13905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_AddSeparator",kwnames,&obj0)) goto fail;
13906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13907 {
13908 PyThreadState* __tstate = wxPyBeginAllowThreads();
13909 result = (wxToolBarToolBase *)(arg1)->AddSeparator();
13910
13911 wxPyEndAllowThreads(__tstate);
13912 if (PyErr_Occurred()) SWIG_fail;
13913 }
13914 {
13915 resultobj = wxPyMake_wxObject(result);
13916 }
13917 return resultobj;
13918 fail:
13919 return NULL;
13920 }
13921
13922
13923 static PyObject *_wrap_ToolBarBase_InsertSeparator(PyObject *self, PyObject *args, PyObject *kwargs) {
13924 PyObject *resultobj;
13925 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13926 size_t arg2 ;
13927 wxToolBarToolBase *result;
13928 PyObject * obj0 = 0 ;
13929 PyObject * obj1 = 0 ;
13930 char *kwnames[] = {
13931 (char *) "self",(char *) "pos", NULL
13932 };
13933
13934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_InsertSeparator",kwnames,&obj0,&obj1)) goto fail;
13935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13936 arg2 = (size_t) PyInt_AsLong(obj1);
13937 if (PyErr_Occurred()) SWIG_fail;
13938 {
13939 PyThreadState* __tstate = wxPyBeginAllowThreads();
13940 result = (wxToolBarToolBase *)(arg1)->InsertSeparator(arg2);
13941
13942 wxPyEndAllowThreads(__tstate);
13943 if (PyErr_Occurred()) SWIG_fail;
13944 }
13945 {
13946 resultobj = wxPyMake_wxObject(result);
13947 }
13948 return resultobj;
13949 fail:
13950 return NULL;
13951 }
13952
13953
13954 static PyObject *_wrap_ToolBarBase_RemoveTool(PyObject *self, PyObject *args, PyObject *kwargs) {
13955 PyObject *resultobj;
13956 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13957 int arg2 ;
13958 wxToolBarToolBase *result;
13959 PyObject * obj0 = 0 ;
13960 char *kwnames[] = {
13961 (char *) "self",(char *) "id", NULL
13962 };
13963
13964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_RemoveTool",kwnames,&obj0,&arg2)) goto fail;
13965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13966 {
13967 PyThreadState* __tstate = wxPyBeginAllowThreads();
13968 result = (wxToolBarToolBase *)(arg1)->RemoveTool(arg2);
13969
13970 wxPyEndAllowThreads(__tstate);
13971 if (PyErr_Occurred()) SWIG_fail;
13972 }
13973 {
13974 resultobj = wxPyMake_wxObject(result);
13975 }
13976 return resultobj;
13977 fail:
13978 return NULL;
13979 }
13980
13981
13982 static PyObject *_wrap_ToolBarBase_DeleteToolByPos(PyObject *self, PyObject *args, PyObject *kwargs) {
13983 PyObject *resultobj;
13984 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
13985 size_t arg2 ;
13986 bool result;
13987 PyObject * obj0 = 0 ;
13988 PyObject * obj1 = 0 ;
13989 char *kwnames[] = {
13990 (char *) "self",(char *) "pos", NULL
13991 };
13992
13993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_DeleteToolByPos",kwnames,&obj0,&obj1)) goto fail;
13994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13995 arg2 = (size_t) PyInt_AsLong(obj1);
13996 if (PyErr_Occurred()) SWIG_fail;
13997 {
13998 PyThreadState* __tstate = wxPyBeginAllowThreads();
13999 result = (bool)(arg1)->DeleteToolByPos(arg2);
14000
14001 wxPyEndAllowThreads(__tstate);
14002 if (PyErr_Occurred()) SWIG_fail;
14003 }
14004 resultobj = PyInt_FromLong((long)result);
14005 return resultobj;
14006 fail:
14007 return NULL;
14008 }
14009
14010
14011 static PyObject *_wrap_ToolBarBase_DeleteTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14012 PyObject *resultobj;
14013 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14014 int arg2 ;
14015 bool result;
14016 PyObject * obj0 = 0 ;
14017 char *kwnames[] = {
14018 (char *) "self",(char *) "id", NULL
14019 };
14020
14021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_DeleteTool",kwnames,&obj0,&arg2)) goto fail;
14022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14023 {
14024 PyThreadState* __tstate = wxPyBeginAllowThreads();
14025 result = (bool)(arg1)->DeleteTool(arg2);
14026
14027 wxPyEndAllowThreads(__tstate);
14028 if (PyErr_Occurred()) SWIG_fail;
14029 }
14030 resultobj = PyInt_FromLong((long)result);
14031 return resultobj;
14032 fail:
14033 return NULL;
14034 }
14035
14036
14037 static PyObject *_wrap_ToolBarBase_ClearTools(PyObject *self, PyObject *args, PyObject *kwargs) {
14038 PyObject *resultobj;
14039 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14040 PyObject * obj0 = 0 ;
14041 char *kwnames[] = {
14042 (char *) "self", NULL
14043 };
14044
14045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_ClearTools",kwnames,&obj0)) goto fail;
14046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14047 {
14048 PyThreadState* __tstate = wxPyBeginAllowThreads();
14049 (arg1)->ClearTools();
14050
14051 wxPyEndAllowThreads(__tstate);
14052 if (PyErr_Occurred()) SWIG_fail;
14053 }
14054 Py_INCREF(Py_None); resultobj = Py_None;
14055 return resultobj;
14056 fail:
14057 return NULL;
14058 }
14059
14060
14061 static PyObject *_wrap_ToolBarBase_Realize(PyObject *self, PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj;
14063 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14064 bool result;
14065 PyObject * obj0 = 0 ;
14066 char *kwnames[] = {
14067 (char *) "self", NULL
14068 };
14069
14070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_Realize",kwnames,&obj0)) goto fail;
14071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14072 {
14073 PyThreadState* __tstate = wxPyBeginAllowThreads();
14074 result = (bool)(arg1)->Realize();
14075
14076 wxPyEndAllowThreads(__tstate);
14077 if (PyErr_Occurred()) SWIG_fail;
14078 }
14079 resultobj = PyInt_FromLong((long)result);
14080 return resultobj;
14081 fail:
14082 return NULL;
14083 }
14084
14085
14086 static PyObject *_wrap_ToolBarBase_EnableTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14087 PyObject *resultobj;
14088 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14089 int arg2 ;
14090 bool arg3 ;
14091 PyObject * obj0 = 0 ;
14092 PyObject * obj2 = 0 ;
14093 char *kwnames[] = {
14094 (char *) "self",(char *) "id",(char *) "enable", NULL
14095 };
14096
14097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_EnableTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14099 arg3 = PyInt_AsLong(obj2) ? true : false;
14100 if (PyErr_Occurred()) SWIG_fail;
14101 {
14102 PyThreadState* __tstate = wxPyBeginAllowThreads();
14103 (arg1)->EnableTool(arg2,arg3);
14104
14105 wxPyEndAllowThreads(__tstate);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 Py_INCREF(Py_None); resultobj = Py_None;
14109 return resultobj;
14110 fail:
14111 return NULL;
14112 }
14113
14114
14115 static PyObject *_wrap_ToolBarBase_ToggleTool(PyObject *self, PyObject *args, PyObject *kwargs) {
14116 PyObject *resultobj;
14117 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14118 int arg2 ;
14119 bool arg3 ;
14120 PyObject * obj0 = 0 ;
14121 PyObject * obj2 = 0 ;
14122 char *kwnames[] = {
14123 (char *) "self",(char *) "id",(char *) "toggle", NULL
14124 };
14125
14126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_ToggleTool",kwnames,&obj0,&arg2,&obj2)) goto fail;
14127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14128 arg3 = PyInt_AsLong(obj2) ? true : false;
14129 if (PyErr_Occurred()) SWIG_fail;
14130 {
14131 PyThreadState* __tstate = wxPyBeginAllowThreads();
14132 (arg1)->ToggleTool(arg2,arg3);
14133
14134 wxPyEndAllowThreads(__tstate);
14135 if (PyErr_Occurred()) SWIG_fail;
14136 }
14137 Py_INCREF(Py_None); resultobj = Py_None;
14138 return resultobj;
14139 fail:
14140 return NULL;
14141 }
14142
14143
14144 static PyObject *_wrap_ToolBarBase_SetToggle(PyObject *self, PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj;
14146 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14147 int arg2 ;
14148 bool arg3 ;
14149 PyObject * obj0 = 0 ;
14150 PyObject * obj2 = 0 ;
14151 char *kwnames[] = {
14152 (char *) "self",(char *) "id",(char *) "toggle", NULL
14153 };
14154
14155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToggle",kwnames,&obj0,&arg2,&obj2)) goto fail;
14156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14157 arg3 = PyInt_AsLong(obj2) ? true : false;
14158 if (PyErr_Occurred()) SWIG_fail;
14159 {
14160 PyThreadState* __tstate = wxPyBeginAllowThreads();
14161 (arg1)->SetToggle(arg2,arg3);
14162
14163 wxPyEndAllowThreads(__tstate);
14164 if (PyErr_Occurred()) SWIG_fail;
14165 }
14166 Py_INCREF(Py_None); resultobj = Py_None;
14167 return resultobj;
14168 fail:
14169 return NULL;
14170 }
14171
14172
14173 static PyObject *_wrap_ToolBarBase_GetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14174 PyObject *resultobj;
14175 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14176 int arg2 ;
14177 PyObject *result;
14178 PyObject * obj0 = 0 ;
14179 char *kwnames[] = {
14180 (char *) "self",(char *) "id", NULL
14181 };
14182
14183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolClientData",kwnames,&obj0,&arg2)) goto fail;
14184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14185 {
14186 PyThreadState* __tstate = wxPyBeginAllowThreads();
14187 result = (PyObject *)wxToolBarBase_GetToolClientData(arg1,arg2);
14188
14189 wxPyEndAllowThreads(__tstate);
14190 if (PyErr_Occurred()) SWIG_fail;
14191 }
14192 resultobj = result;
14193 return resultobj;
14194 fail:
14195 return NULL;
14196 }
14197
14198
14199 static PyObject *_wrap_ToolBarBase_SetToolClientData(PyObject *self, PyObject *args, PyObject *kwargs) {
14200 PyObject *resultobj;
14201 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14202 int arg2 ;
14203 PyObject *arg3 = (PyObject *) 0 ;
14204 PyObject * obj0 = 0 ;
14205 PyObject * obj2 = 0 ;
14206 char *kwnames[] = {
14207 (char *) "self",(char *) "id",(char *) "clientData", NULL
14208 };
14209
14210 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolClientData",kwnames,&obj0,&arg2,&obj2)) goto fail;
14211 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14212 arg3 = obj2;
14213 {
14214 PyThreadState* __tstate = wxPyBeginAllowThreads();
14215 wxToolBarBase_SetToolClientData(arg1,arg2,arg3);
14216
14217 wxPyEndAllowThreads(__tstate);
14218 if (PyErr_Occurred()) SWIG_fail;
14219 }
14220 Py_INCREF(Py_None); resultobj = Py_None;
14221 return resultobj;
14222 fail:
14223 return NULL;
14224 }
14225
14226
14227 static PyObject *_wrap_ToolBarBase_GetToolPos(PyObject *self, PyObject *args, PyObject *kwargs) {
14228 PyObject *resultobj;
14229 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14230 int arg2 ;
14231 int result;
14232 PyObject * obj0 = 0 ;
14233 char *kwnames[] = {
14234 (char *) "self",(char *) "id", NULL
14235 };
14236
14237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolPos",kwnames,&obj0,&arg2)) goto fail;
14238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14239 {
14240 PyThreadState* __tstate = wxPyBeginAllowThreads();
14241 result = (int)((wxToolBarBase const *)arg1)->GetToolPos(arg2);
14242
14243 wxPyEndAllowThreads(__tstate);
14244 if (PyErr_Occurred()) SWIG_fail;
14245 }
14246 resultobj = PyInt_FromLong((long)result);
14247 return resultobj;
14248 fail:
14249 return NULL;
14250 }
14251
14252
14253 static PyObject *_wrap_ToolBarBase_GetToolState(PyObject *self, PyObject *args, PyObject *kwargs) {
14254 PyObject *resultobj;
14255 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14256 int arg2 ;
14257 bool result;
14258 PyObject * obj0 = 0 ;
14259 char *kwnames[] = {
14260 (char *) "self",(char *) "id", NULL
14261 };
14262
14263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolState",kwnames,&obj0,&arg2)) goto fail;
14264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14265 {
14266 PyThreadState* __tstate = wxPyBeginAllowThreads();
14267 result = (bool)(arg1)->GetToolState(arg2);
14268
14269 wxPyEndAllowThreads(__tstate);
14270 if (PyErr_Occurred()) SWIG_fail;
14271 }
14272 resultobj = PyInt_FromLong((long)result);
14273 return resultobj;
14274 fail:
14275 return NULL;
14276 }
14277
14278
14279 static PyObject *_wrap_ToolBarBase_GetToolEnabled(PyObject *self, PyObject *args, PyObject *kwargs) {
14280 PyObject *resultobj;
14281 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14282 int arg2 ;
14283 bool result;
14284 PyObject * obj0 = 0 ;
14285 char *kwnames[] = {
14286 (char *) "self",(char *) "id", NULL
14287 };
14288
14289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolEnabled",kwnames,&obj0,&arg2)) goto fail;
14290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14291 {
14292 PyThreadState* __tstate = wxPyBeginAllowThreads();
14293 result = (bool)(arg1)->GetToolEnabled(arg2);
14294
14295 wxPyEndAllowThreads(__tstate);
14296 if (PyErr_Occurred()) SWIG_fail;
14297 }
14298 resultobj = PyInt_FromLong((long)result);
14299 return resultobj;
14300 fail:
14301 return NULL;
14302 }
14303
14304
14305 static PyObject *_wrap_ToolBarBase_SetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14306 PyObject *resultobj;
14307 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14308 int arg2 ;
14309 wxString *arg3 = 0 ;
14310 bool temp3 = False ;
14311 PyObject * obj0 = 0 ;
14312 PyObject * obj2 = 0 ;
14313 char *kwnames[] = {
14314 (char *) "self",(char *) "id",(char *) "helpString", NULL
14315 };
14316
14317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolShortHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14319 {
14320 arg3 = wxString_in_helper(obj2);
14321 if (arg3 == NULL) SWIG_fail;
14322 temp3 = True;
14323 }
14324 {
14325 PyThreadState* __tstate = wxPyBeginAllowThreads();
14326 (arg1)->SetToolShortHelp(arg2,(wxString const &)*arg3);
14327
14328 wxPyEndAllowThreads(__tstate);
14329 if (PyErr_Occurred()) SWIG_fail;
14330 }
14331 Py_INCREF(Py_None); resultobj = Py_None;
14332 {
14333 if (temp3)
14334 delete arg3;
14335 }
14336 return resultobj;
14337 fail:
14338 {
14339 if (temp3)
14340 delete arg3;
14341 }
14342 return NULL;
14343 }
14344
14345
14346 static PyObject *_wrap_ToolBarBase_GetToolShortHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14347 PyObject *resultobj;
14348 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14349 int arg2 ;
14350 wxString result;
14351 PyObject * obj0 = 0 ;
14352 char *kwnames[] = {
14353 (char *) "self",(char *) "id", NULL
14354 };
14355
14356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolShortHelp",kwnames,&obj0,&arg2)) goto fail;
14357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14358 {
14359 PyThreadState* __tstate = wxPyBeginAllowThreads();
14360 result = (arg1)->GetToolShortHelp(arg2);
14361
14362 wxPyEndAllowThreads(__tstate);
14363 if (PyErr_Occurred()) SWIG_fail;
14364 }
14365 {
14366 #if wxUSE_UNICODE
14367 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14368 #else
14369 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14370 #endif
14371 }
14372 return resultobj;
14373 fail:
14374 return NULL;
14375 }
14376
14377
14378 static PyObject *_wrap_ToolBarBase_SetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14379 PyObject *resultobj;
14380 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14381 int arg2 ;
14382 wxString *arg3 = 0 ;
14383 bool temp3 = False ;
14384 PyObject * obj0 = 0 ;
14385 PyObject * obj2 = 0 ;
14386 char *kwnames[] = {
14387 (char *) "self",(char *) "id",(char *) "helpString", NULL
14388 };
14389
14390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ToolBarBase_SetToolLongHelp",kwnames,&obj0,&arg2,&obj2)) goto fail;
14391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14392 {
14393 arg3 = wxString_in_helper(obj2);
14394 if (arg3 == NULL) SWIG_fail;
14395 temp3 = True;
14396 }
14397 {
14398 PyThreadState* __tstate = wxPyBeginAllowThreads();
14399 (arg1)->SetToolLongHelp(arg2,(wxString const &)*arg3);
14400
14401 wxPyEndAllowThreads(__tstate);
14402 if (PyErr_Occurred()) SWIG_fail;
14403 }
14404 Py_INCREF(Py_None); resultobj = Py_None;
14405 {
14406 if (temp3)
14407 delete arg3;
14408 }
14409 return resultobj;
14410 fail:
14411 {
14412 if (temp3)
14413 delete arg3;
14414 }
14415 return NULL;
14416 }
14417
14418
14419 static PyObject *_wrap_ToolBarBase_GetToolLongHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
14420 PyObject *resultobj;
14421 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14422 int arg2 ;
14423 wxString result;
14424 PyObject * obj0 = 0 ;
14425 char *kwnames[] = {
14426 (char *) "self",(char *) "id", NULL
14427 };
14428
14429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_GetToolLongHelp",kwnames,&obj0,&arg2)) goto fail;
14430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14431 {
14432 PyThreadState* __tstate = wxPyBeginAllowThreads();
14433 result = (arg1)->GetToolLongHelp(arg2);
14434
14435 wxPyEndAllowThreads(__tstate);
14436 if (PyErr_Occurred()) SWIG_fail;
14437 }
14438 {
14439 #if wxUSE_UNICODE
14440 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
14441 #else
14442 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
14443 #endif
14444 }
14445 return resultobj;
14446 fail:
14447 return NULL;
14448 }
14449
14450
14451 static PyObject *_wrap_ToolBarBase_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
14452 PyObject *resultobj;
14453 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14454 int arg2 ;
14455 int arg3 ;
14456 PyObject * obj0 = 0 ;
14457 char *kwnames[] = {
14458 (char *) "self",(char *) "x",(char *) "y", NULL
14459 };
14460
14461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
14462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14463 {
14464 PyThreadState* __tstate = wxPyBeginAllowThreads();
14465 (arg1)->SetMargins(arg2,arg3);
14466
14467 wxPyEndAllowThreads(__tstate);
14468 if (PyErr_Occurred()) SWIG_fail;
14469 }
14470 Py_INCREF(Py_None); resultobj = Py_None;
14471 return resultobj;
14472 fail:
14473 return NULL;
14474 }
14475
14476
14477 static PyObject *_wrap_ToolBarBase_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14478 PyObject *resultobj;
14479 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14480 wxSize *arg2 = 0 ;
14481 wxSize temp2 ;
14482 PyObject * obj0 = 0 ;
14483 PyObject * obj1 = 0 ;
14484 char *kwnames[] = {
14485 (char *) "self",(char *) "size", NULL
14486 };
14487
14488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetMargins",kwnames,&obj0,&obj1)) goto fail;
14489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14490 {
14491 arg2 = &temp2;
14492 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14493 }
14494 {
14495 PyThreadState* __tstate = wxPyBeginAllowThreads();
14496 (arg1)->SetMargins((wxSize const &)*arg2);
14497
14498 wxPyEndAllowThreads(__tstate);
14499 if (PyErr_Occurred()) SWIG_fail;
14500 }
14501 Py_INCREF(Py_None); resultobj = Py_None;
14502 return resultobj;
14503 fail:
14504 return NULL;
14505 }
14506
14507
14508 static PyObject *_wrap_ToolBarBase_SetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14509 PyObject *resultobj;
14510 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14511 int arg2 ;
14512 PyObject * obj0 = 0 ;
14513 char *kwnames[] = {
14514 (char *) "self",(char *) "packing", NULL
14515 };
14516
14517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolPacking",kwnames,&obj0,&arg2)) goto fail;
14518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14519 {
14520 PyThreadState* __tstate = wxPyBeginAllowThreads();
14521 (arg1)->SetToolPacking(arg2);
14522
14523 wxPyEndAllowThreads(__tstate);
14524 if (PyErr_Occurred()) SWIG_fail;
14525 }
14526 Py_INCREF(Py_None); resultobj = Py_None;
14527 return resultobj;
14528 fail:
14529 return NULL;
14530 }
14531
14532
14533 static PyObject *_wrap_ToolBarBase_SetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14534 PyObject *resultobj;
14535 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14536 int arg2 ;
14537 PyObject * obj0 = 0 ;
14538 char *kwnames[] = {
14539 (char *) "self",(char *) "separation", NULL
14540 };
14541
14542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetToolSeparation",kwnames,&obj0,&arg2)) goto fail;
14543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14544 {
14545 PyThreadState* __tstate = wxPyBeginAllowThreads();
14546 (arg1)->SetToolSeparation(arg2);
14547
14548 wxPyEndAllowThreads(__tstate);
14549 if (PyErr_Occurred()) SWIG_fail;
14550 }
14551 Py_INCREF(Py_None); resultobj = Py_None;
14552 return resultobj;
14553 fail:
14554 return NULL;
14555 }
14556
14557
14558 static PyObject *_wrap_ToolBarBase_GetToolMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14559 PyObject *resultobj;
14560 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14561 wxSize result;
14562 PyObject * obj0 = 0 ;
14563 char *kwnames[] = {
14564 (char *) "self", NULL
14565 };
14566
14567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolMargins",kwnames,&obj0)) goto fail;
14568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14569 {
14570 PyThreadState* __tstate = wxPyBeginAllowThreads();
14571 result = (arg1)->GetToolMargins();
14572
14573 wxPyEndAllowThreads(__tstate);
14574 if (PyErr_Occurred()) SWIG_fail;
14575 }
14576 {
14577 wxSize * resultptr;
14578 resultptr = new wxSize((wxSize &) result);
14579 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14580 }
14581 return resultobj;
14582 fail:
14583 return NULL;
14584 }
14585
14586
14587 static PyObject *_wrap_ToolBarBase_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
14588 PyObject *resultobj;
14589 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14590 wxSize result;
14591 PyObject * obj0 = 0 ;
14592 char *kwnames[] = {
14593 (char *) "self", NULL
14594 };
14595
14596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMargins",kwnames,&obj0)) goto fail;
14597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14598 {
14599 PyThreadState* __tstate = wxPyBeginAllowThreads();
14600 result = (arg1)->GetMargins();
14601
14602 wxPyEndAllowThreads(__tstate);
14603 if (PyErr_Occurred()) SWIG_fail;
14604 }
14605 {
14606 wxSize * resultptr;
14607 resultptr = new wxSize((wxSize &) result);
14608 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14609 }
14610 return resultobj;
14611 fail:
14612 return NULL;
14613 }
14614
14615
14616 static PyObject *_wrap_ToolBarBase_GetToolPacking(PyObject *self, PyObject *args, PyObject *kwargs) {
14617 PyObject *resultobj;
14618 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14619 int result;
14620 PyObject * obj0 = 0 ;
14621 char *kwnames[] = {
14622 (char *) "self", NULL
14623 };
14624
14625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolPacking",kwnames,&obj0)) goto fail;
14626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14627 {
14628 PyThreadState* __tstate = wxPyBeginAllowThreads();
14629 result = (int)(arg1)->GetToolPacking();
14630
14631 wxPyEndAllowThreads(__tstate);
14632 if (PyErr_Occurred()) SWIG_fail;
14633 }
14634 resultobj = PyInt_FromLong((long)result);
14635 return resultobj;
14636 fail:
14637 return NULL;
14638 }
14639
14640
14641 static PyObject *_wrap_ToolBarBase_GetToolSeparation(PyObject *self, PyObject *args, PyObject *kwargs) {
14642 PyObject *resultobj;
14643 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14644 int result;
14645 PyObject * obj0 = 0 ;
14646 char *kwnames[] = {
14647 (char *) "self", NULL
14648 };
14649
14650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSeparation",kwnames,&obj0)) goto fail;
14651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14652 {
14653 PyThreadState* __tstate = wxPyBeginAllowThreads();
14654 result = (int)(arg1)->GetToolSeparation();
14655
14656 wxPyEndAllowThreads(__tstate);
14657 if (PyErr_Occurred()) SWIG_fail;
14658 }
14659 resultobj = PyInt_FromLong((long)result);
14660 return resultobj;
14661 fail:
14662 return NULL;
14663 }
14664
14665
14666 static PyObject *_wrap_ToolBarBase_SetRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14667 PyObject *resultobj;
14668 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14669 int arg2 ;
14670 PyObject * obj0 = 0 ;
14671 char *kwnames[] = {
14672 (char *) "self",(char *) "nRows", NULL
14673 };
14674
14675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ToolBarBase_SetRows",kwnames,&obj0,&arg2)) goto fail;
14676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14677 {
14678 PyThreadState* __tstate = wxPyBeginAllowThreads();
14679 (arg1)->SetRows(arg2);
14680
14681 wxPyEndAllowThreads(__tstate);
14682 if (PyErr_Occurred()) SWIG_fail;
14683 }
14684 Py_INCREF(Py_None); resultobj = Py_None;
14685 return resultobj;
14686 fail:
14687 return NULL;
14688 }
14689
14690
14691 static PyObject *_wrap_ToolBarBase_SetMaxRowsCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14692 PyObject *resultobj;
14693 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14694 int arg2 ;
14695 int arg3 ;
14696 PyObject * obj0 = 0 ;
14697 char *kwnames[] = {
14698 (char *) "self",(char *) "rows",(char *) "cols", NULL
14699 };
14700
14701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_SetMaxRowsCols",kwnames,&obj0,&arg2,&arg3)) goto fail;
14702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14703 {
14704 PyThreadState* __tstate = wxPyBeginAllowThreads();
14705 (arg1)->SetMaxRowsCols(arg2,arg3);
14706
14707 wxPyEndAllowThreads(__tstate);
14708 if (PyErr_Occurred()) SWIG_fail;
14709 }
14710 Py_INCREF(Py_None); resultobj = Py_None;
14711 return resultobj;
14712 fail:
14713 return NULL;
14714 }
14715
14716
14717 static PyObject *_wrap_ToolBarBase_GetMaxRows(PyObject *self, PyObject *args, PyObject *kwargs) {
14718 PyObject *resultobj;
14719 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14720 int result;
14721 PyObject * obj0 = 0 ;
14722 char *kwnames[] = {
14723 (char *) "self", NULL
14724 };
14725
14726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxRows",kwnames,&obj0)) goto fail;
14727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14728 {
14729 PyThreadState* __tstate = wxPyBeginAllowThreads();
14730 result = (int)(arg1)->GetMaxRows();
14731
14732 wxPyEndAllowThreads(__tstate);
14733 if (PyErr_Occurred()) SWIG_fail;
14734 }
14735 resultobj = PyInt_FromLong((long)result);
14736 return resultobj;
14737 fail:
14738 return NULL;
14739 }
14740
14741
14742 static PyObject *_wrap_ToolBarBase_GetMaxCols(PyObject *self, PyObject *args, PyObject *kwargs) {
14743 PyObject *resultobj;
14744 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14745 int result;
14746 PyObject * obj0 = 0 ;
14747 char *kwnames[] = {
14748 (char *) "self", NULL
14749 };
14750
14751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetMaxCols",kwnames,&obj0)) goto fail;
14752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14753 {
14754 PyThreadState* __tstate = wxPyBeginAllowThreads();
14755 result = (int)(arg1)->GetMaxCols();
14756
14757 wxPyEndAllowThreads(__tstate);
14758 if (PyErr_Occurred()) SWIG_fail;
14759 }
14760 resultobj = PyInt_FromLong((long)result);
14761 return resultobj;
14762 fail:
14763 return NULL;
14764 }
14765
14766
14767 static PyObject *_wrap_ToolBarBase_SetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14768 PyObject *resultobj;
14769 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14770 wxSize *arg2 = 0 ;
14771 wxSize temp2 ;
14772 PyObject * obj0 = 0 ;
14773 PyObject * obj1 = 0 ;
14774 char *kwnames[] = {
14775 (char *) "self",(char *) "size", NULL
14776 };
14777
14778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ToolBarBase_SetToolBitmapSize",kwnames,&obj0,&obj1)) goto fail;
14779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14780 {
14781 arg2 = &temp2;
14782 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
14783 }
14784 {
14785 PyThreadState* __tstate = wxPyBeginAllowThreads();
14786 (arg1)->SetToolBitmapSize((wxSize const &)*arg2);
14787
14788 wxPyEndAllowThreads(__tstate);
14789 if (PyErr_Occurred()) SWIG_fail;
14790 }
14791 Py_INCREF(Py_None); resultobj = Py_None;
14792 return resultobj;
14793 fail:
14794 return NULL;
14795 }
14796
14797
14798 static PyObject *_wrap_ToolBarBase_GetToolBitmapSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14799 PyObject *resultobj;
14800 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14801 wxSize result;
14802 PyObject * obj0 = 0 ;
14803 char *kwnames[] = {
14804 (char *) "self", NULL
14805 };
14806
14807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolBitmapSize",kwnames,&obj0)) goto fail;
14808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14809 {
14810 PyThreadState* __tstate = wxPyBeginAllowThreads();
14811 result = (arg1)->GetToolBitmapSize();
14812
14813 wxPyEndAllowThreads(__tstate);
14814 if (PyErr_Occurred()) SWIG_fail;
14815 }
14816 {
14817 wxSize * resultptr;
14818 resultptr = new wxSize((wxSize &) result);
14819 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14820 }
14821 return resultobj;
14822 fail:
14823 return NULL;
14824 }
14825
14826
14827 static PyObject *_wrap_ToolBarBase_GetToolSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14828 PyObject *resultobj;
14829 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14830 wxSize result;
14831 PyObject * obj0 = 0 ;
14832 char *kwnames[] = {
14833 (char *) "self", NULL
14834 };
14835
14836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_GetToolSize",kwnames,&obj0)) goto fail;
14837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14838 {
14839 PyThreadState* __tstate = wxPyBeginAllowThreads();
14840 result = (arg1)->GetToolSize();
14841
14842 wxPyEndAllowThreads(__tstate);
14843 if (PyErr_Occurred()) SWIG_fail;
14844 }
14845 {
14846 wxSize * resultptr;
14847 resultptr = new wxSize((wxSize &) result);
14848 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14849 }
14850 return resultobj;
14851 fail:
14852 return NULL;
14853 }
14854
14855
14856 static PyObject *_wrap_ToolBarBase_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14857 PyObject *resultobj;
14858 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14859 int arg2 ;
14860 int arg3 ;
14861 wxToolBarToolBase *result;
14862 PyObject * obj0 = 0 ;
14863 char *kwnames[] = {
14864 (char *) "self",(char *) "x",(char *) "y", NULL
14865 };
14866
14867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBarBase_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
14868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14869 {
14870 PyThreadState* __tstate = wxPyBeginAllowThreads();
14871 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
14872
14873 wxPyEndAllowThreads(__tstate);
14874 if (PyErr_Occurred()) SWIG_fail;
14875 }
14876 {
14877 resultobj = wxPyMake_wxObject(result);
14878 }
14879 return resultobj;
14880 fail:
14881 return NULL;
14882 }
14883
14884
14885 static PyObject *_wrap_ToolBarBase_IsVertical(PyObject *self, PyObject *args, PyObject *kwargs) {
14886 PyObject *resultobj;
14887 wxToolBarBase *arg1 = (wxToolBarBase *) 0 ;
14888 bool result;
14889 PyObject * obj0 = 0 ;
14890 char *kwnames[] = {
14891 (char *) "self", NULL
14892 };
14893
14894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ToolBarBase_IsVertical",kwnames,&obj0)) goto fail;
14895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBarBase,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14896 {
14897 PyThreadState* __tstate = wxPyBeginAllowThreads();
14898 result = (bool)(arg1)->IsVertical();
14899
14900 wxPyEndAllowThreads(__tstate);
14901 if (PyErr_Occurred()) SWIG_fail;
14902 }
14903 resultobj = PyInt_FromLong((long)result);
14904 return resultobj;
14905 fail:
14906 return NULL;
14907 }
14908
14909
14910 static PyObject * ToolBarBase_swigregister(PyObject *self, PyObject *args) {
14911 PyObject *obj;
14912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14913 SWIG_TypeClientData(SWIGTYPE_p_wxToolBarBase, obj);
14914 Py_INCREF(obj);
14915 return Py_BuildValue((char *)"");
14916 }
14917 static PyObject *_wrap_new_ToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14918 PyObject *resultobj;
14919 wxWindow *arg1 = (wxWindow *) 0 ;
14920 int arg2 ;
14921 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14922 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14923 wxSize const &arg4_defvalue = wxDefaultSize ;
14924 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14925 long arg5 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
14926 wxString const &arg6_defvalue = wxPyToolBarNameStr ;
14927 wxString *arg6 = (wxString *) &arg6_defvalue ;
14928 wxToolBar *result;
14929 wxPoint temp3 ;
14930 wxSize temp4 ;
14931 bool temp6 = False ;
14932 PyObject * obj0 = 0 ;
14933 PyObject * obj2 = 0 ;
14934 PyObject * obj3 = 0 ;
14935 PyObject * obj5 = 0 ;
14936 char *kwnames[] = {
14937 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14938 };
14939
14940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_ToolBar",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14942 if (obj2) {
14943 {
14944 arg3 = &temp3;
14945 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14946 }
14947 }
14948 if (obj3) {
14949 {
14950 arg4 = &temp4;
14951 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14952 }
14953 }
14954 if (obj5) {
14955 {
14956 arg6 = wxString_in_helper(obj5);
14957 if (arg6 == NULL) SWIG_fail;
14958 temp6 = True;
14959 }
14960 }
14961 {
14962 PyThreadState* __tstate = wxPyBeginAllowThreads();
14963 result = (wxToolBar *)new wxToolBar(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14964
14965 wxPyEndAllowThreads(__tstate);
14966 if (PyErr_Occurred()) SWIG_fail;
14967 }
14968 {
14969 resultobj = wxPyMake_wxObject(result);
14970 }
14971 {
14972 if (temp6)
14973 delete arg6;
14974 }
14975 return resultobj;
14976 fail:
14977 {
14978 if (temp6)
14979 delete arg6;
14980 }
14981 return NULL;
14982 }
14983
14984
14985 static PyObject *_wrap_new_PreToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14986 PyObject *resultobj;
14987 wxToolBar *result;
14988 char *kwnames[] = {
14989 NULL
14990 };
14991
14992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreToolBar",kwnames)) goto fail;
14993 {
14994 PyThreadState* __tstate = wxPyBeginAllowThreads();
14995 result = (wxToolBar *)new wxToolBar();
14996
14997 wxPyEndAllowThreads(__tstate);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 }
15000 {
15001 resultobj = wxPyMake_wxObject(result);
15002 }
15003 return resultobj;
15004 fail:
15005 return NULL;
15006 }
15007
15008
15009 static PyObject *_wrap_ToolBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
15010 PyObject *resultobj;
15011 wxToolBar *arg1 = (wxToolBar *) 0 ;
15012 wxWindow *arg2 = (wxWindow *) 0 ;
15013 int arg3 ;
15014 wxPoint const &arg4_defvalue = wxDefaultPosition ;
15015 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
15016 wxSize const &arg5_defvalue = wxDefaultSize ;
15017 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
15018 long arg6 = (long) wxNO_BORDER|wxTB_HORIZONTAL ;
15019 wxString const &arg7_defvalue = wxPyToolBarNameStr ;
15020 wxString *arg7 = (wxString *) &arg7_defvalue ;
15021 bool result;
15022 wxPoint temp4 ;
15023 wxSize temp5 ;
15024 bool temp7 = False ;
15025 PyObject * obj0 = 0 ;
15026 PyObject * obj1 = 0 ;
15027 PyObject * obj3 = 0 ;
15028 PyObject * obj4 = 0 ;
15029 PyObject * obj6 = 0 ;
15030 char *kwnames[] = {
15031 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15032 };
15033
15034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:ToolBar_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
15035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15036 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15037 if (obj3) {
15038 {
15039 arg4 = &temp4;
15040 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
15041 }
15042 }
15043 if (obj4) {
15044 {
15045 arg5 = &temp5;
15046 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
15047 }
15048 }
15049 if (obj6) {
15050 {
15051 arg7 = wxString_in_helper(obj6);
15052 if (arg7 == NULL) SWIG_fail;
15053 temp7 = True;
15054 }
15055 }
15056 {
15057 PyThreadState* __tstate = wxPyBeginAllowThreads();
15058 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
15059
15060 wxPyEndAllowThreads(__tstate);
15061 if (PyErr_Occurred()) SWIG_fail;
15062 }
15063 resultobj = PyInt_FromLong((long)result);
15064 {
15065 if (temp7)
15066 delete arg7;
15067 }
15068 return resultobj;
15069 fail:
15070 {
15071 if (temp7)
15072 delete arg7;
15073 }
15074 return NULL;
15075 }
15076
15077
15078 static PyObject *_wrap_ToolBar_FindToolForPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15079 PyObject *resultobj;
15080 wxToolBar *arg1 = (wxToolBar *) 0 ;
15081 int arg2 ;
15082 int arg3 ;
15083 wxToolBarToolBase *result;
15084 PyObject * obj0 = 0 ;
15085 char *kwnames[] = {
15086 (char *) "self",(char *) "x",(char *) "y", NULL
15087 };
15088
15089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ToolBar_FindToolForPosition",kwnames,&obj0,&arg2,&arg3)) goto fail;
15090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15091 {
15092 PyThreadState* __tstate = wxPyBeginAllowThreads();
15093 result = (wxToolBarToolBase *)(arg1)->FindToolForPosition(arg2,arg3);
15094
15095 wxPyEndAllowThreads(__tstate);
15096 if (PyErr_Occurred()) SWIG_fail;
15097 }
15098 {
15099 resultobj = wxPyMake_wxObject(result);
15100 }
15101 return resultobj;
15102 fail:
15103 return NULL;
15104 }
15105
15106
15107 static PyObject * ToolBar_swigregister(PyObject *self, PyObject *args) {
15108 PyObject *obj;
15109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15110 SWIG_TypeClientData(SWIGTYPE_p_wxToolBar, obj);
15111 Py_INCREF(obj);
15112 return Py_BuildValue((char *)"");
15113 }
15114 static PyObject *_wrap_new_ListItemAttr(PyObject *self, PyObject *args, PyObject *kwargs) {
15115 PyObject *resultobj;
15116 wxColour const &arg1_defvalue = wxNullColour ;
15117 wxColour *arg1 = (wxColour *) &arg1_defvalue ;
15118 wxColour const &arg2_defvalue = wxNullColour ;
15119 wxColour *arg2 = (wxColour *) &arg2_defvalue ;
15120 wxFont const &arg3_defvalue = wxNullFont ;
15121 wxFont *arg3 = (wxFont *) &arg3_defvalue ;
15122 wxListItemAttr *result;
15123 wxColour temp1 ;
15124 wxColour temp2 ;
15125 PyObject * obj0 = 0 ;
15126 PyObject * obj1 = 0 ;
15127 PyObject * obj2 = 0 ;
15128 char *kwnames[] = {
15129 (char *) "colText",(char *) "colBack",(char *) "font", NULL
15130 };
15131
15132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OOO:new_ListItemAttr",kwnames,&obj0,&obj1,&obj2)) goto fail;
15133 if (obj0) {
15134 {
15135 arg1 = &temp1;
15136 if ( ! wxColour_helper(obj0, &arg1)) SWIG_fail;
15137 }
15138 }
15139 if (obj1) {
15140 {
15141 arg2 = &temp2;
15142 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15143 }
15144 }
15145 if (obj2) {
15146 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15147 if (arg3 == NULL) {
15148 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15149 }
15150 }
15151 {
15152 PyThreadState* __tstate = wxPyBeginAllowThreads();
15153 result = (wxListItemAttr *)new wxListItemAttr((wxColour const &)*arg1,(wxColour const &)*arg2,(wxFont const &)*arg3);
15154
15155 wxPyEndAllowThreads(__tstate);
15156 if (PyErr_Occurred()) SWIG_fail;
15157 }
15158 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 1);
15159 return resultobj;
15160 fail:
15161 return NULL;
15162 }
15163
15164
15165 static PyObject *_wrap_ListItemAttr_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15166 PyObject *resultobj;
15167 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15168 wxColour *arg2 = 0 ;
15169 wxColour temp2 ;
15170 PyObject * obj0 = 0 ;
15171 PyObject * obj1 = 0 ;
15172 char *kwnames[] = {
15173 (char *) "self",(char *) "colText", NULL
15174 };
15175
15176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15178 {
15179 arg2 = &temp2;
15180 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15181 }
15182 {
15183 PyThreadState* __tstate = wxPyBeginAllowThreads();
15184 (arg1)->SetTextColour((wxColour const &)*arg2);
15185
15186 wxPyEndAllowThreads(__tstate);
15187 if (PyErr_Occurred()) SWIG_fail;
15188 }
15189 Py_INCREF(Py_None); resultobj = Py_None;
15190 return resultobj;
15191 fail:
15192 return NULL;
15193 }
15194
15195
15196 static PyObject *_wrap_ListItemAttr_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15197 PyObject *resultobj;
15198 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15199 wxColour *arg2 = 0 ;
15200 wxColour temp2 ;
15201 PyObject * obj0 = 0 ;
15202 PyObject * obj1 = 0 ;
15203 char *kwnames[] = {
15204 (char *) "self",(char *) "colBack", NULL
15205 };
15206
15207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15209 {
15210 arg2 = &temp2;
15211 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15212 }
15213 {
15214 PyThreadState* __tstate = wxPyBeginAllowThreads();
15215 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15216
15217 wxPyEndAllowThreads(__tstate);
15218 if (PyErr_Occurred()) SWIG_fail;
15219 }
15220 Py_INCREF(Py_None); resultobj = Py_None;
15221 return resultobj;
15222 fail:
15223 return NULL;
15224 }
15225
15226
15227 static PyObject *_wrap_ListItemAttr_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15228 PyObject *resultobj;
15229 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15230 wxFont *arg2 = 0 ;
15231 PyObject * obj0 = 0 ;
15232 PyObject * obj1 = 0 ;
15233 char *kwnames[] = {
15234 (char *) "self",(char *) "font", NULL
15235 };
15236
15237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItemAttr_SetFont",kwnames,&obj0,&obj1)) goto fail;
15238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15239 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15240 if (arg2 == NULL) {
15241 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15242 }
15243 {
15244 PyThreadState* __tstate = wxPyBeginAllowThreads();
15245 (arg1)->SetFont((wxFont const &)*arg2);
15246
15247 wxPyEndAllowThreads(__tstate);
15248 if (PyErr_Occurred()) SWIG_fail;
15249 }
15250 Py_INCREF(Py_None); resultobj = Py_None;
15251 return resultobj;
15252 fail:
15253 return NULL;
15254 }
15255
15256
15257 static PyObject *_wrap_ListItemAttr_HasTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15258 PyObject *resultobj;
15259 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15260 bool result;
15261 PyObject * obj0 = 0 ;
15262 char *kwnames[] = {
15263 (char *) "self", NULL
15264 };
15265
15266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasTextColour",kwnames,&obj0)) goto fail;
15267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15268 {
15269 PyThreadState* __tstate = wxPyBeginAllowThreads();
15270 result = (bool)(arg1)->HasTextColour();
15271
15272 wxPyEndAllowThreads(__tstate);
15273 if (PyErr_Occurred()) SWIG_fail;
15274 }
15275 resultobj = PyInt_FromLong((long)result);
15276 return resultobj;
15277 fail:
15278 return NULL;
15279 }
15280
15281
15282 static PyObject *_wrap_ListItemAttr_HasBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15283 PyObject *resultobj;
15284 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15285 bool result;
15286 PyObject * obj0 = 0 ;
15287 char *kwnames[] = {
15288 (char *) "self", NULL
15289 };
15290
15291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasBackgroundColour",kwnames,&obj0)) goto fail;
15292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15293 {
15294 PyThreadState* __tstate = wxPyBeginAllowThreads();
15295 result = (bool)(arg1)->HasBackgroundColour();
15296
15297 wxPyEndAllowThreads(__tstate);
15298 if (PyErr_Occurred()) SWIG_fail;
15299 }
15300 resultobj = PyInt_FromLong((long)result);
15301 return resultobj;
15302 fail:
15303 return NULL;
15304 }
15305
15306
15307 static PyObject *_wrap_ListItemAttr_HasFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15308 PyObject *resultobj;
15309 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15310 bool result;
15311 PyObject * obj0 = 0 ;
15312 char *kwnames[] = {
15313 (char *) "self", NULL
15314 };
15315
15316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_HasFont",kwnames,&obj0)) goto fail;
15317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15318 {
15319 PyThreadState* __tstate = wxPyBeginAllowThreads();
15320 result = (bool)(arg1)->HasFont();
15321
15322 wxPyEndAllowThreads(__tstate);
15323 if (PyErr_Occurred()) SWIG_fail;
15324 }
15325 resultobj = PyInt_FromLong((long)result);
15326 return resultobj;
15327 fail:
15328 return NULL;
15329 }
15330
15331
15332 static PyObject *_wrap_ListItemAttr_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15333 PyObject *resultobj;
15334 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15335 wxColour result;
15336 PyObject * obj0 = 0 ;
15337 char *kwnames[] = {
15338 (char *) "self", NULL
15339 };
15340
15341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetTextColour",kwnames,&obj0)) goto fail;
15342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15343 {
15344 PyThreadState* __tstate = wxPyBeginAllowThreads();
15345 result = (arg1)->GetTextColour();
15346
15347 wxPyEndAllowThreads(__tstate);
15348 if (PyErr_Occurred()) SWIG_fail;
15349 }
15350 {
15351 wxColour * resultptr;
15352 resultptr = new wxColour((wxColour &) result);
15353 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15354 }
15355 return resultobj;
15356 fail:
15357 return NULL;
15358 }
15359
15360
15361 static PyObject *_wrap_ListItemAttr_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15362 PyObject *resultobj;
15363 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15364 wxColour result;
15365 PyObject * obj0 = 0 ;
15366 char *kwnames[] = {
15367 (char *) "self", NULL
15368 };
15369
15370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetBackgroundColour",kwnames,&obj0)) goto fail;
15371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15372 {
15373 PyThreadState* __tstate = wxPyBeginAllowThreads();
15374 result = (arg1)->GetBackgroundColour();
15375
15376 wxPyEndAllowThreads(__tstate);
15377 if (PyErr_Occurred()) SWIG_fail;
15378 }
15379 {
15380 wxColour * resultptr;
15381 resultptr = new wxColour((wxColour &) result);
15382 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
15383 }
15384 return resultobj;
15385 fail:
15386 return NULL;
15387 }
15388
15389
15390 static PyObject *_wrap_ListItemAttr_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15391 PyObject *resultobj;
15392 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15393 wxFont result;
15394 PyObject * obj0 = 0 ;
15395 char *kwnames[] = {
15396 (char *) "self", NULL
15397 };
15398
15399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_GetFont",kwnames,&obj0)) goto fail;
15400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15401 {
15402 PyThreadState* __tstate = wxPyBeginAllowThreads();
15403 result = (arg1)->GetFont();
15404
15405 wxPyEndAllowThreads(__tstate);
15406 if (PyErr_Occurred()) SWIG_fail;
15407 }
15408 {
15409 wxFont * resultptr;
15410 resultptr = new wxFont((wxFont &) result);
15411 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
15412 }
15413 return resultobj;
15414 fail:
15415 return NULL;
15416 }
15417
15418
15419 static PyObject *_wrap_ListItemAttr_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
15420 PyObject *resultobj;
15421 wxListItemAttr *arg1 = (wxListItemAttr *) 0 ;
15422 PyObject * obj0 = 0 ;
15423 char *kwnames[] = {
15424 (char *) "self", NULL
15425 };
15426
15427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItemAttr_Destroy",kwnames,&obj0)) goto fail;
15428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItemAttr,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15429 {
15430 PyThreadState* __tstate = wxPyBeginAllowThreads();
15431 wxListItemAttr_Destroy(arg1);
15432
15433 wxPyEndAllowThreads(__tstate);
15434 if (PyErr_Occurred()) SWIG_fail;
15435 }
15436 Py_INCREF(Py_None); resultobj = Py_None;
15437 return resultobj;
15438 fail:
15439 return NULL;
15440 }
15441
15442
15443 static PyObject * ListItemAttr_swigregister(PyObject *self, PyObject *args) {
15444 PyObject *obj;
15445 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15446 SWIG_TypeClientData(SWIGTYPE_p_wxListItemAttr, obj);
15447 Py_INCREF(obj);
15448 return Py_BuildValue((char *)"");
15449 }
15450 static PyObject *_wrap_new_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15451 PyObject *resultobj;
15452 wxListItem *result;
15453 char *kwnames[] = {
15454 NULL
15455 };
15456
15457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ListItem",kwnames)) goto fail;
15458 {
15459 PyThreadState* __tstate = wxPyBeginAllowThreads();
15460 result = (wxListItem *)new wxListItem();
15461
15462 wxPyEndAllowThreads(__tstate);
15463 if (PyErr_Occurred()) SWIG_fail;
15464 }
15465 {
15466 resultobj = wxPyMake_wxObject(result);
15467 }
15468 return resultobj;
15469 fail:
15470 return NULL;
15471 }
15472
15473
15474 static PyObject *_wrap_delete_ListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
15475 PyObject *resultobj;
15476 wxListItem *arg1 = (wxListItem *) 0 ;
15477 PyObject * obj0 = 0 ;
15478 char *kwnames[] = {
15479 (char *) "self", NULL
15480 };
15481
15482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ListItem",kwnames,&obj0)) goto fail;
15483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15484 {
15485 PyThreadState* __tstate = wxPyBeginAllowThreads();
15486 delete arg1;
15487
15488 wxPyEndAllowThreads(__tstate);
15489 if (PyErr_Occurred()) SWIG_fail;
15490 }
15491 Py_INCREF(Py_None); resultobj = Py_None;
15492 return resultobj;
15493 fail:
15494 return NULL;
15495 }
15496
15497
15498 static PyObject *_wrap_ListItem_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
15499 PyObject *resultobj;
15500 wxListItem *arg1 = (wxListItem *) 0 ;
15501 PyObject * obj0 = 0 ;
15502 char *kwnames[] = {
15503 (char *) "self", NULL
15504 };
15505
15506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_Clear",kwnames,&obj0)) goto fail;
15507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15508 {
15509 PyThreadState* __tstate = wxPyBeginAllowThreads();
15510 (arg1)->Clear();
15511
15512 wxPyEndAllowThreads(__tstate);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 Py_INCREF(Py_None); resultobj = Py_None;
15516 return resultobj;
15517 fail:
15518 return NULL;
15519 }
15520
15521
15522 static PyObject *_wrap_ListItem_ClearAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
15523 PyObject *resultobj;
15524 wxListItem *arg1 = (wxListItem *) 0 ;
15525 PyObject * obj0 = 0 ;
15526 char *kwnames[] = {
15527 (char *) "self", NULL
15528 };
15529
15530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_ClearAttributes",kwnames,&obj0)) goto fail;
15531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15532 {
15533 PyThreadState* __tstate = wxPyBeginAllowThreads();
15534 (arg1)->ClearAttributes();
15535
15536 wxPyEndAllowThreads(__tstate);
15537 if (PyErr_Occurred()) SWIG_fail;
15538 }
15539 Py_INCREF(Py_None); resultobj = Py_None;
15540 return resultobj;
15541 fail:
15542 return NULL;
15543 }
15544
15545
15546 static PyObject *_wrap_ListItem_SetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15547 PyObject *resultobj;
15548 wxListItem *arg1 = (wxListItem *) 0 ;
15549 long arg2 ;
15550 PyObject * obj0 = 0 ;
15551 char *kwnames[] = {
15552 (char *) "self",(char *) "mask", NULL
15553 };
15554
15555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetMask",kwnames,&obj0,&arg2)) goto fail;
15556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15557 {
15558 PyThreadState* __tstate = wxPyBeginAllowThreads();
15559 (arg1)->SetMask(arg2);
15560
15561 wxPyEndAllowThreads(__tstate);
15562 if (PyErr_Occurred()) SWIG_fail;
15563 }
15564 Py_INCREF(Py_None); resultobj = Py_None;
15565 return resultobj;
15566 fail:
15567 return NULL;
15568 }
15569
15570
15571 static PyObject *_wrap_ListItem_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15572 PyObject *resultobj;
15573 wxListItem *arg1 = (wxListItem *) 0 ;
15574 long arg2 ;
15575 PyObject * obj0 = 0 ;
15576 char *kwnames[] = {
15577 (char *) "self",(char *) "id", NULL
15578 };
15579
15580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetId",kwnames,&obj0,&arg2)) goto fail;
15581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15582 {
15583 PyThreadState* __tstate = wxPyBeginAllowThreads();
15584 (arg1)->SetId(arg2);
15585
15586 wxPyEndAllowThreads(__tstate);
15587 if (PyErr_Occurred()) SWIG_fail;
15588 }
15589 Py_INCREF(Py_None); resultobj = Py_None;
15590 return resultobj;
15591 fail:
15592 return NULL;
15593 }
15594
15595
15596 static PyObject *_wrap_ListItem_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15597 PyObject *resultobj;
15598 wxListItem *arg1 = (wxListItem *) 0 ;
15599 int arg2 ;
15600 PyObject * obj0 = 0 ;
15601 char *kwnames[] = {
15602 (char *) "self",(char *) "col", NULL
15603 };
15604
15605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetColumn",kwnames,&obj0,&arg2)) goto fail;
15606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15607 {
15608 PyThreadState* __tstate = wxPyBeginAllowThreads();
15609 (arg1)->SetColumn(arg2);
15610
15611 wxPyEndAllowThreads(__tstate);
15612 if (PyErr_Occurred()) SWIG_fail;
15613 }
15614 Py_INCREF(Py_None); resultobj = Py_None;
15615 return resultobj;
15616 fail:
15617 return NULL;
15618 }
15619
15620
15621 static PyObject *_wrap_ListItem_SetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15622 PyObject *resultobj;
15623 wxListItem *arg1 = (wxListItem *) 0 ;
15624 long arg2 ;
15625 PyObject * obj0 = 0 ;
15626 char *kwnames[] = {
15627 (char *) "self",(char *) "state", NULL
15628 };
15629
15630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetState",kwnames,&obj0,&arg2)) goto fail;
15631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15632 {
15633 PyThreadState* __tstate = wxPyBeginAllowThreads();
15634 (arg1)->SetState(arg2);
15635
15636 wxPyEndAllowThreads(__tstate);
15637 if (PyErr_Occurred()) SWIG_fail;
15638 }
15639 Py_INCREF(Py_None); resultobj = Py_None;
15640 return resultobj;
15641 fail:
15642 return NULL;
15643 }
15644
15645
15646 static PyObject *_wrap_ListItem_SetStateMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15647 PyObject *resultobj;
15648 wxListItem *arg1 = (wxListItem *) 0 ;
15649 long arg2 ;
15650 PyObject * obj0 = 0 ;
15651 char *kwnames[] = {
15652 (char *) "self",(char *) "stateMask", NULL
15653 };
15654
15655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetStateMask",kwnames,&obj0,&arg2)) goto fail;
15656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15657 {
15658 PyThreadState* __tstate = wxPyBeginAllowThreads();
15659 (arg1)->SetStateMask(arg2);
15660
15661 wxPyEndAllowThreads(__tstate);
15662 if (PyErr_Occurred()) SWIG_fail;
15663 }
15664 Py_INCREF(Py_None); resultobj = Py_None;
15665 return resultobj;
15666 fail:
15667 return NULL;
15668 }
15669
15670
15671 static PyObject *_wrap_ListItem_SetText(PyObject *self, PyObject *args, PyObject *kwargs) {
15672 PyObject *resultobj;
15673 wxListItem *arg1 = (wxListItem *) 0 ;
15674 wxString *arg2 = 0 ;
15675 bool temp2 = False ;
15676 PyObject * obj0 = 0 ;
15677 PyObject * obj1 = 0 ;
15678 char *kwnames[] = {
15679 (char *) "self",(char *) "text", NULL
15680 };
15681
15682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetText",kwnames,&obj0,&obj1)) goto fail;
15683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15684 {
15685 arg2 = wxString_in_helper(obj1);
15686 if (arg2 == NULL) SWIG_fail;
15687 temp2 = True;
15688 }
15689 {
15690 PyThreadState* __tstate = wxPyBeginAllowThreads();
15691 (arg1)->SetText((wxString const &)*arg2);
15692
15693 wxPyEndAllowThreads(__tstate);
15694 if (PyErr_Occurred()) SWIG_fail;
15695 }
15696 Py_INCREF(Py_None); resultobj = Py_None;
15697 {
15698 if (temp2)
15699 delete arg2;
15700 }
15701 return resultobj;
15702 fail:
15703 {
15704 if (temp2)
15705 delete arg2;
15706 }
15707 return NULL;
15708 }
15709
15710
15711 static PyObject *_wrap_ListItem_SetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
15712 PyObject *resultobj;
15713 wxListItem *arg1 = (wxListItem *) 0 ;
15714 int arg2 ;
15715 PyObject * obj0 = 0 ;
15716 char *kwnames[] = {
15717 (char *) "self",(char *) "image", NULL
15718 };
15719
15720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetImage",kwnames,&obj0,&arg2)) goto fail;
15721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15722 {
15723 PyThreadState* __tstate = wxPyBeginAllowThreads();
15724 (arg1)->SetImage(arg2);
15725
15726 wxPyEndAllowThreads(__tstate);
15727 if (PyErr_Occurred()) SWIG_fail;
15728 }
15729 Py_INCREF(Py_None); resultobj = Py_None;
15730 return resultobj;
15731 fail:
15732 return NULL;
15733 }
15734
15735
15736 static PyObject *_wrap_ListItem_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
15737 PyObject *resultobj;
15738 wxListItem *arg1 = (wxListItem *) 0 ;
15739 long arg2 ;
15740 PyObject * obj0 = 0 ;
15741 char *kwnames[] = {
15742 (char *) "self",(char *) "data", NULL
15743 };
15744
15745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_SetData",kwnames,&obj0,&arg2)) goto fail;
15746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15747 {
15748 PyThreadState* __tstate = wxPyBeginAllowThreads();
15749 (arg1)->SetData(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_SetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
15762 PyObject *resultobj;
15763 wxListItem *arg1 = (wxListItem *) 0 ;
15764 int arg2 ;
15765 PyObject * obj0 = 0 ;
15766 char *kwnames[] = {
15767 (char *) "self",(char *) "width", NULL
15768 };
15769
15770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetWidth",kwnames,&obj0,&arg2)) 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 (arg1)->SetWidth(arg2);
15775
15776 wxPyEndAllowThreads(__tstate);
15777 if (PyErr_Occurred()) SWIG_fail;
15778 }
15779 Py_INCREF(Py_None); resultobj = Py_None;
15780 return resultobj;
15781 fail:
15782 return NULL;
15783 }
15784
15785
15786 static PyObject *_wrap_ListItem_SetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
15787 PyObject *resultobj;
15788 wxListItem *arg1 = (wxListItem *) 0 ;
15789 int arg2 ;
15790 PyObject * obj0 = 0 ;
15791 char *kwnames[] = {
15792 (char *) "self",(char *) "align", NULL
15793 };
15794
15795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_SetAlign",kwnames,&obj0,&arg2)) 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 (arg1)->SetAlign((wxListColumnFormat )arg2);
15800
15801 wxPyEndAllowThreads(__tstate);
15802 if (PyErr_Occurred()) SWIG_fail;
15803 }
15804 Py_INCREF(Py_None); resultobj = Py_None;
15805 return resultobj;
15806 fail:
15807 return NULL;
15808 }
15809
15810
15811 static PyObject *_wrap_ListItem_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15812 PyObject *resultobj;
15813 wxListItem *arg1 = (wxListItem *) 0 ;
15814 wxColour *arg2 = 0 ;
15815 wxColour temp2 ;
15816 PyObject * obj0 = 0 ;
15817 PyObject * obj1 = 0 ;
15818 char *kwnames[] = {
15819 (char *) "self",(char *) "colText", NULL
15820 };
15821
15822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
15823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15824 {
15825 arg2 = &temp2;
15826 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15827 }
15828 {
15829 PyThreadState* __tstate = wxPyBeginAllowThreads();
15830 (arg1)->SetTextColour((wxColour const &)*arg2);
15831
15832 wxPyEndAllowThreads(__tstate);
15833 if (PyErr_Occurred()) SWIG_fail;
15834 }
15835 Py_INCREF(Py_None); resultobj = Py_None;
15836 return resultobj;
15837 fail:
15838 return NULL;
15839 }
15840
15841
15842 static PyObject *_wrap_ListItem_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15843 PyObject *resultobj;
15844 wxListItem *arg1 = (wxListItem *) 0 ;
15845 wxColour *arg2 = 0 ;
15846 wxColour temp2 ;
15847 PyObject * obj0 = 0 ;
15848 PyObject * obj1 = 0 ;
15849 char *kwnames[] = {
15850 (char *) "self",(char *) "colBack", NULL
15851 };
15852
15853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
15854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15855 {
15856 arg2 = &temp2;
15857 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
15858 }
15859 {
15860 PyThreadState* __tstate = wxPyBeginAllowThreads();
15861 (arg1)->SetBackgroundColour((wxColour const &)*arg2);
15862
15863 wxPyEndAllowThreads(__tstate);
15864 if (PyErr_Occurred()) SWIG_fail;
15865 }
15866 Py_INCREF(Py_None); resultobj = Py_None;
15867 return resultobj;
15868 fail:
15869 return NULL;
15870 }
15871
15872
15873 static PyObject *_wrap_ListItem_SetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxListItem *arg1 = (wxListItem *) 0 ;
15876 wxFont *arg2 = 0 ;
15877 PyObject * obj0 = 0 ;
15878 PyObject * obj1 = 0 ;
15879 char *kwnames[] = {
15880 (char *) "self",(char *) "font", NULL
15881 };
15882
15883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_SetFont",kwnames,&obj0,&obj1)) goto fail;
15884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15885 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15886 if (arg2 == NULL) {
15887 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
15888 }
15889 {
15890 PyThreadState* __tstate = wxPyBeginAllowThreads();
15891 (arg1)->SetFont((wxFont const &)*arg2);
15892
15893 wxPyEndAllowThreads(__tstate);
15894 if (PyErr_Occurred()) SWIG_fail;
15895 }
15896 Py_INCREF(Py_None); resultobj = Py_None;
15897 return resultobj;
15898 fail:
15899 return NULL;
15900 }
15901
15902
15903 static PyObject *_wrap_ListItem_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
15904 PyObject *resultobj;
15905 wxListItem *arg1 = (wxListItem *) 0 ;
15906 long result;
15907 PyObject * obj0 = 0 ;
15908 char *kwnames[] = {
15909 (char *) "self", NULL
15910 };
15911
15912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetMask",kwnames,&obj0)) goto fail;
15913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15914 {
15915 PyThreadState* __tstate = wxPyBeginAllowThreads();
15916 result = (long)(arg1)->GetMask();
15917
15918 wxPyEndAllowThreads(__tstate);
15919 if (PyErr_Occurred()) SWIG_fail;
15920 }
15921 resultobj = PyInt_FromLong((long)result);
15922 return resultobj;
15923 fail:
15924 return NULL;
15925 }
15926
15927
15928 static PyObject *_wrap_ListItem_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
15929 PyObject *resultobj;
15930 wxListItem *arg1 = (wxListItem *) 0 ;
15931 long result;
15932 PyObject * obj0 = 0 ;
15933 char *kwnames[] = {
15934 (char *) "self", NULL
15935 };
15936
15937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetId",kwnames,&obj0)) goto fail;
15938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15939 {
15940 PyThreadState* __tstate = wxPyBeginAllowThreads();
15941 result = (long)(arg1)->GetId();
15942
15943 wxPyEndAllowThreads(__tstate);
15944 if (PyErr_Occurred()) SWIG_fail;
15945 }
15946 resultobj = PyInt_FromLong((long)result);
15947 return resultobj;
15948 fail:
15949 return NULL;
15950 }
15951
15952
15953 static PyObject *_wrap_ListItem_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
15954 PyObject *resultobj;
15955 wxListItem *arg1 = (wxListItem *) 0 ;
15956 int result;
15957 PyObject * obj0 = 0 ;
15958 char *kwnames[] = {
15959 (char *) "self", NULL
15960 };
15961
15962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetColumn",kwnames,&obj0)) goto fail;
15963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15964 {
15965 PyThreadState* __tstate = wxPyBeginAllowThreads();
15966 result = (int)(arg1)->GetColumn();
15967
15968 wxPyEndAllowThreads(__tstate);
15969 if (PyErr_Occurred()) SWIG_fail;
15970 }
15971 resultobj = PyInt_FromLong((long)result);
15972 return resultobj;
15973 fail:
15974 return NULL;
15975 }
15976
15977
15978 static PyObject *_wrap_ListItem_GetState(PyObject *self, PyObject *args, PyObject *kwargs) {
15979 PyObject *resultobj;
15980 wxListItem *arg1 = (wxListItem *) 0 ;
15981 long result;
15982 PyObject * obj0 = 0 ;
15983 char *kwnames[] = {
15984 (char *) "self", NULL
15985 };
15986
15987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetState",kwnames,&obj0)) goto fail;
15988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15989 {
15990 PyThreadState* __tstate = wxPyBeginAllowThreads();
15991 result = (long)(arg1)->GetState();
15992
15993 wxPyEndAllowThreads(__tstate);
15994 if (PyErr_Occurred()) SWIG_fail;
15995 }
15996 resultobj = PyInt_FromLong((long)result);
15997 return resultobj;
15998 fail:
15999 return NULL;
16000 }
16001
16002
16003 static PyObject *_wrap_ListItem_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
16004 PyObject *resultobj;
16005 wxListItem *arg1 = (wxListItem *) 0 ;
16006 wxString *result;
16007 PyObject * obj0 = 0 ;
16008 char *kwnames[] = {
16009 (char *) "self", NULL
16010 };
16011
16012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetText",kwnames,&obj0)) goto fail;
16013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16014 {
16015 PyThreadState* __tstate = wxPyBeginAllowThreads();
16016 {
16017 wxString const &_result_ref = (arg1)->GetText();
16018 result = (wxString *) &_result_ref;
16019 }
16020
16021 wxPyEndAllowThreads(__tstate);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 }
16024 {
16025 #if wxUSE_UNICODE
16026 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16027 #else
16028 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16029 #endif
16030 }
16031 return resultobj;
16032 fail:
16033 return NULL;
16034 }
16035
16036
16037 static PyObject *_wrap_ListItem_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
16038 PyObject *resultobj;
16039 wxListItem *arg1 = (wxListItem *) 0 ;
16040 int result;
16041 PyObject * obj0 = 0 ;
16042 char *kwnames[] = {
16043 (char *) "self", NULL
16044 };
16045
16046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetImage",kwnames,&obj0)) goto fail;
16047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16048 {
16049 PyThreadState* __tstate = wxPyBeginAllowThreads();
16050 result = (int)(arg1)->GetImage();
16051
16052 wxPyEndAllowThreads(__tstate);
16053 if (PyErr_Occurred()) SWIG_fail;
16054 }
16055 resultobj = PyInt_FromLong((long)result);
16056 return resultobj;
16057 fail:
16058 return NULL;
16059 }
16060
16061
16062 static PyObject *_wrap_ListItem_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
16063 PyObject *resultobj;
16064 wxListItem *arg1 = (wxListItem *) 0 ;
16065 long result;
16066 PyObject * obj0 = 0 ;
16067 char *kwnames[] = {
16068 (char *) "self", NULL
16069 };
16070
16071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetData",kwnames,&obj0)) goto fail;
16072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16073 {
16074 PyThreadState* __tstate = wxPyBeginAllowThreads();
16075 result = (long)(arg1)->GetData();
16076
16077 wxPyEndAllowThreads(__tstate);
16078 if (PyErr_Occurred()) SWIG_fail;
16079 }
16080 resultobj = PyInt_FromLong((long)result);
16081 return resultobj;
16082 fail:
16083 return NULL;
16084 }
16085
16086
16087 static PyObject *_wrap_ListItem_GetWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
16088 PyObject *resultobj;
16089 wxListItem *arg1 = (wxListItem *) 0 ;
16090 int result;
16091 PyObject * obj0 = 0 ;
16092 char *kwnames[] = {
16093 (char *) "self", NULL
16094 };
16095
16096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetWidth",kwnames,&obj0)) goto fail;
16097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16098 {
16099 PyThreadState* __tstate = wxPyBeginAllowThreads();
16100 result = (int)(arg1)->GetWidth();
16101
16102 wxPyEndAllowThreads(__tstate);
16103 if (PyErr_Occurred()) SWIG_fail;
16104 }
16105 resultobj = PyInt_FromLong((long)result);
16106 return resultobj;
16107 fail:
16108 return NULL;
16109 }
16110
16111
16112 static PyObject *_wrap_ListItem_GetAlign(PyObject *self, PyObject *args, PyObject *kwargs) {
16113 PyObject *resultobj;
16114 wxListItem *arg1 = (wxListItem *) 0 ;
16115 int result;
16116 PyObject * obj0 = 0 ;
16117 char *kwnames[] = {
16118 (char *) "self", NULL
16119 };
16120
16121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAlign",kwnames,&obj0)) goto fail;
16122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16123 {
16124 PyThreadState* __tstate = wxPyBeginAllowThreads();
16125 result = (int)(arg1)->GetAlign();
16126
16127 wxPyEndAllowThreads(__tstate);
16128 if (PyErr_Occurred()) SWIG_fail;
16129 }
16130 resultobj = PyInt_FromLong((long)result);
16131 return resultobj;
16132 fail:
16133 return NULL;
16134 }
16135
16136
16137 static PyObject *_wrap_ListItem_GetAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16138 PyObject *resultobj;
16139 wxListItem *arg1 = (wxListItem *) 0 ;
16140 wxListItemAttr *result;
16141 PyObject * obj0 = 0 ;
16142 char *kwnames[] = {
16143 (char *) "self", NULL
16144 };
16145
16146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetAttributes",kwnames,&obj0)) goto fail;
16147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16148 {
16149 PyThreadState* __tstate = wxPyBeginAllowThreads();
16150 result = (wxListItemAttr *)(arg1)->GetAttributes();
16151
16152 wxPyEndAllowThreads(__tstate);
16153 if (PyErr_Occurred()) SWIG_fail;
16154 }
16155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItemAttr, 0);
16156 return resultobj;
16157 fail:
16158 return NULL;
16159 }
16160
16161
16162 static PyObject *_wrap_ListItem_HasAttributes(PyObject *self, PyObject *args, PyObject *kwargs) {
16163 PyObject *resultobj;
16164 wxListItem *arg1 = (wxListItem *) 0 ;
16165 bool result;
16166 PyObject * obj0 = 0 ;
16167 char *kwnames[] = {
16168 (char *) "self", NULL
16169 };
16170
16171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_HasAttributes",kwnames,&obj0)) goto fail;
16172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16173 {
16174 PyThreadState* __tstate = wxPyBeginAllowThreads();
16175 result = (bool)(arg1)->HasAttributes();
16176
16177 wxPyEndAllowThreads(__tstate);
16178 if (PyErr_Occurred()) SWIG_fail;
16179 }
16180 resultobj = PyInt_FromLong((long)result);
16181 return resultobj;
16182 fail:
16183 return NULL;
16184 }
16185
16186
16187 static PyObject *_wrap_ListItem_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16188 PyObject *resultobj;
16189 wxListItem *arg1 = (wxListItem *) 0 ;
16190 wxColour result;
16191 PyObject * obj0 = 0 ;
16192 char *kwnames[] = {
16193 (char *) "self", NULL
16194 };
16195
16196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetTextColour",kwnames,&obj0)) goto fail;
16197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16198 {
16199 PyThreadState* __tstate = wxPyBeginAllowThreads();
16200 result = ((wxListItem const *)arg1)->GetTextColour();
16201
16202 wxPyEndAllowThreads(__tstate);
16203 if (PyErr_Occurred()) SWIG_fail;
16204 }
16205 {
16206 wxColour * resultptr;
16207 resultptr = new wxColour((wxColour &) result);
16208 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16209 }
16210 return resultobj;
16211 fail:
16212 return NULL;
16213 }
16214
16215
16216 static PyObject *_wrap_ListItem_GetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16217 PyObject *resultobj;
16218 wxListItem *arg1 = (wxListItem *) 0 ;
16219 wxColour result;
16220 PyObject * obj0 = 0 ;
16221 char *kwnames[] = {
16222 (char *) "self", NULL
16223 };
16224
16225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetBackgroundColour",kwnames,&obj0)) goto fail;
16226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16227 {
16228 PyThreadState* __tstate = wxPyBeginAllowThreads();
16229 result = ((wxListItem const *)arg1)->GetBackgroundColour();
16230
16231 wxPyEndAllowThreads(__tstate);
16232 if (PyErr_Occurred()) SWIG_fail;
16233 }
16234 {
16235 wxColour * resultptr;
16236 resultptr = new wxColour((wxColour &) result);
16237 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
16238 }
16239 return resultobj;
16240 fail:
16241 return NULL;
16242 }
16243
16244
16245 static PyObject *_wrap_ListItem_GetFont(PyObject *self, PyObject *args, PyObject *kwargs) {
16246 PyObject *resultobj;
16247 wxListItem *arg1 = (wxListItem *) 0 ;
16248 wxFont result;
16249 PyObject * obj0 = 0 ;
16250 char *kwnames[] = {
16251 (char *) "self", NULL
16252 };
16253
16254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_GetFont",kwnames,&obj0)) goto fail;
16255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16256 {
16257 PyThreadState* __tstate = wxPyBeginAllowThreads();
16258 result = ((wxListItem const *)arg1)->GetFont();
16259
16260 wxPyEndAllowThreads(__tstate);
16261 if (PyErr_Occurred()) SWIG_fail;
16262 }
16263 {
16264 wxFont * resultptr;
16265 resultptr = new wxFont((wxFont &) result);
16266 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
16267 }
16268 return resultobj;
16269 fail:
16270 return NULL;
16271 }
16272
16273
16274 static PyObject *_wrap_ListItem_m_mask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16275 PyObject *resultobj;
16276 wxListItem *arg1 = (wxListItem *) 0 ;
16277 long arg2 ;
16278 PyObject * obj0 = 0 ;
16279 char *kwnames[] = {
16280 (char *) "self",(char *) "m_mask", NULL
16281 };
16282
16283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_mask_set",kwnames,&obj0,&arg2)) goto fail;
16284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16285 if (arg1) (arg1)->m_mask = arg2;
16286
16287 Py_INCREF(Py_None); resultobj = Py_None;
16288 return resultobj;
16289 fail:
16290 return NULL;
16291 }
16292
16293
16294 static PyObject *_wrap_ListItem_m_mask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16295 PyObject *resultobj;
16296 wxListItem *arg1 = (wxListItem *) 0 ;
16297 long result;
16298 PyObject * obj0 = 0 ;
16299 char *kwnames[] = {
16300 (char *) "self", NULL
16301 };
16302
16303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_mask_get",kwnames,&obj0)) goto fail;
16304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16305 result = (long) ((arg1)->m_mask);
16306
16307 resultobj = PyInt_FromLong((long)result);
16308 return resultobj;
16309 fail:
16310 return NULL;
16311 }
16312
16313
16314 static PyObject *_wrap_ListItem_m_itemId_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16315 PyObject *resultobj;
16316 wxListItem *arg1 = (wxListItem *) 0 ;
16317 long arg2 ;
16318 PyObject * obj0 = 0 ;
16319 char *kwnames[] = {
16320 (char *) "self",(char *) "m_itemId", NULL
16321 };
16322
16323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_itemId_set",kwnames,&obj0,&arg2)) goto fail;
16324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16325 if (arg1) (arg1)->m_itemId = arg2;
16326
16327 Py_INCREF(Py_None); resultobj = Py_None;
16328 return resultobj;
16329 fail:
16330 return NULL;
16331 }
16332
16333
16334 static PyObject *_wrap_ListItem_m_itemId_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16335 PyObject *resultobj;
16336 wxListItem *arg1 = (wxListItem *) 0 ;
16337 long result;
16338 PyObject * obj0 = 0 ;
16339 char *kwnames[] = {
16340 (char *) "self", NULL
16341 };
16342
16343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_itemId_get",kwnames,&obj0)) goto fail;
16344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16345 result = (long) ((arg1)->m_itemId);
16346
16347 resultobj = PyInt_FromLong((long)result);
16348 return resultobj;
16349 fail:
16350 return NULL;
16351 }
16352
16353
16354 static PyObject *_wrap_ListItem_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16355 PyObject *resultobj;
16356 wxListItem *arg1 = (wxListItem *) 0 ;
16357 int arg2 ;
16358 PyObject * obj0 = 0 ;
16359 char *kwnames[] = {
16360 (char *) "self",(char *) "m_col", NULL
16361 };
16362
16363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16365 if (arg1) (arg1)->m_col = arg2;
16366
16367 Py_INCREF(Py_None); resultobj = Py_None;
16368 return resultobj;
16369 fail:
16370 return NULL;
16371 }
16372
16373
16374 static PyObject *_wrap_ListItem_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16375 PyObject *resultobj;
16376 wxListItem *arg1 = (wxListItem *) 0 ;
16377 int result;
16378 PyObject * obj0 = 0 ;
16379 char *kwnames[] = {
16380 (char *) "self", NULL
16381 };
16382
16383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_col_get",kwnames,&obj0)) goto fail;
16384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16385 result = (int) ((arg1)->m_col);
16386
16387 resultobj = PyInt_FromLong((long)result);
16388 return resultobj;
16389 fail:
16390 return NULL;
16391 }
16392
16393
16394 static PyObject *_wrap_ListItem_m_state_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16395 PyObject *resultobj;
16396 wxListItem *arg1 = (wxListItem *) 0 ;
16397 long arg2 ;
16398 PyObject * obj0 = 0 ;
16399 char *kwnames[] = {
16400 (char *) "self",(char *) "m_state", NULL
16401 };
16402
16403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_state_set",kwnames,&obj0,&arg2)) goto fail;
16404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16405 if (arg1) (arg1)->m_state = arg2;
16406
16407 Py_INCREF(Py_None); resultobj = Py_None;
16408 return resultobj;
16409 fail:
16410 return NULL;
16411 }
16412
16413
16414 static PyObject *_wrap_ListItem_m_state_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16415 PyObject *resultobj;
16416 wxListItem *arg1 = (wxListItem *) 0 ;
16417 long result;
16418 PyObject * obj0 = 0 ;
16419 char *kwnames[] = {
16420 (char *) "self", NULL
16421 };
16422
16423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_state_get",kwnames,&obj0)) goto fail;
16424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16425 result = (long) ((arg1)->m_state);
16426
16427 resultobj = PyInt_FromLong((long)result);
16428 return resultobj;
16429 fail:
16430 return NULL;
16431 }
16432
16433
16434 static PyObject *_wrap_ListItem_m_stateMask_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16435 PyObject *resultobj;
16436 wxListItem *arg1 = (wxListItem *) 0 ;
16437 long arg2 ;
16438 PyObject * obj0 = 0 ;
16439 char *kwnames[] = {
16440 (char *) "self",(char *) "m_stateMask", NULL
16441 };
16442
16443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_stateMask_set",kwnames,&obj0,&arg2)) goto fail;
16444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16445 if (arg1) (arg1)->m_stateMask = arg2;
16446
16447 Py_INCREF(Py_None); resultobj = Py_None;
16448 return resultobj;
16449 fail:
16450 return NULL;
16451 }
16452
16453
16454 static PyObject *_wrap_ListItem_m_stateMask_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16455 PyObject *resultobj;
16456 wxListItem *arg1 = (wxListItem *) 0 ;
16457 long result;
16458 PyObject * obj0 = 0 ;
16459 char *kwnames[] = {
16460 (char *) "self", NULL
16461 };
16462
16463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_stateMask_get",kwnames,&obj0)) goto fail;
16464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16465 result = (long) ((arg1)->m_stateMask);
16466
16467 resultobj = PyInt_FromLong((long)result);
16468 return resultobj;
16469 fail:
16470 return NULL;
16471 }
16472
16473
16474 static PyObject *_wrap_ListItem_m_text_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16475 PyObject *resultobj;
16476 wxListItem *arg1 = (wxListItem *) 0 ;
16477 wxString arg2 ;
16478 PyObject * obj0 = 0 ;
16479 PyObject * obj1 = 0 ;
16480 char *kwnames[] = {
16481 (char *) "self",(char *) "m_text", NULL
16482 };
16483
16484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListItem_m_text_set",kwnames,&obj0,&obj1)) goto fail;
16485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16486 {
16487 wxString* sptr = wxString_in_helper(obj1);
16488 if (sptr == NULL) SWIG_fail;
16489 arg2 = *sptr;
16490 delete sptr;
16491 }
16492 if (arg1) (arg1)->m_text = arg2;
16493
16494 Py_INCREF(Py_None); resultobj = Py_None;
16495 return resultobj;
16496 fail:
16497 return NULL;
16498 }
16499
16500
16501 static PyObject *_wrap_ListItem_m_text_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16502 PyObject *resultobj;
16503 wxListItem *arg1 = (wxListItem *) 0 ;
16504 wxString result;
16505 PyObject * obj0 = 0 ;
16506 char *kwnames[] = {
16507 (char *) "self", NULL
16508 };
16509
16510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_text_get",kwnames,&obj0)) goto fail;
16511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16512 result = ((arg1)->m_text);
16513
16514 {
16515 #if wxUSE_UNICODE
16516 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
16517 #else
16518 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
16519 #endif
16520 }
16521 return resultobj;
16522 fail:
16523 return NULL;
16524 }
16525
16526
16527 static PyObject *_wrap_ListItem_m_image_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16528 PyObject *resultobj;
16529 wxListItem *arg1 = (wxListItem *) 0 ;
16530 int arg2 ;
16531 PyObject * obj0 = 0 ;
16532 char *kwnames[] = {
16533 (char *) "self",(char *) "m_image", NULL
16534 };
16535
16536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_image_set",kwnames,&obj0,&arg2)) goto fail;
16537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16538 if (arg1) (arg1)->m_image = arg2;
16539
16540 Py_INCREF(Py_None); resultobj = Py_None;
16541 return resultobj;
16542 fail:
16543 return NULL;
16544 }
16545
16546
16547 static PyObject *_wrap_ListItem_m_image_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16548 PyObject *resultobj;
16549 wxListItem *arg1 = (wxListItem *) 0 ;
16550 int result;
16551 PyObject * obj0 = 0 ;
16552 char *kwnames[] = {
16553 (char *) "self", NULL
16554 };
16555
16556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_image_get",kwnames,&obj0)) goto fail;
16557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16558 result = (int) ((arg1)->m_image);
16559
16560 resultobj = PyInt_FromLong((long)result);
16561 return resultobj;
16562 fail:
16563 return NULL;
16564 }
16565
16566
16567 static PyObject *_wrap_ListItem_m_data_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16568 PyObject *resultobj;
16569 wxListItem *arg1 = (wxListItem *) 0 ;
16570 long arg2 ;
16571 PyObject * obj0 = 0 ;
16572 char *kwnames[] = {
16573 (char *) "self",(char *) "m_data", NULL
16574 };
16575
16576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListItem_m_data_set",kwnames,&obj0,&arg2)) goto fail;
16577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16578 if (arg1) (arg1)->m_data = arg2;
16579
16580 Py_INCREF(Py_None); resultobj = Py_None;
16581 return resultobj;
16582 fail:
16583 return NULL;
16584 }
16585
16586
16587 static PyObject *_wrap_ListItem_m_data_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16588 PyObject *resultobj;
16589 wxListItem *arg1 = (wxListItem *) 0 ;
16590 long result;
16591 PyObject * obj0 = 0 ;
16592 char *kwnames[] = {
16593 (char *) "self", NULL
16594 };
16595
16596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_data_get",kwnames,&obj0)) goto fail;
16597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16598 result = (long) ((arg1)->m_data);
16599
16600 resultobj = PyInt_FromLong((long)result);
16601 return resultobj;
16602 fail:
16603 return NULL;
16604 }
16605
16606
16607 static PyObject *_wrap_ListItem_m_format_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16608 PyObject *resultobj;
16609 wxListItem *arg1 = (wxListItem *) 0 ;
16610 int arg2 ;
16611 PyObject * obj0 = 0 ;
16612 char *kwnames[] = {
16613 (char *) "self",(char *) "m_format", NULL
16614 };
16615
16616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_format_set",kwnames,&obj0,&arg2)) goto fail;
16617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16618 if (arg1) (arg1)->m_format = arg2;
16619
16620 Py_INCREF(Py_None); resultobj = Py_None;
16621 return resultobj;
16622 fail:
16623 return NULL;
16624 }
16625
16626
16627 static PyObject *_wrap_ListItem_m_format_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16628 PyObject *resultobj;
16629 wxListItem *arg1 = (wxListItem *) 0 ;
16630 int result;
16631 PyObject * obj0 = 0 ;
16632 char *kwnames[] = {
16633 (char *) "self", NULL
16634 };
16635
16636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_format_get",kwnames,&obj0)) goto fail;
16637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16638 result = (int) ((arg1)->m_format);
16639
16640 resultobj = PyInt_FromLong((long)result);
16641 return resultobj;
16642 fail:
16643 return NULL;
16644 }
16645
16646
16647 static PyObject *_wrap_ListItem_m_width_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16648 PyObject *resultobj;
16649 wxListItem *arg1 = (wxListItem *) 0 ;
16650 int arg2 ;
16651 PyObject * obj0 = 0 ;
16652 char *kwnames[] = {
16653 (char *) "self",(char *) "m_width", NULL
16654 };
16655
16656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListItem_m_width_set",kwnames,&obj0,&arg2)) goto fail;
16657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16658 if (arg1) (arg1)->m_width = arg2;
16659
16660 Py_INCREF(Py_None); resultobj = Py_None;
16661 return resultobj;
16662 fail:
16663 return NULL;
16664 }
16665
16666
16667 static PyObject *_wrap_ListItem_m_width_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16668 PyObject *resultobj;
16669 wxListItem *arg1 = (wxListItem *) 0 ;
16670 int result;
16671 PyObject * obj0 = 0 ;
16672 char *kwnames[] = {
16673 (char *) "self", NULL
16674 };
16675
16676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListItem_m_width_get",kwnames,&obj0)) goto fail;
16677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16678 result = (int) ((arg1)->m_width);
16679
16680 resultobj = PyInt_FromLong((long)result);
16681 return resultobj;
16682 fail:
16683 return NULL;
16684 }
16685
16686
16687 static PyObject * ListItem_swigregister(PyObject *self, PyObject *args) {
16688 PyObject *obj;
16689 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16690 SWIG_TypeClientData(SWIGTYPE_p_wxListItem, obj);
16691 Py_INCREF(obj);
16692 return Py_BuildValue((char *)"");
16693 }
16694 static PyObject *_wrap_new_ListEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
16695 PyObject *resultobj;
16696 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
16697 int arg2 = (int) 0 ;
16698 wxListEvent *result;
16699 char *kwnames[] = {
16700 (char *) "commandType",(char *) "id", NULL
16701 };
16702
16703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_ListEvent",kwnames,&arg1,&arg2)) goto fail;
16704 {
16705 PyThreadState* __tstate = wxPyBeginAllowThreads();
16706 result = (wxListEvent *)new wxListEvent(arg1,arg2);
16707
16708 wxPyEndAllowThreads(__tstate);
16709 if (PyErr_Occurred()) SWIG_fail;
16710 }
16711 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListEvent, 1);
16712 return resultobj;
16713 fail:
16714 return NULL;
16715 }
16716
16717
16718 static PyObject *_wrap_ListEvent_m_code_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16719 PyObject *resultobj;
16720 wxListEvent *arg1 = (wxListEvent *) 0 ;
16721 int arg2 ;
16722 PyObject * obj0 = 0 ;
16723 char *kwnames[] = {
16724 (char *) "self",(char *) "m_code", NULL
16725 };
16726
16727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_code_set",kwnames,&obj0,&arg2)) goto fail;
16728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16729 if (arg1) (arg1)->m_code = arg2;
16730
16731 Py_INCREF(Py_None); resultobj = Py_None;
16732 return resultobj;
16733 fail:
16734 return NULL;
16735 }
16736
16737
16738 static PyObject *_wrap_ListEvent_m_code_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16739 PyObject *resultobj;
16740 wxListEvent *arg1 = (wxListEvent *) 0 ;
16741 int result;
16742 PyObject * obj0 = 0 ;
16743 char *kwnames[] = {
16744 (char *) "self", NULL
16745 };
16746
16747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_code_get",kwnames,&obj0)) goto fail;
16748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16749 result = (int) ((arg1)->m_code);
16750
16751 resultobj = PyInt_FromLong((long)result);
16752 return resultobj;
16753 fail:
16754 return NULL;
16755 }
16756
16757
16758 static PyObject *_wrap_ListEvent_m_oldItemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16759 PyObject *resultobj;
16760 wxListEvent *arg1 = (wxListEvent *) 0 ;
16761 long arg2 ;
16762 PyObject * obj0 = 0 ;
16763 char *kwnames[] = {
16764 (char *) "self",(char *) "m_oldItemIndex", NULL
16765 };
16766
16767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_oldItemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16769 if (arg1) (arg1)->m_oldItemIndex = arg2;
16770
16771 Py_INCREF(Py_None); resultobj = Py_None;
16772 return resultobj;
16773 fail:
16774 return NULL;
16775 }
16776
16777
16778 static PyObject *_wrap_ListEvent_m_oldItemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16779 PyObject *resultobj;
16780 wxListEvent *arg1 = (wxListEvent *) 0 ;
16781 long result;
16782 PyObject * obj0 = 0 ;
16783 char *kwnames[] = {
16784 (char *) "self", NULL
16785 };
16786
16787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_oldItemIndex_get",kwnames,&obj0)) goto fail;
16788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16789 result = (long) ((arg1)->m_oldItemIndex);
16790
16791 resultobj = PyInt_FromLong((long)result);
16792 return resultobj;
16793 fail:
16794 return NULL;
16795 }
16796
16797
16798 static PyObject *_wrap_ListEvent_m_itemIndex_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16799 PyObject *resultobj;
16800 wxListEvent *arg1 = (wxListEvent *) 0 ;
16801 long arg2 ;
16802 PyObject * obj0 = 0 ;
16803 char *kwnames[] = {
16804 (char *) "self",(char *) "m_itemIndex", NULL
16805 };
16806
16807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListEvent_m_itemIndex_set",kwnames,&obj0,&arg2)) goto fail;
16808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16809 if (arg1) (arg1)->m_itemIndex = arg2;
16810
16811 Py_INCREF(Py_None); resultobj = Py_None;
16812 return resultobj;
16813 fail:
16814 return NULL;
16815 }
16816
16817
16818 static PyObject *_wrap_ListEvent_m_itemIndex_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16819 PyObject *resultobj;
16820 wxListEvent *arg1 = (wxListEvent *) 0 ;
16821 long result;
16822 PyObject * obj0 = 0 ;
16823 char *kwnames[] = {
16824 (char *) "self", NULL
16825 };
16826
16827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_itemIndex_get",kwnames,&obj0)) goto fail;
16828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16829 result = (long) ((arg1)->m_itemIndex);
16830
16831 resultobj = PyInt_FromLong((long)result);
16832 return resultobj;
16833 fail:
16834 return NULL;
16835 }
16836
16837
16838 static PyObject *_wrap_ListEvent_m_col_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16839 PyObject *resultobj;
16840 wxListEvent *arg1 = (wxListEvent *) 0 ;
16841 int arg2 ;
16842 PyObject * obj0 = 0 ;
16843 char *kwnames[] = {
16844 (char *) "self",(char *) "m_col", NULL
16845 };
16846
16847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListEvent_m_col_set",kwnames,&obj0,&arg2)) goto fail;
16848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16849 if (arg1) (arg1)->m_col = arg2;
16850
16851 Py_INCREF(Py_None); resultobj = Py_None;
16852 return resultobj;
16853 fail:
16854 return NULL;
16855 }
16856
16857
16858 static PyObject *_wrap_ListEvent_m_col_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16859 PyObject *resultobj;
16860 wxListEvent *arg1 = (wxListEvent *) 0 ;
16861 int result;
16862 PyObject * obj0 = 0 ;
16863 char *kwnames[] = {
16864 (char *) "self", NULL
16865 };
16866
16867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_col_get",kwnames,&obj0)) goto fail;
16868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16869 result = (int) ((arg1)->m_col);
16870
16871 resultobj = PyInt_FromLong((long)result);
16872 return resultobj;
16873 fail:
16874 return NULL;
16875 }
16876
16877
16878 static PyObject *_wrap_ListEvent_m_pointDrag_set(PyObject *self, PyObject *args, PyObject *kwargs) {
16879 PyObject *resultobj;
16880 wxListEvent *arg1 = (wxListEvent *) 0 ;
16881 wxPoint *arg2 = (wxPoint *) 0 ;
16882 PyObject * obj0 = 0 ;
16883 PyObject * obj1 = 0 ;
16884 char *kwnames[] = {
16885 (char *) "self",(char *) "m_pointDrag", NULL
16886 };
16887
16888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_m_pointDrag_set",kwnames,&obj0,&obj1)) goto fail;
16889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16890 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPoint,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16891 if (arg1) (arg1)->m_pointDrag = *arg2;
16892
16893 Py_INCREF(Py_None); resultobj = Py_None;
16894 return resultobj;
16895 fail:
16896 return NULL;
16897 }
16898
16899
16900 static PyObject *_wrap_ListEvent_m_pointDrag_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16901 PyObject *resultobj;
16902 wxListEvent *arg1 = (wxListEvent *) 0 ;
16903 wxPoint *result;
16904 PyObject * obj0 = 0 ;
16905 char *kwnames[] = {
16906 (char *) "self", NULL
16907 };
16908
16909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_pointDrag_get",kwnames,&obj0)) goto fail;
16910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16911 result = (wxPoint *)& ((arg1)->m_pointDrag);
16912
16913 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
16914 return resultobj;
16915 fail:
16916 return NULL;
16917 }
16918
16919
16920 static PyObject *_wrap_ListEvent_m_item_get(PyObject *self, PyObject *args, PyObject *kwargs) {
16921 PyObject *resultobj;
16922 wxListEvent *arg1 = (wxListEvent *) 0 ;
16923 wxListItem *result;
16924 PyObject * obj0 = 0 ;
16925 char *kwnames[] = {
16926 (char *) "self", NULL
16927 };
16928
16929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_m_item_get",kwnames,&obj0)) goto fail;
16930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16931 result = (wxListItem *)& ((arg1)->m_item);
16932
16933 {
16934 resultobj = wxPyMake_wxObject(result);
16935 }
16936 return resultobj;
16937 fail:
16938 return NULL;
16939 }
16940
16941
16942 static PyObject *_wrap_ListEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
16943 PyObject *resultobj;
16944 wxListEvent *arg1 = (wxListEvent *) 0 ;
16945 int result;
16946 PyObject * obj0 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "self", NULL
16949 };
16950
16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetKeyCode",kwnames,&obj0)) goto fail;
16952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16953 {
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 result = (int)(arg1)->GetKeyCode();
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 resultobj = PyInt_FromLong((long)result);
16961 return resultobj;
16962 fail:
16963 return NULL;
16964 }
16965
16966
16967 static PyObject *_wrap_ListEvent_GetIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
16968 PyObject *resultobj;
16969 wxListEvent *arg1 = (wxListEvent *) 0 ;
16970 long result;
16971 PyObject * obj0 = 0 ;
16972 char *kwnames[] = {
16973 (char *) "self", NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetIndex",kwnames,&obj0)) goto fail;
16977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16978 {
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 result = (long)(arg1)->GetIndex();
16981
16982 wxPyEndAllowThreads(__tstate);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 }
16985 resultobj = PyInt_FromLong((long)result);
16986 return resultobj;
16987 fail:
16988 return NULL;
16989 }
16990
16991
16992 static PyObject *_wrap_ListEvent_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
16993 PyObject *resultobj;
16994 wxListEvent *arg1 = (wxListEvent *) 0 ;
16995 int result;
16996 PyObject * obj0 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "self", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetColumn",kwnames,&obj0)) goto fail;
17002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 result = (int)(arg1)->GetColumn();
17006
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
17010 resultobj = PyInt_FromLong((long)result);
17011 return resultobj;
17012 fail:
17013 return NULL;
17014 }
17015
17016
17017 static PyObject *_wrap_ListEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 wxListEvent *arg1 = (wxListEvent *) 0 ;
17020 wxPoint result;
17021 PyObject * obj0 = 0 ;
17022 char *kwnames[] = {
17023 (char *) "self", NULL
17024 };
17025
17026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetPoint",kwnames,&obj0)) goto fail;
17027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 result = (arg1)->GetPoint();
17031
17032 wxPyEndAllowThreads(__tstate);
17033 if (PyErr_Occurred()) SWIG_fail;
17034 }
17035 {
17036 wxPoint * resultptr;
17037 resultptr = new wxPoint((wxPoint &) result);
17038 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17039 }
17040 return resultobj;
17041 fail:
17042 return NULL;
17043 }
17044
17045
17046 static PyObject *_wrap_ListEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
17047 PyObject *resultobj;
17048 wxListEvent *arg1 = (wxListEvent *) 0 ;
17049 wxString *result;
17050 PyObject * obj0 = 0 ;
17051 char *kwnames[] = {
17052 (char *) "self", NULL
17053 };
17054
17055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetLabel",kwnames,&obj0)) goto fail;
17056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17057 {
17058 PyThreadState* __tstate = wxPyBeginAllowThreads();
17059 {
17060 wxString const &_result_ref = (arg1)->GetLabel();
17061 result = (wxString *) &_result_ref;
17062 }
17063
17064 wxPyEndAllowThreads(__tstate);
17065 if (PyErr_Occurred()) SWIG_fail;
17066 }
17067 {
17068 #if wxUSE_UNICODE
17069 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17070 #else
17071 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17072 #endif
17073 }
17074 return resultobj;
17075 fail:
17076 return NULL;
17077 }
17078
17079
17080 static PyObject *_wrap_ListEvent_GetText(PyObject *self, PyObject *args, PyObject *kwargs) {
17081 PyObject *resultobj;
17082 wxListEvent *arg1 = (wxListEvent *) 0 ;
17083 wxString *result;
17084 PyObject * obj0 = 0 ;
17085 char *kwnames[] = {
17086 (char *) "self", NULL
17087 };
17088
17089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetText",kwnames,&obj0)) goto fail;
17090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17091 {
17092 PyThreadState* __tstate = wxPyBeginAllowThreads();
17093 {
17094 wxString const &_result_ref = (arg1)->GetText();
17095 result = (wxString *) &_result_ref;
17096 }
17097
17098 wxPyEndAllowThreads(__tstate);
17099 if (PyErr_Occurred()) SWIG_fail;
17100 }
17101 {
17102 #if wxUSE_UNICODE
17103 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17104 #else
17105 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17106 #endif
17107 }
17108 return resultobj;
17109 fail:
17110 return NULL;
17111 }
17112
17113
17114 static PyObject *_wrap_ListEvent_GetImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17115 PyObject *resultobj;
17116 wxListEvent *arg1 = (wxListEvent *) 0 ;
17117 int result;
17118 PyObject * obj0 = 0 ;
17119 char *kwnames[] = {
17120 (char *) "self", NULL
17121 };
17122
17123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetImage",kwnames,&obj0)) goto fail;
17124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17125 {
17126 PyThreadState* __tstate = wxPyBeginAllowThreads();
17127 result = (int)(arg1)->GetImage();
17128
17129 wxPyEndAllowThreads(__tstate);
17130 if (PyErr_Occurred()) SWIG_fail;
17131 }
17132 resultobj = PyInt_FromLong((long)result);
17133 return resultobj;
17134 fail:
17135 return NULL;
17136 }
17137
17138
17139 static PyObject *_wrap_ListEvent_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
17140 PyObject *resultobj;
17141 wxListEvent *arg1 = (wxListEvent *) 0 ;
17142 long result;
17143 PyObject * obj0 = 0 ;
17144 char *kwnames[] = {
17145 (char *) "self", NULL
17146 };
17147
17148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetData",kwnames,&obj0)) goto fail;
17149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17150 {
17151 PyThreadState* __tstate = wxPyBeginAllowThreads();
17152 result = (long)(arg1)->GetData();
17153
17154 wxPyEndAllowThreads(__tstate);
17155 if (PyErr_Occurred()) SWIG_fail;
17156 }
17157 resultobj = PyInt_FromLong((long)result);
17158 return resultobj;
17159 fail:
17160 return NULL;
17161 }
17162
17163
17164 static PyObject *_wrap_ListEvent_GetMask(PyObject *self, PyObject *args, PyObject *kwargs) {
17165 PyObject *resultobj;
17166 wxListEvent *arg1 = (wxListEvent *) 0 ;
17167 long result;
17168 PyObject * obj0 = 0 ;
17169 char *kwnames[] = {
17170 (char *) "self", NULL
17171 };
17172
17173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetMask",kwnames,&obj0)) goto fail;
17174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17175 {
17176 PyThreadState* __tstate = wxPyBeginAllowThreads();
17177 result = (long)(arg1)->GetMask();
17178
17179 wxPyEndAllowThreads(__tstate);
17180 if (PyErr_Occurred()) SWIG_fail;
17181 }
17182 resultobj = PyInt_FromLong((long)result);
17183 return resultobj;
17184 fail:
17185 return NULL;
17186 }
17187
17188
17189 static PyObject *_wrap_ListEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17190 PyObject *resultobj;
17191 wxListEvent *arg1 = (wxListEvent *) 0 ;
17192 wxListItem *result;
17193 PyObject * obj0 = 0 ;
17194 char *kwnames[] = {
17195 (char *) "self", NULL
17196 };
17197
17198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetItem",kwnames,&obj0)) goto fail;
17199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17200 {
17201 PyThreadState* __tstate = wxPyBeginAllowThreads();
17202 {
17203 wxListItem const &_result_ref = (arg1)->GetItem();
17204 result = (wxListItem *) &_result_ref;
17205 }
17206
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
17210 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListItem, 0);
17211 return resultobj;
17212 fail:
17213 return NULL;
17214 }
17215
17216
17217 static PyObject *_wrap_ListEvent_GetCacheFrom(PyObject *self, PyObject *args, PyObject *kwargs) {
17218 PyObject *resultobj;
17219 wxListEvent *arg1 = (wxListEvent *) 0 ;
17220 long result;
17221 PyObject * obj0 = 0 ;
17222 char *kwnames[] = {
17223 (char *) "self", NULL
17224 };
17225
17226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheFrom",kwnames,&obj0)) goto fail;
17227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17228 {
17229 PyThreadState* __tstate = wxPyBeginAllowThreads();
17230 result = (long)(arg1)->GetCacheFrom();
17231
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 resultobj = PyInt_FromLong((long)result);
17236 return resultobj;
17237 fail:
17238 return NULL;
17239 }
17240
17241
17242 static PyObject *_wrap_ListEvent_GetCacheTo(PyObject *self, PyObject *args, PyObject *kwargs) {
17243 PyObject *resultobj;
17244 wxListEvent *arg1 = (wxListEvent *) 0 ;
17245 long result;
17246 PyObject * obj0 = 0 ;
17247 char *kwnames[] = {
17248 (char *) "self", NULL
17249 };
17250
17251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_GetCacheTo",kwnames,&obj0)) goto fail;
17252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 result = (long)(arg1)->GetCacheTo();
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 resultobj = PyInt_FromLong((long)result);
17261 return resultobj;
17262 fail:
17263 return NULL;
17264 }
17265
17266
17267 static PyObject *_wrap_ListEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
17268 PyObject *resultobj;
17269 wxListEvent *arg1 = (wxListEvent *) 0 ;
17270 bool result;
17271 PyObject * obj0 = 0 ;
17272 char *kwnames[] = {
17273 (char *) "self", NULL
17274 };
17275
17276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
17277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17278 {
17279 PyThreadState* __tstate = wxPyBeginAllowThreads();
17280 result = (bool)((wxListEvent const *)arg1)->IsEditCancelled();
17281
17282 wxPyEndAllowThreads(__tstate);
17283 if (PyErr_Occurred()) SWIG_fail;
17284 }
17285 resultobj = PyInt_FromLong((long)result);
17286 return resultobj;
17287 fail:
17288 return NULL;
17289 }
17290
17291
17292 static PyObject *_wrap_ListEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
17293 PyObject *resultobj;
17294 wxListEvent *arg1 = (wxListEvent *) 0 ;
17295 bool arg2 ;
17296 PyObject * obj0 = 0 ;
17297 PyObject * obj1 = 0 ;
17298 char *kwnames[] = {
17299 (char *) "self",(char *) "editCancelled", NULL
17300 };
17301
17302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
17303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17304 arg2 = PyInt_AsLong(obj1) ? true : false;
17305 if (PyErr_Occurred()) SWIG_fail;
17306 {
17307 PyThreadState* __tstate = wxPyBeginAllowThreads();
17308 (arg1)->SetEditCanceled(arg2);
17309
17310 wxPyEndAllowThreads(__tstate);
17311 if (PyErr_Occurred()) SWIG_fail;
17312 }
17313 Py_INCREF(Py_None); resultobj = Py_None;
17314 return resultobj;
17315 fail:
17316 return NULL;
17317 }
17318
17319
17320 static PyObject * ListEvent_swigregister(PyObject *self, PyObject *args) {
17321 PyObject *obj;
17322 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17323 SWIG_TypeClientData(SWIGTYPE_p_wxListEvent, obj);
17324 Py_INCREF(obj);
17325 return Py_BuildValue((char *)"");
17326 }
17327 static PyObject *_wrap_new_ListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17328 PyObject *resultobj;
17329 wxWindow *arg1 = (wxWindow *) 0 ;
17330 int arg2 = (int) -1 ;
17331 wxPoint const &arg3_defvalue = wxDefaultPosition ;
17332 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
17333 wxSize const &arg4_defvalue = wxDefaultSize ;
17334 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
17335 long arg5 = (long) wxLC_ICON ;
17336 wxValidator const &arg6_defvalue = wxDefaultValidator ;
17337 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
17338 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
17339 wxString *arg7 = (wxString *) &arg7_defvalue ;
17340 wxPyListCtrl *result;
17341 wxPoint temp3 ;
17342 wxSize temp4 ;
17343 bool temp7 = False ;
17344 PyObject * obj0 = 0 ;
17345 PyObject * obj2 = 0 ;
17346 PyObject * obj3 = 0 ;
17347 PyObject * obj5 = 0 ;
17348 PyObject * obj6 = 0 ;
17349 char *kwnames[] = {
17350 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17351 };
17352
17353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
17354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17355 if (obj2) {
17356 {
17357 arg3 = &temp3;
17358 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
17359 }
17360 }
17361 if (obj3) {
17362 {
17363 arg4 = &temp4;
17364 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
17365 }
17366 }
17367 if (obj5) {
17368 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17369 if (arg6 == NULL) {
17370 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17371 }
17372 }
17373 if (obj6) {
17374 {
17375 arg7 = wxString_in_helper(obj6);
17376 if (arg7 == NULL) SWIG_fail;
17377 temp7 = True;
17378 }
17379 }
17380 {
17381 PyThreadState* __tstate = wxPyBeginAllowThreads();
17382 result = (wxPyListCtrl *)new wxPyListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
17383
17384 wxPyEndAllowThreads(__tstate);
17385 if (PyErr_Occurred()) SWIG_fail;
17386 }
17387 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17388 {
17389 if (temp7)
17390 delete arg7;
17391 }
17392 return resultobj;
17393 fail:
17394 {
17395 if (temp7)
17396 delete arg7;
17397 }
17398 return NULL;
17399 }
17400
17401
17402 static PyObject *_wrap_new_PreListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
17403 PyObject *resultobj;
17404 wxPyListCtrl *result;
17405 char *kwnames[] = {
17406 NULL
17407 };
17408
17409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListCtrl",kwnames)) goto fail;
17410 {
17411 PyThreadState* __tstate = wxPyBeginAllowThreads();
17412 result = (wxPyListCtrl *)new wxPyListCtrl();
17413
17414 wxPyEndAllowThreads(__tstate);
17415 if (PyErr_Occurred()) SWIG_fail;
17416 }
17417 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyListCtrl, 1);
17418 return resultobj;
17419 fail:
17420 return NULL;
17421 }
17422
17423
17424 static PyObject *_wrap_ListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
17425 PyObject *resultobj;
17426 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17427 wxWindow *arg2 = (wxWindow *) 0 ;
17428 int arg3 = (int) -1 ;
17429 wxPoint const &arg4_defvalue = wxDefaultPosition ;
17430 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
17431 wxSize const &arg5_defvalue = wxDefaultSize ;
17432 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
17433 long arg6 = (long) wxLC_ICON ;
17434 wxValidator const &arg7_defvalue = wxDefaultValidator ;
17435 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
17436 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
17437 wxString *arg8 = (wxString *) &arg8_defvalue ;
17438 bool result;
17439 wxPoint temp4 ;
17440 wxSize temp5 ;
17441 bool temp8 = False ;
17442 PyObject * obj0 = 0 ;
17443 PyObject * obj1 = 0 ;
17444 PyObject * obj3 = 0 ;
17445 PyObject * obj4 = 0 ;
17446 PyObject * obj6 = 0 ;
17447 PyObject * obj7 = 0 ;
17448 char *kwnames[] = {
17449 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
17450 };
17451
17452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
17453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17454 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17455 if (obj3) {
17456 {
17457 arg4 = &temp4;
17458 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
17459 }
17460 }
17461 if (obj4) {
17462 {
17463 arg5 = &temp5;
17464 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
17465 }
17466 }
17467 if (obj6) {
17468 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17469 if (arg7 == NULL) {
17470 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17471 }
17472 }
17473 if (obj7) {
17474 {
17475 arg8 = wxString_in_helper(obj7);
17476 if (arg8 == NULL) SWIG_fail;
17477 temp8 = True;
17478 }
17479 }
17480 {
17481 PyThreadState* __tstate = wxPyBeginAllowThreads();
17482 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
17483
17484 wxPyEndAllowThreads(__tstate);
17485 if (PyErr_Occurred()) SWIG_fail;
17486 }
17487 resultobj = PyInt_FromLong((long)result);
17488 {
17489 if (temp8)
17490 delete arg8;
17491 }
17492 return resultobj;
17493 fail:
17494 {
17495 if (temp8)
17496 delete arg8;
17497 }
17498 return NULL;
17499 }
17500
17501
17502 static PyObject *_wrap_ListCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17503 PyObject *resultobj;
17504 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17505 PyObject *arg2 = (PyObject *) 0 ;
17506 PyObject *arg3 = (PyObject *) 0 ;
17507 PyObject * obj0 = 0 ;
17508 PyObject * obj1 = 0 ;
17509 PyObject * obj2 = 0 ;
17510 char *kwnames[] = {
17511 (char *) "self",(char *) "self",(char *) "_class", NULL
17512 };
17513
17514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ListCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
17515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17516 arg2 = obj1;
17517 arg3 = obj2;
17518 {
17519 PyThreadState* __tstate = wxPyBeginAllowThreads();
17520 (arg1)->_setCallbackInfo(arg2,arg3);
17521
17522 wxPyEndAllowThreads(__tstate);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 }
17525 Py_INCREF(Py_None); resultobj = Py_None;
17526 return resultobj;
17527 fail:
17528 return NULL;
17529 }
17530
17531
17532 static PyObject *_wrap_ListCtrl_SetForegroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17533 PyObject *resultobj;
17534 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17535 wxColour *arg2 = 0 ;
17536 bool result;
17537 wxColour temp2 ;
17538 PyObject * obj0 = 0 ;
17539 PyObject * obj1 = 0 ;
17540 char *kwnames[] = {
17541 (char *) "self",(char *) "col", NULL
17542 };
17543
17544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetForegroundColour",kwnames,&obj0,&obj1)) goto fail;
17545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17546 {
17547 arg2 = &temp2;
17548 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17549 }
17550 {
17551 PyThreadState* __tstate = wxPyBeginAllowThreads();
17552 result = (bool)(arg1)->SetForegroundColour((wxColour const &)*arg2);
17553
17554 wxPyEndAllowThreads(__tstate);
17555 if (PyErr_Occurred()) SWIG_fail;
17556 }
17557 resultobj = PyInt_FromLong((long)result);
17558 return resultobj;
17559 fail:
17560 return NULL;
17561 }
17562
17563
17564 static PyObject *_wrap_ListCtrl_SetBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
17565 PyObject *resultobj;
17566 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17567 wxColour *arg2 = 0 ;
17568 bool result;
17569 wxColour temp2 ;
17570 PyObject * obj0 = 0 ;
17571 PyObject * obj1 = 0 ;
17572 char *kwnames[] = {
17573 (char *) "self",(char *) "col", NULL
17574 };
17575
17576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
17577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17578 {
17579 arg2 = &temp2;
17580 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
17581 }
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 result = (bool)(arg1)->SetBackgroundColour((wxColour const &)*arg2);
17585
17586 wxPyEndAllowThreads(__tstate);
17587 if (PyErr_Occurred()) SWIG_fail;
17588 }
17589 resultobj = PyInt_FromLong((long)result);
17590 return resultobj;
17591 fail:
17592 return NULL;
17593 }
17594
17595
17596 static PyObject *_wrap_ListCtrl_GetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17597 PyObject *resultobj;
17598 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17599 int arg2 ;
17600 wxListItem *result;
17601 PyObject * obj0 = 0 ;
17602 char *kwnames[] = {
17603 (char *) "self",(char *) "col", NULL
17604 };
17605
17606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumn",kwnames,&obj0,&arg2)) goto fail;
17607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17608 {
17609 PyThreadState* __tstate = wxPyBeginAllowThreads();
17610 result = (wxListItem *)wxPyListCtrl_GetColumn(arg1,arg2);
17611
17612 wxPyEndAllowThreads(__tstate);
17613 if (PyErr_Occurred()) SWIG_fail;
17614 }
17615 {
17616 resultobj = wxPyMake_wxObject(result);
17617 }
17618 return resultobj;
17619 fail:
17620 return NULL;
17621 }
17622
17623
17624 static PyObject *_wrap_ListCtrl_SetColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
17625 PyObject *resultobj;
17626 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17627 int arg2 ;
17628 wxListItem *arg3 = 0 ;
17629 bool result;
17630 PyObject * obj0 = 0 ;
17631 PyObject * obj2 = 0 ;
17632 char *kwnames[] = {
17633 (char *) "self",(char *) "col",(char *) "item", NULL
17634 };
17635
17636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ListCtrl_SetColumn",kwnames,&obj0,&arg2,&obj2)) goto fail;
17637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17638 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17639 if (arg3 == NULL) {
17640 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17641 }
17642 {
17643 PyThreadState* __tstate = wxPyBeginAllowThreads();
17644 result = (bool)(arg1)->SetColumn(arg2,*arg3);
17645
17646 wxPyEndAllowThreads(__tstate);
17647 if (PyErr_Occurred()) SWIG_fail;
17648 }
17649 resultobj = PyInt_FromLong((long)result);
17650 return resultobj;
17651 fail:
17652 return NULL;
17653 }
17654
17655
17656 static PyObject *_wrap_ListCtrl_GetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17657 PyObject *resultobj;
17658 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17659 int arg2 ;
17660 int result;
17661 PyObject * obj0 = 0 ;
17662 char *kwnames[] = {
17663 (char *) "self",(char *) "col", NULL
17664 };
17665
17666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetColumnWidth",kwnames,&obj0,&arg2)) goto fail;
17667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17668 {
17669 PyThreadState* __tstate = wxPyBeginAllowThreads();
17670 result = (int)((wxPyListCtrl const *)arg1)->GetColumnWidth(arg2);
17671
17672 wxPyEndAllowThreads(__tstate);
17673 if (PyErr_Occurred()) SWIG_fail;
17674 }
17675 resultobj = PyInt_FromLong((long)result);
17676 return resultobj;
17677 fail:
17678 return NULL;
17679 }
17680
17681
17682 static PyObject *_wrap_ListCtrl_SetColumnWidth(PyObject *self, PyObject *args, PyObject *kwargs) {
17683 PyObject *resultobj;
17684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17685 int arg2 ;
17686 int arg3 ;
17687 bool result;
17688 PyObject * obj0 = 0 ;
17689 char *kwnames[] = {
17690 (char *) "self",(char *) "col",(char *) "width", NULL
17691 };
17692
17693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_SetColumnWidth",kwnames,&obj0,&arg2,&arg3)) goto fail;
17694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17695 {
17696 PyThreadState* __tstate = wxPyBeginAllowThreads();
17697 result = (bool)(arg1)->SetColumnWidth(arg2,arg3);
17698
17699 wxPyEndAllowThreads(__tstate);
17700 if (PyErr_Occurred()) SWIG_fail;
17701 }
17702 resultobj = PyInt_FromLong((long)result);
17703 return resultobj;
17704 fail:
17705 return NULL;
17706 }
17707
17708
17709 static PyObject *_wrap_ListCtrl_GetCountPerPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17710 PyObject *resultobj;
17711 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17712 int result;
17713 PyObject * obj0 = 0 ;
17714 char *kwnames[] = {
17715 (char *) "self", NULL
17716 };
17717
17718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetCountPerPage",kwnames,&obj0)) goto fail;
17719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17720 {
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 result = (int)((wxPyListCtrl const *)arg1)->GetCountPerPage();
17723
17724 wxPyEndAllowThreads(__tstate);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
17727 resultobj = PyInt_FromLong((long)result);
17728 return resultobj;
17729 fail:
17730 return NULL;
17731 }
17732
17733
17734 static PyObject *_wrap_ListCtrl_GetViewRect(PyObject *self, PyObject *args, PyObject *kwargs) {
17735 PyObject *resultobj;
17736 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17737 wxRect result;
17738 PyObject * obj0 = 0 ;
17739 char *kwnames[] = {
17740 (char *) "self", NULL
17741 };
17742
17743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetViewRect",kwnames,&obj0)) goto fail;
17744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17745 {
17746 PyThreadState* __tstate = wxPyBeginAllowThreads();
17747 result = ((wxPyListCtrl const *)arg1)->GetViewRect();
17748
17749 wxPyEndAllowThreads(__tstate);
17750 if (PyErr_Occurred()) SWIG_fail;
17751 }
17752 {
17753 wxRect * resultptr;
17754 resultptr = new wxRect((wxRect &) result);
17755 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
17756 }
17757 return resultobj;
17758 fail:
17759 return NULL;
17760 }
17761
17762
17763 static PyObject *_wrap_ListCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
17764 PyObject *resultobj;
17765 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17766 wxTextCtrl *result;
17767 PyObject * obj0 = 0 ;
17768 char *kwnames[] = {
17769 (char *) "self", NULL
17770 };
17771
17772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetEditControl",kwnames,&obj0)) goto fail;
17773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17774 {
17775 PyThreadState* __tstate = wxPyBeginAllowThreads();
17776 result = (wxTextCtrl *)((wxPyListCtrl const *)arg1)->GetEditControl();
17777
17778 wxPyEndAllowThreads(__tstate);
17779 if (PyErr_Occurred()) SWIG_fail;
17780 }
17781 {
17782 resultobj = wxPyMake_wxObject(result);
17783 }
17784 return resultobj;
17785 fail:
17786 return NULL;
17787 }
17788
17789
17790 static PyObject *_wrap_ListCtrl_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17791 PyObject *resultobj;
17792 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17793 long arg2 ;
17794 int arg3 = (int) 0 ;
17795 wxListItem *result;
17796 PyObject * obj0 = 0 ;
17797 char *kwnames[] = {
17798 (char *) "self",(char *) "itemId",(char *) "col", NULL
17799 };
17800
17801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
17802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17803 {
17804 PyThreadState* __tstate = wxPyBeginAllowThreads();
17805 result = (wxListItem *)wxPyListCtrl_GetItem(arg1,arg2,arg3);
17806
17807 wxPyEndAllowThreads(__tstate);
17808 if (PyErr_Occurred()) SWIG_fail;
17809 }
17810 {
17811 resultobj = wxPyMake_wxObject(result);
17812 }
17813 return resultobj;
17814 fail:
17815 return NULL;
17816 }
17817
17818
17819 static PyObject *_wrap_ListCtrl_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17820 PyObject *resultobj;
17821 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17822 wxListItem *arg2 = 0 ;
17823 bool result;
17824 PyObject * obj0 = 0 ;
17825 PyObject * obj1 = 0 ;
17826 char *kwnames[] = {
17827 (char *) "self",(char *) "info", NULL
17828 };
17829
17830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetItem",kwnames,&obj0,&obj1)) goto fail;
17831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17832 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17833 if (arg2 == NULL) {
17834 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17835 }
17836 {
17837 PyThreadState* __tstate = wxPyBeginAllowThreads();
17838 result = (bool)(arg1)->SetItem(*arg2);
17839
17840 wxPyEndAllowThreads(__tstate);
17841 if (PyErr_Occurred()) SWIG_fail;
17842 }
17843 resultobj = PyInt_FromLong((long)result);
17844 return resultobj;
17845 fail:
17846 return NULL;
17847 }
17848
17849
17850 static PyObject *_wrap_ListCtrl_SetStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
17851 PyObject *resultobj;
17852 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17853 long arg2 ;
17854 int arg3 ;
17855 wxString *arg4 = 0 ;
17856 int arg5 = (int) -1 ;
17857 long result;
17858 bool temp4 = False ;
17859 PyObject * obj0 = 0 ;
17860 PyObject * obj3 = 0 ;
17861 char *kwnames[] = {
17862 (char *) "self",(char *) "index",(char *) "col",(char *) "label",(char *) "imageId", NULL
17863 };
17864
17865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliO|i:ListCtrl_SetStringItem",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5)) goto fail;
17866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17867 {
17868 arg4 = wxString_in_helper(obj3);
17869 if (arg4 == NULL) SWIG_fail;
17870 temp4 = True;
17871 }
17872 {
17873 PyThreadState* __tstate = wxPyBeginAllowThreads();
17874 result = (long)(arg1)->SetItem(arg2,arg3,(wxString const &)*arg4,arg5);
17875
17876 wxPyEndAllowThreads(__tstate);
17877 if (PyErr_Occurred()) SWIG_fail;
17878 }
17879 resultobj = PyInt_FromLong((long)result);
17880 {
17881 if (temp4)
17882 delete arg4;
17883 }
17884 return resultobj;
17885 fail:
17886 {
17887 if (temp4)
17888 delete arg4;
17889 }
17890 return NULL;
17891 }
17892
17893
17894 static PyObject *_wrap_ListCtrl_GetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17895 PyObject *resultobj;
17896 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17897 long arg2 ;
17898 long arg3 ;
17899 int result;
17900 PyObject * obj0 = 0 ;
17901 char *kwnames[] = {
17902 (char *) "self",(char *) "item",(char *) "stateMask", NULL
17903 };
17904
17905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_GetItemState",kwnames,&obj0,&arg2,&arg3)) goto fail;
17906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17907 {
17908 PyThreadState* __tstate = wxPyBeginAllowThreads();
17909 result = (int)((wxPyListCtrl const *)arg1)->GetItemState(arg2,arg3);
17910
17911 wxPyEndAllowThreads(__tstate);
17912 if (PyErr_Occurred()) SWIG_fail;
17913 }
17914 resultobj = PyInt_FromLong((long)result);
17915 return resultobj;
17916 fail:
17917 return NULL;
17918 }
17919
17920
17921 static PyObject *_wrap_ListCtrl_SetItemState(PyObject *self, PyObject *args, PyObject *kwargs) {
17922 PyObject *resultobj;
17923 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17924 long arg2 ;
17925 long arg3 ;
17926 long arg4 ;
17927 bool result;
17928 PyObject * obj0 = 0 ;
17929 char *kwnames[] = {
17930 (char *) "self",(char *) "item",(char *) "state",(char *) "stateMask", NULL
17931 };
17932
17933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olll:ListCtrl_SetItemState",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17935 {
17936 PyThreadState* __tstate = wxPyBeginAllowThreads();
17937 result = (bool)(arg1)->SetItemState(arg2,arg3,arg4);
17938
17939 wxPyEndAllowThreads(__tstate);
17940 if (PyErr_Occurred()) SWIG_fail;
17941 }
17942 resultobj = PyInt_FromLong((long)result);
17943 return resultobj;
17944 fail:
17945 return NULL;
17946 }
17947
17948
17949 static PyObject *_wrap_ListCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
17950 PyObject *resultobj;
17951 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17952 long arg2 ;
17953 int arg3 ;
17954 int arg4 ;
17955 bool result;
17956 PyObject * obj0 = 0 ;
17957 char *kwnames[] = {
17958 (char *) "self",(char *) "item",(char *) "image",(char *) "selImage", NULL
17959 };
17960
17961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Olii:ListCtrl_SetItemImage",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
17962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 result = (bool)(arg1)->SetItemImage(arg2,arg3,arg4);
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 resultobj = PyInt_FromLong((long)result);
17971 return resultobj;
17972 fail:
17973 return NULL;
17974 }
17975
17976
17977 static PyObject *_wrap_ListCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
17978 PyObject *resultobj;
17979 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
17980 long arg2 ;
17981 wxString result;
17982 PyObject * obj0 = 0 ;
17983 char *kwnames[] = {
17984 (char *) "self",(char *) "item", NULL
17985 };
17986
17987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemText",kwnames,&obj0,&arg2)) goto fail;
17988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17989 {
17990 PyThreadState* __tstate = wxPyBeginAllowThreads();
17991 result = ((wxPyListCtrl const *)arg1)->GetItemText(arg2);
17992
17993 wxPyEndAllowThreads(__tstate);
17994 if (PyErr_Occurred()) SWIG_fail;
17995 }
17996 {
17997 #if wxUSE_UNICODE
17998 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
17999 #else
18000 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18001 #endif
18002 }
18003 return resultobj;
18004 fail:
18005 return NULL;
18006 }
18007
18008
18009 static PyObject *_wrap_ListCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
18010 PyObject *resultobj;
18011 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18012 long arg2 ;
18013 wxString *arg3 = 0 ;
18014 bool temp3 = False ;
18015 PyObject * obj0 = 0 ;
18016 PyObject * obj2 = 0 ;
18017 char *kwnames[] = {
18018 (char *) "self",(char *) "item",(char *) "str", NULL
18019 };
18020
18021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemText",kwnames,&obj0,&arg2,&obj2)) goto fail;
18022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18023 {
18024 arg3 = wxString_in_helper(obj2);
18025 if (arg3 == NULL) SWIG_fail;
18026 temp3 = True;
18027 }
18028 {
18029 PyThreadState* __tstate = wxPyBeginAllowThreads();
18030 (arg1)->SetItemText(arg2,(wxString const &)*arg3);
18031
18032 wxPyEndAllowThreads(__tstate);
18033 if (PyErr_Occurred()) SWIG_fail;
18034 }
18035 Py_INCREF(Py_None); resultobj = Py_None;
18036 {
18037 if (temp3)
18038 delete arg3;
18039 }
18040 return resultobj;
18041 fail:
18042 {
18043 if (temp3)
18044 delete arg3;
18045 }
18046 return NULL;
18047 }
18048
18049
18050 static PyObject *_wrap_ListCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18051 PyObject *resultobj;
18052 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18053 long arg2 ;
18054 long result;
18055 PyObject * obj0 = 0 ;
18056 char *kwnames[] = {
18057 (char *) "self",(char *) "item", NULL
18058 };
18059
18060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemData",kwnames,&obj0,&arg2)) goto fail;
18061 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18062 {
18063 PyThreadState* __tstate = wxPyBeginAllowThreads();
18064 result = (long)((wxPyListCtrl const *)arg1)->GetItemData(arg2);
18065
18066 wxPyEndAllowThreads(__tstate);
18067 if (PyErr_Occurred()) SWIG_fail;
18068 }
18069 resultobj = PyInt_FromLong((long)result);
18070 return resultobj;
18071 fail:
18072 return NULL;
18073 }
18074
18075
18076 static PyObject *_wrap_ListCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18077 PyObject *resultobj;
18078 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18079 long arg2 ;
18080 long arg3 ;
18081 bool result;
18082 PyObject * obj0 = 0 ;
18083 char *kwnames[] = {
18084 (char *) "self",(char *) "item",(char *) "data", NULL
18085 };
18086
18087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_SetItemData",kwnames,&obj0,&arg2,&arg3)) 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 = (bool)(arg1)->SetItemData(arg2,arg3);
18092
18093 wxPyEndAllowThreads(__tstate);
18094 if (PyErr_Occurred()) SWIG_fail;
18095 }
18096 resultobj = PyInt_FromLong((long)result);
18097 return resultobj;
18098 fail:
18099 return NULL;
18100 }
18101
18102
18103 static PyObject *_wrap_ListCtrl_GetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18104 PyObject *resultobj;
18105 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18106 long arg2 ;
18107 wxPoint result;
18108 PyObject * obj0 = 0 ;
18109 char *kwnames[] = {
18110 (char *) "self",(char *) "item", NULL
18111 };
18112
18113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemPosition",kwnames,&obj0,&arg2)) goto fail;
18114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18115 {
18116 PyThreadState* __tstate = wxPyBeginAllowThreads();
18117 result = wxPyListCtrl_GetItemPosition(arg1,arg2);
18118
18119 wxPyEndAllowThreads(__tstate);
18120 if (PyErr_Occurred()) SWIG_fail;
18121 }
18122 {
18123 wxPoint * resultptr;
18124 resultptr = new wxPoint((wxPoint &) result);
18125 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18126 }
18127 return resultobj;
18128 fail:
18129 return NULL;
18130 }
18131
18132
18133 static PyObject *_wrap_ListCtrl_GetItemRect(PyObject *self, PyObject *args, PyObject *kwargs) {
18134 PyObject *resultobj;
18135 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18136 long arg2 ;
18137 int arg3 = (int) wxLIST_RECT_BOUNDS ;
18138 wxRect result;
18139 PyObject * obj0 = 0 ;
18140 char *kwnames[] = {
18141 (char *) "self",(char *) "item",(char *) "code", NULL
18142 };
18143
18144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|i:ListCtrl_GetItemRect",kwnames,&obj0,&arg2,&arg3)) goto fail;
18145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18146 {
18147 PyThreadState* __tstate = wxPyBeginAllowThreads();
18148 result = wxPyListCtrl_GetItemRect(arg1,arg2,arg3);
18149
18150 wxPyEndAllowThreads(__tstate);
18151 if (PyErr_Occurred()) SWIG_fail;
18152 }
18153 {
18154 wxRect * resultptr;
18155 resultptr = new wxRect((wxRect &) result);
18156 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
18157 }
18158 return resultobj;
18159 fail:
18160 return NULL;
18161 }
18162
18163
18164 static PyObject *_wrap_ListCtrl_SetItemPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
18165 PyObject *resultobj;
18166 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18167 long arg2 ;
18168 wxPoint *arg3 = 0 ;
18169 bool result;
18170 wxPoint temp3 ;
18171 PyObject * obj0 = 0 ;
18172 PyObject * obj2 = 0 ;
18173 char *kwnames[] = {
18174 (char *) "self",(char *) "item",(char *) "pos", NULL
18175 };
18176
18177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
18178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18179 {
18180 arg3 = &temp3;
18181 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18182 }
18183 {
18184 PyThreadState* __tstate = wxPyBeginAllowThreads();
18185 result = (bool)(arg1)->SetItemPosition(arg2,(wxPoint const &)*arg3);
18186
18187 wxPyEndAllowThreads(__tstate);
18188 if (PyErr_Occurred()) SWIG_fail;
18189 }
18190 resultobj = PyInt_FromLong((long)result);
18191 return resultobj;
18192 fail:
18193 return NULL;
18194 }
18195
18196
18197 static PyObject *_wrap_ListCtrl_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18198 PyObject *resultobj;
18199 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18200 int result;
18201 PyObject * obj0 = 0 ;
18202 char *kwnames[] = {
18203 (char *) "self", NULL
18204 };
18205
18206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemCount",kwnames,&obj0)) goto fail;
18207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18208 {
18209 PyThreadState* __tstate = wxPyBeginAllowThreads();
18210 result = (int)((wxPyListCtrl const *)arg1)->GetItemCount();
18211
18212 wxPyEndAllowThreads(__tstate);
18213 if (PyErr_Occurred()) SWIG_fail;
18214 }
18215 resultobj = PyInt_FromLong((long)result);
18216 return resultobj;
18217 fail:
18218 return NULL;
18219 }
18220
18221
18222 static PyObject *_wrap_ListCtrl_GetColumnCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18223 PyObject *resultobj;
18224 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18225 int result;
18226 PyObject * obj0 = 0 ;
18227 char *kwnames[] = {
18228 (char *) "self", NULL
18229 };
18230
18231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetColumnCount",kwnames,&obj0)) goto fail;
18232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18233 {
18234 PyThreadState* __tstate = wxPyBeginAllowThreads();
18235 result = (int)((wxPyListCtrl const *)arg1)->GetColumnCount();
18236
18237 wxPyEndAllowThreads(__tstate);
18238 if (PyErr_Occurred()) SWIG_fail;
18239 }
18240 resultobj = PyInt_FromLong((long)result);
18241 return resultobj;
18242 fail:
18243 return NULL;
18244 }
18245
18246
18247 static PyObject *_wrap_ListCtrl_GetItemSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
18248 PyObject *resultobj;
18249 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18250 wxSize result;
18251 PyObject * obj0 = 0 ;
18252 char *kwnames[] = {
18253 (char *) "self", NULL
18254 };
18255
18256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetItemSpacing",kwnames,&obj0)) goto fail;
18257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18258 {
18259 PyThreadState* __tstate = wxPyBeginAllowThreads();
18260 result = ((wxPyListCtrl const *)arg1)->GetItemSpacing();
18261
18262 wxPyEndAllowThreads(__tstate);
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
18265 {
18266 wxSize * resultptr;
18267 resultptr = new wxSize((wxSize &) result);
18268 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18269 }
18270 return resultobj;
18271 fail:
18272 return NULL;
18273 }
18274
18275
18276 static PyObject *_wrap_ListCtrl_GetSelectedItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
18277 PyObject *resultobj;
18278 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18279 int result;
18280 PyObject * obj0 = 0 ;
18281 char *kwnames[] = {
18282 (char *) "self", NULL
18283 };
18284
18285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetSelectedItemCount",kwnames,&obj0)) goto fail;
18286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18287 {
18288 PyThreadState* __tstate = wxPyBeginAllowThreads();
18289 result = (int)((wxPyListCtrl const *)arg1)->GetSelectedItemCount();
18290
18291 wxPyEndAllowThreads(__tstate);
18292 if (PyErr_Occurred()) SWIG_fail;
18293 }
18294 resultobj = PyInt_FromLong((long)result);
18295 return resultobj;
18296 fail:
18297 return NULL;
18298 }
18299
18300
18301 static PyObject *_wrap_ListCtrl_GetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18302 PyObject *resultobj;
18303 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18304 wxColour result;
18305 PyObject * obj0 = 0 ;
18306 char *kwnames[] = {
18307 (char *) "self", NULL
18308 };
18309
18310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTextColour",kwnames,&obj0)) goto fail;
18311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18312 {
18313 PyThreadState* __tstate = wxPyBeginAllowThreads();
18314 result = ((wxPyListCtrl const *)arg1)->GetTextColour();
18315
18316 wxPyEndAllowThreads(__tstate);
18317 if (PyErr_Occurred()) SWIG_fail;
18318 }
18319 {
18320 wxColour * resultptr;
18321 resultptr = new wxColour((wxColour &) result);
18322 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
18323 }
18324 return resultobj;
18325 fail:
18326 return NULL;
18327 }
18328
18329
18330 static PyObject *_wrap_ListCtrl_SetTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
18331 PyObject *resultobj;
18332 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18333 wxColour *arg2 = 0 ;
18334 wxColour temp2 ;
18335 PyObject * obj0 = 0 ;
18336 PyObject * obj1 = 0 ;
18337 char *kwnames[] = {
18338 (char *) "self",(char *) "col", NULL
18339 };
18340
18341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SetTextColour",kwnames,&obj0,&obj1)) goto fail;
18342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18343 {
18344 arg2 = &temp2;
18345 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
18346 }
18347 {
18348 PyThreadState* __tstate = wxPyBeginAllowThreads();
18349 (arg1)->SetTextColour((wxColour const &)*arg2);
18350
18351 wxPyEndAllowThreads(__tstate);
18352 if (PyErr_Occurred()) SWIG_fail;
18353 }
18354 Py_INCREF(Py_None); resultobj = Py_None;
18355 return resultobj;
18356 fail:
18357 return NULL;
18358 }
18359
18360
18361 static PyObject *_wrap_ListCtrl_GetTopItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18362 PyObject *resultobj;
18363 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18364 long result;
18365 PyObject * obj0 = 0 ;
18366 char *kwnames[] = {
18367 (char *) "self", NULL
18368 };
18369
18370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetTopItem",kwnames,&obj0)) goto fail;
18371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18372 {
18373 PyThreadState* __tstate = wxPyBeginAllowThreads();
18374 result = (long)((wxPyListCtrl const *)arg1)->GetTopItem();
18375
18376 wxPyEndAllowThreads(__tstate);
18377 if (PyErr_Occurred()) SWIG_fail;
18378 }
18379 resultobj = PyInt_FromLong((long)result);
18380 return resultobj;
18381 fail:
18382 return NULL;
18383 }
18384
18385
18386 static PyObject *_wrap_ListCtrl_SetSingleStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
18387 PyObject *resultobj;
18388 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18389 long arg2 ;
18390 bool arg3 = (bool) True ;
18391 PyObject * obj0 = 0 ;
18392 PyObject * obj2 = 0 ;
18393 char *kwnames[] = {
18394 (char *) "self",(char *) "style",(char *) "add", NULL
18395 };
18396
18397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListCtrl_SetSingleStyle",kwnames,&obj0,&arg2,&obj2)) goto fail;
18398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18399 if (obj2) {
18400 arg3 = PyInt_AsLong(obj2) ? true : false;
18401 if (PyErr_Occurred()) SWIG_fail;
18402 }
18403 {
18404 PyThreadState* __tstate = wxPyBeginAllowThreads();
18405 (arg1)->SetSingleStyle(arg2,arg3);
18406
18407 wxPyEndAllowThreads(__tstate);
18408 if (PyErr_Occurred()) SWIG_fail;
18409 }
18410 Py_INCREF(Py_None); resultobj = Py_None;
18411 return resultobj;
18412 fail:
18413 return NULL;
18414 }
18415
18416
18417 static PyObject *_wrap_ListCtrl_SetWindowStyleFlag(PyObject *self, PyObject *args, PyObject *kwargs) {
18418 PyObject *resultobj;
18419 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18420 long arg2 ;
18421 PyObject * obj0 = 0 ;
18422 char *kwnames[] = {
18423 (char *) "self",(char *) "style", NULL
18424 };
18425
18426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetWindowStyleFlag",kwnames,&obj0,&arg2)) goto fail;
18427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18428 {
18429 PyThreadState* __tstate = wxPyBeginAllowThreads();
18430 (arg1)->SetWindowStyleFlag(arg2);
18431
18432 wxPyEndAllowThreads(__tstate);
18433 if (PyErr_Occurred()) SWIG_fail;
18434 }
18435 Py_INCREF(Py_None); resultobj = Py_None;
18436 return resultobj;
18437 fail:
18438 return NULL;
18439 }
18440
18441
18442 static PyObject *_wrap_ListCtrl_GetNextItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18443 PyObject *resultobj;
18444 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18445 long arg2 ;
18446 int arg3 = (int) wxLIST_NEXT_ALL ;
18447 int arg4 = (int) wxLIST_STATE_DONTCARE ;
18448 long result;
18449 PyObject * obj0 = 0 ;
18450 char *kwnames[] = {
18451 (char *) "self",(char *) "item",(char *) "geometry",(char *) "state", NULL
18452 };
18453
18454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|ii:ListCtrl_GetNextItem",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
18455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18456 {
18457 PyThreadState* __tstate = wxPyBeginAllowThreads();
18458 result = (long)((wxPyListCtrl const *)arg1)->GetNextItem(arg2,arg3,arg4);
18459
18460 wxPyEndAllowThreads(__tstate);
18461 if (PyErr_Occurred()) SWIG_fail;
18462 }
18463 resultobj = PyInt_FromLong((long)result);
18464 return resultobj;
18465 fail:
18466 return NULL;
18467 }
18468
18469
18470 static PyObject *_wrap_ListCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18471 PyObject *resultobj;
18472 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18473 int arg2 ;
18474 wxImageList *result;
18475 PyObject * obj0 = 0 ;
18476 char *kwnames[] = {
18477 (char *) "self",(char *) "which", NULL
18478 };
18479
18480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_GetImageList",kwnames,&obj0,&arg2)) goto fail;
18481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18482 {
18483 PyThreadState* __tstate = wxPyBeginAllowThreads();
18484 result = (wxImageList *)((wxPyListCtrl const *)arg1)->GetImageList(arg2);
18485
18486 wxPyEndAllowThreads(__tstate);
18487 if (PyErr_Occurred()) SWIG_fail;
18488 }
18489 {
18490 resultobj = wxPyMake_wxObject(result);
18491 }
18492 return resultobj;
18493 fail:
18494 return NULL;
18495 }
18496
18497
18498 static PyObject *_wrap_ListCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18499 PyObject *resultobj;
18500 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18501 wxImageList *arg2 = (wxImageList *) 0 ;
18502 int arg3 ;
18503 PyObject * obj0 = 0 ;
18504 PyObject * obj1 = 0 ;
18505 char *kwnames[] = {
18506 (char *) "self",(char *) "imageList",(char *) "which", NULL
18507 };
18508
18509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_SetImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18511 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18512 {
18513 PyThreadState* __tstate = wxPyBeginAllowThreads();
18514 (arg1)->SetImageList(arg2,arg3);
18515
18516 wxPyEndAllowThreads(__tstate);
18517 if (PyErr_Occurred()) SWIG_fail;
18518 }
18519 Py_INCREF(Py_None); resultobj = Py_None;
18520 return resultobj;
18521 fail:
18522 return NULL;
18523 }
18524
18525
18526 static PyObject *_wrap_ListCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
18527 PyObject *resultobj;
18528 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18529 wxImageList *arg2 = (wxImageList *) 0 ;
18530 int arg3 ;
18531 PyObject * obj0 = 0 ;
18532 PyObject * obj1 = 0 ;
18533 char *kwnames[] = {
18534 (char *) "self",(char *) "imageList",(char *) "which", NULL
18535 };
18536
18537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:ListCtrl_AssignImageList",kwnames,&obj0,&obj1,&arg3)) goto fail;
18538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18539 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18540 {
18541 PyThreadState* __tstate = wxPyBeginAllowThreads();
18542 (arg1)->AssignImageList(arg2,arg3);
18543
18544 wxPyEndAllowThreads(__tstate);
18545 if (PyErr_Occurred()) SWIG_fail;
18546 }
18547 Py_INCREF(Py_None); resultobj = Py_None;
18548 return resultobj;
18549 fail:
18550 return NULL;
18551 }
18552
18553
18554 static PyObject *_wrap_ListCtrl_IsVirtual(PyObject *self, PyObject *args, PyObject *kwargs) {
18555 PyObject *resultobj;
18556 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18557 bool result;
18558 PyObject * obj0 = 0 ;
18559 char *kwnames[] = {
18560 (char *) "self", NULL
18561 };
18562
18563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_IsVirtual",kwnames,&obj0)) goto fail;
18564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18565 {
18566 PyThreadState* __tstate = wxPyBeginAllowThreads();
18567 result = (bool)((wxPyListCtrl const *)arg1)->IsVirtual();
18568
18569 wxPyEndAllowThreads(__tstate);
18570 if (PyErr_Occurred()) SWIG_fail;
18571 }
18572 resultobj = PyInt_FromLong((long)result);
18573 return resultobj;
18574 fail:
18575 return NULL;
18576 }
18577
18578
18579 static PyObject *_wrap_ListCtrl_RefreshItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18580 PyObject *resultobj;
18581 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18582 long arg2 ;
18583 PyObject * obj0 = 0 ;
18584 char *kwnames[] = {
18585 (char *) "self",(char *) "item", NULL
18586 };
18587
18588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_RefreshItem",kwnames,&obj0,&arg2)) goto fail;
18589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18590 {
18591 PyThreadState* __tstate = wxPyBeginAllowThreads();
18592 (arg1)->RefreshItem(arg2);
18593
18594 wxPyEndAllowThreads(__tstate);
18595 if (PyErr_Occurred()) SWIG_fail;
18596 }
18597 Py_INCREF(Py_None); resultobj = Py_None;
18598 return resultobj;
18599 fail:
18600 return NULL;
18601 }
18602
18603
18604 static PyObject *_wrap_ListCtrl_RefreshItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18605 PyObject *resultobj;
18606 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18607 long arg2 ;
18608 long arg3 ;
18609 PyObject * obj0 = 0 ;
18610 char *kwnames[] = {
18611 (char *) "self",(char *) "itemFrom",(char *) "itemTo", NULL
18612 };
18613
18614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_RefreshItems",kwnames,&obj0,&arg2,&arg3)) goto fail;
18615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18616 {
18617 PyThreadState* __tstate = wxPyBeginAllowThreads();
18618 (arg1)->RefreshItems(arg2,arg3);
18619
18620 wxPyEndAllowThreads(__tstate);
18621 if (PyErr_Occurred()) SWIG_fail;
18622 }
18623 Py_INCREF(Py_None); resultobj = Py_None;
18624 return resultobj;
18625 fail:
18626 return NULL;
18627 }
18628
18629
18630 static PyObject *_wrap_ListCtrl_Arrange(PyObject *self, PyObject *args, PyObject *kwargs) {
18631 PyObject *resultobj;
18632 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18633 int arg2 = (int) wxLIST_ALIGN_DEFAULT ;
18634 bool result;
18635 PyObject * obj0 = 0 ;
18636 char *kwnames[] = {
18637 (char *) "self",(char *) "flag", NULL
18638 };
18639
18640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:ListCtrl_Arrange",kwnames,&obj0,&arg2)) goto fail;
18641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18642 {
18643 PyThreadState* __tstate = wxPyBeginAllowThreads();
18644 result = (bool)(arg1)->Arrange(arg2);
18645
18646 wxPyEndAllowThreads(__tstate);
18647 if (PyErr_Occurred()) SWIG_fail;
18648 }
18649 resultobj = PyInt_FromLong((long)result);
18650 return resultobj;
18651 fail:
18652 return NULL;
18653 }
18654
18655
18656 static PyObject *_wrap_ListCtrl_DeleteItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj;
18658 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18659 long arg2 ;
18660 bool result;
18661 PyObject * obj0 = 0 ;
18662 char *kwnames[] = {
18663 (char *) "self",(char *) "item", NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_DeleteItem",kwnames,&obj0,&arg2)) goto fail;
18667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18668 {
18669 PyThreadState* __tstate = wxPyBeginAllowThreads();
18670 result = (bool)(arg1)->DeleteItem(arg2);
18671
18672 wxPyEndAllowThreads(__tstate);
18673 if (PyErr_Occurred()) SWIG_fail;
18674 }
18675 resultobj = PyInt_FromLong((long)result);
18676 return resultobj;
18677 fail:
18678 return NULL;
18679 }
18680
18681
18682 static PyObject *_wrap_ListCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
18683 PyObject *resultobj;
18684 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18685 bool result;
18686 PyObject * obj0 = 0 ;
18687 char *kwnames[] = {
18688 (char *) "self", NULL
18689 };
18690
18691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
18692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18693 {
18694 PyThreadState* __tstate = wxPyBeginAllowThreads();
18695 result = (bool)(arg1)->DeleteAllItems();
18696
18697 wxPyEndAllowThreads(__tstate);
18698 if (PyErr_Occurred()) SWIG_fail;
18699 }
18700 resultobj = PyInt_FromLong((long)result);
18701 return resultobj;
18702 fail:
18703 return NULL;
18704 }
18705
18706
18707 static PyObject *_wrap_ListCtrl_DeleteColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
18708 PyObject *resultobj;
18709 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18710 int arg2 ;
18711 bool result;
18712 PyObject * obj0 = 0 ;
18713 char *kwnames[] = {
18714 (char *) "self",(char *) "col", NULL
18715 };
18716
18717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListCtrl_DeleteColumn",kwnames,&obj0,&arg2)) goto fail;
18718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 result = (bool)(arg1)->DeleteColumn(arg2);
18722
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 resultobj = PyInt_FromLong((long)result);
18727 return resultobj;
18728 fail:
18729 return NULL;
18730 }
18731
18732
18733 static PyObject *_wrap_ListCtrl_DeleteAllColumns(PyObject *self, PyObject *args, PyObject *kwargs) {
18734 PyObject *resultobj;
18735 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18736 bool result;
18737 PyObject * obj0 = 0 ;
18738 char *kwnames[] = {
18739 (char *) "self", NULL
18740 };
18741
18742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_DeleteAllColumns",kwnames,&obj0)) goto fail;
18743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18744 {
18745 PyThreadState* __tstate = wxPyBeginAllowThreads();
18746 result = (bool)(arg1)->DeleteAllColumns();
18747
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 resultobj = PyInt_FromLong((long)result);
18752 return resultobj;
18753 fail:
18754 return NULL;
18755 }
18756
18757
18758 static PyObject *_wrap_ListCtrl_ClearAll(PyObject *self, PyObject *args, PyObject *kwargs) {
18759 PyObject *resultobj;
18760 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18761 PyObject * obj0 = 0 ;
18762 char *kwnames[] = {
18763 (char *) "self", NULL
18764 };
18765
18766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_ClearAll",kwnames,&obj0)) goto fail;
18767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18768 {
18769 PyThreadState* __tstate = wxPyBeginAllowThreads();
18770 (arg1)->ClearAll();
18771
18772 wxPyEndAllowThreads(__tstate);
18773 if (PyErr_Occurred()) SWIG_fail;
18774 }
18775 Py_INCREF(Py_None); resultobj = Py_None;
18776 return resultobj;
18777 fail:
18778 return NULL;
18779 }
18780
18781
18782 static PyObject *_wrap_ListCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18783 PyObject *resultobj;
18784 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18785 long arg2 ;
18786 wxTextCtrl *result;
18787 PyObject * obj0 = 0 ;
18788 char *kwnames[] = {
18789 (char *) "self",(char *) "item", NULL
18790 };
18791
18792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EditLabel",kwnames,&obj0,&arg2)) goto fail;
18793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18794 {
18795 PyThreadState* __tstate = wxPyBeginAllowThreads();
18796 result = (wxTextCtrl *)(arg1)->EditLabel(arg2);
18797
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 {
18802 resultobj = wxPyMake_wxObject(result);
18803 }
18804 return resultobj;
18805 fail:
18806 return NULL;
18807 }
18808
18809
18810 static PyObject *_wrap_ListCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
18811 PyObject *resultobj;
18812 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18813 bool arg2 ;
18814 bool result;
18815 PyObject * obj0 = 0 ;
18816 PyObject * obj1 = 0 ;
18817 char *kwnames[] = {
18818 (char *) "self",(char *) "cancel", NULL
18819 };
18820
18821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_EndEditLabel",kwnames,&obj0,&obj1)) goto fail;
18822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18823 arg2 = PyInt_AsLong(obj1) ? true : false;
18824 if (PyErr_Occurred()) SWIG_fail;
18825 {
18826 PyThreadState* __tstate = wxPyBeginAllowThreads();
18827 result = (bool)(arg1)->EndEditLabel(arg2);
18828
18829 wxPyEndAllowThreads(__tstate);
18830 if (PyErr_Occurred()) SWIG_fail;
18831 }
18832 resultobj = PyInt_FromLong((long)result);
18833 return resultobj;
18834 fail:
18835 return NULL;
18836 }
18837
18838
18839 static PyObject *_wrap_ListCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
18840 PyObject *resultobj;
18841 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18842 long arg2 ;
18843 bool result;
18844 PyObject * obj0 = 0 ;
18845 char *kwnames[] = {
18846 (char *) "self",(char *) "item", NULL
18847 };
18848
18849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_EnsureVisible",kwnames,&obj0,&arg2)) goto fail;
18850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18851 {
18852 PyThreadState* __tstate = wxPyBeginAllowThreads();
18853 result = (bool)(arg1)->EnsureVisible(arg2);
18854
18855 wxPyEndAllowThreads(__tstate);
18856 if (PyErr_Occurred()) SWIG_fail;
18857 }
18858 resultobj = PyInt_FromLong((long)result);
18859 return resultobj;
18860 fail:
18861 return NULL;
18862 }
18863
18864
18865 static PyObject *_wrap_ListCtrl_FindItem(PyObject *self, PyObject *args, PyObject *kwargs) {
18866 PyObject *resultobj;
18867 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18868 long arg2 ;
18869 wxString *arg3 = 0 ;
18870 bool arg4 = (bool) False ;
18871 long result;
18872 bool temp3 = False ;
18873 PyObject * obj0 = 0 ;
18874 PyObject * obj2 = 0 ;
18875 PyObject * obj3 = 0 ;
18876 char *kwnames[] = {
18877 (char *) "self",(char *) "start",(char *) "str",(char *) "partial", NULL
18878 };
18879
18880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|O:ListCtrl_FindItem",kwnames,&obj0,&arg2,&obj2,&obj3)) goto fail;
18881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18882 {
18883 arg3 = wxString_in_helper(obj2);
18884 if (arg3 == NULL) SWIG_fail;
18885 temp3 = True;
18886 }
18887 if (obj3) {
18888 arg4 = PyInt_AsLong(obj3) ? true : false;
18889 if (PyErr_Occurred()) SWIG_fail;
18890 }
18891 {
18892 PyThreadState* __tstate = wxPyBeginAllowThreads();
18893 result = (long)(arg1)->FindItem(arg2,(wxString const &)*arg3,arg4);
18894
18895 wxPyEndAllowThreads(__tstate);
18896 if (PyErr_Occurred()) SWIG_fail;
18897 }
18898 resultobj = PyInt_FromLong((long)result);
18899 {
18900 if (temp3)
18901 delete arg3;
18902 }
18903 return resultobj;
18904 fail:
18905 {
18906 if (temp3)
18907 delete arg3;
18908 }
18909 return NULL;
18910 }
18911
18912
18913 static PyObject *_wrap_ListCtrl_FindItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
18914 PyObject *resultobj;
18915 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18916 long arg2 ;
18917 long arg3 ;
18918 long result;
18919 PyObject * obj0 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "self",(char *) "start",(char *) "data", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:ListCtrl_FindItemData",kwnames,&obj0,&arg2,&arg3)) goto fail;
18925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18926 {
18927 PyThreadState* __tstate = wxPyBeginAllowThreads();
18928 result = (long)(arg1)->FindItem(arg2,arg3);
18929
18930 wxPyEndAllowThreads(__tstate);
18931 if (PyErr_Occurred()) SWIG_fail;
18932 }
18933 resultobj = PyInt_FromLong((long)result);
18934 return resultobj;
18935 fail:
18936 return NULL;
18937 }
18938
18939
18940 static PyObject *_wrap_ListCtrl_FindItemAtPos(PyObject *self, PyObject *args, PyObject *kwargs) {
18941 PyObject *resultobj;
18942 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18943 long arg2 ;
18944 wxPoint *arg3 = 0 ;
18945 int arg4 ;
18946 long result;
18947 wxPoint temp3 ;
18948 PyObject * obj0 = 0 ;
18949 PyObject * obj2 = 0 ;
18950 char *kwnames[] = {
18951 (char *) "self",(char *) "start",(char *) "pt",(char *) "direction", NULL
18952 };
18953
18954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_FindItemAtPos",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
18955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18956 {
18957 arg3 = &temp3;
18958 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18959 }
18960 {
18961 PyThreadState* __tstate = wxPyBeginAllowThreads();
18962 result = (long)(arg1)->FindItem(arg2,(wxPoint const &)*arg3,arg4);
18963
18964 wxPyEndAllowThreads(__tstate);
18965 if (PyErr_Occurred()) SWIG_fail;
18966 }
18967 resultobj = PyInt_FromLong((long)result);
18968 return resultobj;
18969 fail:
18970 return NULL;
18971 }
18972
18973
18974 static PyObject *_wrap_ListCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
18975 PyObject *resultobj;
18976 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
18977 wxPoint *arg2 = 0 ;
18978 int *arg3 = 0 ;
18979 long result;
18980 wxPoint temp2 ;
18981 int temp3 ;
18982 PyObject * obj0 = 0 ;
18983 PyObject * obj1 = 0 ;
18984 char *kwnames[] = {
18985 (char *) "self",(char *) "point", NULL
18986 };
18987
18988 arg3 = &temp3;
18989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
18990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18991 {
18992 arg2 = &temp2;
18993 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18994 }
18995 {
18996 PyThreadState* __tstate = wxPyBeginAllowThreads();
18997 result = (long)(arg1)->HitTest((wxPoint const &)*arg2,*arg3);
18998
18999 wxPyEndAllowThreads(__tstate);
19000 if (PyErr_Occurred()) SWIG_fail;
19001 }
19002 resultobj = PyInt_FromLong((long)result);
19003 {
19004 PyObject *o = PyInt_FromLong((long) (*arg3));
19005 resultobj = t_output_helper(resultobj,o);
19006 }
19007 return resultobj;
19008 fail:
19009 return NULL;
19010 }
19011
19012
19013 static PyObject *_wrap_ListCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19014 PyObject *resultobj;
19015 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19016 wxListItem *arg2 = 0 ;
19017 long result;
19018 PyObject * obj0 = 0 ;
19019 PyObject * obj1 = 0 ;
19020 char *kwnames[] = {
19021 (char *) "self",(char *) "info", NULL
19022 };
19023
19024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_InsertItem",kwnames,&obj0,&obj1)) goto fail;
19025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19026 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19027 if (arg2 == NULL) {
19028 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19029 }
19030 {
19031 PyThreadState* __tstate = wxPyBeginAllowThreads();
19032 result = (long)(arg1)->InsertItem(*arg2);
19033
19034 wxPyEndAllowThreads(__tstate);
19035 if (PyErr_Occurred()) SWIG_fail;
19036 }
19037 resultobj = PyInt_FromLong((long)result);
19038 return resultobj;
19039 fail:
19040 return NULL;
19041 }
19042
19043
19044 static PyObject *_wrap_ListCtrl_InsertStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19045 PyObject *resultobj;
19046 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19047 long arg2 ;
19048 wxString *arg3 = 0 ;
19049 long result;
19050 bool temp3 = False ;
19051 PyObject * obj0 = 0 ;
19052 PyObject * obj2 = 0 ;
19053 char *kwnames[] = {
19054 (char *) "self",(char *) "index",(char *) "label", NULL
19055 };
19056
19057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertStringItem",kwnames,&obj0,&arg2,&obj2)) goto fail;
19058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19059 {
19060 arg3 = wxString_in_helper(obj2);
19061 if (arg3 == NULL) SWIG_fail;
19062 temp3 = True;
19063 }
19064 {
19065 PyThreadState* __tstate = wxPyBeginAllowThreads();
19066 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3);
19067
19068 wxPyEndAllowThreads(__tstate);
19069 if (PyErr_Occurred()) SWIG_fail;
19070 }
19071 resultobj = PyInt_FromLong((long)result);
19072 {
19073 if (temp3)
19074 delete arg3;
19075 }
19076 return resultobj;
19077 fail:
19078 {
19079 if (temp3)
19080 delete arg3;
19081 }
19082 return NULL;
19083 }
19084
19085
19086 static PyObject *_wrap_ListCtrl_InsertImageItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19087 PyObject *resultobj;
19088 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19089 long arg2 ;
19090 int arg3 ;
19091 long result;
19092 PyObject * obj0 = 0 ;
19093 char *kwnames[] = {
19094 (char *) "self",(char *) "index",(char *) "imageIndex", NULL
19095 };
19096
19097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oli:ListCtrl_InsertImageItem",kwnames,&obj0,&arg2,&arg3)) goto fail;
19098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19099 {
19100 PyThreadState* __tstate = wxPyBeginAllowThreads();
19101 result = (long)(arg1)->InsertItem(arg2,arg3);
19102
19103 wxPyEndAllowThreads(__tstate);
19104 if (PyErr_Occurred()) SWIG_fail;
19105 }
19106 resultobj = PyInt_FromLong((long)result);
19107 return resultobj;
19108 fail:
19109 return NULL;
19110 }
19111
19112
19113 static PyObject *_wrap_ListCtrl_InsertImageStringItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19114 PyObject *resultobj;
19115 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19116 long arg2 ;
19117 wxString *arg3 = 0 ;
19118 int arg4 ;
19119 long result;
19120 bool temp3 = False ;
19121 PyObject * obj0 = 0 ;
19122 PyObject * obj2 = 0 ;
19123 char *kwnames[] = {
19124 (char *) "self",(char *) "index",(char *) "label",(char *) "imageIndex", NULL
19125 };
19126
19127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlOi:ListCtrl_InsertImageStringItem",kwnames,&obj0,&arg2,&obj2,&arg4)) goto fail;
19128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19129 {
19130 arg3 = wxString_in_helper(obj2);
19131 if (arg3 == NULL) SWIG_fail;
19132 temp3 = True;
19133 }
19134 {
19135 PyThreadState* __tstate = wxPyBeginAllowThreads();
19136 result = (long)(arg1)->InsertItem(arg2,(wxString const &)*arg3,arg4);
19137
19138 wxPyEndAllowThreads(__tstate);
19139 if (PyErr_Occurred()) SWIG_fail;
19140 }
19141 resultobj = PyInt_FromLong((long)result);
19142 {
19143 if (temp3)
19144 delete arg3;
19145 }
19146 return resultobj;
19147 fail:
19148 {
19149 if (temp3)
19150 delete arg3;
19151 }
19152 return NULL;
19153 }
19154
19155
19156 static PyObject *_wrap_ListCtrl_InsertColumnInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19157 PyObject *resultobj;
19158 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19159 long arg2 ;
19160 wxListItem *arg3 = 0 ;
19161 long result;
19162 PyObject * obj0 = 0 ;
19163 PyObject * obj2 = 0 ;
19164 char *kwnames[] = {
19165 (char *) "self",(char *) "col",(char *) "info", NULL
19166 };
19167
19168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_InsertColumnInfo",kwnames,&obj0,&arg2,&obj2)) goto fail;
19169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19170 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxListItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19171 if (arg3 == NULL) {
19172 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19173 }
19174 {
19175 PyThreadState* __tstate = wxPyBeginAllowThreads();
19176 result = (long)(arg1)->InsertColumn(arg2,*arg3);
19177
19178 wxPyEndAllowThreads(__tstate);
19179 if (PyErr_Occurred()) SWIG_fail;
19180 }
19181 resultobj = PyInt_FromLong((long)result);
19182 return resultobj;
19183 fail:
19184 return NULL;
19185 }
19186
19187
19188 static PyObject *_wrap_ListCtrl_InsertColumn(PyObject *self, PyObject *args, PyObject *kwargs) {
19189 PyObject *resultobj;
19190 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19191 long arg2 ;
19192 wxString *arg3 = 0 ;
19193 int arg4 = (int) wxLIST_FORMAT_LEFT ;
19194 int arg5 = (int) -1 ;
19195 long result;
19196 bool temp3 = False ;
19197 PyObject * obj0 = 0 ;
19198 PyObject * obj2 = 0 ;
19199 char *kwnames[] = {
19200 (char *) "self",(char *) "col",(char *) "heading",(char *) "format",(char *) "width", NULL
19201 };
19202
19203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|ii:ListCtrl_InsertColumn",kwnames,&obj0,&arg2,&obj2,&arg4,&arg5)) goto fail;
19204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19205 {
19206 arg3 = wxString_in_helper(obj2);
19207 if (arg3 == NULL) SWIG_fail;
19208 temp3 = True;
19209 }
19210 {
19211 PyThreadState* __tstate = wxPyBeginAllowThreads();
19212 result = (long)(arg1)->InsertColumn(arg2,(wxString const &)*arg3,arg4,arg5);
19213
19214 wxPyEndAllowThreads(__tstate);
19215 if (PyErr_Occurred()) SWIG_fail;
19216 }
19217 resultobj = PyInt_FromLong((long)result);
19218 {
19219 if (temp3)
19220 delete arg3;
19221 }
19222 return resultobj;
19223 fail:
19224 {
19225 if (temp3)
19226 delete arg3;
19227 }
19228 return NULL;
19229 }
19230
19231
19232 static PyObject *_wrap_ListCtrl_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
19233 PyObject *resultobj;
19234 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19235 long arg2 ;
19236 PyObject * obj0 = 0 ;
19237 char *kwnames[] = {
19238 (char *) "self",(char *) "count", NULL
19239 };
19240
19241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_SetItemCount",kwnames,&obj0,&arg2)) goto fail;
19242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19243 {
19244 PyThreadState* __tstate = wxPyBeginAllowThreads();
19245 (arg1)->SetItemCount(arg2);
19246
19247 wxPyEndAllowThreads(__tstate);
19248 if (PyErr_Occurred()) SWIG_fail;
19249 }
19250 Py_INCREF(Py_None); resultobj = Py_None;
19251 return resultobj;
19252 fail:
19253 return NULL;
19254 }
19255
19256
19257 static PyObject *_wrap_ListCtrl_ScrollList(PyObject *self, PyObject *args, PyObject *kwargs) {
19258 PyObject *resultobj;
19259 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19260 int arg2 ;
19261 int arg3 ;
19262 bool result;
19263 PyObject * obj0 = 0 ;
19264 char *kwnames[] = {
19265 (char *) "self",(char *) "dx",(char *) "dy", NULL
19266 };
19267
19268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListCtrl_ScrollList",kwnames,&obj0,&arg2,&arg3)) goto fail;
19269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19270 {
19271 PyThreadState* __tstate = wxPyBeginAllowThreads();
19272 result = (bool)(arg1)->ScrollList(arg2,arg3);
19273
19274 wxPyEndAllowThreads(__tstate);
19275 if (PyErr_Occurred()) SWIG_fail;
19276 }
19277 resultobj = PyInt_FromLong((long)result);
19278 return resultobj;
19279 fail:
19280 return NULL;
19281 }
19282
19283
19284 static PyObject *_wrap_ListCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19285 PyObject *resultobj;
19286 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19287 long arg2 ;
19288 wxColour *arg3 = 0 ;
19289 wxColour temp3 ;
19290 PyObject * obj0 = 0 ;
19291 PyObject * obj2 = 0 ;
19292 char *kwnames[] = {
19293 (char *) "self",(char *) "item",(char *) "col", NULL
19294 };
19295
19296 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemTextColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19297 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19298 {
19299 arg3 = &temp3;
19300 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19301 }
19302 {
19303 PyThreadState* __tstate = wxPyBeginAllowThreads();
19304 (arg1)->SetItemTextColour(arg2,(wxColour const &)*arg3);
19305
19306 wxPyEndAllowThreads(__tstate);
19307 if (PyErr_Occurred()) SWIG_fail;
19308 }
19309 Py_INCREF(Py_None); resultobj = Py_None;
19310 return resultobj;
19311 fail:
19312 return NULL;
19313 }
19314
19315
19316 static PyObject *_wrap_ListCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19317 PyObject *resultobj;
19318 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19319 long arg2 ;
19320 wxColour result;
19321 PyObject * obj0 = 0 ;
19322 char *kwnames[] = {
19323 (char *) "self",(char *) "item", NULL
19324 };
19325
19326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemTextColour",kwnames,&obj0,&arg2)) goto fail;
19327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19328 {
19329 PyThreadState* __tstate = wxPyBeginAllowThreads();
19330 result = ((wxPyListCtrl const *)arg1)->GetItemTextColour(arg2);
19331
19332 wxPyEndAllowThreads(__tstate);
19333 if (PyErr_Occurred()) SWIG_fail;
19334 }
19335 {
19336 wxColour * resultptr;
19337 resultptr = new wxColour((wxColour &) result);
19338 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19339 }
19340 return resultobj;
19341 fail:
19342 return NULL;
19343 }
19344
19345
19346 static PyObject *_wrap_ListCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19347 PyObject *resultobj;
19348 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19349 long arg2 ;
19350 wxColour *arg3 = 0 ;
19351 wxColour temp3 ;
19352 PyObject * obj0 = 0 ;
19353 PyObject * obj2 = 0 ;
19354 char *kwnames[] = {
19355 (char *) "self",(char *) "item",(char *) "col", NULL
19356 };
19357
19358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO:ListCtrl_SetItemBackgroundColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
19359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19360 {
19361 arg3 = &temp3;
19362 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
19363 }
19364 {
19365 PyThreadState* __tstate = wxPyBeginAllowThreads();
19366 (arg1)->SetItemBackgroundColour(arg2,(wxColour const &)*arg3);
19367
19368 wxPyEndAllowThreads(__tstate);
19369 if (PyErr_Occurred()) SWIG_fail;
19370 }
19371 Py_INCREF(Py_None); resultobj = Py_None;
19372 return resultobj;
19373 fail:
19374 return NULL;
19375 }
19376
19377
19378 static PyObject *_wrap_ListCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
19379 PyObject *resultobj;
19380 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19381 long arg2 ;
19382 wxColour result;
19383 PyObject * obj0 = 0 ;
19384 char *kwnames[] = {
19385 (char *) "self",(char *) "item", NULL
19386 };
19387
19388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListCtrl_GetItemBackgroundColour",kwnames,&obj0,&arg2)) goto fail;
19389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19390 {
19391 PyThreadState* __tstate = wxPyBeginAllowThreads();
19392 result = ((wxPyListCtrl const *)arg1)->GetItemBackgroundColour(arg2);
19393
19394 wxPyEndAllowThreads(__tstate);
19395 if (PyErr_Occurred()) SWIG_fail;
19396 }
19397 {
19398 wxColour * resultptr;
19399 resultptr = new wxColour((wxColour &) result);
19400 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
19401 }
19402 return resultobj;
19403 fail:
19404 return NULL;
19405 }
19406
19407
19408 static PyObject *_wrap_ListCtrl_SortItems(PyObject *self, PyObject *args, PyObject *kwargs) {
19409 PyObject *resultobj;
19410 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19411 PyObject *arg2 = (PyObject *) 0 ;
19412 bool result;
19413 PyObject * obj0 = 0 ;
19414 PyObject * obj1 = 0 ;
19415 char *kwnames[] = {
19416 (char *) "self",(char *) "func", NULL
19417 };
19418
19419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ListCtrl_SortItems",kwnames,&obj0,&obj1)) goto fail;
19420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19421 arg2 = obj1;
19422 {
19423 PyThreadState* __tstate = wxPyBeginAllowThreads();
19424 result = (bool)wxPyListCtrl_SortItems(arg1,arg2);
19425
19426 wxPyEndAllowThreads(__tstate);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 }
19429 resultobj = PyInt_FromLong((long)result);
19430 return resultobj;
19431 fail:
19432 return NULL;
19433 }
19434
19435
19436 static PyObject *_wrap_ListCtrl_GetMainWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19437 PyObject *resultobj;
19438 wxPyListCtrl *arg1 = (wxPyListCtrl *) 0 ;
19439 wxWindow *result;
19440 PyObject * obj0 = 0 ;
19441 char *kwnames[] = {
19442 (char *) "self", NULL
19443 };
19444
19445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListCtrl_GetMainWindow",kwnames,&obj0)) goto fail;
19446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19447 {
19448 PyThreadState* __tstate = wxPyBeginAllowThreads();
19449 result = (wxWindow *)wxPyListCtrl_GetMainWindow(arg1);
19450
19451 wxPyEndAllowThreads(__tstate);
19452 if (PyErr_Occurred()) SWIG_fail;
19453 }
19454 {
19455 resultobj = wxPyMake_wxObject(result);
19456 }
19457 return resultobj;
19458 fail:
19459 return NULL;
19460 }
19461
19462
19463 static PyObject * ListCtrl_swigregister(PyObject *self, PyObject *args) {
19464 PyObject *obj;
19465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19466 SWIG_TypeClientData(SWIGTYPE_p_wxPyListCtrl, obj);
19467 Py_INCREF(obj);
19468 return Py_BuildValue((char *)"");
19469 }
19470 static PyObject *_wrap_new_ListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19471 PyObject *resultobj;
19472 wxWindow *arg1 = (wxWindow *) 0 ;
19473 int arg2 = (int) -1 ;
19474 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19475 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19476 wxSize const &arg4_defvalue = wxDefaultSize ;
19477 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19478 long arg5 = (long) wxLC_REPORT ;
19479 wxValidator const &arg6_defvalue = wxDefaultValidator ;
19480 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
19481 wxString const &arg7_defvalue = wxPyListCtrlNameStr ;
19482 wxString *arg7 = (wxString *) &arg7_defvalue ;
19483 wxListView *result;
19484 wxPoint temp3 ;
19485 wxSize temp4 ;
19486 bool temp7 = False ;
19487 PyObject * obj0 = 0 ;
19488 PyObject * obj2 = 0 ;
19489 PyObject * obj3 = 0 ;
19490 PyObject * obj5 = 0 ;
19491 PyObject * obj6 = 0 ;
19492 char *kwnames[] = {
19493 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19494 };
19495
19496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_ListView",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
19497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19498 if (obj2) {
19499 {
19500 arg3 = &temp3;
19501 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19502 }
19503 }
19504 if (obj3) {
19505 {
19506 arg4 = &temp4;
19507 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19508 }
19509 }
19510 if (obj5) {
19511 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19512 if (arg6 == NULL) {
19513 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19514 }
19515 }
19516 if (obj6) {
19517 {
19518 arg7 = wxString_in_helper(obj6);
19519 if (arg7 == NULL) SWIG_fail;
19520 temp7 = True;
19521 }
19522 }
19523 {
19524 PyThreadState* __tstate = wxPyBeginAllowThreads();
19525 result = (wxListView *)new wxListView(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
19526
19527 wxPyEndAllowThreads(__tstate);
19528 if (PyErr_Occurred()) SWIG_fail;
19529 }
19530 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19531 {
19532 if (temp7)
19533 delete arg7;
19534 }
19535 return resultobj;
19536 fail:
19537 {
19538 if (temp7)
19539 delete arg7;
19540 }
19541 return NULL;
19542 }
19543
19544
19545 static PyObject *_wrap_new_PreListView(PyObject *self, PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj;
19547 wxListView *result;
19548 char *kwnames[] = {
19549 NULL
19550 };
19551
19552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreListView",kwnames)) goto fail;
19553 {
19554 PyThreadState* __tstate = wxPyBeginAllowThreads();
19555 result = (wxListView *)new wxListView();
19556
19557 wxPyEndAllowThreads(__tstate);
19558 if (PyErr_Occurred()) SWIG_fail;
19559 }
19560 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxListView, 1);
19561 return resultobj;
19562 fail:
19563 return NULL;
19564 }
19565
19566
19567 static PyObject *_wrap_ListView_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
19568 PyObject *resultobj;
19569 wxListView *arg1 = (wxListView *) 0 ;
19570 wxWindow *arg2 = (wxWindow *) 0 ;
19571 int arg3 = (int) -1 ;
19572 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19573 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19574 wxSize const &arg5_defvalue = wxDefaultSize ;
19575 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19576 long arg6 = (long) wxLC_REPORT ;
19577 wxValidator const &arg7_defvalue = wxDefaultValidator ;
19578 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
19579 wxString const &arg8_defvalue = wxPyListCtrlNameStr ;
19580 wxString *arg8 = (wxString *) &arg8_defvalue ;
19581 bool result;
19582 wxPoint temp4 ;
19583 wxSize temp5 ;
19584 bool temp8 = False ;
19585 PyObject * obj0 = 0 ;
19586 PyObject * obj1 = 0 ;
19587 PyObject * obj3 = 0 ;
19588 PyObject * obj4 = 0 ;
19589 PyObject * obj6 = 0 ;
19590 PyObject * obj7 = 0 ;
19591 char *kwnames[] = {
19592 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
19593 };
19594
19595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:ListView_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
19596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19597 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19598 if (obj3) {
19599 {
19600 arg4 = &temp4;
19601 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19602 }
19603 }
19604 if (obj4) {
19605 {
19606 arg5 = &temp5;
19607 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19608 }
19609 }
19610 if (obj6) {
19611 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19612 if (arg7 == NULL) {
19613 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19614 }
19615 }
19616 if (obj7) {
19617 {
19618 arg8 = wxString_in_helper(obj7);
19619 if (arg8 == NULL) SWIG_fail;
19620 temp8 = True;
19621 }
19622 }
19623 {
19624 PyThreadState* __tstate = wxPyBeginAllowThreads();
19625 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
19626
19627 wxPyEndAllowThreads(__tstate);
19628 if (PyErr_Occurred()) SWIG_fail;
19629 }
19630 resultobj = PyInt_FromLong((long)result);
19631 {
19632 if (temp8)
19633 delete arg8;
19634 }
19635 return resultobj;
19636 fail:
19637 {
19638 if (temp8)
19639 delete arg8;
19640 }
19641 return NULL;
19642 }
19643
19644
19645 static PyObject *_wrap_ListView_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
19646 PyObject *resultobj;
19647 wxListView *arg1 = (wxListView *) 0 ;
19648 long arg2 ;
19649 bool arg3 = (bool) True ;
19650 PyObject * obj0 = 0 ;
19651 PyObject * obj2 = 0 ;
19652 char *kwnames[] = {
19653 (char *) "self",(char *) "n",(char *) "on", NULL
19654 };
19655
19656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol|O:ListView_Select",kwnames,&obj0,&arg2,&obj2)) goto fail;
19657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19658 if (obj2) {
19659 arg3 = PyInt_AsLong(obj2) ? true : false;
19660 if (PyErr_Occurred()) SWIG_fail;
19661 }
19662 {
19663 PyThreadState* __tstate = wxPyBeginAllowThreads();
19664 (arg1)->Select(arg2,arg3);
19665
19666 wxPyEndAllowThreads(__tstate);
19667 if (PyErr_Occurred()) SWIG_fail;
19668 }
19669 Py_INCREF(Py_None); resultobj = Py_None;
19670 return resultobj;
19671 fail:
19672 return NULL;
19673 }
19674
19675
19676 static PyObject *_wrap_ListView_Focus(PyObject *self, PyObject *args, PyObject *kwargs) {
19677 PyObject *resultobj;
19678 wxListView *arg1 = (wxListView *) 0 ;
19679 long arg2 ;
19680 PyObject * obj0 = 0 ;
19681 char *kwnames[] = {
19682 (char *) "self",(char *) "index", NULL
19683 };
19684
19685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_Focus",kwnames,&obj0,&arg2)) goto fail;
19686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19687 {
19688 PyThreadState* __tstate = wxPyBeginAllowThreads();
19689 (arg1)->Focus(arg2);
19690
19691 wxPyEndAllowThreads(__tstate);
19692 if (PyErr_Occurred()) SWIG_fail;
19693 }
19694 Py_INCREF(Py_None); resultobj = Py_None;
19695 return resultobj;
19696 fail:
19697 return NULL;
19698 }
19699
19700
19701 static PyObject *_wrap_ListView_GetFocusedItem(PyObject *self, PyObject *args, PyObject *kwargs) {
19702 PyObject *resultobj;
19703 wxListView *arg1 = (wxListView *) 0 ;
19704 long result;
19705 PyObject * obj0 = 0 ;
19706 char *kwnames[] = {
19707 (char *) "self", NULL
19708 };
19709
19710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFocusedItem",kwnames,&obj0)) goto fail;
19711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19712 {
19713 PyThreadState* __tstate = wxPyBeginAllowThreads();
19714 result = (long)((wxListView const *)arg1)->GetFocusedItem();
19715
19716 wxPyEndAllowThreads(__tstate);
19717 if (PyErr_Occurred()) SWIG_fail;
19718 }
19719 resultobj = PyInt_FromLong((long)result);
19720 return resultobj;
19721 fail:
19722 return NULL;
19723 }
19724
19725
19726 static PyObject *_wrap_ListView_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19727 PyObject *resultobj;
19728 wxListView *arg1 = (wxListView *) 0 ;
19729 long arg2 ;
19730 long result;
19731 PyObject * obj0 = 0 ;
19732 char *kwnames[] = {
19733 (char *) "self",(char *) "item", NULL
19734 };
19735
19736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_GetNextSelected",kwnames,&obj0,&arg2)) goto fail;
19737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19738 {
19739 PyThreadState* __tstate = wxPyBeginAllowThreads();
19740 result = (long)((wxListView const *)arg1)->GetNextSelected(arg2);
19741
19742 wxPyEndAllowThreads(__tstate);
19743 if (PyErr_Occurred()) SWIG_fail;
19744 }
19745 resultobj = PyInt_FromLong((long)result);
19746 return resultobj;
19747 fail:
19748 return NULL;
19749 }
19750
19751
19752 static PyObject *_wrap_ListView_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19753 PyObject *resultobj;
19754 wxListView *arg1 = (wxListView *) 0 ;
19755 long result;
19756 PyObject * obj0 = 0 ;
19757 char *kwnames[] = {
19758 (char *) "self", NULL
19759 };
19760
19761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ListView_GetFirstSelected",kwnames,&obj0)) goto fail;
19762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19763 {
19764 PyThreadState* __tstate = wxPyBeginAllowThreads();
19765 result = (long)((wxListView const *)arg1)->GetFirstSelected();
19766
19767 wxPyEndAllowThreads(__tstate);
19768 if (PyErr_Occurred()) SWIG_fail;
19769 }
19770 resultobj = PyInt_FromLong((long)result);
19771 return resultobj;
19772 fail:
19773 return NULL;
19774 }
19775
19776
19777 static PyObject *_wrap_ListView_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
19778 PyObject *resultobj;
19779 wxListView *arg1 = (wxListView *) 0 ;
19780 long arg2 ;
19781 bool result;
19782 PyObject * obj0 = 0 ;
19783 char *kwnames[] = {
19784 (char *) "self",(char *) "index", NULL
19785 };
19786
19787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:ListView_IsSelected",kwnames,&obj0,&arg2)) goto fail;
19788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19789 {
19790 PyThreadState* __tstate = wxPyBeginAllowThreads();
19791 result = (bool)(arg1)->IsSelected(arg2);
19792
19793 wxPyEndAllowThreads(__tstate);
19794 if (PyErr_Occurred()) SWIG_fail;
19795 }
19796 resultobj = PyInt_FromLong((long)result);
19797 return resultobj;
19798 fail:
19799 return NULL;
19800 }
19801
19802
19803 static PyObject *_wrap_ListView_SetColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19804 PyObject *resultobj;
19805 wxListView *arg1 = (wxListView *) 0 ;
19806 int arg2 ;
19807 int arg3 ;
19808 PyObject * obj0 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self",(char *) "col",(char *) "image", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ListView_SetColumnImage",kwnames,&obj0,&arg2,&arg3)) goto fail;
19814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19815 {
19816 PyThreadState* __tstate = wxPyBeginAllowThreads();
19817 (arg1)->SetColumnImage(arg2,arg3);
19818
19819 wxPyEndAllowThreads(__tstate);
19820 if (PyErr_Occurred()) SWIG_fail;
19821 }
19822 Py_INCREF(Py_None); resultobj = Py_None;
19823 return resultobj;
19824 fail:
19825 return NULL;
19826 }
19827
19828
19829 static PyObject *_wrap_ListView_ClearColumnImage(PyObject *self, PyObject *args, PyObject *kwargs) {
19830 PyObject *resultobj;
19831 wxListView *arg1 = (wxListView *) 0 ;
19832 int arg2 ;
19833 PyObject * obj0 = 0 ;
19834 char *kwnames[] = {
19835 (char *) "self",(char *) "col", NULL
19836 };
19837
19838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ListView_ClearColumnImage",kwnames,&obj0,&arg2)) goto fail;
19839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxListView,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19840 {
19841 PyThreadState* __tstate = wxPyBeginAllowThreads();
19842 (arg1)->ClearColumnImage(arg2);
19843
19844 wxPyEndAllowThreads(__tstate);
19845 if (PyErr_Occurred()) SWIG_fail;
19846 }
19847 Py_INCREF(Py_None); resultobj = Py_None;
19848 return resultobj;
19849 fail:
19850 return NULL;
19851 }
19852
19853
19854 static PyObject * ListView_swigregister(PyObject *self, PyObject *args) {
19855 PyObject *obj;
19856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19857 SWIG_TypeClientData(SWIGTYPE_p_wxListView, obj);
19858 Py_INCREF(obj);
19859 return Py_BuildValue((char *)"");
19860 }
19861 static PyObject *_wrap_new_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19862 PyObject *resultobj;
19863 wxTreeItemId *result;
19864 char *kwnames[] = {
19865 NULL
19866 };
19867
19868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TreeItemId",kwnames)) goto fail;
19869 {
19870 PyThreadState* __tstate = wxPyBeginAllowThreads();
19871 result = (wxTreeItemId *)new wxTreeItemId();
19872
19873 wxPyEndAllowThreads(__tstate);
19874 if (PyErr_Occurred()) SWIG_fail;
19875 }
19876 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 1);
19877 return resultobj;
19878 fail:
19879 return NULL;
19880 }
19881
19882
19883 static PyObject *_wrap_delete_TreeItemId(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19886 PyObject * obj0 = 0 ;
19887 char *kwnames[] = {
19888 (char *) "self", NULL
19889 };
19890
19891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TreeItemId",kwnames,&obj0)) goto fail;
19892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19893 {
19894 PyThreadState* __tstate = wxPyBeginAllowThreads();
19895 delete arg1;
19896
19897 wxPyEndAllowThreads(__tstate);
19898 if (PyErr_Occurred()) SWIG_fail;
19899 }
19900 Py_INCREF(Py_None); resultobj = Py_None;
19901 return resultobj;
19902 fail:
19903 return NULL;
19904 }
19905
19906
19907 static PyObject *_wrap_TreeItemId_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19908 PyObject *resultobj;
19909 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19910 bool result;
19911 PyObject * obj0 = 0 ;
19912 char *kwnames[] = {
19913 (char *) "self", NULL
19914 };
19915
19916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_IsOk",kwnames,&obj0)) goto fail;
19917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19918 {
19919 PyThreadState* __tstate = wxPyBeginAllowThreads();
19920 result = (bool)((wxTreeItemId const *)arg1)->IsOk();
19921
19922 wxPyEndAllowThreads(__tstate);
19923 if (PyErr_Occurred()) SWIG_fail;
19924 }
19925 resultobj = PyInt_FromLong((long)result);
19926 return resultobj;
19927 fail:
19928 return NULL;
19929 }
19930
19931
19932 static PyObject *_wrap_TreeItemId___eq__(PyObject *self, PyObject *args, PyObject *kwargs) {
19933 PyObject *resultobj;
19934 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19935 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19936 bool result;
19937 PyObject * obj0 = 0 ;
19938 PyObject * obj1 = 0 ;
19939 char *kwnames[] = {
19940 (char *) "self",(char *) "other", NULL
19941 };
19942
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___eq__",kwnames,&obj0,&obj1)) goto fail;
19944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19945 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19946 {
19947 PyThreadState* __tstate = wxPyBeginAllowThreads();
19948 result = (bool)wxTreeItemId_operator_ee___(arg1,(wxTreeItemId const *)arg2);
19949
19950 wxPyEndAllowThreads(__tstate);
19951 if (PyErr_Occurred()) SWIG_fail;
19952 }
19953 resultobj = PyInt_FromLong((long)result);
19954 return resultobj;
19955 fail:
19956 return NULL;
19957 }
19958
19959
19960 static PyObject *_wrap_TreeItemId___ne__(PyObject *self, PyObject *args, PyObject *kwargs) {
19961 PyObject *resultobj;
19962 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19963 wxTreeItemId *arg2 = (wxTreeItemId *) 0 ;
19964 bool result;
19965 PyObject * obj0 = 0 ;
19966 PyObject * obj1 = 0 ;
19967 char *kwnames[] = {
19968 (char *) "self",(char *) "other", NULL
19969 };
19970
19971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId___ne__",kwnames,&obj0,&obj1)) goto fail;
19972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19974 {
19975 PyThreadState* __tstate = wxPyBeginAllowThreads();
19976 result = (bool)wxTreeItemId_operator_Ne___(arg1,(wxTreeItemId const *)arg2);
19977
19978 wxPyEndAllowThreads(__tstate);
19979 if (PyErr_Occurred()) SWIG_fail;
19980 }
19981 resultobj = PyInt_FromLong((long)result);
19982 return resultobj;
19983 fail:
19984 return NULL;
19985 }
19986
19987
19988 static PyObject *_wrap_TreeItemId_m_pItem_set(PyObject *self, PyObject *args, PyObject *kwargs) {
19989 PyObject *resultobj;
19990 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
19991 wxTreeItemIdValue arg2 = (wxTreeItemIdValue) 0 ;
19992 PyObject * obj0 = 0 ;
19993 PyObject * obj1 = 0 ;
19994 char *kwnames[] = {
19995 (char *) "self",(char *) "m_pItem", NULL
19996 };
19997
19998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemId_m_pItem_set",kwnames,&obj0,&obj1)) goto fail;
19999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, 0, SWIG_POINTER_EXCEPTION | SWIG_POINTER_DISOWN )) == -1) SWIG_fail;
20001 if (arg1) (arg1)->m_pItem = arg2;
20002
20003 Py_INCREF(Py_None); resultobj = Py_None;
20004 return resultobj;
20005 fail:
20006 return NULL;
20007 }
20008
20009
20010 static PyObject *_wrap_TreeItemId_m_pItem_get(PyObject *self, PyObject *args, PyObject *kwargs) {
20011 PyObject *resultobj;
20012 wxTreeItemId *arg1 = (wxTreeItemId *) 0 ;
20013 wxTreeItemIdValue result;
20014 PyObject * obj0 = 0 ;
20015 char *kwnames[] = {
20016 (char *) "self", NULL
20017 };
20018
20019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemId_m_pItem_get",kwnames,&obj0)) goto fail;
20020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20021 result = (wxTreeItemIdValue) ((arg1)->m_pItem);
20022
20023 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_wxTreeItemIdValue, 0);
20024 return resultobj;
20025 fail:
20026 return NULL;
20027 }
20028
20029
20030 static PyObject * TreeItemId_swigregister(PyObject *self, PyObject *args) {
20031 PyObject *obj;
20032 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20033 SWIG_TypeClientData(SWIGTYPE_p_wxTreeItemId, obj);
20034 Py_INCREF(obj);
20035 return Py_BuildValue((char *)"");
20036 }
20037 static PyObject *_wrap_new_TreeItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
20038 PyObject *resultobj;
20039 PyObject *arg1 = (PyObject *) NULL ;
20040 wxPyTreeItemData *result;
20041 PyObject * obj0 = 0 ;
20042 char *kwnames[] = {
20043 (char *) "obj", NULL
20044 };
20045
20046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_TreeItemData",kwnames,&obj0)) goto fail;
20047 if (obj0) {
20048 arg1 = obj0;
20049 }
20050 {
20051 PyThreadState* __tstate = wxPyBeginAllowThreads();
20052 result = (wxPyTreeItemData *)new wxPyTreeItemData(arg1);
20053
20054 wxPyEndAllowThreads(__tstate);
20055 if (PyErr_Occurred()) SWIG_fail;
20056 }
20057 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 1);
20058 return resultobj;
20059 fail:
20060 return NULL;
20061 }
20062
20063
20064 static PyObject *_wrap_TreeItemData_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20065 PyObject *resultobj;
20066 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20067 PyObject *result;
20068 PyObject * obj0 = 0 ;
20069 char *kwnames[] = {
20070 (char *) "self", NULL
20071 };
20072
20073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetData",kwnames,&obj0)) goto fail;
20074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20075 {
20076 PyThreadState* __tstate = wxPyBeginAllowThreads();
20077 result = (PyObject *)(arg1)->GetData();
20078
20079 wxPyEndAllowThreads(__tstate);
20080 if (PyErr_Occurred()) SWIG_fail;
20081 }
20082 resultobj = result;
20083 return resultobj;
20084 fail:
20085 return NULL;
20086 }
20087
20088
20089 static PyObject *_wrap_TreeItemData_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
20090 PyObject *resultobj;
20091 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20092 PyObject *arg2 = (PyObject *) 0 ;
20093 PyObject * obj0 = 0 ;
20094 PyObject * obj1 = 0 ;
20095 char *kwnames[] = {
20096 (char *) "self",(char *) "obj", NULL
20097 };
20098
20099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetData",kwnames,&obj0,&obj1)) goto fail;
20100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20101 arg2 = obj1;
20102 {
20103 PyThreadState* __tstate = wxPyBeginAllowThreads();
20104 (arg1)->SetData(arg2);
20105
20106 wxPyEndAllowThreads(__tstate);
20107 if (PyErr_Occurred()) SWIG_fail;
20108 }
20109 Py_INCREF(Py_None); resultobj = Py_None;
20110 return resultobj;
20111 fail:
20112 return NULL;
20113 }
20114
20115
20116 static PyObject *_wrap_TreeItemData_GetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20117 PyObject *resultobj;
20118 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20119 wxTreeItemId *result;
20120 PyObject * obj0 = 0 ;
20121 char *kwnames[] = {
20122 (char *) "self", NULL
20123 };
20124
20125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_GetId",kwnames,&obj0)) goto fail;
20126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20127 {
20128 PyThreadState* __tstate = wxPyBeginAllowThreads();
20129 {
20130 wxTreeItemId const &_result_ref = (arg1)->GetId();
20131 result = (wxTreeItemId *) &_result_ref;
20132 }
20133
20134 wxPyEndAllowThreads(__tstate);
20135 if (PyErr_Occurred()) SWIG_fail;
20136 }
20137 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeItemId, 0);
20138 return resultobj;
20139 fail:
20140 return NULL;
20141 }
20142
20143
20144 static PyObject *_wrap_TreeItemData_SetId(PyObject *self, PyObject *args, PyObject *kwargs) {
20145 PyObject *resultobj;
20146 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20147 wxTreeItemId *arg2 = 0 ;
20148 PyObject * obj0 = 0 ;
20149 PyObject * obj1 = 0 ;
20150 char *kwnames[] = {
20151 (char *) "self",(char *) "id", NULL
20152 };
20153
20154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeItemData_SetId",kwnames,&obj0,&obj1)) goto fail;
20155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20156 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20157 if (arg2 == NULL) {
20158 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20159 }
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 (arg1)->SetId((wxTreeItemId const &)*arg2);
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 Py_INCREF(Py_None); resultobj = Py_None;
20168 return resultobj;
20169 fail:
20170 return NULL;
20171 }
20172
20173
20174 static PyObject *_wrap_TreeItemData_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
20175 PyObject *resultobj;
20176 wxPyTreeItemData *arg1 = (wxPyTreeItemData *) 0 ;
20177 PyObject * obj0 = 0 ;
20178 char *kwnames[] = {
20179 (char *) "self", NULL
20180 };
20181
20182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeItemData_Destroy",kwnames,&obj0)) goto fail;
20183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20184 {
20185 PyThreadState* __tstate = wxPyBeginAllowThreads();
20186 wxPyTreeItemData_Destroy(arg1);
20187
20188 wxPyEndAllowThreads(__tstate);
20189 if (PyErr_Occurred()) SWIG_fail;
20190 }
20191 Py_INCREF(Py_None); resultobj = Py_None;
20192 return resultobj;
20193 fail:
20194 return NULL;
20195 }
20196
20197
20198 static PyObject * TreeItemData_swigregister(PyObject *self, PyObject *args) {
20199 PyObject *obj;
20200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20201 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeItemData, obj);
20202 Py_INCREF(obj);
20203 return Py_BuildValue((char *)"");
20204 }
20205 static PyObject *_wrap_new_TreeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20206 PyObject *resultobj;
20207 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
20208 int arg2 = (int) 0 ;
20209 wxTreeEvent *result;
20210 char *kwnames[] = {
20211 (char *) "commandType",(char *) "id", NULL
20212 };
20213
20214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_TreeEvent",kwnames,&arg1,&arg2)) goto fail;
20215 {
20216 PyThreadState* __tstate = wxPyBeginAllowThreads();
20217 result = (wxTreeEvent *)new wxTreeEvent(arg1,arg2);
20218
20219 wxPyEndAllowThreads(__tstate);
20220 if (PyErr_Occurred()) SWIG_fail;
20221 }
20222 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTreeEvent, 1);
20223 return resultobj;
20224 fail:
20225 return NULL;
20226 }
20227
20228
20229 static PyObject *_wrap_TreeEvent_GetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20230 PyObject *resultobj;
20231 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20232 wxTreeItemId result;
20233 PyObject * obj0 = 0 ;
20234 char *kwnames[] = {
20235 (char *) "self", NULL
20236 };
20237
20238 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetItem",kwnames,&obj0)) goto fail;
20239 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20240 {
20241 PyThreadState* __tstate = wxPyBeginAllowThreads();
20242 result = ((wxTreeEvent const *)arg1)->GetItem();
20243
20244 wxPyEndAllowThreads(__tstate);
20245 if (PyErr_Occurred()) SWIG_fail;
20246 }
20247 {
20248 wxTreeItemId * resultptr;
20249 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20250 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20251 }
20252 return resultobj;
20253 fail:
20254 return NULL;
20255 }
20256
20257
20258 static PyObject *_wrap_TreeEvent_SetItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20259 PyObject *resultobj;
20260 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20261 wxTreeItemId *arg2 = 0 ;
20262 PyObject * obj0 = 0 ;
20263 PyObject * obj1 = 0 ;
20264 char *kwnames[] = {
20265 (char *) "self",(char *) "item", NULL
20266 };
20267
20268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetItem",kwnames,&obj0,&obj1)) goto fail;
20269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20271 if (arg2 == NULL) {
20272 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20273 }
20274 {
20275 PyThreadState* __tstate = wxPyBeginAllowThreads();
20276 (arg1)->SetItem((wxTreeItemId const &)*arg2);
20277
20278 wxPyEndAllowThreads(__tstate);
20279 if (PyErr_Occurred()) SWIG_fail;
20280 }
20281 Py_INCREF(Py_None); resultobj = Py_None;
20282 return resultobj;
20283 fail:
20284 return NULL;
20285 }
20286
20287
20288 static PyObject *_wrap_TreeEvent_GetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20289 PyObject *resultobj;
20290 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20291 wxTreeItemId result;
20292 PyObject * obj0 = 0 ;
20293 char *kwnames[] = {
20294 (char *) "self", NULL
20295 };
20296
20297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetOldItem",kwnames,&obj0)) goto fail;
20298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20299 {
20300 PyThreadState* __tstate = wxPyBeginAllowThreads();
20301 result = ((wxTreeEvent const *)arg1)->GetOldItem();
20302
20303 wxPyEndAllowThreads(__tstate);
20304 if (PyErr_Occurred()) SWIG_fail;
20305 }
20306 {
20307 wxTreeItemId * resultptr;
20308 resultptr = new wxTreeItemId((wxTreeItemId &) result);
20309 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
20310 }
20311 return resultobj;
20312 fail:
20313 return NULL;
20314 }
20315
20316
20317 static PyObject *_wrap_TreeEvent_SetOldItem(PyObject *self, PyObject *args, PyObject *kwargs) {
20318 PyObject *resultobj;
20319 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20320 wxTreeItemId *arg2 = 0 ;
20321 PyObject * obj0 = 0 ;
20322 PyObject * obj1 = 0 ;
20323 char *kwnames[] = {
20324 (char *) "self",(char *) "item", NULL
20325 };
20326
20327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetOldItem",kwnames,&obj0,&obj1)) goto fail;
20328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20329 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20330 if (arg2 == NULL) {
20331 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20332 }
20333 {
20334 PyThreadState* __tstate = wxPyBeginAllowThreads();
20335 (arg1)->SetOldItem((wxTreeItemId const &)*arg2);
20336
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 Py_INCREF(Py_None); resultobj = Py_None;
20341 return resultobj;
20342 fail:
20343 return NULL;
20344 }
20345
20346
20347 static PyObject *_wrap_TreeEvent_GetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20348 PyObject *resultobj;
20349 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20350 wxPoint result;
20351 PyObject * obj0 = 0 ;
20352 char *kwnames[] = {
20353 (char *) "self", NULL
20354 };
20355
20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetPoint",kwnames,&obj0)) goto fail;
20357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20358 {
20359 PyThreadState* __tstate = wxPyBeginAllowThreads();
20360 result = ((wxTreeEvent const *)arg1)->GetPoint();
20361
20362 wxPyEndAllowThreads(__tstate);
20363 if (PyErr_Occurred()) SWIG_fail;
20364 }
20365 {
20366 wxPoint * resultptr;
20367 resultptr = new wxPoint((wxPoint &) result);
20368 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
20369 }
20370 return resultobj;
20371 fail:
20372 return NULL;
20373 }
20374
20375
20376 static PyObject *_wrap_TreeEvent_SetPoint(PyObject *self, PyObject *args, PyObject *kwargs) {
20377 PyObject *resultobj;
20378 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20379 wxPoint *arg2 = 0 ;
20380 wxPoint temp2 ;
20381 PyObject * obj0 = 0 ;
20382 PyObject * obj1 = 0 ;
20383 char *kwnames[] = {
20384 (char *) "self",(char *) "pt", NULL
20385 };
20386
20387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetPoint",kwnames,&obj0,&obj1)) goto fail;
20388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20389 {
20390 arg2 = &temp2;
20391 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
20392 }
20393 {
20394 PyThreadState* __tstate = wxPyBeginAllowThreads();
20395 (arg1)->SetPoint((wxPoint const &)*arg2);
20396
20397 wxPyEndAllowThreads(__tstate);
20398 if (PyErr_Occurred()) SWIG_fail;
20399 }
20400 Py_INCREF(Py_None); resultobj = Py_None;
20401 return resultobj;
20402 fail:
20403 return NULL;
20404 }
20405
20406
20407 static PyObject *_wrap_TreeEvent_GetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20408 PyObject *resultobj;
20409 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20410 wxKeyEvent *result;
20411 PyObject * obj0 = 0 ;
20412 char *kwnames[] = {
20413 (char *) "self", NULL
20414 };
20415
20416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyEvent",kwnames,&obj0)) goto fail;
20417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20418 {
20419 PyThreadState* __tstate = wxPyBeginAllowThreads();
20420 {
20421 wxKeyEvent const &_result_ref = ((wxTreeEvent const *)arg1)->GetKeyEvent();
20422 result = (wxKeyEvent *) &_result_ref;
20423 }
20424
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxKeyEvent, 0);
20429 return resultobj;
20430 fail:
20431 return NULL;
20432 }
20433
20434
20435 static PyObject *_wrap_TreeEvent_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
20436 PyObject *resultobj;
20437 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20438 int result;
20439 PyObject * obj0 = 0 ;
20440 char *kwnames[] = {
20441 (char *) "self", NULL
20442 };
20443
20444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetKeyCode",kwnames,&obj0)) goto fail;
20445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20446 {
20447 PyThreadState* __tstate = wxPyBeginAllowThreads();
20448 result = (int)((wxTreeEvent const *)arg1)->GetKeyCode();
20449
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 resultobj = PyInt_FromLong((long)result);
20454 return resultobj;
20455 fail:
20456 return NULL;
20457 }
20458
20459
20460 static PyObject *_wrap_TreeEvent_SetKeyEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
20461 PyObject *resultobj;
20462 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20463 wxKeyEvent *arg2 = 0 ;
20464 PyObject * obj0 = 0 ;
20465 PyObject * obj1 = 0 ;
20466 char *kwnames[] = {
20467 (char *) "self",(char *) "evt", NULL
20468 };
20469
20470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetKeyEvent",kwnames,&obj0,&obj1)) goto fail;
20471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20472 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxKeyEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20473 if (arg2 == NULL) {
20474 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20475 }
20476 {
20477 PyThreadState* __tstate = wxPyBeginAllowThreads();
20478 (arg1)->SetKeyEvent((wxKeyEvent const &)*arg2);
20479
20480 wxPyEndAllowThreads(__tstate);
20481 if (PyErr_Occurred()) SWIG_fail;
20482 }
20483 Py_INCREF(Py_None); resultobj = Py_None;
20484 return resultobj;
20485 fail:
20486 return NULL;
20487 }
20488
20489
20490 static PyObject *_wrap_TreeEvent_GetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20491 PyObject *resultobj;
20492 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20493 wxString *result;
20494 PyObject * obj0 = 0 ;
20495 char *kwnames[] = {
20496 (char *) "self", NULL
20497 };
20498
20499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_GetLabel",kwnames,&obj0)) goto fail;
20500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20501 {
20502 PyThreadState* __tstate = wxPyBeginAllowThreads();
20503 {
20504 wxString const &_result_ref = ((wxTreeEvent const *)arg1)->GetLabel();
20505 result = (wxString *) &_result_ref;
20506 }
20507
20508 wxPyEndAllowThreads(__tstate);
20509 if (PyErr_Occurred()) SWIG_fail;
20510 }
20511 {
20512 #if wxUSE_UNICODE
20513 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
20514 #else
20515 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
20516 #endif
20517 }
20518 return resultobj;
20519 fail:
20520 return NULL;
20521 }
20522
20523
20524 static PyObject *_wrap_TreeEvent_SetLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
20525 PyObject *resultobj;
20526 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20527 wxString *arg2 = 0 ;
20528 bool temp2 = False ;
20529 PyObject * obj0 = 0 ;
20530 PyObject * obj1 = 0 ;
20531 char *kwnames[] = {
20532 (char *) "self",(char *) "label", NULL
20533 };
20534
20535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetLabel",kwnames,&obj0,&obj1)) goto fail;
20536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20537 {
20538 arg2 = wxString_in_helper(obj1);
20539 if (arg2 == NULL) SWIG_fail;
20540 temp2 = True;
20541 }
20542 {
20543 PyThreadState* __tstate = wxPyBeginAllowThreads();
20544 (arg1)->SetLabel((wxString const &)*arg2);
20545
20546 wxPyEndAllowThreads(__tstate);
20547 if (PyErr_Occurred()) SWIG_fail;
20548 }
20549 Py_INCREF(Py_None); resultobj = Py_None;
20550 {
20551 if (temp2)
20552 delete arg2;
20553 }
20554 return resultobj;
20555 fail:
20556 {
20557 if (temp2)
20558 delete arg2;
20559 }
20560 return NULL;
20561 }
20562
20563
20564 static PyObject *_wrap_TreeEvent_IsEditCancelled(PyObject *self, PyObject *args, PyObject *kwargs) {
20565 PyObject *resultobj;
20566 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20567 bool result;
20568 PyObject * obj0 = 0 ;
20569 char *kwnames[] = {
20570 (char *) "self", NULL
20571 };
20572
20573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeEvent_IsEditCancelled",kwnames,&obj0)) goto fail;
20574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20575 {
20576 PyThreadState* __tstate = wxPyBeginAllowThreads();
20577 result = (bool)((wxTreeEvent const *)arg1)->IsEditCancelled();
20578
20579 wxPyEndAllowThreads(__tstate);
20580 if (PyErr_Occurred()) SWIG_fail;
20581 }
20582 resultobj = PyInt_FromLong((long)result);
20583 return resultobj;
20584 fail:
20585 return NULL;
20586 }
20587
20588
20589 static PyObject *_wrap_TreeEvent_SetEditCanceled(PyObject *self, PyObject *args, PyObject *kwargs) {
20590 PyObject *resultobj;
20591 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20592 bool arg2 ;
20593 PyObject * obj0 = 0 ;
20594 PyObject * obj1 = 0 ;
20595 char *kwnames[] = {
20596 (char *) "self",(char *) "editCancelled", NULL
20597 };
20598
20599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetEditCanceled",kwnames,&obj0,&obj1)) goto fail;
20600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20601 arg2 = PyInt_AsLong(obj1) ? true : false;
20602 if (PyErr_Occurred()) SWIG_fail;
20603 {
20604 PyThreadState* __tstate = wxPyBeginAllowThreads();
20605 (arg1)->SetEditCanceled(arg2);
20606
20607 wxPyEndAllowThreads(__tstate);
20608 if (PyErr_Occurred()) SWIG_fail;
20609 }
20610 Py_INCREF(Py_None); resultobj = Py_None;
20611 return resultobj;
20612 fail:
20613 return NULL;
20614 }
20615
20616
20617 static PyObject *_wrap_TreeEvent_SetToolTip(PyObject *self, PyObject *args, PyObject *kwargs) {
20618 PyObject *resultobj;
20619 wxTreeEvent *arg1 = (wxTreeEvent *) 0 ;
20620 wxString *arg2 = 0 ;
20621 bool temp2 = False ;
20622 PyObject * obj0 = 0 ;
20623 PyObject * obj1 = 0 ;
20624 char *kwnames[] = {
20625 (char *) "self",(char *) "toolTip", NULL
20626 };
20627
20628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeEvent_SetToolTip",kwnames,&obj0,&obj1)) goto fail;
20629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTreeEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20630 {
20631 arg2 = wxString_in_helper(obj1);
20632 if (arg2 == NULL) SWIG_fail;
20633 temp2 = True;
20634 }
20635 {
20636 PyThreadState* __tstate = wxPyBeginAllowThreads();
20637 (arg1)->SetToolTip((wxString const &)*arg2);
20638
20639 wxPyEndAllowThreads(__tstate);
20640 if (PyErr_Occurred()) SWIG_fail;
20641 }
20642 Py_INCREF(Py_None); resultobj = Py_None;
20643 {
20644 if (temp2)
20645 delete arg2;
20646 }
20647 return resultobj;
20648 fail:
20649 {
20650 if (temp2)
20651 delete arg2;
20652 }
20653 return NULL;
20654 }
20655
20656
20657 static PyObject * TreeEvent_swigregister(PyObject *self, PyObject *args) {
20658 PyObject *obj;
20659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20660 SWIG_TypeClientData(SWIGTYPE_p_wxTreeEvent, obj);
20661 Py_INCREF(obj);
20662 return Py_BuildValue((char *)"");
20663 }
20664 static PyObject *_wrap_new_TreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20665 PyObject *resultobj;
20666 wxWindow *arg1 = (wxWindow *) 0 ;
20667 int arg2 = (int) -1 ;
20668 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20669 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20670 wxSize const &arg4_defvalue = wxDefaultSize ;
20671 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20672 long arg5 = (long) wxTR_DEFAULT_STYLE ;
20673 wxValidator const &arg6_defvalue = wxDefaultValidator ;
20674 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
20675 wxString const &arg7_defvalue = wxPy_TreeCtrlNameStr ;
20676 wxString *arg7 = (wxString *) &arg7_defvalue ;
20677 wxPyTreeCtrl *result;
20678 wxPoint temp3 ;
20679 wxSize temp4 ;
20680 bool temp7 = False ;
20681 PyObject * obj0 = 0 ;
20682 PyObject * obj2 = 0 ;
20683 PyObject * obj3 = 0 ;
20684 PyObject * obj5 = 0 ;
20685 PyObject * obj6 = 0 ;
20686 char *kwnames[] = {
20687 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20688 };
20689
20690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlOO:new_TreeCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
20691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20692 if (obj2) {
20693 {
20694 arg3 = &temp3;
20695 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20696 }
20697 }
20698 if (obj3) {
20699 {
20700 arg4 = &temp4;
20701 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20702 }
20703 }
20704 if (obj5) {
20705 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20706 if (arg6 == NULL) {
20707 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20708 }
20709 }
20710 if (obj6) {
20711 {
20712 arg7 = wxString_in_helper(obj6);
20713 if (arg7 == NULL) SWIG_fail;
20714 temp7 = True;
20715 }
20716 }
20717 {
20718 PyThreadState* __tstate = wxPyBeginAllowThreads();
20719 result = (wxPyTreeCtrl *)new wxPyTreeCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
20720
20721 wxPyEndAllowThreads(__tstate);
20722 if (PyErr_Occurred()) SWIG_fail;
20723 }
20724 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20725 {
20726 if (temp7)
20727 delete arg7;
20728 }
20729 return resultobj;
20730 fail:
20731 {
20732 if (temp7)
20733 delete arg7;
20734 }
20735 return NULL;
20736 }
20737
20738
20739 static PyObject *_wrap_new_PreTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
20740 PyObject *resultobj;
20741 wxPyTreeCtrl *result;
20742 char *kwnames[] = {
20743 NULL
20744 };
20745
20746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreTreeCtrl",kwnames)) goto fail;
20747 {
20748 PyThreadState* __tstate = wxPyBeginAllowThreads();
20749 result = (wxPyTreeCtrl *)new wxPyTreeCtrl();
20750
20751 wxPyEndAllowThreads(__tstate);
20752 if (PyErr_Occurred()) SWIG_fail;
20753 }
20754 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeCtrl, 1);
20755 return resultobj;
20756 fail:
20757 return NULL;
20758 }
20759
20760
20761 static PyObject *_wrap_TreeCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
20762 PyObject *resultobj;
20763 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20764 wxWindow *arg2 = (wxWindow *) 0 ;
20765 int arg3 = (int) -1 ;
20766 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20767 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20768 wxSize const &arg5_defvalue = wxDefaultSize ;
20769 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20770 long arg6 = (long) wxTR_DEFAULT_STYLE ;
20771 wxValidator const &arg7_defvalue = wxDefaultValidator ;
20772 wxValidator *arg7 = (wxValidator *) &arg7_defvalue ;
20773 wxString const &arg8_defvalue = wxPy_TreeCtrlNameStr ;
20774 wxString *arg8 = (wxString *) &arg8_defvalue ;
20775 bool result;
20776 wxPoint temp4 ;
20777 wxSize temp5 ;
20778 bool temp8 = False ;
20779 PyObject * obj0 = 0 ;
20780 PyObject * obj1 = 0 ;
20781 PyObject * obj3 = 0 ;
20782 PyObject * obj4 = 0 ;
20783 PyObject * obj6 = 0 ;
20784 PyObject * obj7 = 0 ;
20785 char *kwnames[] = {
20786 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
20787 };
20788
20789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlOO:TreeCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6,&obj7)) goto fail;
20790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20791 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20792 if (obj3) {
20793 {
20794 arg4 = &temp4;
20795 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20796 }
20797 }
20798 if (obj4) {
20799 {
20800 arg5 = &temp5;
20801 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20802 }
20803 }
20804 if (obj6) {
20805 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20806 if (arg7 == NULL) {
20807 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20808 }
20809 }
20810 if (obj7) {
20811 {
20812 arg8 = wxString_in_helper(obj7);
20813 if (arg8 == NULL) SWIG_fail;
20814 temp8 = True;
20815 }
20816 }
20817 {
20818 PyThreadState* __tstate = wxPyBeginAllowThreads();
20819 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxValidator const &)*arg7,(wxString const &)*arg8);
20820
20821 wxPyEndAllowThreads(__tstate);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 }
20824 resultobj = PyInt_FromLong((long)result);
20825 {
20826 if (temp8)
20827 delete arg8;
20828 }
20829 return resultobj;
20830 fail:
20831 {
20832 if (temp8)
20833 delete arg8;
20834 }
20835 return NULL;
20836 }
20837
20838
20839 static PyObject *_wrap_TreeCtrl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20840 PyObject *resultobj;
20841 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20842 PyObject *arg2 = (PyObject *) 0 ;
20843 PyObject *arg3 = (PyObject *) 0 ;
20844 PyObject * obj0 = 0 ;
20845 PyObject * obj1 = 0 ;
20846 PyObject * obj2 = 0 ;
20847 char *kwnames[] = {
20848 (char *) "self",(char *) "self",(char *) "_class", NULL
20849 };
20850
20851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20853 arg2 = obj1;
20854 arg3 = obj2;
20855 {
20856 PyThreadState* __tstate = wxPyBeginAllowThreads();
20857 (arg1)->_setCallbackInfo(arg2,arg3);
20858
20859 wxPyEndAllowThreads(__tstate);
20860 if (PyErr_Occurred()) SWIG_fail;
20861 }
20862 Py_INCREF(Py_None); resultobj = Py_None;
20863 return resultobj;
20864 fail:
20865 return NULL;
20866 }
20867
20868
20869 static PyObject *_wrap_TreeCtrl_GetCount(PyObject *self, PyObject *args, PyObject *kwargs) {
20870 PyObject *resultobj;
20871 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20872 size_t result;
20873 PyObject * obj0 = 0 ;
20874 char *kwnames[] = {
20875 (char *) "self", NULL
20876 };
20877
20878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetCount",kwnames,&obj0)) goto fail;
20879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20880 {
20881 PyThreadState* __tstate = wxPyBeginAllowThreads();
20882 result = (size_t)((wxPyTreeCtrl const *)arg1)->GetCount();
20883
20884 wxPyEndAllowThreads(__tstate);
20885 if (PyErr_Occurred()) SWIG_fail;
20886 }
20887 resultobj = PyInt_FromLong((long)result);
20888 return resultobj;
20889 fail:
20890 return NULL;
20891 }
20892
20893
20894 static PyObject *_wrap_TreeCtrl_GetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20895 PyObject *resultobj;
20896 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20897 unsigned int result;
20898 PyObject * obj0 = 0 ;
20899 char *kwnames[] = {
20900 (char *) "self", NULL
20901 };
20902
20903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetIndent",kwnames,&obj0)) goto fail;
20904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20905 {
20906 PyThreadState* __tstate = wxPyBeginAllowThreads();
20907 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetIndent();
20908
20909 wxPyEndAllowThreads(__tstate);
20910 if (PyErr_Occurred()) SWIG_fail;
20911 }
20912 resultobj = PyInt_FromLong((long)result);
20913 return resultobj;
20914 fail:
20915 return NULL;
20916 }
20917
20918
20919 static PyObject *_wrap_TreeCtrl_SetIndent(PyObject *self, PyObject *args, PyObject *kwargs) {
20920 PyObject *resultobj;
20921 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20922 unsigned int arg2 ;
20923 PyObject * obj0 = 0 ;
20924 PyObject * obj1 = 0 ;
20925 char *kwnames[] = {
20926 (char *) "self",(char *) "indent", NULL
20927 };
20928
20929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetIndent",kwnames,&obj0,&obj1)) goto fail;
20930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20931 arg2 = (unsigned int) PyInt_AsLong(obj1);
20932 if (PyErr_Occurred()) SWIG_fail;
20933 {
20934 PyThreadState* __tstate = wxPyBeginAllowThreads();
20935 (arg1)->SetIndent(arg2);
20936
20937 wxPyEndAllowThreads(__tstate);
20938 if (PyErr_Occurred()) SWIG_fail;
20939 }
20940 Py_INCREF(Py_None); resultobj = Py_None;
20941 return resultobj;
20942 fail:
20943 return NULL;
20944 }
20945
20946
20947 static PyObject *_wrap_TreeCtrl_GetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20948 PyObject *resultobj;
20949 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20950 unsigned int result;
20951 PyObject * obj0 = 0 ;
20952 char *kwnames[] = {
20953 (char *) "self", NULL
20954 };
20955
20956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSpacing",kwnames,&obj0)) goto fail;
20957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20958 {
20959 PyThreadState* __tstate = wxPyBeginAllowThreads();
20960 result = (unsigned int)((wxPyTreeCtrl const *)arg1)->GetSpacing();
20961
20962 wxPyEndAllowThreads(__tstate);
20963 if (PyErr_Occurred()) SWIG_fail;
20964 }
20965 resultobj = PyInt_FromLong((long)result);
20966 return resultobj;
20967 fail:
20968 return NULL;
20969 }
20970
20971
20972 static PyObject *_wrap_TreeCtrl_SetSpacing(PyObject *self, PyObject *args, PyObject *kwargs) {
20973 PyObject *resultobj;
20974 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
20975 unsigned int arg2 ;
20976 PyObject * obj0 = 0 ;
20977 PyObject * obj1 = 0 ;
20978 char *kwnames[] = {
20979 (char *) "self",(char *) "spacing", NULL
20980 };
20981
20982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetSpacing",kwnames,&obj0,&obj1)) goto fail;
20983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20984 arg2 = (unsigned int) PyInt_AsLong(obj1);
20985 if (PyErr_Occurred()) SWIG_fail;
20986 {
20987 PyThreadState* __tstate = wxPyBeginAllowThreads();
20988 (arg1)->SetSpacing(arg2);
20989
20990 wxPyEndAllowThreads(__tstate);
20991 if (PyErr_Occurred()) SWIG_fail;
20992 }
20993 Py_INCREF(Py_None); resultobj = Py_None;
20994 return resultobj;
20995 fail:
20996 return NULL;
20997 }
20998
20999
21000 static PyObject *_wrap_TreeCtrl_GetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21001 PyObject *resultobj;
21002 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21003 wxImageList *result;
21004 PyObject * obj0 = 0 ;
21005 char *kwnames[] = {
21006 (char *) "self", NULL
21007 };
21008
21009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetImageList",kwnames,&obj0)) goto fail;
21010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21011 {
21012 PyThreadState* __tstate = wxPyBeginAllowThreads();
21013 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetImageList();
21014
21015 wxPyEndAllowThreads(__tstate);
21016 if (PyErr_Occurred()) SWIG_fail;
21017 }
21018 {
21019 resultobj = wxPyMake_wxObject(result);
21020 }
21021 return resultobj;
21022 fail:
21023 return NULL;
21024 }
21025
21026
21027 static PyObject *_wrap_TreeCtrl_GetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21028 PyObject *resultobj;
21029 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21030 wxImageList *result;
21031 PyObject * obj0 = 0 ;
21032 char *kwnames[] = {
21033 (char *) "self", NULL
21034 };
21035
21036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetStateImageList",kwnames,&obj0)) goto fail;
21037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21038 {
21039 PyThreadState* __tstate = wxPyBeginAllowThreads();
21040 result = (wxImageList *)((wxPyTreeCtrl const *)arg1)->GetStateImageList();
21041
21042 wxPyEndAllowThreads(__tstate);
21043 if (PyErr_Occurred()) SWIG_fail;
21044 }
21045 {
21046 resultobj = wxPyMake_wxObject(result);
21047 }
21048 return resultobj;
21049 fail:
21050 return NULL;
21051 }
21052
21053
21054 static PyObject *_wrap_TreeCtrl_SetImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21055 PyObject *resultobj;
21056 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21057 wxImageList *arg2 = (wxImageList *) 0 ;
21058 PyObject * obj0 = 0 ;
21059 PyObject * obj1 = 0 ;
21060 char *kwnames[] = {
21061 (char *) "self",(char *) "imageList", NULL
21062 };
21063
21064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetImageList",kwnames,&obj0,&obj1)) goto fail;
21065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21066 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21067 {
21068 PyThreadState* __tstate = wxPyBeginAllowThreads();
21069 (arg1)->SetImageList(arg2);
21070
21071 wxPyEndAllowThreads(__tstate);
21072 if (PyErr_Occurred()) SWIG_fail;
21073 }
21074 Py_INCREF(Py_None); resultobj = Py_None;
21075 return resultobj;
21076 fail:
21077 return NULL;
21078 }
21079
21080
21081 static PyObject *_wrap_TreeCtrl_SetStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21082 PyObject *resultobj;
21083 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21084 wxImageList *arg2 = (wxImageList *) 0 ;
21085 PyObject * obj0 = 0 ;
21086 PyObject * obj1 = 0 ;
21087 char *kwnames[] = {
21088 (char *) "self",(char *) "imageList", NULL
21089 };
21090
21091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SetStateImageList",kwnames,&obj0,&obj1)) goto fail;
21092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21093 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21094 {
21095 PyThreadState* __tstate = wxPyBeginAllowThreads();
21096 (arg1)->SetStateImageList(arg2);
21097
21098 wxPyEndAllowThreads(__tstate);
21099 if (PyErr_Occurred()) SWIG_fail;
21100 }
21101 Py_INCREF(Py_None); resultobj = Py_None;
21102 return resultobj;
21103 fail:
21104 return NULL;
21105 }
21106
21107
21108 static PyObject *_wrap_TreeCtrl_AssignImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21109 PyObject *resultobj;
21110 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21111 wxImageList *arg2 = (wxImageList *) 0 ;
21112 PyObject * obj0 = 0 ;
21113 PyObject * obj1 = 0 ;
21114 char *kwnames[] = {
21115 (char *) "self",(char *) "imageList", NULL
21116 };
21117
21118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignImageList",kwnames,&obj0,&obj1)) goto fail;
21119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21121 {
21122 PyThreadState* __tstate = wxPyBeginAllowThreads();
21123 (arg1)->AssignImageList(arg2);
21124
21125 wxPyEndAllowThreads(__tstate);
21126 if (PyErr_Occurred()) SWIG_fail;
21127 }
21128 Py_INCREF(Py_None); resultobj = Py_None;
21129 return resultobj;
21130 fail:
21131 return NULL;
21132 }
21133
21134
21135 static PyObject *_wrap_TreeCtrl_AssignStateImageList(PyObject *self, PyObject *args, PyObject *kwargs) {
21136 PyObject *resultobj;
21137 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21138 wxImageList *arg2 = (wxImageList *) 0 ;
21139 PyObject * obj0 = 0 ;
21140 PyObject * obj1 = 0 ;
21141 char *kwnames[] = {
21142 (char *) "self",(char *) "imageList", NULL
21143 };
21144
21145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_AssignStateImageList",kwnames,&obj0,&obj1)) goto fail;
21146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21147 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxImageList,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21148 {
21149 PyThreadState* __tstate = wxPyBeginAllowThreads();
21150 (arg1)->AssignStateImageList(arg2);
21151
21152 wxPyEndAllowThreads(__tstate);
21153 if (PyErr_Occurred()) SWIG_fail;
21154 }
21155 Py_INCREF(Py_None); resultobj = Py_None;
21156 return resultobj;
21157 fail:
21158 return NULL;
21159 }
21160
21161
21162 static PyObject *_wrap_TreeCtrl_GetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21163 PyObject *resultobj;
21164 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21165 wxTreeItemId *arg2 = 0 ;
21166 wxString result;
21167 PyObject * obj0 = 0 ;
21168 PyObject * obj1 = 0 ;
21169 char *kwnames[] = {
21170 (char *) "self",(char *) "item", NULL
21171 };
21172
21173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemText",kwnames,&obj0,&obj1)) goto fail;
21174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21175 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21176 if (arg2 == NULL) {
21177 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21178 }
21179 {
21180 PyThreadState* __tstate = wxPyBeginAllowThreads();
21181 result = ((wxPyTreeCtrl const *)arg1)->GetItemText((wxTreeItemId const &)*arg2);
21182
21183 wxPyEndAllowThreads(__tstate);
21184 if (PyErr_Occurred()) SWIG_fail;
21185 }
21186 {
21187 #if wxUSE_UNICODE
21188 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
21189 #else
21190 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
21191 #endif
21192 }
21193 return resultobj;
21194 fail:
21195 return NULL;
21196 }
21197
21198
21199 static PyObject *_wrap_TreeCtrl_GetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21200 PyObject *resultobj;
21201 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21202 wxTreeItemId *arg2 = 0 ;
21203 int arg3 = (int) wxTreeItemIcon_Normal ;
21204 int result;
21205 PyObject * obj0 = 0 ;
21206 PyObject * obj1 = 0 ;
21207 char *kwnames[] = {
21208 (char *) "self",(char *) "item",(char *) "which", NULL
21209 };
21210
21211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:TreeCtrl_GetItemImage",kwnames,&obj0,&obj1,&arg3)) goto fail;
21212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21213 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21214 if (arg2 == NULL) {
21215 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21216 }
21217 {
21218 PyThreadState* __tstate = wxPyBeginAllowThreads();
21219 result = (int)((wxPyTreeCtrl const *)arg1)->GetItemImage((wxTreeItemId const &)*arg2,(wxTreeItemIcon )arg3);
21220
21221 wxPyEndAllowThreads(__tstate);
21222 if (PyErr_Occurred()) SWIG_fail;
21223 }
21224 resultobj = PyInt_FromLong((long)result);
21225 return resultobj;
21226 fail:
21227 return NULL;
21228 }
21229
21230
21231 static PyObject *_wrap_TreeCtrl_GetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21232 PyObject *resultobj;
21233 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21234 wxTreeItemId *arg2 = 0 ;
21235 wxPyTreeItemData *result;
21236 PyObject * obj0 = 0 ;
21237 PyObject * obj1 = 0 ;
21238 char *kwnames[] = {
21239 (char *) "self",(char *) "item", NULL
21240 };
21241
21242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemData",kwnames,&obj0,&obj1)) goto fail;
21243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21244 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21245 if (arg2 == NULL) {
21246 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21247 }
21248 {
21249 PyThreadState* __tstate = wxPyBeginAllowThreads();
21250 result = (wxPyTreeItemData *)wxPyTreeCtrl_GetItemData(arg1,(wxTreeItemId const &)*arg2);
21251
21252 wxPyEndAllowThreads(__tstate);
21253 if (PyErr_Occurred()) SWIG_fail;
21254 }
21255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyTreeItemData, 0);
21256 return resultobj;
21257 fail:
21258 return NULL;
21259 }
21260
21261
21262 static PyObject *_wrap_TreeCtrl_GetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21263 PyObject *resultobj;
21264 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21265 wxTreeItemId *arg2 = 0 ;
21266 PyObject *result;
21267 PyObject * obj0 = 0 ;
21268 PyObject * obj1 = 0 ;
21269 char *kwnames[] = {
21270 (char *) "self",(char *) "item", NULL
21271 };
21272
21273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemPyData",kwnames,&obj0,&obj1)) goto fail;
21274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21276 if (arg2 == NULL) {
21277 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21278 }
21279 {
21280 PyThreadState* __tstate = wxPyBeginAllowThreads();
21281 result = (PyObject *)wxPyTreeCtrl_GetItemPyData(arg1,(wxTreeItemId const &)*arg2);
21282
21283 wxPyEndAllowThreads(__tstate);
21284 if (PyErr_Occurred()) SWIG_fail;
21285 }
21286 resultobj = result;
21287 return resultobj;
21288 fail:
21289 return NULL;
21290 }
21291
21292
21293 static PyObject *_wrap_TreeCtrl_GetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21294 PyObject *resultobj;
21295 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21296 wxTreeItemId *arg2 = 0 ;
21297 wxColour result;
21298 PyObject * obj0 = 0 ;
21299 PyObject * obj1 = 0 ;
21300 char *kwnames[] = {
21301 (char *) "self",(char *) "item", NULL
21302 };
21303
21304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemTextColour",kwnames,&obj0,&obj1)) goto fail;
21305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21306 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21307 if (arg2 == NULL) {
21308 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21309 }
21310 {
21311 PyThreadState* __tstate = wxPyBeginAllowThreads();
21312 result = ((wxPyTreeCtrl const *)arg1)->GetItemTextColour((wxTreeItemId const &)*arg2);
21313
21314 wxPyEndAllowThreads(__tstate);
21315 if (PyErr_Occurred()) SWIG_fail;
21316 }
21317 {
21318 wxColour * resultptr;
21319 resultptr = new wxColour((wxColour &) result);
21320 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21321 }
21322 return resultobj;
21323 fail:
21324 return NULL;
21325 }
21326
21327
21328 static PyObject *_wrap_TreeCtrl_GetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21329 PyObject *resultobj;
21330 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21331 wxTreeItemId *arg2 = 0 ;
21332 wxColour result;
21333 PyObject * obj0 = 0 ;
21334 PyObject * obj1 = 0 ;
21335 char *kwnames[] = {
21336 (char *) "self",(char *) "item", NULL
21337 };
21338
21339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemBackgroundColour",kwnames,&obj0,&obj1)) goto fail;
21340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21342 if (arg2 == NULL) {
21343 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21344 }
21345 {
21346 PyThreadState* __tstate = wxPyBeginAllowThreads();
21347 result = ((wxPyTreeCtrl const *)arg1)->GetItemBackgroundColour((wxTreeItemId const &)*arg2);
21348
21349 wxPyEndAllowThreads(__tstate);
21350 if (PyErr_Occurred()) SWIG_fail;
21351 }
21352 {
21353 wxColour * resultptr;
21354 resultptr = new wxColour((wxColour &) result);
21355 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
21356 }
21357 return resultobj;
21358 fail:
21359 return NULL;
21360 }
21361
21362
21363 static PyObject *_wrap_TreeCtrl_GetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21364 PyObject *resultobj;
21365 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21366 wxTreeItemId *arg2 = 0 ;
21367 wxFont result;
21368 PyObject * obj0 = 0 ;
21369 PyObject * obj1 = 0 ;
21370 char *kwnames[] = {
21371 (char *) "self",(char *) "item", NULL
21372 };
21373
21374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemFont",kwnames,&obj0,&obj1)) goto fail;
21375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21377 if (arg2 == NULL) {
21378 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21379 }
21380 {
21381 PyThreadState* __tstate = wxPyBeginAllowThreads();
21382 result = ((wxPyTreeCtrl const *)arg1)->GetItemFont((wxTreeItemId const &)*arg2);
21383
21384 wxPyEndAllowThreads(__tstate);
21385 if (PyErr_Occurred()) SWIG_fail;
21386 }
21387 {
21388 wxFont * resultptr;
21389 resultptr = new wxFont((wxFont &) result);
21390 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
21391 }
21392 return resultobj;
21393 fail:
21394 return NULL;
21395 }
21396
21397
21398 static PyObject *_wrap_TreeCtrl_SetItemText(PyObject *self, PyObject *args, PyObject *kwargs) {
21399 PyObject *resultobj;
21400 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21401 wxTreeItemId *arg2 = 0 ;
21402 wxString *arg3 = 0 ;
21403 bool temp3 = False ;
21404 PyObject * obj0 = 0 ;
21405 PyObject * obj1 = 0 ;
21406 PyObject * obj2 = 0 ;
21407 char *kwnames[] = {
21408 (char *) "self",(char *) "item",(char *) "text", NULL
21409 };
21410
21411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemText",kwnames,&obj0,&obj1,&obj2)) goto fail;
21412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21413 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21414 if (arg2 == NULL) {
21415 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21416 }
21417 {
21418 arg3 = wxString_in_helper(obj2);
21419 if (arg3 == NULL) SWIG_fail;
21420 temp3 = True;
21421 }
21422 {
21423 PyThreadState* __tstate = wxPyBeginAllowThreads();
21424 (arg1)->SetItemText((wxTreeItemId const &)*arg2,(wxString const &)*arg3);
21425
21426 wxPyEndAllowThreads(__tstate);
21427 if (PyErr_Occurred()) SWIG_fail;
21428 }
21429 Py_INCREF(Py_None); resultobj = Py_None;
21430 {
21431 if (temp3)
21432 delete arg3;
21433 }
21434 return resultobj;
21435 fail:
21436 {
21437 if (temp3)
21438 delete arg3;
21439 }
21440 return NULL;
21441 }
21442
21443
21444 static PyObject *_wrap_TreeCtrl_SetItemImage(PyObject *self, PyObject *args, PyObject *kwargs) {
21445 PyObject *resultobj;
21446 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21447 wxTreeItemId *arg2 = 0 ;
21448 int arg3 ;
21449 int arg4 = (int) wxTreeItemIcon_Normal ;
21450 PyObject * obj0 = 0 ;
21451 PyObject * obj1 = 0 ;
21452 char *kwnames[] = {
21453 (char *) "self",(char *) "item",(char *) "image",(char *) "which", NULL
21454 };
21455
21456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|i:TreeCtrl_SetItemImage",kwnames,&obj0,&obj1,&arg3,&arg4)) goto fail;
21457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21458 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21459 if (arg2 == NULL) {
21460 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21461 }
21462 {
21463 PyThreadState* __tstate = wxPyBeginAllowThreads();
21464 (arg1)->SetItemImage((wxTreeItemId const &)*arg2,arg3,(wxTreeItemIcon )arg4);
21465
21466 wxPyEndAllowThreads(__tstate);
21467 if (PyErr_Occurred()) SWIG_fail;
21468 }
21469 Py_INCREF(Py_None); resultobj = Py_None;
21470 return resultobj;
21471 fail:
21472 return NULL;
21473 }
21474
21475
21476 static PyObject *_wrap_TreeCtrl_SetItemData(PyObject *self, PyObject *args, PyObject *kwargs) {
21477 PyObject *resultobj;
21478 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21479 wxTreeItemId *arg2 = 0 ;
21480 wxPyTreeItemData *arg3 = (wxPyTreeItemData *) 0 ;
21481 PyObject * obj0 = 0 ;
21482 PyObject * obj1 = 0 ;
21483 PyObject * obj2 = 0 ;
21484 char *kwnames[] = {
21485 (char *) "self",(char *) "item",(char *) "data", NULL
21486 };
21487
21488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21490 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21491 if (arg2 == NULL) {
21492 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21493 }
21494 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21495 {
21496 PyThreadState* __tstate = wxPyBeginAllowThreads();
21497 wxPyTreeCtrl_SetItemData(arg1,(wxTreeItemId const &)*arg2,arg3);
21498
21499 wxPyEndAllowThreads(__tstate);
21500 if (PyErr_Occurred()) SWIG_fail;
21501 }
21502 Py_INCREF(Py_None); resultobj = Py_None;
21503 return resultobj;
21504 fail:
21505 return NULL;
21506 }
21507
21508
21509 static PyObject *_wrap_TreeCtrl_SetItemPyData(PyObject *self, PyObject *args, PyObject *kwargs) {
21510 PyObject *resultobj;
21511 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21512 wxTreeItemId *arg2 = 0 ;
21513 PyObject *arg3 = (PyObject *) 0 ;
21514 PyObject * obj0 = 0 ;
21515 PyObject * obj1 = 0 ;
21516 PyObject * obj2 = 0 ;
21517 char *kwnames[] = {
21518 (char *) "self",(char *) "item",(char *) "obj", NULL
21519 };
21520
21521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemPyData",kwnames,&obj0,&obj1,&obj2)) goto fail;
21522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21523 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21524 if (arg2 == NULL) {
21525 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21526 }
21527 arg3 = obj2;
21528 {
21529 PyThreadState* __tstate = wxPyBeginAllowThreads();
21530 wxPyTreeCtrl_SetItemPyData(arg1,(wxTreeItemId const &)*arg2,arg3);
21531
21532 wxPyEndAllowThreads(__tstate);
21533 if (PyErr_Occurred()) SWIG_fail;
21534 }
21535 Py_INCREF(Py_None); resultobj = Py_None;
21536 return resultobj;
21537 fail:
21538 return NULL;
21539 }
21540
21541
21542 static PyObject *_wrap_TreeCtrl_SetItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21543 PyObject *resultobj;
21544 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21545 wxTreeItemId *arg2 = 0 ;
21546 bool arg3 = (bool) True ;
21547 PyObject * obj0 = 0 ;
21548 PyObject * obj1 = 0 ;
21549 PyObject * obj2 = 0 ;
21550 char *kwnames[] = {
21551 (char *) "self",(char *) "item",(char *) "has", NULL
21552 };
21553
21554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemHasChildren",kwnames,&obj0,&obj1,&obj2)) goto fail;
21555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21556 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21557 if (arg2 == NULL) {
21558 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21559 }
21560 if (obj2) {
21561 arg3 = PyInt_AsLong(obj2) ? true : false;
21562 if (PyErr_Occurred()) SWIG_fail;
21563 }
21564 {
21565 PyThreadState* __tstate = wxPyBeginAllowThreads();
21566 (arg1)->SetItemHasChildren((wxTreeItemId const &)*arg2,arg3);
21567
21568 wxPyEndAllowThreads(__tstate);
21569 if (PyErr_Occurred()) SWIG_fail;
21570 }
21571 Py_INCREF(Py_None); resultobj = Py_None;
21572 return resultobj;
21573 fail:
21574 return NULL;
21575 }
21576
21577
21578 static PyObject *_wrap_TreeCtrl_SetItemBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21579 PyObject *resultobj;
21580 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21581 wxTreeItemId *arg2 = 0 ;
21582 bool arg3 = (bool) True ;
21583 PyObject * obj0 = 0 ;
21584 PyObject * obj1 = 0 ;
21585 PyObject * obj2 = 0 ;
21586 char *kwnames[] = {
21587 (char *) "self",(char *) "item",(char *) "bold", NULL
21588 };
21589
21590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemBold",kwnames,&obj0,&obj1,&obj2)) goto fail;
21591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21593 if (arg2 == NULL) {
21594 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21595 }
21596 if (obj2) {
21597 arg3 = PyInt_AsLong(obj2) ? true : false;
21598 if (PyErr_Occurred()) SWIG_fail;
21599 }
21600 {
21601 PyThreadState* __tstate = wxPyBeginAllowThreads();
21602 (arg1)->SetItemBold((wxTreeItemId const &)*arg2,arg3);
21603
21604 wxPyEndAllowThreads(__tstate);
21605 if (PyErr_Occurred()) SWIG_fail;
21606 }
21607 Py_INCREF(Py_None); resultobj = Py_None;
21608 return resultobj;
21609 fail:
21610 return NULL;
21611 }
21612
21613
21614 static PyObject *_wrap_TreeCtrl_SetItemDropHighlight(PyObject *self, PyObject *args, PyObject *kwargs) {
21615 PyObject *resultobj;
21616 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21617 wxTreeItemId *arg2 = 0 ;
21618 bool arg3 = (bool) True ;
21619 PyObject * obj0 = 0 ;
21620 PyObject * obj1 = 0 ;
21621 PyObject * obj2 = 0 ;
21622 char *kwnames[] = {
21623 (char *) "self",(char *) "item",(char *) "highlight", NULL
21624 };
21625
21626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_SetItemDropHighlight",kwnames,&obj0,&obj1,&obj2)) goto fail;
21627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21628 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21629 if (arg2 == NULL) {
21630 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21631 }
21632 if (obj2) {
21633 arg3 = PyInt_AsLong(obj2) ? true : false;
21634 if (PyErr_Occurred()) SWIG_fail;
21635 }
21636 {
21637 PyThreadState* __tstate = wxPyBeginAllowThreads();
21638 (arg1)->SetItemDropHighlight((wxTreeItemId const &)*arg2,arg3);
21639
21640 wxPyEndAllowThreads(__tstate);
21641 if (PyErr_Occurred()) SWIG_fail;
21642 }
21643 Py_INCREF(Py_None); resultobj = Py_None;
21644 return resultobj;
21645 fail:
21646 return NULL;
21647 }
21648
21649
21650 static PyObject *_wrap_TreeCtrl_SetItemTextColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21651 PyObject *resultobj;
21652 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21653 wxTreeItemId *arg2 = 0 ;
21654 wxColour *arg3 = 0 ;
21655 wxColour temp3 ;
21656 PyObject * obj0 = 0 ;
21657 PyObject * obj1 = 0 ;
21658 PyObject * obj2 = 0 ;
21659 char *kwnames[] = {
21660 (char *) "self",(char *) "item",(char *) "col", NULL
21661 };
21662
21663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemTextColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21665 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21666 if (arg2 == NULL) {
21667 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21668 }
21669 {
21670 arg3 = &temp3;
21671 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21672 }
21673 {
21674 PyThreadState* __tstate = wxPyBeginAllowThreads();
21675 (arg1)->SetItemTextColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21676
21677 wxPyEndAllowThreads(__tstate);
21678 if (PyErr_Occurred()) SWIG_fail;
21679 }
21680 Py_INCREF(Py_None); resultobj = Py_None;
21681 return resultobj;
21682 fail:
21683 return NULL;
21684 }
21685
21686
21687 static PyObject *_wrap_TreeCtrl_SetItemBackgroundColour(PyObject *self, PyObject *args, PyObject *kwargs) {
21688 PyObject *resultobj;
21689 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21690 wxTreeItemId *arg2 = 0 ;
21691 wxColour *arg3 = 0 ;
21692 wxColour temp3 ;
21693 PyObject * obj0 = 0 ;
21694 PyObject * obj1 = 0 ;
21695 PyObject * obj2 = 0 ;
21696 char *kwnames[] = {
21697 (char *) "self",(char *) "item",(char *) "col", NULL
21698 };
21699
21700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemBackgroundColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
21701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21702 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21703 if (arg2 == NULL) {
21704 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21705 }
21706 {
21707 arg3 = &temp3;
21708 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
21709 }
21710 {
21711 PyThreadState* __tstate = wxPyBeginAllowThreads();
21712 (arg1)->SetItemBackgroundColour((wxTreeItemId const &)*arg2,(wxColour const &)*arg3);
21713
21714 wxPyEndAllowThreads(__tstate);
21715 if (PyErr_Occurred()) SWIG_fail;
21716 }
21717 Py_INCREF(Py_None); resultobj = Py_None;
21718 return resultobj;
21719 fail:
21720 return NULL;
21721 }
21722
21723
21724 static PyObject *_wrap_TreeCtrl_SetItemFont(PyObject *self, PyObject *args, PyObject *kwargs) {
21725 PyObject *resultobj;
21726 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21727 wxTreeItemId *arg2 = 0 ;
21728 wxFont *arg3 = 0 ;
21729 PyObject * obj0 = 0 ;
21730 PyObject * obj1 = 0 ;
21731 PyObject * obj2 = 0 ;
21732 char *kwnames[] = {
21733 (char *) "self",(char *) "item",(char *) "font", NULL
21734 };
21735
21736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_SetItemFont",kwnames,&obj0,&obj1,&obj2)) goto fail;
21737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21738 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21739 if (arg2 == NULL) {
21740 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21741 }
21742 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21743 if (arg3 == NULL) {
21744 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21745 }
21746 {
21747 PyThreadState* __tstate = wxPyBeginAllowThreads();
21748 (arg1)->SetItemFont((wxTreeItemId const &)*arg2,(wxFont const &)*arg3);
21749
21750 wxPyEndAllowThreads(__tstate);
21751 if (PyErr_Occurred()) SWIG_fail;
21752 }
21753 Py_INCREF(Py_None); resultobj = Py_None;
21754 return resultobj;
21755 fail:
21756 return NULL;
21757 }
21758
21759
21760 static PyObject *_wrap_TreeCtrl_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
21761 PyObject *resultobj;
21762 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21763 wxTreeItemId *arg2 = 0 ;
21764 bool result;
21765 PyObject * obj0 = 0 ;
21766 PyObject * obj1 = 0 ;
21767 char *kwnames[] = {
21768 (char *) "self",(char *) "item", NULL
21769 };
21770
21771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsVisible",kwnames,&obj0,&obj1)) goto fail;
21772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21773 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21774 if (arg2 == NULL) {
21775 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21776 }
21777 {
21778 PyThreadState* __tstate = wxPyBeginAllowThreads();
21779 result = (bool)((wxPyTreeCtrl const *)arg1)->IsVisible((wxTreeItemId const &)*arg2);
21780
21781 wxPyEndAllowThreads(__tstate);
21782 if (PyErr_Occurred()) SWIG_fail;
21783 }
21784 resultobj = PyInt_FromLong((long)result);
21785 return resultobj;
21786 fail:
21787 return NULL;
21788 }
21789
21790
21791 static PyObject *_wrap_TreeCtrl_ItemHasChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
21792 PyObject *resultobj;
21793 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21794 wxTreeItemId *arg2 = 0 ;
21795 bool result;
21796 PyObject * obj0 = 0 ;
21797 PyObject * obj1 = 0 ;
21798 char *kwnames[] = {
21799 (char *) "self",(char *) "item", NULL
21800 };
21801
21802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ItemHasChildren",kwnames,&obj0,&obj1)) goto fail;
21803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21805 if (arg2 == NULL) {
21806 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21807 }
21808 {
21809 PyThreadState* __tstate = wxPyBeginAllowThreads();
21810 result = (bool)((wxPyTreeCtrl const *)arg1)->ItemHasChildren((wxTreeItemId const &)*arg2);
21811
21812 wxPyEndAllowThreads(__tstate);
21813 if (PyErr_Occurred()) SWIG_fail;
21814 }
21815 resultobj = PyInt_FromLong((long)result);
21816 return resultobj;
21817 fail:
21818 return NULL;
21819 }
21820
21821
21822 static PyObject *_wrap_TreeCtrl_IsExpanded(PyObject *self, PyObject *args, PyObject *kwargs) {
21823 PyObject *resultobj;
21824 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21825 wxTreeItemId *arg2 = 0 ;
21826 bool result;
21827 PyObject * obj0 = 0 ;
21828 PyObject * obj1 = 0 ;
21829 char *kwnames[] = {
21830 (char *) "self",(char *) "item", NULL
21831 };
21832
21833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsExpanded",kwnames,&obj0,&obj1)) goto fail;
21834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21835 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21836 if (arg2 == NULL) {
21837 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21838 }
21839 {
21840 PyThreadState* __tstate = wxPyBeginAllowThreads();
21841 result = (bool)((wxPyTreeCtrl const *)arg1)->IsExpanded((wxTreeItemId const &)*arg2);
21842
21843 wxPyEndAllowThreads(__tstate);
21844 if (PyErr_Occurred()) SWIG_fail;
21845 }
21846 resultobj = PyInt_FromLong((long)result);
21847 return resultobj;
21848 fail:
21849 return NULL;
21850 }
21851
21852
21853 static PyObject *_wrap_TreeCtrl_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
21854 PyObject *resultobj;
21855 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21856 wxTreeItemId *arg2 = 0 ;
21857 bool result;
21858 PyObject * obj0 = 0 ;
21859 PyObject * obj1 = 0 ;
21860 char *kwnames[] = {
21861 (char *) "self",(char *) "item", NULL
21862 };
21863
21864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsSelected",kwnames,&obj0,&obj1)) goto fail;
21865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21866 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21867 if (arg2 == NULL) {
21868 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21869 }
21870 {
21871 PyThreadState* __tstate = wxPyBeginAllowThreads();
21872 result = (bool)((wxPyTreeCtrl const *)arg1)->IsSelected((wxTreeItemId const &)*arg2);
21873
21874 wxPyEndAllowThreads(__tstate);
21875 if (PyErr_Occurred()) SWIG_fail;
21876 }
21877 resultobj = PyInt_FromLong((long)result);
21878 return resultobj;
21879 fail:
21880 return NULL;
21881 }
21882
21883
21884 static PyObject *_wrap_TreeCtrl_IsBold(PyObject *self, PyObject *args, PyObject *kwargs) {
21885 PyObject *resultobj;
21886 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21887 wxTreeItemId *arg2 = 0 ;
21888 bool result;
21889 PyObject * obj0 = 0 ;
21890 PyObject * obj1 = 0 ;
21891 char *kwnames[] = {
21892 (char *) "self",(char *) "item", NULL
21893 };
21894
21895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_IsBold",kwnames,&obj0,&obj1)) goto fail;
21896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21897 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21898 if (arg2 == NULL) {
21899 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21900 }
21901 {
21902 PyThreadState* __tstate = wxPyBeginAllowThreads();
21903 result = (bool)((wxPyTreeCtrl const *)arg1)->IsBold((wxTreeItemId const &)*arg2);
21904
21905 wxPyEndAllowThreads(__tstate);
21906 if (PyErr_Occurred()) SWIG_fail;
21907 }
21908 resultobj = PyInt_FromLong((long)result);
21909 return resultobj;
21910 fail:
21911 return NULL;
21912 }
21913
21914
21915 static PyObject *_wrap_TreeCtrl_GetChildrenCount(PyObject *self, PyObject *args, PyObject *kwargs) {
21916 PyObject *resultobj;
21917 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21918 wxTreeItemId *arg2 = 0 ;
21919 bool arg3 = (bool) True ;
21920 size_t result;
21921 PyObject * obj0 = 0 ;
21922 PyObject * obj1 = 0 ;
21923 PyObject * obj2 = 0 ;
21924 char *kwnames[] = {
21925 (char *) "self",(char *) "item",(char *) "recursively", NULL
21926 };
21927
21928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetChildrenCount",kwnames,&obj0,&obj1,&obj2)) goto fail;
21929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21931 if (arg2 == NULL) {
21932 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21933 }
21934 if (obj2) {
21935 arg3 = PyInt_AsLong(obj2) ? true : false;
21936 if (PyErr_Occurred()) SWIG_fail;
21937 }
21938 {
21939 PyThreadState* __tstate = wxPyBeginAllowThreads();
21940 result = (size_t)(arg1)->GetChildrenCount((wxTreeItemId const &)*arg2,arg3);
21941
21942 wxPyEndAllowThreads(__tstate);
21943 if (PyErr_Occurred()) SWIG_fail;
21944 }
21945 resultobj = PyInt_FromLong((long)result);
21946 return resultobj;
21947 fail:
21948 return NULL;
21949 }
21950
21951
21952 static PyObject *_wrap_TreeCtrl_GetRootItem(PyObject *self, PyObject *args, PyObject *kwargs) {
21953 PyObject *resultobj;
21954 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21955 wxTreeItemId result;
21956 PyObject * obj0 = 0 ;
21957 char *kwnames[] = {
21958 (char *) "self", NULL
21959 };
21960
21961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetRootItem",kwnames,&obj0)) goto fail;
21962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21963 {
21964 PyThreadState* __tstate = wxPyBeginAllowThreads();
21965 result = ((wxPyTreeCtrl const *)arg1)->GetRootItem();
21966
21967 wxPyEndAllowThreads(__tstate);
21968 if (PyErr_Occurred()) SWIG_fail;
21969 }
21970 {
21971 wxTreeItemId * resultptr;
21972 resultptr = new wxTreeItemId((wxTreeItemId &) result);
21973 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
21974 }
21975 return resultobj;
21976 fail:
21977 return NULL;
21978 }
21979
21980
21981 static PyObject *_wrap_TreeCtrl_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
21982 PyObject *resultobj;
21983 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
21984 wxTreeItemId result;
21985 PyObject * obj0 = 0 ;
21986 char *kwnames[] = {
21987 (char *) "self", NULL
21988 };
21989
21990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelection",kwnames,&obj0)) goto fail;
21991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21992 {
21993 PyThreadState* __tstate = wxPyBeginAllowThreads();
21994 result = ((wxPyTreeCtrl const *)arg1)->GetSelection();
21995
21996 wxPyEndAllowThreads(__tstate);
21997 if (PyErr_Occurred()) SWIG_fail;
21998 }
21999 {
22000 wxTreeItemId * resultptr;
22001 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22002 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22003 }
22004 return resultobj;
22005 fail:
22006 return NULL;
22007 }
22008
22009
22010 static PyObject *_wrap_TreeCtrl_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
22011 PyObject *resultobj;
22012 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22013 PyObject *result;
22014 PyObject * obj0 = 0 ;
22015 char *kwnames[] = {
22016 (char *) "self", NULL
22017 };
22018
22019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetSelections",kwnames,&obj0)) goto fail;
22020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22021 {
22022 PyThreadState* __tstate = wxPyBeginAllowThreads();
22023 result = (PyObject *)wxPyTreeCtrl_GetSelections(arg1);
22024
22025 wxPyEndAllowThreads(__tstate);
22026 if (PyErr_Occurred()) SWIG_fail;
22027 }
22028 resultobj = result;
22029 return resultobj;
22030 fail:
22031 return NULL;
22032 }
22033
22034
22035 static PyObject *_wrap_TreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) {
22036 PyObject *resultobj;
22037 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22038 wxTreeItemId *arg2 = 0 ;
22039 wxTreeItemId result;
22040 PyObject * obj0 = 0 ;
22041 PyObject * obj1 = 0 ;
22042 char *kwnames[] = {
22043 (char *) "self",(char *) "item", NULL
22044 };
22045
22046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetItemParent",kwnames,&obj0,&obj1)) goto fail;
22047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22048 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22049 if (arg2 == NULL) {
22050 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22051 }
22052 {
22053 PyThreadState* __tstate = wxPyBeginAllowThreads();
22054 result = ((wxPyTreeCtrl const *)arg1)->GetItemParent((wxTreeItemId const &)*arg2);
22055
22056 wxPyEndAllowThreads(__tstate);
22057 if (PyErr_Occurred()) SWIG_fail;
22058 }
22059 {
22060 wxTreeItemId * resultptr;
22061 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22062 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22063 }
22064 return resultobj;
22065 fail:
22066 return NULL;
22067 }
22068
22069
22070 static PyObject *_wrap_TreeCtrl_GetFirstChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22071 PyObject *resultobj;
22072 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22073 wxTreeItemId *arg2 = 0 ;
22074 PyObject *result;
22075 PyObject * obj0 = 0 ;
22076 PyObject * obj1 = 0 ;
22077 char *kwnames[] = {
22078 (char *) "self",(char *) "item", NULL
22079 };
22080
22081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetFirstChild",kwnames,&obj0,&obj1)) goto fail;
22082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22084 if (arg2 == NULL) {
22085 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22086 }
22087 {
22088 PyThreadState* __tstate = wxPyBeginAllowThreads();
22089 result = (PyObject *)wxPyTreeCtrl_GetFirstChild(arg1,(wxTreeItemId const &)*arg2);
22090
22091 wxPyEndAllowThreads(__tstate);
22092 if (PyErr_Occurred()) SWIG_fail;
22093 }
22094 resultobj = result;
22095 return resultobj;
22096 fail:
22097 return NULL;
22098 }
22099
22100
22101 static PyObject *_wrap_TreeCtrl_GetNextChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22102 PyObject *resultobj;
22103 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22104 wxTreeItemId *arg2 = 0 ;
22105 wxTreeItemIdValue *arg3 = 0 ;
22106 PyObject *result;
22107 PyObject * obj0 = 0 ;
22108 PyObject * obj1 = 0 ;
22109 PyObject * obj2 = 0 ;
22110 char *kwnames[] = {
22111 (char *) "self",(char *) "item",(char *) "cookie", NULL
22112 };
22113
22114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:TreeCtrl_GetNextChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
22115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22116 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22117 if (arg2 == NULL) {
22118 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22119 }
22120 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemIdValue,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22121 if (arg3 == NULL) {
22122 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22123 }
22124 {
22125 PyThreadState* __tstate = wxPyBeginAllowThreads();
22126 result = (PyObject *)wxPyTreeCtrl_GetNextChild(arg1,(wxTreeItemId const &)*arg2,*arg3);
22127
22128 wxPyEndAllowThreads(__tstate);
22129 if (PyErr_Occurred()) SWIG_fail;
22130 }
22131 resultobj = result;
22132 return resultobj;
22133 fail:
22134 return NULL;
22135 }
22136
22137
22138 static PyObject *_wrap_TreeCtrl_GetLastChild(PyObject *self, PyObject *args, PyObject *kwargs) {
22139 PyObject *resultobj;
22140 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22141 wxTreeItemId *arg2 = 0 ;
22142 wxTreeItemId result;
22143 PyObject * obj0 = 0 ;
22144 PyObject * obj1 = 0 ;
22145 char *kwnames[] = {
22146 (char *) "self",(char *) "item", NULL
22147 };
22148
22149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetLastChild",kwnames,&obj0,&obj1)) goto fail;
22150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22151 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22152 if (arg2 == NULL) {
22153 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22154 }
22155 {
22156 PyThreadState* __tstate = wxPyBeginAllowThreads();
22157 result = ((wxPyTreeCtrl const *)arg1)->GetLastChild((wxTreeItemId const &)*arg2);
22158
22159 wxPyEndAllowThreads(__tstate);
22160 if (PyErr_Occurred()) SWIG_fail;
22161 }
22162 {
22163 wxTreeItemId * resultptr;
22164 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22165 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22166 }
22167 return resultobj;
22168 fail:
22169 return NULL;
22170 }
22171
22172
22173 static PyObject *_wrap_TreeCtrl_GetNextSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22174 PyObject *resultobj;
22175 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22176 wxTreeItemId *arg2 = 0 ;
22177 wxTreeItemId result;
22178 PyObject * obj0 = 0 ;
22179 PyObject * obj1 = 0 ;
22180 char *kwnames[] = {
22181 (char *) "self",(char *) "item", NULL
22182 };
22183
22184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextSibling",kwnames,&obj0,&obj1)) goto fail;
22185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22186 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22187 if (arg2 == NULL) {
22188 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22189 }
22190 {
22191 PyThreadState* __tstate = wxPyBeginAllowThreads();
22192 result = ((wxPyTreeCtrl const *)arg1)->GetNextSibling((wxTreeItemId const &)*arg2);
22193
22194 wxPyEndAllowThreads(__tstate);
22195 if (PyErr_Occurred()) SWIG_fail;
22196 }
22197 {
22198 wxTreeItemId * resultptr;
22199 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22200 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22201 }
22202 return resultobj;
22203 fail:
22204 return NULL;
22205 }
22206
22207
22208 static PyObject *_wrap_TreeCtrl_GetPrevSibling(PyObject *self, PyObject *args, PyObject *kwargs) {
22209 PyObject *resultobj;
22210 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22211 wxTreeItemId *arg2 = 0 ;
22212 wxTreeItemId result;
22213 PyObject * obj0 = 0 ;
22214 PyObject * obj1 = 0 ;
22215 char *kwnames[] = {
22216 (char *) "self",(char *) "item", NULL
22217 };
22218
22219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevSibling",kwnames,&obj0,&obj1)) goto fail;
22220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22221 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22222 if (arg2 == NULL) {
22223 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22224 }
22225 {
22226 PyThreadState* __tstate = wxPyBeginAllowThreads();
22227 result = ((wxPyTreeCtrl const *)arg1)->GetPrevSibling((wxTreeItemId const &)*arg2);
22228
22229 wxPyEndAllowThreads(__tstate);
22230 if (PyErr_Occurred()) SWIG_fail;
22231 }
22232 {
22233 wxTreeItemId * resultptr;
22234 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22235 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22236 }
22237 return resultobj;
22238 fail:
22239 return NULL;
22240 }
22241
22242
22243 static PyObject *_wrap_TreeCtrl_GetFirstVisibleItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22244 PyObject *resultobj;
22245 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22246 wxTreeItemId result;
22247 PyObject * obj0 = 0 ;
22248 char *kwnames[] = {
22249 (char *) "self", NULL
22250 };
22251
22252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetFirstVisibleItem",kwnames,&obj0)) goto fail;
22253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22254 {
22255 PyThreadState* __tstate = wxPyBeginAllowThreads();
22256 result = ((wxPyTreeCtrl const *)arg1)->GetFirstVisibleItem();
22257
22258 wxPyEndAllowThreads(__tstate);
22259 if (PyErr_Occurred()) SWIG_fail;
22260 }
22261 {
22262 wxTreeItemId * resultptr;
22263 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22264 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22265 }
22266 return resultobj;
22267 fail:
22268 return NULL;
22269 }
22270
22271
22272 static PyObject *_wrap_TreeCtrl_GetNextVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22273 PyObject *resultobj;
22274 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22275 wxTreeItemId *arg2 = 0 ;
22276 wxTreeItemId result;
22277 PyObject * obj0 = 0 ;
22278 PyObject * obj1 = 0 ;
22279 char *kwnames[] = {
22280 (char *) "self",(char *) "item", NULL
22281 };
22282
22283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetNextVisible",kwnames,&obj0,&obj1)) goto fail;
22284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22286 if (arg2 == NULL) {
22287 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22288 }
22289 {
22290 PyThreadState* __tstate = wxPyBeginAllowThreads();
22291 result = ((wxPyTreeCtrl const *)arg1)->GetNextVisible((wxTreeItemId const &)*arg2);
22292
22293 wxPyEndAllowThreads(__tstate);
22294 if (PyErr_Occurred()) SWIG_fail;
22295 }
22296 {
22297 wxTreeItemId * resultptr;
22298 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22299 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22300 }
22301 return resultobj;
22302 fail:
22303 return NULL;
22304 }
22305
22306
22307 static PyObject *_wrap_TreeCtrl_GetPrevVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22308 PyObject *resultobj;
22309 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22310 wxTreeItemId *arg2 = 0 ;
22311 wxTreeItemId result;
22312 PyObject * obj0 = 0 ;
22313 PyObject * obj1 = 0 ;
22314 char *kwnames[] = {
22315 (char *) "self",(char *) "item", NULL
22316 };
22317
22318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_GetPrevVisible",kwnames,&obj0,&obj1)) goto fail;
22319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22320 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22321 if (arg2 == NULL) {
22322 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22323 }
22324 {
22325 PyThreadState* __tstate = wxPyBeginAllowThreads();
22326 result = ((wxPyTreeCtrl const *)arg1)->GetPrevVisible((wxTreeItemId const &)*arg2);
22327
22328 wxPyEndAllowThreads(__tstate);
22329 if (PyErr_Occurred()) SWIG_fail;
22330 }
22331 {
22332 wxTreeItemId * resultptr;
22333 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22334 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22335 }
22336 return resultobj;
22337 fail:
22338 return NULL;
22339 }
22340
22341
22342 static PyObject *_wrap_TreeCtrl_AddRoot(PyObject *self, PyObject *args, PyObject *kwargs) {
22343 PyObject *resultobj;
22344 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22345 wxString *arg2 = 0 ;
22346 int arg3 = (int) -1 ;
22347 int arg4 = (int) -1 ;
22348 wxPyTreeItemData *arg5 = (wxPyTreeItemData *) NULL ;
22349 wxTreeItemId result;
22350 bool temp2 = False ;
22351 PyObject * obj0 = 0 ;
22352 PyObject * obj1 = 0 ;
22353 PyObject * obj4 = 0 ;
22354 char *kwnames[] = {
22355 (char *) "self",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22356 };
22357
22358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iiO:TreeCtrl_AddRoot",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
22359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22360 {
22361 arg2 = wxString_in_helper(obj1);
22362 if (arg2 == NULL) SWIG_fail;
22363 temp2 = True;
22364 }
22365 if (obj4) {
22366 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22367 }
22368 {
22369 PyThreadState* __tstate = wxPyBeginAllowThreads();
22370 result = (arg1)->AddRoot((wxString const &)*arg2,arg3,arg4,arg5);
22371
22372 wxPyEndAllowThreads(__tstate);
22373 if (PyErr_Occurred()) SWIG_fail;
22374 }
22375 {
22376 wxTreeItemId * resultptr;
22377 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22378 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22379 }
22380 {
22381 if (temp2)
22382 delete arg2;
22383 }
22384 return resultobj;
22385 fail:
22386 {
22387 if (temp2)
22388 delete arg2;
22389 }
22390 return NULL;
22391 }
22392
22393
22394 static PyObject *_wrap_TreeCtrl_PrependItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22395 PyObject *resultobj;
22396 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22397 wxTreeItemId *arg2 = 0 ;
22398 wxString *arg3 = 0 ;
22399 int arg4 = (int) -1 ;
22400 int arg5 = (int) -1 ;
22401 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22402 wxTreeItemId result;
22403 bool temp3 = False ;
22404 PyObject * obj0 = 0 ;
22405 PyObject * obj1 = 0 ;
22406 PyObject * obj2 = 0 ;
22407 PyObject * obj5 = 0 ;
22408 char *kwnames[] = {
22409 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22410 };
22411
22412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_PrependItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22414 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22415 if (arg2 == NULL) {
22416 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22417 }
22418 {
22419 arg3 = wxString_in_helper(obj2);
22420 if (arg3 == NULL) SWIG_fail;
22421 temp3 = True;
22422 }
22423 if (obj5) {
22424 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22425 }
22426 {
22427 PyThreadState* __tstate = wxPyBeginAllowThreads();
22428 result = (arg1)->PrependItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22429
22430 wxPyEndAllowThreads(__tstate);
22431 if (PyErr_Occurred()) SWIG_fail;
22432 }
22433 {
22434 wxTreeItemId * resultptr;
22435 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22436 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22437 }
22438 {
22439 if (temp3)
22440 delete arg3;
22441 }
22442 return resultobj;
22443 fail:
22444 {
22445 if (temp3)
22446 delete arg3;
22447 }
22448 return NULL;
22449 }
22450
22451
22452 static PyObject *_wrap_TreeCtrl_InsertItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22453 PyObject *resultobj;
22454 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22455 wxTreeItemId *arg2 = 0 ;
22456 wxTreeItemId *arg3 = 0 ;
22457 wxString *arg4 = 0 ;
22458 int arg5 = (int) -1 ;
22459 int arg6 = (int) -1 ;
22460 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22461 wxTreeItemId result;
22462 bool temp4 = False ;
22463 PyObject * obj0 = 0 ;
22464 PyObject * obj1 = 0 ;
22465 PyObject * obj2 = 0 ;
22466 PyObject * obj3 = 0 ;
22467 PyObject * obj6 = 0 ;
22468 char *kwnames[] = {
22469 (char *) "self",(char *) "parent",(char *) "idPrevious",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22470 };
22471
22472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItem",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22474 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22475 if (arg2 == NULL) {
22476 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22477 }
22478 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22479 if (arg3 == NULL) {
22480 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22481 }
22482 {
22483 arg4 = wxString_in_helper(obj3);
22484 if (arg4 == NULL) SWIG_fail;
22485 temp4 = True;
22486 }
22487 if (obj6) {
22488 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22489 }
22490 {
22491 PyThreadState* __tstate = wxPyBeginAllowThreads();
22492 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,(wxTreeItemId const &)*arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22493
22494 wxPyEndAllowThreads(__tstate);
22495 if (PyErr_Occurred()) SWIG_fail;
22496 }
22497 {
22498 wxTreeItemId * resultptr;
22499 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22500 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22501 }
22502 {
22503 if (temp4)
22504 delete arg4;
22505 }
22506 return resultobj;
22507 fail:
22508 {
22509 if (temp4)
22510 delete arg4;
22511 }
22512 return NULL;
22513 }
22514
22515
22516 static PyObject *_wrap_TreeCtrl_InsertItemBefore(PyObject *self, PyObject *args, PyObject *kwargs) {
22517 PyObject *resultobj;
22518 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22519 wxTreeItemId *arg2 = 0 ;
22520 size_t arg3 ;
22521 wxString *arg4 = 0 ;
22522 int arg5 = (int) -1 ;
22523 int arg6 = (int) -1 ;
22524 wxPyTreeItemData *arg7 = (wxPyTreeItemData *) NULL ;
22525 wxTreeItemId result;
22526 bool temp4 = False ;
22527 PyObject * obj0 = 0 ;
22528 PyObject * obj1 = 0 ;
22529 PyObject * obj2 = 0 ;
22530 PyObject * obj3 = 0 ;
22531 PyObject * obj6 = 0 ;
22532 char *kwnames[] = {
22533 (char *) "self",(char *) "parent",(char *) "index",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22534 };
22535
22536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|iiO:TreeCtrl_InsertItemBefore",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&arg6,&obj6)) goto fail;
22537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22538 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22539 if (arg2 == NULL) {
22540 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22541 }
22542 arg3 = (size_t) PyInt_AsLong(obj2);
22543 if (PyErr_Occurred()) SWIG_fail;
22544 {
22545 arg4 = wxString_in_helper(obj3);
22546 if (arg4 == NULL) SWIG_fail;
22547 temp4 = True;
22548 }
22549 if (obj6) {
22550 if ((SWIG_ConvertPtr(obj6,(void **) &arg7, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22551 }
22552 {
22553 PyThreadState* __tstate = wxPyBeginAllowThreads();
22554 result = (arg1)->InsertItem((wxTreeItemId const &)*arg2,arg3,(wxString const &)*arg4,arg5,arg6,arg7);
22555
22556 wxPyEndAllowThreads(__tstate);
22557 if (PyErr_Occurred()) SWIG_fail;
22558 }
22559 {
22560 wxTreeItemId * resultptr;
22561 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22562 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22563 }
22564 {
22565 if (temp4)
22566 delete arg4;
22567 }
22568 return resultobj;
22569 fail:
22570 {
22571 if (temp4)
22572 delete arg4;
22573 }
22574 return NULL;
22575 }
22576
22577
22578 static PyObject *_wrap_TreeCtrl_AppendItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22579 PyObject *resultobj;
22580 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22581 wxTreeItemId *arg2 = 0 ;
22582 wxString *arg3 = 0 ;
22583 int arg4 = (int) -1 ;
22584 int arg5 = (int) -1 ;
22585 wxPyTreeItemData *arg6 = (wxPyTreeItemData *) NULL ;
22586 wxTreeItemId result;
22587 bool temp3 = False ;
22588 PyObject * obj0 = 0 ;
22589 PyObject * obj1 = 0 ;
22590 PyObject * obj2 = 0 ;
22591 PyObject * obj5 = 0 ;
22592 char *kwnames[] = {
22593 (char *) "self",(char *) "parent",(char *) "text",(char *) "image",(char *) "selectedImage",(char *) "data", NULL
22594 };
22595
22596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|iiO:TreeCtrl_AppendItem",kwnames,&obj0,&obj1,&obj2,&arg4,&arg5,&obj5)) goto fail;
22597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22598 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22599 if (arg2 == NULL) {
22600 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22601 }
22602 {
22603 arg3 = wxString_in_helper(obj2);
22604 if (arg3 == NULL) SWIG_fail;
22605 temp3 = True;
22606 }
22607 if (obj5) {
22608 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxPyTreeItemData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22609 }
22610 {
22611 PyThreadState* __tstate = wxPyBeginAllowThreads();
22612 result = (arg1)->AppendItem((wxTreeItemId const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6);
22613
22614 wxPyEndAllowThreads(__tstate);
22615 if (PyErr_Occurred()) SWIG_fail;
22616 }
22617 {
22618 wxTreeItemId * resultptr;
22619 resultptr = new wxTreeItemId((wxTreeItemId &) result);
22620 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
22621 }
22622 {
22623 if (temp3)
22624 delete arg3;
22625 }
22626 return resultobj;
22627 fail:
22628 {
22629 if (temp3)
22630 delete arg3;
22631 }
22632 return NULL;
22633 }
22634
22635
22636 static PyObject *_wrap_TreeCtrl_Delete(PyObject *self, PyObject *args, PyObject *kwargs) {
22637 PyObject *resultobj;
22638 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22639 wxTreeItemId *arg2 = 0 ;
22640 PyObject * obj0 = 0 ;
22641 PyObject * obj1 = 0 ;
22642 char *kwnames[] = {
22643 (char *) "self",(char *) "item", NULL
22644 };
22645
22646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Delete",kwnames,&obj0,&obj1)) goto fail;
22647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22648 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22649 if (arg2 == NULL) {
22650 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22651 }
22652 {
22653 PyThreadState* __tstate = wxPyBeginAllowThreads();
22654 (arg1)->Delete((wxTreeItemId const &)*arg2);
22655
22656 wxPyEndAllowThreads(__tstate);
22657 if (PyErr_Occurred()) SWIG_fail;
22658 }
22659 Py_INCREF(Py_None); resultobj = Py_None;
22660 return resultobj;
22661 fail:
22662 return NULL;
22663 }
22664
22665
22666 static PyObject *_wrap_TreeCtrl_DeleteChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
22667 PyObject *resultobj;
22668 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22669 wxTreeItemId *arg2 = 0 ;
22670 PyObject * obj0 = 0 ;
22671 PyObject * obj1 = 0 ;
22672 char *kwnames[] = {
22673 (char *) "self",(char *) "item", NULL
22674 };
22675
22676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_DeleteChildren",kwnames,&obj0,&obj1)) goto fail;
22677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22678 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22679 if (arg2 == NULL) {
22680 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22681 }
22682 {
22683 PyThreadState* __tstate = wxPyBeginAllowThreads();
22684 (arg1)->DeleteChildren((wxTreeItemId const &)*arg2);
22685
22686 wxPyEndAllowThreads(__tstate);
22687 if (PyErr_Occurred()) SWIG_fail;
22688 }
22689 Py_INCREF(Py_None); resultobj = Py_None;
22690 return resultobj;
22691 fail:
22692 return NULL;
22693 }
22694
22695
22696 static PyObject *_wrap_TreeCtrl_DeleteAllItems(PyObject *self, PyObject *args, PyObject *kwargs) {
22697 PyObject *resultobj;
22698 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22699 PyObject * obj0 = 0 ;
22700 char *kwnames[] = {
22701 (char *) "self", NULL
22702 };
22703
22704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_DeleteAllItems",kwnames,&obj0)) goto fail;
22705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22706 {
22707 PyThreadState* __tstate = wxPyBeginAllowThreads();
22708 (arg1)->DeleteAllItems();
22709
22710 wxPyEndAllowThreads(__tstate);
22711 if (PyErr_Occurred()) SWIG_fail;
22712 }
22713 Py_INCREF(Py_None); resultobj = Py_None;
22714 return resultobj;
22715 fail:
22716 return NULL;
22717 }
22718
22719
22720 static PyObject *_wrap_TreeCtrl_Expand(PyObject *self, PyObject *args, PyObject *kwargs) {
22721 PyObject *resultobj;
22722 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22723 wxTreeItemId *arg2 = 0 ;
22724 PyObject * obj0 = 0 ;
22725 PyObject * obj1 = 0 ;
22726 char *kwnames[] = {
22727 (char *) "self",(char *) "item", NULL
22728 };
22729
22730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Expand",kwnames,&obj0,&obj1)) goto fail;
22731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22732 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22733 if (arg2 == NULL) {
22734 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22735 }
22736 {
22737 PyThreadState* __tstate = wxPyBeginAllowThreads();
22738 (arg1)->Expand((wxTreeItemId const &)*arg2);
22739
22740 wxPyEndAllowThreads(__tstate);
22741 if (PyErr_Occurred()) SWIG_fail;
22742 }
22743 Py_INCREF(Py_None); resultobj = Py_None;
22744 return resultobj;
22745 fail:
22746 return NULL;
22747 }
22748
22749
22750 static PyObject *_wrap_TreeCtrl_Collapse(PyObject *self, PyObject *args, PyObject *kwargs) {
22751 PyObject *resultobj;
22752 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22753 wxTreeItemId *arg2 = 0 ;
22754 PyObject * obj0 = 0 ;
22755 PyObject * obj1 = 0 ;
22756 char *kwnames[] = {
22757 (char *) "self",(char *) "item", NULL
22758 };
22759
22760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Collapse",kwnames,&obj0,&obj1)) goto fail;
22761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22762 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22763 if (arg2 == NULL) {
22764 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22765 }
22766 {
22767 PyThreadState* __tstate = wxPyBeginAllowThreads();
22768 (arg1)->Collapse((wxTreeItemId const &)*arg2);
22769
22770 wxPyEndAllowThreads(__tstate);
22771 if (PyErr_Occurred()) SWIG_fail;
22772 }
22773 Py_INCREF(Py_None); resultobj = Py_None;
22774 return resultobj;
22775 fail:
22776 return NULL;
22777 }
22778
22779
22780 static PyObject *_wrap_TreeCtrl_CollapseAndReset(PyObject *self, PyObject *args, PyObject *kwargs) {
22781 PyObject *resultobj;
22782 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22783 wxTreeItemId *arg2 = 0 ;
22784 PyObject * obj0 = 0 ;
22785 PyObject * obj1 = 0 ;
22786 char *kwnames[] = {
22787 (char *) "self",(char *) "item", NULL
22788 };
22789
22790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_CollapseAndReset",kwnames,&obj0,&obj1)) goto fail;
22791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22792 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22793 if (arg2 == NULL) {
22794 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22795 }
22796 {
22797 PyThreadState* __tstate = wxPyBeginAllowThreads();
22798 (arg1)->CollapseAndReset((wxTreeItemId const &)*arg2);
22799
22800 wxPyEndAllowThreads(__tstate);
22801 if (PyErr_Occurred()) SWIG_fail;
22802 }
22803 Py_INCREF(Py_None); resultobj = Py_None;
22804 return resultobj;
22805 fail:
22806 return NULL;
22807 }
22808
22809
22810 static PyObject *_wrap_TreeCtrl_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
22811 PyObject *resultobj;
22812 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22813 wxTreeItemId *arg2 = 0 ;
22814 PyObject * obj0 = 0 ;
22815 PyObject * obj1 = 0 ;
22816 char *kwnames[] = {
22817 (char *) "self",(char *) "item", NULL
22818 };
22819
22820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_Toggle",kwnames,&obj0,&obj1)) goto fail;
22821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22822 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22823 if (arg2 == NULL) {
22824 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22825 }
22826 {
22827 PyThreadState* __tstate = wxPyBeginAllowThreads();
22828 (arg1)->Toggle((wxTreeItemId const &)*arg2);
22829
22830 wxPyEndAllowThreads(__tstate);
22831 if (PyErr_Occurred()) SWIG_fail;
22832 }
22833 Py_INCREF(Py_None); resultobj = Py_None;
22834 return resultobj;
22835 fail:
22836 return NULL;
22837 }
22838
22839
22840 static PyObject *_wrap_TreeCtrl_Unselect(PyObject *self, PyObject *args, PyObject *kwargs) {
22841 PyObject *resultobj;
22842 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22843 PyObject * obj0 = 0 ;
22844 char *kwnames[] = {
22845 (char *) "self", NULL
22846 };
22847
22848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_Unselect",kwnames,&obj0)) goto fail;
22849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22850 {
22851 PyThreadState* __tstate = wxPyBeginAllowThreads();
22852 (arg1)->Unselect();
22853
22854 wxPyEndAllowThreads(__tstate);
22855 if (PyErr_Occurred()) SWIG_fail;
22856 }
22857 Py_INCREF(Py_None); resultobj = Py_None;
22858 return resultobj;
22859 fail:
22860 return NULL;
22861 }
22862
22863
22864 static PyObject *_wrap_TreeCtrl_UnselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
22865 PyObject *resultobj;
22866 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22867 PyObject * obj0 = 0 ;
22868 char *kwnames[] = {
22869 (char *) "self", NULL
22870 };
22871
22872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_UnselectAll",kwnames,&obj0)) goto fail;
22873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22874 {
22875 PyThreadState* __tstate = wxPyBeginAllowThreads();
22876 (arg1)->UnselectAll();
22877
22878 wxPyEndAllowThreads(__tstate);
22879 if (PyErr_Occurred()) SWIG_fail;
22880 }
22881 Py_INCREF(Py_None); resultobj = Py_None;
22882 return resultobj;
22883 fail:
22884 return NULL;
22885 }
22886
22887
22888 static PyObject *_wrap_TreeCtrl_SelectItem(PyObject *self, PyObject *args, PyObject *kwargs) {
22889 PyObject *resultobj;
22890 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22891 wxTreeItemId *arg2 = 0 ;
22892 PyObject * obj0 = 0 ;
22893 PyObject * obj1 = 0 ;
22894 char *kwnames[] = {
22895 (char *) "self",(char *) "item", NULL
22896 };
22897
22898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SelectItem",kwnames,&obj0,&obj1)) goto fail;
22899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22900 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22901 if (arg2 == NULL) {
22902 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22903 }
22904 {
22905 PyThreadState* __tstate = wxPyBeginAllowThreads();
22906 (arg1)->SelectItem((wxTreeItemId const &)*arg2);
22907
22908 wxPyEndAllowThreads(__tstate);
22909 if (PyErr_Occurred()) SWIG_fail;
22910 }
22911 Py_INCREF(Py_None); resultobj = Py_None;
22912 return resultobj;
22913 fail:
22914 return NULL;
22915 }
22916
22917
22918 static PyObject *_wrap_TreeCtrl_EnsureVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
22919 PyObject *resultobj;
22920 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22921 wxTreeItemId *arg2 = 0 ;
22922 PyObject * obj0 = 0 ;
22923 PyObject * obj1 = 0 ;
22924 char *kwnames[] = {
22925 (char *) "self",(char *) "item", NULL
22926 };
22927
22928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EnsureVisible",kwnames,&obj0,&obj1)) goto fail;
22929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22931 if (arg2 == NULL) {
22932 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22933 }
22934 {
22935 PyThreadState* __tstate = wxPyBeginAllowThreads();
22936 (arg1)->EnsureVisible((wxTreeItemId const &)*arg2);
22937
22938 wxPyEndAllowThreads(__tstate);
22939 if (PyErr_Occurred()) SWIG_fail;
22940 }
22941 Py_INCREF(Py_None); resultobj = Py_None;
22942 return resultobj;
22943 fail:
22944 return NULL;
22945 }
22946
22947
22948 static PyObject *_wrap_TreeCtrl_ScrollTo(PyObject *self, PyObject *args, PyObject *kwargs) {
22949 PyObject *resultobj;
22950 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22951 wxTreeItemId *arg2 = 0 ;
22952 PyObject * obj0 = 0 ;
22953 PyObject * obj1 = 0 ;
22954 char *kwnames[] = {
22955 (char *) "self",(char *) "item", NULL
22956 };
22957
22958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_ScrollTo",kwnames,&obj0,&obj1)) goto fail;
22959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22961 if (arg2 == NULL) {
22962 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22963 }
22964 {
22965 PyThreadState* __tstate = wxPyBeginAllowThreads();
22966 (arg1)->ScrollTo((wxTreeItemId const &)*arg2);
22967
22968 wxPyEndAllowThreads(__tstate);
22969 if (PyErr_Occurred()) SWIG_fail;
22970 }
22971 Py_INCREF(Py_None); resultobj = Py_None;
22972 return resultobj;
22973 fail:
22974 return NULL;
22975 }
22976
22977
22978 static PyObject *_wrap_TreeCtrl_EditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
22979 PyObject *resultobj;
22980 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
22981 wxTreeItemId *arg2 = 0 ;
22982 PyObject * obj0 = 0 ;
22983 PyObject * obj1 = 0 ;
22984 char *kwnames[] = {
22985 (char *) "self",(char *) "item", NULL
22986 };
22987
22988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_EditLabel",kwnames,&obj0,&obj1)) goto fail;
22989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22990 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22991 if (arg2 == NULL) {
22992 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22993 }
22994 {
22995 PyThreadState* __tstate = wxPyBeginAllowThreads();
22996 (arg1)->EditLabel((wxTreeItemId const &)*arg2);
22997
22998 wxPyEndAllowThreads(__tstate);
22999 if (PyErr_Occurred()) SWIG_fail;
23000 }
23001 Py_INCREF(Py_None); resultobj = Py_None;
23002 return resultobj;
23003 fail:
23004 return NULL;
23005 }
23006
23007
23008 static PyObject *_wrap_TreeCtrl_GetEditControl(PyObject *self, PyObject *args, PyObject *kwargs) {
23009 PyObject *resultobj;
23010 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23011 wxTextCtrl *result;
23012 PyObject * obj0 = 0 ;
23013 char *kwnames[] = {
23014 (char *) "self", NULL
23015 };
23016
23017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TreeCtrl_GetEditControl",kwnames,&obj0)) goto fail;
23018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23019 {
23020 PyThreadState* __tstate = wxPyBeginAllowThreads();
23021 result = (wxTextCtrl *)((wxPyTreeCtrl const *)arg1)->GetEditControl();
23022
23023 wxPyEndAllowThreads(__tstate);
23024 if (PyErr_Occurred()) SWIG_fail;
23025 }
23026 {
23027 resultobj = wxPyMake_wxObject(result);
23028 }
23029 return resultobj;
23030 fail:
23031 return NULL;
23032 }
23033
23034
23035 static PyObject *_wrap_TreeCtrl_EndEditLabel(PyObject *self, PyObject *args, PyObject *kwargs) {
23036 PyObject *resultobj;
23037 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23038 wxTreeItemId *arg2 = 0 ;
23039 bool arg3 = (bool) False ;
23040 PyObject * obj0 = 0 ;
23041 PyObject * obj1 = 0 ;
23042 PyObject * obj2 = 0 ;
23043 char *kwnames[] = {
23044 (char *) "self",(char *) "item",(char *) "discardChanges", NULL
23045 };
23046
23047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_EndEditLabel",kwnames,&obj0,&obj1,&obj2)) goto fail;
23048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23049 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23050 if (arg2 == NULL) {
23051 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23052 }
23053 if (obj2) {
23054 arg3 = PyInt_AsLong(obj2) ? true : false;
23055 if (PyErr_Occurred()) SWIG_fail;
23056 }
23057 {
23058 PyThreadState* __tstate = wxPyBeginAllowThreads();
23059 (arg1)->EndEditLabel((wxTreeItemId const &)*arg2,arg3);
23060
23061 wxPyEndAllowThreads(__tstate);
23062 if (PyErr_Occurred()) SWIG_fail;
23063 }
23064 Py_INCREF(Py_None); resultobj = Py_None;
23065 return resultobj;
23066 fail:
23067 return NULL;
23068 }
23069
23070
23071 static PyObject *_wrap_TreeCtrl_SortChildren(PyObject *self, PyObject *args, PyObject *kwargs) {
23072 PyObject *resultobj;
23073 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23074 wxTreeItemId *arg2 = 0 ;
23075 PyObject * obj0 = 0 ;
23076 PyObject * obj1 = 0 ;
23077 char *kwnames[] = {
23078 (char *) "self",(char *) "item", NULL
23079 };
23080
23081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_SortChildren",kwnames,&obj0,&obj1)) goto fail;
23082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23084 if (arg2 == NULL) {
23085 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23086 }
23087 {
23088 PyThreadState* __tstate = wxPyBeginAllowThreads();
23089 (arg1)->SortChildren((wxTreeItemId const &)*arg2);
23090
23091 wxPyEndAllowThreads(__tstate);
23092 if (PyErr_Occurred()) SWIG_fail;
23093 }
23094 Py_INCREF(Py_None); resultobj = Py_None;
23095 return resultobj;
23096 fail:
23097 return NULL;
23098 }
23099
23100
23101 static PyObject *_wrap_TreeCtrl_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
23102 PyObject *resultobj;
23103 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23104 wxPoint *arg2 = 0 ;
23105 int *arg3 = 0 ;
23106 wxTreeItemId result;
23107 wxPoint temp2 ;
23108 int temp3 ;
23109 PyObject * obj0 = 0 ;
23110 PyObject * obj1 = 0 ;
23111 char *kwnames[] = {
23112 (char *) "self",(char *) "point", NULL
23113 };
23114
23115 arg3 = &temp3;
23116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TreeCtrl_HitTest",kwnames,&obj0,&obj1)) goto fail;
23117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23118 {
23119 arg2 = &temp2;
23120 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
23121 }
23122 {
23123 PyThreadState* __tstate = wxPyBeginAllowThreads();
23124 result = (arg1)->HitTest((wxPoint const &)*arg2,*arg3);
23125
23126 wxPyEndAllowThreads(__tstate);
23127 if (PyErr_Occurred()) SWIG_fail;
23128 }
23129 {
23130 wxTreeItemId * resultptr;
23131 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23132 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23133 }
23134 {
23135 PyObject *o = PyInt_FromLong((long) (*arg3));
23136 resultobj = t_output_helper(resultobj,o);
23137 }
23138 return resultobj;
23139 fail:
23140 return NULL;
23141 }
23142
23143
23144 static PyObject *_wrap_TreeCtrl_GetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
23145 PyObject *resultobj;
23146 wxPyTreeCtrl *arg1 = (wxPyTreeCtrl *) 0 ;
23147 wxTreeItemId *arg2 = 0 ;
23148 bool arg3 = (bool) False ;
23149 PyObject *result;
23150 PyObject * obj0 = 0 ;
23151 PyObject * obj1 = 0 ;
23152 PyObject * obj2 = 0 ;
23153 char *kwnames[] = {
23154 (char *) "self",(char *) "item",(char *) "textOnly", NULL
23155 };
23156
23157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TreeCtrl_GetBoundingRect",kwnames,&obj0,&obj1,&obj2)) goto fail;
23158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23159 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23160 if (arg2 == NULL) {
23161 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
23162 }
23163 if (obj2) {
23164 arg3 = PyInt_AsLong(obj2) ? true : false;
23165 if (PyErr_Occurred()) SWIG_fail;
23166 }
23167 {
23168 PyThreadState* __tstate = wxPyBeginAllowThreads();
23169 result = (PyObject *)wxPyTreeCtrl_GetBoundingRect(arg1,(wxTreeItemId const &)*arg2,arg3);
23170
23171 wxPyEndAllowThreads(__tstate);
23172 if (PyErr_Occurred()) SWIG_fail;
23173 }
23174 resultobj = result;
23175 return resultobj;
23176 fail:
23177 return NULL;
23178 }
23179
23180
23181 static PyObject * TreeCtrl_swigregister(PyObject *self, PyObject *args) {
23182 PyObject *obj;
23183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
23184 SWIG_TypeClientData(SWIGTYPE_p_wxPyTreeCtrl, obj);
23185 Py_INCREF(obj);
23186 return Py_BuildValue((char *)"");
23187 }
23188 static PyObject *_wrap_new_GenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23189 PyObject *resultobj;
23190 wxWindow *arg1 = (wxWindow *) 0 ;
23191 int arg2 = (int) (int)-1 ;
23192 wxString const &arg3_defvalue = wxPyDirDialogDefaultFolderStr ;
23193 wxString *arg3 = (wxString *) &arg3_defvalue ;
23194 wxPoint const &arg4_defvalue = wxDefaultPosition ;
23195 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
23196 wxSize const &arg5_defvalue = wxDefaultSize ;
23197 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
23198 long arg6 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23199 wxString const &arg7_defvalue = wxPyEmptyString ;
23200 wxString *arg7 = (wxString *) &arg7_defvalue ;
23201 int arg8 = (int) 0 ;
23202 wxString const &arg9_defvalue = wxPy_TreeCtrlNameStr ;
23203 wxString *arg9 = (wxString *) &arg9_defvalue ;
23204 wxGenericDirCtrl *result;
23205 bool temp3 = False ;
23206 wxPoint temp4 ;
23207 wxSize temp5 ;
23208 bool temp7 = False ;
23209 bool temp9 = False ;
23210 PyObject * obj0 = 0 ;
23211 PyObject * obj2 = 0 ;
23212 PyObject * obj3 = 0 ;
23213 PyObject * obj4 = 0 ;
23214 PyObject * obj6 = 0 ;
23215 PyObject * obj8 = 0 ;
23216 char *kwnames[] = {
23217 (char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23218 };
23219
23220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOOlOiO:new_GenericDirCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6,&arg8,&obj8)) goto fail;
23221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23222 if (obj2) {
23223 {
23224 arg3 = wxString_in_helper(obj2);
23225 if (arg3 == NULL) SWIG_fail;
23226 temp3 = True;
23227 }
23228 }
23229 if (obj3) {
23230 {
23231 arg4 = &temp4;
23232 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
23233 }
23234 }
23235 if (obj4) {
23236 {
23237 arg5 = &temp5;
23238 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
23239 }
23240 }
23241 if (obj6) {
23242 {
23243 arg7 = wxString_in_helper(obj6);
23244 if (arg7 == NULL) SWIG_fail;
23245 temp7 = True;
23246 }
23247 }
23248 if (obj8) {
23249 {
23250 arg9 = wxString_in_helper(obj8);
23251 if (arg9 == NULL) SWIG_fail;
23252 temp9 = True;
23253 }
23254 }
23255 {
23256 PyThreadState* __tstate = wxPyBeginAllowThreads();
23257 result = (wxGenericDirCtrl *)new wxGenericDirCtrl(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7,arg8,(wxString const &)*arg9);
23258
23259 wxPyEndAllowThreads(__tstate);
23260 if (PyErr_Occurred()) SWIG_fail;
23261 }
23262 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23263 {
23264 if (temp3)
23265 delete arg3;
23266 }
23267 {
23268 if (temp7)
23269 delete arg7;
23270 }
23271 {
23272 if (temp9)
23273 delete arg9;
23274 }
23275 return resultobj;
23276 fail:
23277 {
23278 if (temp3)
23279 delete arg3;
23280 }
23281 {
23282 if (temp7)
23283 delete arg7;
23284 }
23285 {
23286 if (temp9)
23287 delete arg9;
23288 }
23289 return NULL;
23290 }
23291
23292
23293 static PyObject *_wrap_new_PreGenericDirCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23294 PyObject *resultobj;
23295 wxGenericDirCtrl *result;
23296 char *kwnames[] = {
23297 NULL
23298 };
23299
23300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreGenericDirCtrl",kwnames)) goto fail;
23301 {
23302 PyThreadState* __tstate = wxPyBeginAllowThreads();
23303 result = (wxGenericDirCtrl *)new wxGenericDirCtrl();
23304
23305 wxPyEndAllowThreads(__tstate);
23306 if (PyErr_Occurred()) SWIG_fail;
23307 }
23308 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDirCtrl, 1);
23309 return resultobj;
23310 fail:
23311 return NULL;
23312 }
23313
23314
23315 static PyObject *_wrap_GenericDirCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
23316 PyObject *resultobj;
23317 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23318 wxWindow *arg2 = (wxWindow *) 0 ;
23319 int arg3 = (int) (int)-1 ;
23320 wxString const &arg4_defvalue = wxPyDirDialogDefaultFolderStr ;
23321 wxString *arg4 = (wxString *) &arg4_defvalue ;
23322 wxPoint const &arg5_defvalue = wxDefaultPosition ;
23323 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
23324 wxSize const &arg6_defvalue = wxDefaultSize ;
23325 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
23326 long arg7 = (long) wxDIRCTRL_3D_INTERNAL|wxSUNKEN_BORDER ;
23327 wxString const &arg8_defvalue = wxPyEmptyString ;
23328 wxString *arg8 = (wxString *) &arg8_defvalue ;
23329 int arg9 = (int) 0 ;
23330 wxString const &arg10_defvalue = wxPy_TreeCtrlNameStr ;
23331 wxString *arg10 = (wxString *) &arg10_defvalue ;
23332 bool result;
23333 bool temp4 = False ;
23334 wxPoint temp5 ;
23335 wxSize temp6 ;
23336 bool temp8 = False ;
23337 bool temp10 = False ;
23338 PyObject * obj0 = 0 ;
23339 PyObject * obj1 = 0 ;
23340 PyObject * obj3 = 0 ;
23341 PyObject * obj4 = 0 ;
23342 PyObject * obj5 = 0 ;
23343 PyObject * obj7 = 0 ;
23344 PyObject * obj9 = 0 ;
23345 char *kwnames[] = {
23346 (char *) "self",(char *) "parent",(char *) "id",(char *) "dir",(char *) "pos",(char *) "size",(char *) "style",(char *) "filter",(char *) "defaultFilter",(char *) "name", NULL
23347 };
23348
23349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOOlOiO:GenericDirCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7,&arg9,&obj9)) goto fail;
23350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23351 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23352 if (obj3) {
23353 {
23354 arg4 = wxString_in_helper(obj3);
23355 if (arg4 == NULL) SWIG_fail;
23356 temp4 = True;
23357 }
23358 }
23359 if (obj4) {
23360 {
23361 arg5 = &temp5;
23362 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
23363 }
23364 }
23365 if (obj5) {
23366 {
23367 arg6 = &temp6;
23368 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
23369 }
23370 }
23371 if (obj7) {
23372 {
23373 arg8 = wxString_in_helper(obj7);
23374 if (arg8 == NULL) SWIG_fail;
23375 temp8 = True;
23376 }
23377 }
23378 if (obj9) {
23379 {
23380 arg10 = wxString_in_helper(obj9);
23381 if (arg10 == NULL) SWIG_fail;
23382 temp10 = True;
23383 }
23384 }
23385 {
23386 PyThreadState* __tstate = wxPyBeginAllowThreads();
23387 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8,arg9,(wxString const &)*arg10);
23388
23389 wxPyEndAllowThreads(__tstate);
23390 if (PyErr_Occurred()) SWIG_fail;
23391 }
23392 resultobj = PyInt_FromLong((long)result);
23393 {
23394 if (temp4)
23395 delete arg4;
23396 }
23397 {
23398 if (temp8)
23399 delete arg8;
23400 }
23401 {
23402 if (temp10)
23403 delete arg10;
23404 }
23405 return resultobj;
23406 fail:
23407 {
23408 if (temp4)
23409 delete arg4;
23410 }
23411 {
23412 if (temp8)
23413 delete arg8;
23414 }
23415 {
23416 if (temp10)
23417 delete arg10;
23418 }
23419 return NULL;
23420 }
23421
23422
23423 static PyObject *_wrap_GenericDirCtrl_ExpandPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23424 PyObject *resultobj;
23425 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23426 wxString *arg2 = 0 ;
23427 bool result;
23428 bool temp2 = False ;
23429 PyObject * obj0 = 0 ;
23430 PyObject * obj1 = 0 ;
23431 char *kwnames[] = {
23432 (char *) "self",(char *) "path", NULL
23433 };
23434
23435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ExpandPath",kwnames,&obj0,&obj1)) goto fail;
23436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23437 {
23438 arg2 = wxString_in_helper(obj1);
23439 if (arg2 == NULL) SWIG_fail;
23440 temp2 = True;
23441 }
23442 {
23443 PyThreadState* __tstate = wxPyBeginAllowThreads();
23444 result = (bool)(arg1)->ExpandPath((wxString const &)*arg2);
23445
23446 wxPyEndAllowThreads(__tstate);
23447 if (PyErr_Occurred()) SWIG_fail;
23448 }
23449 resultobj = PyInt_FromLong((long)result);
23450 {
23451 if (temp2)
23452 delete arg2;
23453 }
23454 return resultobj;
23455 fail:
23456 {
23457 if (temp2)
23458 delete arg2;
23459 }
23460 return NULL;
23461 }
23462
23463
23464 static PyObject *_wrap_GenericDirCtrl_GetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23465 PyObject *resultobj;
23466 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23467 wxString result;
23468 PyObject * obj0 = 0 ;
23469 char *kwnames[] = {
23470 (char *) "self", NULL
23471 };
23472
23473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetDefaultPath",kwnames,&obj0)) goto fail;
23474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23475 {
23476 PyThreadState* __tstate = wxPyBeginAllowThreads();
23477 result = ((wxGenericDirCtrl const *)arg1)->GetDefaultPath();
23478
23479 wxPyEndAllowThreads(__tstate);
23480 if (PyErr_Occurred()) SWIG_fail;
23481 }
23482 {
23483 #if wxUSE_UNICODE
23484 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23485 #else
23486 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23487 #endif
23488 }
23489 return resultobj;
23490 fail:
23491 return NULL;
23492 }
23493
23494
23495 static PyObject *_wrap_GenericDirCtrl_SetDefaultPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23496 PyObject *resultobj;
23497 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23498 wxString *arg2 = 0 ;
23499 bool temp2 = False ;
23500 PyObject * obj0 = 0 ;
23501 PyObject * obj1 = 0 ;
23502 char *kwnames[] = {
23503 (char *) "self",(char *) "path", NULL
23504 };
23505
23506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetDefaultPath",kwnames,&obj0,&obj1)) goto fail;
23507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23508 {
23509 arg2 = wxString_in_helper(obj1);
23510 if (arg2 == NULL) SWIG_fail;
23511 temp2 = True;
23512 }
23513 {
23514 PyThreadState* __tstate = wxPyBeginAllowThreads();
23515 (arg1)->SetDefaultPath((wxString const &)*arg2);
23516
23517 wxPyEndAllowThreads(__tstate);
23518 if (PyErr_Occurred()) SWIG_fail;
23519 }
23520 Py_INCREF(Py_None); resultobj = Py_None;
23521 {
23522 if (temp2)
23523 delete arg2;
23524 }
23525 return resultobj;
23526 fail:
23527 {
23528 if (temp2)
23529 delete arg2;
23530 }
23531 return NULL;
23532 }
23533
23534
23535 static PyObject *_wrap_GenericDirCtrl_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23536 PyObject *resultobj;
23537 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23538 wxString result;
23539 PyObject * obj0 = 0 ;
23540 char *kwnames[] = {
23541 (char *) "self", NULL
23542 };
23543
23544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetPath",kwnames,&obj0)) goto fail;
23545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23546 {
23547 PyThreadState* __tstate = wxPyBeginAllowThreads();
23548 result = ((wxGenericDirCtrl const *)arg1)->GetPath();
23549
23550 wxPyEndAllowThreads(__tstate);
23551 if (PyErr_Occurred()) SWIG_fail;
23552 }
23553 {
23554 #if wxUSE_UNICODE
23555 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23556 #else
23557 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23558 #endif
23559 }
23560 return resultobj;
23561 fail:
23562 return NULL;
23563 }
23564
23565
23566 static PyObject *_wrap_GenericDirCtrl_GetFilePath(PyObject *self, PyObject *args, PyObject *kwargs) {
23567 PyObject *resultobj;
23568 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23569 wxString result;
23570 PyObject * obj0 = 0 ;
23571 char *kwnames[] = {
23572 (char *) "self", NULL
23573 };
23574
23575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilePath",kwnames,&obj0)) goto fail;
23576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23577 {
23578 PyThreadState* __tstate = wxPyBeginAllowThreads();
23579 result = ((wxGenericDirCtrl const *)arg1)->GetFilePath();
23580
23581 wxPyEndAllowThreads(__tstate);
23582 if (PyErr_Occurred()) SWIG_fail;
23583 }
23584 {
23585 #if wxUSE_UNICODE
23586 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23587 #else
23588 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23589 #endif
23590 }
23591 return resultobj;
23592 fail:
23593 return NULL;
23594 }
23595
23596
23597 static PyObject *_wrap_GenericDirCtrl_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
23598 PyObject *resultobj;
23599 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23600 wxString *arg2 = 0 ;
23601 bool temp2 = False ;
23602 PyObject * obj0 = 0 ;
23603 PyObject * obj1 = 0 ;
23604 char *kwnames[] = {
23605 (char *) "self",(char *) "path", NULL
23606 };
23607
23608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetPath",kwnames,&obj0,&obj1)) goto fail;
23609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23610 {
23611 arg2 = wxString_in_helper(obj1);
23612 if (arg2 == NULL) SWIG_fail;
23613 temp2 = True;
23614 }
23615 {
23616 PyThreadState* __tstate = wxPyBeginAllowThreads();
23617 (arg1)->SetPath((wxString const &)*arg2);
23618
23619 wxPyEndAllowThreads(__tstate);
23620 if (PyErr_Occurred()) SWIG_fail;
23621 }
23622 Py_INCREF(Py_None); resultobj = Py_None;
23623 {
23624 if (temp2)
23625 delete arg2;
23626 }
23627 return resultobj;
23628 fail:
23629 {
23630 if (temp2)
23631 delete arg2;
23632 }
23633 return NULL;
23634 }
23635
23636
23637 static PyObject *_wrap_GenericDirCtrl_ShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23638 PyObject *resultobj;
23639 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23640 bool arg2 ;
23641 PyObject * obj0 = 0 ;
23642 PyObject * obj1 = 0 ;
23643 char *kwnames[] = {
23644 (char *) "self",(char *) "show", NULL
23645 };
23646
23647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_ShowHidden",kwnames,&obj0,&obj1)) goto fail;
23648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23649 arg2 = PyInt_AsLong(obj1) ? true : false;
23650 if (PyErr_Occurred()) SWIG_fail;
23651 {
23652 PyThreadState* __tstate = wxPyBeginAllowThreads();
23653 (arg1)->ShowHidden(arg2);
23654
23655 wxPyEndAllowThreads(__tstate);
23656 if (PyErr_Occurred()) SWIG_fail;
23657 }
23658 Py_INCREF(Py_None); resultobj = Py_None;
23659 return resultobj;
23660 fail:
23661 return NULL;
23662 }
23663
23664
23665 static PyObject *_wrap_GenericDirCtrl_GetShowHidden(PyObject *self, PyObject *args, PyObject *kwargs) {
23666 PyObject *resultobj;
23667 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23668 bool result;
23669 PyObject * obj0 = 0 ;
23670 char *kwnames[] = {
23671 (char *) "self", NULL
23672 };
23673
23674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetShowHidden",kwnames,&obj0)) goto fail;
23675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23676 {
23677 PyThreadState* __tstate = wxPyBeginAllowThreads();
23678 result = (bool)(arg1)->GetShowHidden();
23679
23680 wxPyEndAllowThreads(__tstate);
23681 if (PyErr_Occurred()) SWIG_fail;
23682 }
23683 resultobj = PyInt_FromLong((long)result);
23684 return resultobj;
23685 fail:
23686 return NULL;
23687 }
23688
23689
23690 static PyObject *_wrap_GenericDirCtrl_GetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23691 PyObject *resultobj;
23692 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23693 wxString result;
23694 PyObject * obj0 = 0 ;
23695 char *kwnames[] = {
23696 (char *) "self", NULL
23697 };
23698
23699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilter",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 result = ((wxGenericDirCtrl const *)arg1)->GetFilter();
23704
23705 wxPyEndAllowThreads(__tstate);
23706 if (PyErr_Occurred()) SWIG_fail;
23707 }
23708 {
23709 #if wxUSE_UNICODE
23710 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
23711 #else
23712 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
23713 #endif
23714 }
23715 return resultobj;
23716 fail:
23717 return NULL;
23718 }
23719
23720
23721 static PyObject *_wrap_GenericDirCtrl_SetFilter(PyObject *self, PyObject *args, PyObject *kwargs) {
23722 PyObject *resultobj;
23723 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23724 wxString *arg2 = 0 ;
23725 bool temp2 = False ;
23726 PyObject * obj0 = 0 ;
23727 PyObject * obj1 = 0 ;
23728 char *kwnames[] = {
23729 (char *) "self",(char *) "filter", NULL
23730 };
23731
23732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:GenericDirCtrl_SetFilter",kwnames,&obj0,&obj1)) goto fail;
23733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23734 {
23735 arg2 = wxString_in_helper(obj1);
23736 if (arg2 == NULL) SWIG_fail;
23737 temp2 = True;
23738 }
23739 {
23740 PyThreadState* __tstate = wxPyBeginAllowThreads();
23741 (arg1)->SetFilter((wxString const &)*arg2);
23742
23743 wxPyEndAllowThreads(__tstate);
23744 if (PyErr_Occurred()) SWIG_fail;
23745 }
23746 Py_INCREF(Py_None); resultobj = Py_None;
23747 {
23748 if (temp2)
23749 delete arg2;
23750 }
23751 return resultobj;
23752 fail:
23753 {
23754 if (temp2)
23755 delete arg2;
23756 }
23757 return NULL;
23758 }
23759
23760
23761 static PyObject *_wrap_GenericDirCtrl_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23762 PyObject *resultobj;
23763 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23764 int result;
23765 PyObject * obj0 = 0 ;
23766 char *kwnames[] = {
23767 (char *) "self", NULL
23768 };
23769
23770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterIndex",kwnames,&obj0)) goto fail;
23771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23772 {
23773 PyThreadState* __tstate = wxPyBeginAllowThreads();
23774 result = (int)((wxGenericDirCtrl const *)arg1)->GetFilterIndex();
23775
23776 wxPyEndAllowThreads(__tstate);
23777 if (PyErr_Occurred()) SWIG_fail;
23778 }
23779 resultobj = PyInt_FromLong((long)result);
23780 return resultobj;
23781 fail:
23782 return NULL;
23783 }
23784
23785
23786 static PyObject *_wrap_GenericDirCtrl_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
23787 PyObject *resultobj;
23788 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23789 int arg2 ;
23790 PyObject * obj0 = 0 ;
23791 char *kwnames[] = {
23792 (char *) "self",(char *) "n", NULL
23793 };
23794
23795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:GenericDirCtrl_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
23796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23797 {
23798 PyThreadState* __tstate = wxPyBeginAllowThreads();
23799 (arg1)->SetFilterIndex(arg2);
23800
23801 wxPyEndAllowThreads(__tstate);
23802 if (PyErr_Occurred()) SWIG_fail;
23803 }
23804 Py_INCREF(Py_None); resultobj = Py_None;
23805 return resultobj;
23806 fail:
23807 return NULL;
23808 }
23809
23810
23811 static PyObject *_wrap_GenericDirCtrl_GetRootId(PyObject *self, PyObject *args, PyObject *kwargs) {
23812 PyObject *resultobj;
23813 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23814 wxTreeItemId result;
23815 PyObject * obj0 = 0 ;
23816 char *kwnames[] = {
23817 (char *) "self", NULL
23818 };
23819
23820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetRootId",kwnames,&obj0)) goto fail;
23821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23822 {
23823 PyThreadState* __tstate = wxPyBeginAllowThreads();
23824 result = (arg1)->GetRootId();
23825
23826 wxPyEndAllowThreads(__tstate);
23827 if (PyErr_Occurred()) SWIG_fail;
23828 }
23829 {
23830 wxTreeItemId * resultptr;
23831 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23832 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23833 }
23834 return resultobj;
23835 fail:
23836 return NULL;
23837 }
23838
23839
23840 static PyObject *_wrap_GenericDirCtrl_GetTreeCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23841 PyObject *resultobj;
23842 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23843 wxTreeCtrl *result;
23844 PyObject * obj0 = 0 ;
23845 char *kwnames[] = {
23846 (char *) "self", NULL
23847 };
23848
23849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetTreeCtrl",kwnames,&obj0)) goto fail;
23850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23851 {
23852 PyThreadState* __tstate = wxPyBeginAllowThreads();
23853 result = (wxTreeCtrl *)((wxGenericDirCtrl const *)arg1)->GetTreeCtrl();
23854
23855 wxPyEndAllowThreads(__tstate);
23856 if (PyErr_Occurred()) SWIG_fail;
23857 }
23858 {
23859 resultobj = wxPyMake_wxObject(result);
23860 }
23861 return resultobj;
23862 fail:
23863 return NULL;
23864 }
23865
23866
23867 static PyObject *_wrap_GenericDirCtrl_GetFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
23868 PyObject *resultobj;
23869 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23870 wxDirFilterListCtrl *result;
23871 PyObject * obj0 = 0 ;
23872 char *kwnames[] = {
23873 (char *) "self", NULL
23874 };
23875
23876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_GetFilterListCtrl",kwnames,&obj0)) goto fail;
23877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23878 {
23879 PyThreadState* __tstate = wxPyBeginAllowThreads();
23880 result = (wxDirFilterListCtrl *)((wxGenericDirCtrl const *)arg1)->GetFilterListCtrl();
23881
23882 wxPyEndAllowThreads(__tstate);
23883 if (PyErr_Occurred()) SWIG_fail;
23884 }
23885 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 0);
23886 return resultobj;
23887 fail:
23888 return NULL;
23889 }
23890
23891
23892 static PyObject *_wrap_GenericDirCtrl_FindChild(PyObject *self, PyObject *args, PyObject *kwargs) {
23893 PyObject *resultobj;
23894 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23895 wxTreeItemId arg2 ;
23896 wxString *arg3 = 0 ;
23897 bool *arg4 = 0 ;
23898 wxTreeItemId result;
23899 wxTreeItemId *argp2 ;
23900 bool temp3 = False ;
23901 bool temp4 ;
23902 PyObject * obj0 = 0 ;
23903 PyObject * obj1 = 0 ;
23904 PyObject * obj2 = 0 ;
23905 char *kwnames[] = {
23906 (char *) "self",(char *) "parentId",(char *) "path", NULL
23907 };
23908
23909 arg4 = &temp4;
23910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:GenericDirCtrl_FindChild",kwnames,&obj0,&obj1,&obj2)) goto fail;
23911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23912 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
23913 arg2 = *argp2;
23914 {
23915 arg3 = wxString_in_helper(obj2);
23916 if (arg3 == NULL) SWIG_fail;
23917 temp3 = True;
23918 }
23919 {
23920 PyThreadState* __tstate = wxPyBeginAllowThreads();
23921 result = (arg1)->FindChild(arg2,(wxString const &)*arg3,*arg4);
23922
23923 wxPyEndAllowThreads(__tstate);
23924 if (PyErr_Occurred()) SWIG_fail;
23925 }
23926 {
23927 wxTreeItemId * resultptr;
23928 resultptr = new wxTreeItemId((wxTreeItemId &) result);
23929 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxTreeItemId, 1);
23930 }
23931 {
23932 PyObject *o = PyInt_FromLong((long) (*arg4));
23933 resultobj = t_output_helper(resultobj,o);
23934 }
23935 {
23936 if (temp3)
23937 delete arg3;
23938 }
23939 return resultobj;
23940 fail:
23941 {
23942 if (temp3)
23943 delete arg3;
23944 }
23945 return NULL;
23946 }
23947
23948
23949 static PyObject *_wrap_GenericDirCtrl_DoResize(PyObject *self, PyObject *args, PyObject *kwargs) {
23950 PyObject *resultobj;
23951 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23952 PyObject * obj0 = 0 ;
23953 char *kwnames[] = {
23954 (char *) "self", NULL
23955 };
23956
23957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_DoResize",kwnames,&obj0)) goto fail;
23958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23959 {
23960 PyThreadState* __tstate = wxPyBeginAllowThreads();
23961 (arg1)->DoResize();
23962
23963 wxPyEndAllowThreads(__tstate);
23964 if (PyErr_Occurred()) SWIG_fail;
23965 }
23966 Py_INCREF(Py_None); resultobj = Py_None;
23967 return resultobj;
23968 fail:
23969 return NULL;
23970 }
23971
23972
23973 static PyObject *_wrap_GenericDirCtrl_ReCreateTree(PyObject *self, PyObject *args, PyObject *kwargs) {
23974 PyObject *resultobj;
23975 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
23976 PyObject * obj0 = 0 ;
23977 char *kwnames[] = {
23978 (char *) "self", NULL
23979 };
23980
23981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GenericDirCtrl_ReCreateTree",kwnames,&obj0)) goto fail;
23982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
23983 {
23984 PyThreadState* __tstate = wxPyBeginAllowThreads();
23985 (arg1)->ReCreateTree();
23986
23987 wxPyEndAllowThreads(__tstate);
23988 if (PyErr_Occurred()) SWIG_fail;
23989 }
23990 Py_INCREF(Py_None); resultobj = Py_None;
23991 return resultobj;
23992 fail:
23993 return NULL;
23994 }
23995
23996
23997 static PyObject * GenericDirCtrl_swigregister(PyObject *self, PyObject *args) {
23998 PyObject *obj;
23999 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24000 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDirCtrl, obj);
24001 Py_INCREF(obj);
24002 return Py_BuildValue((char *)"");
24003 }
24004 static PyObject *_wrap_new_DirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24005 PyObject *resultobj;
24006 wxGenericDirCtrl *arg1 = (wxGenericDirCtrl *) 0 ;
24007 int arg2 = (int) (int)-1 ;
24008 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24009 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24010 wxSize const &arg4_defvalue = wxDefaultSize ;
24011 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24012 long arg5 = (long) 0 ;
24013 wxDirFilterListCtrl *result;
24014 wxPoint temp3 ;
24015 wxSize temp4 ;
24016 PyObject * obj0 = 0 ;
24017 PyObject * obj2 = 0 ;
24018 PyObject * obj3 = 0 ;
24019 char *kwnames[] = {
24020 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24021 };
24022
24023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_DirFilterListCtrl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
24024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24025 if (obj2) {
24026 {
24027 arg3 = &temp3;
24028 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24029 }
24030 }
24031 if (obj3) {
24032 {
24033 arg4 = &temp4;
24034 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24035 }
24036 }
24037 {
24038 PyThreadState* __tstate = wxPyBeginAllowThreads();
24039 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
24040
24041 wxPyEndAllowThreads(__tstate);
24042 if (PyErr_Occurred()) SWIG_fail;
24043 }
24044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24045 return resultobj;
24046 fail:
24047 return NULL;
24048 }
24049
24050
24051 static PyObject *_wrap_new_PreDirFilterListCtrl(PyObject *self, PyObject *args, PyObject *kwargs) {
24052 PyObject *resultobj;
24053 wxDirFilterListCtrl *result;
24054 char *kwnames[] = {
24055 NULL
24056 };
24057
24058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDirFilterListCtrl",kwnames)) goto fail;
24059 {
24060 PyThreadState* __tstate = wxPyBeginAllowThreads();
24061 result = (wxDirFilterListCtrl *)new wxDirFilterListCtrl();
24062
24063 wxPyEndAllowThreads(__tstate);
24064 if (PyErr_Occurred()) SWIG_fail;
24065 }
24066 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirFilterListCtrl, 1);
24067 return resultobj;
24068 fail:
24069 return NULL;
24070 }
24071
24072
24073 static PyObject *_wrap_DirFilterListCtrl_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
24074 PyObject *resultobj;
24075 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24076 wxGenericDirCtrl *arg2 = (wxGenericDirCtrl *) 0 ;
24077 int arg3 = (int) (int)-1 ;
24078 wxPoint const &arg4_defvalue = wxDefaultPosition ;
24079 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
24080 wxSize const &arg5_defvalue = wxDefaultSize ;
24081 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
24082 long arg6 = (long) 0 ;
24083 bool result;
24084 wxPoint temp4 ;
24085 wxSize temp5 ;
24086 PyObject * obj0 = 0 ;
24087 PyObject * obj1 = 0 ;
24088 PyObject * obj3 = 0 ;
24089 PyObject * obj4 = 0 ;
24090 char *kwnames[] = {
24091 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
24092 };
24093
24094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOl:DirFilterListCtrl_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
24095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxGenericDirCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24097 if (obj3) {
24098 {
24099 arg4 = &temp4;
24100 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
24101 }
24102 }
24103 if (obj4) {
24104 {
24105 arg5 = &temp5;
24106 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
24107 }
24108 }
24109 {
24110 PyThreadState* __tstate = wxPyBeginAllowThreads();
24111 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
24112
24113 wxPyEndAllowThreads(__tstate);
24114 if (PyErr_Occurred()) SWIG_fail;
24115 }
24116 resultobj = PyInt_FromLong((long)result);
24117 return resultobj;
24118 fail:
24119 return NULL;
24120 }
24121
24122
24123 static PyObject *_wrap_DirFilterListCtrl_FillFilterList(PyObject *self, PyObject *args, PyObject *kwargs) {
24124 PyObject *resultobj;
24125 wxDirFilterListCtrl *arg1 = (wxDirFilterListCtrl *) 0 ;
24126 wxString *arg2 = 0 ;
24127 int arg3 ;
24128 bool temp2 = False ;
24129 PyObject * obj0 = 0 ;
24130 PyObject * obj1 = 0 ;
24131 char *kwnames[] = {
24132 (char *) "self",(char *) "filter",(char *) "defaultFilter", NULL
24133 };
24134
24135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi:DirFilterListCtrl_FillFilterList",kwnames,&obj0,&obj1,&arg3)) goto fail;
24136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirFilterListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24137 {
24138 arg2 = wxString_in_helper(obj1);
24139 if (arg2 == NULL) SWIG_fail;
24140 temp2 = True;
24141 }
24142 {
24143 PyThreadState* __tstate = wxPyBeginAllowThreads();
24144 (arg1)->FillFilterList((wxString const &)*arg2,arg3);
24145
24146 wxPyEndAllowThreads(__tstate);
24147 if (PyErr_Occurred()) SWIG_fail;
24148 }
24149 Py_INCREF(Py_None); resultobj = Py_None;
24150 {
24151 if (temp2)
24152 delete arg2;
24153 }
24154 return resultobj;
24155 fail:
24156 {
24157 if (temp2)
24158 delete arg2;
24159 }
24160 return NULL;
24161 }
24162
24163
24164 static PyObject * DirFilterListCtrl_swigregister(PyObject *self, PyObject *args) {
24165 PyObject *obj;
24166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24167 SWIG_TypeClientData(SWIGTYPE_p_wxDirFilterListCtrl, obj);
24168 Py_INCREF(obj);
24169 return Py_BuildValue((char *)"");
24170 }
24171 static PyObject *_wrap_new_PyControl(PyObject *self, PyObject *args, PyObject *kwargs) {
24172 PyObject *resultobj;
24173 wxWindow *arg1 = (wxWindow *) 0 ;
24174 int arg2 ;
24175 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24176 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24177 wxSize const &arg4_defvalue = wxDefaultSize ;
24178 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
24179 long arg5 = (long) 0 ;
24180 wxValidator const &arg6_defvalue = wxDefaultValidator ;
24181 wxValidator *arg6 = (wxValidator *) &arg6_defvalue ;
24182 wxString const &arg7_defvalue = wxPyControlNameStr ;
24183 wxString *arg7 = (wxString *) &arg7_defvalue ;
24184 wxPyControl *result;
24185 wxPoint temp3 ;
24186 wxSize temp4 ;
24187 bool temp7 = False ;
24188 PyObject * obj0 = 0 ;
24189 PyObject * obj2 = 0 ;
24190 PyObject * obj3 = 0 ;
24191 PyObject * obj5 = 0 ;
24192 PyObject * obj6 = 0 ;
24193 char *kwnames[] = {
24194 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
24195 };
24196
24197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlOO:new_PyControl",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5,&obj6)) goto fail;
24198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24199 if (obj2) {
24200 {
24201 arg3 = &temp3;
24202 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24203 }
24204 }
24205 if (obj3) {
24206 {
24207 arg4 = &temp4;
24208 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
24209 }
24210 }
24211 if (obj5) {
24212 if ((SWIG_ConvertPtr(obj5,(void **) &arg6, SWIGTYPE_p_wxValidator,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24213 if (arg6 == NULL) {
24214 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
24215 }
24216 }
24217 if (obj6) {
24218 {
24219 arg7 = wxString_in_helper(obj6);
24220 if (arg7 == NULL) SWIG_fail;
24221 temp7 = True;
24222 }
24223 }
24224 {
24225 PyThreadState* __tstate = wxPyBeginAllowThreads();
24226 result = (wxPyControl *)new wxPyControl(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxValidator const &)*arg6,(wxString const &)*arg7);
24227
24228 wxPyEndAllowThreads(__tstate);
24229 if (PyErr_Occurred()) SWIG_fail;
24230 }
24231 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyControl, 1);
24232 {
24233 if (temp7)
24234 delete arg7;
24235 }
24236 return resultobj;
24237 fail:
24238 {
24239 if (temp7)
24240 delete arg7;
24241 }
24242 return NULL;
24243 }
24244
24245
24246 static PyObject *_wrap_PyControl__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
24247 PyObject *resultobj;
24248 wxPyControl *arg1 = (wxPyControl *) 0 ;
24249 PyObject *arg2 = (PyObject *) 0 ;
24250 PyObject *arg3 = (PyObject *) 0 ;
24251 PyObject * obj0 = 0 ;
24252 PyObject * obj1 = 0 ;
24253 PyObject * obj2 = 0 ;
24254 char *kwnames[] = {
24255 (char *) "self",(char *) "self",(char *) "_class", NULL
24256 };
24257
24258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyControl__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
24259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24260 arg2 = obj1;
24261 arg3 = obj2;
24262 {
24263 PyThreadState* __tstate = wxPyBeginAllowThreads();
24264 (arg1)->_setCallbackInfo(arg2,arg3);
24265
24266 wxPyEndAllowThreads(__tstate);
24267 if (PyErr_Occurred()) SWIG_fail;
24268 }
24269 Py_INCREF(Py_None); resultobj = Py_None;
24270 return resultobj;
24271 fail:
24272 return NULL;
24273 }
24274
24275
24276 static PyObject *_wrap_PyControl_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24277 PyObject *resultobj;
24278 wxPyControl *arg1 = (wxPyControl *) 0 ;
24279 int arg2 ;
24280 int arg3 ;
24281 int arg4 ;
24282 int arg5 ;
24283 PyObject * obj0 = 0 ;
24284 char *kwnames[] = {
24285 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
24286 };
24287
24288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyControl_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
24289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24290 {
24291 PyThreadState* __tstate = wxPyBeginAllowThreads();
24292 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
24293
24294 wxPyEndAllowThreads(__tstate);
24295 if (PyErr_Occurred()) SWIG_fail;
24296 }
24297 Py_INCREF(Py_None); resultobj = Py_None;
24298 return resultobj;
24299 fail:
24300 return NULL;
24301 }
24302
24303
24304 static PyObject *_wrap_PyControl_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24305 PyObject *resultobj;
24306 wxPyControl *arg1 = (wxPyControl *) 0 ;
24307 int arg2 ;
24308 int arg3 ;
24309 int arg4 ;
24310 int arg5 ;
24311 int arg6 = (int) wxSIZE_AUTO ;
24312 PyObject * obj0 = 0 ;
24313 char *kwnames[] = {
24314 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
24315 };
24316
24317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyControl_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
24318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24319 {
24320 PyThreadState* __tstate = wxPyBeginAllowThreads();
24321 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
24322
24323 wxPyEndAllowThreads(__tstate);
24324 if (PyErr_Occurred()) SWIG_fail;
24325 }
24326 Py_INCREF(Py_None); resultobj = Py_None;
24327 return resultobj;
24328 fail:
24329 return NULL;
24330 }
24331
24332
24333 static PyObject *_wrap_PyControl_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24334 PyObject *resultobj;
24335 wxPyControl *arg1 = (wxPyControl *) 0 ;
24336 int arg2 ;
24337 int arg3 ;
24338 PyObject * obj0 = 0 ;
24339 char *kwnames[] = {
24340 (char *) "self",(char *) "width",(char *) "height", NULL
24341 };
24342
24343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24345 {
24346 PyThreadState* __tstate = wxPyBeginAllowThreads();
24347 (arg1)->base_DoSetClientSize(arg2,arg3);
24348
24349 wxPyEndAllowThreads(__tstate);
24350 if (PyErr_Occurred()) SWIG_fail;
24351 }
24352 Py_INCREF(Py_None); resultobj = Py_None;
24353 return resultobj;
24354 fail:
24355 return NULL;
24356 }
24357
24358
24359 static PyObject *_wrap_PyControl_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24360 PyObject *resultobj;
24361 wxPyControl *arg1 = (wxPyControl *) 0 ;
24362 int arg2 ;
24363 int arg3 ;
24364 PyObject * obj0 = 0 ;
24365 char *kwnames[] = {
24366 (char *) "self",(char *) "x",(char *) "y", NULL
24367 };
24368
24369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyControl_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
24370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24371 {
24372 PyThreadState* __tstate = wxPyBeginAllowThreads();
24373 (arg1)->base_DoSetVirtualSize(arg2,arg3);
24374
24375 wxPyEndAllowThreads(__tstate);
24376 if (PyErr_Occurred()) SWIG_fail;
24377 }
24378 Py_INCREF(Py_None); resultobj = Py_None;
24379 return resultobj;
24380 fail:
24381 return NULL;
24382 }
24383
24384
24385 static PyObject *_wrap_PyControl_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24386 PyObject *resultobj;
24387 wxPyControl *arg1 = (wxPyControl *) 0 ;
24388 int *arg2 = (int *) 0 ;
24389 int *arg3 = (int *) 0 ;
24390 int temp2 ;
24391 int temp3 ;
24392 PyObject * obj0 = 0 ;
24393 char *kwnames[] = {
24394 (char *) "self", NULL
24395 };
24396
24397 arg2 = &temp2;
24398 arg3 = &temp3;
24399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetSize",kwnames,&obj0)) goto fail;
24400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24401 {
24402 PyThreadState* __tstate = wxPyBeginAllowThreads();
24403 ((wxPyControl const *)arg1)->base_DoGetSize(arg2,arg3);
24404
24405 wxPyEndAllowThreads(__tstate);
24406 if (PyErr_Occurred()) SWIG_fail;
24407 }
24408 Py_INCREF(Py_None); resultobj = Py_None;
24409 {
24410 PyObject *o = PyInt_FromLong((long) (*arg2));
24411 resultobj = t_output_helper(resultobj,o);
24412 }
24413 {
24414 PyObject *o = PyInt_FromLong((long) (*arg3));
24415 resultobj = t_output_helper(resultobj,o);
24416 }
24417 return resultobj;
24418 fail:
24419 return NULL;
24420 }
24421
24422
24423 static PyObject *_wrap_PyControl_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24424 PyObject *resultobj;
24425 wxPyControl *arg1 = (wxPyControl *) 0 ;
24426 int *arg2 = (int *) 0 ;
24427 int *arg3 = (int *) 0 ;
24428 int temp2 ;
24429 int temp3 ;
24430 PyObject * obj0 = 0 ;
24431 char *kwnames[] = {
24432 (char *) "self", NULL
24433 };
24434
24435 arg2 = &temp2;
24436 arg3 = &temp3;
24437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetClientSize",kwnames,&obj0)) goto fail;
24438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24439 {
24440 PyThreadState* __tstate = wxPyBeginAllowThreads();
24441 ((wxPyControl const *)arg1)->base_DoGetClientSize(arg2,arg3);
24442
24443 wxPyEndAllowThreads(__tstate);
24444 if (PyErr_Occurred()) SWIG_fail;
24445 }
24446 Py_INCREF(Py_None); resultobj = Py_None;
24447 {
24448 PyObject *o = PyInt_FromLong((long) (*arg2));
24449 resultobj = t_output_helper(resultobj,o);
24450 }
24451 {
24452 PyObject *o = PyInt_FromLong((long) (*arg3));
24453 resultobj = t_output_helper(resultobj,o);
24454 }
24455 return resultobj;
24456 fail:
24457 return NULL;
24458 }
24459
24460
24461 static PyObject *_wrap_PyControl_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24462 PyObject *resultobj;
24463 wxPyControl *arg1 = (wxPyControl *) 0 ;
24464 int *arg2 = (int *) 0 ;
24465 int *arg3 = (int *) 0 ;
24466 int temp2 ;
24467 int temp3 ;
24468 PyObject * obj0 = 0 ;
24469 char *kwnames[] = {
24470 (char *) "self", NULL
24471 };
24472
24473 arg2 = &temp2;
24474 arg3 = &temp3;
24475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetPosition",kwnames,&obj0)) goto fail;
24476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24477 {
24478 PyThreadState* __tstate = wxPyBeginAllowThreads();
24479 ((wxPyControl const *)arg1)->base_DoGetPosition(arg2,arg3);
24480
24481 wxPyEndAllowThreads(__tstate);
24482 if (PyErr_Occurred()) SWIG_fail;
24483 }
24484 Py_INCREF(Py_None); resultobj = Py_None;
24485 {
24486 PyObject *o = PyInt_FromLong((long) (*arg2));
24487 resultobj = t_output_helper(resultobj,o);
24488 }
24489 {
24490 PyObject *o = PyInt_FromLong((long) (*arg3));
24491 resultobj = t_output_helper(resultobj,o);
24492 }
24493 return resultobj;
24494 fail:
24495 return NULL;
24496 }
24497
24498
24499 static PyObject *_wrap_PyControl_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24500 PyObject *resultobj;
24501 wxPyControl *arg1 = (wxPyControl *) 0 ;
24502 wxSize result;
24503 PyObject * obj0 = 0 ;
24504 char *kwnames[] = {
24505 (char *) "self", NULL
24506 };
24507
24508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
24509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24510 {
24511 PyThreadState* __tstate = wxPyBeginAllowThreads();
24512 result = ((wxPyControl const *)arg1)->base_DoGetVirtualSize();
24513
24514 wxPyEndAllowThreads(__tstate);
24515 if (PyErr_Occurred()) SWIG_fail;
24516 }
24517 {
24518 wxSize * resultptr;
24519 resultptr = new wxSize((wxSize &) result);
24520 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24521 }
24522 return resultobj;
24523 fail:
24524 return NULL;
24525 }
24526
24527
24528 static PyObject *_wrap_PyControl_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24529 PyObject *resultobj;
24530 wxPyControl *arg1 = (wxPyControl *) 0 ;
24531 wxSize result;
24532 PyObject * obj0 = 0 ;
24533 char *kwnames[] = {
24534 (char *) "self", NULL
24535 };
24536
24537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_DoGetBestSize",kwnames,&obj0)) goto fail;
24538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24539 {
24540 PyThreadState* __tstate = wxPyBeginAllowThreads();
24541 result = ((wxPyControl const *)arg1)->base_DoGetBestSize();
24542
24543 wxPyEndAllowThreads(__tstate);
24544 if (PyErr_Occurred()) SWIG_fail;
24545 }
24546 {
24547 wxSize * resultptr;
24548 resultptr = new wxSize((wxSize &) result);
24549 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24550 }
24551 return resultobj;
24552 fail:
24553 return NULL;
24554 }
24555
24556
24557 static PyObject *_wrap_PyControl_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
24558 PyObject *resultobj;
24559 wxPyControl *arg1 = (wxPyControl *) 0 ;
24560 PyObject * obj0 = 0 ;
24561 char *kwnames[] = {
24562 (char *) "self", NULL
24563 };
24564
24565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_InitDialog",kwnames,&obj0)) goto fail;
24566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24567 {
24568 PyThreadState* __tstate = wxPyBeginAllowThreads();
24569 (arg1)->base_InitDialog();
24570
24571 wxPyEndAllowThreads(__tstate);
24572 if (PyErr_Occurred()) SWIG_fail;
24573 }
24574 Py_INCREF(Py_None); resultobj = Py_None;
24575 return resultobj;
24576 fail:
24577 return NULL;
24578 }
24579
24580
24581 static PyObject *_wrap_PyControl_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24582 PyObject *resultobj;
24583 wxPyControl *arg1 = (wxPyControl *) 0 ;
24584 bool result;
24585 PyObject * obj0 = 0 ;
24586 char *kwnames[] = {
24587 (char *) "self", NULL
24588 };
24589
24590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
24591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24592 {
24593 PyThreadState* __tstate = wxPyBeginAllowThreads();
24594 result = (bool)(arg1)->base_TransferDataToWindow();
24595
24596 wxPyEndAllowThreads(__tstate);
24597 if (PyErr_Occurred()) SWIG_fail;
24598 }
24599 resultobj = PyInt_FromLong((long)result);
24600 return resultobj;
24601 fail:
24602 return NULL;
24603 }
24604
24605
24606 static PyObject *_wrap_PyControl_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
24607 PyObject *resultobj;
24608 wxPyControl *arg1 = (wxPyControl *) 0 ;
24609 bool result;
24610 PyObject * obj0 = 0 ;
24611 char *kwnames[] = {
24612 (char *) "self", NULL
24613 };
24614
24615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
24616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24617 {
24618 PyThreadState* __tstate = wxPyBeginAllowThreads();
24619 result = (bool)(arg1)->base_TransferDataFromWindow();
24620
24621 wxPyEndAllowThreads(__tstate);
24622 if (PyErr_Occurred()) SWIG_fail;
24623 }
24624 resultobj = PyInt_FromLong((long)result);
24625 return resultobj;
24626 fail:
24627 return NULL;
24628 }
24629
24630
24631 static PyObject *_wrap_PyControl_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
24632 PyObject *resultobj;
24633 wxPyControl *arg1 = (wxPyControl *) 0 ;
24634 bool result;
24635 PyObject * obj0 = 0 ;
24636 char *kwnames[] = {
24637 (char *) "self", NULL
24638 };
24639
24640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_Validate",kwnames,&obj0)) goto fail;
24641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24642 {
24643 PyThreadState* __tstate = wxPyBeginAllowThreads();
24644 result = (bool)(arg1)->base_Validate();
24645
24646 wxPyEndAllowThreads(__tstate);
24647 if (PyErr_Occurred()) SWIG_fail;
24648 }
24649 resultobj = PyInt_FromLong((long)result);
24650 return resultobj;
24651 fail:
24652 return NULL;
24653 }
24654
24655
24656 static PyObject *_wrap_PyControl_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
24657 PyObject *resultobj;
24658 wxPyControl *arg1 = (wxPyControl *) 0 ;
24659 bool result;
24660 PyObject * obj0 = 0 ;
24661 char *kwnames[] = {
24662 (char *) "self", NULL
24663 };
24664
24665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocus",kwnames,&obj0)) goto fail;
24666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24667 {
24668 PyThreadState* __tstate = wxPyBeginAllowThreads();
24669 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocus();
24670
24671 wxPyEndAllowThreads(__tstate);
24672 if (PyErr_Occurred()) SWIG_fail;
24673 }
24674 resultobj = PyInt_FromLong((long)result);
24675 return resultobj;
24676 fail:
24677 return NULL;
24678 }
24679
24680
24681 static PyObject *_wrap_PyControl_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
24682 PyObject *resultobj;
24683 wxPyControl *arg1 = (wxPyControl *) 0 ;
24684 bool result;
24685 PyObject * obj0 = 0 ;
24686 char *kwnames[] = {
24687 (char *) "self", NULL
24688 };
24689
24690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
24691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24692 {
24693 PyThreadState* __tstate = wxPyBeginAllowThreads();
24694 result = (bool)((wxPyControl const *)arg1)->base_AcceptsFocusFromKeyboard();
24695
24696 wxPyEndAllowThreads(__tstate);
24697 if (PyErr_Occurred()) SWIG_fail;
24698 }
24699 resultobj = PyInt_FromLong((long)result);
24700 return resultobj;
24701 fail:
24702 return NULL;
24703 }
24704
24705
24706 static PyObject *_wrap_PyControl_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
24707 PyObject *resultobj;
24708 wxPyControl *arg1 = (wxPyControl *) 0 ;
24709 wxSize result;
24710 PyObject * obj0 = 0 ;
24711 char *kwnames[] = {
24712 (char *) "self", NULL
24713 };
24714
24715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyControl_base_GetMaxSize",kwnames,&obj0)) goto fail;
24716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24717 {
24718 PyThreadState* __tstate = wxPyBeginAllowThreads();
24719 result = ((wxPyControl const *)arg1)->base_GetMaxSize();
24720
24721 wxPyEndAllowThreads(__tstate);
24722 if (PyErr_Occurred()) SWIG_fail;
24723 }
24724 {
24725 wxSize * resultptr;
24726 resultptr = new wxSize((wxSize &) result);
24727 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
24728 }
24729 return resultobj;
24730 fail:
24731 return NULL;
24732 }
24733
24734
24735 static PyObject *_wrap_PyControl_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24736 PyObject *resultobj;
24737 wxPyControl *arg1 = (wxPyControl *) 0 ;
24738 wxWindow *arg2 = (wxWindow *) 0 ;
24739 PyObject * obj0 = 0 ;
24740 PyObject * obj1 = 0 ;
24741 char *kwnames[] = {
24742 (char *) "self",(char *) "child", NULL
24743 };
24744
24745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
24746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24747 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24748 {
24749 PyThreadState* __tstate = wxPyBeginAllowThreads();
24750 (arg1)->base_AddChild(arg2);
24751
24752 wxPyEndAllowThreads(__tstate);
24753 if (PyErr_Occurred()) SWIG_fail;
24754 }
24755 Py_INCREF(Py_None); resultobj = Py_None;
24756 return resultobj;
24757 fail:
24758 return NULL;
24759 }
24760
24761
24762 static PyObject *_wrap_PyControl_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
24763 PyObject *resultobj;
24764 wxPyControl *arg1 = (wxPyControl *) 0 ;
24765 wxWindow *arg2 = (wxWindow *) 0 ;
24766 PyObject * obj0 = 0 ;
24767 PyObject * obj1 = 0 ;
24768 char *kwnames[] = {
24769 (char *) "self",(char *) "child", NULL
24770 };
24771
24772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyControl_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
24773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyControl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24774 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24775 {
24776 PyThreadState* __tstate = wxPyBeginAllowThreads();
24777 (arg1)->base_RemoveChild(arg2);
24778
24779 wxPyEndAllowThreads(__tstate);
24780 if (PyErr_Occurred()) SWIG_fail;
24781 }
24782 Py_INCREF(Py_None); resultobj = Py_None;
24783 return resultobj;
24784 fail:
24785 return NULL;
24786 }
24787
24788
24789 static PyObject * PyControl_swigregister(PyObject *self, PyObject *args) {
24790 PyObject *obj;
24791 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
24792 SWIG_TypeClientData(SWIGTYPE_p_wxPyControl, obj);
24793 Py_INCREF(obj);
24794 return Py_BuildValue((char *)"");
24795 }
24796 static PyObject *_wrap_new_HelpEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
24797 PyObject *resultobj;
24798 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
24799 int arg2 = (int) 0 ;
24800 wxPoint const &arg3_defvalue = wxDefaultPosition ;
24801 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
24802 wxHelpEvent *result;
24803 wxPoint temp3 ;
24804 PyObject * obj2 = 0 ;
24805 char *kwnames[] = {
24806 (char *) "type",(char *) "winid",(char *) "pt", NULL
24807 };
24808
24809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiO:new_HelpEvent",kwnames,&arg1,&arg2,&obj2)) goto fail;
24810 if (obj2) {
24811 {
24812 arg3 = &temp3;
24813 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
24814 }
24815 }
24816 {
24817 PyThreadState* __tstate = wxPyBeginAllowThreads();
24818 result = (wxHelpEvent *)new wxHelpEvent(arg1,arg2,(wxPoint const &)*arg3);
24819
24820 wxPyEndAllowThreads(__tstate);
24821 if (PyErr_Occurred()) SWIG_fail;
24822 }
24823 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpEvent, 1);
24824 return resultobj;
24825 fail:
24826 return NULL;
24827 }
24828
24829
24830 static PyObject *_wrap_HelpEvent_GetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24831 PyObject *resultobj;
24832 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24833 wxPoint *result;
24834 PyObject * obj0 = 0 ;
24835 char *kwnames[] = {
24836 (char *) "self", NULL
24837 };
24838
24839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetPosition",kwnames,&obj0)) goto fail;
24840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24841 {
24842 PyThreadState* __tstate = wxPyBeginAllowThreads();
24843 {
24844 wxPoint const &_result_ref = ((wxHelpEvent const *)arg1)->GetPosition();
24845 result = (wxPoint *) &_result_ref;
24846 }
24847
24848 wxPyEndAllowThreads(__tstate);
24849 if (PyErr_Occurred()) SWIG_fail;
24850 }
24851 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPoint, 0);
24852 return resultobj;
24853 fail:
24854 return NULL;
24855 }
24856
24857
24858 static PyObject *_wrap_HelpEvent_SetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
24859 PyObject *resultobj;
24860 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24861 wxPoint *arg2 = 0 ;
24862 wxPoint temp2 ;
24863 PyObject * obj0 = 0 ;
24864 PyObject * obj1 = 0 ;
24865 char *kwnames[] = {
24866 (char *) "self",(char *) "pos", NULL
24867 };
24868
24869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetPosition",kwnames,&obj0,&obj1)) goto fail;
24870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24871 {
24872 arg2 = &temp2;
24873 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
24874 }
24875 {
24876 PyThreadState* __tstate = wxPyBeginAllowThreads();
24877 (arg1)->SetPosition((wxPoint const &)*arg2);
24878
24879 wxPyEndAllowThreads(__tstate);
24880 if (PyErr_Occurred()) SWIG_fail;
24881 }
24882 Py_INCREF(Py_None); resultobj = Py_None;
24883 return resultobj;
24884 fail:
24885 return NULL;
24886 }
24887
24888
24889 static PyObject *_wrap_HelpEvent_GetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24890 PyObject *resultobj;
24891 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24892 wxString *result;
24893 PyObject * obj0 = 0 ;
24894 char *kwnames[] = {
24895 (char *) "self", NULL
24896 };
24897
24898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetLink",kwnames,&obj0)) goto fail;
24899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24900 {
24901 PyThreadState* __tstate = wxPyBeginAllowThreads();
24902 {
24903 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetLink();
24904 result = (wxString *) &_result_ref;
24905 }
24906
24907 wxPyEndAllowThreads(__tstate);
24908 if (PyErr_Occurred()) SWIG_fail;
24909 }
24910 {
24911 #if wxUSE_UNICODE
24912 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24913 #else
24914 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24915 #endif
24916 }
24917 return resultobj;
24918 fail:
24919 return NULL;
24920 }
24921
24922
24923 static PyObject *_wrap_HelpEvent_SetLink(PyObject *self, PyObject *args, PyObject *kwargs) {
24924 PyObject *resultobj;
24925 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24926 wxString *arg2 = 0 ;
24927 bool temp2 = False ;
24928 PyObject * obj0 = 0 ;
24929 PyObject * obj1 = 0 ;
24930 char *kwnames[] = {
24931 (char *) "self",(char *) "link", NULL
24932 };
24933
24934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetLink",kwnames,&obj0,&obj1)) goto fail;
24935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24936 {
24937 arg2 = wxString_in_helper(obj1);
24938 if (arg2 == NULL) SWIG_fail;
24939 temp2 = True;
24940 }
24941 {
24942 PyThreadState* __tstate = wxPyBeginAllowThreads();
24943 (arg1)->SetLink((wxString const &)*arg2);
24944
24945 wxPyEndAllowThreads(__tstate);
24946 if (PyErr_Occurred()) SWIG_fail;
24947 }
24948 Py_INCREF(Py_None); resultobj = Py_None;
24949 {
24950 if (temp2)
24951 delete arg2;
24952 }
24953 return resultobj;
24954 fail:
24955 {
24956 if (temp2)
24957 delete arg2;
24958 }
24959 return NULL;
24960 }
24961
24962
24963 static PyObject *_wrap_HelpEvent_GetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24964 PyObject *resultobj;
24965 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
24966 wxString *result;
24967 PyObject * obj0 = 0 ;
24968 char *kwnames[] = {
24969 (char *) "self", NULL
24970 };
24971
24972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpEvent_GetTarget",kwnames,&obj0)) goto fail;
24973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
24974 {
24975 PyThreadState* __tstate = wxPyBeginAllowThreads();
24976 {
24977 wxString const &_result_ref = ((wxHelpEvent const *)arg1)->GetTarget();
24978 result = (wxString *) &_result_ref;
24979 }
24980
24981 wxPyEndAllowThreads(__tstate);
24982 if (PyErr_Occurred()) SWIG_fail;
24983 }
24984 {
24985 #if wxUSE_UNICODE
24986 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
24987 #else
24988 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
24989 #endif
24990 }
24991 return resultobj;
24992 fail:
24993 return NULL;
24994 }
24995
24996
24997 static PyObject *_wrap_HelpEvent_SetTarget(PyObject *self, PyObject *args, PyObject *kwargs) {
24998 PyObject *resultobj;
24999 wxHelpEvent *arg1 = (wxHelpEvent *) 0 ;
25000 wxString *arg2 = 0 ;
25001 bool temp2 = False ;
25002 PyObject * obj0 = 0 ;
25003 PyObject * obj1 = 0 ;
25004 char *kwnames[] = {
25005 (char *) "self",(char *) "target", NULL
25006 };
25007
25008 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpEvent_SetTarget",kwnames,&obj0,&obj1)) goto fail;
25009 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25010 {
25011 arg2 = wxString_in_helper(obj1);
25012 if (arg2 == NULL) SWIG_fail;
25013 temp2 = True;
25014 }
25015 {
25016 PyThreadState* __tstate = wxPyBeginAllowThreads();
25017 (arg1)->SetTarget((wxString const &)*arg2);
25018
25019 wxPyEndAllowThreads(__tstate);
25020 if (PyErr_Occurred()) SWIG_fail;
25021 }
25022 Py_INCREF(Py_None); resultobj = Py_None;
25023 {
25024 if (temp2)
25025 delete arg2;
25026 }
25027 return resultobj;
25028 fail:
25029 {
25030 if (temp2)
25031 delete arg2;
25032 }
25033 return NULL;
25034 }
25035
25036
25037 static PyObject * HelpEvent_swigregister(PyObject *self, PyObject *args) {
25038 PyObject *obj;
25039 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25040 SWIG_TypeClientData(SWIGTYPE_p_wxHelpEvent, obj);
25041 Py_INCREF(obj);
25042 return Py_BuildValue((char *)"");
25043 }
25044 static PyObject *_wrap_new_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25045 PyObject *resultobj;
25046 wxWindow *arg1 = (wxWindow *) NULL ;
25047 bool arg2 = (bool) True ;
25048 wxContextHelp *result;
25049 PyObject * obj0 = 0 ;
25050 PyObject * obj1 = 0 ;
25051 char *kwnames[] = {
25052 (char *) "window",(char *) "doNow", NULL
25053 };
25054
25055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_ContextHelp",kwnames,&obj0,&obj1)) goto fail;
25056 if (obj0) {
25057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25058 }
25059 if (obj1) {
25060 arg2 = PyInt_AsLong(obj1) ? true : false;
25061 if (PyErr_Occurred()) SWIG_fail;
25062 }
25063 {
25064 PyThreadState* __tstate = wxPyBeginAllowThreads();
25065 result = (wxContextHelp *)new wxContextHelp(arg1,arg2);
25066
25067 wxPyEndAllowThreads(__tstate);
25068 if (PyErr_Occurred()) SWIG_fail;
25069 }
25070 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelp, 1);
25071 return resultobj;
25072 fail:
25073 return NULL;
25074 }
25075
25076
25077 static PyObject *_wrap_delete_ContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25078 PyObject *resultobj;
25079 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25080 PyObject * obj0 = 0 ;
25081 char *kwnames[] = {
25082 (char *) "self", NULL
25083 };
25084
25085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ContextHelp",kwnames,&obj0)) goto fail;
25086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25087 {
25088 PyThreadState* __tstate = wxPyBeginAllowThreads();
25089 delete arg1;
25090
25091 wxPyEndAllowThreads(__tstate);
25092 if (PyErr_Occurred()) SWIG_fail;
25093 }
25094 Py_INCREF(Py_None); resultobj = Py_None;
25095 return resultobj;
25096 fail:
25097 return NULL;
25098 }
25099
25100
25101 static PyObject *_wrap_ContextHelp_BeginContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25102 PyObject *resultobj;
25103 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25104 wxWindow *arg2 = (wxWindow *) NULL ;
25105 bool result;
25106 PyObject * obj0 = 0 ;
25107 PyObject * obj1 = 0 ;
25108 char *kwnames[] = {
25109 (char *) "self",(char *) "window", NULL
25110 };
25111
25112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:ContextHelp_BeginContextHelp",kwnames,&obj0,&obj1)) goto fail;
25113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25114 if (obj1) {
25115 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25116 }
25117 {
25118 PyThreadState* __tstate = wxPyBeginAllowThreads();
25119 result = (bool)(arg1)->BeginContextHelp(arg2);
25120
25121 wxPyEndAllowThreads(__tstate);
25122 if (PyErr_Occurred()) SWIG_fail;
25123 }
25124 resultobj = PyInt_FromLong((long)result);
25125 return resultobj;
25126 fail:
25127 return NULL;
25128 }
25129
25130
25131 static PyObject *_wrap_ContextHelp_EndContextHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25132 PyObject *resultobj;
25133 wxContextHelp *arg1 = (wxContextHelp *) 0 ;
25134 bool result;
25135 PyObject * obj0 = 0 ;
25136 char *kwnames[] = {
25137 (char *) "self", NULL
25138 };
25139
25140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ContextHelp_EndContextHelp",kwnames,&obj0)) goto fail;
25141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxContextHelp,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25142 {
25143 PyThreadState* __tstate = wxPyBeginAllowThreads();
25144 result = (bool)(arg1)->EndContextHelp();
25145
25146 wxPyEndAllowThreads(__tstate);
25147 if (PyErr_Occurred()) SWIG_fail;
25148 }
25149 resultobj = PyInt_FromLong((long)result);
25150 return resultobj;
25151 fail:
25152 return NULL;
25153 }
25154
25155
25156 static PyObject * ContextHelp_swigregister(PyObject *self, PyObject *args) {
25157 PyObject *obj;
25158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25159 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelp, obj);
25160 Py_INCREF(obj);
25161 return Py_BuildValue((char *)"");
25162 }
25163 static PyObject *_wrap_new_ContextHelpButton(PyObject *self, PyObject *args, PyObject *kwargs) {
25164 PyObject *resultobj;
25165 wxWindow *arg1 = (wxWindow *) 0 ;
25166 int arg2 = (int) wxID_CONTEXT_HELP ;
25167 wxPoint const &arg3_defvalue = wxDefaultPosition ;
25168 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
25169 wxSize const &arg4_defvalue = wxDefaultSize ;
25170 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
25171 long arg5 = (long) wxBU_AUTODRAW ;
25172 wxContextHelpButton *result;
25173 wxPoint temp3 ;
25174 wxSize temp4 ;
25175 PyObject * obj0 = 0 ;
25176 PyObject * obj2 = 0 ;
25177 PyObject * obj3 = 0 ;
25178 char *kwnames[] = {
25179 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
25180 };
25181
25182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOl:new_ContextHelpButton",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5)) goto fail;
25183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25184 if (obj2) {
25185 {
25186 arg3 = &temp3;
25187 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25188 }
25189 }
25190 if (obj3) {
25191 {
25192 arg4 = &temp4;
25193 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
25194 }
25195 }
25196 {
25197 PyThreadState* __tstate = wxPyBeginAllowThreads();
25198 result = (wxContextHelpButton *)new wxContextHelpButton(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5);
25199
25200 wxPyEndAllowThreads(__tstate);
25201 if (PyErr_Occurred()) SWIG_fail;
25202 }
25203 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxContextHelpButton, 1);
25204 return resultobj;
25205 fail:
25206 return NULL;
25207 }
25208
25209
25210 static PyObject * ContextHelpButton_swigregister(PyObject *self, PyObject *args) {
25211 PyObject *obj;
25212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25213 SWIG_TypeClientData(SWIGTYPE_p_wxContextHelpButton, obj);
25214 Py_INCREF(obj);
25215 return Py_BuildValue((char *)"");
25216 }
25217 static PyObject *_wrap_HelpProvider_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
25218 PyObject *resultobj;
25219 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25220 wxHelpProvider *result;
25221 PyObject * obj0 = 0 ;
25222 char *kwnames[] = {
25223 (char *) "helpProvider", NULL
25224 };
25225
25226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Set",kwnames,&obj0)) goto fail;
25227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25228 {
25229 PyThreadState* __tstate = wxPyBeginAllowThreads();
25230 result = (wxHelpProvider *)wxHelpProvider::Set(arg1);
25231
25232 wxPyEndAllowThreads(__tstate);
25233 if (PyErr_Occurred()) SWIG_fail;
25234 }
25235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25236 return resultobj;
25237 fail:
25238 return NULL;
25239 }
25240
25241
25242 static PyObject *_wrap_HelpProvider_Get(PyObject *self, PyObject *args, PyObject *kwargs) {
25243 PyObject *resultobj;
25244 wxHelpProvider *result;
25245 char *kwnames[] = {
25246 NULL
25247 };
25248
25249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":HelpProvider_Get",kwnames)) goto fail;
25250 {
25251 PyThreadState* __tstate = wxPyBeginAllowThreads();
25252 result = (wxHelpProvider *)wxHelpProvider::Get();
25253
25254 wxPyEndAllowThreads(__tstate);
25255 if (PyErr_Occurred()) SWIG_fail;
25256 }
25257 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxHelpProvider, 0);
25258 return resultobj;
25259 fail:
25260 return NULL;
25261 }
25262
25263
25264 static PyObject *_wrap_HelpProvider_GetHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25265 PyObject *resultobj;
25266 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25267 wxWindow *arg2 = (wxWindow *) 0 ;
25268 wxString result;
25269 PyObject * obj0 = 0 ;
25270 PyObject * obj1 = 0 ;
25271 char *kwnames[] = {
25272 (char *) "self",(char *) "window", NULL
25273 };
25274
25275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_GetHelp",kwnames,&obj0,&obj1)) goto fail;
25276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25278 {
25279 PyThreadState* __tstate = wxPyBeginAllowThreads();
25280 result = (arg1)->GetHelp((wxWindow const *)arg2);
25281
25282 wxPyEndAllowThreads(__tstate);
25283 if (PyErr_Occurred()) SWIG_fail;
25284 }
25285 {
25286 #if wxUSE_UNICODE
25287 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
25288 #else
25289 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
25290 #endif
25291 }
25292 return resultobj;
25293 fail:
25294 return NULL;
25295 }
25296
25297
25298 static PyObject *_wrap_HelpProvider_ShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25299 PyObject *resultobj;
25300 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25301 wxWindow *arg2 = (wxWindow *) 0 ;
25302 bool result;
25303 PyObject * obj0 = 0 ;
25304 PyObject * obj1 = 0 ;
25305 char *kwnames[] = {
25306 (char *) "self",(char *) "window", NULL
25307 };
25308
25309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HelpProvider_ShowHelp",kwnames,&obj0,&obj1)) goto fail;
25310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25311 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25312 {
25313 PyThreadState* __tstate = wxPyBeginAllowThreads();
25314 result = (bool)(arg1)->ShowHelp(arg2);
25315
25316 wxPyEndAllowThreads(__tstate);
25317 if (PyErr_Occurred()) SWIG_fail;
25318 }
25319 resultobj = PyInt_FromLong((long)result);
25320 return resultobj;
25321 fail:
25322 return NULL;
25323 }
25324
25325
25326 static PyObject *_wrap_HelpProvider_AddHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
25327 PyObject *resultobj;
25328 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25329 wxWindow *arg2 = (wxWindow *) 0 ;
25330 wxString *arg3 = 0 ;
25331 bool temp3 = False ;
25332 PyObject * obj0 = 0 ;
25333 PyObject * obj1 = 0 ;
25334 PyObject * obj2 = 0 ;
25335 char *kwnames[] = {
25336 (char *) "self",(char *) "window",(char *) "text", NULL
25337 };
25338
25339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HelpProvider_AddHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
25340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25341 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25342 {
25343 arg3 = wxString_in_helper(obj2);
25344 if (arg3 == NULL) SWIG_fail;
25345 temp3 = True;
25346 }
25347 {
25348 PyThreadState* __tstate = wxPyBeginAllowThreads();
25349 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25350
25351 wxPyEndAllowThreads(__tstate);
25352 if (PyErr_Occurred()) SWIG_fail;
25353 }
25354 Py_INCREF(Py_None); resultobj = Py_None;
25355 {
25356 if (temp3)
25357 delete arg3;
25358 }
25359 return resultobj;
25360 fail:
25361 {
25362 if (temp3)
25363 delete arg3;
25364 }
25365 return NULL;
25366 }
25367
25368
25369 static PyObject *_wrap_HelpProvider_AddHelpById(PyObject *self, PyObject *args, PyObject *kwargs) {
25370 PyObject *resultobj;
25371 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25372 int arg2 ;
25373 wxString *arg3 = 0 ;
25374 bool temp3 = False ;
25375 PyObject * obj0 = 0 ;
25376 PyObject * obj2 = 0 ;
25377 char *kwnames[] = {
25378 (char *) "self",(char *) "id",(char *) "text", NULL
25379 };
25380
25381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:HelpProvider_AddHelpById",kwnames,&obj0,&arg2,&obj2)) goto fail;
25382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25383 {
25384 arg3 = wxString_in_helper(obj2);
25385 if (arg3 == NULL) SWIG_fail;
25386 temp3 = True;
25387 }
25388 {
25389 PyThreadState* __tstate = wxPyBeginAllowThreads();
25390 (arg1)->AddHelp(arg2,(wxString const &)*arg3);
25391
25392 wxPyEndAllowThreads(__tstate);
25393 if (PyErr_Occurred()) SWIG_fail;
25394 }
25395 Py_INCREF(Py_None); resultobj = Py_None;
25396 {
25397 if (temp3)
25398 delete arg3;
25399 }
25400 return resultobj;
25401 fail:
25402 {
25403 if (temp3)
25404 delete arg3;
25405 }
25406 return NULL;
25407 }
25408
25409
25410 static PyObject *_wrap_HelpProvider_Destroy(PyObject *self, PyObject *args, PyObject *kwargs) {
25411 PyObject *resultobj;
25412 wxHelpProvider *arg1 = (wxHelpProvider *) 0 ;
25413 PyObject * obj0 = 0 ;
25414 char *kwnames[] = {
25415 (char *) "self", NULL
25416 };
25417
25418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HelpProvider_Destroy",kwnames,&obj0)) goto fail;
25419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxHelpProvider,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25420 {
25421 PyThreadState* __tstate = wxPyBeginAllowThreads();
25422 wxHelpProvider_Destroy(arg1);
25423
25424 wxPyEndAllowThreads(__tstate);
25425 if (PyErr_Occurred()) SWIG_fail;
25426 }
25427 Py_INCREF(Py_None); resultobj = Py_None;
25428 return resultobj;
25429 fail:
25430 return NULL;
25431 }
25432
25433
25434 static PyObject * HelpProvider_swigregister(PyObject *self, PyObject *args) {
25435 PyObject *obj;
25436 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25437 SWIG_TypeClientData(SWIGTYPE_p_wxHelpProvider, obj);
25438 Py_INCREF(obj);
25439 return Py_BuildValue((char *)"");
25440 }
25441 static PyObject *_wrap_new_SimpleHelpProvider(PyObject *self, PyObject *args, PyObject *kwargs) {
25442 PyObject *resultobj;
25443 wxSimpleHelpProvider *result;
25444 char *kwnames[] = {
25445 NULL
25446 };
25447
25448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_SimpleHelpProvider",kwnames)) goto fail;
25449 {
25450 PyThreadState* __tstate = wxPyBeginAllowThreads();
25451 result = (wxSimpleHelpProvider *)new wxSimpleHelpProvider();
25452
25453 wxPyEndAllowThreads(__tstate);
25454 if (PyErr_Occurred()) SWIG_fail;
25455 }
25456 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSimpleHelpProvider, 1);
25457 return resultobj;
25458 fail:
25459 return NULL;
25460 }
25461
25462
25463 static PyObject * SimpleHelpProvider_swigregister(PyObject *self, PyObject *args) {
25464 PyObject *obj;
25465 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
25466 SWIG_TypeClientData(SWIGTYPE_p_wxSimpleHelpProvider, obj);
25467 Py_INCREF(obj);
25468 return Py_BuildValue((char *)"");
25469 }
25470 static PyObject *_wrap_new_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25471 PyObject *resultobj;
25472 wxBitmap *arg1 = 0 ;
25473 wxCursor const &arg2_defvalue = wxNullCursor ;
25474 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25475 wxGenericDragImage *result;
25476 PyObject * obj0 = 0 ;
25477 PyObject * obj1 = 0 ;
25478 char *kwnames[] = {
25479 (char *) "image",(char *) "cursor", NULL
25480 };
25481
25482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragImage",kwnames,&obj0,&obj1)) goto fail;
25483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25484 if (arg1 == NULL) {
25485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25486 }
25487 if (obj1) {
25488 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25489 if (arg2 == NULL) {
25490 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25491 }
25492 }
25493 {
25494 PyThreadState* __tstate = wxPyBeginAllowThreads();
25495 result = (wxGenericDragImage *)new wxGenericDragImage((wxBitmap const &)*arg1,(wxCursor const &)*arg2);
25496
25497 wxPyEndAllowThreads(__tstate);
25498 if (PyErr_Occurred()) SWIG_fail;
25499 }
25500 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25501 return resultobj;
25502 fail:
25503 return NULL;
25504 }
25505
25506
25507 static PyObject *_wrap_new_DragIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
25508 PyObject *resultobj;
25509 wxIcon *arg1 = 0 ;
25510 wxCursor const &arg2_defvalue = wxNullCursor ;
25511 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25512 wxGenericDragImage *result;
25513 PyObject * obj0 = 0 ;
25514 PyObject * obj1 = 0 ;
25515 char *kwnames[] = {
25516 (char *) "image",(char *) "cursor", NULL
25517 };
25518
25519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragIcon",kwnames,&obj0,&obj1)) goto fail;
25520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25521 if (arg1 == NULL) {
25522 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25523 }
25524 if (obj1) {
25525 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25526 if (arg2 == NULL) {
25527 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25528 }
25529 }
25530 {
25531 PyThreadState* __tstate = wxPyBeginAllowThreads();
25532 result = (wxGenericDragImage *)new wxGenericDragImage((wxIcon const &)*arg1,(wxCursor const &)*arg2);
25533
25534 wxPyEndAllowThreads(__tstate);
25535 if (PyErr_Occurred()) SWIG_fail;
25536 }
25537 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25538 return resultobj;
25539 fail:
25540 return NULL;
25541 }
25542
25543
25544 static PyObject *_wrap_new_DragString(PyObject *self, PyObject *args, PyObject *kwargs) {
25545 PyObject *resultobj;
25546 wxString *arg1 = 0 ;
25547 wxCursor const &arg2_defvalue = wxNullCursor ;
25548 wxCursor *arg2 = (wxCursor *) &arg2_defvalue ;
25549 wxGenericDragImage *result;
25550 bool temp1 = False ;
25551 PyObject * obj0 = 0 ;
25552 PyObject * obj1 = 0 ;
25553 char *kwnames[] = {
25554 (char *) "str",(char *) "cursor", NULL
25555 };
25556
25557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_DragString",kwnames,&obj0,&obj1)) goto fail;
25558 {
25559 arg1 = wxString_in_helper(obj0);
25560 if (arg1 == NULL) SWIG_fail;
25561 temp1 = True;
25562 }
25563 if (obj1) {
25564 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxCursor,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25565 if (arg2 == NULL) {
25566 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25567 }
25568 }
25569 {
25570 PyThreadState* __tstate = wxPyBeginAllowThreads();
25571 result = (wxGenericDragImage *)new wxGenericDragImage((wxString const &)*arg1,(wxCursor const &)*arg2);
25572
25573 wxPyEndAllowThreads(__tstate);
25574 if (PyErr_Occurred()) SWIG_fail;
25575 }
25576 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25577 {
25578 if (temp1)
25579 delete arg1;
25580 }
25581 return resultobj;
25582 fail:
25583 {
25584 if (temp1)
25585 delete arg1;
25586 }
25587 return NULL;
25588 }
25589
25590
25591 static PyObject *_wrap_new_DragTreeItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25592 PyObject *resultobj;
25593 wxPyTreeCtrl *arg1 = 0 ;
25594 wxTreeItemId *arg2 = 0 ;
25595 wxGenericDragImage *result;
25596 PyObject * obj0 = 0 ;
25597 PyObject * obj1 = 0 ;
25598 char *kwnames[] = {
25599 (char *) "treeCtrl",(char *) "id", NULL
25600 };
25601
25602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_DragTreeItem",kwnames,&obj0,&obj1)) goto fail;
25603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyTreeCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25604 if (arg1 == NULL) {
25605 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25606 }
25607 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTreeItemId,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25608 if (arg2 == NULL) {
25609 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25610 }
25611 {
25612 PyThreadState* __tstate = wxPyBeginAllowThreads();
25613 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyTreeCtrl const &)*arg1,*arg2);
25614
25615 wxPyEndAllowThreads(__tstate);
25616 if (PyErr_Occurred()) SWIG_fail;
25617 }
25618 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25619 return resultobj;
25620 fail:
25621 return NULL;
25622 }
25623
25624
25625 static PyObject *_wrap_new_DragListItem(PyObject *self, PyObject *args, PyObject *kwargs) {
25626 PyObject *resultobj;
25627 wxPyListCtrl *arg1 = 0 ;
25628 long arg2 ;
25629 wxGenericDragImage *result;
25630 PyObject * obj0 = 0 ;
25631 char *kwnames[] = {
25632 (char *) "listCtrl",(char *) "id", NULL
25633 };
25634
25635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:new_DragListItem",kwnames,&obj0,&arg2)) goto fail;
25636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyListCtrl,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25637 if (arg1 == NULL) {
25638 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25639 }
25640 {
25641 PyThreadState* __tstate = wxPyBeginAllowThreads();
25642 result = (wxGenericDragImage *)new wxGenericDragImage((wxPyListCtrl const &)*arg1,arg2);
25643
25644 wxPyEndAllowThreads(__tstate);
25645 if (PyErr_Occurred()) SWIG_fail;
25646 }
25647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxGenericDragImage, 1);
25648 return resultobj;
25649 fail:
25650 return NULL;
25651 }
25652
25653
25654 static PyObject *_wrap_delete_DragImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25655 PyObject *resultobj;
25656 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25657 PyObject * obj0 = 0 ;
25658 char *kwnames[] = {
25659 (char *) "self", NULL
25660 };
25661
25662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_DragImage",kwnames,&obj0)) goto fail;
25663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25664 {
25665 PyThreadState* __tstate = wxPyBeginAllowThreads();
25666 delete arg1;
25667
25668 wxPyEndAllowThreads(__tstate);
25669 if (PyErr_Occurred()) SWIG_fail;
25670 }
25671 Py_INCREF(Py_None); resultobj = Py_None;
25672 return resultobj;
25673 fail:
25674 return NULL;
25675 }
25676
25677
25678 static PyObject *_wrap_DragImage_SetBackingBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
25679 PyObject *resultobj;
25680 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25681 wxBitmap *arg2 = (wxBitmap *) 0 ;
25682 PyObject * obj0 = 0 ;
25683 PyObject * obj1 = 0 ;
25684 char *kwnames[] = {
25685 (char *) "self",(char *) "bitmap", NULL
25686 };
25687
25688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_SetBackingBitmap",kwnames,&obj0,&obj1)) goto fail;
25689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25690 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25691 {
25692 PyThreadState* __tstate = wxPyBeginAllowThreads();
25693 (arg1)->SetBackingBitmap(arg2);
25694
25695 wxPyEndAllowThreads(__tstate);
25696 if (PyErr_Occurred()) SWIG_fail;
25697 }
25698 Py_INCREF(Py_None); resultobj = Py_None;
25699 return resultobj;
25700 fail:
25701 return NULL;
25702 }
25703
25704
25705 static PyObject *_wrap_DragImage_BeginDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25706 PyObject *resultobj;
25707 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25708 wxPoint *arg2 = 0 ;
25709 wxWindow *arg3 = (wxWindow *) 0 ;
25710 bool arg4 = (bool) False ;
25711 wxRect *arg5 = (wxRect *) NULL ;
25712 bool result;
25713 wxPoint temp2 ;
25714 PyObject * obj0 = 0 ;
25715 PyObject * obj1 = 0 ;
25716 PyObject * obj2 = 0 ;
25717 PyObject * obj3 = 0 ;
25718 PyObject * obj4 = 0 ;
25719 char *kwnames[] = {
25720 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "fullScreen",(char *) "rect", NULL
25721 };
25722
25723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:DragImage_BeginDrag",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25725 {
25726 arg2 = &temp2;
25727 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25728 }
25729 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25730 if (obj3) {
25731 arg4 = PyInt_AsLong(obj3) ? true : false;
25732 if (PyErr_Occurred()) SWIG_fail;
25733 }
25734 if (obj4) {
25735 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25736 }
25737 {
25738 PyThreadState* __tstate = wxPyBeginAllowThreads();
25739 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4,arg5);
25740
25741 wxPyEndAllowThreads(__tstate);
25742 if (PyErr_Occurred()) SWIG_fail;
25743 }
25744 resultobj = PyInt_FromLong((long)result);
25745 return resultobj;
25746 fail:
25747 return NULL;
25748 }
25749
25750
25751 static PyObject *_wrap_DragImage_BeginDragBounded(PyObject *self, PyObject *args, PyObject *kwargs) {
25752 PyObject *resultobj;
25753 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25754 wxPoint *arg2 = 0 ;
25755 wxWindow *arg3 = (wxWindow *) 0 ;
25756 wxWindow *arg4 = (wxWindow *) 0 ;
25757 bool result;
25758 wxPoint temp2 ;
25759 PyObject * obj0 = 0 ;
25760 PyObject * obj1 = 0 ;
25761 PyObject * obj2 = 0 ;
25762 PyObject * obj3 = 0 ;
25763 char *kwnames[] = {
25764 (char *) "self",(char *) "hotspot",(char *) "window",(char *) "boundingWindow", NULL
25765 };
25766
25767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:DragImage_BeginDragBounded",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
25768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25769 {
25770 arg2 = &temp2;
25771 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25772 }
25773 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25774 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25775 {
25776 PyThreadState* __tstate = wxPyBeginAllowThreads();
25777 result = (bool)(arg1)->BeginDrag((wxPoint const &)*arg2,arg3,arg4);
25778
25779 wxPyEndAllowThreads(__tstate);
25780 if (PyErr_Occurred()) SWIG_fail;
25781 }
25782 resultobj = PyInt_FromLong((long)result);
25783 return resultobj;
25784 fail:
25785 return NULL;
25786 }
25787
25788
25789 static PyObject *_wrap_DragImage_EndDrag(PyObject *self, PyObject *args, PyObject *kwargs) {
25790 PyObject *resultobj;
25791 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25792 bool result;
25793 PyObject * obj0 = 0 ;
25794 char *kwnames[] = {
25795 (char *) "self", NULL
25796 };
25797
25798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_EndDrag",kwnames,&obj0)) goto fail;
25799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25800 {
25801 PyThreadState* __tstate = wxPyBeginAllowThreads();
25802 result = (bool)(arg1)->EndDrag();
25803
25804 wxPyEndAllowThreads(__tstate);
25805 if (PyErr_Occurred()) SWIG_fail;
25806 }
25807 resultobj = PyInt_FromLong((long)result);
25808 return resultobj;
25809 fail:
25810 return NULL;
25811 }
25812
25813
25814 static PyObject *_wrap_DragImage_Move(PyObject *self, PyObject *args, PyObject *kwargs) {
25815 PyObject *resultobj;
25816 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25817 wxPoint *arg2 = 0 ;
25818 bool result;
25819 wxPoint temp2 ;
25820 PyObject * obj0 = 0 ;
25821 PyObject * obj1 = 0 ;
25822 char *kwnames[] = {
25823 (char *) "self",(char *) "pt", NULL
25824 };
25825
25826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_Move",kwnames,&obj0,&obj1)) goto fail;
25827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25828 {
25829 arg2 = &temp2;
25830 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25831 }
25832 {
25833 PyThreadState* __tstate = wxPyBeginAllowThreads();
25834 result = (bool)(arg1)->Move((wxPoint const &)*arg2);
25835
25836 wxPyEndAllowThreads(__tstate);
25837 if (PyErr_Occurred()) SWIG_fail;
25838 }
25839 resultobj = PyInt_FromLong((long)result);
25840 return resultobj;
25841 fail:
25842 return NULL;
25843 }
25844
25845
25846 static PyObject *_wrap_DragImage_Show(PyObject *self, PyObject *args, PyObject *kwargs) {
25847 PyObject *resultobj;
25848 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25849 bool result;
25850 PyObject * obj0 = 0 ;
25851 char *kwnames[] = {
25852 (char *) "self", NULL
25853 };
25854
25855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Show",kwnames,&obj0)) goto fail;
25856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25857 {
25858 PyThreadState* __tstate = wxPyBeginAllowThreads();
25859 result = (bool)(arg1)->Show();
25860
25861 wxPyEndAllowThreads(__tstate);
25862 if (PyErr_Occurred()) SWIG_fail;
25863 }
25864 resultobj = PyInt_FromLong((long)result);
25865 return resultobj;
25866 fail:
25867 return NULL;
25868 }
25869
25870
25871 static PyObject *_wrap_DragImage_Hide(PyObject *self, PyObject *args, PyObject *kwargs) {
25872 PyObject *resultobj;
25873 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25874 bool result;
25875 PyObject * obj0 = 0 ;
25876 char *kwnames[] = {
25877 (char *) "self", NULL
25878 };
25879
25880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DragImage_Hide",kwnames,&obj0)) goto fail;
25881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25882 {
25883 PyThreadState* __tstate = wxPyBeginAllowThreads();
25884 result = (bool)(arg1)->Hide();
25885
25886 wxPyEndAllowThreads(__tstate);
25887 if (PyErr_Occurred()) SWIG_fail;
25888 }
25889 resultobj = PyInt_FromLong((long)result);
25890 return resultobj;
25891 fail:
25892 return NULL;
25893 }
25894
25895
25896 static PyObject *_wrap_DragImage_GetImageRect(PyObject *self, PyObject *args, PyObject *kwargs) {
25897 PyObject *resultobj;
25898 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25899 wxPoint *arg2 = 0 ;
25900 wxRect result;
25901 wxPoint temp2 ;
25902 PyObject * obj0 = 0 ;
25903 PyObject * obj1 = 0 ;
25904 char *kwnames[] = {
25905 (char *) "self",(char *) "pos", NULL
25906 };
25907
25908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DragImage_GetImageRect",kwnames,&obj0,&obj1)) goto fail;
25909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25910 {
25911 arg2 = &temp2;
25912 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
25913 }
25914 {
25915 PyThreadState* __tstate = wxPyBeginAllowThreads();
25916 result = ((wxGenericDragImage const *)arg1)->GetImageRect((wxPoint const &)*arg2);
25917
25918 wxPyEndAllowThreads(__tstate);
25919 if (PyErr_Occurred()) SWIG_fail;
25920 }
25921 {
25922 wxRect * resultptr;
25923 resultptr = new wxRect((wxRect &) result);
25924 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
25925 }
25926 return resultobj;
25927 fail:
25928 return NULL;
25929 }
25930
25931
25932 static PyObject *_wrap_DragImage_DoDrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
25933 PyObject *resultobj;
25934 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25935 wxDC *arg2 = 0 ;
25936 wxPoint *arg3 = 0 ;
25937 bool result;
25938 wxPoint temp3 ;
25939 PyObject * obj0 = 0 ;
25940 PyObject * obj1 = 0 ;
25941 PyObject * obj2 = 0 ;
25942 char *kwnames[] = {
25943 (char *) "self",(char *) "dc",(char *) "pos", NULL
25944 };
25945
25946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:DragImage_DoDrawImage",kwnames,&obj0,&obj1,&obj2)) goto fail;
25947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25948 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25949 if (arg2 == NULL) {
25950 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25951 }
25952 {
25953 arg3 = &temp3;
25954 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
25955 }
25956 {
25957 PyThreadState* __tstate = wxPyBeginAllowThreads();
25958 result = (bool)((wxGenericDragImage const *)arg1)->DoDrawImage(*arg2,(wxPoint const &)*arg3);
25959
25960 wxPyEndAllowThreads(__tstate);
25961 if (PyErr_Occurred()) SWIG_fail;
25962 }
25963 resultobj = PyInt_FromLong((long)result);
25964 return resultobj;
25965 fail:
25966 return NULL;
25967 }
25968
25969
25970 static PyObject *_wrap_DragImage_UpdateBackingFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
25971 PyObject *resultobj;
25972 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
25973 wxDC *arg2 = 0 ;
25974 wxMemoryDC *arg3 = 0 ;
25975 wxRect *arg4 = 0 ;
25976 wxRect *arg5 = 0 ;
25977 bool result;
25978 wxRect temp4 ;
25979 wxRect temp5 ;
25980 PyObject * obj0 = 0 ;
25981 PyObject * obj1 = 0 ;
25982 PyObject * obj2 = 0 ;
25983 PyObject * obj3 = 0 ;
25984 PyObject * obj4 = 0 ;
25985 char *kwnames[] = {
25986 (char *) "self",(char *) "windowDC",(char *) "destDC",(char *) "sourceRect",(char *) "destRect", NULL
25987 };
25988
25989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_UpdateBackingFromWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
25990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25991 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25992 if (arg2 == NULL) {
25993 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25994 }
25995 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxMemoryDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
25996 if (arg3 == NULL) {
25997 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
25998 }
25999 {
26000 arg4 = &temp4;
26001 if ( ! wxRect_helper(obj3, &arg4)) SWIG_fail;
26002 }
26003 {
26004 arg5 = &temp5;
26005 if ( ! wxRect_helper(obj4, &arg5)) SWIG_fail;
26006 }
26007 {
26008 PyThreadState* __tstate = wxPyBeginAllowThreads();
26009 result = (bool)((wxGenericDragImage const *)arg1)->UpdateBackingFromWindow(*arg2,*arg3,(wxRect const &)*arg4,(wxRect const &)*arg5);
26010
26011 wxPyEndAllowThreads(__tstate);
26012 if (PyErr_Occurred()) SWIG_fail;
26013 }
26014 resultobj = PyInt_FromLong((long)result);
26015 return resultobj;
26016 fail:
26017 return NULL;
26018 }
26019
26020
26021 static PyObject *_wrap_DragImage_RedrawImage(PyObject *self, PyObject *args, PyObject *kwargs) {
26022 PyObject *resultobj;
26023 wxGenericDragImage *arg1 = (wxGenericDragImage *) 0 ;
26024 wxPoint *arg2 = 0 ;
26025 wxPoint *arg3 = 0 ;
26026 bool arg4 ;
26027 bool arg5 ;
26028 bool result;
26029 wxPoint temp2 ;
26030 wxPoint temp3 ;
26031 PyObject * obj0 = 0 ;
26032 PyObject * obj1 = 0 ;
26033 PyObject * obj2 = 0 ;
26034 PyObject * obj3 = 0 ;
26035 PyObject * obj4 = 0 ;
26036 char *kwnames[] = {
26037 (char *) "self",(char *) "oldPos",(char *) "newPos",(char *) "eraseOld",(char *) "drawNew", NULL
26038 };
26039
26040 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:DragImage_RedrawImage",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
26041 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxGenericDragImage,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
26042 {
26043 arg2 = &temp2;
26044 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
26045 }
26046 {
26047 arg3 = &temp3;
26048 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
26049 }
26050 arg4 = PyInt_AsLong(obj3) ? true : false;
26051 if (PyErr_Occurred()) SWIG_fail;
26052 arg5 = PyInt_AsLong(obj4) ? true : false;
26053 if (PyErr_Occurred()) SWIG_fail;
26054 {
26055 PyThreadState* __tstate = wxPyBeginAllowThreads();
26056 result = (bool)(arg1)->RedrawImage((wxPoint const &)*arg2,(wxPoint const &)*arg3,arg4,arg5);
26057
26058 wxPyEndAllowThreads(__tstate);
26059 if (PyErr_Occurred()) SWIG_fail;
26060 }
26061 resultobj = PyInt_FromLong((long)result);
26062 return resultobj;
26063 fail:
26064 return NULL;
26065 }
26066
26067
26068 static PyObject * DragImage_swigregister(PyObject *self, PyObject *args) {
26069 PyObject *obj;
26070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
26071 SWIG_TypeClientData(SWIGTYPE_p_wxGenericDragImage, obj);
26072 Py_INCREF(obj);
26073 return Py_BuildValue((char *)"");
26074 }
26075 static PyMethodDef SwigMethods[] = {
26076 { (char *)"new_Button", (PyCFunction) _wrap_new_Button, METH_VARARGS | METH_KEYWORDS },
26077 { (char *)"new_PreButton", (PyCFunction) _wrap_new_PreButton, METH_VARARGS | METH_KEYWORDS },
26078 { (char *)"Button_Create", (PyCFunction) _wrap_Button_Create, METH_VARARGS | METH_KEYWORDS },
26079 { (char *)"Button_SetDefault", (PyCFunction) _wrap_Button_SetDefault, METH_VARARGS | METH_KEYWORDS },
26080 { (char *)"Button_SetImageLabel", (PyCFunction) _wrap_Button_SetImageLabel, METH_VARARGS | METH_KEYWORDS },
26081 { (char *)"Button_SetImageMargins", (PyCFunction) _wrap_Button_SetImageMargins, METH_VARARGS | METH_KEYWORDS },
26082 { (char *)"Button_GetDefaultSize", (PyCFunction) _wrap_Button_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26083 { (char *)"Button_swigregister", Button_swigregister, METH_VARARGS },
26084 { (char *)"new_BitmapButton", (PyCFunction) _wrap_new_BitmapButton, METH_VARARGS | METH_KEYWORDS },
26085 { (char *)"new_PreBitmapButton", (PyCFunction) _wrap_new_PreBitmapButton, METH_VARARGS | METH_KEYWORDS },
26086 { (char *)"BitmapButton_Create", (PyCFunction) _wrap_BitmapButton_Create, METH_VARARGS | METH_KEYWORDS },
26087 { (char *)"BitmapButton_GetBitmapLabel", (PyCFunction) _wrap_BitmapButton_GetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26088 { (char *)"BitmapButton_GetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_GetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26089 { (char *)"BitmapButton_GetBitmapFocus", (PyCFunction) _wrap_BitmapButton_GetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26090 { (char *)"BitmapButton_GetBitmapSelected", (PyCFunction) _wrap_BitmapButton_GetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26091 { (char *)"BitmapButton_SetBitmapDisabled", (PyCFunction) _wrap_BitmapButton_SetBitmapDisabled, METH_VARARGS | METH_KEYWORDS },
26092 { (char *)"BitmapButton_SetBitmapFocus", (PyCFunction) _wrap_BitmapButton_SetBitmapFocus, METH_VARARGS | METH_KEYWORDS },
26093 { (char *)"BitmapButton_SetBitmapSelected", (PyCFunction) _wrap_BitmapButton_SetBitmapSelected, METH_VARARGS | METH_KEYWORDS },
26094 { (char *)"BitmapButton_SetBitmapLabel", (PyCFunction) _wrap_BitmapButton_SetBitmapLabel, METH_VARARGS | METH_KEYWORDS },
26095 { (char *)"BitmapButton_SetMargins", (PyCFunction) _wrap_BitmapButton_SetMargins, METH_VARARGS | METH_KEYWORDS },
26096 { (char *)"BitmapButton_GetMarginX", (PyCFunction) _wrap_BitmapButton_GetMarginX, METH_VARARGS | METH_KEYWORDS },
26097 { (char *)"BitmapButton_GetMarginY", (PyCFunction) _wrap_BitmapButton_GetMarginY, METH_VARARGS | METH_KEYWORDS },
26098 { (char *)"BitmapButton_swigregister", BitmapButton_swigregister, METH_VARARGS },
26099 { (char *)"new_CheckBox", (PyCFunction) _wrap_new_CheckBox, METH_VARARGS | METH_KEYWORDS },
26100 { (char *)"new_PreCheckBox", (PyCFunction) _wrap_new_PreCheckBox, METH_VARARGS | METH_KEYWORDS },
26101 { (char *)"CheckBox_Create", (PyCFunction) _wrap_CheckBox_Create, METH_VARARGS | METH_KEYWORDS },
26102 { (char *)"CheckBox_GetValue", (PyCFunction) _wrap_CheckBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26103 { (char *)"CheckBox_IsChecked", (PyCFunction) _wrap_CheckBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26104 { (char *)"CheckBox_SetValue", (PyCFunction) _wrap_CheckBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26105 { (char *)"CheckBox_Get3StateValue", (PyCFunction) _wrap_CheckBox_Get3StateValue, METH_VARARGS | METH_KEYWORDS },
26106 { (char *)"CheckBox_Set3StateValue", (PyCFunction) _wrap_CheckBox_Set3StateValue, METH_VARARGS | METH_KEYWORDS },
26107 { (char *)"CheckBox_Is3State", (PyCFunction) _wrap_CheckBox_Is3State, METH_VARARGS | METH_KEYWORDS },
26108 { (char *)"CheckBox_Is3rdStateAllowedForUser", (PyCFunction) _wrap_CheckBox_Is3rdStateAllowedForUser, METH_VARARGS | METH_KEYWORDS },
26109 { (char *)"CheckBox_swigregister", CheckBox_swigregister, METH_VARARGS },
26110 { (char *)"new_Choice", (PyCFunction) _wrap_new_Choice, METH_VARARGS | METH_KEYWORDS },
26111 { (char *)"new_PreChoice", (PyCFunction) _wrap_new_PreChoice, METH_VARARGS | METH_KEYWORDS },
26112 { (char *)"Choice_Create", (PyCFunction) _wrap_Choice_Create, METH_VARARGS | METH_KEYWORDS },
26113 { (char *)"Choice_GetColumns", (PyCFunction) _wrap_Choice_GetColumns, METH_VARARGS | METH_KEYWORDS },
26114 { (char *)"Choice_SetColumns", (PyCFunction) _wrap_Choice_SetColumns, METH_VARARGS | METH_KEYWORDS },
26115 { (char *)"Choice_SetSelection", (PyCFunction) _wrap_Choice_SetSelection, METH_VARARGS | METH_KEYWORDS },
26116 { (char *)"Choice_SetStringSelection", (PyCFunction) _wrap_Choice_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26117 { (char *)"Choice_SetString", (PyCFunction) _wrap_Choice_SetString, METH_VARARGS | METH_KEYWORDS },
26118 { (char *)"Choice_swigregister", Choice_swigregister, METH_VARARGS },
26119 { (char *)"new_ComboBox", (PyCFunction) _wrap_new_ComboBox, METH_VARARGS | METH_KEYWORDS },
26120 { (char *)"new_PreComboBox", (PyCFunction) _wrap_new_PreComboBox, METH_VARARGS | METH_KEYWORDS },
26121 { (char *)"ComboBox_Create", (PyCFunction) _wrap_ComboBox_Create, METH_VARARGS | METH_KEYWORDS },
26122 { (char *)"ComboBox_GetValue", (PyCFunction) _wrap_ComboBox_GetValue, METH_VARARGS | METH_KEYWORDS },
26123 { (char *)"ComboBox_SetValue", (PyCFunction) _wrap_ComboBox_SetValue, METH_VARARGS | METH_KEYWORDS },
26124 { (char *)"ComboBox_Copy", (PyCFunction) _wrap_ComboBox_Copy, METH_VARARGS | METH_KEYWORDS },
26125 { (char *)"ComboBox_Cut", (PyCFunction) _wrap_ComboBox_Cut, METH_VARARGS | METH_KEYWORDS },
26126 { (char *)"ComboBox_Paste", (PyCFunction) _wrap_ComboBox_Paste, METH_VARARGS | METH_KEYWORDS },
26127 { (char *)"ComboBox_SetInsertionPoint", (PyCFunction) _wrap_ComboBox_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26128 { (char *)"ComboBox_GetInsertionPoint", (PyCFunction) _wrap_ComboBox_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26129 { (char *)"ComboBox_GetLastPosition", (PyCFunction) _wrap_ComboBox_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26130 { (char *)"ComboBox_Replace", (PyCFunction) _wrap_ComboBox_Replace, METH_VARARGS | METH_KEYWORDS },
26131 { (char *)"ComboBox_SetSelection", (PyCFunction) _wrap_ComboBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26132 { (char *)"ComboBox_SetMark", (PyCFunction) _wrap_ComboBox_SetMark, METH_VARARGS | METH_KEYWORDS },
26133 { (char *)"ComboBox_SetEditable", (PyCFunction) _wrap_ComboBox_SetEditable, METH_VARARGS | METH_KEYWORDS },
26134 { (char *)"ComboBox_SetInsertionPointEnd", (PyCFunction) _wrap_ComboBox_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26135 { (char *)"ComboBox_Remove", (PyCFunction) _wrap_ComboBox_Remove, METH_VARARGS | METH_KEYWORDS },
26136 { (char *)"ComboBox_swigregister", ComboBox_swigregister, METH_VARARGS },
26137 { (char *)"new_Gauge", (PyCFunction) _wrap_new_Gauge, METH_VARARGS | METH_KEYWORDS },
26138 { (char *)"new_PreGauge", (PyCFunction) _wrap_new_PreGauge, METH_VARARGS | METH_KEYWORDS },
26139 { (char *)"Gauge_Create", (PyCFunction) _wrap_Gauge_Create, METH_VARARGS | METH_KEYWORDS },
26140 { (char *)"Gauge_SetRange", (PyCFunction) _wrap_Gauge_SetRange, METH_VARARGS | METH_KEYWORDS },
26141 { (char *)"Gauge_GetRange", (PyCFunction) _wrap_Gauge_GetRange, METH_VARARGS | METH_KEYWORDS },
26142 { (char *)"Gauge_SetValue", (PyCFunction) _wrap_Gauge_SetValue, METH_VARARGS | METH_KEYWORDS },
26143 { (char *)"Gauge_GetValue", (PyCFunction) _wrap_Gauge_GetValue, METH_VARARGS | METH_KEYWORDS },
26144 { (char *)"Gauge_IsVertical", (PyCFunction) _wrap_Gauge_IsVertical, METH_VARARGS | METH_KEYWORDS },
26145 { (char *)"Gauge_SetShadowWidth", (PyCFunction) _wrap_Gauge_SetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26146 { (char *)"Gauge_GetShadowWidth", (PyCFunction) _wrap_Gauge_GetShadowWidth, METH_VARARGS | METH_KEYWORDS },
26147 { (char *)"Gauge_SetBezelFace", (PyCFunction) _wrap_Gauge_SetBezelFace, METH_VARARGS | METH_KEYWORDS },
26148 { (char *)"Gauge_GetBezelFace", (PyCFunction) _wrap_Gauge_GetBezelFace, METH_VARARGS | METH_KEYWORDS },
26149 { (char *)"Gauge_swigregister", Gauge_swigregister, METH_VARARGS },
26150 { (char *)"new_StaticBox", (PyCFunction) _wrap_new_StaticBox, METH_VARARGS | METH_KEYWORDS },
26151 { (char *)"new_PreStaticBox", (PyCFunction) _wrap_new_PreStaticBox, METH_VARARGS | METH_KEYWORDS },
26152 { (char *)"StaticBox_Create", (PyCFunction) _wrap_StaticBox_Create, METH_VARARGS | METH_KEYWORDS },
26153 { (char *)"StaticBox_swigregister", StaticBox_swigregister, METH_VARARGS },
26154 { (char *)"new_StaticLine", (PyCFunction) _wrap_new_StaticLine, METH_VARARGS | METH_KEYWORDS },
26155 { (char *)"new_PreStaticLine", (PyCFunction) _wrap_new_PreStaticLine, METH_VARARGS | METH_KEYWORDS },
26156 { (char *)"StaticLine_Create", (PyCFunction) _wrap_StaticLine_Create, METH_VARARGS | METH_KEYWORDS },
26157 { (char *)"StaticLine_IsVertical", (PyCFunction) _wrap_StaticLine_IsVertical, METH_VARARGS | METH_KEYWORDS },
26158 { (char *)"StaticLine_GetDefaultSize", (PyCFunction) _wrap_StaticLine_GetDefaultSize, METH_VARARGS | METH_KEYWORDS },
26159 { (char *)"StaticLine_swigregister", StaticLine_swigregister, METH_VARARGS },
26160 { (char *)"new_StaticText", (PyCFunction) _wrap_new_StaticText, METH_VARARGS | METH_KEYWORDS },
26161 { (char *)"new_PreStaticText", (PyCFunction) _wrap_new_PreStaticText, METH_VARARGS | METH_KEYWORDS },
26162 { (char *)"StaticText_Create", (PyCFunction) _wrap_StaticText_Create, METH_VARARGS | METH_KEYWORDS },
26163 { (char *)"StaticText_swigregister", StaticText_swigregister, METH_VARARGS },
26164 { (char *)"new_StaticBitmap", (PyCFunction) _wrap_new_StaticBitmap, METH_VARARGS | METH_KEYWORDS },
26165 { (char *)"new_PreStaticBitmap", (PyCFunction) _wrap_new_PreStaticBitmap, METH_VARARGS | METH_KEYWORDS },
26166 { (char *)"StaticBitmap_Create", (PyCFunction) _wrap_StaticBitmap_Create, METH_VARARGS | METH_KEYWORDS },
26167 { (char *)"StaticBitmap_GetBitmap", (PyCFunction) _wrap_StaticBitmap_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26168 { (char *)"StaticBitmap_SetBitmap", (PyCFunction) _wrap_StaticBitmap_SetBitmap, METH_VARARGS | METH_KEYWORDS },
26169 { (char *)"StaticBitmap_SetIcon", (PyCFunction) _wrap_StaticBitmap_SetIcon, METH_VARARGS | METH_KEYWORDS },
26170 { (char *)"StaticBitmap_swigregister", StaticBitmap_swigregister, METH_VARARGS },
26171 { (char *)"new_ListBox", (PyCFunction) _wrap_new_ListBox, METH_VARARGS | METH_KEYWORDS },
26172 { (char *)"new_PreListBox", (PyCFunction) _wrap_new_PreListBox, METH_VARARGS | METH_KEYWORDS },
26173 { (char *)"ListBox_Create", (PyCFunction) _wrap_ListBox_Create, METH_VARARGS | METH_KEYWORDS },
26174 { (char *)"ListBox_Insert", (PyCFunction) _wrap_ListBox_Insert, METH_VARARGS | METH_KEYWORDS },
26175 { (char *)"ListBox_InsertItems", (PyCFunction) _wrap_ListBox_InsertItems, METH_VARARGS | METH_KEYWORDS },
26176 { (char *)"ListBox_Set", (PyCFunction) _wrap_ListBox_Set, METH_VARARGS | METH_KEYWORDS },
26177 { (char *)"ListBox_IsSelected", (PyCFunction) _wrap_ListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
26178 { (char *)"ListBox_SetSelection", (PyCFunction) _wrap_ListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26179 { (char *)"ListBox_Select", (PyCFunction) _wrap_ListBox_Select, METH_VARARGS | METH_KEYWORDS },
26180 { (char *)"ListBox_Deselect", (PyCFunction) _wrap_ListBox_Deselect, METH_VARARGS | METH_KEYWORDS },
26181 { (char *)"ListBox_DeselectAll", (PyCFunction) _wrap_ListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
26182 { (char *)"ListBox_SetStringSelection", (PyCFunction) _wrap_ListBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26183 { (char *)"ListBox_GetSelections", (PyCFunction) _wrap_ListBox_GetSelections, METH_VARARGS | METH_KEYWORDS },
26184 { (char *)"ListBox_SetFirstItem", (PyCFunction) _wrap_ListBox_SetFirstItem, METH_VARARGS | METH_KEYWORDS },
26185 { (char *)"ListBox_SetFirstItemStr", (PyCFunction) _wrap_ListBox_SetFirstItemStr, METH_VARARGS | METH_KEYWORDS },
26186 { (char *)"ListBox_EnsureVisible", (PyCFunction) _wrap_ListBox_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26187 { (char *)"ListBox_AppendAndEnsureVisible", (PyCFunction) _wrap_ListBox_AppendAndEnsureVisible, METH_VARARGS | METH_KEYWORDS },
26188 { (char *)"ListBox_IsSorted", (PyCFunction) _wrap_ListBox_IsSorted, METH_VARARGS | METH_KEYWORDS },
26189 { (char *)"ListBox_swigregister", ListBox_swigregister, METH_VARARGS },
26190 { (char *)"new_CheckListBox", (PyCFunction) _wrap_new_CheckListBox, METH_VARARGS | METH_KEYWORDS },
26191 { (char *)"new_PreCheckListBox", (PyCFunction) _wrap_new_PreCheckListBox, METH_VARARGS | METH_KEYWORDS },
26192 { (char *)"CheckListBox_Create", (PyCFunction) _wrap_CheckListBox_Create, METH_VARARGS | METH_KEYWORDS },
26193 { (char *)"CheckListBox_IsChecked", (PyCFunction) _wrap_CheckListBox_IsChecked, METH_VARARGS | METH_KEYWORDS },
26194 { (char *)"CheckListBox_Check", (PyCFunction) _wrap_CheckListBox_Check, METH_VARARGS | METH_KEYWORDS },
26195 { (char *)"CheckListBox_GetItemHeight", (PyCFunction) _wrap_CheckListBox_GetItemHeight, METH_VARARGS | METH_KEYWORDS },
26196 { (char *)"CheckListBox_HitTest", (PyCFunction) _wrap_CheckListBox_HitTest, METH_VARARGS | METH_KEYWORDS },
26197 { (char *)"CheckListBox_HitTestXY", (PyCFunction) _wrap_CheckListBox_HitTestXY, METH_VARARGS | METH_KEYWORDS },
26198 { (char *)"CheckListBox_swigregister", CheckListBox_swigregister, METH_VARARGS },
26199 { (char *)"new_TextAttr", _wrap_new_TextAttr, METH_VARARGS },
26200 { (char *)"TextAttr_Init", (PyCFunction) _wrap_TextAttr_Init, METH_VARARGS | METH_KEYWORDS },
26201 { (char *)"TextAttr_SetTextColour", (PyCFunction) _wrap_TextAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26202 { (char *)"TextAttr_SetBackgroundColour", (PyCFunction) _wrap_TextAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26203 { (char *)"TextAttr_SetFont", (PyCFunction) _wrap_TextAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26204 { (char *)"TextAttr_SetAlignment", (PyCFunction) _wrap_TextAttr_SetAlignment, METH_VARARGS | METH_KEYWORDS },
26205 { (char *)"TextAttr_SetTabs", (PyCFunction) _wrap_TextAttr_SetTabs, METH_VARARGS | METH_KEYWORDS },
26206 { (char *)"TextAttr_SetLeftIndent", (PyCFunction) _wrap_TextAttr_SetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26207 { (char *)"TextAttr_SetRightIndent", (PyCFunction) _wrap_TextAttr_SetRightIndent, METH_VARARGS | METH_KEYWORDS },
26208 { (char *)"TextAttr_SetFlags", (PyCFunction) _wrap_TextAttr_SetFlags, METH_VARARGS | METH_KEYWORDS },
26209 { (char *)"TextAttr_HasTextColour", (PyCFunction) _wrap_TextAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26210 { (char *)"TextAttr_HasBackgroundColour", (PyCFunction) _wrap_TextAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26211 { (char *)"TextAttr_HasFont", (PyCFunction) _wrap_TextAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26212 { (char *)"TextAttr_HasAlignment", (PyCFunction) _wrap_TextAttr_HasAlignment, METH_VARARGS | METH_KEYWORDS },
26213 { (char *)"TextAttr_HasTabs", (PyCFunction) _wrap_TextAttr_HasTabs, METH_VARARGS | METH_KEYWORDS },
26214 { (char *)"TextAttr_HasLeftIndent", (PyCFunction) _wrap_TextAttr_HasLeftIndent, METH_VARARGS | METH_KEYWORDS },
26215 { (char *)"TextAttr_HasRightIndent", (PyCFunction) _wrap_TextAttr_HasRightIndent, METH_VARARGS | METH_KEYWORDS },
26216 { (char *)"TextAttr_HasFlag", (PyCFunction) _wrap_TextAttr_HasFlag, METH_VARARGS | METH_KEYWORDS },
26217 { (char *)"TextAttr_GetTextColour", (PyCFunction) _wrap_TextAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26218 { (char *)"TextAttr_GetBackgroundColour", (PyCFunction) _wrap_TextAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26219 { (char *)"TextAttr_GetFont", (PyCFunction) _wrap_TextAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26220 { (char *)"TextAttr_GetAlignment", (PyCFunction) _wrap_TextAttr_GetAlignment, METH_VARARGS | METH_KEYWORDS },
26221 { (char *)"TextAttr_GetTabs", (PyCFunction) _wrap_TextAttr_GetTabs, METH_VARARGS | METH_KEYWORDS },
26222 { (char *)"TextAttr_GetLeftIndent", (PyCFunction) _wrap_TextAttr_GetLeftIndent, METH_VARARGS | METH_KEYWORDS },
26223 { (char *)"TextAttr_GetRightIndent", (PyCFunction) _wrap_TextAttr_GetRightIndent, METH_VARARGS | METH_KEYWORDS },
26224 { (char *)"TextAttr_GetFlags", (PyCFunction) _wrap_TextAttr_GetFlags, METH_VARARGS | METH_KEYWORDS },
26225 { (char *)"TextAttr_IsDefault", (PyCFunction) _wrap_TextAttr_IsDefault, METH_VARARGS | METH_KEYWORDS },
26226 { (char *)"TextAttr_Combine", (PyCFunction) _wrap_TextAttr_Combine, METH_VARARGS | METH_KEYWORDS },
26227 { (char *)"TextAttr_swigregister", TextAttr_swigregister, METH_VARARGS },
26228 { (char *)"new_TextCtrl", (PyCFunction) _wrap_new_TextCtrl, METH_VARARGS | METH_KEYWORDS },
26229 { (char *)"new_PreTextCtrl", (PyCFunction) _wrap_new_PreTextCtrl, METH_VARARGS | METH_KEYWORDS },
26230 { (char *)"TextCtrl_Create", (PyCFunction) _wrap_TextCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26231 { (char *)"TextCtrl_GetValue", (PyCFunction) _wrap_TextCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26232 { (char *)"TextCtrl_SetValue", (PyCFunction) _wrap_TextCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26233 { (char *)"TextCtrl_GetRange", (PyCFunction) _wrap_TextCtrl_GetRange, METH_VARARGS | METH_KEYWORDS },
26234 { (char *)"TextCtrl_GetLineLength", (PyCFunction) _wrap_TextCtrl_GetLineLength, METH_VARARGS | METH_KEYWORDS },
26235 { (char *)"TextCtrl_GetLineText", (PyCFunction) _wrap_TextCtrl_GetLineText, METH_VARARGS | METH_KEYWORDS },
26236 { (char *)"TextCtrl_GetNumberOfLines", (PyCFunction) _wrap_TextCtrl_GetNumberOfLines, METH_VARARGS | METH_KEYWORDS },
26237 { (char *)"TextCtrl_IsModified", (PyCFunction) _wrap_TextCtrl_IsModified, METH_VARARGS | METH_KEYWORDS },
26238 { (char *)"TextCtrl_IsEditable", (PyCFunction) _wrap_TextCtrl_IsEditable, METH_VARARGS | METH_KEYWORDS },
26239 { (char *)"TextCtrl_IsSingleLine", (PyCFunction) _wrap_TextCtrl_IsSingleLine, METH_VARARGS | METH_KEYWORDS },
26240 { (char *)"TextCtrl_IsMultiLine", (PyCFunction) _wrap_TextCtrl_IsMultiLine, METH_VARARGS | METH_KEYWORDS },
26241 { (char *)"TextCtrl_GetSelection", (PyCFunction) _wrap_TextCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26242 { (char *)"TextCtrl_GetStringSelection", (PyCFunction) _wrap_TextCtrl_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26243 { (char *)"TextCtrl_Clear", (PyCFunction) _wrap_TextCtrl_Clear, METH_VARARGS | METH_KEYWORDS },
26244 { (char *)"TextCtrl_Replace", (PyCFunction) _wrap_TextCtrl_Replace, METH_VARARGS | METH_KEYWORDS },
26245 { (char *)"TextCtrl_Remove", (PyCFunction) _wrap_TextCtrl_Remove, METH_VARARGS | METH_KEYWORDS },
26246 { (char *)"TextCtrl_LoadFile", (PyCFunction) _wrap_TextCtrl_LoadFile, METH_VARARGS | METH_KEYWORDS },
26247 { (char *)"TextCtrl_SaveFile", (PyCFunction) _wrap_TextCtrl_SaveFile, METH_VARARGS | METH_KEYWORDS },
26248 { (char *)"TextCtrl_MarkDirty", (PyCFunction) _wrap_TextCtrl_MarkDirty, METH_VARARGS | METH_KEYWORDS },
26249 { (char *)"TextCtrl_DiscardEdits", (PyCFunction) _wrap_TextCtrl_DiscardEdits, METH_VARARGS | METH_KEYWORDS },
26250 { (char *)"TextCtrl_SetMaxLength", (PyCFunction) _wrap_TextCtrl_SetMaxLength, METH_VARARGS | METH_KEYWORDS },
26251 { (char *)"TextCtrl_WriteText", (PyCFunction) _wrap_TextCtrl_WriteText, METH_VARARGS | METH_KEYWORDS },
26252 { (char *)"TextCtrl_AppendText", (PyCFunction) _wrap_TextCtrl_AppendText, METH_VARARGS | METH_KEYWORDS },
26253 { (char *)"TextCtrl_EmulateKeyPress", (PyCFunction) _wrap_TextCtrl_EmulateKeyPress, METH_VARARGS | METH_KEYWORDS },
26254 { (char *)"TextCtrl_SetStyle", (PyCFunction) _wrap_TextCtrl_SetStyle, METH_VARARGS | METH_KEYWORDS },
26255 { (char *)"TextCtrl_GetStyle", (PyCFunction) _wrap_TextCtrl_GetStyle, METH_VARARGS | METH_KEYWORDS },
26256 { (char *)"TextCtrl_SetDefaultStyle", (PyCFunction) _wrap_TextCtrl_SetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26257 { (char *)"TextCtrl_GetDefaultStyle", (PyCFunction) _wrap_TextCtrl_GetDefaultStyle, METH_VARARGS | METH_KEYWORDS },
26258 { (char *)"TextCtrl_XYToPosition", (PyCFunction) _wrap_TextCtrl_XYToPosition, METH_VARARGS | METH_KEYWORDS },
26259 { (char *)"TextCtrl_PositionToXY", (PyCFunction) _wrap_TextCtrl_PositionToXY, METH_VARARGS | METH_KEYWORDS },
26260 { (char *)"TextCtrl_ShowPosition", (PyCFunction) _wrap_TextCtrl_ShowPosition, METH_VARARGS | METH_KEYWORDS },
26261 { (char *)"TextCtrl_Copy", (PyCFunction) _wrap_TextCtrl_Copy, METH_VARARGS | METH_KEYWORDS },
26262 { (char *)"TextCtrl_Cut", (PyCFunction) _wrap_TextCtrl_Cut, METH_VARARGS | METH_KEYWORDS },
26263 { (char *)"TextCtrl_Paste", (PyCFunction) _wrap_TextCtrl_Paste, METH_VARARGS | METH_KEYWORDS },
26264 { (char *)"TextCtrl_CanCopy", (PyCFunction) _wrap_TextCtrl_CanCopy, METH_VARARGS | METH_KEYWORDS },
26265 { (char *)"TextCtrl_CanCut", (PyCFunction) _wrap_TextCtrl_CanCut, METH_VARARGS | METH_KEYWORDS },
26266 { (char *)"TextCtrl_CanPaste", (PyCFunction) _wrap_TextCtrl_CanPaste, METH_VARARGS | METH_KEYWORDS },
26267 { (char *)"TextCtrl_Undo", (PyCFunction) _wrap_TextCtrl_Undo, METH_VARARGS | METH_KEYWORDS },
26268 { (char *)"TextCtrl_Redo", (PyCFunction) _wrap_TextCtrl_Redo, METH_VARARGS | METH_KEYWORDS },
26269 { (char *)"TextCtrl_CanUndo", (PyCFunction) _wrap_TextCtrl_CanUndo, METH_VARARGS | METH_KEYWORDS },
26270 { (char *)"TextCtrl_CanRedo", (PyCFunction) _wrap_TextCtrl_CanRedo, METH_VARARGS | METH_KEYWORDS },
26271 { (char *)"TextCtrl_SetInsertionPoint", (PyCFunction) _wrap_TextCtrl_SetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26272 { (char *)"TextCtrl_SetInsertionPointEnd", (PyCFunction) _wrap_TextCtrl_SetInsertionPointEnd, METH_VARARGS | METH_KEYWORDS },
26273 { (char *)"TextCtrl_GetInsertionPoint", (PyCFunction) _wrap_TextCtrl_GetInsertionPoint, METH_VARARGS | METH_KEYWORDS },
26274 { (char *)"TextCtrl_GetLastPosition", (PyCFunction) _wrap_TextCtrl_GetLastPosition, METH_VARARGS | METH_KEYWORDS },
26275 { (char *)"TextCtrl_SetSelection", (PyCFunction) _wrap_TextCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26276 { (char *)"TextCtrl_SelectAll", (PyCFunction) _wrap_TextCtrl_SelectAll, METH_VARARGS | METH_KEYWORDS },
26277 { (char *)"TextCtrl_SetEditable", (PyCFunction) _wrap_TextCtrl_SetEditable, METH_VARARGS | METH_KEYWORDS },
26278 { (char *)"TextCtrl_ShowNativeCaret", (PyCFunction) _wrap_TextCtrl_ShowNativeCaret, METH_VARARGS | METH_KEYWORDS },
26279 { (char *)"TextCtrl_HideNativeCaret", (PyCFunction) _wrap_TextCtrl_HideNativeCaret, METH_VARARGS | METH_KEYWORDS },
26280 { (char *)"TextCtrl_write", (PyCFunction) _wrap_TextCtrl_write, METH_VARARGS | METH_KEYWORDS },
26281 { (char *)"TextCtrl_GetString", (PyCFunction) _wrap_TextCtrl_GetString, METH_VARARGS | METH_KEYWORDS },
26282 { (char *)"TextCtrl_swigregister", TextCtrl_swigregister, METH_VARARGS },
26283 { (char *)"new_TextUrlEvent", (PyCFunction) _wrap_new_TextUrlEvent, METH_VARARGS | METH_KEYWORDS },
26284 { (char *)"TextUrlEvent_GetMouseEvent", (PyCFunction) _wrap_TextUrlEvent_GetMouseEvent, METH_VARARGS | METH_KEYWORDS },
26285 { (char *)"TextUrlEvent_GetURLStart", (PyCFunction) _wrap_TextUrlEvent_GetURLStart, METH_VARARGS | METH_KEYWORDS },
26286 { (char *)"TextUrlEvent_GetURLEnd", (PyCFunction) _wrap_TextUrlEvent_GetURLEnd, METH_VARARGS | METH_KEYWORDS },
26287 { (char *)"TextUrlEvent_swigregister", TextUrlEvent_swigregister, METH_VARARGS },
26288 { (char *)"new_ScrollBar", (PyCFunction) _wrap_new_ScrollBar, METH_VARARGS | METH_KEYWORDS },
26289 { (char *)"new_PreScrollBar", (PyCFunction) _wrap_new_PreScrollBar, METH_VARARGS | METH_KEYWORDS },
26290 { (char *)"ScrollBar_Create", (PyCFunction) _wrap_ScrollBar_Create, METH_VARARGS | METH_KEYWORDS },
26291 { (char *)"ScrollBar_GetThumbPosition", (PyCFunction) _wrap_ScrollBar_GetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26292 { (char *)"ScrollBar_GetThumbSize", (PyCFunction) _wrap_ScrollBar_GetThumbSize, METH_VARARGS | METH_KEYWORDS },
26293 { (char *)"ScrollBar_GetPageSize", (PyCFunction) _wrap_ScrollBar_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26294 { (char *)"ScrollBar_GetRange", (PyCFunction) _wrap_ScrollBar_GetRange, METH_VARARGS | METH_KEYWORDS },
26295 { (char *)"ScrollBar_IsVertical", (PyCFunction) _wrap_ScrollBar_IsVertical, METH_VARARGS | METH_KEYWORDS },
26296 { (char *)"ScrollBar_SetThumbPosition", (PyCFunction) _wrap_ScrollBar_SetThumbPosition, METH_VARARGS | METH_KEYWORDS },
26297 { (char *)"ScrollBar_SetScrollbar", (PyCFunction) _wrap_ScrollBar_SetScrollbar, METH_VARARGS | METH_KEYWORDS },
26298 { (char *)"ScrollBar_swigregister", ScrollBar_swigregister, METH_VARARGS },
26299 { (char *)"new_SpinButton", (PyCFunction) _wrap_new_SpinButton, METH_VARARGS | METH_KEYWORDS },
26300 { (char *)"new_PreSpinButton", (PyCFunction) _wrap_new_PreSpinButton, METH_VARARGS | METH_KEYWORDS },
26301 { (char *)"SpinButton_Create", (PyCFunction) _wrap_SpinButton_Create, METH_VARARGS | METH_KEYWORDS },
26302 { (char *)"SpinButton_GetValue", (PyCFunction) _wrap_SpinButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26303 { (char *)"SpinButton_GetMin", (PyCFunction) _wrap_SpinButton_GetMin, METH_VARARGS | METH_KEYWORDS },
26304 { (char *)"SpinButton_GetMax", (PyCFunction) _wrap_SpinButton_GetMax, METH_VARARGS | METH_KEYWORDS },
26305 { (char *)"SpinButton_SetValue", (PyCFunction) _wrap_SpinButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26306 { (char *)"SpinButton_SetMin", (PyCFunction) _wrap_SpinButton_SetMin, METH_VARARGS | METH_KEYWORDS },
26307 { (char *)"SpinButton_SetMax", (PyCFunction) _wrap_SpinButton_SetMax, METH_VARARGS | METH_KEYWORDS },
26308 { (char *)"SpinButton_SetRange", (PyCFunction) _wrap_SpinButton_SetRange, METH_VARARGS | METH_KEYWORDS },
26309 { (char *)"SpinButton_IsVertical", (PyCFunction) _wrap_SpinButton_IsVertical, METH_VARARGS | METH_KEYWORDS },
26310 { (char *)"SpinButton_swigregister", SpinButton_swigregister, METH_VARARGS },
26311 { (char *)"new_SpinCtrl", (PyCFunction) _wrap_new_SpinCtrl, METH_VARARGS | METH_KEYWORDS },
26312 { (char *)"new_PreSpinCtrl", (PyCFunction) _wrap_new_PreSpinCtrl, METH_VARARGS | METH_KEYWORDS },
26313 { (char *)"SpinCtrl_Create", (PyCFunction) _wrap_SpinCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26314 { (char *)"SpinCtrl_GetValue", (PyCFunction) _wrap_SpinCtrl_GetValue, METH_VARARGS | METH_KEYWORDS },
26315 { (char *)"SpinCtrl_SetValue", (PyCFunction) _wrap_SpinCtrl_SetValue, METH_VARARGS | METH_KEYWORDS },
26316 { (char *)"SpinCtrl_SetValueString", (PyCFunction) _wrap_SpinCtrl_SetValueString, METH_VARARGS | METH_KEYWORDS },
26317 { (char *)"SpinCtrl_SetRange", (PyCFunction) _wrap_SpinCtrl_SetRange, METH_VARARGS | METH_KEYWORDS },
26318 { (char *)"SpinCtrl_GetMin", (PyCFunction) _wrap_SpinCtrl_GetMin, METH_VARARGS | METH_KEYWORDS },
26319 { (char *)"SpinCtrl_GetMax", (PyCFunction) _wrap_SpinCtrl_GetMax, METH_VARARGS | METH_KEYWORDS },
26320 { (char *)"SpinCtrl_SetSelection", (PyCFunction) _wrap_SpinCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26321 { (char *)"SpinCtrl_swigregister", SpinCtrl_swigregister, METH_VARARGS },
26322 { (char *)"new_RadioBox", (PyCFunction) _wrap_new_RadioBox, METH_VARARGS | METH_KEYWORDS },
26323 { (char *)"new_PreRadioBox", (PyCFunction) _wrap_new_PreRadioBox, METH_VARARGS | METH_KEYWORDS },
26324 { (char *)"RadioBox_Create", (PyCFunction) _wrap_RadioBox_Create, METH_VARARGS | METH_KEYWORDS },
26325 { (char *)"RadioBox_SetSelection", (PyCFunction) _wrap_RadioBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
26326 { (char *)"RadioBox_GetSelection", (PyCFunction) _wrap_RadioBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
26327 { (char *)"RadioBox_GetStringSelection", (PyCFunction) _wrap_RadioBox_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
26328 { (char *)"RadioBox_SetStringSelection", (PyCFunction) _wrap_RadioBox_SetStringSelection, METH_VARARGS | METH_KEYWORDS },
26329 { (char *)"RadioBox_GetCount", (PyCFunction) _wrap_RadioBox_GetCount, METH_VARARGS | METH_KEYWORDS },
26330 { (char *)"RadioBox_FindString", (PyCFunction) _wrap_RadioBox_FindString, METH_VARARGS | METH_KEYWORDS },
26331 { (char *)"RadioBox_GetString", (PyCFunction) _wrap_RadioBox_GetString, METH_VARARGS | METH_KEYWORDS },
26332 { (char *)"RadioBox_SetString", (PyCFunction) _wrap_RadioBox_SetString, METH_VARARGS | METH_KEYWORDS },
26333 { (char *)"RadioBox_EnableItem", (PyCFunction) _wrap_RadioBox_EnableItem, METH_VARARGS | METH_KEYWORDS },
26334 { (char *)"RadioBox_ShowItem", (PyCFunction) _wrap_RadioBox_ShowItem, METH_VARARGS | METH_KEYWORDS },
26335 { (char *)"RadioBox_GetColumnCount", (PyCFunction) _wrap_RadioBox_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26336 { (char *)"RadioBox_GetRowCount", (PyCFunction) _wrap_RadioBox_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26337 { (char *)"RadioBox_GetNextItem", (PyCFunction) _wrap_RadioBox_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26338 { (char *)"RadioBox_swigregister", RadioBox_swigregister, METH_VARARGS },
26339 { (char *)"new_RadioButton", (PyCFunction) _wrap_new_RadioButton, METH_VARARGS | METH_KEYWORDS },
26340 { (char *)"new_PreRadioButton", (PyCFunction) _wrap_new_PreRadioButton, METH_VARARGS | METH_KEYWORDS },
26341 { (char *)"RadioButton_Create", (PyCFunction) _wrap_RadioButton_Create, METH_VARARGS | METH_KEYWORDS },
26342 { (char *)"RadioButton_GetValue", (PyCFunction) _wrap_RadioButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26343 { (char *)"RadioButton_SetValue", (PyCFunction) _wrap_RadioButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26344 { (char *)"RadioButton_swigregister", RadioButton_swigregister, METH_VARARGS },
26345 { (char *)"new_Slider", (PyCFunction) _wrap_new_Slider, METH_VARARGS | METH_KEYWORDS },
26346 { (char *)"new_PreSlider", (PyCFunction) _wrap_new_PreSlider, METH_VARARGS | METH_KEYWORDS },
26347 { (char *)"Slider_Create", (PyCFunction) _wrap_Slider_Create, METH_VARARGS | METH_KEYWORDS },
26348 { (char *)"Slider_GetValue", (PyCFunction) _wrap_Slider_GetValue, METH_VARARGS | METH_KEYWORDS },
26349 { (char *)"Slider_SetValue", (PyCFunction) _wrap_Slider_SetValue, METH_VARARGS | METH_KEYWORDS },
26350 { (char *)"Slider_SetRange", (PyCFunction) _wrap_Slider_SetRange, METH_VARARGS | METH_KEYWORDS },
26351 { (char *)"Slider_GetMin", (PyCFunction) _wrap_Slider_GetMin, METH_VARARGS | METH_KEYWORDS },
26352 { (char *)"Slider_GetMax", (PyCFunction) _wrap_Slider_GetMax, METH_VARARGS | METH_KEYWORDS },
26353 { (char *)"Slider_SetMin", (PyCFunction) _wrap_Slider_SetMin, METH_VARARGS | METH_KEYWORDS },
26354 { (char *)"Slider_SetMax", (PyCFunction) _wrap_Slider_SetMax, METH_VARARGS | METH_KEYWORDS },
26355 { (char *)"Slider_SetLineSize", (PyCFunction) _wrap_Slider_SetLineSize, METH_VARARGS | METH_KEYWORDS },
26356 { (char *)"Slider_SetPageSize", (PyCFunction) _wrap_Slider_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26357 { (char *)"Slider_GetLineSize", (PyCFunction) _wrap_Slider_GetLineSize, METH_VARARGS | METH_KEYWORDS },
26358 { (char *)"Slider_GetPageSize", (PyCFunction) _wrap_Slider_GetPageSize, METH_VARARGS | METH_KEYWORDS },
26359 { (char *)"Slider_SetThumbLength", (PyCFunction) _wrap_Slider_SetThumbLength, METH_VARARGS | METH_KEYWORDS },
26360 { (char *)"Slider_GetThumbLength", (PyCFunction) _wrap_Slider_GetThumbLength, METH_VARARGS | METH_KEYWORDS },
26361 { (char *)"Slider_SetTickFreq", (PyCFunction) _wrap_Slider_SetTickFreq, METH_VARARGS | METH_KEYWORDS },
26362 { (char *)"Slider_GetTickFreq", (PyCFunction) _wrap_Slider_GetTickFreq, METH_VARARGS | METH_KEYWORDS },
26363 { (char *)"Slider_ClearTicks", (PyCFunction) _wrap_Slider_ClearTicks, METH_VARARGS | METH_KEYWORDS },
26364 { (char *)"Slider_SetTick", (PyCFunction) _wrap_Slider_SetTick, METH_VARARGS | METH_KEYWORDS },
26365 { (char *)"Slider_ClearSel", (PyCFunction) _wrap_Slider_ClearSel, METH_VARARGS | METH_KEYWORDS },
26366 { (char *)"Slider_GetSelEnd", (PyCFunction) _wrap_Slider_GetSelEnd, METH_VARARGS | METH_KEYWORDS },
26367 { (char *)"Slider_GetSelStart", (PyCFunction) _wrap_Slider_GetSelStart, METH_VARARGS | METH_KEYWORDS },
26368 { (char *)"Slider_SetSelection", (PyCFunction) _wrap_Slider_SetSelection, METH_VARARGS | METH_KEYWORDS },
26369 { (char *)"Slider_swigregister", Slider_swigregister, METH_VARARGS },
26370 { (char *)"new_ToggleButton", (PyCFunction) _wrap_new_ToggleButton, METH_VARARGS | METH_KEYWORDS },
26371 { (char *)"new_PreToggleButton", (PyCFunction) _wrap_new_PreToggleButton, METH_VARARGS | METH_KEYWORDS },
26372 { (char *)"ToggleButton_Create", (PyCFunction) _wrap_ToggleButton_Create, METH_VARARGS | METH_KEYWORDS },
26373 { (char *)"ToggleButton_SetValue", (PyCFunction) _wrap_ToggleButton_SetValue, METH_VARARGS | METH_KEYWORDS },
26374 { (char *)"ToggleButton_GetValue", (PyCFunction) _wrap_ToggleButton_GetValue, METH_VARARGS | METH_KEYWORDS },
26375 { (char *)"ToggleButton_SetLabel", (PyCFunction) _wrap_ToggleButton_SetLabel, METH_VARARGS | METH_KEYWORDS },
26376 { (char *)"ToggleButton_swigregister", ToggleButton_swigregister, METH_VARARGS },
26377 { (char *)"BookCtrl_GetPageCount", (PyCFunction) _wrap_BookCtrl_GetPageCount, METH_VARARGS | METH_KEYWORDS },
26378 { (char *)"BookCtrl_GetPage", (PyCFunction) _wrap_BookCtrl_GetPage, METH_VARARGS | METH_KEYWORDS },
26379 { (char *)"BookCtrl_GetSelection", (PyCFunction) _wrap_BookCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26380 { (char *)"BookCtrl_SetPageText", (PyCFunction) _wrap_BookCtrl_SetPageText, METH_VARARGS | METH_KEYWORDS },
26381 { (char *)"BookCtrl_GetPageText", (PyCFunction) _wrap_BookCtrl_GetPageText, METH_VARARGS | METH_KEYWORDS },
26382 { (char *)"BookCtrl_SetImageList", (PyCFunction) _wrap_BookCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26383 { (char *)"BookCtrl_AssignImageList", (PyCFunction) _wrap_BookCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26384 { (char *)"BookCtrl_GetImageList", (PyCFunction) _wrap_BookCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26385 { (char *)"BookCtrl_GetPageImage", (PyCFunction) _wrap_BookCtrl_GetPageImage, METH_VARARGS | METH_KEYWORDS },
26386 { (char *)"BookCtrl_SetPageImage", (PyCFunction) _wrap_BookCtrl_SetPageImage, METH_VARARGS | METH_KEYWORDS },
26387 { (char *)"BookCtrl_SetPageSize", (PyCFunction) _wrap_BookCtrl_SetPageSize, METH_VARARGS | METH_KEYWORDS },
26388 { (char *)"BookCtrl_CalcSizeFromPage", (PyCFunction) _wrap_BookCtrl_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26389 { (char *)"BookCtrl_DeletePage", (PyCFunction) _wrap_BookCtrl_DeletePage, METH_VARARGS | METH_KEYWORDS },
26390 { (char *)"BookCtrl_RemovePage", (PyCFunction) _wrap_BookCtrl_RemovePage, METH_VARARGS | METH_KEYWORDS },
26391 { (char *)"BookCtrl_DeleteAllPages", (PyCFunction) _wrap_BookCtrl_DeleteAllPages, METH_VARARGS | METH_KEYWORDS },
26392 { (char *)"BookCtrl_AddPage", (PyCFunction) _wrap_BookCtrl_AddPage, METH_VARARGS | METH_KEYWORDS },
26393 { (char *)"BookCtrl_InsertPage", (PyCFunction) _wrap_BookCtrl_InsertPage, METH_VARARGS | METH_KEYWORDS },
26394 { (char *)"BookCtrl_SetSelection", (PyCFunction) _wrap_BookCtrl_SetSelection, METH_VARARGS | METH_KEYWORDS },
26395 { (char *)"BookCtrl_AdvanceSelection", (PyCFunction) _wrap_BookCtrl_AdvanceSelection, METH_VARARGS | METH_KEYWORDS },
26396 { (char *)"BookCtrl_swigregister", BookCtrl_swigregister, METH_VARARGS },
26397 { (char *)"new_BookCtrlEvent", (PyCFunction) _wrap_new_BookCtrlEvent, METH_VARARGS | METH_KEYWORDS },
26398 { (char *)"BookCtrlEvent_GetSelection", (PyCFunction) _wrap_BookCtrlEvent_GetSelection, METH_VARARGS | METH_KEYWORDS },
26399 { (char *)"BookCtrlEvent_SetSelection", (PyCFunction) _wrap_BookCtrlEvent_SetSelection, METH_VARARGS | METH_KEYWORDS },
26400 { (char *)"BookCtrlEvent_GetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_GetOldSelection, METH_VARARGS | METH_KEYWORDS },
26401 { (char *)"BookCtrlEvent_SetOldSelection", (PyCFunction) _wrap_BookCtrlEvent_SetOldSelection, METH_VARARGS | METH_KEYWORDS },
26402 { (char *)"BookCtrlEvent_swigregister", BookCtrlEvent_swigregister, METH_VARARGS },
26403 { (char *)"new_Notebook", (PyCFunction) _wrap_new_Notebook, METH_VARARGS | METH_KEYWORDS },
26404 { (char *)"new_PreNotebook", (PyCFunction) _wrap_new_PreNotebook, METH_VARARGS | METH_KEYWORDS },
26405 { (char *)"Notebook_Create", (PyCFunction) _wrap_Notebook_Create, METH_VARARGS | METH_KEYWORDS },
26406 { (char *)"Notebook_GetRowCount", (PyCFunction) _wrap_Notebook_GetRowCount, METH_VARARGS | METH_KEYWORDS },
26407 { (char *)"Notebook_SetPadding", (PyCFunction) _wrap_Notebook_SetPadding, METH_VARARGS | METH_KEYWORDS },
26408 { (char *)"Notebook_SetTabSize", (PyCFunction) _wrap_Notebook_SetTabSize, METH_VARARGS | METH_KEYWORDS },
26409 { (char *)"Notebook_HitTest", (PyCFunction) _wrap_Notebook_HitTest, METH_VARARGS | METH_KEYWORDS },
26410 { (char *)"Notebook_CalcSizeFromPage", (PyCFunction) _wrap_Notebook_CalcSizeFromPage, METH_VARARGS | METH_KEYWORDS },
26411 { (char *)"Notebook_ApplyThemeBackground", (PyCFunction) _wrap_Notebook_ApplyThemeBackground, METH_VARARGS | METH_KEYWORDS },
26412 { (char *)"Notebook_swigregister", Notebook_swigregister, METH_VARARGS },
26413 { (char *)"new_NotebookEvent", (PyCFunction) _wrap_new_NotebookEvent, METH_VARARGS | METH_KEYWORDS },
26414 { (char *)"NotebookEvent_swigregister", NotebookEvent_swigregister, METH_VARARGS },
26415 { (char *)"new_Listbook", (PyCFunction) _wrap_new_Listbook, METH_VARARGS | METH_KEYWORDS },
26416 { (char *)"new_PreListbook", (PyCFunction) _wrap_new_PreListbook, METH_VARARGS | METH_KEYWORDS },
26417 { (char *)"Listbook_Create", (PyCFunction) _wrap_Listbook_Create, METH_VARARGS | METH_KEYWORDS },
26418 { (char *)"Listbook_IsVertical", (PyCFunction) _wrap_Listbook_IsVertical, METH_VARARGS | METH_KEYWORDS },
26419 { (char *)"Listbook_swigregister", Listbook_swigregister, METH_VARARGS },
26420 { (char *)"new_ListbookEvent", (PyCFunction) _wrap_new_ListbookEvent, METH_VARARGS | METH_KEYWORDS },
26421 { (char *)"ListbookEvent_swigregister", ListbookEvent_swigregister, METH_VARARGS },
26422 { (char *)"new_BookCtrlSizer", (PyCFunction) _wrap_new_BookCtrlSizer, METH_VARARGS | METH_KEYWORDS },
26423 { (char *)"BookCtrlSizer_RecalcSizes", (PyCFunction) _wrap_BookCtrlSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26424 { (char *)"BookCtrlSizer_CalcMin", (PyCFunction) _wrap_BookCtrlSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26425 { (char *)"BookCtrlSizer_GetControl", (PyCFunction) _wrap_BookCtrlSizer_GetControl, METH_VARARGS | METH_KEYWORDS },
26426 { (char *)"BookCtrlSizer_swigregister", BookCtrlSizer_swigregister, METH_VARARGS },
26427 { (char *)"new_NotebookSizer", (PyCFunction) _wrap_new_NotebookSizer, METH_VARARGS | METH_KEYWORDS },
26428 { (char *)"NotebookSizer_RecalcSizes", (PyCFunction) _wrap_NotebookSizer_RecalcSizes, METH_VARARGS | METH_KEYWORDS },
26429 { (char *)"NotebookSizer_CalcMin", (PyCFunction) _wrap_NotebookSizer_CalcMin, METH_VARARGS | METH_KEYWORDS },
26430 { (char *)"NotebookSizer_GetNotebook", (PyCFunction) _wrap_NotebookSizer_GetNotebook, METH_VARARGS | METH_KEYWORDS },
26431 { (char *)"NotebookSizer_swigregister", NotebookSizer_swigregister, METH_VARARGS },
26432 { (char *)"ToolBarToolBase_GetId", (PyCFunction) _wrap_ToolBarToolBase_GetId, METH_VARARGS | METH_KEYWORDS },
26433 { (char *)"ToolBarToolBase_GetControl", (PyCFunction) _wrap_ToolBarToolBase_GetControl, METH_VARARGS | METH_KEYWORDS },
26434 { (char *)"ToolBarToolBase_GetToolBar", (PyCFunction) _wrap_ToolBarToolBase_GetToolBar, METH_VARARGS | METH_KEYWORDS },
26435 { (char *)"ToolBarToolBase_IsButton", (PyCFunction) _wrap_ToolBarToolBase_IsButton, METH_VARARGS | METH_KEYWORDS },
26436 { (char *)"ToolBarToolBase_IsControl", (PyCFunction) _wrap_ToolBarToolBase_IsControl, METH_VARARGS | METH_KEYWORDS },
26437 { (char *)"ToolBarToolBase_IsSeparator", (PyCFunction) _wrap_ToolBarToolBase_IsSeparator, METH_VARARGS | METH_KEYWORDS },
26438 { (char *)"ToolBarToolBase_GetStyle", (PyCFunction) _wrap_ToolBarToolBase_GetStyle, METH_VARARGS | METH_KEYWORDS },
26439 { (char *)"ToolBarToolBase_GetKind", (PyCFunction) _wrap_ToolBarToolBase_GetKind, METH_VARARGS | METH_KEYWORDS },
26440 { (char *)"ToolBarToolBase_IsEnabled", (PyCFunction) _wrap_ToolBarToolBase_IsEnabled, METH_VARARGS | METH_KEYWORDS },
26441 { (char *)"ToolBarToolBase_IsToggled", (PyCFunction) _wrap_ToolBarToolBase_IsToggled, METH_VARARGS | METH_KEYWORDS },
26442 { (char *)"ToolBarToolBase_CanBeToggled", (PyCFunction) _wrap_ToolBarToolBase_CanBeToggled, METH_VARARGS | METH_KEYWORDS },
26443 { (char *)"ToolBarToolBase_GetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26444 { (char *)"ToolBarToolBase_GetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26445 { (char *)"ToolBarToolBase_GetBitmap", (PyCFunction) _wrap_ToolBarToolBase_GetBitmap, METH_VARARGS | METH_KEYWORDS },
26446 { (char *)"ToolBarToolBase_GetLabel", (PyCFunction) _wrap_ToolBarToolBase_GetLabel, METH_VARARGS | METH_KEYWORDS },
26447 { (char *)"ToolBarToolBase_GetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_GetShortHelp, METH_VARARGS | METH_KEYWORDS },
26448 { (char *)"ToolBarToolBase_GetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_GetLongHelp, METH_VARARGS | METH_KEYWORDS },
26449 { (char *)"ToolBarToolBase_Enable", (PyCFunction) _wrap_ToolBarToolBase_Enable, METH_VARARGS | METH_KEYWORDS },
26450 { (char *)"ToolBarToolBase_Toggle", (PyCFunction) _wrap_ToolBarToolBase_Toggle, METH_VARARGS | METH_KEYWORDS },
26451 { (char *)"ToolBarToolBase_SetToggle", (PyCFunction) _wrap_ToolBarToolBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26452 { (char *)"ToolBarToolBase_SetShortHelp", (PyCFunction) _wrap_ToolBarToolBase_SetShortHelp, METH_VARARGS | METH_KEYWORDS },
26453 { (char *)"ToolBarToolBase_SetLongHelp", (PyCFunction) _wrap_ToolBarToolBase_SetLongHelp, METH_VARARGS | METH_KEYWORDS },
26454 { (char *)"ToolBarToolBase_SetNormalBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetNormalBitmap, METH_VARARGS | METH_KEYWORDS },
26455 { (char *)"ToolBarToolBase_SetDisabledBitmap", (PyCFunction) _wrap_ToolBarToolBase_SetDisabledBitmap, METH_VARARGS | METH_KEYWORDS },
26456 { (char *)"ToolBarToolBase_SetLabel", (PyCFunction) _wrap_ToolBarToolBase_SetLabel, METH_VARARGS | METH_KEYWORDS },
26457 { (char *)"ToolBarToolBase_Detach", (PyCFunction) _wrap_ToolBarToolBase_Detach, METH_VARARGS | METH_KEYWORDS },
26458 { (char *)"ToolBarToolBase_Attach", (PyCFunction) _wrap_ToolBarToolBase_Attach, METH_VARARGS | METH_KEYWORDS },
26459 { (char *)"ToolBarToolBase_GetClientData", (PyCFunction) _wrap_ToolBarToolBase_GetClientData, METH_VARARGS | METH_KEYWORDS },
26460 { (char *)"ToolBarToolBase_SetClientData", (PyCFunction) _wrap_ToolBarToolBase_SetClientData, METH_VARARGS | METH_KEYWORDS },
26461 { (char *)"ToolBarToolBase_swigregister", ToolBarToolBase_swigregister, METH_VARARGS },
26462 { (char *)"ToolBarBase_DoAddTool", (PyCFunction) _wrap_ToolBarBase_DoAddTool, METH_VARARGS | METH_KEYWORDS },
26463 { (char *)"ToolBarBase_DoInsertTool", (PyCFunction) _wrap_ToolBarBase_DoInsertTool, METH_VARARGS | METH_KEYWORDS },
26464 { (char *)"ToolBarBase_AddControl", (PyCFunction) _wrap_ToolBarBase_AddControl, METH_VARARGS | METH_KEYWORDS },
26465 { (char *)"ToolBarBase_InsertControl", (PyCFunction) _wrap_ToolBarBase_InsertControl, METH_VARARGS | METH_KEYWORDS },
26466 { (char *)"ToolBarBase_FindControl", (PyCFunction) _wrap_ToolBarBase_FindControl, METH_VARARGS | METH_KEYWORDS },
26467 { (char *)"ToolBarBase_AddSeparator", (PyCFunction) _wrap_ToolBarBase_AddSeparator, METH_VARARGS | METH_KEYWORDS },
26468 { (char *)"ToolBarBase_InsertSeparator", (PyCFunction) _wrap_ToolBarBase_InsertSeparator, METH_VARARGS | METH_KEYWORDS },
26469 { (char *)"ToolBarBase_RemoveTool", (PyCFunction) _wrap_ToolBarBase_RemoveTool, METH_VARARGS | METH_KEYWORDS },
26470 { (char *)"ToolBarBase_DeleteToolByPos", (PyCFunction) _wrap_ToolBarBase_DeleteToolByPos, METH_VARARGS | METH_KEYWORDS },
26471 { (char *)"ToolBarBase_DeleteTool", (PyCFunction) _wrap_ToolBarBase_DeleteTool, METH_VARARGS | METH_KEYWORDS },
26472 { (char *)"ToolBarBase_ClearTools", (PyCFunction) _wrap_ToolBarBase_ClearTools, METH_VARARGS | METH_KEYWORDS },
26473 { (char *)"ToolBarBase_Realize", (PyCFunction) _wrap_ToolBarBase_Realize, METH_VARARGS | METH_KEYWORDS },
26474 { (char *)"ToolBarBase_EnableTool", (PyCFunction) _wrap_ToolBarBase_EnableTool, METH_VARARGS | METH_KEYWORDS },
26475 { (char *)"ToolBarBase_ToggleTool", (PyCFunction) _wrap_ToolBarBase_ToggleTool, METH_VARARGS | METH_KEYWORDS },
26476 { (char *)"ToolBarBase_SetToggle", (PyCFunction) _wrap_ToolBarBase_SetToggle, METH_VARARGS | METH_KEYWORDS },
26477 { (char *)"ToolBarBase_GetToolClientData", (PyCFunction) _wrap_ToolBarBase_GetToolClientData, METH_VARARGS | METH_KEYWORDS },
26478 { (char *)"ToolBarBase_SetToolClientData", (PyCFunction) _wrap_ToolBarBase_SetToolClientData, METH_VARARGS | METH_KEYWORDS },
26479 { (char *)"ToolBarBase_GetToolPos", (PyCFunction) _wrap_ToolBarBase_GetToolPos, METH_VARARGS | METH_KEYWORDS },
26480 { (char *)"ToolBarBase_GetToolState", (PyCFunction) _wrap_ToolBarBase_GetToolState, METH_VARARGS | METH_KEYWORDS },
26481 { (char *)"ToolBarBase_GetToolEnabled", (PyCFunction) _wrap_ToolBarBase_GetToolEnabled, METH_VARARGS | METH_KEYWORDS },
26482 { (char *)"ToolBarBase_SetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_SetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26483 { (char *)"ToolBarBase_GetToolShortHelp", (PyCFunction) _wrap_ToolBarBase_GetToolShortHelp, METH_VARARGS | METH_KEYWORDS },
26484 { (char *)"ToolBarBase_SetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_SetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26485 { (char *)"ToolBarBase_GetToolLongHelp", (PyCFunction) _wrap_ToolBarBase_GetToolLongHelp, METH_VARARGS | METH_KEYWORDS },
26486 { (char *)"ToolBarBase_SetMarginsXY", (PyCFunction) _wrap_ToolBarBase_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
26487 { (char *)"ToolBarBase_SetMargins", (PyCFunction) _wrap_ToolBarBase_SetMargins, METH_VARARGS | METH_KEYWORDS },
26488 { (char *)"ToolBarBase_SetToolPacking", (PyCFunction) _wrap_ToolBarBase_SetToolPacking, METH_VARARGS | METH_KEYWORDS },
26489 { (char *)"ToolBarBase_SetToolSeparation", (PyCFunction) _wrap_ToolBarBase_SetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26490 { (char *)"ToolBarBase_GetToolMargins", (PyCFunction) _wrap_ToolBarBase_GetToolMargins, METH_VARARGS | METH_KEYWORDS },
26491 { (char *)"ToolBarBase_GetMargins", (PyCFunction) _wrap_ToolBarBase_GetMargins, METH_VARARGS | METH_KEYWORDS },
26492 { (char *)"ToolBarBase_GetToolPacking", (PyCFunction) _wrap_ToolBarBase_GetToolPacking, METH_VARARGS | METH_KEYWORDS },
26493 { (char *)"ToolBarBase_GetToolSeparation", (PyCFunction) _wrap_ToolBarBase_GetToolSeparation, METH_VARARGS | METH_KEYWORDS },
26494 { (char *)"ToolBarBase_SetRows", (PyCFunction) _wrap_ToolBarBase_SetRows, METH_VARARGS | METH_KEYWORDS },
26495 { (char *)"ToolBarBase_SetMaxRowsCols", (PyCFunction) _wrap_ToolBarBase_SetMaxRowsCols, METH_VARARGS | METH_KEYWORDS },
26496 { (char *)"ToolBarBase_GetMaxRows", (PyCFunction) _wrap_ToolBarBase_GetMaxRows, METH_VARARGS | METH_KEYWORDS },
26497 { (char *)"ToolBarBase_GetMaxCols", (PyCFunction) _wrap_ToolBarBase_GetMaxCols, METH_VARARGS | METH_KEYWORDS },
26498 { (char *)"ToolBarBase_SetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_SetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26499 { (char *)"ToolBarBase_GetToolBitmapSize", (PyCFunction) _wrap_ToolBarBase_GetToolBitmapSize, METH_VARARGS | METH_KEYWORDS },
26500 { (char *)"ToolBarBase_GetToolSize", (PyCFunction) _wrap_ToolBarBase_GetToolSize, METH_VARARGS | METH_KEYWORDS },
26501 { (char *)"ToolBarBase_FindToolForPosition", (PyCFunction) _wrap_ToolBarBase_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26502 { (char *)"ToolBarBase_IsVertical", (PyCFunction) _wrap_ToolBarBase_IsVertical, METH_VARARGS | METH_KEYWORDS },
26503 { (char *)"ToolBarBase_swigregister", ToolBarBase_swigregister, METH_VARARGS },
26504 { (char *)"new_ToolBar", (PyCFunction) _wrap_new_ToolBar, METH_VARARGS | METH_KEYWORDS },
26505 { (char *)"new_PreToolBar", (PyCFunction) _wrap_new_PreToolBar, METH_VARARGS | METH_KEYWORDS },
26506 { (char *)"ToolBar_Create", (PyCFunction) _wrap_ToolBar_Create, METH_VARARGS | METH_KEYWORDS },
26507 { (char *)"ToolBar_FindToolForPosition", (PyCFunction) _wrap_ToolBar_FindToolForPosition, METH_VARARGS | METH_KEYWORDS },
26508 { (char *)"ToolBar_swigregister", ToolBar_swigregister, METH_VARARGS },
26509 { (char *)"new_ListItemAttr", (PyCFunction) _wrap_new_ListItemAttr, METH_VARARGS | METH_KEYWORDS },
26510 { (char *)"ListItemAttr_SetTextColour", (PyCFunction) _wrap_ListItemAttr_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26511 { (char *)"ListItemAttr_SetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26512 { (char *)"ListItemAttr_SetFont", (PyCFunction) _wrap_ListItemAttr_SetFont, METH_VARARGS | METH_KEYWORDS },
26513 { (char *)"ListItemAttr_HasTextColour", (PyCFunction) _wrap_ListItemAttr_HasTextColour, METH_VARARGS | METH_KEYWORDS },
26514 { (char *)"ListItemAttr_HasBackgroundColour", (PyCFunction) _wrap_ListItemAttr_HasBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26515 { (char *)"ListItemAttr_HasFont", (PyCFunction) _wrap_ListItemAttr_HasFont, METH_VARARGS | METH_KEYWORDS },
26516 { (char *)"ListItemAttr_GetTextColour", (PyCFunction) _wrap_ListItemAttr_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26517 { (char *)"ListItemAttr_GetBackgroundColour", (PyCFunction) _wrap_ListItemAttr_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26518 { (char *)"ListItemAttr_GetFont", (PyCFunction) _wrap_ListItemAttr_GetFont, METH_VARARGS | METH_KEYWORDS },
26519 { (char *)"ListItemAttr_Destroy", (PyCFunction) _wrap_ListItemAttr_Destroy, METH_VARARGS | METH_KEYWORDS },
26520 { (char *)"ListItemAttr_swigregister", ListItemAttr_swigregister, METH_VARARGS },
26521 { (char *)"new_ListItem", (PyCFunction) _wrap_new_ListItem, METH_VARARGS | METH_KEYWORDS },
26522 { (char *)"delete_ListItem", (PyCFunction) _wrap_delete_ListItem, METH_VARARGS | METH_KEYWORDS },
26523 { (char *)"ListItem_Clear", (PyCFunction) _wrap_ListItem_Clear, METH_VARARGS | METH_KEYWORDS },
26524 { (char *)"ListItem_ClearAttributes", (PyCFunction) _wrap_ListItem_ClearAttributes, METH_VARARGS | METH_KEYWORDS },
26525 { (char *)"ListItem_SetMask", (PyCFunction) _wrap_ListItem_SetMask, METH_VARARGS | METH_KEYWORDS },
26526 { (char *)"ListItem_SetId", (PyCFunction) _wrap_ListItem_SetId, METH_VARARGS | METH_KEYWORDS },
26527 { (char *)"ListItem_SetColumn", (PyCFunction) _wrap_ListItem_SetColumn, METH_VARARGS | METH_KEYWORDS },
26528 { (char *)"ListItem_SetState", (PyCFunction) _wrap_ListItem_SetState, METH_VARARGS | METH_KEYWORDS },
26529 { (char *)"ListItem_SetStateMask", (PyCFunction) _wrap_ListItem_SetStateMask, METH_VARARGS | METH_KEYWORDS },
26530 { (char *)"ListItem_SetText", (PyCFunction) _wrap_ListItem_SetText, METH_VARARGS | METH_KEYWORDS },
26531 { (char *)"ListItem_SetImage", (PyCFunction) _wrap_ListItem_SetImage, METH_VARARGS | METH_KEYWORDS },
26532 { (char *)"ListItem_SetData", (PyCFunction) _wrap_ListItem_SetData, METH_VARARGS | METH_KEYWORDS },
26533 { (char *)"ListItem_SetWidth", (PyCFunction) _wrap_ListItem_SetWidth, METH_VARARGS | METH_KEYWORDS },
26534 { (char *)"ListItem_SetAlign", (PyCFunction) _wrap_ListItem_SetAlign, METH_VARARGS | METH_KEYWORDS },
26535 { (char *)"ListItem_SetTextColour", (PyCFunction) _wrap_ListItem_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26536 { (char *)"ListItem_SetBackgroundColour", (PyCFunction) _wrap_ListItem_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26537 { (char *)"ListItem_SetFont", (PyCFunction) _wrap_ListItem_SetFont, METH_VARARGS | METH_KEYWORDS },
26538 { (char *)"ListItem_GetMask", (PyCFunction) _wrap_ListItem_GetMask, METH_VARARGS | METH_KEYWORDS },
26539 { (char *)"ListItem_GetId", (PyCFunction) _wrap_ListItem_GetId, METH_VARARGS | METH_KEYWORDS },
26540 { (char *)"ListItem_GetColumn", (PyCFunction) _wrap_ListItem_GetColumn, METH_VARARGS | METH_KEYWORDS },
26541 { (char *)"ListItem_GetState", (PyCFunction) _wrap_ListItem_GetState, METH_VARARGS | METH_KEYWORDS },
26542 { (char *)"ListItem_GetText", (PyCFunction) _wrap_ListItem_GetText, METH_VARARGS | METH_KEYWORDS },
26543 { (char *)"ListItem_GetImage", (PyCFunction) _wrap_ListItem_GetImage, METH_VARARGS | METH_KEYWORDS },
26544 { (char *)"ListItem_GetData", (PyCFunction) _wrap_ListItem_GetData, METH_VARARGS | METH_KEYWORDS },
26545 { (char *)"ListItem_GetWidth", (PyCFunction) _wrap_ListItem_GetWidth, METH_VARARGS | METH_KEYWORDS },
26546 { (char *)"ListItem_GetAlign", (PyCFunction) _wrap_ListItem_GetAlign, METH_VARARGS | METH_KEYWORDS },
26547 { (char *)"ListItem_GetAttributes", (PyCFunction) _wrap_ListItem_GetAttributes, METH_VARARGS | METH_KEYWORDS },
26548 { (char *)"ListItem_HasAttributes", (PyCFunction) _wrap_ListItem_HasAttributes, METH_VARARGS | METH_KEYWORDS },
26549 { (char *)"ListItem_GetTextColour", (PyCFunction) _wrap_ListItem_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26550 { (char *)"ListItem_GetBackgroundColour", (PyCFunction) _wrap_ListItem_GetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26551 { (char *)"ListItem_GetFont", (PyCFunction) _wrap_ListItem_GetFont, METH_VARARGS | METH_KEYWORDS },
26552 { (char *)"ListItem_m_mask_set", (PyCFunction) _wrap_ListItem_m_mask_set, METH_VARARGS | METH_KEYWORDS },
26553 { (char *)"ListItem_m_mask_get", (PyCFunction) _wrap_ListItem_m_mask_get, METH_VARARGS | METH_KEYWORDS },
26554 { (char *)"ListItem_m_itemId_set", (PyCFunction) _wrap_ListItem_m_itemId_set, METH_VARARGS | METH_KEYWORDS },
26555 { (char *)"ListItem_m_itemId_get", (PyCFunction) _wrap_ListItem_m_itemId_get, METH_VARARGS | METH_KEYWORDS },
26556 { (char *)"ListItem_m_col_set", (PyCFunction) _wrap_ListItem_m_col_set, METH_VARARGS | METH_KEYWORDS },
26557 { (char *)"ListItem_m_col_get", (PyCFunction) _wrap_ListItem_m_col_get, METH_VARARGS | METH_KEYWORDS },
26558 { (char *)"ListItem_m_state_set", (PyCFunction) _wrap_ListItem_m_state_set, METH_VARARGS | METH_KEYWORDS },
26559 { (char *)"ListItem_m_state_get", (PyCFunction) _wrap_ListItem_m_state_get, METH_VARARGS | METH_KEYWORDS },
26560 { (char *)"ListItem_m_stateMask_set", (PyCFunction) _wrap_ListItem_m_stateMask_set, METH_VARARGS | METH_KEYWORDS },
26561 { (char *)"ListItem_m_stateMask_get", (PyCFunction) _wrap_ListItem_m_stateMask_get, METH_VARARGS | METH_KEYWORDS },
26562 { (char *)"ListItem_m_text_set", (PyCFunction) _wrap_ListItem_m_text_set, METH_VARARGS | METH_KEYWORDS },
26563 { (char *)"ListItem_m_text_get", (PyCFunction) _wrap_ListItem_m_text_get, METH_VARARGS | METH_KEYWORDS },
26564 { (char *)"ListItem_m_image_set", (PyCFunction) _wrap_ListItem_m_image_set, METH_VARARGS | METH_KEYWORDS },
26565 { (char *)"ListItem_m_image_get", (PyCFunction) _wrap_ListItem_m_image_get, METH_VARARGS | METH_KEYWORDS },
26566 { (char *)"ListItem_m_data_set", (PyCFunction) _wrap_ListItem_m_data_set, METH_VARARGS | METH_KEYWORDS },
26567 { (char *)"ListItem_m_data_get", (PyCFunction) _wrap_ListItem_m_data_get, METH_VARARGS | METH_KEYWORDS },
26568 { (char *)"ListItem_m_format_set", (PyCFunction) _wrap_ListItem_m_format_set, METH_VARARGS | METH_KEYWORDS },
26569 { (char *)"ListItem_m_format_get", (PyCFunction) _wrap_ListItem_m_format_get, METH_VARARGS | METH_KEYWORDS },
26570 { (char *)"ListItem_m_width_set", (PyCFunction) _wrap_ListItem_m_width_set, METH_VARARGS | METH_KEYWORDS },
26571 { (char *)"ListItem_m_width_get", (PyCFunction) _wrap_ListItem_m_width_get, METH_VARARGS | METH_KEYWORDS },
26572 { (char *)"ListItem_swigregister", ListItem_swigregister, METH_VARARGS },
26573 { (char *)"new_ListEvent", (PyCFunction) _wrap_new_ListEvent, METH_VARARGS | METH_KEYWORDS },
26574 { (char *)"ListEvent_m_code_set", (PyCFunction) _wrap_ListEvent_m_code_set, METH_VARARGS | METH_KEYWORDS },
26575 { (char *)"ListEvent_m_code_get", (PyCFunction) _wrap_ListEvent_m_code_get, METH_VARARGS | METH_KEYWORDS },
26576 { (char *)"ListEvent_m_oldItemIndex_set", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_set, METH_VARARGS | METH_KEYWORDS },
26577 { (char *)"ListEvent_m_oldItemIndex_get", (PyCFunction) _wrap_ListEvent_m_oldItemIndex_get, METH_VARARGS | METH_KEYWORDS },
26578 { (char *)"ListEvent_m_itemIndex_set", (PyCFunction) _wrap_ListEvent_m_itemIndex_set, METH_VARARGS | METH_KEYWORDS },
26579 { (char *)"ListEvent_m_itemIndex_get", (PyCFunction) _wrap_ListEvent_m_itemIndex_get, METH_VARARGS | METH_KEYWORDS },
26580 { (char *)"ListEvent_m_col_set", (PyCFunction) _wrap_ListEvent_m_col_set, METH_VARARGS | METH_KEYWORDS },
26581 { (char *)"ListEvent_m_col_get", (PyCFunction) _wrap_ListEvent_m_col_get, METH_VARARGS | METH_KEYWORDS },
26582 { (char *)"ListEvent_m_pointDrag_set", (PyCFunction) _wrap_ListEvent_m_pointDrag_set, METH_VARARGS | METH_KEYWORDS },
26583 { (char *)"ListEvent_m_pointDrag_get", (PyCFunction) _wrap_ListEvent_m_pointDrag_get, METH_VARARGS | METH_KEYWORDS },
26584 { (char *)"ListEvent_m_item_get", (PyCFunction) _wrap_ListEvent_m_item_get, METH_VARARGS | METH_KEYWORDS },
26585 { (char *)"ListEvent_GetKeyCode", (PyCFunction) _wrap_ListEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26586 { (char *)"ListEvent_GetIndex", (PyCFunction) _wrap_ListEvent_GetIndex, METH_VARARGS | METH_KEYWORDS },
26587 { (char *)"ListEvent_GetColumn", (PyCFunction) _wrap_ListEvent_GetColumn, METH_VARARGS | METH_KEYWORDS },
26588 { (char *)"ListEvent_GetPoint", (PyCFunction) _wrap_ListEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26589 { (char *)"ListEvent_GetLabel", (PyCFunction) _wrap_ListEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26590 { (char *)"ListEvent_GetText", (PyCFunction) _wrap_ListEvent_GetText, METH_VARARGS | METH_KEYWORDS },
26591 { (char *)"ListEvent_GetImage", (PyCFunction) _wrap_ListEvent_GetImage, METH_VARARGS | METH_KEYWORDS },
26592 { (char *)"ListEvent_GetData", (PyCFunction) _wrap_ListEvent_GetData, METH_VARARGS | METH_KEYWORDS },
26593 { (char *)"ListEvent_GetMask", (PyCFunction) _wrap_ListEvent_GetMask, METH_VARARGS | METH_KEYWORDS },
26594 { (char *)"ListEvent_GetItem", (PyCFunction) _wrap_ListEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26595 { (char *)"ListEvent_GetCacheFrom", (PyCFunction) _wrap_ListEvent_GetCacheFrom, METH_VARARGS | METH_KEYWORDS },
26596 { (char *)"ListEvent_GetCacheTo", (PyCFunction) _wrap_ListEvent_GetCacheTo, METH_VARARGS | METH_KEYWORDS },
26597 { (char *)"ListEvent_IsEditCancelled", (PyCFunction) _wrap_ListEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26598 { (char *)"ListEvent_SetEditCanceled", (PyCFunction) _wrap_ListEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26599 { (char *)"ListEvent_swigregister", ListEvent_swigregister, METH_VARARGS },
26600 { (char *)"new_ListCtrl", (PyCFunction) _wrap_new_ListCtrl, METH_VARARGS | METH_KEYWORDS },
26601 { (char *)"new_PreListCtrl", (PyCFunction) _wrap_new_PreListCtrl, METH_VARARGS | METH_KEYWORDS },
26602 { (char *)"ListCtrl_Create", (PyCFunction) _wrap_ListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26603 { (char *)"ListCtrl__setCallbackInfo", (PyCFunction) _wrap_ListCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26604 { (char *)"ListCtrl_SetForegroundColour", (PyCFunction) _wrap_ListCtrl_SetForegroundColour, METH_VARARGS | METH_KEYWORDS },
26605 { (char *)"ListCtrl_SetBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26606 { (char *)"ListCtrl_GetColumn", (PyCFunction) _wrap_ListCtrl_GetColumn, METH_VARARGS | METH_KEYWORDS },
26607 { (char *)"ListCtrl_SetColumn", (PyCFunction) _wrap_ListCtrl_SetColumn, METH_VARARGS | METH_KEYWORDS },
26608 { (char *)"ListCtrl_GetColumnWidth", (PyCFunction) _wrap_ListCtrl_GetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26609 { (char *)"ListCtrl_SetColumnWidth", (PyCFunction) _wrap_ListCtrl_SetColumnWidth, METH_VARARGS | METH_KEYWORDS },
26610 { (char *)"ListCtrl_GetCountPerPage", (PyCFunction) _wrap_ListCtrl_GetCountPerPage, METH_VARARGS | METH_KEYWORDS },
26611 { (char *)"ListCtrl_GetViewRect", (PyCFunction) _wrap_ListCtrl_GetViewRect, METH_VARARGS | METH_KEYWORDS },
26612 { (char *)"ListCtrl_GetEditControl", (PyCFunction) _wrap_ListCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26613 { (char *)"ListCtrl_GetItem", (PyCFunction) _wrap_ListCtrl_GetItem, METH_VARARGS | METH_KEYWORDS },
26614 { (char *)"ListCtrl_SetItem", (PyCFunction) _wrap_ListCtrl_SetItem, METH_VARARGS | METH_KEYWORDS },
26615 { (char *)"ListCtrl_SetStringItem", (PyCFunction) _wrap_ListCtrl_SetStringItem, METH_VARARGS | METH_KEYWORDS },
26616 { (char *)"ListCtrl_GetItemState", (PyCFunction) _wrap_ListCtrl_GetItemState, METH_VARARGS | METH_KEYWORDS },
26617 { (char *)"ListCtrl_SetItemState", (PyCFunction) _wrap_ListCtrl_SetItemState, METH_VARARGS | METH_KEYWORDS },
26618 { (char *)"ListCtrl_SetItemImage", (PyCFunction) _wrap_ListCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26619 { (char *)"ListCtrl_GetItemText", (PyCFunction) _wrap_ListCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26620 { (char *)"ListCtrl_SetItemText", (PyCFunction) _wrap_ListCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26621 { (char *)"ListCtrl_GetItemData", (PyCFunction) _wrap_ListCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26622 { (char *)"ListCtrl_SetItemData", (PyCFunction) _wrap_ListCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26623 { (char *)"ListCtrl_GetItemPosition", (PyCFunction) _wrap_ListCtrl_GetItemPosition, METH_VARARGS | METH_KEYWORDS },
26624 { (char *)"ListCtrl_GetItemRect", (PyCFunction) _wrap_ListCtrl_GetItemRect, METH_VARARGS | METH_KEYWORDS },
26625 { (char *)"ListCtrl_SetItemPosition", (PyCFunction) _wrap_ListCtrl_SetItemPosition, METH_VARARGS | METH_KEYWORDS },
26626 { (char *)"ListCtrl_GetItemCount", (PyCFunction) _wrap_ListCtrl_GetItemCount, METH_VARARGS | METH_KEYWORDS },
26627 { (char *)"ListCtrl_GetColumnCount", (PyCFunction) _wrap_ListCtrl_GetColumnCount, METH_VARARGS | METH_KEYWORDS },
26628 { (char *)"ListCtrl_GetItemSpacing", (PyCFunction) _wrap_ListCtrl_GetItemSpacing, METH_VARARGS | METH_KEYWORDS },
26629 { (char *)"ListCtrl_GetSelectedItemCount", (PyCFunction) _wrap_ListCtrl_GetSelectedItemCount, METH_VARARGS | METH_KEYWORDS },
26630 { (char *)"ListCtrl_GetTextColour", (PyCFunction) _wrap_ListCtrl_GetTextColour, METH_VARARGS | METH_KEYWORDS },
26631 { (char *)"ListCtrl_SetTextColour", (PyCFunction) _wrap_ListCtrl_SetTextColour, METH_VARARGS | METH_KEYWORDS },
26632 { (char *)"ListCtrl_GetTopItem", (PyCFunction) _wrap_ListCtrl_GetTopItem, METH_VARARGS | METH_KEYWORDS },
26633 { (char *)"ListCtrl_SetSingleStyle", (PyCFunction) _wrap_ListCtrl_SetSingleStyle, METH_VARARGS | METH_KEYWORDS },
26634 { (char *)"ListCtrl_SetWindowStyleFlag", (PyCFunction) _wrap_ListCtrl_SetWindowStyleFlag, METH_VARARGS | METH_KEYWORDS },
26635 { (char *)"ListCtrl_GetNextItem", (PyCFunction) _wrap_ListCtrl_GetNextItem, METH_VARARGS | METH_KEYWORDS },
26636 { (char *)"ListCtrl_GetImageList", (PyCFunction) _wrap_ListCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26637 { (char *)"ListCtrl_SetImageList", (PyCFunction) _wrap_ListCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26638 { (char *)"ListCtrl_AssignImageList", (PyCFunction) _wrap_ListCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26639 { (char *)"ListCtrl_IsVirtual", (PyCFunction) _wrap_ListCtrl_IsVirtual, METH_VARARGS | METH_KEYWORDS },
26640 { (char *)"ListCtrl_RefreshItem", (PyCFunction) _wrap_ListCtrl_RefreshItem, METH_VARARGS | METH_KEYWORDS },
26641 { (char *)"ListCtrl_RefreshItems", (PyCFunction) _wrap_ListCtrl_RefreshItems, METH_VARARGS | METH_KEYWORDS },
26642 { (char *)"ListCtrl_Arrange", (PyCFunction) _wrap_ListCtrl_Arrange, METH_VARARGS | METH_KEYWORDS },
26643 { (char *)"ListCtrl_DeleteItem", (PyCFunction) _wrap_ListCtrl_DeleteItem, METH_VARARGS | METH_KEYWORDS },
26644 { (char *)"ListCtrl_DeleteAllItems", (PyCFunction) _wrap_ListCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26645 { (char *)"ListCtrl_DeleteColumn", (PyCFunction) _wrap_ListCtrl_DeleteColumn, METH_VARARGS | METH_KEYWORDS },
26646 { (char *)"ListCtrl_DeleteAllColumns", (PyCFunction) _wrap_ListCtrl_DeleteAllColumns, METH_VARARGS | METH_KEYWORDS },
26647 { (char *)"ListCtrl_ClearAll", (PyCFunction) _wrap_ListCtrl_ClearAll, METH_VARARGS | METH_KEYWORDS },
26648 { (char *)"ListCtrl_EditLabel", (PyCFunction) _wrap_ListCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26649 { (char *)"ListCtrl_EndEditLabel", (PyCFunction) _wrap_ListCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
26650 { (char *)"ListCtrl_EnsureVisible", (PyCFunction) _wrap_ListCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26651 { (char *)"ListCtrl_FindItem", (PyCFunction) _wrap_ListCtrl_FindItem, METH_VARARGS | METH_KEYWORDS },
26652 { (char *)"ListCtrl_FindItemData", (PyCFunction) _wrap_ListCtrl_FindItemData, METH_VARARGS | METH_KEYWORDS },
26653 { (char *)"ListCtrl_FindItemAtPos", (PyCFunction) _wrap_ListCtrl_FindItemAtPos, METH_VARARGS | METH_KEYWORDS },
26654 { (char *)"ListCtrl_HitTest", (PyCFunction) _wrap_ListCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26655 { (char *)"ListCtrl_InsertItem", (PyCFunction) _wrap_ListCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26656 { (char *)"ListCtrl_InsertStringItem", (PyCFunction) _wrap_ListCtrl_InsertStringItem, METH_VARARGS | METH_KEYWORDS },
26657 { (char *)"ListCtrl_InsertImageItem", (PyCFunction) _wrap_ListCtrl_InsertImageItem, METH_VARARGS | METH_KEYWORDS },
26658 { (char *)"ListCtrl_InsertImageStringItem", (PyCFunction) _wrap_ListCtrl_InsertImageStringItem, METH_VARARGS | METH_KEYWORDS },
26659 { (char *)"ListCtrl_InsertColumnInfo", (PyCFunction) _wrap_ListCtrl_InsertColumnInfo, METH_VARARGS | METH_KEYWORDS },
26660 { (char *)"ListCtrl_InsertColumn", (PyCFunction) _wrap_ListCtrl_InsertColumn, METH_VARARGS | METH_KEYWORDS },
26661 { (char *)"ListCtrl_SetItemCount", (PyCFunction) _wrap_ListCtrl_SetItemCount, METH_VARARGS | METH_KEYWORDS },
26662 { (char *)"ListCtrl_ScrollList", (PyCFunction) _wrap_ListCtrl_ScrollList, METH_VARARGS | METH_KEYWORDS },
26663 { (char *)"ListCtrl_SetItemTextColour", (PyCFunction) _wrap_ListCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26664 { (char *)"ListCtrl_GetItemTextColour", (PyCFunction) _wrap_ListCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26665 { (char *)"ListCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26666 { (char *)"ListCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_ListCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26667 { (char *)"ListCtrl_SortItems", (PyCFunction) _wrap_ListCtrl_SortItems, METH_VARARGS | METH_KEYWORDS },
26668 { (char *)"ListCtrl_GetMainWindow", (PyCFunction) _wrap_ListCtrl_GetMainWindow, METH_VARARGS | METH_KEYWORDS },
26669 { (char *)"ListCtrl_swigregister", ListCtrl_swigregister, METH_VARARGS },
26670 { (char *)"new_ListView", (PyCFunction) _wrap_new_ListView, METH_VARARGS | METH_KEYWORDS },
26671 { (char *)"new_PreListView", (PyCFunction) _wrap_new_PreListView, METH_VARARGS | METH_KEYWORDS },
26672 { (char *)"ListView_Create", (PyCFunction) _wrap_ListView_Create, METH_VARARGS | METH_KEYWORDS },
26673 { (char *)"ListView_Select", (PyCFunction) _wrap_ListView_Select, METH_VARARGS | METH_KEYWORDS },
26674 { (char *)"ListView_Focus", (PyCFunction) _wrap_ListView_Focus, METH_VARARGS | METH_KEYWORDS },
26675 { (char *)"ListView_GetFocusedItem", (PyCFunction) _wrap_ListView_GetFocusedItem, METH_VARARGS | METH_KEYWORDS },
26676 { (char *)"ListView_GetNextSelected", (PyCFunction) _wrap_ListView_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
26677 { (char *)"ListView_GetFirstSelected", (PyCFunction) _wrap_ListView_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
26678 { (char *)"ListView_IsSelected", (PyCFunction) _wrap_ListView_IsSelected, METH_VARARGS | METH_KEYWORDS },
26679 { (char *)"ListView_SetColumnImage", (PyCFunction) _wrap_ListView_SetColumnImage, METH_VARARGS | METH_KEYWORDS },
26680 { (char *)"ListView_ClearColumnImage", (PyCFunction) _wrap_ListView_ClearColumnImage, METH_VARARGS | METH_KEYWORDS },
26681 { (char *)"ListView_swigregister", ListView_swigregister, METH_VARARGS },
26682 { (char *)"new_TreeItemId", (PyCFunction) _wrap_new_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26683 { (char *)"delete_TreeItemId", (PyCFunction) _wrap_delete_TreeItemId, METH_VARARGS | METH_KEYWORDS },
26684 { (char *)"TreeItemId_IsOk", (PyCFunction) _wrap_TreeItemId_IsOk, METH_VARARGS | METH_KEYWORDS },
26685 { (char *)"TreeItemId___eq__", (PyCFunction) _wrap_TreeItemId___eq__, METH_VARARGS | METH_KEYWORDS },
26686 { (char *)"TreeItemId___ne__", (PyCFunction) _wrap_TreeItemId___ne__, METH_VARARGS | METH_KEYWORDS },
26687 { (char *)"TreeItemId_m_pItem_set", (PyCFunction) _wrap_TreeItemId_m_pItem_set, METH_VARARGS | METH_KEYWORDS },
26688 { (char *)"TreeItemId_m_pItem_get", (PyCFunction) _wrap_TreeItemId_m_pItem_get, METH_VARARGS | METH_KEYWORDS },
26689 { (char *)"TreeItemId_swigregister", TreeItemId_swigregister, METH_VARARGS },
26690 { (char *)"new_TreeItemData", (PyCFunction) _wrap_new_TreeItemData, METH_VARARGS | METH_KEYWORDS },
26691 { (char *)"TreeItemData_GetData", (PyCFunction) _wrap_TreeItemData_GetData, METH_VARARGS | METH_KEYWORDS },
26692 { (char *)"TreeItemData_SetData", (PyCFunction) _wrap_TreeItemData_SetData, METH_VARARGS | METH_KEYWORDS },
26693 { (char *)"TreeItemData_GetId", (PyCFunction) _wrap_TreeItemData_GetId, METH_VARARGS | METH_KEYWORDS },
26694 { (char *)"TreeItemData_SetId", (PyCFunction) _wrap_TreeItemData_SetId, METH_VARARGS | METH_KEYWORDS },
26695 { (char *)"TreeItemData_Destroy", (PyCFunction) _wrap_TreeItemData_Destroy, METH_VARARGS | METH_KEYWORDS },
26696 { (char *)"TreeItemData_swigregister", TreeItemData_swigregister, METH_VARARGS },
26697 { (char *)"new_TreeEvent", (PyCFunction) _wrap_new_TreeEvent, METH_VARARGS | METH_KEYWORDS },
26698 { (char *)"TreeEvent_GetItem", (PyCFunction) _wrap_TreeEvent_GetItem, METH_VARARGS | METH_KEYWORDS },
26699 { (char *)"TreeEvent_SetItem", (PyCFunction) _wrap_TreeEvent_SetItem, METH_VARARGS | METH_KEYWORDS },
26700 { (char *)"TreeEvent_GetOldItem", (PyCFunction) _wrap_TreeEvent_GetOldItem, METH_VARARGS | METH_KEYWORDS },
26701 { (char *)"TreeEvent_SetOldItem", (PyCFunction) _wrap_TreeEvent_SetOldItem, METH_VARARGS | METH_KEYWORDS },
26702 { (char *)"TreeEvent_GetPoint", (PyCFunction) _wrap_TreeEvent_GetPoint, METH_VARARGS | METH_KEYWORDS },
26703 { (char *)"TreeEvent_SetPoint", (PyCFunction) _wrap_TreeEvent_SetPoint, METH_VARARGS | METH_KEYWORDS },
26704 { (char *)"TreeEvent_GetKeyEvent", (PyCFunction) _wrap_TreeEvent_GetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26705 { (char *)"TreeEvent_GetKeyCode", (PyCFunction) _wrap_TreeEvent_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
26706 { (char *)"TreeEvent_SetKeyEvent", (PyCFunction) _wrap_TreeEvent_SetKeyEvent, METH_VARARGS | METH_KEYWORDS },
26707 { (char *)"TreeEvent_GetLabel", (PyCFunction) _wrap_TreeEvent_GetLabel, METH_VARARGS | METH_KEYWORDS },
26708 { (char *)"TreeEvent_SetLabel", (PyCFunction) _wrap_TreeEvent_SetLabel, METH_VARARGS | METH_KEYWORDS },
26709 { (char *)"TreeEvent_IsEditCancelled", (PyCFunction) _wrap_TreeEvent_IsEditCancelled, METH_VARARGS | METH_KEYWORDS },
26710 { (char *)"TreeEvent_SetEditCanceled", (PyCFunction) _wrap_TreeEvent_SetEditCanceled, METH_VARARGS | METH_KEYWORDS },
26711 { (char *)"TreeEvent_SetToolTip", (PyCFunction) _wrap_TreeEvent_SetToolTip, METH_VARARGS | METH_KEYWORDS },
26712 { (char *)"TreeEvent_swigregister", TreeEvent_swigregister, METH_VARARGS },
26713 { (char *)"new_TreeCtrl", (PyCFunction) _wrap_new_TreeCtrl, METH_VARARGS | METH_KEYWORDS },
26714 { (char *)"new_PreTreeCtrl", (PyCFunction) _wrap_new_PreTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26715 { (char *)"TreeCtrl_Create", (PyCFunction) _wrap_TreeCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26716 { (char *)"TreeCtrl__setCallbackInfo", (PyCFunction) _wrap_TreeCtrl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26717 { (char *)"TreeCtrl_GetCount", (PyCFunction) _wrap_TreeCtrl_GetCount, METH_VARARGS | METH_KEYWORDS },
26718 { (char *)"TreeCtrl_GetIndent", (PyCFunction) _wrap_TreeCtrl_GetIndent, METH_VARARGS | METH_KEYWORDS },
26719 { (char *)"TreeCtrl_SetIndent", (PyCFunction) _wrap_TreeCtrl_SetIndent, METH_VARARGS | METH_KEYWORDS },
26720 { (char *)"TreeCtrl_GetSpacing", (PyCFunction) _wrap_TreeCtrl_GetSpacing, METH_VARARGS | METH_KEYWORDS },
26721 { (char *)"TreeCtrl_SetSpacing", (PyCFunction) _wrap_TreeCtrl_SetSpacing, METH_VARARGS | METH_KEYWORDS },
26722 { (char *)"TreeCtrl_GetImageList", (PyCFunction) _wrap_TreeCtrl_GetImageList, METH_VARARGS | METH_KEYWORDS },
26723 { (char *)"TreeCtrl_GetStateImageList", (PyCFunction) _wrap_TreeCtrl_GetStateImageList, METH_VARARGS | METH_KEYWORDS },
26724 { (char *)"TreeCtrl_SetImageList", (PyCFunction) _wrap_TreeCtrl_SetImageList, METH_VARARGS | METH_KEYWORDS },
26725 { (char *)"TreeCtrl_SetStateImageList", (PyCFunction) _wrap_TreeCtrl_SetStateImageList, METH_VARARGS | METH_KEYWORDS },
26726 { (char *)"TreeCtrl_AssignImageList", (PyCFunction) _wrap_TreeCtrl_AssignImageList, METH_VARARGS | METH_KEYWORDS },
26727 { (char *)"TreeCtrl_AssignStateImageList", (PyCFunction) _wrap_TreeCtrl_AssignStateImageList, METH_VARARGS | METH_KEYWORDS },
26728 { (char *)"TreeCtrl_GetItemText", (PyCFunction) _wrap_TreeCtrl_GetItemText, METH_VARARGS | METH_KEYWORDS },
26729 { (char *)"TreeCtrl_GetItemImage", (PyCFunction) _wrap_TreeCtrl_GetItemImage, METH_VARARGS | METH_KEYWORDS },
26730 { (char *)"TreeCtrl_GetItemData", (PyCFunction) _wrap_TreeCtrl_GetItemData, METH_VARARGS | METH_KEYWORDS },
26731 { (char *)"TreeCtrl_GetItemPyData", (PyCFunction) _wrap_TreeCtrl_GetItemPyData, METH_VARARGS | METH_KEYWORDS },
26732 { (char *)"TreeCtrl_GetItemTextColour", (PyCFunction) _wrap_TreeCtrl_GetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26733 { (char *)"TreeCtrl_GetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_GetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26734 { (char *)"TreeCtrl_GetItemFont", (PyCFunction) _wrap_TreeCtrl_GetItemFont, METH_VARARGS | METH_KEYWORDS },
26735 { (char *)"TreeCtrl_SetItemText", (PyCFunction) _wrap_TreeCtrl_SetItemText, METH_VARARGS | METH_KEYWORDS },
26736 { (char *)"TreeCtrl_SetItemImage", (PyCFunction) _wrap_TreeCtrl_SetItemImage, METH_VARARGS | METH_KEYWORDS },
26737 { (char *)"TreeCtrl_SetItemData", (PyCFunction) _wrap_TreeCtrl_SetItemData, METH_VARARGS | METH_KEYWORDS },
26738 { (char *)"TreeCtrl_SetItemPyData", (PyCFunction) _wrap_TreeCtrl_SetItemPyData, METH_VARARGS | METH_KEYWORDS },
26739 { (char *)"TreeCtrl_SetItemHasChildren", (PyCFunction) _wrap_TreeCtrl_SetItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26740 { (char *)"TreeCtrl_SetItemBold", (PyCFunction) _wrap_TreeCtrl_SetItemBold, METH_VARARGS | METH_KEYWORDS },
26741 { (char *)"TreeCtrl_SetItemDropHighlight", (PyCFunction) _wrap_TreeCtrl_SetItemDropHighlight, METH_VARARGS | METH_KEYWORDS },
26742 { (char *)"TreeCtrl_SetItemTextColour", (PyCFunction) _wrap_TreeCtrl_SetItemTextColour, METH_VARARGS | METH_KEYWORDS },
26743 { (char *)"TreeCtrl_SetItemBackgroundColour", (PyCFunction) _wrap_TreeCtrl_SetItemBackgroundColour, METH_VARARGS | METH_KEYWORDS },
26744 { (char *)"TreeCtrl_SetItemFont", (PyCFunction) _wrap_TreeCtrl_SetItemFont, METH_VARARGS | METH_KEYWORDS },
26745 { (char *)"TreeCtrl_IsVisible", (PyCFunction) _wrap_TreeCtrl_IsVisible, METH_VARARGS | METH_KEYWORDS },
26746 { (char *)"TreeCtrl_ItemHasChildren", (PyCFunction) _wrap_TreeCtrl_ItemHasChildren, METH_VARARGS | METH_KEYWORDS },
26747 { (char *)"TreeCtrl_IsExpanded", (PyCFunction) _wrap_TreeCtrl_IsExpanded, METH_VARARGS | METH_KEYWORDS },
26748 { (char *)"TreeCtrl_IsSelected", (PyCFunction) _wrap_TreeCtrl_IsSelected, METH_VARARGS | METH_KEYWORDS },
26749 { (char *)"TreeCtrl_IsBold", (PyCFunction) _wrap_TreeCtrl_IsBold, METH_VARARGS | METH_KEYWORDS },
26750 { (char *)"TreeCtrl_GetChildrenCount", (PyCFunction) _wrap_TreeCtrl_GetChildrenCount, METH_VARARGS | METH_KEYWORDS },
26751 { (char *)"TreeCtrl_GetRootItem", (PyCFunction) _wrap_TreeCtrl_GetRootItem, METH_VARARGS | METH_KEYWORDS },
26752 { (char *)"TreeCtrl_GetSelection", (PyCFunction) _wrap_TreeCtrl_GetSelection, METH_VARARGS | METH_KEYWORDS },
26753 { (char *)"TreeCtrl_GetSelections", (PyCFunction) _wrap_TreeCtrl_GetSelections, METH_VARARGS | METH_KEYWORDS },
26754 { (char *)"TreeCtrl_GetItemParent", (PyCFunction) _wrap_TreeCtrl_GetItemParent, METH_VARARGS | METH_KEYWORDS },
26755 { (char *)"TreeCtrl_GetFirstChild", (PyCFunction) _wrap_TreeCtrl_GetFirstChild, METH_VARARGS | METH_KEYWORDS },
26756 { (char *)"TreeCtrl_GetNextChild", (PyCFunction) _wrap_TreeCtrl_GetNextChild, METH_VARARGS | METH_KEYWORDS },
26757 { (char *)"TreeCtrl_GetLastChild", (PyCFunction) _wrap_TreeCtrl_GetLastChild, METH_VARARGS | METH_KEYWORDS },
26758 { (char *)"TreeCtrl_GetNextSibling", (PyCFunction) _wrap_TreeCtrl_GetNextSibling, METH_VARARGS | METH_KEYWORDS },
26759 { (char *)"TreeCtrl_GetPrevSibling", (PyCFunction) _wrap_TreeCtrl_GetPrevSibling, METH_VARARGS | METH_KEYWORDS },
26760 { (char *)"TreeCtrl_GetFirstVisibleItem", (PyCFunction) _wrap_TreeCtrl_GetFirstVisibleItem, METH_VARARGS | METH_KEYWORDS },
26761 { (char *)"TreeCtrl_GetNextVisible", (PyCFunction) _wrap_TreeCtrl_GetNextVisible, METH_VARARGS | METH_KEYWORDS },
26762 { (char *)"TreeCtrl_GetPrevVisible", (PyCFunction) _wrap_TreeCtrl_GetPrevVisible, METH_VARARGS | METH_KEYWORDS },
26763 { (char *)"TreeCtrl_AddRoot", (PyCFunction) _wrap_TreeCtrl_AddRoot, METH_VARARGS | METH_KEYWORDS },
26764 { (char *)"TreeCtrl_PrependItem", (PyCFunction) _wrap_TreeCtrl_PrependItem, METH_VARARGS | METH_KEYWORDS },
26765 { (char *)"TreeCtrl_InsertItem", (PyCFunction) _wrap_TreeCtrl_InsertItem, METH_VARARGS | METH_KEYWORDS },
26766 { (char *)"TreeCtrl_InsertItemBefore", (PyCFunction) _wrap_TreeCtrl_InsertItemBefore, METH_VARARGS | METH_KEYWORDS },
26767 { (char *)"TreeCtrl_AppendItem", (PyCFunction) _wrap_TreeCtrl_AppendItem, METH_VARARGS | METH_KEYWORDS },
26768 { (char *)"TreeCtrl_Delete", (PyCFunction) _wrap_TreeCtrl_Delete, METH_VARARGS | METH_KEYWORDS },
26769 { (char *)"TreeCtrl_DeleteChildren", (PyCFunction) _wrap_TreeCtrl_DeleteChildren, METH_VARARGS | METH_KEYWORDS },
26770 { (char *)"TreeCtrl_DeleteAllItems", (PyCFunction) _wrap_TreeCtrl_DeleteAllItems, METH_VARARGS | METH_KEYWORDS },
26771 { (char *)"TreeCtrl_Expand", (PyCFunction) _wrap_TreeCtrl_Expand, METH_VARARGS | METH_KEYWORDS },
26772 { (char *)"TreeCtrl_Collapse", (PyCFunction) _wrap_TreeCtrl_Collapse, METH_VARARGS | METH_KEYWORDS },
26773 { (char *)"TreeCtrl_CollapseAndReset", (PyCFunction) _wrap_TreeCtrl_CollapseAndReset, METH_VARARGS | METH_KEYWORDS },
26774 { (char *)"TreeCtrl_Toggle", (PyCFunction) _wrap_TreeCtrl_Toggle, METH_VARARGS | METH_KEYWORDS },
26775 { (char *)"TreeCtrl_Unselect", (PyCFunction) _wrap_TreeCtrl_Unselect, METH_VARARGS | METH_KEYWORDS },
26776 { (char *)"TreeCtrl_UnselectAll", (PyCFunction) _wrap_TreeCtrl_UnselectAll, METH_VARARGS | METH_KEYWORDS },
26777 { (char *)"TreeCtrl_SelectItem", (PyCFunction) _wrap_TreeCtrl_SelectItem, METH_VARARGS | METH_KEYWORDS },
26778 { (char *)"TreeCtrl_EnsureVisible", (PyCFunction) _wrap_TreeCtrl_EnsureVisible, METH_VARARGS | METH_KEYWORDS },
26779 { (char *)"TreeCtrl_ScrollTo", (PyCFunction) _wrap_TreeCtrl_ScrollTo, METH_VARARGS | METH_KEYWORDS },
26780 { (char *)"TreeCtrl_EditLabel", (PyCFunction) _wrap_TreeCtrl_EditLabel, METH_VARARGS | METH_KEYWORDS },
26781 { (char *)"TreeCtrl_GetEditControl", (PyCFunction) _wrap_TreeCtrl_GetEditControl, METH_VARARGS | METH_KEYWORDS },
26782 { (char *)"TreeCtrl_EndEditLabel", (PyCFunction) _wrap_TreeCtrl_EndEditLabel, METH_VARARGS | METH_KEYWORDS },
26783 { (char *)"TreeCtrl_SortChildren", (PyCFunction) _wrap_TreeCtrl_SortChildren, METH_VARARGS | METH_KEYWORDS },
26784 { (char *)"TreeCtrl_HitTest", (PyCFunction) _wrap_TreeCtrl_HitTest, METH_VARARGS | METH_KEYWORDS },
26785 { (char *)"TreeCtrl_GetBoundingRect", (PyCFunction) _wrap_TreeCtrl_GetBoundingRect, METH_VARARGS | METH_KEYWORDS },
26786 { (char *)"TreeCtrl_swigregister", TreeCtrl_swigregister, METH_VARARGS },
26787 { (char *)"new_GenericDirCtrl", (PyCFunction) _wrap_new_GenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26788 { (char *)"new_PreGenericDirCtrl", (PyCFunction) _wrap_new_PreGenericDirCtrl, METH_VARARGS | METH_KEYWORDS },
26789 { (char *)"GenericDirCtrl_Create", (PyCFunction) _wrap_GenericDirCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26790 { (char *)"GenericDirCtrl_ExpandPath", (PyCFunction) _wrap_GenericDirCtrl_ExpandPath, METH_VARARGS | METH_KEYWORDS },
26791 { (char *)"GenericDirCtrl_GetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_GetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26792 { (char *)"GenericDirCtrl_SetDefaultPath", (PyCFunction) _wrap_GenericDirCtrl_SetDefaultPath, METH_VARARGS | METH_KEYWORDS },
26793 { (char *)"GenericDirCtrl_GetPath", (PyCFunction) _wrap_GenericDirCtrl_GetPath, METH_VARARGS | METH_KEYWORDS },
26794 { (char *)"GenericDirCtrl_GetFilePath", (PyCFunction) _wrap_GenericDirCtrl_GetFilePath, METH_VARARGS | METH_KEYWORDS },
26795 { (char *)"GenericDirCtrl_SetPath", (PyCFunction) _wrap_GenericDirCtrl_SetPath, METH_VARARGS | METH_KEYWORDS },
26796 { (char *)"GenericDirCtrl_ShowHidden", (PyCFunction) _wrap_GenericDirCtrl_ShowHidden, METH_VARARGS | METH_KEYWORDS },
26797 { (char *)"GenericDirCtrl_GetShowHidden", (PyCFunction) _wrap_GenericDirCtrl_GetShowHidden, METH_VARARGS | METH_KEYWORDS },
26798 { (char *)"GenericDirCtrl_GetFilter", (PyCFunction) _wrap_GenericDirCtrl_GetFilter, METH_VARARGS | METH_KEYWORDS },
26799 { (char *)"GenericDirCtrl_SetFilter", (PyCFunction) _wrap_GenericDirCtrl_SetFilter, METH_VARARGS | METH_KEYWORDS },
26800 { (char *)"GenericDirCtrl_GetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26801 { (char *)"GenericDirCtrl_SetFilterIndex", (PyCFunction) _wrap_GenericDirCtrl_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
26802 { (char *)"GenericDirCtrl_GetRootId", (PyCFunction) _wrap_GenericDirCtrl_GetRootId, METH_VARARGS | METH_KEYWORDS },
26803 { (char *)"GenericDirCtrl_GetTreeCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetTreeCtrl, METH_VARARGS | METH_KEYWORDS },
26804 { (char *)"GenericDirCtrl_GetFilterListCtrl", (PyCFunction) _wrap_GenericDirCtrl_GetFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26805 { (char *)"GenericDirCtrl_FindChild", (PyCFunction) _wrap_GenericDirCtrl_FindChild, METH_VARARGS | METH_KEYWORDS },
26806 { (char *)"GenericDirCtrl_DoResize", (PyCFunction) _wrap_GenericDirCtrl_DoResize, METH_VARARGS | METH_KEYWORDS },
26807 { (char *)"GenericDirCtrl_ReCreateTree", (PyCFunction) _wrap_GenericDirCtrl_ReCreateTree, METH_VARARGS | METH_KEYWORDS },
26808 { (char *)"GenericDirCtrl_swigregister", GenericDirCtrl_swigregister, METH_VARARGS },
26809 { (char *)"new_DirFilterListCtrl", (PyCFunction) _wrap_new_DirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26810 { (char *)"new_PreDirFilterListCtrl", (PyCFunction) _wrap_new_PreDirFilterListCtrl, METH_VARARGS | METH_KEYWORDS },
26811 { (char *)"DirFilterListCtrl_Create", (PyCFunction) _wrap_DirFilterListCtrl_Create, METH_VARARGS | METH_KEYWORDS },
26812 { (char *)"DirFilterListCtrl_FillFilterList", (PyCFunction) _wrap_DirFilterListCtrl_FillFilterList, METH_VARARGS | METH_KEYWORDS },
26813 { (char *)"DirFilterListCtrl_swigregister", DirFilterListCtrl_swigregister, METH_VARARGS },
26814 { (char *)"new_PyControl", (PyCFunction) _wrap_new_PyControl, METH_VARARGS | METH_KEYWORDS },
26815 { (char *)"PyControl__setCallbackInfo", (PyCFunction) _wrap_PyControl__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
26816 { (char *)"PyControl_base_DoMoveWindow", (PyCFunction) _wrap_PyControl_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
26817 { (char *)"PyControl_base_DoSetSize", (PyCFunction) _wrap_PyControl_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
26818 { (char *)"PyControl_base_DoSetClientSize", (PyCFunction) _wrap_PyControl_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
26819 { (char *)"PyControl_base_DoSetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26820 { (char *)"PyControl_base_DoGetSize", (PyCFunction) _wrap_PyControl_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
26821 { (char *)"PyControl_base_DoGetClientSize", (PyCFunction) _wrap_PyControl_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
26822 { (char *)"PyControl_base_DoGetPosition", (PyCFunction) _wrap_PyControl_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
26823 { (char *)"PyControl_base_DoGetVirtualSize", (PyCFunction) _wrap_PyControl_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
26824 { (char *)"PyControl_base_DoGetBestSize", (PyCFunction) _wrap_PyControl_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
26825 { (char *)"PyControl_base_InitDialog", (PyCFunction) _wrap_PyControl_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
26826 { (char *)"PyControl_base_TransferDataToWindow", (PyCFunction) _wrap_PyControl_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
26827 { (char *)"PyControl_base_TransferDataFromWindow", (PyCFunction) _wrap_PyControl_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
26828 { (char *)"PyControl_base_Validate", (PyCFunction) _wrap_PyControl_base_Validate, METH_VARARGS | METH_KEYWORDS },
26829 { (char *)"PyControl_base_AcceptsFocus", (PyCFunction) _wrap_PyControl_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
26830 { (char *)"PyControl_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyControl_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
26831 { (char *)"PyControl_base_GetMaxSize", (PyCFunction) _wrap_PyControl_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
26832 { (char *)"PyControl_base_AddChild", (PyCFunction) _wrap_PyControl_base_AddChild, METH_VARARGS | METH_KEYWORDS },
26833 { (char *)"PyControl_base_RemoveChild", (PyCFunction) _wrap_PyControl_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
26834 { (char *)"PyControl_swigregister", PyControl_swigregister, METH_VARARGS },
26835 { (char *)"new_HelpEvent", (PyCFunction) _wrap_new_HelpEvent, METH_VARARGS | METH_KEYWORDS },
26836 { (char *)"HelpEvent_GetPosition", (PyCFunction) _wrap_HelpEvent_GetPosition, METH_VARARGS | METH_KEYWORDS },
26837 { (char *)"HelpEvent_SetPosition", (PyCFunction) _wrap_HelpEvent_SetPosition, METH_VARARGS | METH_KEYWORDS },
26838 { (char *)"HelpEvent_GetLink", (PyCFunction) _wrap_HelpEvent_GetLink, METH_VARARGS | METH_KEYWORDS },
26839 { (char *)"HelpEvent_SetLink", (PyCFunction) _wrap_HelpEvent_SetLink, METH_VARARGS | METH_KEYWORDS },
26840 { (char *)"HelpEvent_GetTarget", (PyCFunction) _wrap_HelpEvent_GetTarget, METH_VARARGS | METH_KEYWORDS },
26841 { (char *)"HelpEvent_SetTarget", (PyCFunction) _wrap_HelpEvent_SetTarget, METH_VARARGS | METH_KEYWORDS },
26842 { (char *)"HelpEvent_swigregister", HelpEvent_swigregister, METH_VARARGS },
26843 { (char *)"new_ContextHelp", (PyCFunction) _wrap_new_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26844 { (char *)"delete_ContextHelp", (PyCFunction) _wrap_delete_ContextHelp, METH_VARARGS | METH_KEYWORDS },
26845 { (char *)"ContextHelp_BeginContextHelp", (PyCFunction) _wrap_ContextHelp_BeginContextHelp, METH_VARARGS | METH_KEYWORDS },
26846 { (char *)"ContextHelp_EndContextHelp", (PyCFunction) _wrap_ContextHelp_EndContextHelp, METH_VARARGS | METH_KEYWORDS },
26847 { (char *)"ContextHelp_swigregister", ContextHelp_swigregister, METH_VARARGS },
26848 { (char *)"new_ContextHelpButton", (PyCFunction) _wrap_new_ContextHelpButton, METH_VARARGS | METH_KEYWORDS },
26849 { (char *)"ContextHelpButton_swigregister", ContextHelpButton_swigregister, METH_VARARGS },
26850 { (char *)"HelpProvider_Set", (PyCFunction) _wrap_HelpProvider_Set, METH_VARARGS | METH_KEYWORDS },
26851 { (char *)"HelpProvider_Get", (PyCFunction) _wrap_HelpProvider_Get, METH_VARARGS | METH_KEYWORDS },
26852 { (char *)"HelpProvider_GetHelp", (PyCFunction) _wrap_HelpProvider_GetHelp, METH_VARARGS | METH_KEYWORDS },
26853 { (char *)"HelpProvider_ShowHelp", (PyCFunction) _wrap_HelpProvider_ShowHelp, METH_VARARGS | METH_KEYWORDS },
26854 { (char *)"HelpProvider_AddHelp", (PyCFunction) _wrap_HelpProvider_AddHelp, METH_VARARGS | METH_KEYWORDS },
26855 { (char *)"HelpProvider_AddHelpById", (PyCFunction) _wrap_HelpProvider_AddHelpById, METH_VARARGS | METH_KEYWORDS },
26856 { (char *)"HelpProvider_Destroy", (PyCFunction) _wrap_HelpProvider_Destroy, METH_VARARGS | METH_KEYWORDS },
26857 { (char *)"HelpProvider_swigregister", HelpProvider_swigregister, METH_VARARGS },
26858 { (char *)"new_SimpleHelpProvider", (PyCFunction) _wrap_new_SimpleHelpProvider, METH_VARARGS | METH_KEYWORDS },
26859 { (char *)"SimpleHelpProvider_swigregister", SimpleHelpProvider_swigregister, METH_VARARGS },
26860 { (char *)"new_DragImage", (PyCFunction) _wrap_new_DragImage, METH_VARARGS | METH_KEYWORDS },
26861 { (char *)"new_DragIcon", (PyCFunction) _wrap_new_DragIcon, METH_VARARGS | METH_KEYWORDS },
26862 { (char *)"new_DragString", (PyCFunction) _wrap_new_DragString, METH_VARARGS | METH_KEYWORDS },
26863 { (char *)"new_DragTreeItem", (PyCFunction) _wrap_new_DragTreeItem, METH_VARARGS | METH_KEYWORDS },
26864 { (char *)"new_DragListItem", (PyCFunction) _wrap_new_DragListItem, METH_VARARGS | METH_KEYWORDS },
26865 { (char *)"delete_DragImage", (PyCFunction) _wrap_delete_DragImage, METH_VARARGS | METH_KEYWORDS },
26866 { (char *)"DragImage_SetBackingBitmap", (PyCFunction) _wrap_DragImage_SetBackingBitmap, METH_VARARGS | METH_KEYWORDS },
26867 { (char *)"DragImage_BeginDrag", (PyCFunction) _wrap_DragImage_BeginDrag, METH_VARARGS | METH_KEYWORDS },
26868 { (char *)"DragImage_BeginDragBounded", (PyCFunction) _wrap_DragImage_BeginDragBounded, METH_VARARGS | METH_KEYWORDS },
26869 { (char *)"DragImage_EndDrag", (PyCFunction) _wrap_DragImage_EndDrag, METH_VARARGS | METH_KEYWORDS },
26870 { (char *)"DragImage_Move", (PyCFunction) _wrap_DragImage_Move, METH_VARARGS | METH_KEYWORDS },
26871 { (char *)"DragImage_Show", (PyCFunction) _wrap_DragImage_Show, METH_VARARGS | METH_KEYWORDS },
26872 { (char *)"DragImage_Hide", (PyCFunction) _wrap_DragImage_Hide, METH_VARARGS | METH_KEYWORDS },
26873 { (char *)"DragImage_GetImageRect", (PyCFunction) _wrap_DragImage_GetImageRect, METH_VARARGS | METH_KEYWORDS },
26874 { (char *)"DragImage_DoDrawImage", (PyCFunction) _wrap_DragImage_DoDrawImage, METH_VARARGS | METH_KEYWORDS },
26875 { (char *)"DragImage_UpdateBackingFromWindow", (PyCFunction) _wrap_DragImage_UpdateBackingFromWindow, METH_VARARGS | METH_KEYWORDS },
26876 { (char *)"DragImage_RedrawImage", (PyCFunction) _wrap_DragImage_RedrawImage, METH_VARARGS | METH_KEYWORDS },
26877 { (char *)"DragImage_swigregister", DragImage_swigregister, METH_VARARGS },
26878 { NULL, NULL }
26879 };
26880
26881
26882 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
26883
26884 static void *_p_wxNotebookEventTo_p_wxBookCtrlEvent(void *x) {
26885 return (void *)((wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26886 }
26887 static void *_p_wxListbookEventTo_p_wxBookCtrlEvent(void *x) {
26888 return (void *)((wxBookCtrlEvent *) ((wxListbookEvent *) x));
26889 }
26890 static void *_p_wxBoxSizerTo_p_wxSizer(void *x) {
26891 return (void *)((wxSizer *) ((wxBoxSizer *) x));
26892 }
26893 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x) {
26894 return (void *)((wxSizer *) (wxBoxSizer *) ((wxStaticBoxSizer *) x));
26895 }
26896 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x) {
26897 return (void *)((wxSizer *) (wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
26898 }
26899 static void *_p_wxGridSizerTo_p_wxSizer(void *x) {
26900 return (void *)((wxSizer *) ((wxGridSizer *) x));
26901 }
26902 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x) {
26903 return (void *)((wxSizer *) (wxGridSizer *) ((wxFlexGridSizer *) x));
26904 }
26905 static void *_p_wxNotebookSizerTo_p_wxSizer(void *x) {
26906 return (void *)((wxSizer *) ((wxNotebookSizer *) x));
26907 }
26908 static void *_p_wxPySizerTo_p_wxSizer(void *x) {
26909 return (void *)((wxSizer *) ((wxPySizer *) x));
26910 }
26911 static void *_p_wxBookCtrlSizerTo_p_wxSizer(void *x) {
26912 return (void *)((wxSizer *) ((wxBookCtrlSizer *) x));
26913 }
26914 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
26915 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
26916 }
26917 static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
26918 return (void *)((wxEvent *) ((wxMenuEvent *) x));
26919 }
26920 static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
26921 return (void *)((wxEvent *) ((wxCloseEvent *) x));
26922 }
26923 static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
26924 return (void *)((wxEvent *) ((wxMouseEvent *) x));
26925 }
26926 static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
26927 return (void *)((wxEvent *) ((wxEraseEvent *) x));
26928 }
26929 static void *_p_wxTreeEventTo_p_wxEvent(void *x) {
26930 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
26931 }
26932 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
26933 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
26934 }
26935 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
26936 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
26937 }
26938 static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
26939 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
26940 }
26941 static void *_p_wxTextUrlEventTo_p_wxEvent(void *x) {
26942 return (void *)((wxEvent *) (wxCommandEvent *) ((wxTextUrlEvent *) x));
26943 }
26944 static void *_p_wxBookCtrlEventTo_p_wxEvent(void *x) {
26945 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
26946 }
26947 static void *_p_wxPyEventTo_p_wxEvent(void *x) {
26948 return (void *)((wxEvent *) ((wxPyEvent *) x));
26949 }
26950 static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
26951 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
26952 }
26953 static void *_p_wxListEventTo_p_wxEvent(void *x) {
26954 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
26955 }
26956 static void *_p_wxNotebookEventTo_p_wxEvent(void *x) {
26957 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
26958 }
26959 static void *_p_wxListbookEventTo_p_wxEvent(void *x) {
26960 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
26961 }
26962 static void *_p_wxHelpEventTo_p_wxEvent(void *x) {
26963 return (void *)((wxEvent *) (wxCommandEvent *) ((wxHelpEvent *) x));
26964 }
26965 static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
26966 return (void *)((wxEvent *) ((wxIdleEvent *) x));
26967 }
26968 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
26969 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
26970 }
26971 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
26972 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
26973 }
26974 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
26975 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
26976 }
26977 static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
26978 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
26979 }
26980 static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
26981 return (void *)((wxEvent *) ((wxActivateEvent *) x));
26982 }
26983 static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
26984 return (void *)((wxEvent *) ((wxSizeEvent *) x));
26985 }
26986 static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
26987 return (void *)((wxEvent *) ((wxMoveEvent *) x));
26988 }
26989 static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
26990 return (void *)((wxEvent *) ((wxPaintEvent *) x));
26991 }
26992 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
26993 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
26994 }
26995 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
26996 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
26997 }
26998 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
26999 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
27000 }
27001 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
27002 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
27003 }
27004 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
27005 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27006 }
27007 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
27008 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
27009 }
27010 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
27011 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
27012 }
27013 static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
27014 return (void *)((wxEvent *) ((wxFocusEvent *) x));
27015 }
27016 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
27017 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
27018 }
27019 static void *_p_wxShowEventTo_p_wxEvent(void *x) {
27020 return (void *)((wxEvent *) ((wxShowEvent *) x));
27021 }
27022 static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
27023 return (void *)((wxEvent *) ((wxCommandEvent *) x));
27024 }
27025 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
27026 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
27027 }
27028 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
27029 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27030 }
27031 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
27032 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
27033 }
27034 static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
27035 return (void *)((wxEvent *) ((wxKeyEvent *) x));
27036 }
27037 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
27038 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
27039 }
27040 static void *_p_wxComboBoxTo_p_wxItemContainer(void *x) {
27041 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27042 }
27043 static void *_p_wxDirFilterListCtrlTo_p_wxItemContainer(void *x) {
27044 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27045 }
27046 static void *_p_wxChoiceTo_p_wxItemContainer(void *x) {
27047 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxChoice *) x));
27048 }
27049 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x) {
27050 return (void *)((wxItemContainer *) ((wxControlWithItems *) x));
27051 }
27052 static void *_p_wxListBoxTo_p_wxItemContainer(void *x) {
27053 return (void *)((wxItemContainer *) (wxControlWithItems *) ((wxListBox *) x));
27054 }
27055 static void *_p_wxCheckListBoxTo_p_wxItemContainer(void *x) {
27056 return (void *)((wxItemContainer *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27057 }
27058 static void *_p_wxListViewTo_p_wxPyListCtrl(void *x) {
27059 return (void *)((wxPyListCtrl *) ((wxListView *) x));
27060 }
27061 static void *_p_wxCheckListBoxTo_p_wxControl(void *x) {
27062 return (void *)((wxControl *) (wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27063 }
27064 static void *_p_wxListBoxTo_p_wxControl(void *x) {
27065 return (void *)((wxControl *) (wxControlWithItems *) ((wxListBox *) x));
27066 }
27067 static void *_p_wxChoiceTo_p_wxControl(void *x) {
27068 return (void *)((wxControl *) (wxControlWithItems *) ((wxChoice *) x));
27069 }
27070 static void *_p_wxToolBarTo_p_wxControl(void *x) {
27071 return (void *)((wxControl *) (wxToolBarBase *) ((wxToolBar *) x));
27072 }
27073 static void *_p_wxStaticBitmapTo_p_wxControl(void *x) {
27074 return (void *)((wxControl *) ((wxStaticBitmap *) x));
27075 }
27076 static void *_p_wxComboBoxTo_p_wxControl(void *x) {
27077 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27078 }
27079 static void *_p_wxSpinCtrlTo_p_wxControl(void *x) {
27080 return (void *)((wxControl *) ((wxSpinCtrl *) x));
27081 }
27082 static void *_p_wxStaticBoxTo_p_wxControl(void *x) {
27083 return (void *)((wxControl *) ((wxStaticBox *) x));
27084 }
27085 static void *_p_wxPyListCtrlTo_p_wxControl(void *x) {
27086 return (void *)((wxControl *) ((wxPyListCtrl *) x));
27087 }
27088 static void *_p_wxPyTreeCtrlTo_p_wxControl(void *x) {
27089 return (void *)((wxControl *) ((wxPyTreeCtrl *) x));
27090 }
27091 static void *_p_wxDirFilterListCtrlTo_p_wxControl(void *x) {
27092 return (void *)((wxControl *) (wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27093 }
27094 static void *_p_wxScrollBarTo_p_wxControl(void *x) {
27095 return (void *)((wxControl *) ((wxScrollBar *) x));
27096 }
27097 static void *_p_wxBookCtrlTo_p_wxControl(void *x) {
27098 return (void *)((wxControl *) ((wxBookCtrl *) x));
27099 }
27100 static void *_p_wxRadioButtonTo_p_wxControl(void *x) {
27101 return (void *)((wxControl *) ((wxRadioButton *) x));
27102 }
27103 static void *_p_wxToggleButtonTo_p_wxControl(void *x) {
27104 return (void *)((wxControl *) ((wxToggleButton *) x));
27105 }
27106 static void *_p_wxGaugeTo_p_wxControl(void *x) {
27107 return (void *)((wxControl *) ((wxGauge *) x));
27108 }
27109 static void *_p_wxToolBarBaseTo_p_wxControl(void *x) {
27110 return (void *)((wxControl *) ((wxToolBarBase *) x));
27111 }
27112 static void *_p_wxBitmapButtonTo_p_wxControl(void *x) {
27113 return (void *)((wxControl *) (wxButton *) ((wxBitmapButton *) x));
27114 }
27115 static void *_p_wxButtonTo_p_wxControl(void *x) {
27116 return (void *)((wxControl *) ((wxButton *) x));
27117 }
27118 static void *_p_wxSpinButtonTo_p_wxControl(void *x) {
27119 return (void *)((wxControl *) ((wxSpinButton *) x));
27120 }
27121 static void *_p_wxContextHelpButtonTo_p_wxControl(void *x) {
27122 return (void *)((wxControl *) (wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27123 }
27124 static void *_p_wxControlWithItemsTo_p_wxControl(void *x) {
27125 return (void *)((wxControl *) ((wxControlWithItems *) x));
27126 }
27127 static void *_p_wxRadioBoxTo_p_wxControl(void *x) {
27128 return (void *)((wxControl *) ((wxRadioBox *) x));
27129 }
27130 static void *_p_wxNotebookTo_p_wxControl(void *x) {
27131 return (void *)((wxControl *) (wxBookCtrl *) ((wxNotebook *) x));
27132 }
27133 static void *_p_wxListbookTo_p_wxControl(void *x) {
27134 return (void *)((wxControl *) (wxBookCtrl *) ((wxListbook *) x));
27135 }
27136 static void *_p_wxCheckBoxTo_p_wxControl(void *x) {
27137 return (void *)((wxControl *) ((wxCheckBox *) x));
27138 }
27139 static void *_p_wxTextCtrlTo_p_wxControl(void *x) {
27140 return (void *)((wxControl *) ((wxTextCtrl *) x));
27141 }
27142 static void *_p_wxListViewTo_p_wxControl(void *x) {
27143 return (void *)((wxControl *) (wxPyListCtrl *) ((wxListView *) x));
27144 }
27145 static void *_p_wxSliderTo_p_wxControl(void *x) {
27146 return (void *)((wxControl *) ((wxSlider *) x));
27147 }
27148 static void *_p_wxGenericDirCtrlTo_p_wxControl(void *x) {
27149 return (void *)((wxControl *) ((wxGenericDirCtrl *) x));
27150 }
27151 static void *_p_wxPyControlTo_p_wxControl(void *x) {
27152 return (void *)((wxControl *) ((wxPyControl *) x));
27153 }
27154 static void *_p_wxStaticLineTo_p_wxControl(void *x) {
27155 return (void *)((wxControl *) ((wxStaticLine *) x));
27156 }
27157 static void *_p_wxStaticTextTo_p_wxControl(void *x) {
27158 return (void *)((wxControl *) ((wxStaticText *) x));
27159 }
27160 static void *_p_wxToolBarTo_p_wxToolBarBase(void *x) {
27161 return (void *)((wxToolBarBase *) ((wxToolBar *) x));
27162 }
27163 static void *_p_wxComboBoxTo_p_wxChoice(void *x) {
27164 return (void *)((wxChoice *) ((wxComboBox *) x));
27165 }
27166 static void *_p_wxDirFilterListCtrlTo_p_wxChoice(void *x) {
27167 return (void *)((wxChoice *) ((wxDirFilterListCtrl *) x));
27168 }
27169 static void *_p_wxTreeEventTo_p_wxNotifyEvent(void *x) {
27170 return (void *)((wxNotifyEvent *) ((wxTreeEvent *) x));
27171 }
27172 static void *_p_wxBookCtrlEventTo_p_wxNotifyEvent(void *x) {
27173 return (void *)((wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27174 }
27175 static void *_p_wxListEventTo_p_wxNotifyEvent(void *x) {
27176 return (void *)((wxNotifyEvent *) ((wxListEvent *) x));
27177 }
27178 static void *_p_wxNotebookEventTo_p_wxNotifyEvent(void *x) {
27179 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27180 }
27181 static void *_p_wxListbookEventTo_p_wxNotifyEvent(void *x) {
27182 return (void *)((wxNotifyEvent *) (wxBookCtrlEvent *) ((wxListbookEvent *) x));
27183 }
27184 static void *_p_wxBookCtrlTo_p_wxEvtHandler(void *x) {
27185 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27186 }
27187 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
27188 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
27189 }
27190 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
27191 return (void *)((wxEvtHandler *) ((wxValidator *) x));
27192 }
27193 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
27194 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
27195 }
27196 static void *_p_wxToolBarTo_p_wxEvtHandler(void *x) {
27197 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27198 }
27199 static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
27200 return (void *)((wxEvtHandler *) ((wxMenu *) x));
27201 }
27202 static void *_p_wxToggleButtonTo_p_wxEvtHandler(void *x) {
27203 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToggleButton *) x));
27204 }
27205 static void *_p_wxRadioButtonTo_p_wxEvtHandler(void *x) {
27206 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioButton *) x));
27207 }
27208 static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
27209 return (void *)((wxEvtHandler *) ((wxWindow *) x));
27210 }
27211 static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
27212 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
27213 }
27214 static void *_p_wxToolBarBaseTo_p_wxEvtHandler(void *x) {
27215 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27216 }
27217 static void *_p_wxPyListCtrlTo_p_wxEvtHandler(void *x) {
27218 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27219 }
27220 static void *_p_wxComboBoxTo_p_wxEvtHandler(void *x) {
27221 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27222 }
27223 static void *_p_wxDirFilterListCtrlTo_p_wxEvtHandler(void *x) {
27224 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27225 }
27226 static void *_p_wxPyControlTo_p_wxEvtHandler(void *x) {
27227 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyControl *) x));
27228 }
27229 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
27230 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
27231 }
27232 static void *_p_wxGenericDirCtrlTo_p_wxEvtHandler(void *x) {
27233 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27234 }
27235 static void *_p_wxScrollBarTo_p_wxEvtHandler(void *x) {
27236 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxScrollBar *) x));
27237 }
27238 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
27239 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27240 }
27241 static void *_p_wxGaugeTo_p_wxEvtHandler(void *x) {
27242 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxGauge *) x));
27243 }
27244 static void *_p_wxStaticLineTo_p_wxEvtHandler(void *x) {
27245 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticLine *) x));
27246 }
27247 static void *_p_wxListbookTo_p_wxEvtHandler(void *x) {
27248 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27249 }
27250 static void *_p_wxPyTreeCtrlTo_p_wxEvtHandler(void *x) {
27251 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27252 }
27253 static void *_p_wxCheckBoxTo_p_wxEvtHandler(void *x) {
27254 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxCheckBox *) x));
27255 }
27256 static void *_p_wxRadioBoxTo_p_wxEvtHandler(void *x) {
27257 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxRadioBox *) x));
27258 }
27259 static void *_p_wxCheckListBoxTo_p_wxEvtHandler(void *x) {
27260 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27261 }
27262 static void *_p_wxListBoxTo_p_wxEvtHandler(void *x) {
27263 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27264 }
27265 static void *_p_wxChoiceTo_p_wxEvtHandler(void *x) {
27266 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27267 }
27268 static void *_p_wxNotebookTo_p_wxEvtHandler(void *x) {
27269 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27270 }
27271 static void *_p_wxStaticBitmapTo_p_wxEvtHandler(void *x) {
27272 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27273 }
27274 static void *_p_wxListViewTo_p_wxEvtHandler(void *x) {
27275 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27276 }
27277 static void *_p_wxSpinCtrlTo_p_wxEvtHandler(void *x) {
27278 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27279 }
27280 static void *_p_wxStaticTextTo_p_wxEvtHandler(void *x) {
27281 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticText *) x));
27282 }
27283 static void *_p_wxStaticBoxTo_p_wxEvtHandler(void *x) {
27284 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxStaticBox *) x));
27285 }
27286 static void *_p_wxSliderTo_p_wxEvtHandler(void *x) {
27287 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSlider *) x));
27288 }
27289 static void *_p_wxSpinButtonTo_p_wxEvtHandler(void *x) {
27290 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxSpinButton *) x));
27291 }
27292 static void *_p_wxButtonTo_p_wxEvtHandler(void *x) {
27293 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxButton *) x));
27294 }
27295 static void *_p_wxBitmapButtonTo_p_wxEvtHandler(void *x) {
27296 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27297 }
27298 static void *_p_wxContextHelpButtonTo_p_wxEvtHandler(void *x) {
27299 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27300 }
27301 static void *_p_wxTextCtrlTo_p_wxEvtHandler(void *x) {
27302 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27303 }
27304 static void *_p_wxCheckListBoxTo_p_wxListBox(void *x) {
27305 return (void *)((wxListBox *) ((wxCheckListBox *) x));
27306 }
27307 static void *_p_wxListbookTo_p_wxBookCtrl(void *x) {
27308 return (void *)((wxBookCtrl *) ((wxListbook *) x));
27309 }
27310 static void *_p_wxNotebookTo_p_wxBookCtrl(void *x) {
27311 return (void *)((wxBookCtrl *) ((wxNotebook *) x));
27312 }
27313 static void *_p_wxBitmapButtonTo_p_wxButton(void *x) {
27314 return (void *)((wxButton *) ((wxBitmapButton *) x));
27315 }
27316 static void *_p_wxContextHelpButtonTo_p_wxButton(void *x) {
27317 return (void *)((wxButton *) (wxBitmapButton *) ((wxContextHelpButton *) x));
27318 }
27319 static void *_p_wxContextHelpButtonTo_p_wxBitmapButton(void *x) {
27320 return (void *)((wxBitmapButton *) ((wxContextHelpButton *) x));
27321 }
27322 static void *_p_wxSimpleHelpProviderTo_p_wxHelpProvider(void *x) {
27323 return (void *)((wxHelpProvider *) ((wxSimpleHelpProvider *) x));
27324 }
27325 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
27326 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
27327 }
27328 static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
27329 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
27330 }
27331 static void *_p_wxSizerItemTo_p_wxObject(void *x) {
27332 return (void *)((wxObject *) ((wxSizerItem *) x));
27333 }
27334 static void *_p_wxScrollEventTo_p_wxObject(void *x) {
27335 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
27336 }
27337 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
27338 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
27339 }
27340 static void *_p_wxTextUrlEventTo_p_wxObject(void *x) {
27341 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxTextUrlEvent *) x));
27342 }
27343 static void *_p_wxBookCtrlEventTo_p_wxObject(void *x) {
27344 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27345 }
27346 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
27347 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
27348 }
27349 static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
27350 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
27351 }
27352 static void *_p_wxSizerTo_p_wxObject(void *x) {
27353 return (void *)((wxObject *) ((wxSizer *) x));
27354 }
27355 static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
27356 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
27357 }
27358 static void *_p_wxCheckBoxTo_p_wxObject(void *x) {
27359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxCheckBox *) x));
27360 }
27361 static void *_p_wxPyTreeCtrlTo_p_wxObject(void *x) {
27362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyTreeCtrl *) x));
27363 }
27364 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
27365 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
27366 }
27367 static void *_p_wxEventTo_p_wxObject(void *x) {
27368 return (void *)((wxObject *) ((wxEvent *) x));
27369 }
27370 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
27371 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
27372 }
27373 static void *_p_wxGridSizerTo_p_wxObject(void *x) {
27374 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
27375 }
27376 static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
27377 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
27378 }
27379 static void *_p_wxGenericDirCtrlTo_p_wxObject(void *x) {
27380 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGenericDirCtrl *) x));
27381 }
27382 static void *_p_wxPyListCtrlTo_p_wxObject(void *x) {
27383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyListCtrl *) x));
27384 }
27385 static void *_p_wxDirFilterListCtrlTo_p_wxObject(void *x) {
27386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27387 }
27388 static void *_p_wxPaintEventTo_p_wxObject(void *x) {
27389 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
27390 }
27391 static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
27392 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
27393 }
27394 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
27395 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
27396 }
27397 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
27398 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
27399 }
27400 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
27401 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
27402 }
27403 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
27404 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
27405 }
27406 static void *_p_wxStaticLineTo_p_wxObject(void *x) {
27407 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticLine *) x));
27408 }
27409 static void *_p_wxControlTo_p_wxObject(void *x) {
27410 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
27411 }
27412 static void *_p_wxPyControlTo_p_wxObject(void *x) {
27413 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxPyControl *) x));
27414 }
27415 static void *_p_wxGaugeTo_p_wxObject(void *x) {
27416 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxGauge *) x));
27417 }
27418 static void *_p_wxRadioButtonTo_p_wxObject(void *x) {
27419 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioButton *) x));
27420 }
27421 static void *_p_wxToggleButtonTo_p_wxObject(void *x) {
27422 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToggleButton *) x));
27423 }
27424 static void *_p_wxToolBarBaseTo_p_wxObject(void *x) {
27425 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxToolBarBase *) x));
27426 }
27427 static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
27428 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
27429 }
27430 static void *_p_wxChoiceTo_p_wxObject(void *x) {
27431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27432 }
27433 static void *_p_wxFSFileTo_p_wxObject(void *x) {
27434 return (void *)((wxObject *) ((wxFSFile *) x));
27435 }
27436 static void *_p_wxPySizerTo_p_wxObject(void *x) {
27437 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
27438 }
27439 static void *_p_wxListViewTo_p_wxObject(void *x) {
27440 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27441 }
27442 static void *_p_wxTextCtrlTo_p_wxObject(void *x) {
27443 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxTextCtrl *) x));
27444 }
27445 static void *_p_wxNotebookTo_p_wxObject(void *x) {
27446 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27447 }
27448 static void *_p_wxPyEventTo_p_wxObject(void *x) {
27449 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
27450 }
27451 static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
27452 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
27453 }
27454 static void *_p_wxListbookTo_p_wxObject(void *x) {
27455 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27456 }
27457 static void *_p_wxShowEventTo_p_wxObject(void *x) {
27458 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
27459 }
27460 static void *_p_wxStaticBitmapTo_p_wxObject(void *x) {
27461 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBitmap *) x));
27462 }
27463 static void *_p_wxSliderTo_p_wxObject(void *x) {
27464 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSlider *) x));
27465 }
27466 static void *_p_wxMenuItemTo_p_wxObject(void *x) {
27467 return (void *)((wxObject *) ((wxMenuItem *) x));
27468 }
27469 static void *_p_wxIdleEventTo_p_wxObject(void *x) {
27470 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
27471 }
27472 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
27473 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
27474 }
27475 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
27476 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
27477 }
27478 static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
27479 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
27480 }
27481 static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
27482 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
27483 }
27484 static void *_p_wxSizeEventTo_p_wxObject(void *x) {
27485 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
27486 }
27487 static void *_p_wxMoveEventTo_p_wxObject(void *x) {
27488 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
27489 }
27490 static void *_p_wxActivateEventTo_p_wxObject(void *x) {
27491 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
27492 }
27493 static void *_p_wxStaticBoxTo_p_wxObject(void *x) {
27494 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticBox *) x));
27495 }
27496 static void *_p_wxContextHelpTo_p_wxObject(void *x) {
27497 return (void *)((wxObject *) ((wxContextHelp *) x));
27498 }
27499 static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
27500 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
27501 }
27502 static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
27503 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
27504 }
27505 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
27506 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
27507 }
27508 static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
27509 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
27510 }
27511 static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
27512 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
27513 }
27514 static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
27515 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
27516 }
27517 static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
27518 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
27519 }
27520 static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
27521 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
27522 }
27523 static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
27524 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
27525 }
27526 static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
27527 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
27528 }
27529 static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
27530 return (void *)((wxObject *) ((wxImageHandler *) x));
27531 }
27532 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
27533 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
27534 }
27535 static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
27536 return (void *)((wxObject *) ((wxEvtHandler *) x));
27537 }
27538 static void *_p_wxListEventTo_p_wxObject(void *x) {
27539 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxListEvent *) x));
27540 }
27541 static void *_p_wxListBoxTo_p_wxObject(void *x) {
27542 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27543 }
27544 static void *_p_wxCheckListBoxTo_p_wxObject(void *x) {
27545 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27546 }
27547 static void *_p_wxBookCtrlTo_p_wxObject(void *x) {
27548 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxBookCtrl *) x));
27549 }
27550 static void *_p_wxButtonTo_p_wxObject(void *x) {
27551 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxButton *) x));
27552 }
27553 static void *_p_wxBitmapButtonTo_p_wxObject(void *x) {
27554 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *) ((wxBitmapButton *) x));
27555 }
27556 static void *_p_wxSpinButtonTo_p_wxObject(void *x) {
27557 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinButton *) x));
27558 }
27559 static void *_p_wxContextHelpButtonTo_p_wxObject(void *x) {
27560 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27561 }
27562 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
27563 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
27564 }
27565 static void *_p_wxScrollBarTo_p_wxObject(void *x) {
27566 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxScrollBar *) x));
27567 }
27568 static void *_p_wxRadioBoxTo_p_wxObject(void *x) {
27569 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxRadioBox *) x));
27570 }
27571 static void *_p_wxComboBoxTo_p_wxObject(void *x) {
27572 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27573 }
27574 static void *_p_wxHelpEventTo_p_wxObject(void *x) {
27575 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxHelpEvent *) x));
27576 }
27577 static void *_p_wxListItemTo_p_wxObject(void *x) {
27578 return (void *)((wxObject *) ((wxListItem *) x));
27579 }
27580 static void *_p_wxImageTo_p_wxObject(void *x) {
27581 return (void *)((wxObject *) ((wxImage *) x));
27582 }
27583 static void *_p_wxNotebookSizerTo_p_wxObject(void *x) {
27584 return (void *)((wxObject *) (wxSizer *) ((wxNotebookSizer *) x));
27585 }
27586 static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
27587 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
27588 }
27589 static void *_p_wxGenericDragImageTo_p_wxObject(void *x) {
27590 return (void *)((wxObject *) ((wxGenericDragImage *) x));
27591 }
27592 static void *_p_wxSpinCtrlTo_p_wxObject(void *x) {
27593 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxSpinCtrl *) x));
27594 }
27595 static void *_p_wxNotebookEventTo_p_wxObject(void *x) {
27596 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27597 }
27598 static void *_p_wxListbookEventTo_p_wxObject(void *x) {
27599 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27600 }
27601 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
27602 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27603 }
27604 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
27605 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
27606 }
27607 static void *_p_wxKeyEventTo_p_wxObject(void *x) {
27608 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
27609 }
27610 static void *_p_wxWindowTo_p_wxObject(void *x) {
27611 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
27612 }
27613 static void *_p_wxMenuTo_p_wxObject(void *x) {
27614 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
27615 }
27616 static void *_p_wxMenuBarTo_p_wxObject(void *x) {
27617 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
27618 }
27619 static void *_p_wxFileSystemTo_p_wxObject(void *x) {
27620 return (void *)((wxObject *) ((wxFileSystem *) x));
27621 }
27622 static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
27623 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
27624 }
27625 static void *_p_wxMenuEventTo_p_wxObject(void *x) {
27626 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
27627 }
27628 static void *_p_wxPyAppTo_p_wxObject(void *x) {
27629 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
27630 }
27631 static void *_p_wxCloseEventTo_p_wxObject(void *x) {
27632 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
27633 }
27634 static void *_p_wxMouseEventTo_p_wxObject(void *x) {
27635 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
27636 }
27637 static void *_p_wxEraseEventTo_p_wxObject(void *x) {
27638 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
27639 }
27640 static void *_p_wxTreeEventTo_p_wxObject(void *x) {
27641 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxTreeEvent *) x));
27642 }
27643 static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
27644 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
27645 }
27646 static void *_p_wxCommandEventTo_p_wxObject(void *x) {
27647 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
27648 }
27649 static void *_p_wxStaticTextTo_p_wxObject(void *x) {
27650 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxStaticText *) x));
27651 }
27652 static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
27653 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
27654 }
27655 static void *_p_wxFocusEventTo_p_wxObject(void *x) {
27656 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
27657 }
27658 static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
27659 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
27660 }
27661 static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
27662 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
27663 }
27664 static void *_p_wxToolBarToolBaseTo_p_wxObject(void *x) {
27665 return (void *)((wxObject *) ((wxToolBarToolBase *) x));
27666 }
27667 static void *_p_wxToolBarTo_p_wxObject(void *x) {
27668 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27669 }
27670 static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
27671 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
27672 }
27673 static void *_p_wxValidatorTo_p_wxObject(void *x) {
27674 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
27675 }
27676 static void *_p_wxBookCtrlSizerTo_p_wxObject(void *x) {
27677 return (void *)((wxObject *) (wxSizer *) ((wxBookCtrlSizer *) x));
27678 }
27679 static void *_p_wxBookCtrlTo_p_wxWindow(void *x) {
27680 return (void *)((wxWindow *) (wxControl *) ((wxBookCtrl *) x));
27681 }
27682 static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
27683 return (void *)((wxWindow *) ((wxMenuBar *) x));
27684 }
27685 static void *_p_wxToolBarTo_p_wxWindow(void *x) {
27686 return (void *)((wxWindow *) (wxControl *)(wxToolBarBase *) ((wxToolBar *) x));
27687 }
27688 static void *_p_wxToggleButtonTo_p_wxWindow(void *x) {
27689 return (void *)((wxWindow *) (wxControl *) ((wxToggleButton *) x));
27690 }
27691 static void *_p_wxRadioButtonTo_p_wxWindow(void *x) {
27692 return (void *)((wxWindow *) (wxControl *) ((wxRadioButton *) x));
27693 }
27694 static void *_p_wxPyControlTo_p_wxWindow(void *x) {
27695 return (void *)((wxWindow *) (wxControl *) ((wxPyControl *) x));
27696 }
27697 static void *_p_wxControlTo_p_wxWindow(void *x) {
27698 return (void *)((wxWindow *) ((wxControl *) x));
27699 }
27700 static void *_p_wxToolBarBaseTo_p_wxWindow(void *x) {
27701 return (void *)((wxWindow *) (wxControl *) ((wxToolBarBase *) x));
27702 }
27703 static void *_p_wxDirFilterListCtrlTo_p_wxWindow(void *x) {
27704 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxDirFilterListCtrl *) x));
27705 }
27706 static void *_p_wxPyListCtrlTo_p_wxWindow(void *x) {
27707 return (void *)((wxWindow *) (wxControl *) ((wxPyListCtrl *) x));
27708 }
27709 static void *_p_wxComboBoxTo_p_wxWindow(void *x) {
27710 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxChoice *) ((wxComboBox *) x));
27711 }
27712 static void *_p_wxGenericDirCtrlTo_p_wxWindow(void *x) {
27713 return (void *)((wxWindow *) (wxControl *) ((wxGenericDirCtrl *) x));
27714 }
27715 static void *_p_wxScrollBarTo_p_wxWindow(void *x) {
27716 return (void *)((wxWindow *) (wxControl *) ((wxScrollBar *) x));
27717 }
27718 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
27719 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
27720 }
27721 static void *_p_wxGaugeTo_p_wxWindow(void *x) {
27722 return (void *)((wxWindow *) (wxControl *) ((wxGauge *) x));
27723 }
27724 static void *_p_wxStaticLineTo_p_wxWindow(void *x) {
27725 return (void *)((wxWindow *) (wxControl *) ((wxStaticLine *) x));
27726 }
27727 static void *_p_wxListbookTo_p_wxWindow(void *x) {
27728 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxListbook *) x));
27729 }
27730 static void *_p_wxPyTreeCtrlTo_p_wxWindow(void *x) {
27731 return (void *)((wxWindow *) (wxControl *) ((wxPyTreeCtrl *) x));
27732 }
27733 static void *_p_wxCheckBoxTo_p_wxWindow(void *x) {
27734 return (void *)((wxWindow *) (wxControl *) ((wxCheckBox *) x));
27735 }
27736 static void *_p_wxRadioBoxTo_p_wxWindow(void *x) {
27737 return (void *)((wxWindow *) (wxControl *) ((wxRadioBox *) x));
27738 }
27739 static void *_p_wxCheckListBoxTo_p_wxWindow(void *x) {
27740 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *)(wxListBox *) ((wxCheckListBox *) x));
27741 }
27742 static void *_p_wxChoiceTo_p_wxWindow(void *x) {
27743 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxChoice *) x));
27744 }
27745 static void *_p_wxListBoxTo_p_wxWindow(void *x) {
27746 return (void *)((wxWindow *) (wxControl *)(wxControlWithItems *) ((wxListBox *) x));
27747 }
27748 static void *_p_wxListViewTo_p_wxWindow(void *x) {
27749 return (void *)((wxWindow *) (wxControl *)(wxPyListCtrl *) ((wxListView *) x));
27750 }
27751 static void *_p_wxNotebookTo_p_wxWindow(void *x) {
27752 return (void *)((wxWindow *) (wxControl *)(wxBookCtrl *) ((wxNotebook *) x));
27753 }
27754 static void *_p_wxStaticBitmapTo_p_wxWindow(void *x) {
27755 return (void *)((wxWindow *) (wxControl *) ((wxStaticBitmap *) x));
27756 }
27757 static void *_p_wxSpinCtrlTo_p_wxWindow(void *x) {
27758 return (void *)((wxWindow *) (wxControl *) ((wxSpinCtrl *) x));
27759 }
27760 static void *_p_wxStaticTextTo_p_wxWindow(void *x) {
27761 return (void *)((wxWindow *) (wxControl *) ((wxStaticText *) x));
27762 }
27763 static void *_p_wxStaticBoxTo_p_wxWindow(void *x) {
27764 return (void *)((wxWindow *) (wxControl *) ((wxStaticBox *) x));
27765 }
27766 static void *_p_wxSliderTo_p_wxWindow(void *x) {
27767 return (void *)((wxWindow *) (wxControl *) ((wxSlider *) x));
27768 }
27769 static void *_p_wxSpinButtonTo_p_wxWindow(void *x) {
27770 return (void *)((wxWindow *) (wxControl *) ((wxSpinButton *) x));
27771 }
27772 static void *_p_wxButtonTo_p_wxWindow(void *x) {
27773 return (void *)((wxWindow *) (wxControl *) ((wxButton *) x));
27774 }
27775 static void *_p_wxBitmapButtonTo_p_wxWindow(void *x) {
27776 return (void *)((wxWindow *) (wxControl *)(wxButton *) ((wxBitmapButton *) x));
27777 }
27778 static void *_p_wxContextHelpButtonTo_p_wxWindow(void *x) {
27779 return (void *)((wxWindow *) (wxControl *)(wxButton *)(wxBitmapButton *) ((wxContextHelpButton *) x));
27780 }
27781 static void *_p_wxTextCtrlTo_p_wxWindow(void *x) {
27782 return (void *)((wxWindow *) (wxControl *) ((wxTextCtrl *) x));
27783 }
27784 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
27785 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
27786 }
27787 static void *_p_wxBookCtrlEventTo_p_wxCommandEvent(void *x) {
27788 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxBookCtrlEvent *) x));
27789 }
27790 static void *_p_wxTextUrlEventTo_p_wxCommandEvent(void *x) {
27791 return (void *)((wxCommandEvent *) ((wxTextUrlEvent *) x));
27792 }
27793 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
27794 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
27795 }
27796 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
27797 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
27798 }
27799 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
27800 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
27801 }
27802 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
27803 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
27804 }
27805 static void *_p_wxListbookEventTo_p_wxCommandEvent(void *x) {
27806 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxListbookEvent *) x));
27807 }
27808 static void *_p_wxNotebookEventTo_p_wxCommandEvent(void *x) {
27809 return (void *)((wxCommandEvent *) (wxNotifyEvent *)(wxBookCtrlEvent *) ((wxNotebookEvent *) x));
27810 }
27811 static void *_p_wxListEventTo_p_wxCommandEvent(void *x) {
27812 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxListEvent *) x));
27813 }
27814 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
27815 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
27816 }
27817 static void *_p_wxTreeEventTo_p_wxCommandEvent(void *x) {
27818 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxTreeEvent *) x));
27819 }
27820 static void *_p_wxHelpEventTo_p_wxCommandEvent(void *x) {
27821 return (void *)((wxCommandEvent *) ((wxHelpEvent *) x));
27822 }
27823 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
27824 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
27825 }
27826 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
27827 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
27828 }
27829 static void *_p_wxComboBoxTo_p_wxControlWithItems(void *x) {
27830 return (void *)((wxControlWithItems *) (wxChoice *) ((wxComboBox *) x));
27831 }
27832 static void *_p_wxDirFilterListCtrlTo_p_wxControlWithItems(void *x) {
27833 return (void *)((wxControlWithItems *) (wxChoice *) ((wxDirFilterListCtrl *) x));
27834 }
27835 static void *_p_wxChoiceTo_p_wxControlWithItems(void *x) {
27836 return (void *)((wxControlWithItems *) ((wxChoice *) x));
27837 }
27838 static void *_p_wxListBoxTo_p_wxControlWithItems(void *x) {
27839 return (void *)((wxControlWithItems *) ((wxListBox *) x));
27840 }
27841 static void *_p_wxCheckListBoxTo_p_wxControlWithItems(void *x) {
27842 return (void *)((wxControlWithItems *) (wxListBox *) ((wxCheckListBox *) x));
27843 }
27844 static void *_p_wxPyValidatorTo_p_wxValidator(void *x) {
27845 return (void *)((wxValidator *) ((wxPyValidator *) x));
27846 }
27847 static swig_type_info _swigt__p_wxTextUrlEvent[] = {{"_p_wxTextUrlEvent", 0, "wxTextUrlEvent *", 0},{"_p_wxTextUrlEvent"},{0}};
27848 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}};
27849 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}};
27850 static swig_type_info _swigt__p_wxTreeItemIdValue[] = {{"_p_wxTreeItemIdValue", 0, "wxTreeItemIdValue *", 0},{"_p_wxTreeItemIdValue"},{0}};
27851 static swig_type_info _swigt__wxTreeItemIdValue[] = {{"_wxTreeItemIdValue", 0, "wxTreeItemIdValue", 0},{"_wxTreeItemIdValue"},{0}};
27852 static swig_type_info _swigt__p_wxCheckBox[] = {{"_p_wxCheckBox", 0, "wxCheckBox *", 0},{"_p_wxCheckBox"},{0}};
27853 static swig_type_info _swigt__p_wxPyTreeCtrl[] = {{"_p_wxPyTreeCtrl", 0, "wxPyTreeCtrl *", 0},{"_p_wxPyTreeCtrl"},{0}};
27854 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}};
27855 static swig_type_info _swigt__p_wxGenericDirCtrl[] = {{"_p_wxGenericDirCtrl", 0, "wxGenericDirCtrl *", 0},{"_p_wxGenericDirCtrl"},{0}};
27856 static swig_type_info _swigt__p_bool[] = {{"_p_bool", 0, "bool *", 0},{"_p_bool"},{0}};
27857 static swig_type_info _swigt__p_wxPyTreeItemData[] = {{"_p_wxPyTreeItemData", 0, "wxPyTreeItemData *", 0},{"_p_wxPyTreeItemData"},{0}};
27858 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}};
27859 static swig_type_info _swigt__p_wxDirFilterListCtrl[] = {{"_p_wxDirFilterListCtrl", 0, "wxDirFilterListCtrl *", 0},{"_p_wxDirFilterListCtrl"},{0}};
27860 static swig_type_info _swigt__p_wxPyListCtrl[] = {{"_p_wxPyListCtrl", 0, "wxPyListCtrl *", 0},{"_p_wxPyListCtrl"},{"_p_wxListView", _p_wxListViewTo_p_wxPyListCtrl},{0}};
27861 static swig_type_info _swigt__p_wxStaticLine[] = {{"_p_wxStaticLine", 0, "wxStaticLine *", 0},{"_p_wxStaticLine"},{0}};
27862 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}};
27863 static swig_type_info _swigt__p_wxPyControl[] = {{"_p_wxPyControl", 0, "wxPyControl *", 0},{"_p_wxPyControl"},{0}};
27864 static swig_type_info _swigt__p_wxGauge[] = {{"_p_wxGauge", 0, "wxGauge *", 0},{"_p_wxGauge"},{0}};
27865 static swig_type_info _swigt__p_wxToolBarBase[] = {{"_p_wxToolBarBase", 0, "wxToolBarBase *", 0},{"_p_wxToolBarBase"},{"_p_wxToolBar", _p_wxToolBarTo_p_wxToolBarBase},{0}};
27866 static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
27867 static swig_type_info _swigt__p_wxToggleButton[] = {{"_p_wxToggleButton", 0, "wxToggleButton *", 0},{"_p_wxToggleButton"},{0}};
27868 static swig_type_info _swigt__p_wxRadioButton[] = {{"_p_wxRadioButton", 0, "wxRadioButton *", 0},{"_p_wxRadioButton"},{0}};
27869 static swig_type_info _swigt__p_wxChoice[] = {{"_p_wxChoice", 0, "wxChoice *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxChoice},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxChoice},{"_p_wxChoice"},{0}};
27870 static swig_type_info _swigt__p_wxMemoryDC[] = {{"_p_wxMemoryDC", 0, "wxMemoryDC *", 0},{"_p_wxMemoryDC"},{0}};
27871 static swig_type_info _swigt__p_wxListItemAttr[] = {{"_p_wxListItemAttr", 0, "wxListItemAttr *", 0},{"_p_wxListItemAttr"},{0}};
27872 static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
27873 static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
27874 static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
27875 static swig_type_info _swigt__p_wxListView[] = {{"_p_wxListView", 0, "wxListView *", 0},{"_p_wxListView"},{0}};
27876 static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
27877 static swig_type_info _swigt__p_wxTextCtrl[] = {{"_p_wxTextCtrl", 0, "wxTextCtrl *", 0},{"_p_wxTextCtrl"},{0}};
27878 static swig_type_info _swigt__p_wxNotebook[] = {{"_p_wxNotebook", 0, "wxNotebook *", 0},{"_p_wxNotebook"},{0}};
27879 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}};
27880 static swig_type_info _swigt__p_wxArrayString[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
27881 static swig_type_info _swigt__p_wxListbook[] = {{"_p_wxListbook", 0, "wxListbook *", 0},{"_p_wxListbook"},{0}};
27882 static swig_type_info _swigt__p_wxStaticBitmap[] = {{"_p_wxStaticBitmap", 0, "wxStaticBitmap *", 0},{"_p_wxStaticBitmap"},{0}};
27883 static swig_type_info _swigt__p_wxSlider[] = {{"_p_wxSlider", 0, "wxSlider *", 0},{"_p_wxSlider"},{0}};
27884 static swig_type_info _swigt__p_wxStaticBox[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
27885 static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
27886 static swig_type_info _swigt__p_wxContextHelp[] = {{"_p_wxContextHelp", 0, "wxContextHelp *", 0},{"_p_wxContextHelp"},{0}};
27887 static swig_type_info _swigt__p_long[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
27888 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}};
27889 static swig_type_info _swigt__p_wxListEvent[] = {{"_p_wxListEvent", 0, "wxListEvent *", 0},{"_p_wxListEvent"},{0}};
27890 static swig_type_info _swigt__p_wxListBox[] = {{"_p_wxListBox", 0, "wxListBox *", 0},{"_p_wxListBox"},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxListBox},{0}};
27891 static swig_type_info _swigt__p_wxCheckListBox[] = {{"_p_wxCheckListBox", 0, "wxCheckListBox *", 0},{"_p_wxCheckListBox"},{0}};
27892 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}};
27893 static swig_type_info _swigt__p_wxSpinButton[] = {{"_p_wxSpinButton", 0, "wxSpinButton *", 0},{"_p_wxSpinButton"},{0}};
27894 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}};
27895 static swig_type_info _swigt__p_wxBitmapButton[] = {{"_p_wxBitmapButton", 0, "wxBitmapButton *", 0},{"_p_wxBitmapButton"},{"_p_wxContextHelpButton", _p_wxContextHelpButtonTo_p_wxBitmapButton},{0}};
27896 static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
27897 static swig_type_info _swigt__p_wxContextHelpButton[] = {{"_p_wxContextHelpButton", 0, "wxContextHelpButton *", 0},{"_p_wxContextHelpButton"},{0}};
27898 static swig_type_info _swigt__p_wxRadioBox[] = {{"_p_wxRadioBox", 0, "wxRadioBox *", 0},{"_p_wxRadioBox"},{0}};
27899 static swig_type_info _swigt__p_wxScrollBar[] = {{"_p_wxScrollBar", 0, "wxScrollBar *", 0},{"_p_wxScrollBar"},{0}};
27900 static swig_type_info _swigt__p_wxTreeItemId[] = {{"_p_wxTreeItemId", 0, "wxTreeItemId *", 0},{"_p_wxTreeItemId"},{0}};
27901 static swig_type_info _swigt__p_wxComboBox[] = {{"_p_wxComboBox", 0, "wxComboBox *", 0},{"_p_wxComboBox"},{0}};
27902 static swig_type_info _swigt__p_wxHelpEvent[] = {{"_p_wxHelpEvent", 0, "wxHelpEvent *", 0},{"_p_wxHelpEvent"},{0}};
27903 static swig_type_info _swigt__p_wxListItem[] = {{"_p_wxListItem", 0, "wxListItem *", 0},{"_p_wxListItem"},{0}};
27904 static swig_type_info _swigt__p_wxNotebookSizer[] = {{"_p_wxNotebookSizer", 0, "wxNotebookSizer *", 0},{"_p_wxNotebookSizer"},{0}};
27905 static swig_type_info _swigt__p_wxGenericDragImage[] = {{"_p_wxGenericDragImage", 0, "wxGenericDragImage *", 0},{"_p_wxGenericDragImage"},{0}};
27906 static swig_type_info _swigt__p_wxSpinCtrl[] = {{"_p_wxSpinCtrl", 0, "wxSpinCtrl *", 0},{"_p_wxSpinCtrl"},{0}};
27907 static swig_type_info _swigt__p_wxImageList[] = {{"_p_wxImageList", 0, "wxImageList *", 0},{"_p_wxImageList"},{0}};
27908 static swig_type_info _swigt__p_wxHelpProvider[] = {{"_p_wxHelpProvider", 0, "wxHelpProvider *", 0},{"_p_wxHelpProvider"},{"_p_wxSimpleHelpProvider", _p_wxSimpleHelpProviderTo_p_wxHelpProvider},{0}};
27909 static swig_type_info _swigt__p_wxTextAttr[] = {{"_p_wxTextAttr", 0, "wxTextAttr *", 0},{"_p_wxTextAttr"},{0}};
27910 static swig_type_info _swigt__p_wxSimpleHelpProvider[] = {{"_p_wxSimpleHelpProvider", 0, "wxSimpleHelpProvider *", 0},{"_p_wxSimpleHelpProvider"},{0}};
27911 static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
27912 static swig_type_info _swigt__p_wxListbookEvent[] = {{"_p_wxListbookEvent", 0, "wxListbookEvent *", 0},{"_p_wxListbookEvent"},{0}};
27913 static swig_type_info _swigt__p_wxNotebookEvent[] = {{"_p_wxNotebookEvent", 0, "wxNotebookEvent *", 0},{"_p_wxNotebookEvent"},{0}};
27914 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}};
27915 static swig_type_info _swigt__p_wxCursor[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
27916 static swig_type_info _swigt__p_wxKeyEvent[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
27917 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}};
27918 static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
27919 static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
27920 static swig_type_info _swigt__p_wxTreeEvent[] = {{"_p_wxTreeEvent", 0, "wxTreeEvent *", 0},{"_p_wxTreeEvent"},{0}};
27921 static swig_type_info _swigt__p_wxMouseEvent[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
27922 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}};
27923 static swig_type_info _swigt__p_wxStaticText[] = {{"_p_wxStaticText", 0, "wxStaticText *", 0},{"_p_wxStaticText"},{0}};
27924 static swig_type_info _swigt__p_wxControlWithItems[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxComboBox", _p_wxComboBoxTo_p_wxControlWithItems},{"_p_wxDirFilterListCtrl", _p_wxDirFilterListCtrlTo_p_wxControlWithItems},{"_p_wxChoice", _p_wxChoiceTo_p_wxControlWithItems},{"_p_wxControlWithItems"},{"_p_wxListBox", _p_wxListBoxTo_p_wxControlWithItems},{"_p_wxCheckListBox", _p_wxCheckListBoxTo_p_wxControlWithItems},{0}};
27925 static swig_type_info _swigt__p_wxToolBarToolBase[] = {{"_p_wxToolBarToolBase", 0, "wxToolBarToolBase *", 0},{"_p_wxToolBarToolBase"},{0}};
27926 static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
27927 static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
27928 static swig_type_info _swigt__p_wxBookCtrlSizer[] = {{"_p_wxBookCtrlSizer", 0, "wxBookCtrlSizer *", 0},{"_p_wxBookCtrlSizer"},{0}};
27929 static swig_type_info _swigt__p_wxValidator[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator},{0}};
27930
27931 static swig_type_info *swig_types_initial[] = {
27932 _swigt__p_wxTextUrlEvent,
27933 _swigt__p_wxBookCtrlEvent,
27934 _swigt__p_wxSizer,
27935 _swigt__p_wxTreeItemIdValue,
27936 _swigt__wxTreeItemIdValue,
27937 _swigt__p_wxCheckBox,
27938 _swigt__p_wxPyTreeCtrl,
27939 _swigt__p_wxEvent,
27940 _swigt__p_wxGenericDirCtrl,
27941 _swigt__p_bool,
27942 _swigt__p_wxPyTreeItemData,
27943 _swigt__p_wxItemContainer,
27944 _swigt__p_wxDirFilterListCtrl,
27945 _swigt__p_wxPyListCtrl,
27946 _swigt__p_wxStaticLine,
27947 _swigt__p_wxControl,
27948 _swigt__p_wxPyControl,
27949 _swigt__p_wxGauge,
27950 _swigt__p_wxToolBarBase,
27951 _swigt__p_wxFont,
27952 _swigt__p_wxToggleButton,
27953 _swigt__p_wxRadioButton,
27954 _swigt__p_wxChoice,
27955 _swigt__p_wxMemoryDC,
27956 _swigt__p_wxListItemAttr,
27957 _swigt__p_int,
27958 _swigt__p_wxSize,
27959 _swigt__p_wxDC,
27960 _swigt__p_wxListView,
27961 _swigt__p_wxIcon,
27962 _swigt__p_wxTextCtrl,
27963 _swigt__p_wxNotebook,
27964 _swigt__p_wxNotifyEvent,
27965 _swigt__p_wxArrayString,
27966 _swigt__p_wxListbook,
27967 _swigt__p_wxStaticBitmap,
27968 _swigt__p_wxSlider,
27969 _swigt__p_wxStaticBox,
27970 _swigt__p_wxArrayInt,
27971 _swigt__p_wxContextHelp,
27972 _swigt__p_long,
27973 _swigt__p_wxEvtHandler,
27974 _swigt__p_wxListEvent,
27975 _swigt__p_wxListBox,
27976 _swigt__p_wxCheckListBox,
27977 _swigt__p_wxBookCtrl,
27978 _swigt__p_wxSpinButton,
27979 _swigt__p_wxButton,
27980 _swigt__p_wxBitmapButton,
27981 _swigt__p_wxRect,
27982 _swigt__p_wxContextHelpButton,
27983 _swigt__p_wxRadioBox,
27984 _swigt__p_wxScrollBar,
27985 _swigt__p_wxTreeItemId,
27986 _swigt__p_wxComboBox,
27987 _swigt__p_wxHelpEvent,
27988 _swigt__p_wxListItem,
27989 _swigt__p_wxNotebookSizer,
27990 _swigt__p_wxGenericDragImage,
27991 _swigt__p_wxSpinCtrl,
27992 _swigt__p_wxImageList,
27993 _swigt__p_wxHelpProvider,
27994 _swigt__p_wxTextAttr,
27995 _swigt__p_wxSimpleHelpProvider,
27996 _swigt__p_wxPoint,
27997 _swigt__p_wxListbookEvent,
27998 _swigt__p_wxNotebookEvent,
27999 _swigt__p_wxObject,
28000 _swigt__p_wxCursor,
28001 _swigt__p_wxKeyEvent,
28002 _swigt__p_wxWindow,
28003 _swigt__p_wxString,
28004 _swigt__p_wxBitmap,
28005 _swigt__p_wxTreeEvent,
28006 _swigt__p_wxMouseEvent,
28007 _swigt__p_wxCommandEvent,
28008 _swigt__p_wxStaticText,
28009 _swigt__p_wxControlWithItems,
28010 _swigt__p_wxToolBarToolBase,
28011 _swigt__p_wxColour,
28012 _swigt__p_wxToolBar,
28013 _swigt__p_wxBookCtrlSizer,
28014 _swigt__p_wxValidator,
28015 0
28016 };
28017
28018
28019 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
28020
28021 static swig_const_info swig_const_table[] = {
28022 { SWIG_PY_INT, (char *)"BU_LEFT", (long) wxBU_LEFT, 0, 0, 0},
28023 { SWIG_PY_INT, (char *)"BU_TOP", (long) wxBU_TOP, 0, 0, 0},
28024 { SWIG_PY_INT, (char *)"BU_RIGHT", (long) wxBU_RIGHT, 0, 0, 0},
28025 { SWIG_PY_INT, (char *)"BU_BOTTOM", (long) wxBU_BOTTOM, 0, 0, 0},
28026 { SWIG_PY_INT, (char *)"BU_EXACTFIT", (long) wxBU_EXACTFIT, 0, 0, 0},
28027 { SWIG_PY_INT, (char *)"BU_AUTODRAW", (long) wxBU_AUTODRAW, 0, 0, 0},
28028 { SWIG_PY_INT, (char *)"CHK_2STATE", (long) wxCHK_2STATE, 0, 0, 0},
28029 { SWIG_PY_INT, (char *)"CHK_3STATE", (long) wxCHK_3STATE, 0, 0, 0},
28030 { SWIG_PY_INT, (char *)"CHK_ALLOW_3RD_STATE_FOR_USER", (long) wxCHK_ALLOW_3RD_STATE_FOR_USER, 0, 0, 0},
28031 { SWIG_PY_INT, (char *)"CHK_UNCHECKED", (long) wxCHK_UNCHECKED, 0, 0, 0},
28032 { SWIG_PY_INT, (char *)"CHK_CHECKED", (long) wxCHK_CHECKED, 0, 0, 0},
28033 { SWIG_PY_INT, (char *)"CHK_UNDETERMINED", (long) wxCHK_UNDETERMINED, 0, 0, 0},
28034 { SWIG_PY_INT, (char *)"GA_HORIZONTAL", (long) wxGA_HORIZONTAL, 0, 0, 0},
28035 { SWIG_PY_INT, (char *)"GA_VERTICAL", (long) wxGA_VERTICAL, 0, 0, 0},
28036 { SWIG_PY_INT, (char *)"GA_SMOOTH", (long) wxGA_SMOOTH, 0, 0, 0},
28037 { SWIG_PY_INT, (char *)"GA_PROGRESSBAR", (long) wxGA_PROGRESSBAR, 0, 0, 0},
28038 { SWIG_PY_INT, (char *)"TE_NO_VSCROLL", (long) wxTE_NO_VSCROLL, 0, 0, 0},
28039 { SWIG_PY_INT, (char *)"TE_AUTO_SCROLL", (long) wxTE_AUTO_SCROLL, 0, 0, 0},
28040 { SWIG_PY_INT, (char *)"TE_READONLY", (long) wxTE_READONLY, 0, 0, 0},
28041 { SWIG_PY_INT, (char *)"TE_MULTILINE", (long) wxTE_MULTILINE, 0, 0, 0},
28042 { SWIG_PY_INT, (char *)"TE_PROCESS_TAB", (long) wxTE_PROCESS_TAB, 0, 0, 0},
28043 { SWIG_PY_INT, (char *)"TE_LEFT", (long) wxTE_LEFT, 0, 0, 0},
28044 { SWIG_PY_INT, (char *)"TE_CENTER", (long) wxTE_CENTER, 0, 0, 0},
28045 { SWIG_PY_INT, (char *)"TE_RIGHT", (long) wxTE_RIGHT, 0, 0, 0},
28046 { SWIG_PY_INT, (char *)"TE_CENTRE", (long) wxTE_CENTRE, 0, 0, 0},
28047 { SWIG_PY_INT, (char *)"TE_RICH", (long) wxTE_RICH, 0, 0, 0},
28048 { SWIG_PY_INT, (char *)"TE_PROCESS_ENTER", (long) wxTE_PROCESS_ENTER, 0, 0, 0},
28049 { SWIG_PY_INT, (char *)"TE_PASSWORD", (long) wxTE_PASSWORD, 0, 0, 0},
28050 { SWIG_PY_INT, (char *)"TE_AUTO_URL", (long) wxTE_AUTO_URL, 0, 0, 0},
28051 { SWIG_PY_INT, (char *)"TE_NOHIDESEL", (long) wxTE_NOHIDESEL, 0, 0, 0},
28052 { SWIG_PY_INT, (char *)"TE_DONTWRAP", (long) wxTE_DONTWRAP, 0, 0, 0},
28053 { SWIG_PY_INT, (char *)"TE_LINEWRAP", (long) wxTE_LINEWRAP, 0, 0, 0},
28054 { SWIG_PY_INT, (char *)"TE_WORDWRAP", (long) wxTE_WORDWRAP, 0, 0, 0},
28055 { SWIG_PY_INT, (char *)"TE_RICH2", (long) wxTE_RICH2, 0, 0, 0},
28056 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_DEFAULT", (long) wxTEXT_ALIGNMENT_DEFAULT, 0, 0, 0},
28057 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_LEFT", (long) wxTEXT_ALIGNMENT_LEFT, 0, 0, 0},
28058 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTRE", (long) wxTEXT_ALIGNMENT_CENTRE, 0, 0, 0},
28059 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_CENTER", (long) wxTEXT_ALIGNMENT_CENTER, 0, 0, 0},
28060 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_RIGHT", (long) wxTEXT_ALIGNMENT_RIGHT, 0, 0, 0},
28061 { SWIG_PY_INT, (char *)"TEXT_ALIGNMENT_JUSTIFIED", (long) wxTEXT_ALIGNMENT_JUSTIFIED, 0, 0, 0},
28062 { SWIG_PY_INT, (char *)"TEXT_ATTR_TEXT_COLOUR", (long) wxTEXT_ATTR_TEXT_COLOUR, 0, 0, 0},
28063 { SWIG_PY_INT, (char *)"TEXT_ATTR_BACKGROUND_COLOUR", (long) wxTEXT_ATTR_BACKGROUND_COLOUR, 0, 0, 0},
28064 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_FACE", (long) wxTEXT_ATTR_FONT_FACE, 0, 0, 0},
28065 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_SIZE", (long) wxTEXT_ATTR_FONT_SIZE, 0, 0, 0},
28066 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_WEIGHT", (long) wxTEXT_ATTR_FONT_WEIGHT, 0, 0, 0},
28067 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_ITALIC", (long) wxTEXT_ATTR_FONT_ITALIC, 0, 0, 0},
28068 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT_UNDERLINE", (long) wxTEXT_ATTR_FONT_UNDERLINE, 0, 0, 0},
28069 { SWIG_PY_INT, (char *)"TEXT_ATTR_FONT", (long) wxTEXT_ATTR_FONT, 0, 0, 0},
28070 { SWIG_PY_INT, (char *)"TEXT_ATTR_ALIGNMENT", (long) wxTEXT_ATTR_ALIGNMENT, 0, 0, 0},
28071 { SWIG_PY_INT, (char *)"TEXT_ATTR_LEFT_INDENT", (long) wxTEXT_ATTR_LEFT_INDENT, 0, 0, 0},
28072 { SWIG_PY_INT, (char *)"TEXT_ATTR_RIGHT_INDENT", (long) wxTEXT_ATTR_RIGHT_INDENT, 0, 0, 0},
28073 { SWIG_PY_INT, (char *)"TEXT_ATTR_TABS", (long) wxTEXT_ATTR_TABS, 0, 0, 0},
28074 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_UPDATED", (long) wxEVT_COMMAND_TEXT_UPDATED, 0, 0, 0},
28075 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_ENTER", (long) wxEVT_COMMAND_TEXT_ENTER, 0, 0, 0},
28076 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_URL", (long) wxEVT_COMMAND_TEXT_URL, 0, 0, 0},
28077 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TEXT_MAXLEN", (long) wxEVT_COMMAND_TEXT_MAXLEN, 0, 0, 0},
28078 { SWIG_PY_INT, (char *)"SP_HORIZONTAL", (long) wxSP_HORIZONTAL, 0, 0, 0},
28079 { SWIG_PY_INT, (char *)"SP_VERTICAL", (long) wxSP_VERTICAL, 0, 0, 0},
28080 { SWIG_PY_INT, (char *)"SP_ARROW_KEYS", (long) wxSP_ARROW_KEYS, 0, 0, 0},
28081 { SWIG_PY_INT, (char *)"SP_WRAP", (long) wxSP_WRAP, 0, 0, 0},
28082 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPINCTRL_UPDATED", (long) wxEVT_COMMAND_SPINCTRL_UPDATED, 0, 0, 0},
28083 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", (long) wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, 0, 0, 0},
28084 { SWIG_PY_INT, (char *)"NB_FIXEDWIDTH", (long) wxNB_FIXEDWIDTH, 0, 0, 0},
28085 { SWIG_PY_INT, (char *)"NB_TOP", (long) wxNB_TOP, 0, 0, 0},
28086 { SWIG_PY_INT, (char *)"NB_LEFT", (long) wxNB_LEFT, 0, 0, 0},
28087 { SWIG_PY_INT, (char *)"NB_RIGHT", (long) wxNB_RIGHT, 0, 0, 0},
28088 { SWIG_PY_INT, (char *)"NB_BOTTOM", (long) wxNB_BOTTOM, 0, 0, 0},
28089 { SWIG_PY_INT, (char *)"NB_MULTILINE", (long) wxNB_MULTILINE, 0, 0, 0},
28090 { SWIG_PY_INT, (char *)"NB_HITTEST_NOWHERE", (long) wxNB_HITTEST_NOWHERE, 0, 0, 0},
28091 { SWIG_PY_INT, (char *)"NB_HITTEST_ONICON", (long) wxNB_HITTEST_ONICON, 0, 0, 0},
28092 { SWIG_PY_INT, (char *)"NB_HITTEST_ONLABEL", (long) wxNB_HITTEST_ONLABEL, 0, 0, 0},
28093 { SWIG_PY_INT, (char *)"NB_HITTEST_ONITEM", (long) wxNB_HITTEST_ONITEM, 0, 0, 0},
28094 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED, 0, 0, 0},
28095 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING, 0, 0, 0},
28096 { SWIG_PY_INT, (char *)"LB_DEFAULT", (long) wxLB_DEFAULT, 0, 0, 0},
28097 { SWIG_PY_INT, (char *)"LB_TOP", (long) wxLB_TOP, 0, 0, 0},
28098 { SWIG_PY_INT, (char *)"LB_BOTTOM", (long) wxLB_BOTTOM, 0, 0, 0},
28099 { SWIG_PY_INT, (char *)"LB_LEFT", (long) wxLB_LEFT, 0, 0, 0},
28100 { SWIG_PY_INT, (char *)"LB_RIGHT", (long) wxLB_RIGHT, 0, 0, 0},
28101 { SWIG_PY_INT, (char *)"LB_ALIGN_MASK", (long) wxLB_ALIGN_MASK, 0, 0, 0},
28102 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED, 0, 0, 0},
28103 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", (long) wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING, 0, 0, 0},
28104 { SWIG_PY_INT, (char *)"TOOL_STYLE_BUTTON", (long) wxTOOL_STYLE_BUTTON, 0, 0, 0},
28105 { SWIG_PY_INT, (char *)"TOOL_STYLE_SEPARATOR", (long) wxTOOL_STYLE_SEPARATOR, 0, 0, 0},
28106 { SWIG_PY_INT, (char *)"TOOL_STYLE_CONTROL", (long) wxTOOL_STYLE_CONTROL, 0, 0, 0},
28107 { SWIG_PY_INT, (char *)"TB_HORIZONTAL", (long) wxTB_HORIZONTAL, 0, 0, 0},
28108 { SWIG_PY_INT, (char *)"TB_VERTICAL", (long) wxTB_VERTICAL, 0, 0, 0},
28109 { SWIG_PY_INT, (char *)"TB_3DBUTTONS", (long) wxTB_3DBUTTONS, 0, 0, 0},
28110 { SWIG_PY_INT, (char *)"TB_FLAT", (long) wxTB_FLAT, 0, 0, 0},
28111 { SWIG_PY_INT, (char *)"TB_DOCKABLE", (long) wxTB_DOCKABLE, 0, 0, 0},
28112 { SWIG_PY_INT, (char *)"TB_NOICONS", (long) wxTB_NOICONS, 0, 0, 0},
28113 { SWIG_PY_INT, (char *)"TB_TEXT", (long) wxTB_TEXT, 0, 0, 0},
28114 { SWIG_PY_INT, (char *)"TB_NODIVIDER", (long) wxTB_NODIVIDER, 0, 0, 0},
28115 { SWIG_PY_INT, (char *)"TB_NOALIGN", (long) wxTB_NOALIGN, 0, 0, 0},
28116 { SWIG_PY_INT, (char *)"TB_HORZ_LAYOUT", (long) wxTB_HORZ_LAYOUT, 0, 0, 0},
28117 { SWIG_PY_INT, (char *)"TB_HORZ_TEXT", (long) wxTB_HORZ_TEXT, 0, 0, 0},
28118 { SWIG_PY_INT, (char *)"LC_VRULES", (long) wxLC_VRULES, 0, 0, 0},
28119 { SWIG_PY_INT, (char *)"LC_HRULES", (long) wxLC_HRULES, 0, 0, 0},
28120 { SWIG_PY_INT, (char *)"LC_ICON", (long) wxLC_ICON, 0, 0, 0},
28121 { SWIG_PY_INT, (char *)"LC_SMALL_ICON", (long) wxLC_SMALL_ICON, 0, 0, 0},
28122 { SWIG_PY_INT, (char *)"LC_LIST", (long) wxLC_LIST, 0, 0, 0},
28123 { SWIG_PY_INT, (char *)"LC_REPORT", (long) wxLC_REPORT, 0, 0, 0},
28124 { SWIG_PY_INT, (char *)"LC_ALIGN_TOP", (long) wxLC_ALIGN_TOP, 0, 0, 0},
28125 { SWIG_PY_INT, (char *)"LC_ALIGN_LEFT", (long) wxLC_ALIGN_LEFT, 0, 0, 0},
28126 { SWIG_PY_INT, (char *)"LC_AUTOARRANGE", (long) wxLC_AUTOARRANGE, 0, 0, 0},
28127 { SWIG_PY_INT, (char *)"LC_VIRTUAL", (long) wxLC_VIRTUAL, 0, 0, 0},
28128 { SWIG_PY_INT, (char *)"LC_EDIT_LABELS", (long) wxLC_EDIT_LABELS, 0, 0, 0},
28129 { SWIG_PY_INT, (char *)"LC_NO_HEADER", (long) wxLC_NO_HEADER, 0, 0, 0},
28130 { SWIG_PY_INT, (char *)"LC_NO_SORT_HEADER", (long) wxLC_NO_SORT_HEADER, 0, 0, 0},
28131 { SWIG_PY_INT, (char *)"LC_SINGLE_SEL", (long) wxLC_SINGLE_SEL, 0, 0, 0},
28132 { SWIG_PY_INT, (char *)"LC_SORT_ASCENDING", (long) wxLC_SORT_ASCENDING, 0, 0, 0},
28133 { SWIG_PY_INT, (char *)"LC_SORT_DESCENDING", (long) wxLC_SORT_DESCENDING, 0, 0, 0},
28134 { SWIG_PY_INT, (char *)"LC_MASK_TYPE", (long) wxLC_MASK_TYPE, 0, 0, 0},
28135 { SWIG_PY_INT, (char *)"LC_MASK_ALIGN", (long) wxLC_MASK_ALIGN, 0, 0, 0},
28136 { SWIG_PY_INT, (char *)"LC_MASK_SORT", (long) wxLC_MASK_SORT, 0, 0, 0},
28137 { SWIG_PY_INT, (char *)"LIST_MASK_STATE", (long) wxLIST_MASK_STATE, 0, 0, 0},
28138 { SWIG_PY_INT, (char *)"LIST_MASK_TEXT", (long) wxLIST_MASK_TEXT, 0, 0, 0},
28139 { SWIG_PY_INT, (char *)"LIST_MASK_IMAGE", (long) wxLIST_MASK_IMAGE, 0, 0, 0},
28140 { SWIG_PY_INT, (char *)"LIST_MASK_DATA", (long) wxLIST_MASK_DATA, 0, 0, 0},
28141 { SWIG_PY_INT, (char *)"LIST_SET_ITEM", (long) wxLIST_SET_ITEM, 0, 0, 0},
28142 { SWIG_PY_INT, (char *)"LIST_MASK_WIDTH", (long) wxLIST_MASK_WIDTH, 0, 0, 0},
28143 { SWIG_PY_INT, (char *)"LIST_MASK_FORMAT", (long) wxLIST_MASK_FORMAT, 0, 0, 0},
28144 { SWIG_PY_INT, (char *)"LIST_STATE_DONTCARE", (long) wxLIST_STATE_DONTCARE, 0, 0, 0},
28145 { SWIG_PY_INT, (char *)"LIST_STATE_DROPHILITED", (long) wxLIST_STATE_DROPHILITED, 0, 0, 0},
28146 { SWIG_PY_INT, (char *)"LIST_STATE_FOCUSED", (long) wxLIST_STATE_FOCUSED, 0, 0, 0},
28147 { SWIG_PY_INT, (char *)"LIST_STATE_SELECTED", (long) wxLIST_STATE_SELECTED, 0, 0, 0},
28148 { SWIG_PY_INT, (char *)"LIST_STATE_CUT", (long) wxLIST_STATE_CUT, 0, 0, 0},
28149 { SWIG_PY_INT, (char *)"LIST_STATE_DISABLED", (long) wxLIST_STATE_DISABLED, 0, 0, 0},
28150 { SWIG_PY_INT, (char *)"LIST_STATE_FILTERED", (long) wxLIST_STATE_FILTERED, 0, 0, 0},
28151 { SWIG_PY_INT, (char *)"LIST_STATE_INUSE", (long) wxLIST_STATE_INUSE, 0, 0, 0},
28152 { SWIG_PY_INT, (char *)"LIST_STATE_PICKED", (long) wxLIST_STATE_PICKED, 0, 0, 0},
28153 { SWIG_PY_INT, (char *)"LIST_STATE_SOURCE", (long) wxLIST_STATE_SOURCE, 0, 0, 0},
28154 { SWIG_PY_INT, (char *)"LIST_HITTEST_ABOVE", (long) wxLIST_HITTEST_ABOVE, 0, 0, 0},
28155 { SWIG_PY_INT, (char *)"LIST_HITTEST_BELOW", (long) wxLIST_HITTEST_BELOW, 0, 0, 0},
28156 { SWIG_PY_INT, (char *)"LIST_HITTEST_NOWHERE", (long) wxLIST_HITTEST_NOWHERE, 0, 0, 0},
28157 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMICON", (long) wxLIST_HITTEST_ONITEMICON, 0, 0, 0},
28158 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMLABEL", (long) wxLIST_HITTEST_ONITEMLABEL, 0, 0, 0},
28159 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMRIGHT", (long) wxLIST_HITTEST_ONITEMRIGHT, 0, 0, 0},
28160 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEMSTATEICON", (long) wxLIST_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28161 { SWIG_PY_INT, (char *)"LIST_HITTEST_TOLEFT", (long) wxLIST_HITTEST_TOLEFT, 0, 0, 0},
28162 { SWIG_PY_INT, (char *)"LIST_HITTEST_TORIGHT", (long) wxLIST_HITTEST_TORIGHT, 0, 0, 0},
28163 { SWIG_PY_INT, (char *)"LIST_HITTEST_ONITEM", (long) wxLIST_HITTEST_ONITEM, 0, 0, 0},
28164 { SWIG_PY_INT, (char *)"LIST_NEXT_ABOVE", (long) wxLIST_NEXT_ABOVE, 0, 0, 0},
28165 { SWIG_PY_INT, (char *)"LIST_NEXT_ALL", (long) wxLIST_NEXT_ALL, 0, 0, 0},
28166 { SWIG_PY_INT, (char *)"LIST_NEXT_BELOW", (long) wxLIST_NEXT_BELOW, 0, 0, 0},
28167 { SWIG_PY_INT, (char *)"LIST_NEXT_LEFT", (long) wxLIST_NEXT_LEFT, 0, 0, 0},
28168 { SWIG_PY_INT, (char *)"LIST_NEXT_RIGHT", (long) wxLIST_NEXT_RIGHT, 0, 0, 0},
28169 { SWIG_PY_INT, (char *)"LIST_ALIGN_DEFAULT", (long) wxLIST_ALIGN_DEFAULT, 0, 0, 0},
28170 { SWIG_PY_INT, (char *)"LIST_ALIGN_LEFT", (long) wxLIST_ALIGN_LEFT, 0, 0, 0},
28171 { SWIG_PY_INT, (char *)"LIST_ALIGN_TOP", (long) wxLIST_ALIGN_TOP, 0, 0, 0},
28172 { SWIG_PY_INT, (char *)"LIST_ALIGN_SNAP_TO_GRID", (long) wxLIST_ALIGN_SNAP_TO_GRID, 0, 0, 0},
28173 { SWIG_PY_INT, (char *)"LIST_FORMAT_LEFT", (long) wxLIST_FORMAT_LEFT, 0, 0, 0},
28174 { SWIG_PY_INT, (char *)"LIST_FORMAT_RIGHT", (long) wxLIST_FORMAT_RIGHT, 0, 0, 0},
28175 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTRE", (long) wxLIST_FORMAT_CENTRE, 0, 0, 0},
28176 { SWIG_PY_INT, (char *)"LIST_FORMAT_CENTER", (long) wxLIST_FORMAT_CENTER, 0, 0, 0},
28177 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE", (long) wxLIST_AUTOSIZE, 0, 0, 0},
28178 { SWIG_PY_INT, (char *)"LIST_AUTOSIZE_USEHEADER", (long) wxLIST_AUTOSIZE_USEHEADER, 0, 0, 0},
28179 { SWIG_PY_INT, (char *)"LIST_RECT_BOUNDS", (long) wxLIST_RECT_BOUNDS, 0, 0, 0},
28180 { SWIG_PY_INT, (char *)"LIST_RECT_ICON", (long) wxLIST_RECT_ICON, 0, 0, 0},
28181 { SWIG_PY_INT, (char *)"LIST_RECT_LABEL", (long) wxLIST_RECT_LABEL, 0, 0, 0},
28182 { SWIG_PY_INT, (char *)"LIST_FIND_UP", (long) wxLIST_FIND_UP, 0, 0, 0},
28183 { SWIG_PY_INT, (char *)"LIST_FIND_DOWN", (long) wxLIST_FIND_DOWN, 0, 0, 0},
28184 { SWIG_PY_INT, (char *)"LIST_FIND_LEFT", (long) wxLIST_FIND_LEFT, 0, 0, 0},
28185 { SWIG_PY_INT, (char *)"LIST_FIND_RIGHT", (long) wxLIST_FIND_RIGHT, 0, 0, 0},
28186 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_BEGIN_DRAG, 0, 0, 0},
28187 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_RDRAG", (long) wxEVT_COMMAND_LIST_BEGIN_RDRAG, 0, 0, 0},
28188 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT, 0, 0, 0},
28189 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_END_LABEL_EDIT", (long) wxEVT_COMMAND_LIST_END_LABEL_EDIT, 0, 0, 0},
28190 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ITEM", (long) wxEVT_COMMAND_LIST_DELETE_ITEM, 0, 0, 0},
28191 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", (long) wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, 0, 0, 0},
28192 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_GET_INFO", (long) wxEVT_COMMAND_LIST_GET_INFO, 0, 0, 0},
28193 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_SET_INFO", (long) wxEVT_COMMAND_LIST_SET_INFO, 0, 0, 0},
28194 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_SELECTED", (long) wxEVT_COMMAND_LIST_ITEM_SELECTED, 0, 0, 0},
28195 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_DESELECTED", (long) wxEVT_COMMAND_LIST_ITEM_DESELECTED, 0, 0, 0},
28196 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_KEY_DOWN", (long) wxEVT_COMMAND_LIST_KEY_DOWN, 0, 0, 0},
28197 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_INSERT_ITEM", (long) wxEVT_COMMAND_LIST_INSERT_ITEM, 0, 0, 0},
28198 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_CLICK", (long) wxEVT_COMMAND_LIST_COL_CLICK, 0, 0, 0},
28199 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK, 0, 0, 0},
28200 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK, 0, 0, 0},
28201 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_ACTIVATED", (long) wxEVT_COMMAND_LIST_ITEM_ACTIVATED, 0, 0, 0},
28202 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_CACHE_HINT", (long) wxEVT_COMMAND_LIST_CACHE_HINT, 0, 0, 0},
28203 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", (long) wxEVT_COMMAND_LIST_COL_RIGHT_CLICK, 0, 0, 0},
28204 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", (long) wxEVT_COMMAND_LIST_COL_BEGIN_DRAG, 0, 0, 0},
28205 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_DRAGGING", (long) wxEVT_COMMAND_LIST_COL_DRAGGING, 0, 0, 0},
28206 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_COL_END_DRAG", (long) wxEVT_COMMAND_LIST_COL_END_DRAG, 0, 0, 0},
28207 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_LIST_ITEM_FOCUSED", (long) wxEVT_COMMAND_LIST_ITEM_FOCUSED, 0, 0, 0},
28208 { SWIG_PY_INT, (char *)"TR_NO_BUTTONS", (long) wxTR_NO_BUTTONS, 0, 0, 0},
28209 { SWIG_PY_INT, (char *)"TR_HAS_BUTTONS", (long) wxTR_HAS_BUTTONS, 0, 0, 0},
28210 { SWIG_PY_INT, (char *)"TR_NO_LINES", (long) wxTR_NO_LINES, 0, 0, 0},
28211 { SWIG_PY_INT, (char *)"TR_LINES_AT_ROOT", (long) wxTR_LINES_AT_ROOT, 0, 0, 0},
28212 { SWIG_PY_INT, (char *)"TR_SINGLE", (long) wxTR_SINGLE, 0, 0, 0},
28213 { SWIG_PY_INT, (char *)"TR_MULTIPLE", (long) wxTR_MULTIPLE, 0, 0, 0},
28214 { SWIG_PY_INT, (char *)"TR_EXTENDED", (long) wxTR_EXTENDED, 0, 0, 0},
28215 { SWIG_PY_INT, (char *)"TR_HAS_VARIABLE_ROW_HEIGHT", (long) wxTR_HAS_VARIABLE_ROW_HEIGHT, 0, 0, 0},
28216 { SWIG_PY_INT, (char *)"TR_EDIT_LABELS", (long) wxTR_EDIT_LABELS, 0, 0, 0},
28217 { SWIG_PY_INT, (char *)"TR_HIDE_ROOT", (long) wxTR_HIDE_ROOT, 0, 0, 0},
28218 { SWIG_PY_INT, (char *)"TR_ROW_LINES", (long) wxTR_ROW_LINES, 0, 0, 0},
28219 { SWIG_PY_INT, (char *)"TR_FULL_ROW_HIGHLIGHT", (long) wxTR_FULL_ROW_HIGHLIGHT, 0, 0, 0},
28220 { SWIG_PY_INT, (char *)"TR_DEFAULT_STYLE", (long) wxTR_DEFAULT_STYLE, 0, 0, 0},
28221 { SWIG_PY_INT, (char *)"TR_TWIST_BUTTONS", (long) wxTR_TWIST_BUTTONS, 0, 0, 0},
28222 { SWIG_PY_INT, (char *)"TR_MAC_BUTTONS", (long) wxTR_MAC_BUTTONS, 0, 0, 0},
28223 { SWIG_PY_INT, (char *)"TR_AQUA_BUTTONS", (long) wxTR_AQUA_BUTTONS, 0, 0, 0},
28224 { SWIG_PY_INT, (char *)"TreeItemIcon_Normal", (long) wxTreeItemIcon_Normal, 0, 0, 0},
28225 { SWIG_PY_INT, (char *)"TreeItemIcon_Selected", (long) wxTreeItemIcon_Selected, 0, 0, 0},
28226 { SWIG_PY_INT, (char *)"TreeItemIcon_Expanded", (long) wxTreeItemIcon_Expanded, 0, 0, 0},
28227 { SWIG_PY_INT, (char *)"TreeItemIcon_SelectedExpanded", (long) wxTreeItemIcon_SelectedExpanded, 0, 0, 0},
28228 { SWIG_PY_INT, (char *)"TreeItemIcon_Max", (long) wxTreeItemIcon_Max, 0, 0, 0},
28229 { SWIG_PY_INT, (char *)"TREE_HITTEST_ABOVE", (long) wxTREE_HITTEST_ABOVE, 0, 0, 0},
28230 { SWIG_PY_INT, (char *)"TREE_HITTEST_BELOW", (long) wxTREE_HITTEST_BELOW, 0, 0, 0},
28231 { SWIG_PY_INT, (char *)"TREE_HITTEST_NOWHERE", (long) wxTREE_HITTEST_NOWHERE, 0, 0, 0},
28232 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMBUTTON", (long) wxTREE_HITTEST_ONITEMBUTTON, 0, 0, 0},
28233 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMICON", (long) wxTREE_HITTEST_ONITEMICON, 0, 0, 0},
28234 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMINDENT", (long) wxTREE_HITTEST_ONITEMINDENT, 0, 0, 0},
28235 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLABEL", (long) wxTREE_HITTEST_ONITEMLABEL, 0, 0, 0},
28236 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMRIGHT", (long) wxTREE_HITTEST_ONITEMRIGHT, 0, 0, 0},
28237 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMSTATEICON", (long) wxTREE_HITTEST_ONITEMSTATEICON, 0, 0, 0},
28238 { SWIG_PY_INT, (char *)"TREE_HITTEST_TOLEFT", (long) wxTREE_HITTEST_TOLEFT, 0, 0, 0},
28239 { SWIG_PY_INT, (char *)"TREE_HITTEST_TORIGHT", (long) wxTREE_HITTEST_TORIGHT, 0, 0, 0},
28240 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMUPPERPART", (long) wxTREE_HITTEST_ONITEMUPPERPART, 0, 0, 0},
28241 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEMLOWERPART", (long) wxTREE_HITTEST_ONITEMLOWERPART, 0, 0, 0},
28242 { SWIG_PY_INT, (char *)"TREE_HITTEST_ONITEM", (long) wxTREE_HITTEST_ONITEM, 0, 0, 0},
28243 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_DRAG", (long) wxEVT_COMMAND_TREE_BEGIN_DRAG, 0, 0, 0},
28244 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_RDRAG", (long) wxEVT_COMMAND_TREE_BEGIN_RDRAG, 0, 0, 0},
28245 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT, 0, 0, 0},
28246 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_LABEL_EDIT", (long) wxEVT_COMMAND_TREE_END_LABEL_EDIT, 0, 0, 0},
28247 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_DELETE_ITEM", (long) wxEVT_COMMAND_TREE_DELETE_ITEM, 0, 0, 0},
28248 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_GET_INFO", (long) wxEVT_COMMAND_TREE_GET_INFO, 0, 0, 0},
28249 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SET_INFO", (long) wxEVT_COMMAND_TREE_SET_INFO, 0, 0, 0},
28250 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDED", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDED, 0, 0, 0},
28251 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_EXPANDING", (long) wxEVT_COMMAND_TREE_ITEM_EXPANDING, 0, 0, 0},
28252 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSED", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSED, 0, 0, 0},
28253 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_COLLAPSING", (long) wxEVT_COMMAND_TREE_ITEM_COLLAPSING, 0, 0, 0},
28254 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGED", (long) wxEVT_COMMAND_TREE_SEL_CHANGED, 0, 0, 0},
28255 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_SEL_CHANGING", (long) wxEVT_COMMAND_TREE_SEL_CHANGING, 0, 0, 0},
28256 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_KEY_DOWN", (long) wxEVT_COMMAND_TREE_KEY_DOWN, 0, 0, 0},
28257 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_ACTIVATED", (long) wxEVT_COMMAND_TREE_ITEM_ACTIVATED, 0, 0, 0},
28258 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK, 0, 0, 0},
28259 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", (long) wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK, 0, 0, 0},
28260 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_END_DRAG", (long) wxEVT_COMMAND_TREE_END_DRAG, 0, 0, 0},
28261 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", (long) wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK, 0, 0, 0},
28262 { SWIG_PY_INT, (char *)"wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", (long) wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP, 0, 0, 0},
28263 { SWIG_PY_INT, (char *)"DIRCTRL_DIR_ONLY", (long) wxDIRCTRL_DIR_ONLY, 0, 0, 0},
28264 { SWIG_PY_INT, (char *)"DIRCTRL_SELECT_FIRST", (long) wxDIRCTRL_SELECT_FIRST, 0, 0, 0},
28265 { SWIG_PY_INT, (char *)"DIRCTRL_SHOW_FILTERS", (long) wxDIRCTRL_SHOW_FILTERS, 0, 0, 0},
28266 { SWIG_PY_INT, (char *)"DIRCTRL_3D_INTERNAL", (long) wxDIRCTRL_3D_INTERNAL, 0, 0, 0},
28267 { SWIG_PY_INT, (char *)"DIRCTRL_EDIT_LABELS", (long) wxDIRCTRL_EDIT_LABELS, 0, 0, 0},
28268 { SWIG_PY_INT, (char *)"FRAME_EX_CONTEXTHELP", (long) wxFRAME_EX_CONTEXTHELP, 0, 0, 0},
28269 { SWIG_PY_INT, (char *)"DIALOG_EX_CONTEXTHELP", (long) wxDIALOG_EX_CONTEXTHELP, 0, 0, 0},
28270 { SWIG_PY_INT, (char *)"wxEVT_HELP", (long) wxEVT_HELP, 0, 0, 0},
28271 { SWIG_PY_INT, (char *)"wxEVT_DETAILED_HELP", (long) wxEVT_DETAILED_HELP, 0, 0, 0},
28272 {0}};
28273
28274 #ifdef __cplusplus
28275 }
28276 #endif
28277
28278 #ifdef __cplusplus
28279 extern "C"
28280 #endif
28281 SWIGEXPORT(void) SWIG_init(void) {
28282 static PyObject *SWIG_globals = 0;
28283 static int typeinit = 0;
28284 PyObject *m, *d;
28285 int i;
28286 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
28287 m = Py_InitModule((char *) SWIG_name, SwigMethods);
28288 d = PyModule_GetDict(m);
28289
28290 if (!typeinit) {
28291 for (i = 0; swig_types_initial[i]; i++) {
28292 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
28293 }
28294 typeinit = 1;
28295 }
28296 SWIG_InstallConstants(d,swig_const_table);
28297
28298 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_UPDATED", PyInt_FromLong(wxEVT_COMMAND_TEXT_UPDATED));
28299 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_ENTER", PyInt_FromLong(wxEVT_COMMAND_TEXT_ENTER));
28300 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_URL", PyInt_FromLong(wxEVT_COMMAND_TEXT_URL));
28301 PyDict_SetItemString(d, "wxEVT_COMMAND_TEXT_MAXLEN", PyInt_FromLong(wxEVT_COMMAND_TEXT_MAXLEN));
28302 PyDict_SetItemString(d, "wxEVT_COMMAND_SPINCTRL_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SPINCTRL_UPDATED));
28303 PyDict_SetItemString(d, "wxEVT_COMMAND_TOGGLEBUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED));
28304 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGED));
28305 PyDict_SetItemString(d, "wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_NOTEBOOK_PAGE_CHANGING));
28306 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGED));
28307 PyDict_SetItemString(d, "wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING", PyInt_FromLong(wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING));
28308 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_DRAG));
28309 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_RDRAG));
28310 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_BEGIN_LABEL_EDIT));
28311 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_LIST_END_LABEL_EDIT));
28312 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ITEM));
28313 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS", PyInt_FromLong(wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS));
28314 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_GET_INFO));
28315 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_LIST_SET_INFO));
28316 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_SELECTED));
28317 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_DESELECTED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_DESELECTED));
28318 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_LIST_KEY_DOWN));
28319 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_INSERT_ITEM", PyInt_FromLong(wxEVT_COMMAND_LIST_INSERT_ITEM));
28320 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_CLICK));
28321 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_RIGHT_CLICK));
28322 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_MIDDLE_CLICK));
28323 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_ACTIVATED));
28324 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_CACHE_HINT", PyInt_FromLong(wxEVT_COMMAND_LIST_CACHE_HINT));
28325 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_RIGHT_CLICK));
28326 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_BEGIN_DRAG));
28327 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_DRAGGING", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_DRAGGING));
28328 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_COL_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_LIST_COL_END_DRAG));
28329 PyDict_SetItemString(d, "wxEVT_COMMAND_LIST_ITEM_FOCUSED", PyInt_FromLong(wxEVT_COMMAND_LIST_ITEM_FOCUSED));
28330
28331 // Map renamed classes back to their common name for OOR
28332 wxPyPtrTypeMap_Add("wxListCtrl", "wxPyListCtrl");
28333
28334 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_DRAG));
28335 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_RDRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_RDRAG));
28336 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_BEGIN_LABEL_EDIT));
28337 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_LABEL_EDIT", PyInt_FromLong(wxEVT_COMMAND_TREE_END_LABEL_EDIT));
28338 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_DELETE_ITEM", PyInt_FromLong(wxEVT_COMMAND_TREE_DELETE_ITEM));
28339 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_GET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_GET_INFO));
28340 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SET_INFO", PyInt_FromLong(wxEVT_COMMAND_TREE_SET_INFO));
28341 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDED));
28342 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_EXPANDING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_EXPANDING));
28343 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSED));
28344 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_COLLAPSING", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_COLLAPSING));
28345 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGED", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGED));
28346 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_SEL_CHANGING", PyInt_FromLong(wxEVT_COMMAND_TREE_SEL_CHANGING));
28347 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_KEY_DOWN", PyInt_FromLong(wxEVT_COMMAND_TREE_KEY_DOWN));
28348 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_ACTIVATED", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_ACTIVATED));
28349 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_RIGHT_CLICK));
28350 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_MIDDLE_CLICK));
28351 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_END_DRAG", PyInt_FromLong(wxEVT_COMMAND_TREE_END_DRAG));
28352 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK", PyInt_FromLong(wxEVT_COMMAND_TREE_STATE_IMAGE_CLICK));
28353 PyDict_SetItemString(d, "wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP", PyInt_FromLong(wxEVT_COMMAND_TREE_ITEM_GETTOOLTIP));
28354
28355 // Map renamed classes back to their common name for OOR
28356 wxPyPtrTypeMap_Add("wxTreeItemData", "wxPyTreeItemData");
28357 wxPyPtrTypeMap_Add("wxTreeCtrl", "wxPyTreeCtrl");
28358
28359 PyDict_SetItemString(d, "wxEVT_HELP", PyInt_FromLong(wxEVT_HELP));
28360 PyDict_SetItemString(d, "wxEVT_DETAILED_HELP", PyInt_FromLong(wxEVT_DETAILED_HELP));
28361
28362 wxPyPtrTypeMap_Add("wxDragImage", "wxGenericDragImage");
28363
28364 }
28365